]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
some renaming
[lyx.git] / src / ChangeLog
1 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2
3         * lyxtext.h:
4         * text.C:
5         * text2.C:
6         * rowpainter.C:
7         * BufferView_pimpl.C: rename textwidth -> maxwidth, 
8         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
9
10 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
11
12         * Bidi.[Ch] (computeTables): const correctness
13         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
14         fill_hfill, fill_label_hfill and x from Row
15         * lyxtext.h: prepareToPrint returns a RowMetrics
16         * rowPainter.C: adjust
17         * text.C (prepareToPrint): use width, not textWidth. adjust
18         (redoParagraphInternal, cursorX): adjust
19         * text2.C (getColumnNearX): adjust
20         (init): put a default value to the top LyXText::width
21
22 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
23
24         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here 
25
26 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
27
28         * lyxtext.h: add FontIterator class 
29
30         * text.C (FontIterator, operator*, operator->, operator++): add
31         (rowBreakPoint, setRowWidth): adjust (fixing a
32         rebreaking bug)
33
34 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
35
36         * BufferView_pimpl.C (workAreaDispatch): allow also
37         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
38
39 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
40
41         * text.C (rowBreakPoint): fix a bug showing with very large insets
42
43 2004-02-25  André Pönitz  <poenitz@gmx.net>
44
45         * text3.C:
46         * cursor.[Ch]: move some mathed specific code to mathed
47
48 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
49
50         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
51         use_tempdir in preferences
52         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
53         tempfile creation
54         * lyx_main.C: ensure that tempdir is valid
55         * lyxlex.h: correct typo
56         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
57         * paragraph.[Ch] (isMultiLingual): make const
58         * cursor.[Ch] (openable): make const
59
60 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
61
62         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
63
64 2004-02-20  André Pönitz  <poenitz@gmx.net>
65
66         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
67
68         * cursor.[Ch]: prepare for localized getStatus()
69
70         * lyxtext.h:
71         * tabular.C:
72         * text.C:
73         * text2.C:
74         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
75
76 2004-02-20  André Pönitz  <poenitz@gmx.net>
77
78         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
79
80 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
81
82         * text2.C (setCursorFromCoordinates): switch to absolute coords
83         (cursorUp): adjust
84         (cursorDown): adjust
85         * text3.C (dispatch): adjust
86
87 2004-02-16  André Pönitz  <poenitz@gmx.net>
88
89         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
90           insets/ChangeLog)
91
92         * cursor_slice.[Ch]: remove unneeded acessor function
93
94         * lyxtext.h: rename rtl() to isRTL()
95
96         * rowpainter.C:
97         * tabular.C:
98         * text.C:
99         * text2.C:
100         * text3.C: adjust
101
102 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
103
104         * rowpainter.C (paintSelection): coord fix
105
106 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
107
108         * Spacing.C: compile fix
109
110 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
111
112         * cursor.C (dispatch): restore current_ before returning
113
114 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
115
116         * text2.C (cursorUp, cursorDown): fix coords
117         (moveUp): fix crash
118
119 2004-02-12  André Pönitz  <poenitz@gmx.net>
120
121         * lyxtext.h:
122         * text.C:
123         * text2.C:
124         * text3.C: add LCursor & parameter to most cursor movement functions
125           remove usage of LyXText::cursorRow() and cursorPar()
126
127         * cursor.[Ch]: add textRow() needed members
128
129         * BufferView.C:
130         * BufferView_pimpl.C:
131         * paragraph.[Ch]:
132         * BufferView.C:
133         * BufferView_pimpl.C: adjust
134
135 2004-02-11  André Pönitz  <poenitz@gmx.net>
136
137         * lyxfunc.C:
138         * BufferView.[Ch]:
139         * BufferView_pimpl.C: shift undo/redo handling
140
141         * cursor.[Ch]: fix mathed crash
142
143         * lyxfind.C:
144         * lyxtext.h: move selectionAsText to LCursor
145
146         * output_latex.C:
147         * paragraph.C:
148         * text.C:
149         * text2.C:
150         * text3.C: adjust
151
152         * rowpainter.C: fix excessive drawing
153
154 2004-02-06  André Pönitz  <poenitz@gmx.net>
155
156         * BufferView.[Ch]:
157         * BufferView_pimpl.[Ch]:
158         * text3.C: move some text specific LFUN handling
159
160 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
161
162         * text3.C (checkInsetHit): adjust coords
163         * text2.C (getColumnNearX): adjust coords
164         (edit): adjust coords
165         * text.C (getRowNearY): add two asserts
166
167 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
168
169         * converter.C:
170         * format.C: add using std::distance to compile on gcc 2.95/stlport
171
172 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
173
174         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
175
176 2004-02-04  André Pönitz  <poenitz@gmx.net>
177
178         * BufferView.[Ch] (insertInset):
179         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value 
180
181         * text2.C:
182         * text3.C: adjust
183
184 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
185
186         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch 
187         on the default clause of the switch
188         * lyxfunc.C (dispatch): call BufferView::dispatch if the event 
189         wasn't catched by LCursor::dispatch
190
191 2004-02-03  André Pönitz  <poenitz@gmx.net>
192
193         * BufferView.C:
194         * cursor.[Ch]: some additional asserts
195
196         * undo.[Ch]: remove LyXText dependency in interface
197
198         * lyxfunc.C: adjust
199
200         * lyxtext.h (firstPar, lastPar): remove dead functions 
201
202         * text.C:
203         * text2.C:
204         * text3.C:
205         * paragraph.[Ch]: adjust
206
207 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
208
209         * lyxfind.C (find): fix argument order in call to ::find
210
211 2004-02-02  André Pönitz  <poenitz@gmx.net>
212
213         * cursor.[Ch]: remove direct access to anchor
214
215         * text.C: remove findText() hack
216
217 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
218
219         * iterators.[Ch] (lockPath): remove in favour of...
220         * BufferView.[Ch] (setCursor): this addition
221         * BufferView.C (putSelectionAt): adjust
222         * undo.C (performUndoOrRedo): adjust
223         * lyxfunc.C (dispatch): adjust
224
225 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
226
227         * iterators.C (lockPath): add a missing slice
228         * undo.C (performUndoOrRedo): remove redundant positioning code
229
230 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
231
232         * vc-backend.C (scanMaster): ";" -> ';'
233
234 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
235
236         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
237         std::binary_function
238
239         * lyxtextclass.C (compare_name): rename to...
240         (LayoutNamesEqual): ...this
241
242         * lyxlex_pimpl.C (compare_tags): inherit from
243         std::binary_function, put back into anon namespace
244
245         * lyxfind.C (MatchString): inherig from std::binary_function
246         (findChange): use empty() istead of !size()
247
248         * format.C (FormatNamesEqual): new functor
249         (getFormat): use it
250         (getNumber): use it
251         (add): use it
252         (erase): use it
253         (setViewer): use it
254
255         * converter.C (compare_Converter): rename to...
256         (ConverterEqual): ...this, and fixup a bit.
257         (getConverter): use it, and make function const
258         (getNumber): use it, and make function const
259         (add): use it
260         (erase): use it:
261
262         * bufferlist.C: add using boost::bind
263
264         * MenuBackend.C (MenuNamesEqual): new functor
265         (hasMenu): use it, and make function const
266         (hasSubmenu): use nested bind to get rid of compare_memfun.
267
268 2004-01-30  André Pönitz  <poenitz@gmx.net>
269
270         * BufferView_pimpl.C:
271         * cursor.C:
272         * cursor.h:
273         * cursor_slice.[Ch]:
274         * lyxfunc.C:
275         * lyxtext.h:
276         * paragraph_funcs.C:
277         * paragraph_funcs.h:
278         * rowpainter.C:
279         * text.C:
280         * text2.C:
281         * text3.C: move some of the edit(x,y) handling to the insets
282         some coordinate changes.
283
284 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
285
286         * text.C: add using statements for std::advance and std::distance
287
288         * paragraph.C: add using statement for std::distance
289
290         * lyxfind.C: add using statement for std::advance
291
292         * cursor.C (region): remove std:: from swap
293         (openable): use nucleus in stead of operator->
294
295         * BufferView.C: add using statements for std::distance and std::swap
296
297 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
298
299         * iterators.C: Remove the pimple, move the needed structures to
300         the header file. Create accessor for the positions stack.
301         (asPosIterator): remove function
302
303         * PosIterator.C (PosIterator): move constructors to top of file
304         (PosIterator): reimplement the constructor taking a ParIterator in
305         terms of setFrom.
306         (setFrom): new function
307         (operator!=): inline it
308
309 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
310
311         * lyxfind.C (replaceAll): use std::advance
312
313         * iterators.h: inherit from std::iterator.
314
315         * PosIterator.C (advance, distance): remove
316         * PosIterator.h: interit from std::iterator.
317
318 2004-01-26  André Pönitz  <poenitz@gmx.net>
319
320         * BufferView.[Ch]:
321         * BufferView_pimpl.[Ch]:
322         * InsetList.[Ch]:
323         * PosIterator.[Ch]:
324         * buffer.h:
325         * bufferview_funcs.C:
326         * cursor.[Ch]:
327         * cursor_slice.h:
328         * factory.[Ch]:
329         * iterators.[Ch]:
330         * lyxfind.C:
331         * lyxfunc.C:
332         * lyxtext.h:
333         * output_docbook.C:
334         * output_latex.C:
335         * output_linuxdoc.C:
336         * output_plaintext.C:
337         * paragraph.[Ch]:
338         * paragraph_funcs.[Ch]:
339         * paragraph_pimpl.[Ch]:
340         * rowpainter.C:
341         * tabular.C:
342         * tabular.h:
343         * text.C:
344         * text2.C:
345         * text3.C: more IU:  dumps most of the rest of the mathcursor
346     implementation into cursor.[Ch]; "globalize" a bit of it.
347
348 2004-01-25  Angus Leeming  <leeming@lyx.org>
349
350         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
351
352 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
353
354         * LaTeXFeatures.h: add nice_ and nice() const
355         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
356
357 2004-01-20  André Pönitz  <poenitz@gmx.net>
358
359         * BufferView.[Ch]:
360         * BufferView_pimpl.C:
361         * PosIterator.C:
362         * bufferview_funcs.C:
363         * cursor.[Ch]:
364         * cursor_slice.[Ch]:
365         * factory.C:
366         * iterators.C:
367         * lyx_cb.C:
368         * lyxfind.C:
369         * lyxfunc.C:
370         * lyxtext.h:
371         * rowpainter.C:
372         * text.C:
373         * text2.C:
374         * text3.C:
375         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
376           LCursor and mathcursor parts to LCursor and InsetBase.
377
378 2004-01-15  André Pönitz  <poenitz@gmx.net>
379
380         * cursor_slice.[Ch]: add a few covienience functions
381
382         * funcrequest.[Ch]: remove BufferView * member
383
384         * BufferView_pimpl.C:
385         * cursor.C:
386         * factory.[Ch]:
387         * lyxfind.[Ch]:
388         * lyxfunc.C:
389         * lyxtext.h:
390         * text3.C:
391         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
392
393 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
394
395         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
396         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
397
398 2004-01-13  André Pönitz  <poenitz@gmx.net>
399
400         * textcursor.[Ch]:
401         * lyxtext.h: hide cursor and selection anchor behind accessor function
402
403         * BufferView.C:
404         * BufferView_pimpl.[Ch]:
405         * PosIterator.C:
406         * bufferview_funcs.C:
407         * cursor.h:
408         * lyxfind.C:
409         * lyxfunc.C:
410         * text.C:
411         * text2.C:
412         * text3.C:
413         * undo.C: adjust
414
415         * cursor.h:
416         * cursor_slice.[Ch]: some integer type changes for inset unification
417
418         * lyxcursor.[hC]: remove, it's CursorSlice now.
419
420         * Makefile.am:
421         * BufferView_pimpl.[Ch]:
422         * bufferview_funcs.C:
423         * cursor_slice.C:
424         * lyxtext.h:
425         * text.C:
426         * text2.C:
427         * text3.C:
428         * textcursor.[Ch]: adjust
429
430 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
431
432         * text2.C (undoSpan): add and use
433         * text.C (breakParagraph): use undoSpan (fix bug 578)
434         * lyxtext.h: adjust
435
436 2004-01-08  Angus Leeming  <leeming@lyx.org>
437
438         * BufferView_pimpl.C (MenuInsertLyXFile):
439         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
440         * lyxfunc.C (menuNew, open, doImport):
441         FileFilterList change to the FileDialog open and save functions.
442
443 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
444
445         * ShareContainer.h: make isEqual and isUnique adaptable
446
447         * CutAndPaste.C: make resetOwnerAndChanges adaptable
448
449 2004-01-07  Angus Leeming  <leeming@lyx.org>
450
451         * LyXAction.C:
452         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
453
454         * BufferView_pimpl.C (dispatch): act on these LFUNs.
455
456         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
457         functions replacing find, replace and replaceAll.
458
459         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
460         LFUN_WORDFIND(FORWARD|BACKWARD).
461
462 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
463
464         * text.C (breakParagraph): remove an outdated #warning
465
466 2004-01-07  André Pönitz  <poenitz@gmx.net>
467
468         * lyxfind.C: somewhat clearer logic
469
470         * text.C: prevent crash in cursorX on unitialized row cache
471
472 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
473
474         * lyxcursor.[Ch] (operator>): add
475         * textcursor.C (selStart, selEnd): use std::min and std::max
476
477 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
478
479         * Chktex.C: include boost/format.hpp
480
481 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
482
483         * InsetList.C: replace functor MathcIt with adaptable functor
484         InsetTablePosLess
485         (insetIterator): modify accordingly
486
487         * BranchList.h: move the BranchNamesEqual functor here from...
488         * BranchList.C: ... to here
489
490         * BranchList.C: new BranchListEqual fuctor, use it. Remove
491         SameName and match.
492         (add): replace a finding loop with std::find_if.
493
494 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
495
496         * output_docbook.C: moving LatexParam functionality into
497         .layout files
498
499 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
500
501         * buffer.C: increment format to 229.
502
503 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
504
505         * LaTeXFeatures.C:
506         * lyx_sty.[Ch]: remove minipageindent_def
507
508         * LyXAction.C:
509         * factory.C:
510         * lfuns.h:
511         * lyxfunc.C:
512         * text3.C: remove LFUN_INSET_MINIPAGE
513
514 2003-12-28  Angus Leeming  <leeming@lyx.org>
515
516         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
517
518 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
519
520         * text2.C (setParagraph): fix off-by-one crash
521
522 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
523
524         * output_docbook.C: header stuff for AGU
525
526 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
527
528         * text2.C (redoCursor): remove
529         * text.C:
530         * text3.C:
531         * BufferView_pimpl.C: remove calls to redoCursor and
532         setCursor(cursor.par(), cursor.pos()) all around
533
534 2003-12-15  Angus Leeming  <leeming@lyx.org>
535
536         * buffer.C: up the format to 228.
537
538 2003-12-15  André Pönitz  <poenitz@gmx.net>
539
540         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
541         slices
542
543         * Makefile.am:
544
545         * BufferView_pimpl.C:
546         * cursor.[Ch]:
547         * lyxcursor.[Ch]:
548         * rowpainter.[Ch]:
549         * lyxtext.h:
550         * text.C:
551         * text2.C:
552         * text3.C: adjust
553
554 2003-12-15  Angus Leeming  <leeming@lyx.org>
555
556         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
557         than getFromGUIName to manipulate the color.
558
559 2003-12-14  Angus Leeming  <leeming@lyx.org>
560
561         * BranchList.[Ch]: minimize the API.
562         (Branch::getBranch, getColor): now return a 'const &'.
563         (Branch::setSelected) now returns a bool set to true if the
564         selection status changes.
565         (BranchList::clear, size, getColor, setColor, setSelected,
566         allBranches, allSelected, separator): removed.
567         (BranchList::find): new functions, returning the Branch with
568         the given name.
569         (BranchList::add, remove): return a bool indicating that
570         the operation was successful.
571
572         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
573         new InsetBranch::isBranchSlected member function.
574
575         * LColor.[Ch]: mimimize the API.
576         (fill): renamed as addColor and made private.
577         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
578         versions of these functions taking a string arg have been removed.
579
580         * bufferparams.C (readToken):
581         * lyxfunc.C (dispatch):
582         * lyxrc.C (read): changes due to the altered BranchList and
583         LColor APIs.
584
585         * factory.C (createInset, readInset): changes due to altered
586         InsetBranch c-tor.
587
588 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
589
590         * factory.C:
591         * lyxfunc.C: remove insetminipage. "minipage-insert"
592         now produces a frameless minipage box inset.
593
594 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
595
596         * textcursor.[Ch] (selStart,selEnd): add new methods
597         remove selection::start, end, use LyXCursor::operator<
598         * lyxcursor.[Ch] (operator<): add
599         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
600         * BufferView.[Ch] (unsetXSel): add
601         * text2.C (clearSelection): use unsetXSel,adjust
602         * text.C: adjust
603         * text3.C: adjust
604         * rowpainter.C: adjust
605         * bufferview_funcs.C (put_selection_at): adjust
606
607 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
608
609         * BufferView_pimpl.C: small coord. correction
610
611 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
612
613         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
614         dragging over the splash screen.
615
616 2003-12-11  Angus Leeming  <leeming@lyx.org>
617
618         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
619         as it is now handled in LyXText::dispatch.
620
621         * text3.C (doInsertInset): remove a level of nesting.
622
623 2003-12-11  Angus Leeming  <leeming@lyx.org>
624
625         * factory.C (createInset): changes due to the changed interface to
626         InsetCommandMailer::string2params.
627
628 2003-12-10  Angus Leeming  <leeming@lyx.org>
629
630         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
631         'dialog-show-new-inset <inset name>'
632
633 2003-12-10  Angus Leeming  <leeming@lyx.org>
634
635         * buffer.C: up the format to 227.
636
637         * factory.C: the box inset is now identified simply by 'Box'.
638
639 2003-12-10  Angus Leeming  <leeming@lyx.org>
640
641         * buffer.C: up the format to 226.
642
643         * factory.C: the note inset is now identified simply by 'Note'.
644
645 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
646
647         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
648         when a pit is enough. Standarize a couple of loops.
649
650 2003-12-05  Angus Leeming  <leeming@lyx.org>
651
652         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
653         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
654         data to the re-worked "log" dialog.
655
656 2003-12-03  André Pönitz  <poenitz@gmx.net>
657
658         * PosIterator.C:
659         * iterators.C:
660         * lyxtext.h:
661         * output_latex.C:
662         * paragraph_funcs.C:
663         * text.C:
664         * text2.C: use Inset::getText instead of Inset::getParagraph
665
666 2003-12-03  André Pönitz  <poenitz@gmx.net>
667
668         * buffer.[Ch]:
669         * lyxtext.h:
670         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
671         InsetText::read() as LyXText::read()
672
673 2003-12-02  Angus Leeming  <leeming@lyx.org>
674
675         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
676         type. Add a comment in the implementation that the function uses
677         the stream's bad() function rather than fail() as the std::streams
678         would do.
679
680 2003-12-02  André Pönitz  <poenitz@gmx.net>
681
682         * lyxlex.[Ch]: make interface more similar to std::stream
683
684         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
685
686 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
687
688         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
689
690 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
691
692         * vspace.[Ch]: remove VSpace::NONE
693
694 2003-12-01  André Pönitz  <poenitz@gmx.net>
695
696         * buffer.[Ch]:
697         * lyxtext.h: move ParagraphList member to LyXText
698         rename LyXText::ownerParagraphs to LyXText::paragraph
699
700         * CutAndPaste.C:
701         * bufferview_funcs.C:
702         * iterators.[Ch]:
703         * lyx_cb.C:
704         * paragraph.C:
705         * rowpainter.C:
706         * tabular.C:
707         * text.C:
708         * text2.C:
709         * text3.C: adjust
710
711         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
712
713         * undo.C: fix cursor positioning
714
715 2003-12-01  John Levon  <levon@movementarian.org>
716
717         * BufferView_pimpl.C: fix a crash on exit with
718         a buffer open
719
720 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
721
722         * BranchList.C: fix setSelected() method.
723
724 2003-11-28  André Pönitz  <poenitz@gmx.net>
725
726         * ParagraphParameters.[Ch]:
727         * ParameterStruct.h: remove space above/below from Paragraph to
728          InsetVSpace
729
730         * BufferView_pimpl.C:
731         * factory.C:
732         * lyxfunc.C:
733         * lyxtext.h:
734         * output_latex.C:
735         * paragraph.C:
736         * paragraph_funcs.C:
737         * rowpainter.[Ch]:
738         * text.C:
739         * text2.C:
740         * text3.C: adjust
741
742 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
743
744         * factory.C: Syntax change for CharStyles
745
746 2003-11-28  André Pönitz  <poenitz@gmx.net>
747
748         * BufferView.[Ch]:
749         * BufferView.[Ch]:
750         * buffer.[Ch]:
751         * buffer.[Ch]: move LyXText member
752
753 2003-11-28  André Pönitz  <poenitz@gmx.net>
754
755         * BufferView.[Ch]: make LyXText * text a private member
756
757         * BufferView_pimpl.C:
758         * cursor.C:
759         * iterators.C:
760         * lyx_cb.C:
761         * lyxfind.C:
762         * lyxtext.h:
763         * rowpainter.[Ch]:
764         * text.C:
765         * text2.C:
766         * undo.C: adjust
767
768         * output_plaintext.C: cleanup
769
770 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
771
772         * buffer.C:
773         * lyxtextclass.[Ch]: parametrize SGML document header
774
775 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
776
777         * converter.[Ch]:
778         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
779         getFlavor().
780
781 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
782
783         * text2.C (setFont): rework using PosIterator (no more recursive)
784         (setCharFont): no more needed
785         (setLayout): no more selection cursors fiddling (done by redoCursor)
786         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
787         destroy remaining ones)
788
789 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
790
791         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
792         * lyxtext.h: ditto
793         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
794         selection cursors
795         * lyxfunc.C: adjust
796         * text3.C: adjust + re-allow multi par depth changes
797         * textcursor.C: simplify a bit
798
799 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
800
801         * src/buffer.C:
802         * src/lyxlayout.C:
803         * src/lyxlayout.h:
804         * src/lyxtext.h:
805         * src/output_docbook.C:
806         * src/output_latex.C:
807         * src/paragraph.C:
808         * src/paragraph.h:
809         * src/sgml.C:
810         * src/sgml.h:
811         * src/text2.C: Introducing a number of tags parametrizing various
812         XML formats that we may want to support
813
814 2003-11-25  André Pönitz  <poenitz@gmx.net>
815
816         * InsetList.[Ch] (begein, end): inline as suggested by profiler
817
818         * lyxtext.h (leftMargin/rightMargin): simplify interface
819
820         * rowpainter.C:
821         * text.C:
822         * text2.C:
823         * text3.C: adjust
824
825 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
826
827         * lyxfunc.C (dispatch): propogate the bibtex databases from the
828         master file to any child files. Fixes bug 546.
829
830 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
831
832         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
833
834 2003-11-24  André Pönitz  <poenitz@gmx.net>
835
836         * rowpainter.C: simplification
837
838         * text2.C (updateCounters): remove call to redoParagraph on
839         changed labels as this is far too expensive.
840
841 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
842
843         * converter.C (convert): fix a crash: this function gets
844         called with buffer == 0 from importer code.
845
846 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
847
848         * text3.C (cursorPrevious): make sure that we do not compare
849         iterators form different containers.
850         (cursorNext): ditto
851
852         * rowpainter.C (paintSelection): make sure that we do not compare
853         iterators from different containers.
854
855         * text3.C (dispatch): [PRIOR] make sure that we do not compare
856         iterators from different ParagraphList containers.
857         [NEXT] ditto
858
859         * text2.C (LyXText): change order of initialization slightly
860         (operator=): new function. copy all variables except cache_par_
861         (moveUp): make sure that we do not compare iterators from
862         different ParagraphList constainers.
863         (moveDown): ditto
864
865         * text.C (firstPar): new function
866         (lastPar): new function
867         (endPar): new function
868
869         * lyxtext.h: move things around and group public functions, public
870         variables, private functions, private variables
871
872 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
873
874         * factory.C: change call to InsetERT constructor to avoid
875         additional invocation of method status
876         * text2.C (toggleInset): remove redundant update() call
877         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
878         instead of a Bufferview pointer
879
880 2003-11-21  André Pönitz  <poenitz@gmx.net>
881
882         * rowpainter.C: simplification
883
884 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
885
886         * text3.C (dispatch): make possible to extend a word/row selection
887         with the mouse
888
889 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
890
891         * lyxtext.h: x0_,y0_ -> xo_,yo_
892         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
893         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
894         * rowpainter.C (paintRows): paint full paragraphs
895
896 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
897
898         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
899         screen coordinates)
900
901 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
902
903         * lyxtext.h: add x0_, y0_
904         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
905         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
906
907 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
908
909         * text2.C (setCursorIntern): move the x_target update here *
910         * text3.C: change some bv() to true/false in calls to
911         cursorUp/Down/Right/Left
912         * cursor.C: use helper function.
913
914 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
915
916         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
917         * paragraph_funcs.[Ch]: correct comment
918         * rowpainter.C: do not paint selections away from bv->cursor()
919         Fix a long standing selection painting bug.
920         * text3.C: generalize mouse-selection code to LyXTexts other that
921         top one
922         * textcursor.C: do not use y coords if we can use par offsets
923
924 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
925
926         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
927         cursor position after e.g. inset insert)
928
929 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
930
931         * lyxfind.C (replace): adjust to locking removal + some
932         code simplification
933
934 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
935
936         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
937         of the path
938
939 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
940
941         * lyxlayout.[Ch]:
942         * output_docbook.C: XML sanitation: new layout
943         parameters InnerTag and CommandDepth
944
945 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
946
947         * BufferView_pimpl.C:
948         * factory.C:
949         * text3.C: Fix the insertion and modification of button-style
950         insets
951
952 2003-11-13  André Pönitz  <poenitz@gmx.net>
953
954         * InsetList.[Ch]: remove deleteLyXText
955
956         * paragraph.[Ch]: cache beginOfBody position
957
958         * Bidi.C:
959         * text.C:
960         * text2.C:
961         * text3.C: remove superfluous update() calls
962
963         * vspace.C: cleanup
964
965 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
966
967         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
968         * BufferView.C (fitLockedInsetCursor): remove
969         * cursor.[Ch] (getDim): add
970         * text.C (getRowNearY): add faster version
971         * text3.C: remove some update calls
972
973 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
974
975         * LaTeXFeatures.C:
976         * LyXAction.C:
977         * MenuBackend.C:
978         * MenuBackend.h:
979         * dispatchresult.h:
980         * factory.C:
981         * lfuns.h:
982         * lyxfunc.C:
983         * lyxtextclass.C:
984         * lyxtextclass.h:
985         * text3.C: The Character Style /XML short element patch.
986
987 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
988
989         * text3.C:
990         * factory.C: Small step to solving 'unable to insert some insets'
991         problem
992
993 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
994
995         * cursor.[Ch] (updatePos): new function for updating the y
996         position of the tip inset
997         * bufferview_funcs.C (put_selection_at):
998         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
999
1000 2003-11-11  André Pönitz  <poenitz@gmx.net>
1001
1002         * text.C: remove big comment on invalid Paragraph pointers as it is
1003         not valid anymore
1004
1005 2003-11-11  André Pönitz  <poenitz@gmx.net>
1006
1007         * text_funcs.[Ch]: merge with ...
1008
1009         * text.C: ... this
1010
1011         * lyxtext.h:
1012         * text2.C:
1013         * text3.C: adjust
1014
1015         * Makefile.am: remove text_funcs.[Ch]
1016
1017 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1018
1019         * cursor.C (getPos): return absolute cached y coord
1020
1021         * BufferView_pimpl.C (fitCursor): new simplistic code
1022         (workAreaDispatch): add a fitCursor call
1023
1024 2003-11-10  André Pönitz  <poenitz@gmx.net>
1025
1026         * BufferView.[Ch]:
1027         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1028
1029 2003-11-10  André Pönitz  <poenitz@gmx.net>
1030
1031         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1032         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1033         indicate that the cursor needs to leave an inset
1034
1035         * lyxtext.h: remove inset locking
1036
1037         * cursor.[Ch]: re-implement functionality provided by inset locking
1038
1039         * BufferView.[Ch]:
1040         * BufferView_pimpl.[Ch]:
1041         * LyXAction.C:
1042         * bufferview_funcs.[Ch]:
1043         * factory.C:
1044         * funcrequest.[Ch]:
1045         * iterators.C:
1046         * lyx_cb.C:
1047         * lyxfind.C:
1048         * lyxfunc.C:
1049         * text.C:
1050         * text2.C:
1051         * text3.C:
1052         * undo.C: adjust
1053
1054 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1055
1056         * PosIterator.[Ch]: replace the stack with a vector, add inset
1057         accesor
1058         * iterators.[C]: adjust
1059
1060 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1061
1062         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1063         replaced
1064         * paragraph_funcs.C (readParToken): put the correct id in the
1065         error item, not the id of the top paragraph
1066
1067 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1068
1069         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1070         * bufferview_funcs.C (put_selection_at): use the above
1071
1072 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1073
1074         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1075
1076 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1077
1078         * output_linuxdoc.h:
1079         * output_plaintext.h:
1080         * output.h:
1081         * output_docbook.h: add #include statements
1082
1083 2003-11-05  José Matos  <jamatos@lyx.org>
1084
1085         * output_docbook.[Ch]:
1086         * output_latex.[Ch]:
1087         * output_linuxdoc.[Ch]:
1088         * output_plaintext.[Ch]: New files for output formats.
1089         * output.[Ch]: New file for helper functions.
1090
1091         * buffer.[Ch]:
1092         * paragraph_funcs.[Ch]: output functions moved to new files.
1093
1094         * outputparams.h: rename of latexrunparams.h
1095
1096         * LaTeX.[Ch]:
1097         * buffer.[Ch]:
1098         * bufferlist.[Ch]:
1099         * converter.[Ch]:
1100         * exporter.C:
1101         * paragraph.[Ch]:
1102         * paragraph_funcs.[Ch]:
1103         * paragraph_pimpl.[Ch]:
1104         * tabular.[Ch]: rename ascii to plaintext
1105         and LatexRunParams to OutputParams.
1106
1107 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1108
1109         * iterators.[Ch] (text): require bv argument
1110         * undo.C (recordUndo):
1111         * lyxfunc.C (dispatch):
1112         * bufferview_funcs.C (put_selection_at): adjust
1113
1114 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1115
1116         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1117
1118 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1119
1120         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1121         nestings
1122
1123 2003-11-04  André Pönitz  <poenitz@gmx.net>
1124
1125         * cursor.[Ch]: restructure
1126
1127         * BufferView.[Ch]:
1128         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1129
1130         * iterators.[Ch] (asCursor): remove
1131
1132         * lfuns.h: remove LFUN_INSET_EDIT
1133
1134         * lyxfunc.C:
1135         * tabular.C:
1136         * text.C:
1137         * text2.C:
1138         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1139
1140 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1141
1142         * lyxfind.[Ch]: complete overhaul
1143         * BufferView_pimpl.C:
1144         * lyxfunc.C: adjust
1145         * paragraph.[Ch] (insert): add
1146
1147 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1148
1149         * BufferView.[Ch]:
1150         * lyxtext.h:
1151         * text.C: remove dead spellcheck code
1152
1153 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1154
1155         * dispatchresult.h: add a val setter
1156
1157         * cursor.C (dispatch): use a tempvar for data_[i]
1158
1159 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1160
1161         * PosIterator.[Ch]: compile fix
1162
1163 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1164
1165         * text.C (cursorPar): deactivate the cursor cache
1166
1167 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1168
1169         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1170
1171 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1172
1173         * text3.C (dispatch): adjust for new DisptchResult semantics.
1174
1175         * lyxfunc.C (dispatch): handle update when return from
1176         Cursor::dispatch, adjust for new DispatchResult semantics.
1177
1178         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1179         DispatchResult(true) mean to not update. Add class functions for
1180         setting dispatched and update, as well as reading.
1181
1182         * cursor.C (dispatch): don't handle update here
1183
1184 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1185
1186         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1187         * trans_mgr.C: adjust
1188
1189         * paragraph_funcs.C (readParToken): exception safety
1190
1191         * lyxvc.h: store the vcs pointer in a scoped_ptr
1192         * lyxvc.C: adjust
1193
1194         * lyxsocket.C (serverCallback): exception safety
1195
1196         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1197
1198         * ispell.C (clone): make it return a auto_ptr
1199
1200         * factory.C (createInset): exception safety
1201         (readInset): exception safety
1202
1203         * bufferlist.C (newBuffer): exception safety
1204
1205         * Thesaurus.C (Thesaurus): use initialization for aik_
1206
1207         * MenuBackend.C (expandToc): exception safety.
1208
1209 2003-11-03  André Pönitz  <poenitz@gmx.net>
1210
1211         * buffer.C:
1212         * buffer.h:
1213         * bufferview_funcs.C: remove getInsetFromId()
1214
1215         * lyxcursor.[Ch]:
1216         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1217
1218         * lyxfunc.C:
1219         * text2.C:
1220         * text3.C: adjust
1221
1222 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1223
1224         * PosIterator.C (distance, advance): new
1225         * bufferview_funcs.[Ch] (put_selection_at): new
1226         * iterators.[Ch] (lockPath): new
1227
1228 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1229
1230         * iterators.[Ch] (asPosIterator): added
1231         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1232         * PosIterator.[Ch]: added
1233
1234 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1235
1236         * text3.C:
1237         * lyxfunc.C:
1238         * cursor.C (dispatch):
1239         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1240
1241         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1242         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1243         contructor, add a class function dispatched. Remove operator>=
1244
1245 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1246
1247         * debug.C: only use the default constructor for debugstream
1248         (lyxerr) here.
1249
1250         * main.C (main): include debug.h and setup the lyxerr streambuf
1251         here.
1252
1253 2003-10-31  José Matos  <jamatos@lyx.org>
1254
1255         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1256
1257         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1258         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1259         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1260         * paragraph_pimpl.C (simpleTeXSpecialC):
1261         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1262         add LatexRunParams argument.
1263
1264         * exporter.C (Export): change call accordingly.
1265
1266         * latexrunparams.h: add new member to take care of the other backends.
1267 2003-10-30  José Matos  <jamatos@lyx.org>
1268
1269         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1270         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1271         factorise code for paragraph output.
1272         * buffer.[Ch]:
1273         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1274         move functions.
1275
1276 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1277
1278         * text3.C (dispatch):
1279         * lyxfunc.C (dispatch):
1280         * cursor.C (dispatch):
1281         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1282
1283         * dispatchresult.h: make the dispatch_result_t ctor explicit
1284
1285 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1286
1287         * sgml.[Ch]:
1288         * buffer.C: small refactoring of docbook stuff
1289
1290 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1291
1292         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1293         meaning.
1294
1295 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1296
1297         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1298         operator dispatch_result_t, and operators for == != and >=
1299
1300         * cursor.C (dispatch): adjust for operator dispatch_result_t
1301         removal. comment out call to update
1302
1303         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1304
1305 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1306
1307         * text3.C:
1308         * text2.C:
1309         * text.C:
1310         * lyxtext.h:
1311         * lyxfunc.C:
1312         * cursor.C:
1313         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1314         (dispatch):
1315
1316         * dispatchresult.h: new file, DispatchResult broken out of
1317         insets/insetbase.h
1318
1319         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1320
1321 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1322
1323         * text.C (rowBreakPoint): put a hack inside #if 0
1324
1325 2003-10-28  André Pönitz  <poenitz@gmx.net>
1326
1327         * lyxtext.h:
1328         * metricsinfo.C:
1329         * paragraph_funcs.C:
1330         * rowpainter.C:
1331         * text.C:
1332         * text2.C: general cleanup (lots of small stuff)
1333
1334 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1335
1336         * text2.C (cursorEnd): simple fix to the "end key goes to one
1337         before the end on last row" bug
1338
1339 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1340
1341         * text.C (backspace): fix the "zombie characters"
1342
1343 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1344
1345         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1346
1347 2003-10-27  André Pönitz  <poenitz@gmx.net>
1348
1349         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1350
1351         * factory.C: handle new InsetPagebreak, InsetLine
1352
1353         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1354         and move handling into new InsetPagebreak, InsetLine
1355
1356         * BufferView_pimpl.C:
1357         * LyXAction.C:
1358         * ParagraphParameters.C:
1359         * ParameterStruct.h:
1360         * lyxfunc.C:
1361         * lyxtext.h:
1362         * paragraph.C:
1363         * paragraph.h:
1364         * paragraph_funcs.C:
1365         * paragraph_pimpl.C:
1366         * rowpainter.C:
1367         * text.C:
1368         * text2.C:
1369         * text3.C: adjust
1370
1371 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1372
1373         * text.C:
1374         * lyxrow_funcs.[Ch]:
1375         * Bidi.C:
1376         * paragraph.C:
1377         * lyxtext.h:
1378         * rowpainter.C:
1379         * text2.C:
1380         * text3.C: remove lastPos uses in favour of Row::endpos
1381
1382 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1383
1384         * undo.C (performUndoOrRedo): fix two crashes by setting a
1385         cursor by hand and reordering some calls. Use bv->lockInset instead
1386         of inset->edit because the latter loses cursor information
1387
1388 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1389
1390         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1391         by Martin
1392         (rowBreakPoint): fix width. change point to point + 1.
1393         Add a missing check.
1394
1395 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1396
1397         * MenuBackend.C:
1398         * lyxfunc.C: fix (at least partly) the problems
1399         with the Nav menu and headers inside branch insets
1400         reported by Kayvan
1401
1402 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1403
1404         * paragraph.C (getChar): add strong asserts
1405
1406         * lyxrow_funcs.C (lastPos): remove hideous hack
1407
1408         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1409         (fill): adjust to that (avoid an infinite loop)
1410
1411 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1412
1413         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1414
1415 2003-10-23  André Pönitz  <poenitz@gmx.net>
1416
1417         * RowList_fwd.h: change list<> to vector<> to gain speed
1418         after suggestion from Alfredo
1419
1420 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1421
1422         * lyxtext.h: move the bidi stuff from here...
1423         * text.C: and here
1424         * text2.C: and here
1425         * Bidi.[Ch]: ... to here
1426
1427 2003-10-23  André Pönitz  <poenitz@gmx.net>
1428
1429         * lyxtext.h:
1430         * text.C (isLastRow, isFirstRow): new functions
1431
1432         * paragraph.h: new width cache member
1433
1434         * rowpainter.C: replace RowList::iterator with Row & where possible
1435
1436         * lyxfunc.C: replace several view()->text with a single call
1437
1438         * toc.C: fix 'unused' warning
1439
1440 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1441
1442         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1443         when woring with stream::pos_type
1444         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1445
1446 2003-10-22  André Pönitz  <poenitz@gmx.net>
1447
1448         * lyxtext.h:
1449         * text.C: use Row & instead of RowList::iterator
1450
1451         * lyxrow.h: rename end() to endpos()
1452
1453         * rowpainter.C:
1454         * text.C:
1455         * text2.C: adjust
1456
1457 2003-10-22  Angus Leeming  <leeming@lyx.org>
1458
1459         * buffer.[Ch] (fully_loaded): new member function, returning true
1460         only when the file has been loaded fully.
1461         Used to prevent the premature generation of previews and by the
1462         citation inset to prevent computation of the natbib-style label.
1463
1464         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1465         templates are all set up.
1466
1467         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1468
1469 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1470
1471         * text.C: fixed an "oops" in the "is a bit silly"
1472         bug fix
1473
1474 2003-10-21  André Pönitz  <poenitz@gmx.net>
1475
1476         * FuncStatus.[Ch]: small stuff, whitespace
1477
1478         * lyxfont.[Ch]: operator<<() for debug reasons
1479
1480         * lyxfunc.C:
1481         * lyxrow_funcs.C:
1482         * lyxtext.h: whitespace, spelling
1483
1484         * paragraph.C: naming of variables
1485
1486         * text.C:
1487         * text2.C: small stuff
1488
1489
1490 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1491
1492         * text.C: (1) finish off the inset display() work;
1493         (2) fix the "is a bit silly" bug (accessing char
1494         past end of par).
1495
1496 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1497
1498         * text.C: re-introduce display() for insets, fixing the
1499         various bugs (stretch of line above, math inset
1500         positioning, ...)
1501
1502 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1503
1504         * text.C (rightMargin): remove spurious semicolon
1505
1506         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1507         1415)
1508
1509 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1510
1511         * text3.C: fix one crash due to wrong cursor def
1512
1513 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1514
1515         * vc-backend.C (scanMaster): make the regex static
1516
1517         * LaTeX.C (scanAuxFile): make the regexs static
1518
1519         * text3.C (doInsertInset, dispatch, dispatch):
1520         * text2.C (cursorUp, cursorDown):
1521         * text.C (selectNextWordToSpellcheck):
1522         * BufferView_pimpl.C (dispatch):
1523         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1524
1525 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1526
1527         * lyxsocket.C: include <cerrno>
1528
1529 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1530
1531         * lyxfunc.C (dispatch): remove textcache stuff
1532
1533         * bufferlist.C (release): remove textcache stuff
1534         (closeAll): ditto
1535
1536         * TextCache.C: delete file
1537         * TextCache.h: delete file
1538
1539         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1540
1541         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1542         delete of the bv_->text.
1543         (resizeCurrentBuffer): remove texcache stuff
1544         (workAreaResize): ditto
1545
1546 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1547
1548         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1549         action.
1550
1551 2003-10-16  André Pönitz  <poenitz@gmx.net>
1552
1553         * lyxrow.[Ch]:
1554         * paragraph.h:
1555         * rowpainter.C:
1556         * text.C:
1557         * text2.C:
1558         * text3.C: speed up by storing y positions per paragraph plus per-row
1559         offset instead of having a 'full' y position in the row.
1560
1561 2003-10-15  André Pönitz  <poenitz@gmx.net>
1562
1563         * iterators.[Ch]:
1564         * iterators.[Ch]:
1565         * undo.[Ch]: make undo aware of inner insets
1566
1567 2003-10-14  Angus Leeming  <leeming@lyx.org>
1568
1569         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1570         static member functions LyX::ref() and LyX::cref.
1571         (lastfiles): new accessor functions for the new lastfiles_ member var.
1572         (addLyXView, views_): add a new LyXView to the list of views_.
1573         (updateInset): loop over all LyXViews to call their own updateInset
1574         member function, returning a pointer to the Buffer owning the inset.
1575
1576         * BufferView_pimpl.C (loadLyXFile):
1577         * MenuBackend.C (expandLastfiles):
1578         * bufferlist.C (MenuWrite, QuitLyX):
1579         lastfiles is no longer a global variable.
1580         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1581
1582         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1583         static function. Access through LyX::cref().emergencyCleanup().
1584
1585 2003-10-14  André Pönitz  <poenitz@gmx.net>
1586
1587         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1588
1589         * undo.[Ch]: restoring part of 'undo in insets'
1590
1591         * Makefile.am:
1592         * undo_funcs.[Ch]: merge with undo.[Ch]
1593
1594         * tabular.C: small cleansing stuff
1595
1596 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1597
1598         * paragraph_funcs.C (readParToken): report unknown insets as error
1599         boxes. Use the outer paragraph as location (also for unknown
1600         tokens).
1601
1602         * factory.C (readInset): do not abort on reading an unknown inset.
1603         Eat it and return 0.
1604
1605 2003-10-13  Angus Leeming  <leeming@lyx.org>
1606
1607         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1608
1609         * lyxrc.C: displayTranslator is now a function,
1610         declared in GraphicsTypes.h.
1611
1612 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1613
1614         * format.C: new placeholder $$a to pass the socket address.
1615
1616         * bufferlist.[Ch]: new function getBufferFromTmp.
1617
1618         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1619           files in the temporary dir.
1620
1621 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1622
1623         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1624
1625         * Makefile.am: add lyxsocket.[Ch].
1626
1627         * lyx_main.C (error_handler): handle SIGPIPE.
1628
1629 2003-10-13  André Pönitz  <poenitz@gmx.net>
1630
1631         * BufferView_pimpl.C:
1632         * lyxtext.h:
1633         * text.C:
1634         * text2.C:
1635         * text3.C:
1636         * undo_funcs.[Ch]: use paroffset_type instead of
1637           ParagraphList::iterators to prevent multiple conversion
1638           (and get a more robust interface)
1639
1640 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1641
1642         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1643         * lyxtext.h: ditto
1644         * text3.C (dispatch): ditto
1645
1646 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1647
1648         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1649         move the onlyfile, use onlyfile instead of foundfile in a couple
1650         of places.
1651
1652         * DepTable.C (update): flush the error stream a bit more
1653
1654 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1655
1656         * lyxserver.C (callback): adjust
1657
1658         * lyxfunc.C (getStatus): add a missing brace in commented code
1659         (ensureBufferClean): reindent
1660         (dispatch): delete version taking a string
1661
1662 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1663
1664         * LaTeX.C (deplog): move found file handlig from here...
1665         (handleFoundFile): .. to new function here.
1666         (deplog): make sure to discover several files mentioned on the
1667         same log line.
1668
1669 2003-10-10  André Pönitz  <poenitz@gmx.net>
1670
1671         * lyxfunc.C:
1672         * lyxtext.h:
1673         * tabular.C:
1674         * text.C:
1675         * text2.C:
1676         * text3.C: fix some of the tabular crashes
1677
1678 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1679
1680         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1681
1682         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1683
1684 2003-10-09  André Pönitz  <poenitz@gmx.net>
1685
1686         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1687
1688         * BufferView.C:
1689         * BufferView_pimpl.C:
1690         * bufferview_funcs.C:
1691         * lyx_cb.C:
1692         * lyxcursor.C:
1693         * lyxfind.C:
1694         * lyxfunc.C:
1695         * lyxtext.h:
1696         * text.C:
1697         * text2.C:
1698         * text3.C:
1699         * text_funcs.[Ch]:
1700         * textcursor.[Ch]:
1701         * undo_funcs.C: adjust
1702
1703 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1704
1705         * text2.C (incrementItemDepth): new function, use a backtracking
1706         algorithm to discover the correct item depth.
1707         (resetEnumCounterIfNeeded): new function, use a backtracking
1708         algorithm to discover if counter reset is needed.
1709         (setCounter): use them. Simplify a bit. Add different labels for
1710         different item depths for itemize.
1711
1712         * paragraph.C (Paragraph): remove initialization of enumdepth
1713         (operator=): ditto
1714
1715         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1716         enumerate and itemize. Change the type of itemdepth to signed char.
1717
1718 2003-10-08  André Pönitz  <poenitz@gmx.net>
1719
1720         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1721           thing assignable.
1722         * text.C:
1723         * text2.C: adjust
1724
1725         * tabular.[Ch]: fix crash after 'row-insert'
1726
1727 2003-10-08  Angus Leeming  <leeming@lyx.org>
1728
1729         Fix doxygen warnings.
1730
1731         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1732         Remove CutAndPaste:: prefix from header file declaration.
1733
1734         * LColor.h (fill): remove LColor:: prefix from declaration.
1735
1736         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1737         use lyx::depth_type rather than Paragraph::depth_type so that
1738         header file and .C file match.
1739
1740         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1741
1742         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1743         * aspell.C: \file aspell_local.C -> \file aspell.C
1744         * gettext.C: \file gettext.C -> \file src/gettext.C
1745         * gettext.h: \file gettext.h -> \file src/gettext.h
1746         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1747         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1748         * text.C: \file text.C -> \file src/text.C
1749
1750         * toc.C: move comment so that doxygen is not confused.
1751
1752 2003-10-07  Angus Leeming  <leeming@lyx.org>
1753
1754         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1755
1756 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1757
1758         * aspell.C:
1759         * aspell_local.h: add forgotten std::string's.
1760
1761 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1762
1763         * LaTeXFeatures.C:
1764         * LyXAction.C:
1765         * factory.C:
1766         * lfuns.h:
1767         * lyxfunc.C:
1768         * text3.C: The Box patch. Fancybox support, minipage, parbox
1769
1770 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1771
1772         * CutAndPaste.h:
1773         * DepTable.h:
1774         * FloatList.h:
1775         * LaTeXFeatures.h:
1776         * ParagraphParameters.h:
1777         * TextCache.h:
1778         * Thesaurus.h:
1779         * bufferlist.h:
1780         * exporter.h:
1781         * importer.h:
1782         * lastfiles.h:
1783         * lyxfind.h:
1784         * lyxfont.h:
1785         * lyxlex.h:
1786         * lyxtextclasslist.h:
1787         * messages.h:
1788         * paragraph.h:
1789         * paragraph_pimpl.C:
1790         * textcursor.h: add <string> and other small fixes to make Lars'
1791         std::string patch compile with STLport.
1792
1793 2003-10-06  Angus Leeming  <leeming@lyx.org>
1794
1795         * LColor.h: Add missing #include <string>.
1796
1797 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1798
1799         * All most all file in all subdirs: Make <string> be the prefered
1800         way of getting to std::string, add using declarations.
1801
1802 2003-10-06  André Pönitz  <poenitz@gmx.net>
1803
1804         * metricsinfo.C: initialize LyXFont before changing attribute.
1805         (fixes the 'math in \emph is upright' bug)
1806
1807 2003-10-06  André Pönitz  <poenitz@gmx.net>
1808
1809         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1810
1811 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1812
1813         * graph.C:
1814         * paragraph_pimpl.C: Small fixes to build using STLport
1815
1816 2003-10-02  André Pönitz  <poenitz@gmx.net>
1817
1818         * lyxfunc.C:
1819         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1820
1821 2003-10-01  André Pönitz  <poenitz@gmx.net>
1822
1823         * factory.C: assert early
1824
1825 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1826
1827         * lyx_main.C: remove the global debug object
1828
1829         * debug.h: adjust for new debugstream
1830
1831         * debug.C: adjust for new debugstream and keep the global debug
1832         object here.
1833
1834 2003-09-22  Angus Leeming  <leeming@lyx.org>
1835
1836         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1837         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1838         an incomplete class LyXFont.
1839
1840 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1841
1842         * factory.C: bug fix in branches
1843
1844 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1845
1846         * lyxfunc.C (processKeySym): adjust
1847         (dispatch): adjust
1848         (dispatch): change arg name from ev to func, adjust
1849         (sendDispatchMessage): ditto
1850
1851         * lyx_main.C (defaultKeyBindings): adjust keybindings
1852         (deadKeyBindings): ditto
1853
1854         * kbsequence.C (addkey): return a FuncRequest
1855
1856         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1857
1858         * kbmap.C (bind): take a FuncRequest as arg, adjust
1859         (read): adjust
1860         (lookup): adjust
1861         (defkey): change to take a FuncRequest as arg, adjust
1862         (findbinding): take a FuncRequest as arg, adjust.
1863
1864         * funcrequest.h (operator=): added
1865
1866         * funcrequest.C (FuncRequest): default kb_action changed from
1867         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1868
1869         * buffer.C (dispatch): simplify
1870         (dispatch): adjust to take a FuncRequest as arg, adjust
1871
1872         * boost.C (assertion_failed): change assertion message slightly
1873
1874         * ToolbarBackend.C (read): simplify
1875
1876         * MenuBackend.C (binding): adjust call to findbinding, add a
1877         message if no binding is found.
1878         (read): simplify
1879         (expandToc): correct by adding a empty FuncRequest
1880
1881         * LyXAction.C: include <boost/assert.hpp>
1882         (isPseudoAction): delete function
1883         (LookupFunc): change name to...
1884         (lookupFunc): this. change return type to FuncRequest.
1885         (getActionName): take kb_action as arg, simplify
1886         (funcHasFlag): add an assert, simplify.
1887
1888 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1889
1890         * toc.C (action): return a FuncRequest, simplify
1891
1892         * lyxfunc.C (processKeySym): adjust
1893         (getStatus): delete version that takes an int.
1894         (getStatus): adjust
1895         (dispatch): delete version that takes action as int
1896         (dispatch): adjust
1897         (sendDispatchMessage): simplify and adjust
1898
1899         * funcrequest.C (getArg): take unsigned int as arg
1900
1901         * ToolbarBackend.C (read): adjust
1902         (add): delete version that takes func as a string.
1903         (getIton): take a FuncRequest as arg
1904
1905         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1906         action.
1907
1908         * MenuBackend.C (MenuItem): add a new construct that only takes a
1909         Kind, simplify the constructor use for submenus.
1910         (add): adjust
1911         (expandLastfiles): adjust
1912         (expandDocuments): adjust
1913         (expandFormats): adjust
1914         (expandFloatListInsert): adjust
1915         (expandFloatInsert): adjust
1916         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1917
1918         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1919         Remove class variables lyx_pseudo_map and lyx_arg_map
1920
1921         * LyXAction.C (searchActionArg): delete function
1922         (getPseudoAction): delete function
1923         (retrieveActionArg): delete function
1924         (LookupFunc): make it return kb_action, simplify.
1925         (getActionName): simplify
1926
1927         * factory.C (createInset): fix new bug
1928
1929 2003-09-19  Angus Leeming  <leeming@lyx.org>
1930
1931         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1932         masterFilename_ parameter in the include inset.
1933
1934         * factory.C (createInset): changes due to the changes to InsetInclude.
1935
1936 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1937
1938         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1939
1940 2003-09-18  Angus Leeming  <leeming@lyx.org>
1941
1942         * buffer.C:
1943         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1944         Inset::fillWithBibKeys.
1945         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1946
1947 2003-09-18  Angus Leeming  <leeming@lyx.org>
1948
1949         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1950         variables.
1951         (ctor): pass and store a 'Buffer const &'
1952         (buffer): new member function.
1953
1954         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1955         '*this' to the LaTeXFeatures ctor.
1956
1957 2003-09-18  Angus Leeming  <leeming@lyx.org>
1958
1959         * LColor.h:
1960         * lyxfont.C:
1961         * lyxfont.h:
1962         * lyxtext.h:
1963         * text.C: rename EnumLColor as LColor_color.
1964
1965 2003-09-18  Angus Leeming  <leeming@lyx.org>
1966
1967         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1968         remove #include "insets/insetbase.h" from cursor.h.
1969
1970 2003-09-18  Angus Leeming  <leeming@lyx.org>
1971
1972         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1973         InsetOld_code to remove #include "inset.h".
1974
1975         * iterators.C: add #include "insets/inset.h"
1976
1977 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1978
1979         * BufferView.C: remove more locking stuff that apparently doesn't
1980         do anything sensible.
1981
1982 2003-09-16  André Pönitz  <poenitz@gmx.net>
1983
1984         * paragraph.[Ch]:
1985         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1986           performance boost.
1987
1988 2003-09-16  Angus Leeming  <leeming@lyx.org>
1989
1990         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1991
1992         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1993         arg/return type.
1994
1995         * paragraph.h: remove #include "lyxfont.h". Forward declare
1996         LyXFont_size.
1997
1998 2003-09-16  Angus Leeming  <leeming@lyx.org>
1999
2000         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2001         of support/textutils.h.
2002         (isWord): move the contents of support/textutils.h's IsWordChar here.
2003
2004         * buffer.C:
2005         * lyxfind.C:
2006         * rowpainter.C:
2007         * text.C:
2008         * text2.C: add #include "paragraph.h".
2009
2010         * rowpainter.C:
2011         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2012
2013 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2014
2015         * main.C:
2016         * lyx_main.C:
2017         * lyx_cb.C:
2018         * buffer.C:
2019         * LaTeX.C: use namespace alias for lyx::support::os
2020
2021 2003-09-16  Angus Leeming  <leeming@lyx.org>
2022
2023         * bufferparams.C:
2024         * bufferview_funcs.C:
2025         * factory.C:
2026         * lyxfunc.C:
2027         * paragraph_pimpl.C:
2028         * rowpainter.C:
2029         * text.C: add #include "LColor.h".
2030
2031 2003-09-16  Angus Leeming  <leeming@lyx.org>
2032
2033         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2034         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2035         return LyXFont &.
2036         Store the FontBits::color variable as an int rather than as an
2037         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2038         file.
2039
2040         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2041         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2042         string calls together.
2043
2044         * lyxrc.C: add #include "LColor.h".
2045
2046 2003-09-15  Angus Leeming  <leeming@lyx.org>
2047
2048         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2049         a cow_ptr.
2050
2051 2003-09-15  Angus Leeming  <leeming@lyx.org>
2052
2053         * LColor.h: add an EnumLColor wrapper for LColor::color.
2054
2055         * lyxfont.[Ch] (color, setColor, realColor):
2056         * lyxtext.h, text.C (backgroundColor):
2057         pass EnumLColor args to/from the functions, rather than LColor::color
2058         ones.
2059
2060         * lyxfont.h:
2061         * lyxtext.h: forward declare EnumLColor.
2062
2063         * lyx_main.C: add #include "LColor.h".
2064
2065 2003-09-15  Angus Leeming  <leeming@lyx.org>
2066
2067         * .cvsignore: add lyx-gtk.
2068
2069 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2070
2071         * Chktex.C
2072         * LaTeX.C
2073         * LaTeXFeatures.C
2074         * ParagraphParameters.C
2075         * Spacing.C
2076         * buffer.C
2077         * bufferparams.C
2078         * bufferview_funcs.C
2079         * chset.C
2080         * counters.C
2081         * funcrequest.C
2082         * lyxfont.C
2083         * lyxgluelength.C
2084         * lyxlength.C
2085         * paragraph.C
2086         * paragraph_funcs.C
2087         * text3.C
2088         * vc-backend.C: remove usage of STRCONV
2089
2090 2003-09-15  Angus Leeming  <leeming@lyx.org>
2091
2092         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2093         explicitly define the color passed to the painter.
2094
2095 2003-09-15  Angus Leeming  <leeming@lyx.org>
2096
2097         * bufferparams.C (BufferParams): reorder member initializers to avoid
2098         compiler warning.
2099
2100 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2101
2102         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2103         * text.C (updateRowPositions): remove an unusual nop
2104
2105 2003-09-12  André Pönitz  <poenitz@gmx.net>
2106
2107         * BufferView_pimpl.C:
2108         * Bullet.C:
2109         * layout.h:
2110         * lyxfunc.C:
2111         * lyxlayout.[Ch]:
2112         * lyxtextclass.C:
2113         * rowpainter.C:
2114         * text.C:
2115         * text2.C:
2116         * Counters.[Ch]: finish the 'automatic counters' job
2117
2118 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2119
2120         * aspell.C: include <boost/assert.cpp> (compile fix)
2121
2122 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2123
2124         * boost.C (assertion_failed): use lyx::support::abort instead of
2125         assert.
2126
2127 2003-09-10  Angus Leeming  <leeming@lyx.org>
2128
2129         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2130         with their _fwd progeny.
2131
2132 2003-09-09  Angus Leeming  <leeming@lyx.org>
2133
2134         134 files throughtout the source tree: replace 'using namespace abc;'
2135         directives with the appropriate 'using abc::xyz;' declarations.
2136
2137 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2138
2139         * boost.C (emergencyCleanup): moved here from LAssert.c
2140         (assertion_failed): new function, called by BOOST_ASSERT
2141
2142         * several files: change Assert to BOOST_ASSERT
2143
2144 2003-09-09  Angus Leeming  <leeming@lyx.org>
2145
2146         * buffer.[Ch]: Add an Impl class and move Buffer's member
2147         variables into it. As a result move several header files out of
2148         buffer.h.
2149
2150         Add header files to lots of .C files all over the tree as a result.
2151
2152 2003-09-09  Angus Leeming  <leeming@lyx.org>
2153
2154         * buffer.[Ch]: make Buffer's member variables private. Add
2155         accessor functions.
2156
2157         Lots of changes all over the tree as a result.
2158
2159 2003-09-08  Angus Leeming  <leeming@lyx.org>
2160
2161         * graph.C: #include <config.h>.
2162
2163 2003-09-08  Angus Leeming  <leeming@lyx.org>
2164
2165         * BranchList.C:
2166         * BufferView.C:
2167         * BufferView_pimpl.C:
2168         * CutAndPaste.C:
2169         * DepTable.C:
2170         * LaTeX.C:
2171         * LaTeXFeatures.C:
2172         * LyXAction.C:
2173         * MenuBackend.C:
2174         * TextCache.C:
2175         * aspell.C:
2176         * buffer.C:
2177         * bufferlist.C:
2178         * changes.C:
2179         * chset.C:
2180         * converter.C:
2181         * counters.C:
2182         * debug.C:
2183         * graph.C:
2184         * ispell.C:
2185         * lyx_cb.C:
2186         * lyxfind.C:
2187         * lyxfunc.C:
2188         * lyxlex_pimpl.C:
2189         * lyxrc.C:
2190         * lyxrow.C:
2191         * paragraph.C:
2192         * rowpainter.C:
2193         * texrow.C:
2194         * text.C:
2195         * text2.C:
2196         * toc.C: remove redundant using directives.
2197
2198 2003-09-07  Angus Leeming  <leeming@lyx.org>
2199
2200         * LaTeXFeatures.h: remove #include "support/types.h".
2201         * ToolbarBackend.h: remove #include <algorithm>.
2202         * changes.h: remove #include <ctime>.
2203         * debug.h: remove #include <iosfwd>.
2204         * graph.h: remove #include "support/std_string.h".
2205         * lyx_main.h: remove #include <csignal>.
2206         * lyxlex_pimpl.h: remove #include <fstream>.
2207         * sgml.h: remove #include <algorithm>, <utility>.
2208         * toc.h: remove #include "support/std_ostream.h".
2209         Add #include <iosfwd>.
2210
2211 2003-09-07  Angus Leeming  <leeming@lyx.org>
2212
2213         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2214
2215         * converter.h: forward declare LatexRunParams.
2216         * encoding.h: remove #include "lyxrc.h".
2217         * lyxtext.h: remove #include "LColor.h".
2218         * lyxtextclass.h: remove #include "support/types.h".
2219         * trans.h: remove #include "tex-accent.h".
2220         * trans_mgr.h: remove #include "tex-accent.h".
2221         * insets/inset.h: remove #include "support/types.h", <vector>.
2222         * insets/insetcollapsable.h: remove #include "LColor.h".
2223         * insets/insetinclude.h: remove #include "dimension.h".
2224         * insets/insetlatexaccent.h: remove #include "dimension.h".
2225         * insets/insetoptarg.h:: remove #include "insettext.h".
2226         * insets/insettext.h: remove #include "dimension.h",
2227         <boost/shared_ptr.hpp>
2228
2229         * insets/renderers.h: add #include "dimension.h".
2230         * insets/updatableinset.h: add #include "support/types.h".
2231
2232         * many .C files: Associated changes.
2233
2234 2003-09-06  Angus Leeming  <leeming@lyx.org>
2235
2236         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2237         one, inside testInvariant.
2238
2239         * PrinterParams.C: new file.
2240         * PrinterParams.[Ch]: move the function bodies out of line.
2241
2242 2003-09-06  Angus Leeming  <leeming@lyx.org>
2243
2244         * ParagraphParameters.h: forward declare ParameterStruct rather than
2245         including its header file.
2246         (depth): moved out-of-line.
2247
2248 2003-09-06  Angus Leeming  <leeming@lyx.org>
2249
2250         * BufferView_pimpl.h:
2251         * kbmap.h:
2252         * kbsequence.h:
2253         * lyxfunc.h: forward declare LyXKeySym rather than
2254         #include "frontends/LyXKeySym.h".
2255
2256         * BufferView_pimpl.C:
2257         * kbmap.C:
2258         * kbsequence.C:
2259         * lyxfunc.C: associated changes.
2260
2261 2003-09-06  Angus Leeming  <leeming@lyx.org>
2262
2263         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2264         As a result, can remove the #include "insets/inset.h" from BufferView.h
2265
2266 2003-09-06  Angus Leeming  <leeming@lyx.org>
2267
2268         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2269         As a result, can remove the #include "insets/inset.h" from BufferView.h
2270
2271 2003-09-06  Angus Leeming  <leeming@lyx.org>
2272
2273         * buffer_funcs.C:
2274         * buffer.h:
2275         * bufferlist.C:
2276         * BufferView.C:
2277         * bufferview_funcs.C:
2278         * BufferView_pimpl.C:
2279         * CutAndPaste.C:
2280         * lyx_cb.C:
2281         * lyxfunc.C:
2282         * paragraph.h:
2283         * ParagraphParameters.C:
2284         * tabular.C:
2285         * text3.C:
2286         * toc.C:
2287         * undo_funcs.C:
2288         * frontends/controllers/ControlDocument.C:
2289         * insets/insetcaption.C: rearrange the #includes into some sort of
2290         coherent order.
2291
2292         * buffer.h: remove #includes ErrorList.h, undo.h
2293
2294 2003-09-06  Angus Leeming  <leeming@lyx.org>
2295
2296         * support/types.h: add a 'depth_type' typedef, used to store the
2297         nesting depth of a paragraph.
2298
2299         * paragraph.h:
2300         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2301         defining explicitly.
2302
2303         * buffer.h:
2304         * paragraph_funcs.h:
2305         * ParagraphParameters.h:
2306         * sgml.h: use lyx::depth_type rather than Paragraph or
2307         ParameterStruct's depth_type.
2308
2309         * buffer.h
2310         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2311
2312         * BufferView.C:
2313         * BufferView_pimpl.C:
2314         * CutAndPaste.C:
2315         * ParagraphParameters.C:
2316         * buffer_funcs.C:
2317         * bufferlist.C:
2318         * bufferview_funcs.C:
2319         * lyx_cb.C:
2320         * lyxfunc.C:
2321         * tabular.C:
2322         * text3.C:
2323         * toc.C:
2324         * undo_funcs.C:
2325         * frontends/LyXView.C:
2326         * frontends/controllers/ControlDocument.C:
2327         * frontends/controllers/ControlErrorList.C:
2328         * insets/insetbibitem.C:
2329         * insets/insetbranch.C:
2330         * insets/insetcaption.C:
2331         * insets/insetcollapsable.C:
2332         * insets/insetenv.C:
2333         * insets/insetert.C:
2334         * insets/insetfloat.C:
2335         * insets/insetfoot.C:
2336         * insets/insetfootlike.C:
2337         * insets/insetnewline.C:
2338         * insets/insetquotes.C:
2339         * insets/insettabular.C:
2340         * insets/insettext.C:
2341         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2342
2343         * frontends/controllers/ControlChanges.C: #include "changes.h".
2344
2345 2003-09-06  Angus Leeming  <leeming@lyx.org>
2346
2347         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2348         than #including paragraph.h.
2349
2350         * ParagraphList.h:
2351         * RowList.h: deleted. Superfluous.
2352
2353         * CutAndPaste.h:
2354         * iterators.h:
2355         * lyxcursor.h:
2356         * lyxtext.h:
2357         * text_funcs.h:
2358         * undo.h:
2359         * undo_funcs.h:
2360         * insets/inset.h:
2361         * insets/insettext.h: use ParagraphList_fwd.h rather than
2362         ParagraphList.h.
2363
2364         * paragraph.h: don't forward declare ParagraphList.
2365
2366         * buffer.h:
2367         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2368         rather than ParagraphList.h. paragraph.h is still needed for the
2369         Paragraph::depth_type parameters.
2370
2371         * textcursor.h: enable it to compile stand-alone in light of the
2372         above changes.
2373
2374         * bufferview_funcs.C:
2375         * iterators.C:
2376         * lyxfunc.C:
2377         * lyxrow_funcs.C:
2378         * paragraph.C:
2379         * rowpainter.C:
2380         * text.C:
2381         * text2.C:
2382         * text3.C:
2383         * text_funcs.C:
2384         * textcursor.C:
2385         * undo.C:
2386         * frontends/controllers/ControlParagraph.C:
2387         * frontends/controllers/ControlTabular.C:
2388         * insets/insetmarginal.C:
2389         * insets/insetminipage.C:
2390         * insets/insetnote.C:
2391         * insets/insetoptarg.C: add header files needed to compile again.
2392
2393 2003-09-06  Angus Leeming  <leeming@lyx.org>
2394
2395         * RowList_fwd.h: new file, forward-declaring Row rather than
2396         #including lyxrow.h.
2397
2398         * lyxrow_funcs.h:
2399         * lyxtext.h:
2400         * paragraph.h:
2401         * insets/insettext.h: use it instead of RowList.h
2402
2403         * bufferview_funcs.C:
2404         * lyxfunc.C:
2405         * lyxrow_funcs.C:
2406         * paragraph.C:
2407         * rowpainter.C:
2408         * text.C:
2409         * text2.C:
2410         * text3.C: #include "RowList.h".
2411
2412 2003-09-05  Angus Leeming  <leeming@lyx.org>
2413
2414         * factory.C (createInset):
2415         * vspace.C (c-tor): replace sscanf call with an istringstream.
2416         * ispell.C: re-add missing HP/UX headers.
2417         * lyxserver.C: re-add missing  os2 headers.
2418
2419 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2420
2421         * BranchList.C:
2422         * graph.C:
2423         * ispell.C:
2424         * lastfiles.C:
2425         * lyx_cb.C:
2426         * lyxserver.C:
2427         * texrow.C:
2428         * text3.C: re-add missing system headers, needed for 2.95.2.
2429
2430 2003-09-05  Angus Leeming  <leeming@lyx.org>
2431
2432         Changes most place everywhere due to the removal of using directives
2433         from support/std_sstream.h.
2434
2435 2003-09-05  Angus Leeming  <leeming@lyx.org>
2436
2437         Replace LString.h with support/std_string.h,
2438         Lsstream.h with support/std_sstream.h,
2439         support/LIstream.h with support/std_istream.h,
2440         support/LOstream.h with support/std_ostream.h.
2441
2442         Changes resulting throughout the tree.
2443
2444 2003-09-05  Angus Leeming  <leeming@lyx.org>
2445
2446         * sgml.h: ensure that the header file can be compiled stand-alone.
2447         * *.C: strip out redundant #includes. (320 in total.)
2448
2449 2003-09-04  Angus Leeming  <leeming@lyx.org>
2450
2451         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2452         here (from getPackages).
2453
2454         * debug.[Ch]: add a new EXTERNAL tag.
2455
2456 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2457
2458         * text2.C (cursorEnd): simplify
2459         (setCursor): adjust
2460         (getColumnNearX): adjust
2461
2462         * text.C (computeBidiTables): adjust
2463         (fill): adjust
2464
2465         * rowpainter.C (paintChars): adjust
2466         (paintSelection): adjust
2467         (paintChangeBar): adjust
2468         (paintText): adjust
2469
2470         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2471         lastPos instead.
2472         (numberOfSeparators): adjust
2473
2474 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2475
2476         * LyXAction.C:
2477         * box.[Ch]:
2478         * lfuns.h:
2479         * lyxfunc.C:
2480         * text3.C: Restricts the mouse click functionality
2481         of insets like bibtex, include, toc and floatlist to the visible
2482         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2483         up the dialogs. Cursor has to be in front of the inset (i.e.
2484         start of row) for this to function.
2485
2486 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2487
2488         * bufferview_funcs.C (currentState): output row information
2489
2490 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2491
2492         * bufferview_funcs.C (currentState): output paragraph position
2493
2494 2003-09-04  Angus Leeming  <leeming@lyx.org>
2495
2496         * FloatList.h: move out #include "Floating.h".
2497         * LaTeX.h: move out #include "DepTable.h".
2498         * LyXAction.h: move out #include "funcrequest.h".
2499         * buffer.h: move out #include "author.h", "iterators.h".
2500         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2501         * lyx_main.h: move out #include "errorlist.h".
2502         * lyxfunc.h: move out #include "FuncStatus.h".
2503         * lyxtext: move out #include "lyxcursor.h".
2504         * paragraph_pimpl.h: move out #include "counters.h".
2505
2506 2003-09-03  Angus Leeming  <leeming@lyx.org>
2507
2508         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2509         preamble_snippets list, enabling us to add snippets to the preamble
2510         only if the snippet was not there already.
2511
2512 2003-09-04  Angus Leeming  <leeming@lyx.org>
2513
2514         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2515
2516 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2517
2518         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2519         update
2520
2521 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2522
2523         * BranchList.C: point fix, earlier forgotten
2524
2525 2003-09-02  Angus Leeming  <leeming@lyx.org>
2526
2527         * box.C (contains): renamed from 'contained' after a fantastic
2528         amount of hot air.
2529
2530 2003-09-02  John Levon  <levon@movementarian.org>
2531
2532         * BufferView.C:
2533         * lyxcursor.h:
2534         * lyxcursor.C:
2535         * lyxfunc.C:
2536         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2537
2538 2003-09-02  John Levon  <levon@movementarian.org>
2539
2540         * text2.C: simplification of cursorEnd(), including partial
2541         fix for bug 1376
2542
2543 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2544
2545         * buffer.C (readFile): add a space
2546
2547 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2548
2549         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2550
2551 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2552
2553         * buffer.C (readFile): new function, take a filename and a
2554         ParagraphList::iterator
2555         (readFile): adjust
2556         (readFile): adjust, make it private. don't use setStream, make
2557         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2558         always contain the filename.
2559
2560         * BufferView.C (insertLyXFile): simplify and make it work for
2561         gzipped files.
2562
2563 2003-08-30  John Levon  <levon@movementarian.org>
2564
2565         * Makefile.am: fix dist (from Kayvan)
2566
2567 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2568
2569         * most files: change to use const Buffer refs
2570
2571 2003-08-27  André Pönitz  <poenitz@gmx.net>
2572
2573         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2574         on top of ownerPar().
2575
2576 2003-08-27  John Levon  <levon@movementarian.org>
2577
2578         * funcrequest.C: properly initialise POD members
2579
2580 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2581
2582         * lyxtext.h (top_y): move top_y from here
2583         * text.C:
2584         * text2.C:
2585         * text3.C:
2586         * BufferView.[Ch]:
2587         * BufferView_pimpl.[Ch]: to here
2588         * frontends/screen.C:
2589         * insets/insettabular.C:
2590         * insets/insettext.C: adjust
2591         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2592
2593 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2594
2595         * BufferView.[Ch]:
2596         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2597
2598 2003-08-26  André Pönitz  <poenitz@gmx.net>
2599
2600         * paragraph_func.[Ch] (outerPar): new function
2601
2602         * paragraph.C:
2603         * paragraph_funcs.C:
2604         * paragraph_funcs.h:
2605         * paragraph_pimpl.C:
2606         * text2.C: remove Inset::par_owner
2607
2608 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2609
2610         * lyxrow_funcs.C:
2611         * lyxtext.h:
2612         * text.C:
2613         * text2.C: eliminates the needFullRow/display() stuff
2614         altogether, putting the logic in metrics/draw in the insets.
2615
2616 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2617
2618         * text2.C (redoParagraphInternal, redoParagraphs):
2619         * text.C (redoParagraph): add a call to updateRowPositions at the
2620         end of each 'metrics-like' call. Remove all others.
2621         (getRow): remove the 'y-computing' version.
2622         (getRowNearY): do not compute nor return the real y. Solve the
2623         'y < 0' problem and simplify.
2624
2625 2003-08-22  Angus Leeming  <leeming@lyx.org>
2626
2627         * *.[Ch]: clean-up of licence and author blurbs.
2628         Also move config.h out of a few .h files and into a few .C files.
2629
2630 2003-08-22  André Pönitz  <poenitz@gmx.net>
2631
2632         * lyxrow.[Ch]: add x_ and *fill_ members
2633
2634         * lyxtext.h:
2635         * text.C:
2636         * rowpainter.C:
2637         * text2.C: adjust/remove prepareToPrint() calls
2638
2639 2003-08-22  André Pönitz  <poenitz@gmx.net>
2640
2641         * lyxrow.[Ch]: add  end_ member
2642
2643         * lyxrow_funcs.C: use LyXRow::end_
2644
2645         * lyxtext.h (singleWidth): add LyXFont parameter
2646
2647         * rowpainter.C:
2648         * text2.C: adjust LyXText::singleWidth() calls
2649
2650         * text.C (redoParagraph): simplify row breaking logic
2651
2652
2653 2003-08-19  André Pönitz  <poenitz@gmx.net>
2654
2655         * funcrequest.C: initialize button_ member
2656
2657         * text3.C:
2658         * rowpainter.[Ch]: interface consolidation
2659
2660 2003-08-18  André Pönitz  <poenitz@gmx.net>
2661
2662         * BufferView.C:
2663         * BufferView_pimpl.C:
2664         * lyxfind.C:
2665         * paragraph_funcs.C:
2666         * rowpainter.C:
2667         * text3.C: remove LyXScreen::draw() and fitCursor calls
2668
2669         * BranchList.h: remove spurious semicolons
2670
2671         * MenuBackend.C: fix branchlist related crash
2672
2673 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2674
2675         * BranchList.[Ch]:
2676         * InsetList.[Ch]:
2677         * LColor.[Ch]:
2678         * LyXAction.C:
2679         * Makefile.am:
2680         * MenuBackend.[Ch]:
2681         * bufferparams.[Ch]:
2682         * factory.C:
2683         * lfuns.h:
2684         * lyxfunc.C:
2685         * text3.C: implements the 'branch inset'
2686         idea. This allows the output of various versions of a document
2687         from a single source version, selectively outputing or suppressing
2688         output of parts of the text.
2689         This implementation contains a 'branch list editor' in a separate
2690         tab of the document settings dialog. Branches are user definable
2691         and have a "display colour" to distinguish them on-screen.
2692
2693         ColorHandler was somewhat cleaned up.
2694         (1) make possible a dynamically growing LColor list by allowing
2695         the graphic context cache to grow along (vector);
2696         (2) eliminate an IMHO unnecessary step in colour allocation.
2697
2698 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2699
2700         * BufferView_pimpl.C: compile fix
2701
2702 2003-08-15  André Pönitz  <poenitz@gmx.net>
2703
2704         * rowpainter.C: remove extra metrics calls
2705
2706         * lyxtext.h: merge the two constructors into a single one,
2707           pass reference to owner's par list
2708
2709         * BufferView_pimpl.C:
2710         * text.C:
2711         * text2.C: adjust
2712
2713 2003-08-15  André Pönitz  <poenitz@gmx.net>
2714
2715         * lyxrow_funcs.[Ch]:
2716         * lyxtext.h:
2717         * paragraph.h:
2718         * paragraph_funcs.C:
2719         * rowpainter.C:
2720         * text.C:
2721         * text2.C:
2722         * text3.C:
2723         * text_funcs.C: split LyXText::rowlist_ into individual
2724         Paragraph::rows_ chunks
2725
2726         * BufferView.[Ch]:
2727         * BufferView_pimpl.[Ch]:
2728         * lyxfind.C:
2729         * lyxtext.h:
2730         * text3.C: remove toggleSelection()
2731
2732 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2733
2734         * bufferlist.C: beautify two alerts (shorter text of buttons)
2735         * buffer.C: Remove redundant ' ' from message
2736         * tabular.h:
2737         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2738         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2739         rename VALIGN_CENTER to VALIGN_MIDDLE
2740
2741 2003-08-11  André Pönitz  <poenitz@gmx.net>
2742
2743         * lyxtext.h (getPar):
2744         * text.C: new function
2745
2746 2003-08-11  André Pönitz  <poenitz@gmx.net>
2747
2748         * Makefile.am:
2749         * tracer.[Ch]: remove unneeded files
2750
2751         * InsetList.[Ch]: remove resizeInsetsLyXText()
2752
2753         * lyxtext.h:
2754         * text.C:
2755         * text2.C:
2756         * text3.C: merge insertParagraphs() and appendParagraph()
2757         remove breakAgain(), update()
2758
2759         * BufferView_pimpl.[Ch]:
2760         * bufferview_funcs.[Ch]:
2761         * lyxfunc.C:
2762         * paragraph.[Ch]:
2763         * rowpainter.C:
2764         * tabular.C: adjust after text & InsetList changes.
2765
2766 2003-08-08  André Pönitz  <poenitz@gmx.net>
2767
2768         * text.C (insertChar, backspace): replace rowlist fiddling
2769         with rebreak of full par
2770
2771         * lyxtext.h:
2772         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2773         checkParagraph, updateInset): removed
2774
2775 2003-08-07  André Pönitz  <poenitz@gmx.net>
2776
2777         * paragraph.C:
2778         * text3.C: merge some LFUN handlers, remove dead code
2779
2780 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2781
2782         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2783
2784 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2785
2786         * text2.C (DEPM): fix part of bug 1255 and 1256
2787
2788 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2789
2790         * BufferView_pimpl.C (workAreaDispatch): change to use
2791         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2792         that are no mouse related.
2793
2794 2003-08-05  André Pönitz  <poenitz@gmx.net>
2795
2796         * BufferView.[Ch]:
2797         * BufferView_pimpl.[Ch]:
2798         * bufferview_funcs.C:
2799         * text2.C:
2800         * text3.C: rip out "deep update"
2801
2802         * textcursor.[Ch] (last_sel_cursor): remove unused member
2803
2804 2003-08-04  André Pönitz  <poenitz@gmx.net>
2805
2806         * BufferView.[Ch]:
2807         * BufferView_pimpl.[Ch]:
2808         * ParagraphParameters.C:
2809         * bufferview_funcs.C:
2810         * lyx_cb.C:
2811         * lyxfind.C:
2812         * lyxfunc.C:
2813         * text.C:
2814         * text2.C:
2815         * text3.C: replace "complicated" BufferView::update(...) calls with
2816         simpler ones.
2817
2818         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2819
2820 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2821
2822         * Makefile.am (lyx_SOURCES): add paper.h
2823
2824 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2825
2826         * Makefile.am: move things around so that both lyx-qt and
2827         lyx-xforms can be built (according to --with-frontend). Then lyx
2828         is a symbolic link to lyx-[firstfrontend]
2829
2830 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2831
2832         * Always use std::endl with lyxerr
2833
2834 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2835
2836         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2837
2838 2003-08-01  André Pönitz  <poenitz@gmx.net>
2839
2840         * BufferView.[Ch]:
2841         * BufferView_pimpl.[Ch]:
2842         * lyxfunc.C:
2843         * text3.C: merge BufferView::repaint() and BufferView::update()
2844
2845 2003-08-01  José Matos  <jamatos@lyx.org>
2846
2847         * buffer.[Ch]: file_format is no longer a buffer data element.
2848
2849 2003-08-01  André Pönitz  <poenitz@gmx.net>
2850
2851         * BufferView.C:
2852         * lyxtext.h:
2853         * text.C:
2854         * text2.C: make redoParagraph more independent of current cursor
2855
2856         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2857         * text.C:
2858         * text2.C: remove unneeded members
2859
2860 2003-07-30  André Pönitz  <poenitz@gmx.net>
2861
2862         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2863
2864         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2865           create a single function...
2866
2867         * paragraph_funcs.C (moveItem): ... here.
2868
2869         * text.C:
2870           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2871
2872 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2873
2874         * LColor.[Ch]: Add comment and greyedout logical colors.
2875
2876 2003-07-30  André Pönitz  <poenitz@gmx.net>
2877
2878         * tabular.C: don't use Assert too heavily. This crashes where it
2879           shouldn't
2880
2881 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2882
2883         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2884         is disabled (bug 1232)
2885
2886 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2887
2888         * factory.C: limited 'arg' scope
2889
2890 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2891
2892         * factory.C: fixed Note submenu issues
2893
2894 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2895
2896         * factory.C: submenu for Note/Comment/Greyedout
2897
2898 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2899
2900         * lyx_main.C (LyX):
2901         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2902
2903 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2904
2905         * LaTeXFeatures.C:
2906         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2907         greyedout. Patch provided by Jürgen Spitzmüller.
2908
2909 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2910
2911         * kbmap.C (read): fix error message when reading bind files
2912
2913 2003-07-29  Angus Leeming  <leeming@lyx.org>
2914
2915         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2916         certainly does not do what it purports to do. I am doing it, and
2917         us, a favour by killing it.
2918
2919 2003-07-28  José Matos  <jamatos@lyx.org>
2920
2921         * buffer.C (readBody, do_writeFile):
2922         * paragraph.C(readParagraph): \end_document replaces \the_end.
2923
2924 2003-07-29  André Pönitz  <poenitz@gmx.net>
2925
2926         * BufferView.[Ch]:
2927         * BufferView_pimpl.[Ch]:
2928         * lyxfunc.C:
2929         * text2.C:
2930         * text3.C:
2931         * textcursor.[Ch]: remove toggleToggle & Co
2932
2933 2003-07-28  José Matos  <jamatos@fep.up.pt>
2934
2935         * buffer.C (readParagraph):
2936         * params_func (readParToken, readParagraph):
2937         * paragraph.C (write): \layout -> \begin_layout.
2938
2939 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2940
2941         * lyxlex_pimpl.C (setFile): clean up slightly.
2942
2943         * bufferparams.h: add compressed var
2944
2945         * buffer_funcs.C (readFile): adjust for LyXLex change
2946         (newFile): ditto + simplify
2947
2948         * buffer.C (writeFile): handle writing of compressed files
2949
2950         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2951         Check if the file is compressed and set a bufferparm if so.
2952
2953         * Makefile.am (lyx_LDADD): remove explicit -lz
2954
2955 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2956
2957         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2958         makeDocBookFile): put the real LyX version in the first line of
2959         the file
2960
2961         * version.h:
2962         * version.C.in: remove lyx_docversion
2963
2964         * tabular.C (write_attribute): add a template-based version to
2965         write enums properly
2966
2967 2003-07-28  André Pönitz  <poenitz@gmx.net>
2968
2969         * lyxtext.h:
2970         * text.C:
2971         * text2.C:
2972         * text3.C: use doubles again for x-coordinates. They are needed.
2973
2974 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2975
2976         * messages.C (getLocaleDir): use lyx_localedir()
2977
2978         * lyxlex_pimpl.C (setFile): compress stuff
2979
2980         * buffer.C (writeFile): add some compression stuff
2981         (do_writeFile): new func, dont call expliti close... will this
2982         breake anything?
2983
2984         * Makefile.am (lyx_LDADD): add -lz
2985
2986 2003-07-28  José Matos  <jamatos@fep.up.pt>
2987
2988         * buffer.C: increment file format.
2989         * paragraph_funcs (readParagraph, readParToken):
2990         * paragraph.C (readParagraph): add \end_layout.
2991
2992 2003-07-27  Angus Leeming  <leeming@lyx.org>
2993
2994         * Makefile.am: remove special casing for configure-time setting of
2995         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2996
2997         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2998         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2999
3000 2003-07-26  André Pönitz  <poenitz@gmx.net>
3001
3002         * paragraph_func.[Ch]:
3003         * paragraph.C (realizeFont): inline it whereever it is used
3004
3005         * rowpainter.C:
3006         * text.C:
3007         * text2.C:
3008         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3009
3010
3011 2003-07-26  André Pönitz  <poenitz@gmx.net>
3012
3013         *       lyxtext.h:
3014         * text.C:
3015         * text2.C: get rid of LyXText::need_break_row
3016
3017 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3018
3019         * toc.[Ch]: put namespace toc inside namespace lyx
3020
3021         * MenuBackend.C (expandToc2): adjust for lyx::toc
3022         (expandToc): ditto
3023
3024         * lyxfunc.C (dispatch): adjust for lyx::find
3025
3026         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3027         lyx::find instead. Reorganize a bit.
3028         (LyXReplace): rename to replace
3029         (LyXFind): rename to find
3030
3031         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3032         (dispatch): ditto
3033
3034 2003-07-26  André Pönitz  <poenitz@gmx.net>
3035
3036         * text.C (setHeightOfRow): restrict scope of temporary variable
3037
3038         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3039           code (never has been used?)
3040
3041 2003-07-27  Asger Alstrup  <alstrup@local>
3042
3043         * text.C (fill): Optimise algorithm to exploit that we can reuse
3044         the LyXFont for many characters.
3045         (setHeightOfRow): Same thing.
3046         (rowBreakPoint): Same thing.
3047
3048 2003-07-26  Asger Alstrup  <alstrup@local>
3049
3050         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3051
3052         * text.C (singleWidth): Spurious font copying in hot-spot
3053         singleWidth avoided. Reorder tests for arabic for efficiency.
3054
3055         * text.C (fill): handle empty paragraphs better.
3056
3057 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3058
3059         * ispell.C:
3060         * encoding.h: add includes
3061
3062         * lyxrc.C: remove reading of bind files
3063
3064         * lyx_main.C (init): setup bindings and menus only if we have a
3065         gui.
3066
3067         * kbmap.C (read): new method. Do the actual reading of bind
3068         files.
3069
3070         * converter.C (dvipdfm_options):
3071         * bufferparams.C:
3072         * lyxrc.C (read):
3073         (output): adapt PAPER_* enums.
3074
3075         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3076
3077         * bufferparams.h: remove paper-related enums from there
3078
3079         * paper.h: New file. A trivial header file to hold paper-related
3080         enums. It should later expand to contain many paper-related
3081         horrors access.
3082
3083         * lyxrc.C: declare extern displayTranslator
3084
3085 2003-07-27  José Matos  <jamatos@fep.up.pt>
3086
3087         * tabular.[Ch] (linuxdoc): add support for tables and figures
3088         (linuxdoc).
3089
3090 2003-07-27  José Matos  <jamatos@fep.up.pt>
3091
3092         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3093         consistency in both functions.
3094         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3095
3096 2003-07-26  Asger Alstrup  <alstrup@local>
3097
3098         * rowpainter.C (paintRows): Change algorithm to work directly on
3099         the insets rather than asking every character in the document
3100         whether its an inset.
3101
3102 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3103
3104         * buffer.C (openFileWrite): factorize some code
3105
3106 2003-07-26  Angus Leeming  <leeming@lyx.org>
3107
3108         * lyx_cb.C:
3109         * lyx_main.[Ch]: replace occurances of system_tempdir with
3110         os::getTmpDir().
3111
3112 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3113
3114         * rename Inset to InsetOld
3115
3116 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3117
3118         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3119         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3120         which I think is a bit clearer. EDIT is gone, since it was
3121         premature optimisation, and broken for mathed anyway.
3122         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3123         with cursor positioning in insets as well (math insets still do not
3124         work, but that's a different story anyway.) It mysteriously
3125         crashes sometimes with undo in the first paragraph, but I'm fairly
3126         confident that this is a compiler bug.
3127
3128 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3129
3130         * paragraph.C (Paragraph): adjust for new clone return type
3131         (operator==): ditto
3132         (copyIntoMinibuffer): ditto
3133
3134 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3135
3136         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3137         by not having a special case, and always doing a full rebreak of
3138         the document after undo.
3139
3140 2003-07-23  Angus Leeming  <leeming@lyx.org>
3141
3142         * factory.C (createInset): InsetExternal::setParams now takes a
3143         Buffer const * arg.
3144
3145 2003-07-23  Angus Leeming  <leeming@lyx.org>
3146
3147         * factory.C (createInset): changed interface to the external and
3148         graphics mailers' string2params functions.
3149
3150 2003-07-23  Angus Leeming  <leeming@lyx.org>
3151
3152         * factory.C (createInset): pass a
3153         Buffer const * parameter to InsetExternalMailer's string2params.
3154
3155 2003-07-22  John Levon  <levon@movementarian.org>
3156
3157         * Thesaurus.h: include the right aiksaurus header
3158
3159 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3160
3161         * MenuBackend.C (expand): check menu shortcuts unconditionally
3162
3163 2003-07-21  Angus Leeming  <leeming@lyx.org>
3164
3165         * factory.C (createInset): pass a
3166         buffer_path parameter to InsetGraphicsMailer's string2params.
3167
3168 2003-07-21  Angus Leeming  <leeming@lyx.org>
3169
3170         * BufferView_pimpl.C (buffer):
3171         * buffer.C (d-tor):
3172         * lyx_main.C (LyX):
3173         * lyxfunc.C (dispatch):
3174         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3175         rather than the grfx shortcut.
3176
3177 2003-07-21  André Pönitz  <poenitz@gmx.net>
3178
3179         * rowpainter.C: remove unused variables
3180
3181         * tabular_funcs.C:
3182         * tabular_funcs.h: move to tabular.C
3183         * Makefile.am: adjust
3184
3185         * tabular.[Ch]: basic optical cleaning
3186
3187         * author.h: pass references, not values
3188
3189 2003-07-18  André Pönitz  <poenitz@gmx.net>
3190
3191         * lyxtext.h:
3192         * metricsinfo.C:
3193         * metricsinfo.h:
3194         * rowpainter.C:
3195         * text.C:
3196         * text2.C:
3197         * text3.C: two-phase drawing for InsetText and InsetTabular
3198         some float -> int changes.
3199
3200 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3201
3202         * lyx_main.C: fix the fix
3203
3204 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3205
3206         * lyx_main.C: fix a crash in batch mode if no files specified
3207         * converter.C: ws
3208
3209 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3210
3211         * format.[Ch] (papersize): moved to BufferParams
3212         * converter.[Ch] (dvips_options): moved to BufferParams
3213         (dvipdfm_options): moved to anon namespace
3214         * bufferparams.[Ch]: added above functions.
3215
3216 2003-07-17  André Pönitz  <poenitz@gmx.net>
3217
3218         * lyxtext.h:
3219         * rowpainter.C:
3220         * text2.C: don't call inset->update() anymore
3221
3222         * metricsinfo.[Ch]: add convenience constructor
3223
3224 2003-07-16  André Pönitz  <poenitz@gmx.net>
3225
3226         * lyxcursor.[Ch]:
3227         * lyxfunc.[Ch]:
3228         * text.C:
3229         * text2.C: replace the LyXCursor::irow_ member with
3230          on-demand computation of the value
3231
3232 2003-07-16  John Levon  <levon@movementarian.org>
3233
3234         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3235
3236 2003-07-15  André Pönitz  <poenitz@gmx.net>
3237
3238         * text.C:
3239         * text2.C: remove no more needed refresh_row
3240
3241 2003-07-15  André Pönitz  <poenitz@gmx.net>
3242
3243         * lyxtext.h:
3244         * rowpainter.C:
3245         * text2.C:
3246         * text3.C: refresh_status tristate -> need_update bool
3247
3248 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3249
3250         * lyxtext.h (init): remove reinit argument (act as if always true)
3251         * text2.C: adjust to that
3252
3253 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3254
3255         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3256         * text3.C: use it to delete selections in some cases
3257         (bugs 441, 673, 702, 954).
3258
3259 2003-07-14  André Pönitz  <poenitz@gmx.net>
3260
3261         * rowpainter.[Ch]: reduce interface
3262
3263 2003-07-14  André Pönitz  <poenitz@gmx.net>
3264
3265         * BufferView_pimpl.C:
3266         * text2.C: adjust after removing unused BufferView * argument
3267
3268 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3269
3270         * text2.C (init): fix a crash fired on resize
3271
3272 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3273
3274         * buffer.[Ch]: added new closing signal
3275         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3276         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3277         BufferView::Pimpl via the closing the signal
3278
3279 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3280
3281         * buffer.[Ch]: take out all bv-related from buffer
3282         * BufferView.C:
3283         * BufferView_pimpl.[Ch]: connect to new signals
3284         * CutAndPaste.C: removed useless asserts
3285         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3286         * lyxvc.[Ch]:
3287         * vc-backend.[Ch]:
3288         * lyxfunc.C: moved view-related funciontality from vc here
3289         * paragraph.C: removed outdated comments
3290         * text.C: ws
3291
3292 2003-07-10  André Pönitz  <poenitz@gmx.net>
3293
3294         * BufferView_pimpl.C:
3295         * tabular.h:
3296         * tabular_funcs.C:
3297         * text.C:
3298         * text2.C: remove InsetText::InnerCache, clean up consequences
3299
3300 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3301
3302         * ispell.C: fix two typos in error messages
3303
3304 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3305
3306         * Extend Note inset to other forms of annotation like Comment
3307         and Greyedout. Right button click gives dialog.
3308
3309         Files modified or added (+):
3310
3311         * insetnote.[Ch]
3312         * FormNote.[Ch]      +
3313         * ControlNote.[Ch]   +
3314         * form_note.fd       +
3315         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3316         frontends/controllers
3317         * xforms/Dialogs.C
3318         * factory.C
3319
3320 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3321
3322         * aspell.C: add missing namespace lyx::support
3323
3324 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3325
3326         * BufferView.[Ch] (newFile): Add
3327         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3328         * LaTeX.[Ch] (message): added this signal and use it
3329         * buffer.[Ch] (busy, message): added these signals and use them
3330         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3331         * converter.C:
3332         * exporter.C:
3333         * format.C:
3334         * importer.C: use buffer signals instead of direct bv calling
3335         * lyx_cb.[Ch] (ShowMessage): removed
3336         * lyx_main.C:
3337         * lyxfunc.C:
3338         * paragraph_funcs.C:
3339         * text2.C: use buffer signals
3340
3341 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3342
3343         * introduce namespace lyx::graphics
3344
3345 2003-07-02  André Pönitz  <poenitz@gmx.net>
3346
3347         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3348
3349 2003-07-01  André Pönitz  <poenitz@gmx.net>
3350
3351         * text.C:
3352         * text2.C:
3353         * text3.C:
3354         * text_funcs.[Ch]:
3355         * textcursor.h:
3356         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3357           text*.C to text_func.C
3358
3359 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3360
3361         * introduce namespace lyx::support
3362
3363 2003-06-30  André Pönitz  <poenitz@gmx.net>
3364
3365         * Chktex.C:
3366         * funcrequest.C:
3367         * lyxtext.h:
3368         * text.C: re-enable --with-included-string
3369
3370 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3371
3372         * textcursor.C: add <config.h>
3373
3374         * text.C (getWord): remove const from word_location arg
3375
3376         * lyxvc.C (getLogFile): fix const type order
3377
3378         * lyxtext.h: remove const from word_location arg, add arg name
3379
3380         * lyxlayout.h: currect type on labeltype.
3381
3382         * importer.C: correct \file
3383
3384         * converter.C (intToFormat): use std:: on ret val, ws changes
3385
3386         * bufferlist.h: correct \file
3387
3388         * buffer.C (makeLinuxDocFile): fix const type order
3389         (makeDocBookFile): ditto
3390         (fillWithBibKeys): use std:: on stdlib args.
3391
3392         * CutAndPaste.C: fix authors.
3393         (availableSelections): use std:: on return vector
3394
3395 2003-06-27  André Pönitz  <poenitz@gmx.net>
3396
3397         * BufferView_pimpl.C:
3398         * bufferview_funcs.C:
3399         * lyxcursor.C:
3400         * lyxcursor.h:
3401         * lyxfunc.C:
3402         * lyxtext.h:
3403         * rowpainter.C:
3404         * text.C:
3405         * text2.C:
3406         * text3.C: remove LyXCursor::row_ member
3407
3408         * lyxtext.h:
3409         * text.C: rename fullRebreak() to partialRebreak() and implement
3410           a fullRebreak() that really bereks fully
3411
3412         * textcursor.h: new struct for cursor-related data
3413
3414 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3415
3416         * lyx_main.C (LyX): get full path of document loaded on the
3417         command line
3418
3419 2003-06-26  André Pönitz  <poenitz@gmx.net>
3420
3421         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3422           remove unused/broken operator>,<,>=.
3423
3424         *       text.C: remove only use of broken operator<= in an Assert().
3425
3426 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3427
3428         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3429         moved errorlist_.clear to showErrorList
3430
3431 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3432
3433         * converter.C (scanLog, runLaTeX):
3434         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3435         move the bv->showErrorList call to the callers
3436         * lyxfunc.C: i.e. here...
3437         * text2.C: and here
3438         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3439         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3440         namespace, the second to...
3441         * buffer_funcs (BufferFormat, parseErrors): added
3442         * errorlist.C (ErrorList(TeXErrors const &)): removed
3443
3444 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3445
3446         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3447
3448 2003-06-24  "Garst R. Reese" <reese@isn.net>
3449
3450         * debug.C: fix typo
3451
3452 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3453
3454         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3455
3456         * version.C.in: change docversion to 1.4
3457
3458 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3459
3460         * buffer.C: fix a bug just introduced
3461
3462 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3463
3464         * buffer.[Ch]: added the parseError signal and use it, removed
3465         sgmlError
3466         * BufferView.[Ch] (addError): moved to ...
3467         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3468         to the Buffer::parseError signal to catch (guess what) parse errors
3469         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3470
3471 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3472
3473         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3474         ability to create a buffer and to return an existing one from
3475         the list. Moved these functions to...
3476         * buffer_funcs.[Ch]: added
3477         * BufferView.[Ch] (loadLyXFile): added
3478         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3479         job removed from bufferlist::loadLyXFile.
3480         * buffer.C (setReadOnly): make it work without view
3481         (i.e added an if (users))
3482
3483 2003-06-19  Angus Leeming  <leeming@lyx.org>
3484
3485         * lfuns.h:
3486         * LyXAction.C (init):
3487         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3488         with LFUN_DIALOG_SHOW <name> <data>.
3489
3490 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3491
3492         * CutAndPaste.C (availableSelections): small compilation fix for
3493         ancient (gcc 2.9x) compilers
3494
3495 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3496
3497         * text3.C (cursorNext): add tmp var
3498
3499         * text2.C (updateCounters): for function calling out of for clause
3500         (replaceSelectionWithString): ditto
3501         (insertStringAsParagraphs): ditto
3502         (getColumnNearX): add tmp var
3503         (setCursorFromCoordinates): add tmp var
3504         (cursorDownParagraph): add tmp var
3505         (deleteEmptyParagraphMechanism): add tmp var
3506
3507         * text.C (insertChar): add tmp var
3508
3509         * rowpainter.C (paintDepthBar): add tmp var
3510
3511         * CutAndPaste.C (availableSelections): potentially check all
3512         paragraphs in a cut to fill the shown strings.
3513
3514 2003-06-18  André Pönitz  <poenitz@gmx.net>
3515
3516         * kbmap.[Ch]: use vector<> instead of list<>
3517
3518 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3519
3520         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3521         pasteSelection with index
3522
3523         * text2.C (pasteSelection): modify, call pasteSelection with index
3524
3525         * paragraph.C (asString): reimplement version with no interval to
3526         call the one with interval.
3527
3528         * lyxtext.h: add index arg to pasteSelection
3529
3530         * MenuBackend.C (MenuItem): handle PasteRecent
3531         (Menu::read::Menutags): add md_pasterecent
3532         (read): handle it
3533         (expandPasteRecent): new function
3534         (expand): use it
3535
3536         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3537
3538         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3539         the limited stack
3540         (availableSelections): new function
3541
3542 2003-06-17  Angus Leeming  <leeming@lyx.org>
3543
3544         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3545
3546 2003-06-17  Angus Leeming  <leeming@lyx.org>
3547
3548         * lfuns.h:
3549         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3550
3551         * lyxfunc.C (dispatch): invoke it.
3552
3553 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3554
3555         * iterators.C (operator++, ParPosition): reintroduce some
3556         const_cast for the benefit of older compilers.
3557
3558 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3559
3560         * text3.C (dispatch): do not modify clipboard when doing
3561         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3562         LFUN_DELETE_SKIP on a selection selection
3563
3564 2003-06-16  André Pönitz  <poenitz@gmx.net>
3565
3566         * BufferView.C:
3567         * buffer.C:
3568         * buffer.h:
3569         * paragraph.C:
3570         * tabular.[Ch]: IU of clone() and getLabelList();
3571
3572 2003-06-13  André Pönitz  <poenitz@gmx.net>
3573
3574         * tabular.h: compactification
3575
3576 2003-06-12  André Pönitz  <poenitz@gmx.net>
3577
3578         * tabular.C:
3579         * tabular.h:
3580         * tabular_funcs.h: some renaming plus whitespace
3581
3582 2003-06-12  André Pönitz  <poenitz@gmx.net>
3583
3584         * BufferView.C:
3585         * BufferView_pimpl.C:
3586         * CutAndPaste.C:
3587         * buffer.C:
3588         * iterators.[Ch]:
3589         * lyxfunc.C:
3590         * text.C:
3591         * toc.C: Return a Paragraph & for ParIterator::operator*()
3592
3593 2003-06-11  John Levon  <levon@movementarian.org>
3594
3595         * lyx_main.C:
3596         * ToolbarBackend.h:
3597         * ToolbarBackend.C: add "Toolbars" section and
3598         put the flags there
3599
3600 2003-06-10  Angus Leeming  <leeming@lyx.org>
3601
3602         * lfuns.h:
3603         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3604
3605         * lyxfunc.C (dispatch): invoke it.
3606
3607 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3608
3609         * main.C: protect <ios> with HAVE_IOS
3610         (main): protect sync_with_stdio with HAVE_IOS
3611
3612 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3613
3614         * text2.C (cutSelection): adjust
3615         (pasteSelection): adjust
3616
3617         * messages.C: handle get of empty string
3618
3619         * main.C (main): use sync_with_stdio(false)
3620
3621         * lyxfunc.C (dispatch): adjust
3622
3623         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3624         (WriteAs): remove unneeded BufferView arg.
3625
3626         * bufferparams.h: use correct types on papersize, papersize2 and
3627         paperpackage.
3628
3629         * bufferparams.C (readToken): adjust for type
3630         (writeLaTeX): add missing cases to switch.
3631
3632         * bufferlist.C (quitWriteBuffer): adjust
3633         (close): adjust
3634
3635         * buffer.C (asciiParagraph): remove some commented code.
3636
3637         * CutAndPaste.C: remove current_view extern variable.
3638         (cutSelection): add BufferParams arg.
3639         (eraseSelection): add BufferParams arg.
3640         (pasteSelection): add Buffer const & arg
3641
3642 2003-06-07  John Levon  <levon@movementarian.org>
3643
3644         * buffer.C:
3645         * paragraph_funcs.C:
3646         * paragraph_pimpl.C:
3647         * text.C:
3648         * text2.C:
3649         * paragraph.h:
3650         * paragraph.C: allow InsetERT to freely space lines,
3651         and some consolidation of code
3652
3653 2003-06-06  José Matos  <jamatos@fep.up.pt>
3654
3655         * buffer.C (makeDocBookFile): fix bug #821
3656
3657 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3658
3659         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3660
3661 2003-06-04  Angus Leeming  <leeming@lyx.org>
3662
3663         * buffer.C: bump format to 224.
3664
3665 2003-06-05  André Pönitz  <poenitz@gmx.net>
3666
3667         * text2.C (redoParagraphs): remove two const_cast<>
3668
3669 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3670
3671         * ParagraphList.h: remove last remnants of NO_STD_LIST
3672
3673 2003-06-03  Angus Leeming  <leeming@lyx.org>
3674
3675         * factory.C (createInset): small change to the way InsetExternal's params
3676         are set.
3677
3678 2003-06-04  André Pönitz  <poenitz@gmx.net>
3679
3680         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3681
3682         * paragraph_pimpl.h:
3683         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3684
3685         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3686
3687         * undo_funcs.C: make some simple cases of undo work again
3688
3689 2003-06-03  John Levon  <levon@movementarian.org>
3690
3691         * ispell.C: HPUX doesn't have sys/select.h
3692         (from Albert Chin)
3693
3694 2003-06-03  John Levon  <levon@movementarian.org>
3695
3696         * CutAndPaste.C: update tabular and include inset
3697         buffer references
3698
3699         * buffer.h:
3700         * paragraph.h:
3701         * paragraph.C: remove owningBuffer(), don't pass Buffer
3702         to clone()
3703
3704         * factory.C: insetGraphicsParams changed
3705
3706 2003-06-02  John Levon  <levon@movementarian.org>
3707
3708         * LyXAction.C:
3709         * factory.C:
3710         * lfuns.h:
3711         * lyxfunc.C:
3712         * text3.C: remove insetparent
3713
3714 2003-06-02  John Levon  <levon@movementarian.org>
3715
3716         * buffer.h:
3717         * buffer.C: fix inset_iterator.end(), move out of line
3718         (bug 1149)
3719
3720 2003-06-01  John Levon  <levon@movementarian.org>
3721
3722         * text3.C: use a proper cut/paste when doing inset
3723         insert (from Jürgen Spitzmüller)
3724
3725 2003-06-01  John Levon  <levon@movementarian.org>
3726
3727         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3728
3729 2003-05-30  André Pönitz  <poenitz@gmx.net>
3730
3731         * rowpainter.C: unify second drawing phase
3732
3733 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3734
3735         * trans_mgr.C: remove one case of current_view
3736
3737         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3738
3739         * paragraph_funcs.h: remove paragraph.h include
3740
3741         * paragraph.h: delete NO_STD_LIST stuff
3742
3743         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3744
3745         * buffer.h: remove paragraph.h include
3746
3747         * ParagraphList.C: delete file
3748
3749         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3750
3751         * toc.C (getTocList): adjust
3752
3753         * paragraph_pimpl.C (validate): adjust
3754
3755         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3756
3757         * paragraph.C (Paragraph): adjust
3758         (getPositionOfInset): use const_iterator, adjust
3759         (bibitem): use const_iterator, adjust
3760         (setInsetOwner): adjust
3761
3762         * iterators.C (operator++): adjust
3763
3764         * InsetList.[Ch]: Replace selfmade iterator with standard
3765         vector::iterator also introduce const_iterator. Remove getPos,
3766         getInset and setInset from InsetTable. Adjust accordingly.
3767
3768         * BufferView.C (lockInset): adjust
3769         (ChangeInsets): adjust
3770
3771         * tabular.[Ch]: delete commented same_id functions
3772
3773 2003-05-28  John Levon  <levon@movementarian.org>
3774
3775         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3776
3777 2003-05-28  André Pönitz  <poenitz@gmx.net>
3778
3779         * metricsinfo.[Ch]: remove 'fullredraw' member
3780
3781 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3782
3783         * lyxtextclass.C (operator): remove caching.
3784
3785 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3786
3787         * text3.C: adjust
3788
3789         * text2.C (cursorBottom): adjust
3790         (setCounter): use ParagraphList::find, adjust
3791
3792         * text.C (workWidth): use ParagraphList::find, adjust
3793
3794         * lyxcursor.C (LyXCursor): adjust
3795
3796         * buffer.C (inset_iterator): adjust
3797
3798         * ParagraphList.h: make iterator(value_type) private, make
3799         ParagraphList a friend of iterator.
3800
3801         * ParagraphList.C (find): new function
3802
3803         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3804
3805 2003-05-27  André Pönitz  <poenitz@gmx.net>
3806
3807         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3808
3809 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3810
3811         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3812
3813 2003-05-26  John Levon  <levon@movementarian.org>
3814
3815         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3816
3817 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3818
3819         * remove same_id from function signatures, adjust.
3820
3821 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3822
3823         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3824
3825         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3826
3827         * paragraph.C (Paragraph): get rid of same_ids parameter
3828
3829         * ParagraphList.C (insert): adjust
3830         (push_back): adjust
3831
3832 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3833
3834         * paragraph_funcs.C (breakParagraph): adjust
3835         (breakParagraphConservative): adjust
3836
3837         * buffer.C (readParagraph): adjust
3838
3839         * ParagraphList.C (insert): take a reference instead of a pointer
3840         (insert): adjust
3841
3842         * paragraph.[Ch] (id): new function
3843
3844         * bufferlist.C (newFile): adjust
3845
3846         * ParagraphList.C (ParagraphList): adjust
3847         (assign): adjust
3848         (push_back): take a reference instead of a pointer.
3849
3850         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3851
3852         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3853         instead.
3854
3855         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3856         set else use old code.
3857
3858         * ParagraphList.C: remove all NO_NEXT code and only compile this
3859         code of NO_STD_LIST is set.
3860
3861 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3862
3863         * BufferView_pimpl.C:
3864         * TextCache.C:
3865         * TextCache.h:
3866         * bufferlist.C:
3867         * errorlist.h:
3868         * format.C:
3869         * format.h:
3870         * graph.C:
3871         * lyxfunc.C:
3872         * lyxrc.C:
3873         * graphics/GraphicsConverter.C:
3874         * graphics/PreviewLoader.C: header adjustment
3875
3876 2003-05-23  Angus Leeming  <leeming@lyx.org>
3877
3878         * LaTeXFeatures.[Ch] (useBabel): new method.
3879         * bufferparams.C (writeLaTeX): use it.
3880
3881 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3882
3883         * ParagraphList.h (set): remove unused function.
3884
3885 2003-05-23  André Pönitz  <poenitz@gmx.net>
3886
3887         * BufferView.C:
3888         * BufferView_pimpl.C:
3889         * buffer.C:
3890         * buffer.h:
3891         * lyxfunc.C:
3892         * undo_funcs.C: setUndo reworked
3893
3894         * iterators.[Ch]: add access to topmost ParagraphList
3895
3896         * lyxtext.[Ch] (workWidth): add a const
3897
3898 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3899
3900         * texrow.[Ch] (increasePos): remove function
3901         * exporter.C (export): removed unused var and outdated comment
3902
3903 2003-05-23  Angus Leeming  <leeming@lyx.org>
3904
3905         * latexrunparams.h: rename fragile as moving_arg.
3906         * paragraph.C (simpleTeXOnePar): ditto.
3907         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3908
3909 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3910
3911         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3912         (createUndo): ditto
3913         (textUndoOrRedo): comment out a currently unused var.
3914
3915         * paragraph.h (NO_NEXT): enable NO_NEXT
3916
3917         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3918
3919         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3920
3921         * exporter.C (Export): adjust for removeAutoInsets removal.
3922
3923         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3924
3925         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3926
3927         * BufferView.[Ch] (removeAutoInsets): delete function
3928
3929 2003-05-22  Angus Leeming  <leeming@lyx.org>
3930
3931         * latexrunparams.h: add a free_spacing variable.
3932
3933         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3934         to pass moving_arg, as the data is stored in runparams.fragile.
3935
3936         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3937         to Inset::latexOptional or to simpleTeXOnePar.
3938
3939         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3940         free_spacing arg to Inset::latexOptional.
3941
3942         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3943         free_spacing arg.
3944
3945 2003-05-22  Angus Leeming  <leeming@lyx.org>
3946
3947         * latexrunparams.h: add fragile and use_babel variables.
3948
3949         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3950         * buffer.C (makeLaTeXFile): store this returned value in
3951         runparams.use_babel, thus passing it to the inset::latex methods.
3952
3953         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3954         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3955
3956         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3957         longer has a fragile arg, as it is stored in runparams.fragile.
3958
3959         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3960         moving_arg parameter as the data is stored in runparams.fragile.
3961
3962         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3963         a fragile parameter as the data is stored in runparams.fragile.
3964
3965 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3966
3967         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3968
3969 2003-05-22  Angus Leeming  <leeming@lyx.org>
3970
3971         * latexrunparams.h: add a 'bool nice' which defaults to false.
3972
3973         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3974         now encapsulated within runparams.
3975
3976         * bufferlist.C (updateIncludedTeXfiles):
3977         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3978
3979 2003-05-22  Angus Leeming  <leeming@lyx.org>
3980
3981         * latexrunparams.h: new file containing struct LatexRunParams.
3982         * Makefile.am: add new file.
3983
3984         * LaTeX.[Ch] (c-tor, run):
3985         * buffer.[Ch] (makeLaTeXFile):
3986         * bufferlist.[Ch] (updateIncludedTeXfiles):
3987         * converter.C (convert, scanLog):
3988         * converter.[Ch] (runLaTeX):
3989         * exporter.C (Export):
3990         * paragraph.[Ch] (simpleTeXOnePar):
3991         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3992         * paragraph_funcs.[Ch] (latexParagraphs):
3993         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3994         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3995         pass around a LatexRunParams parameter.
3996
3997 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3998
3999         * paragraph.[Ch]: remove unused constructor
4000
4001         * ParagraphList.C (erase): new function, taking two iterators
4002
4003 2003-05-22  André Pönitz  <poenitz@gmx.net>
4004
4005         * undo_funcs.C: remove duplicated code
4006
4007         * iterator.[Ch]: operator=
4008
4009 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4010
4011         * tabular.C (SetMultiColumn): ws changes
4012
4013         * rowpainter.C (paintFirst): get rid of a ->previous
4014
4015         * lyx_cb.C (getPossibleLabel): parlist simplification
4016
4017         * BufferView.C (ChangeInsets): simplify slightly.
4018
4019 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4020
4021         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4022         * lfuns.h: new LFUN_SPACE
4023         * lyxfunc.C: protected space has a new lfun
4024         * paragraph_funcs.C: read new space insets
4025         * text3.C:
4026         * factory.C: handle new space insets
4027
4028 2003-05-22  André Pönitz  <poenitz@gmx.net>
4029
4030         * BufferView.C:
4031         * BufferView_pimpl.C:
4032         * buffer.[Ch]:
4033         * lyxfunc.C:
4034         * undo_funcs.C: return a ParIterator from getParFromID.
4035
4036         * iterators.[Ch]: add two const's
4037
4038 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4039
4040         * toc.C (getTocList): adjust
4041
4042         * iterators.[Ch]: rework for parlist
4043
4044         * buffer.C (par_iterator_begin): adjust
4045         (par_iterator_end): adjust
4046
4047         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4048
4049         * BufferView.C (removeAutoInsets): adjust
4050         (ChangeInsets): adjust
4051
4052 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4053
4054         * text.C (top_y): fix bug 1110
4055
4056 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4057
4058         * errorlist.[Ch]: added
4059         * buffer.C:
4060         * BufferView.[Ch]:
4061         * BufferView_pimpl.C:
4062         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4063         instead
4064
4065 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4066
4067         * Makefile.am: ensure that lyx is relinked upon changes to the
4068         various "convenience" libs.
4069
4070 2003-05-20  Angus Leeming  <leeming@lyx.org>
4071
4072         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4073         files are compiled in alphabetical order again.
4074
4075         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4076
4077 2003-05-19  Angus Leeming  <leeming@lyx.org>
4078
4079         * gettext.[Ch]: remove "char const * _(char const *)".
4080
4081 2003-05-19  André Pönitz  <poenitz@gmx.net>
4082
4083         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4084
4085         * Makefile.am:
4086         * BufferView.C:
4087         * DepTable.h:
4088         * LaTeXFeatures.C:
4089         * buffer.C:
4090         * lyxfont.C:
4091         * lyxlex.h:
4092         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4093
4094 2003-05-19  André Pönitz  <poenitz@gmx.net>
4095
4096         * buffer.C:
4097         * lyxlayout.[Ch]:
4098         * lyxtextclass.[Ch]:
4099         * paragraph.C:
4100         * paragraph_funcs.[Ch]:
4101         * text2.C:
4102         * text3.C: more insetenv work
4103
4104 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4105
4106         * ParagraphParameters.C (params2string): small bug fixed
4107
4108 2003-05-16  André Pönitz  <poenitz@gmx.net>
4109
4110         * debug.C:
4111         * bufferview_funcs.C: patch from Kornel Benko to prevent
4112           crash when _(...) is called twice in a statement
4113
4114 2003-05-16  André Pönitz  <poenitz@gmx.net>
4115
4116         * BufferView.C:
4117         * lyxfunc.C:
4118         * text.C:
4119         * text2.C:
4120         * text3.C:
4121         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4122
4123 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4124
4125         * lyx_main.C (init): remove spurious static_cast
4126
4127 2003-05-14  André Pönitz  <poenitz@gmx.net>
4128
4129         * BufferView.C: fix format string
4130
4131 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4132
4133         * BufferView.[Ch] (insertErrors): removed
4134         * BufferView.[Ch] (showErrorList): added
4135         * buffer.C (runChkTeX):
4136         * converter.C (scanLog): call showErrorList instead of inserterrors
4137
4138 2003-05-13  André Pönitz  <poenitz@gmx.net>
4139
4140         * BufferView_pimpl.C:
4141         * buffer.C:
4142         * bufferview_func.C:
4143         * MenuBackend.C:
4144         * lyxfunc.C:
4145         * lyxrc.C:
4146         * tex-accent.C:
4147         * text3.C:
4148         * toc.C:
4149         * tabular_funcs.h: tostr() from its own header
4150
4151         * ParagraphParameters.C:
4152         * ToolbarBackend.C:
4153         * bufferparams.C:
4154         * format.C:
4155         * lyxlex_pimpl.C:
4156         * text3.C: STRCONV()
4157
4158 2003-05-12  André Pönitz  <poenitz@gmx.net>
4159
4160         * BufferView.C:
4161         * BufferView_pimpl.C:
4162         * CutAndPaste.C:
4163         * LaTeX.C:
4164         * LaTeXFeatures.C:
4165         * ParagraphParameters.C:
4166         * buffer.C:
4167         * bufferlist.C:
4168         * bufferparams.C:
4169         * bufferview_funcs.C:
4170         * converter.C:
4171         * counters.C:
4172         * debug.C:
4173         * exporter.C:
4174         * format.C:
4175         * importer.C:
4176         * lyx_cb.C:
4177         * lyx_main.C:
4178         * lyxfont.C:
4179         * lyxfunc.C:
4180         * lyxvc.C:
4181         * paragraph.C:
4182         * paragraph_funcs.C:
4183         * tabular.C:
4184         * tabular_funcs.C:
4185         * text2.C:
4186         * text3.C:  boost::format -> bformat  all over the place
4187
4188
4189 2003-05-09  André Pönitz  <poenitz@gmx.net>
4190
4191         * LColor.[Ch]: Pimpl the #include <map> away
4192
4193 2003-05-09  John Levon  <levon@movementarian.org>
4194
4195         * bufferlist.C: never remove emergency saves
4196
4197 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4198
4199         * Makefile.am: better lib building
4200
4201 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4202
4203         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4204         instead.
4205         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4206         (simpleTeXSpecialChars): adjust
4207         (simpleTeXSpecialChars): adjust
4208         * paragraph.C (simpleTeXOnePar): adjust
4209         * buffer.C (makeLaTeXFile): adjust
4210
4211         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4212
4213         * text2.C (changeDepth): parlist cleanup
4214         (getColumnNearX): ditto
4215
4216         * rowpainter.C (getLabelFont): parlist cleanup
4217
4218         * bufferlist.C (newFile): parlist cleanup
4219
4220         * CutAndPaste.C (eraseSelection): parlist cleanup
4221
4222         * BufferView_pimpl.C (trackChanges): parlist cleanup
4223         (dispatch): ditto
4224
4225         * BufferView.C (lockInset): parlist cleanup.
4226         (ChangeInsets): ditto
4227
4228 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4229
4230         * CutAndPaste.h: Update file header.
4231
4232         * CutAndPaste.C: Update file header.
4233         Store the parts cut out of the Document in a limited_stack.
4234         (copySelection): adjust
4235         (pasteSelection): new function, takes the index in the limited stack.
4236         (nrOfParagraphs): adjust
4237         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4238         simplify error inset insertion.
4239         (checkPastePossible): adjust
4240
4241 2003-05-06  John Levon  <levon@movementarian.org>
4242
4243         * text2.C: don't cast wrap inset to float
4244
4245 2003-05-05  André Pönitz  <poenitz@gmx.net>
4246
4247         * iterator.C:
4248         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4249
4250         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4251           few naked Paragraph *.
4252
4253 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4254
4255         * bufferparams.C: Output warning if a document with missing
4256         TeX document class is loaded
4257         * exporter.C: Disable TeX exports if the document class is missing
4258         * lyxtextclass.C:
4259         * lyxtextclass.h:
4260         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4261         isTeXClassAvailable()
4262
4263 2003-05-03  John Levon  <levon@movementarian.org>
4264
4265         * BufferView.h:
4266         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4267         explicit cursor show/hide
4268
4269         * BufferView_pimpl.h:
4270         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4271         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4272
4273         * lyxfunc.C: hide cursor before dispatching.
4274
4275         * lyx_cb.C:
4276         * lyxfind.C:
4277         * text.C:
4278         * text3.C: remove explicit cursor hides
4279
4280 2003-05-02  André Pönitz  <poenitz@gmx.net>
4281
4282         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4283
4284         * undo_funcs.C:
4285         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4286           linked lists
4287
4288         * text2.C: tiny whitespace
4289
4290 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4291
4292         * undo_funcs.C: almost only ws changes.
4293
4294         * ParagraphList.C (splice): just return if pl is empty.
4295
4296 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4297
4298         * ParagraphList.C (splice): new function.
4299
4300         * CutAndPaste.C (pasteSelection): use it
4301
4302 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4303
4304         * CutAndPaste.C (pasteSelection): remove the last next and
4305         previous from this file.
4306
4307 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4308
4309         * CutAndPaste.C (pasteSelection): more clean up, user proper
4310         ParagraphList functions for pasteing.
4311
4312         * ParagraphList.C (insert): new function, three arg insert
4313
4314 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4315
4316         * ParagraphList.C (insert): new function, three arg insert
4317
4318         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4319         not on paragraphs.
4320
4321 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4322
4323         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4324
4325 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4326
4327         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4328
4329 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4330
4331         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4332         (copySelection): clean up a bit.
4333         (pasteSelection): use make_pair
4334
4335         * ParagraphList.C (ParagraphList): implement copy constructor
4336         (operator=): implement, base on copy constructor.
4337         (assign): new func
4338
4339         * paragraph.C (erase): return a bool
4340
4341         * paragraph_pimpl.C (erasePos): remove function, move contents...
4342         (erase): ... here. Return a bool.
4343         (erase): call erase instead of erasePos.
4344
4345 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4346
4347         * ParagraphList.h: define PitPosPair
4348         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4349         ParagraphList, fix a bug on pasting multiple pars
4350         * text2.C: change interface to C&P
4351
4352 2003-04-30  André Pönitz  <poenitz@gmx.net>
4353
4354         * undo_func.C: revert part of yesterday's patch 2
4355
4356 2003-04-30  John Levon  <levon@movementarian.org>
4357
4358         * LColor.C: s/tabular/table/
4359
4360 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4361
4362         * text3.C (dispatch): do not convert iterator -> pointer
4363         * undo_funcs.C (setCursorParUndo): ditto
4364         * text_funcs.C (transposeChars): ditto
4365
4366         * text2.C (setLayout): ws changes only
4367
4368         * text.C (breakParagraph): do not convert iterator -> pointer
4369         (insertChar): ditto
4370         (acceptChange): ditto
4371         (rejectChange): ditto
4372         (changeCase): ditto
4373         (Delete): ditto
4374         (backspace): ditto
4375
4376         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4377         pointer
4378
4379 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4380
4381         * text3.C (gotoInset): YABG (yet another bad getChar)
4382
4383 2003-04-29  André Pönitz  <poenitz@gmx.net>
4384
4385         * paragraph.h: make operator= private unimplemented as long as
4386           it is unusable
4387
4388         * ParagraphList.C: whitespace
4389
4390         * paragraph.[Ch]:
4391         * paragraph_pimpl.[Ch]:
4392         * paragraph_funcs.C:
4393         * CutAndPaste.C:
4394         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4395
4396         * text2.C:
4397           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4398
4399 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4400
4401         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4402         * paragraph.[Ch] (erase):
4403         * paragraph_pimpl.[Ch] (erase): change return type and value
4404         * text2.C (cutSelection): some rework
4405
4406 2003-04-28  John Levon  <levon@movementarian.org>
4407
4408         * bufferlist.C: changes for unsaved changes dialog
4409
4410 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4411
4412         * bufferlist.C (newFile): set language (messages_) for new
4413         documents also.
4414
4415         * buffer.C (readFile): ws changes only.
4416
4417 2003-04-28  André Pönitz  <poenitz@gmx.net>
4418
4419         * undo_funcs.C:
4420         * lyxfunc.C:
4421         * buffer.[Ch]:
4422         * BufferView_pimpl.C:
4423         * BufferView.C: getParFromID related ParagraphList::iterator changes
4424
4425 2003-04-28  André Pönitz  <poenitz@gmx.net>
4426
4427         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4428           Changes
4429
4430 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4431
4432         * messages.C: remove one more localedir class variable.
4433
4434 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4435
4436         * messages.C (getLocaleDir): singleton generation function
4437         (Pimpl): use it.
4438         (Messages): add a default constructor.
4439
4440         * main.C (main): do not setup localedir here, do not call
4441         gettext_init.
4442
4443         * gettext.C (_): use it.
4444         (gettext_init): delete funciton
4445
4446 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4447
4448         * gettext.C (getLyXMessages): new singleton generating function.
4449
4450         * buffer.C (updateDocLang): adjust
4451
4452         * Makefile.am (messages.o): add target
4453         (main.o): remove target
4454
4455 2003-04-27  John Levon  <levon@movementarian.org>
4456
4457         * bufferlist.C:
4458         * lyx_cb.C:
4459         * lyxfunc.C:
4460         * lyxvc.C: specify cancel button in Alert::prompt
4461
4462 2003-04-26  John Levon  <levon@movementarian.org>
4463
4464         * text3.C:
4465         * lyxfunc.C:
4466         * lfuns.h:
4467         * LyXAction.C: add LFUN_INSET_SETTINGS
4468
4469         * lyxfunc.C: don't enable tabular-feature when there's
4470         just any locking inset
4471
4472 2003-04-26  John Levon  <levon@movementarian.org>
4473
4474         * bufferlist.C: re-add Cancel to buffer close question
4475
4476         * lyxfunc.C: fix import UI a bit
4477
4478 2003-04-25  John Levon  <levon@movementarian.org>
4479
4480         * gettext.C: remove the broken asserts for now
4481
4482 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4483
4484         * messages.C: make case where setlocale cannot comply work better.
4485
4486         * buffer.C (updateDocLang): new function
4487         (changeLanguage): use it
4488         (readFile): use it
4489
4490         * text2.C (setCounter): use B_ a bit.
4491
4492         * lyxlayout.C (Read): be sure to trim the label strings.
4493
4494         * messages.C (Messages): fix typo in comment
4495
4496         * buffer.C (readFile): set message_ after file is loaded.
4497         (makeDocBookFile): remove double return
4498         (changeLanguage): reset message_ upon language change.
4499         (B_): new func, use this to get translated buffer strings.
4500
4501         * main.C: add myself and Jean Marc as authors.
4502
4503 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4504
4505         * messages.[hC]: pimplify Messages, and three different pimpls to be
4506         used in different circumstances.
4507
4508         * gettext.[Ch]: change for use with new message code.
4509
4510 2003-04-24 André Pönitz <poenitz@gmx.net>
4511
4512         * factory.C: support for eqref
4513
4514 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4515
4516         * messages.[Ch]: add missing char
4517
4518         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4519
4520         * messages.[Ch]: New files
4521
4522 2003-04-18  John Levon  <levon@movementarian.org>
4523
4524         * BufferView.h:
4525         * BufferView.C:
4526         * BufferView_pimpl.C:
4527         * lfuns.h:
4528         * LyXAction.C:
4529         * lyxtext.h:
4530         * text2.C: remove layout-copy/paste (bug 778)
4531
4532 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4533
4534         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4535
4536 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4537
4538         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4539         if they succeed. Act accordingly.
4540
4541 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4542
4543         * text2.C (setCharFont): adjust
4544         (setCounter): adjust
4545         (insertStringAsLines): adjust
4546
4547         * text.C (leftMargin): adjust
4548         (setHeightOfRow): adjust
4549
4550         * rowpainter.C (paintFirst): adjust
4551         (paintLast): adjust
4552
4553         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4554         (outerHook): ditto
4555         (isFirstInSequence): ditto
4556         (getEndLabel): ditto
4557         (outerFont): adjust
4558
4559         * paragraph.C (getParLanguage): comment out some hard stuff.
4560
4561         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4562         (sgmlError): ditto
4563         (simpleDocBookOnePar): ditto
4564         (makeDocBookFile): use ParagraphList::iterator
4565
4566         * CutAndPaste.C (pasteSelection): adjust
4567
4568 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4569
4570         * text2.C (getFont): adjust
4571         (getLayoutFont): adjust
4572         (getLabelFont): adjust
4573
4574         * paragraph_funcs.C (TeXOnePar): adjust
4575
4576         * buffer.C (simpleLinuxDocOnePar): adjust
4577         (simpleDocBookOnePar): adjust
4578
4579         * CutAndPaste.C (pasteSelection): adjust
4580
4581         * BufferView.C (getEncoding): adjust
4582
4583         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4584
4585 2003-04-16  John Levon  <levon@movementarian.org>
4586
4587         * lyxfind.C: use parlist stuff for search/changes
4588
4589 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4590
4591         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4592
4593         * text2.C (deleteEmptyParagraphMechanism): adjust
4594
4595         * text2.[Ch] (ownerParagraph): delete func (both of them
4596
4597 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4598
4599         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4600
4601 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4602
4603         * ParagraphList.C: prepare for NO_NEXT
4604
4605 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4606
4607         * text2.C (getFont): adjust
4608         (getLayoutFont): adjust
4609         (getLabelFont): adjust
4610
4611         * paragraph.C (getFont): adjust
4612         (getLabelFont): adjust
4613         (getLayoutFont): adjust
4614
4615         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4616
4617 2003-04-15  John Levon  <levon@movementarian.org>
4618
4619         From Angus Leeming
4620
4621         * lyx_main.C: handle Include in .ui files
4622
4623 2003-04-15  John Levon  <levon@movementarian.org>
4624
4625         * MenuBackend.C: make the doc files length shorter
4626
4627         * ToolbarBackend.h:
4628         * ToolbarBackend.C: handle toolbar placement flags,
4629         Minibuffer
4630
4631 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4632
4633         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4634         adjust
4635
4636         * paragraph_funcs.C (TeXOnePar): adjust
4637
4638         * paragraph.C (getLabelFont): add outerfont arg, adjust
4639         (getLayoutFont): ditto
4640         (simpleTeXOnePar): adjust
4641
4642         * paragraph_pimpl.C (realizeFont): delete func
4643
4644 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4645
4646         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4647         row argument, constify cur argument.
4648
4649 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4650
4651         * text2.C (getFont): adjust
4652         (getLayoutFont): adjust
4653         (getLabelFont): adjust
4654
4655         * paragraph_funcs.C (TeXOnePar): adjust
4656         (outerFont): new func...
4657         (realizeFont): ...moved out from here, changed this to facilitate
4658         transition
4659
4660         * paragraph.C (getFont): take outerfont as arg, adjust
4661         (simpleTeXOnePar): add outerfont arg, adjust
4662
4663         * buffer.C (simpleLinuxDocOnePar): adjust
4664         (simpleDocBookOnePar): adjust
4665
4666         * CutAndPaste.C (pasteSelection): adjust
4667
4668         * BufferView.C (getEncoding): adjust
4669
4670 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4671
4672         * text2.C (setCharFont): adjust
4673         (setCounter): adjust
4674
4675         * text.C (leftMargin): adjust
4676         (setHeightOfRow): adjust
4677
4678         * rowpainter.C (paintFirst): adjust
4679         (paintLast): adjust
4680
4681         * paragraph_pimpl.C (realizeFont): adjust
4682
4683         * paragraph.C (isFirstInSequence): move from here...
4684         * paragraph_funcs.C (isFirstInSequence): ...to here
4685
4686         * paragraph.C (outerHook): move from here...
4687         * paragraph_funcs.C (outerHook): ...to here
4688
4689         * paragraph.C (depthHook): move from here...
4690         * paragraph_funcs.C (depthHook): ...to here
4691
4692         * paragraph.C (getEndLabel): move from here...
4693         * paragraph_funcs.C (getEndLabel): ...to here
4694
4695         * text2.C (realizeFont): move from here...
4696         * paragraph_funcs.C (realizeFont): ...to here
4697
4698 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4699
4700         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4701
4702 2003-04-14  Angus Leeming  <leeming@lyx.org>
4703
4704         * LColor.[Ch]: scrap LColor mathcursor.
4705
4706 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4707
4708         * lyxlex.[Ch] (text): delete function
4709         * trans.C (Load): adjust
4710         * paragraph_funcs.C (readParToken): adjust
4711
4712 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4713
4714         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4715         vector<char> instead of a char[].
4716
4717         * lyxlex_pimpl.C (getString): adjust
4718         (next): adjust
4719         (lex): use getString
4720         (eatLine): adjust
4721         (nextToken): adjust
4722
4723         * lyxlex.C (text): use pimpl_->getString()
4724         (getBool): ditto
4725         (findToken): ditto
4726
4727 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4728
4729         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4730         (makeFontEntriesLayoutSpecific): temp var for par.size()
4731         (setLayout): temp var for ownerParagraphs().end()
4732         (fullRebreak): temp var for rows().end()
4733         (selectionAsString): temp var for boost::next(startpit), realize
4734         that the while really is a regular for loop.
4735         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4736         setCursor in one place.
4737         (setParagraph): temp vr for ownerParagraphs().end()
4738         (updateCounters): make the while loop a for loop
4739         (cutSelection): temp var for ownerParagraphs().end()
4740         (updateInset): make the do {} while() a regular for loop
4741         (getCursorX): use temp vars
4742         (setCurrentFont): use temp vars
4743         (getColumnNearX): use temp vars
4744
4745 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4746
4747         * text.C (transformChar): use temp var for getChar
4748         (computeBidiTables): use temp var for row->par()
4749         (fill): move temp vars for row->par() and pit->layout() earlier in
4750         the function.
4751         (labelFill): use temp var for row->par()
4752         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4753         asc and desc, realize that pit never changes and that firstpit is
4754         just a duplicate and not needed. Exchange rit->par() with pit in a
4755         lot of places.
4756         (breakAgain): use a temp var for boost::next(rit)
4757         (breakAgainOneRow): ditto
4758         (breakParagraph): use a temp var for rows().begin()
4759         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4760         (cursorRightOneWord): use temp var for cursor.par() and
4761         cursor.pos(), remove usage of tmpcursor.
4762         (cursorLeftOneWord): use temp var for cursor.par() and
4763         cursor.pos() only set cur at end of function.
4764
4765 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4766
4767         * text.C, text2.C: exchange all usage of Paragraph::next with
4768         boost::next(ParagraphList::iterator)
4769
4770         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4771
4772         * text2.C (cursorTop): simplify implementation
4773         (cursorBottom): ditto
4774         (setParagraph): use ParagraphList::iterator
4775         (setCurrentFont): adjust
4776         (getColumnNearX): adjust
4777         (cursorRight): adjust
4778         (cursorLeft): remove usage of Paragraph::previous
4779         (cursorUpParagraph): ditto
4780         (deleteEmptyParagraphMechanism): slight cleanup
4781
4782         * text.C (isBoundary): take a Paragraph const & instead of a
4783         pointer as arg.
4784         (addressBreakPoint): ditto
4785         (leftMargin): remove usage of Paragraph::previous.
4786         (setHeightOfRow): ditto
4787         (cursorLeftOneWord): ditto
4788         (selectNextWordToSpellcheck): ditto
4789         (Delete): ditto
4790         (backspace): ditto
4791         (breakParagraph): remove one usage of Paragraph::next
4792         (redoParagraph): ditto
4793         (acceptChange): ditto
4794         (insertChar): adjust
4795         (rowBreakPoint): adjust
4796
4797         * bufferview_funcs.C (toggleAndShow): adjust
4798
4799 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4800
4801         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4802         methods to access it.
4803         * lyxtext.h:
4804         * text.C: Added updateRowPositions to compute all row positions.
4805         Make top_y and getRowNearY() to use the cached y position
4806
4807 2003-04-11  John Levon  <levon@movementarian.org>
4808
4809         * text.C (rowBreakPoint): reintroduce the labelEnd
4810         checks, code copied from the row fill stuff. Deep voodoo.
4811
4812         * text.C (fill): add a comment and debugging for the
4813         next poor soul.
4814
4815 2003-04-11  John Levon  <levon@movementarian.org>
4816
4817         * text.C: make sure fullrow insets get wrapped to the next line,
4818         even when they're in a manual label
4819
4820 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4821
4822         * text2.C (insertParagraph): make it take ParagraphList::iterator
4823         as arg.
4824         (setLayout): make it return ParagraphList::iterator
4825         (redoParagraphs): ditto
4826         (setCounter): ditto
4827         (checkParagraph): ditto
4828
4829         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4830
4831         * text2.C: adjust several funcs.
4832         (realizeFont): take a ParagraphList::iterator as arg.
4833         (getLayoutFont): ditto
4834         (getLabelFont): ditto
4835         (setCharFont): ditto
4836
4837         * text.C: adjust several funcs.
4838
4839 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4840
4841         * text.C (selectNextWordToSpellcheck): don't accidentally
4842         skip insets
4843
4844 2003-04-10  John Levon  <levon@movementarian.org>
4845
4846         * ToolbarBackend.C (getIcon): special handling for
4847         LFUN_MATH_DELIM
4848
4849 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4850
4851         * text2.C (cursorRight): a getChar assert fixed
4852
4853 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4854
4855         * text2.C (getFont): change to take a ParagraphList::iterator
4856         instead of Paragraph*
4857         Adjust several functions.
4858
4859         * text.C (transformChar): change to take a ParagraphList::iterator
4860         instead of Paragraph*
4861         (singleWidth): ditto
4862         Adjust several functions.
4863
4864         * rowpainter.C: adjust several functions
4865         * rowpainter.h:store a ParagraphList::iterator and not a
4866         Paragraph&.
4867
4868
4869 2003-04-09  John Levon  <levon@movementarian.org>
4870
4871         * lyxfunc.C:
4872         * lfuns.h:
4873         * LyXAction.h:
4874         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4875         and the "help" bits as well
4876
4877 2003-04-09  John Levon  <levon@movementarian.org>
4878
4879         * ToolbarBackend.h:
4880         * ToolbarBackend.C: allow multiple toolbars
4881
4882 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4883
4884         * undo_funcs.C (setCursorParUndo): adjust
4885
4886         * text_funcs.C (transposeChars): adjust
4887
4888         * text3.C (gotoNextInset): adjust
4889         (dispatch): adjust
4890
4891         * text2.C (setLayout): adjust
4892         (changeDepth): adjust
4893         (setFont): adjust
4894         (redoParagraphs): adjust
4895         (selectionAsString): adjust
4896         (setParagraph): adjust
4897         (insertInset): adjust
4898         (cutSelection): adjust
4899         (copySelection): adjust
4900         (pasteSelection): adjust
4901         (insertStringAsLines): adjust
4902         (updateInset): adjust
4903         (setCursor): change to take a ParagraphList::iterator parameter
4904         (setCursorIntern): change to take a ParagraphList::iterator parameter
4905         (setCurrentFont): adjust
4906         (cursorLeft): adjust
4907         (cursorRight): adjust
4908         (deleteEmptyParagraphMechanism): adjust
4909
4910         * text.C (breakParagraph): adjust
4911         (insertChar): adjust
4912         (acceptChange): adjust
4913         (rejectChange): adjust
4914         (selectNextWordToSpellcheck): adjust
4915         (changeCase): adjust
4916         (Delete): adjust
4917         (backspace): adjust
4918
4919         * lyxfind.C (SearchForward): adjust
4920         (SearchBackward): adjust
4921         (nextChange): adjust
4922
4923         * lyxcursor.C (par): adjust
4924
4925         * lyxcursor.h: store a ParagraphList::iterator instead of a
4926         Paragraph*
4927
4928         * lyx_cb.C (getPossibleLabel): adjust
4929
4930         * bufferview_funcs.C (toggleAndShow): adjust
4931
4932         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4933         (dispatch): adjust
4934
4935         * BufferView.C (removeAutoInsets): adjust
4936         (lockedInsetStoreUndo): adjust
4937
4938 2003-04-09  John Levon  <levon@movementarian.org>
4939
4940         * ToolbarBackend.C: try icon without argument
4941         if with argument fails
4942
4943 2003-04-08  John Levon  <levon@movementarian.org>
4944
4945         * ToolbarBackend.h:
4946         * ToolbarBackend.C: add getIcon(), handle tooltip,
4947         and change from "Icon" to "Item".
4948
4949 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4950
4951         * BufferView.C (lockInset): another bad getchar crunched
4952
4953 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4954
4955         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4956         again)
4957
4958 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4959
4960         * lyxfind.C (searchForward, searchBackwards): bug 782
4961
4962 2003-04-07  John Levon  <levon@movementarian.org>
4963
4964         * paragraph.C: remove dead comment
4965
4966         * text.C: remove troublesome depth-fiddling code
4967         in leftMargin() and rightMargin() (bug 1017)
4968
4969         * text.C: fix breaking of rows in nested lists
4970         (bug 1004)
4971
4972         * text2.C (updateCounters): fix up depth values
4973         (bug 1013)
4974
4975 2003-04-07  John Levon  <levon@movementarian.org>
4976
4977         * BufferView_pimpl.C: clear message when doc finishes resizing,
4978         and after a mouse event
4979
4980         * lyxfunc.C: clear message after exiting inset
4981
4982 2003-04-07  John Levon  <levon@movementarian.org>
4983
4984         * bufferview_funcs.C: show math status not outside
4985         status in the statusbar
4986
4987 2003-04-07  John Levon  <levon@movementarian.org>
4988
4989         * lyxfunc.C: note status changed after a depth change
4990
4991 2003-04-04  Angus Leeming  <leeming@lyx.org>
4992
4993         * LaTeX.h: move AuxInfo operator==, != out of line.
4994         Remove LaTeX virtual destructor; nothing derives from it.
4995         Move operator()() out of public area and rename it startscript().
4996         Change protected for private.
4997
4998 2003-04-04  Angus Leeming  <leeming@lyx.org>
4999
5000         * lyxfunc.C:
5001         * text2.C: remove unneeded #includes.
5002
5003 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5004
5005         * text2.C (dEPM): fix the heigth of the next row
5006
5007 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5008
5009         * text.C: squashed an invalid getChar requester + some ws changes
5010
5011 2003-04-03  John Levon  <levon@movementarian.org>
5012
5013         * bufferview_funcs.h:
5014         * bufferview_funcs.C:
5015         * lyxfunc.C:
5016         * lyxtext.h:
5017         * text2.C: make getStatus work for the env depth lfuns
5018
5019 2003-04-03  John Levon  <levon@movementarian.org>
5020
5021         * bufferview_funcs.h:
5022         * bufferview_funcs.C:
5023         * lyxfunc.C:
5024         * lyxtext.h:
5025         * text2.C: parlistize decDepth(), by merging it with incDepth()
5026
5027 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5028
5029         * lyxrow.h: store a ParagraphList::iterator instead of a
5030         Paragraph* and adjust other class functions to suit.
5031
5032         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5033         above.
5034
5035 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5036
5037         * text2.C (setCursor): do not anchor to cursor row for the time being
5038
5039 2003-04-02  John Levon  <levon@movementarian.org>
5040
5041         * LyXAction.C:
5042         * lfuns.h:
5043         * lyx_main.C:
5044         * lyxtext.h:
5045         * text.C:
5046         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5047
5048 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5049
5050         * paragraph.h: make ParagraphList and ParagraphList::iterator
5051         friends of Paragraph.
5052
5053         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5054
5055         * ParagraphList.C: Use the private next_ and previous_ from
5056         Paragraph.
5057
5058 2003-04-01  John Levon  <levon@movementarian.org>
5059
5060         * ToolbarBackend.h:
5061         * ToolbarBackend.C:
5062         * Makefile.am: rename, remove defaults gunk
5063
5064         * MenuBackend.h:
5065         * MenuBackend.C: remove defaults gunk
5066
5067         * Languages.h:
5068         * Languages.C: remove defaults gunk
5069
5070         * lyx_main.h:
5071         * lyx_main.C: error out if files couldn't be found.
5072
5073 2003-04-02  John Levon  <levon@movementarian.org>
5074
5075         * text2.C: make incDepth() use parlist
5076
5077 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5078
5079         * undo_funcs.C (firstUndoParagraph): adjust
5080
5081         * text3.C (gotoInset): adjust
5082         (dispatch): adjust, and rewrite loop.
5083
5084         * text2.C (init): adjust, and rewrite loop.
5085         (redoParagraphs): adjust
5086         (updateInset): adjust, and rewrite loop.
5087         (deleteEmptyParagraphMechanism): adjust
5088
5089         * tabular.C (LyXTabular): adjust
5090         (SetMultiColumn): adjust
5091         (TeXRow): adjust
5092
5093         * lyxtext.[Ch] (ownerParagraph): delete function
5094         (ownerParagraphs): new function returns a ParagraphList.
5095
5096         * BufferView.C (removeAutoInsets): adjust
5097         (insertErrors): adjust
5098         (setCursorFromRow): adjust
5099
5100 2003-04-01  Angus Leeming  <leeming@lyx.org>
5101
5102         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5103         in the frontends.
5104
5105 2003-04-02  John Levon  <levon@movementarian.org>
5106
5107         * lyxtext.h:
5108         * text.C:
5109         * Makefile.am:
5110         * text_funcs.h:
5111         * text_funcs.C: make transposeChars a free function
5112
5113         * lyxrow_funcs.C: remove wrong comment
5114
5115 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5116
5117         * lyxtext.h: adjust
5118         * rowpainter.C: adjust
5119         * text.C: adjust
5120         * text2.C: adjust
5121         * text3.C: adjust
5122
5123         * lyxrow_funcs. [Ch]: new files
5124
5125         * lyxrow.[Ch]: remove next and previous pointers
5126         (next,previous): remove accessor functions
5127         (isParEnd): move to lyxrow_funcs
5128         (lastPos): move to lyxrow_funcs
5129         (nextRowIsAllInset): move to lyxrow_funcs
5130         (lastPrintablePos): move to lyxrow_funcs
5131         (numberOfSeparators): move to lyxrow_funcs
5132         (numberOfHfills): move to lyxrow_funcs
5133         (numberOfLabelHfills): move to lyxrow_funcs
5134         (hfillExpansion): move to lyxrow_funcs
5135
5136         * lyxfunc.C: adjust
5137
5138         * bufferview_funcs.C (toggleAndShow): adjust
5139
5140         * RowList.h: Remove class RowList from file leave just a
5141         std::list<Row>.
5142
5143         * RowList.C: delete file
5144
5145         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5146         and lyxrow_funcs.h
5147
5148 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5149
5150         * text3.C (cursorPrevious): adjust
5151         (cursorNext): adjust
5152         (dispatch): adjust
5153
5154         * text2.C (redoHeightOfParagraph): adjust
5155         (redoDrawingOfParagraph): adjust
5156         (setCursor): adjust
5157
5158         * text.C (breakParagraph): adjust
5159         (insertChar): adjust
5160         (backspace): adjust
5161
5162         * rowpainter.C (RowPainter): adjust
5163         (leftMargin): simplify and adjust
5164         (most rowpainter functions): adjust.
5165
5166         * rowpainter.h: store the row as RowList::iterator not as Row*
5167
5168         * lyxcursor.C (row): taka RowList::iterator as arg
5169         (irow): ditto
5170
5171         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5172         of Row*.
5173
5174 2003-04-01  Angus Leeming  <leeming@lyx.org>
5175
5176         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5177         stuff like bool Bool.
5178
5179 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5180
5181         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5182         rewrite a loop
5183
5184 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5185
5186         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5187         RowList::iterator.
5188
5189         * lyxtext.h (rows): drop one version and leve a const variant that
5190         returns a RowList::iterator.
5191
5192 2003-03-31  Angus Leeming  <leeming@lyx.org>
5193
5194         * text.C (fill): ensure that the signature is the same as that in the
5195         header file.
5196
5197 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5198
5199         * text2.C (redoParagraphs): adjust
5200         (updateCounters): adjust
5201         (checkParagraph): adjust
5202         (getColumnNearX): adjust and reformat a bit.
5203
5204         * text.C (top_y): adjust
5205         (workWidth): adjust
5206         (leftMargin): adjust
5207         (prepareToPrint): adjust
5208         (getRow): adjust
5209         (getRowNearY): adjust
5210
5211         * lyxtext.h: make rowlist_ mutable.
5212
5213         * RowList.h: add const_iterator
5214         * RowList.C: adjust for RowList::const_iterator.
5215
5216         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5217         adjust.
5218
5219 2003-03-31  John Levon  <levon@movementarian.org>
5220
5221         * lyxrc.h:
5222         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5223
5224         * lyx_main.C: set default fonts from using lyx_gui funcs
5225
5226         * exporter.C: pdf_mode moved from lyxrc
5227
5228         * lyx_cb.C:
5229         * lyxfunc.C: changes from above
5230
5231 2003-03-31  John Levon  <levon@movementarian.org>
5232
5233         * lyx_main.C: fix to the last fix
5234
5235 2003-03-31  John Levon  <levon@movementarian.org>
5236
5237         * bufferlist.C: "Load original" -> "Load Original"
5238
5239         * converter.C:
5240         * exporter.C:
5241         * importer.C:
5242         * lyx_main.C:
5243         * format.C: more Alert cleanups
5244
5245 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5246
5247         * text2.C (removeParagraph): make it take a RowList::iterator as
5248         arg, adjust.
5249         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5250         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5251
5252         * text.C (anchor_row): make it take a RowList::iterator as arg,
5253         adjust.
5254         (computeBidiTables): make it take a const reference to Row instead
5255         of Row pointer, adjust.
5256         (leftMargin): make it take a RowList::iterator as arg, adjust.
5257         (rowBreakPoint): adjust
5258         (breakAgainOneRow): make it take a RowList::iterator as arg,
5259         adjust.
5260         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5261
5262         * bufferview_funcs.C (toggleAndShow): adjust
5263
5264 2003-03-30  John Levon  <levon@movementarian.org>
5265
5266         * Makefile.am:
5267         * BoostFormat.h:
5268         * boost-inst.C: moved to support
5269
5270         * several files: changes as a result
5271
5272 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5273
5274         * text2.C (LyXText): adjust.
5275         (init): adjust
5276         (removeRow): make it take a RowList::iterator as arg, adjust.
5277         (fullRebreak): adjust
5278         (deleteEmptyParagraphMechanism): adjust
5279         (clearPaint): adjust
5280         (postPaint): adjust
5281
5282         * text.C (top_y): adjust
5283         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5284         (breakAgain): make it take a RowList::iterator as arg, adjust.
5285         (breakParagraph): adjust
5286         (insertChar): adjust
5287         (backspace): adjust
5288
5289         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5290         need_break_row, and refresh_row.
5291
5292         * text3.C (dispatch): adjust
5293
5294         * text2.C (checkParagraph): adjust
5295         (setCursor): adjust
5296         (setCursorFromCoordinates): adjust
5297
5298         * text.C (top_y): adjust
5299         (workWidth): adjust
5300         (getRow): make it return a RowList::iterator, adjust
5301         (getRowNearY): make it return a RowList::iterator, adjust
5302
5303         * text2.C (init): adjust
5304         (insertRow): remove function
5305         (insertParagraph): adjust
5306         (redoParagraphs): adjust
5307         (fullRebreak): adjust
5308         (updateCounters): adjust
5309
5310         * text.C (top_y): rewrite to use RowList iterators.
5311         (top_y): adjust
5312         (setHeightOfRow): rewrite to sue RowList iterators.
5313         (appendParagraph): adjust
5314         (breakAgain): adjust
5315         (breakAgainOneRow): adjust
5316         (breakParagraph): adjust
5317         (getRow): adjust
5318         (getRowNearY): adjust, and remove commented code.
5319
5320         * lyxtext.h (firstRow): delete function
5321         (lastRow): delete function
5322         (rows): new function (const and non-const versions.)
5323         (insertRow): delete function
5324
5325         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5326
5327 2003-03-29  John Levon  <levon@movementarian.org>
5328
5329         * BufferView_pimpl.C: always update scrollbar top
5330         because pasting text when we're anchored could mean we
5331         miss an update altogether
5332
5333 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5334
5335         * text2.C (init): use rowlist_.end() and not 0.
5336         (insertRow): change to take a RowList::iterator as arg, adjust
5337         for this.
5338         (insertParagraph): change to take a RowList::iterator as arg,
5339         adjust for this.
5340         (redoParagraphs): remove some debug msgs.
5341
5342         * text.C (appendParagraph): change to take a RowList::iterator
5343         arg, adjust for this.
5344         (breakAgain): add an assert
5345         (breakAgainOneRow): ditto
5346
5347 2003-03-29  John Levon  <levon@movementarian.org>
5348
5349         * text2.C: do not clear selection after inc/decDepth
5350         (bug 550)
5351
5352 2003-03-29  John Levon  <levon@movementarian.org>
5353
5354         * BufferView.C:
5355         * buffer.C: fix broken strerrors according to Lars
5356
5357 2003-03-29  John Levon  <levon@movementarian.org>
5358
5359         * converters.C: more Alert cleanups
5360
5361 2003-03-29  John Levon  <levon@movementarian.org>
5362
5363         * bufferview_funcs.C: remove pointless Alert
5364
5365         * buffer.C: fix confusing error message when
5366         a template is chmoded 000
5367
5368 2003-03-29  John Levon  <levon@movementarian.org>
5369
5370         * BufferView.C:
5371         * BufferView.h:
5372         * BufferView_pimpl.C: Alert fixes
5373
5374         * Makefile.am:
5375         * tabular.C:
5376         * tabular-old.C: remove unused table compat reading
5377
5378 2003-03-29  John Levon  <levon@movementarian.org>
5379
5380         * BufferView.C:
5381         * buffer.C:
5382         * lyx_cb.h:
5383         * lyx_cb.C: more Alert cleanups
5384
5385         * lyxfunc.C: don't allow chktex if not latex document
5386
5387 2003-03-29  John Levon  <levon@movementarian.org>
5388
5389         * lyx_cb.C:
5390         * BufferView.C:
5391         * buffer.C: warnings pushed down from support/,
5392         kill err_alert
5393
5394 2003-03-29  John Levon  <levon@movementarian.org>
5395
5396         * lyxfunc.C: safety check for C-r (revert)
5397
5398 2003-03-29  John Levon  <levon@movementarian.org>
5399
5400         * bufferlist.h:
5401         * bufferlist.C: several UI fixes using Alert::prompt.
5402         Fix the pointless looping quit code. Fix stupid revert
5403         behaviour (bug 938)
5404
5405         * lyxvc.h:
5406         * lyxvc.C:
5407         * lyx_cb.C: use Alert::prompt
5408
5409         * lyx_main.C: remove a silly question
5410
5411         * lyxfunc.C: remove a couple of silly questions,
5412         use Alert::prompt
5413
5414 2003-03-28  John Levon  <levon@movementarian.org>
5415
5416         * text2.C: fix bug 974 (End on empty par)
5417
5418 2003-03-28  John Levon  <levon@movementarian.org>
5419
5420         * BufferView_pimpl.C:
5421         * LyXAction.C:
5422         * lfuns.h: remove do-nothing math greek lfuns
5423
5424 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5425
5426         * lyxgluelength.h (isValidGlueLength): add default arg on
5427         parameter 2. Remove default arg from friend in class.
5428
5429         * lyxlength.h (isValidLength): add default arg on parameter 2.
5430         Remove default arg from friend in class.
5431
5432         * text2.C (LyXText): adjust, initialize refresh_row.
5433         (init): adjust
5434         (removeRow): adjust
5435         (insertRow): adjust
5436         (insertParagraph): adjst
5437         (redoParagraphs): adjust
5438         (fullRebreak): adjust
5439         (updateCounters): adjust
5440         (deleteEmptyParagraphMechanism): first attempt at fixing a
5441         crashing bug.
5442
5443         * text.C (top_y): adjust
5444         (setHeightOfRow): adjust
5445         (getRow): adjust
5446         (getRowNearY): adjust
5447
5448         * lyxtext.h: include RowList.h
5449         (~LyXText): not needed anymore, deleted.
5450         (firstRow): modify for RowList
5451         (lastRow): new function
5452         Delete firstrow and lastrow class variables, add a Rowlist
5453         rowlist_ class variable.
5454
5455         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5456         paragraph is empty.
5457
5458         * RowList.C (insert): fix case where it == begin().
5459
5460 2003-03-26  Angus Leeming  <leeming@lyx.org>
5461
5462         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5463         the thesaurus dialog.
5464
5465 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5466
5467         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5468
5469         * RowList.[Ch]: new files
5470
5471         * ParagraphList.C (erase): handle the case where it == begin
5472         correctly.
5473
5474 2003-03-25  John Levon  <levon@movementarian.org>
5475
5476         * Makefile.am:
5477         * aspell_local.h:
5478         * aspell.C: add new aspell support
5479
5480         * lyxrc.h:
5481         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5482         have it accessible.
5483
5484 2003-03-25  Angus Leeming  <leeming@lyx.org>
5485
5486         * lfuns.h:
5487         * LyXAction.C (init): new LFUN_INSET_INSERT.
5488
5489         * BufferView_pimpl.C (dispatch): split out part of the
5490         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5491
5492         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5493         LFUN_INSET_APPLY.
5494
5495 2003-03-25  Angus Leeming  <leeming@lyx.org>
5496
5497         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5498
5499 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5500
5501         * text2.C:
5502         * text3.C: remove useless row->height(0)
5503
5504 2003-03-25  John Levon  <levon@movementarian.org>
5505
5506         * lyxtext.h:
5507         * text2.C:
5508         * text3.C: rename the refreshing stuff to better names
5509
5510 2003-03-24  John Levon  <levon@movementarian.org>
5511
5512         * BufferView_pimpl.h:
5513         * BufferView_pimpl.C: update layout choice on a mouse
5514         press/release
5515
5516 2003-03-23  John Levon  <levon@movementarian.org>
5517
5518         * Makefile.am: fix commandtags.h reference
5519
5520 2003-03-22  John Levon  <levon@movementarian.org>
5521
5522         * BufferView_pimpl.C:
5523         * lyxtext.h:
5524         * rowpainter.C:
5525         * rowpainter.h:
5526         * text.C:
5527         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5528
5529 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5530
5531         * lyxtext.h:
5532         * text.C: take the rtl methods out of line
5533
5534 2003-03-21 André Pönitz <poenitz@gmx.net>
5535
5536         * metricsinfo.[Ch]: new files containing structures to be passed around
5537         during the two-phase-drawing...
5538
5539 2003-03-21 André Pönitz <poenitz@gmx.net>
5540
5541         * lyxtextclass.C: read 'environment' tag.
5542
5543 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5544
5545         * text2.C (removeRow): fix bug 964
5546
5547 2003-03-20  John Levon  <levon@movementarian.org>
5548
5549         * rowpainter.C:
5550         * text.C:
5551         * text2.C: paint cleanups. Inset::update() dropped font
5552         parameter
5553
5554 2003-03-19  John Levon  <levon@movementarian.org>
5555
5556         * lyxfunc.C: only fitcursor/markDirty if available()
5557
5558 2003-03-19  John Levon  <levon@movementarian.org>
5559
5560         * commandtags.h: rename to ...
5561
5562         * lfuns.h: ... this, and renumber / cleanup
5563
5564 2003-03-19  John Levon  <levon@movementarian.org>
5565
5566         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5567         fit the cursor after an lfun
5568
5569         * BufferView.h:
5570         * BufferView.C:
5571         * BufferView_pimpl.h:
5572         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5573
5574         * LyXAction.C: layout-character should have ReadOnly
5575
5576         * ParagraphParameters.C:
5577         * buffer.C:
5578         * bufferview_funcs.C:
5579         * lyx_cb.C:
5580         * lyxfind.C:
5581         * lyxtext.h:
5582         * text.C:
5583         * text2.C:
5584         * text3.C:
5585         * undo_funcs.C: changes from above
5586
5587 2003-03-18  John Levon  <levon@movementarian.org>
5588
5589         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5590         remove it from update()
5591
5592         * lyxfunc.C: update layout choice after an lfun
5593
5594         * text3.C: remove extra updateLayoutChoice()s
5595
5596 2003-03-18  John Levon  <levon@movementarian.org>
5597
5598         * text.C: top_y change means full repaint, fix
5599         a drawing bug with cursor movement
5600
5601 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5602
5603         * lyxtext.h:
5604         * text.C:
5605         * text2.C: anchor row on setCursor
5606
5607 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5608
5609         * lyxtext.h: remove almost all mutable keywords
5610         * text.C:
5611         * text2.C:
5612         * text3.C: remove const keywords accordingly
5613
5614 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5615
5616         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5617         anon namespace
5618         (TeXEnvironment): ditto
5619         (TeXOnePar): ditto
5620
5621 2003-03-17  John Levon  <levon@movementarian.org>
5622
5623         * text.C (rowBreakPoint): remove attempt to fix displayed
5624         math insets inside a manual label
5625
5626 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5627
5628         * lyxtext.h: remove BufferView* as first arg from almost all class
5629         functions.
5630         * other files: adjust.
5631
5632 2003-03-17  John Levon  <levon@movementarian.org>
5633
5634         * lyxtext.h:
5635         * undo_funcs.C:
5636         * text2.C: more paint cleanups
5637
5638         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5639
5640         * rowpainter.h:
5641         * rowpainter.C: remove "smart" background painting code
5642
5643 2003-03-16  John Levon  <levon@movementarian.org>
5644
5645         * lyxtext.h:
5646         * text.C:
5647         * text2.C:
5648         * text3.C: add helper functions for setting refresh_row/y
5649
5650 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5651
5652         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5653         newline inset which *can* get inserted in the pass_thru layouts.
5654         This is primarily for literate documents.
5655
5656 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5657
5658         * buffer.C: increment LYX_FORMAT to 223
5659
5660 2003-03-14 André Pönitz <poenitz@gmx.net>
5661
5662         * textclass.h: prepare for environment handling, ws changes
5663         * lyxlayout.C: read latexheader and latexfooter tags
5664
5665 2003-03-14  John Levon  <levon@movementarian.org>
5666
5667         * text2.C: rewrite ::status() a bit
5668
5669 2003-03-13  John Levon  <levon@movementarian.org>
5670
5671         * lyxtext.h: add some docs
5672
5673 2003-03-13  John Levon  <levon@movementarian.org>
5674
5675         * lyxtext.h:
5676         * text.C:
5677         * text2.C:
5678         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5679
5680 2003-03-13  John Levon  <levon@movementarian.org>
5681
5682         * text3.C: fix appendix redrawing
5683
5684 2003-03-13  John Levon  <levon@movementarian.org>
5685
5686         * text.C (setHeightOfRow):
5687         * rowpainter.h:
5688         * rowpainter.C: make appendix mark have the text
5689           "Appendix" so the user knows what it is
5690
5691         * LColor.h:
5692         * LColor.C: s/appendixline/appendix/ from above
5693
5694 2003-03-13  John Levon  <levon@movementarian.org>
5695
5696         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5697
5698         * text.C: fix a getChar(pos) bug properly
5699
5700 2003-03-13  Angus Leeming  <leeming@lyx.org>
5701
5702         * commandtags.h:
5703         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5704         Probably only temporary. Let's see how things pan out.
5705
5706         * BufferView.C (unlockInset):
5707         * BufferView_pimpl.C (fitCursor):
5708         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5709
5710         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5711         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5712
5713         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5714         new functions that convert ParagraphParameters to and from a string.
5715
5716         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5717         BufferView::Pimpl's dispatch.
5718         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5719
5720 2003-03-13 André Pönitz <poenitz@gmx.net>
5721
5722         * lyxfunc.C:
5723         * text3.C:
5724         * factory.C: make it aware of InsetEnv
5725
5726 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5727
5728         * text2.C (setCursor): never ask for one past last
5729         (setCursor): add some debugging messages.
5730
5731         * text.C (singleWidth): never ask for one past last
5732         (singleWidth): ditto
5733         (leftMargin): ditto
5734         (rightMargin): ditto
5735         (rowBreakPoint): ditto
5736         (setHeightOfRow): ditto
5737         (prepareToPrint): ditto
5738
5739         * rowpainter.C (paintBackground): never ask for one past last
5740         (paintText): never ask for one past last
5741
5742         * paragraph_pimpl.C (getChar): make the assert stricter, never
5743         allow the one past last pos to be taken
5744
5745         * paragraph.C (getChar): ws changes only
5746
5747         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5748         (numberOfSeparators): ditto
5749         (numberOfHfills): ditto
5750
5751 2003-03-12  John Levon  <levon@movementarian.org>
5752
5753         * author.h:
5754         * author.C:
5755         * bufferparams.h:
5756         * bufferparams.C:
5757         * paragraph_funcs.C: fix per-buffer authorlists
5758
5759 2003-03-12  John Levon  <levon@movementarian.org>
5760
5761         * text.C: fix newline in right address
5762
5763 2003-03-12  Angus Leeming  <leeming@lyx.org>
5764
5765         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5766         duplicate those in LyXFunc::dispatch.
5767
5768         * commandtags.h:
5769         * LyXAction.C:
5770         * ToolbarDefaults.C:
5771         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5772         Add LFUN_FONTFREE_UPDATE.
5773
5774         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5775         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5776
5777         * bufferview_func.[Ch]: several new functions to facilliate
5778         transfer of data to and from the character dialog.
5779
5780 2003-03-12  John Levon  <levon@movementarian.org>
5781
5782         * buffer.C:
5783         * paragraph.h:
5784         * paragraph.C:
5785         * paragraph_funcs.C:
5786         * paragraph_pimpl.C:
5787         * sgml.C:
5788         * tabular.C:
5789         * text.C:
5790         * text3.C: remove META_NEWLINE in favour of an inset
5791
5792         * rowpainter.h:
5793         * rowpainter.C: remove paintNewline (done by inset)
5794
5795 2003-03-12  John Levon  <levon@movementarian.org>
5796
5797         * paragraph_pimpl.C: complain about bad getChar()s
5798         for a while at least
5799
5800 2003-03-12  John Levon  <levon@movementarian.org>
5801
5802         * buffer.h:
5803         * buffer.C: move paragraph read into a separate function,
5804         a little renaming to reflect that.
5805
5806         * bufferparams.h:
5807         * bufferparams.C: remove the author_ids map, not necessary now
5808
5809         * factory.h:
5810         * factory.C: moved Buffer::readInset to here
5811
5812         * paragraph_funcs.h:
5813         * paragraph_funcs.C: readParagraph free function moved from
5814         buffer.C
5815
5816         * tabular.C: name change
5817
5818 2003-03-12  John Levon  <levon@movementarian.org>
5819
5820         * buffer.C:
5821         * ParagraphParameters.C: move par params input to
5822         a read() method
5823
5824         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5825         behave like a normal read from the stream wrt reading
5826         a line vs. a \\token
5827
5828 2003-03-12  John Levon  <levon@movementarian.org>
5829
5830         * paragraph.C:
5831         * ParagraphParameters.h:
5832         * ParagraphParameters.C: move output code to a
5833         ::write() method
5834
5835 2003-03-12  John Levon  <levon@movementarian.org>
5836
5837         * BufferView.C (insertLyXFile):
5838         * buffer.h:
5839         * buffer.C:
5840         * tabular.C: use a parlist iterator for creating the
5841           document.
5842
5843 2003-03-12  John Levon  <levon@movementarian.org>
5844
5845         * buffer.C: make current_change static local not
5846           static file-scope
5847
5848 2003-03-12  John Levon  <levon@movementarian.org>
5849
5850         * buffer.C: fix insertStringAsLines for change tracking
5851
5852 2003-03-12  John Levon  <levon@movementarian.org>
5853
5854         * BufferView.C:
5855         * tabular.C:
5856         * buffer.h:
5857         * buffer.C:
5858         * bufferparams.h:
5859         * bufferparams.C: move author list into params. Rename some
5860           functions. Move the header reading into a separate token
5861           loop. Move the header token reading into BufferParams.
5862
5863 2003-03-12  John Levon  <levon@movementarian.org>
5864
5865         * changes.C: put debug inside lyxerr.debugging() checks
5866
5867 2003-03-11 André Pönitz <poenitz@gmx.net>
5868
5869         * factory.C: make it aware of InsetHFill
5870
5871 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5872
5873         * buffer.C (latexParagraphs): move function from here...
5874         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5875         args.
5876
5877 2003-03-10  Angus Leeming  <leeming@lyx.org>
5878
5879         * LyXAction.C (init): fix bug in poplating array with multiple entries
5880         with the same LFUN (spotted by JMarc).
5881
5882 2003-03-10  John Levon  <levon@movementarian.org>
5883
5884         * text.C:
5885         * text2.C: move getColumnNearX() near its
5886         only call site
5887
5888 2003-03-10  John Levon  <levon@movementarian.org>
5889
5890         * text.C: fix break before a minipage
5891
5892 2003-03-10  John Levon  <levon@movementarian.org>
5893
5894         * text.C: fix the last commit
5895
5896 2003-03-09  John Levon  <levon@movementarian.org>
5897
5898         * lyxtext.h:
5899         * text.C:
5900         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5901         bug 365 (don't break before insets unless needed). Don't
5902         return a value > last under any circumstances.
5903
5904 2003-03-09  Angus Leeming  <leeming@lyx.org>
5905
5906         * BufferView_pimpl.C (trackChanges, dispatch): call
5907         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5908
5909 2003-03-09  Angus Leeming  <leeming@lyx.org>
5910
5911         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5912         than Dialogs::showAboutlyx().
5913
5914 2003-03-09  Angus Leeming  <leeming@lyx.org>
5915
5916         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5917         than Dialogs::showTabularCreate().
5918
5919 2003-03-09  John Levon  <levon@movementarian.org>
5920
5921         * lyxtext.h:
5922         * text.C:
5923         * text2.C: 3rd arg to nextBreakPoint was always the same.
5924           Use references.
5925
5926 2003-03-08  John Levon  <levon@movementarian.org>
5927
5928         * lyxrow.C:
5929         * paragraph.C:
5930         * paragraph.h:
5931         * rowpainter.C:
5932         * text.C:
5933         * text2.C: Remove the "main" bit from the "main body"
5934           notion.
5935
5936 2003-03-08  John Levon  <levon@movementarian.org>
5937
5938         * text.C (leftMargin): The left margin of an empty
5939         manual label paragraph should not include the label width
5940         string length.
5941
5942         * text.C (prepareToPrint): don't attempt to measure hfills
5943         for empty manual label paragraphs - the answer should be 0
5944
5945 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5946
5947         * CutAndPaste.C: remove commented code and reindent.
5948
5949 2003-03-08  John Levon  <levon@movementarian.org>
5950
5951         * lyxfunc.h:
5952         * lyxfunc.C: move reloadBuffer()
5953
5954         * BufferView.h:
5955         * BufferView.C: to here
5956
5957         * lyxvc.C: add comment
5958
5959         * vc-backend.h:
5960         * vc-backend.C: call bv->reload() to avoid
5961           getStatus() check on MENURELOAD
5962
5963 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5964
5965         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5966         to an old format .dep file.
5967
5968 2003-03-07  Angus Leeming  <leeming@lyx.org>
5969
5970         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5971         when the LFUN_MOUSE_RELEASE should have been handled by
5972         inset->localDispatch.
5973
5974 2003-03-07  Angus Leeming  <leeming@lyx.org>
5975
5976         * BufferView_pimpl.C (dispatch):
5977         * LyXAction.C (init):
5978         * ToolbarDefaults.C (init):
5979         * commandtags.h:
5980         * lyxfunc.C (getStatus):
5981         remove LFUN_INSET_GRAPHICS.
5982
5983         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5984
5985 2003-03-07  Angus Leeming  <leeming@lyx.org>
5986
5987         * commandtags.h:
5988         * LyXAction.C (init):
5989         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5990
5991         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5992
5993         * commandtags.h:
5994         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5995
5996         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5997         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5998
5999 2003-03-07  Angus Leeming  <leeming@lyx.org>
6000
6001         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6002         remove "ert".
6003
6004 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6005
6006         * ParagraphList.C (front): new function
6007         (back): implement
6008
6009 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6010
6011         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6012         and top_row_offset_. removed var first_y.
6013         * text.C (top_y):
6014         * text2.C (LyXText, removeRow):
6015         * text3.C:
6016         * BufferView_pimpl.C:
6017         use these methods instead of using first_y
6018
6019 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6020
6021         * text2.C (pasteSelection): adjust for checkPastePossible
6022
6023         * CutAndPaste.C: remove Paragraph * buf and replace with
6024         ParagraphList paragraphs.
6025         (DeleteBuffer): delete
6026         (cutSelection): change the tc type to textclass_type
6027         (copySelection): change the tc type to textclass_type
6028         (copySelection): adjust for ParagraphList
6029         (pasteSelection): change the tc type to textclass_type
6030         (pasteSelection): adjust for Paragraphlist
6031         (nrOfParagraphs): simplify for ParagraphList
6032         (checkPastePossible): simplify for ParagraphList
6033         (checkPastePossible): remove unused arg
6034
6035         * ParagraphList.C (insert): handle the case where there are no
6036         paragraphs yet.
6037
6038         * CutAndPaste.h: make CutAndPaste a namespace.
6039
6040         * text3.C (dispatch): adjust
6041
6042         * text.C (breakParagraph): add a ParagraphList as arg
6043
6044         * paragraph_funcs.C (breakParagraph): change to take a
6045         BufferParams and a ParagraphList as args.
6046         (breakParagraphConservative): ditto
6047         (mergeParagraph): ditto
6048         (TeXDeeper): add a ParagraphList arg
6049         (TeXEnvironment): ditto
6050         (TeXOnePar): ditto
6051
6052         * buffer.C (readLyXformat2): adjust
6053         (insertStringAsLines): adjust
6054         (latexParagraphs): adjust
6055
6056         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6057         (cutSelection): adjust
6058         (pasteSelection): adjust
6059
6060         * BufferView_pimpl.C (insertInset): adjust
6061
6062 2003-03-05  Angus Leeming  <leeming@lyx.org>
6063
6064         * commandtags.h:
6065         * LyXAction.C (init):
6066         * BufferView_pimpl.C (dispatch):
6067         * lyxfunc.C (getStatus):
6068         remove LFUN_CHILD_INSERT.
6069
6070         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6071
6072 2003-03-05  Angus Leeming  <leeming@lyx.org>
6073
6074         * commandtags.h:
6075         * LyXAction.C (init):
6076         * src/factory.C (createInset):
6077         * lyxfunc.C (getStatus):
6078         * text3.C (dispatch):
6079         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6080
6081         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6082
6083 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6084
6085         * ParagraphList.C (insert): handle insert right before end()
6086         (erase): fix cases where it can be first or last paragraph.
6087
6088 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6089
6090         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6091         Paragraph::next and Paragraph::previous
6092         (TeXOnePar): ditto
6093
6094         * text.C (breakParagraph): adjust
6095
6096         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6097         BufferParams& as arg.
6098         (breakParagraph): use ParagraphList::insert
6099         (breakParagraphConservative): take a Buffer* instead of a
6100         BufferParams& as arg.
6101         (breakParagraphConservative): use ParagraphList::insert.
6102
6103         * buffer.C (insertStringAsLines): un-const it
6104         (insertStringAsLines): adjust
6105
6106         * ParagraphList.C (insert): new function
6107
6108         * CutAndPaste.C (pasteSelection): adjust
6109
6110         * text.C (backspace): adjust
6111
6112         * tabular.C (SetMultiColumn): adjust
6113
6114         * CutAndPaste.C (cutSelection): adjust
6115         (pasteSelection): adjust
6116
6117         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6118         Buffer const * as arg
6119
6120         * ParagraphList.C (erase): new function
6121         * paragraph_funcs.C (mergeParagraph): use it
6122         (mergeParagraph): make it take a Buffer* instead of a
6123         BufferParams* as arg
6124
6125         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6126         as arg
6127         (breakParagraphConservative): ditto
6128
6129         * paragraph.h: remove the breakParagraph friend
6130
6131         * paragraph.C (eraseIntern): new function
6132         (setChange): new function
6133
6134         * paragraph_funcs.C (mergeParagraph): make it take a
6135         ParagraphList::iterator instead of a Paragraph *, adjust
6136         accordingly.
6137
6138         * paragraph.h: move an #endif so that the change tracking stuff
6139         also works in the NO_NEXT case.
6140
6141 2003-03-04  Angus Leeming  <leeming@lyx.org>
6142
6143         * commandtags.h:
6144         * LyXAction.C: new LFUN_INSET_MODIFY.
6145
6146         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6147         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6148
6149 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6150
6151         * several files: ws changes only
6152
6153         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6154         (TeXEnvironment): ditto
6155         (TeXDeeper): ditto
6156
6157         * buffer.C (makeLaTeXFile): adjust
6158         (latexParagraphs): make it take ParagraphList::iterator as args
6159
6160 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6161
6162         * buffer.C (latexParagraphs): adjust
6163
6164         * paragraph.C (TeXOnePar): move function...
6165         (optArgInset): move function...
6166         (TeXEnvironment): move function...
6167         * paragraph_pimpl.C (TeXDeeper): move function...
6168         * paragraph_funcs.C: ...here
6169
6170         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6171
6172 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6173
6174         * buffer.C (readInset): remove compability code for old Figure and
6175         InsetInfo insets
6176
6177 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6178
6179         * buffer.C: ws changes
6180         (readInset):
6181
6182         * BufferView_pimpl.C: ditto
6183         * author.C: ditto
6184         * buffer.h: ditto
6185         * bufferlist.h: ditto
6186         * changes.h: ditto
6187         * lyxfunc.C: ditto
6188
6189 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6190
6191         * converter.[Ch]: split into itself +
6192         * graph.[Ch]
6193         * format.[Ch]
6194         * Makefile.am: += graph.[Ch] + format.[Ch]
6195         * MenuBackend.C
6196         * buffer.C
6197         * exporter.C
6198         * importer.C
6199         * lyx_main.C
6200         * lyxfunc.C
6201         * lyxrc.C: added #include "format.h"
6202
6203 2003-02-27  Angus Leeming  <leeming@lyx.org>
6204
6205         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6206           a label.
6207
6208         * factory.C (createInset): add "label" to the factory.
6209
6210         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6211           string and do no more.
6212
6213 2003-02-27  Angus Leeming  <leeming@lyx.org>
6214
6215         * commandtags.h:
6216         * LyXAction.C (init):
6217         * factory.C (createInset):
6218         * BufferView_pimpl.C (dispatch):
6219           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6220
6221         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6222
6223         * lyxfunc.C (dispatch):
6224         * text3.C (dispatch): pass name to params2string.
6225
6226 2003-02-26  Angus Leeming  <leeming@lyx.org>
6227
6228         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6229           blocks together.
6230           Rearrange the ~includes. Strip out the unnecessary ones.
6231
6232         * factory.C (createInset): reformat.
6233           create new insets for the various LFUN_XYZ_APPLY lfuns.
6234
6235 2003-02-26  John Levon  <levon@movementarian.org>
6236
6237         * lyxrow.h:
6238         * lyxrow.C: add isParStart,isParEnd helpers
6239
6240         * paragraph.h: make isInserted/DeletedText take refs
6241
6242         * paragraph_funcs.h:
6243         * paragraph_funcs.C: remove #if 0'd code
6244
6245         * lyxtext.h:
6246         * text3.C:
6247         * text2.C:
6248         * text.C: use lyxrow helpers above.
6249           Move draw and paint routines to RowPainter.
6250           Make several methods use refs not pointers.
6251           Make backgroundColor() const.
6252           Add markChangeInDraw(), isInInset().
6253           Merge changeRegionCase into changeCase.
6254           Make workWidth() shouldn't-happen code into an Assert.
6255
6256         * rowpainter.h:
6257         * rowpainter.C: new class for painting a row.
6258
6259         * vspace.h:
6260         * vspace.C: make inPixels take a ref
6261
6262 2003-02-26  Angus Leeming  <leeming@lyx.org>
6263
6264         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6265         LFUN_REF_APPLY.
6266
6267 2003-02-25  John Levon  <levon@movementarian.org>
6268
6269         * ispell.C: give the forked command a more accurate name
6270
6271 2003-02-22  John Levon  <levon@movementarian.org>
6272
6273         * toc.h:
6274         * toc.C: make TocItem store an id not a Paragraph *
6275           (bug #913)
6276
6277 2003-02-21  Angus Leeming  <leeming@lyx.org>
6278
6279         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6280           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6281           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6282           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6283           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6284           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6285
6286         * BufferView_pimpl.C (dispatch):
6287         * LyXAction.C (init):
6288         * factory.C (createInset):
6289         * lyxfunc.C (getStatus, dispatch):
6290         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6291
6292 2003-02-21  Angus Leeming  <leeming@lyx.org>
6293
6294         * BufferView_pimpl.C (MenuInsertLyXFile):
6295         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6296         * lyxfunc.C (menuNew, open, doImport):
6297           no longer pass a LyXView & to fileDlg.
6298
6299 2003-02-21  Angus Leeming  <leeming@lyx.org>
6300
6301         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6302         * LyXAction.C: change, BIBKEY to BIBITEM.
6303         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6304         Change InsetBibKey to InsetBibitem.
6305         Change BIBKEY_CODE to BIBITEM_CODE.
6306         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6307         * factory.C: replace insetbib.h with insetbibitem.h.
6308         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6309         * paragraph.C: replace insetbib.h with insetbibitem.h.
6310         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6311         Change bibkey() to bibitem().
6312         * text.C: remove insetbib.h.
6313         * text2.C: replace insetbib.h with insetbibitem.h.
6314         change bibkey() to bibitem().
6315         * text3.C: remove insetbib.h.
6316         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6317
6318 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6319
6320         * lyxrc.C (output): enclose user email in quotes (in case there are
6321         several words)
6322
6323 2003-02-18  John Levon  <levon@movementarian.org>
6324
6325         * buffer.h: add std::
6326
6327 2003-02-17  John Levon  <levon@movementarian.org>
6328
6329         * SpellBase.h:
6330         * ispell.h:
6331         * ispell.C:
6332         * pspell.h:
6333         * pspell.C: reworking. Especially in ispell, a large
6334           number of clean ups and bug fixes.
6335
6336         * lyxfunc.C: fix revert to behave sensibly
6337
6338 2003-02-17 André Pönitz <poenitz@gmx.net>
6339
6340         * LyXAction.C:
6341         * commandtags.h: new LFUN_INSERT_BIBKEY
6342
6343         * layout.h:
6344         * lyxlayout.C:
6345         * buffer.C:
6346         * factory.C:
6347         * text.C:
6348         * text2.C:
6349         * text3.C:
6350         * paragraph.[Ch]:
6351         * paragraph_func.C: remove special bibkey handling
6352
6353 2003-02-17  John Levon  <levon@movementarian.org>
6354
6355         * text.C (Delete): fix case where delete at the end of
6356           the very first paragraph would not merge the pars
6357
6358 2003-02-17  John Levon  <levon@movementarian.org>
6359
6360         * lyxrow.C: fix lastPrintablePos()
6361
6362 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6363
6364         * bufferparams.C (writeLaTeX): add a std:here
6365
6366         * buffer.C: and remove a using directive there
6367
6368 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6369
6370         * buffer.C (makeLaTeXFile): move the code that generates the
6371           preamble...
6372
6373         * bufferparams.C (writeLaTeX): ... in this new method
6374
6375         * LaTeXFeatures.C (getEncodingSet): make const
6376           (getLanguages): make const
6377
6378         * MenuBackend.C (binding): returns the binding associated to this
6379           action
6380           (add): sets the status of each item by calling getStatus. Adds
6381           some intelligence.
6382           (read): add support for OptSubMenu
6383           (expand): remove extra separator at the end of expanded menu
6384
6385 2003-02-15  John Levon  <levon@movementarian.org>
6386
6387         * BufferView.C:
6388         * BufferView_pimpl.C:
6389         * bufferlist.h:
6390         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6391           inset code that had no actual effect. Remove unneeded status
6392           code.
6393
6394 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6395
6396         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6397           in preamble
6398
6399 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6400
6401         * text.C (drawLengthMarker): also draw an arrow marker for
6402           symbolic lengths (medskip...)
6403
6404 2003-02-14  John Levon  <levon@movementarian.org>
6405
6406         * tabular.h:
6407         * tabular.C: better method names
6408
6409 2003-02-14  John Levon  <levon@movementarian.org>
6410
6411         * BufferView_pimpl.C:
6412         * bufferlist.C:
6413         * buffer.C:
6414         * converter.C:
6415         * lyx_cb.C:
6416         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6417           it's a more accurate name. Remove some pointless uses.
6418
6419 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6420
6421         * text2.C (LyXText): change order of initilizers to shut off
6422           warnings
6423
6424 2003-02-14  John Levon  <levon@movementarian.org>
6425
6426         * buffer.C: use ParIterator for getParFromID()
6427
6428         * paragraph.h:
6429         * paragraph.C:
6430         * paragraph_pimpl.h:
6431         * paragraph_pimpl.C: remove unused getParFromID()
6432
6433 2003-02-14  John Levon  <levon@movementarian.org>
6434
6435         * buffer.C: remove some very old #if 0'd parse code
6436
6437 2003-02-13  John Levon  <levon@movementarian.org>
6438
6439         * text.h:
6440         * text.C:
6441         * text2.C: move hfillExpansion(), numberOfSeparators(),
6442           rowLast(), rowLastPrintable(), numberofHfills(),
6443           numberOfLabelHfills() ...
6444
6445         * lyxrow.h:
6446         * lyxrow.C: ... to member functions here.
6447
6448         * paragraph.h:
6449         * paragraph.C:
6450         * lyxtext.h:
6451         * text.C: remove LyXText::beginningOfMainBody(), and call
6452           p->beginningOfMainBody() directly. Move the check for
6453           LABEL_MANUAL into the latter.
6454
6455         * text.h:
6456         * text.C:
6457         * text2.C:
6458         * vspace.C:
6459         * BufferView.h:
6460         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6461
6462         * text.h:
6463         * text.C:
6464         * text2.C:
6465         * text3.C:
6466         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6467           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6468
6469 2003-02-13  John Levon  <levon@movementarian.org>
6470
6471         * CutAndPaste.C: remove debug
6472
6473 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6474
6475         * paragraph.C (asString): remove two unused variables
6476
6477         * lyxtextclass.C (readTitleType):
6478           (Read):
6479           (LyXTextClass): handle new members titletype_ and titlename_
6480
6481         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6482
6483 2003-02-09  John Levon  <levon@movementarian.org>
6484
6485         * buffer.h:
6486         * buffer.C: replace hand-coded list with a map for the dep clean
6487
6488 2003-02-08  John Levon  <levon@movementarian.org>
6489
6490         * LaTeX.C: consolidate code into showRunMessage() helper
6491
6492 2003-02-08  John Levon  <levon@movementarian.org>
6493
6494         * lyxfind.C:
6495         * lyxtext.h:
6496         * text2.C:
6497         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6498           and pass the size in explicitly
6499
6500         * BufferView_pimpl.h:
6501         * BufferView_pimpl.C:
6502         * BufferView.h:
6503         * BufferView.C: add getCurrentChange()
6504
6505         * BufferView_pimpl.h:
6506         * BufferView_pimpl.C: handle change lfuns
6507
6508         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6509           for changes. Mark pasted paragraphs as new.
6510
6511         * support/lyxtime.h:
6512         * support/lyxtime.C:
6513         * DepTable.C: abstract time_t as lyx::time_type
6514
6515         * LColor.h:
6516         * LColor.C: add colours for new text, deleted text, changebars
6517
6518         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6519           package use "usenames" option.
6520
6521         * commandtags.h:
6522         * lyxfunc.C:
6523         * LyXAction.C: add change lfuns
6524
6525         * Makefile.am:
6526         * author.h:
6527         * author.C: author handling
6528
6529         * buffer.h:
6530         * buffer.C: add a per-buffer author list, with first entry as
6531           current author. Handle new .lyx tokens for change tracking. Output
6532           author list to .lyx file. Output dvipost stuff to .tex preamble.
6533           Bump lyx format to 222.
6534
6535         * bufferlist.h:
6536         * bufferlist.C: add setCurrentAuthor() to reset current author details
6537           in all buffers.
6538
6539         * bufferparams.h:
6540         * bufferparams.C: add param for tracking
6541
6542         * bufferview_funcs.C: output change info in minibuffer
6543
6544         * Makefile.am:
6545         * changes.h:
6546         * changes.C: add change-tracking structure
6547
6548         * debug.h:
6549         * debug.C: add CHANGES debug flag
6550
6551         * lyxfind.h:
6552         * lyxfind.C: add code for finding the next change piece
6553
6554         * lyxrc.h:
6555         * lyxrc.C: add user_name and user_email
6556
6557         * lyxrow.h:
6558         * lyxrow.C: add a metric for the top of the text line
6559
6560         * lyxtext.h:
6561         * text.C: implement accept/rejectChange()
6562
6563         * lyxtext.h:
6564         * text.C: paint changebars. Paint new/deleted text in the chosen
6565         colours. Strike through deleted text.
6566
6567         * paragraph.h:
6568         * paragraph.C:
6569         * paragraph_pimpl.h:
6570         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6571           in the current change to the insert functions. Rework erase to
6572           mark text as deleted, adding an eraseIntern() and a range-based
6573           erase(). Implement per-paragraph change lookup and
6574           accept/reject.
6575
6576         * paragraph_funcs.C: Fixup paste for change tracking.
6577
6578         * tabular.C: mark added row/columns as new.
6579
6580         * text.C: fix rowLast() to never return -1. Don't allow
6581           spellchecking of deleted text. Track transpose changes. Don't
6582           allow paragraph break or merge where appropriate.
6583
6584         * text2.C: leave cursor at end of selection after a cut.
6585
6586 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6587
6588         * text.C (getLengthMarkerHeight):
6589         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6590         visible on screen too.
6591
6592 2003-02-07  John Levon  <levon@movementarian.org>
6593
6594         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6595
6596 2003-02-05  Angus Leeming  <leeming@lyx.org>
6597
6598         * lyxserver.C (read_ready): revert my patch of 11 September last year
6599         as it sends PC cpu through the roof. Presumably this means that
6600         the lyxserver will no longer run on an Alpha...
6601
6602 2003-01-30  Angus Leeming  <leeming@lyx.org>
6603
6604         * factory.C (createInset): create an InsetCommandParam of type "index"
6605         and use it to 'do the right thing'.
6606
6607         * text2.C (getStringToIndex): ensure that cursor position is always
6608         reset to the reset_cursor position.
6609
6610 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6611
6612         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6613         disabled.
6614
6615 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6616
6617         * bufferview.C:
6618         * lyxcb.C:
6619         * lyxfunc.C: Output messages with identical spelling, punctuation,
6620         and spaces
6621
6622 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6623
6624         * MenuBackend.C (expandFormats): List only viewable export formats
6625         in "View" menu
6626
6627         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6628         message
6629
6630         * lyxfunc.C (getStatus): Make sure that formats other than
6631         "fax" can also be disabled
6632
6633 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6634
6635         * text3.C (dispatch): put the lfuns that insert insets in 3
6636         groups, and call doInsertInset with appropriate arguments.
6637         (doInsertInset): new function, that creates an inset and inserts
6638         it according to some boolean parameters.
6639
6640 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6641
6642         * buffer.C (readFile): remember to pass on 'par' when calling
6643         readFile recursively.
6644
6645 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6646
6647         * MenuBackend.C (expandFormats): add "..." to import formats.
6648
6649 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6650
6651         * paragraph.C (asString): Remove XForms RTL hacks.
6652
6653 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6654         * buffer.C: fix typo
6655
6656 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6657
6658         * Makefile.am (LIBS): delete var
6659         (lyx_LDADD): add @LIBS@ here instead.
6660
6661 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6662
6663         * Clarify the meaning of "wheel mouse jump"
6664
6665 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6666
6667         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6668         tabular in a float
6669
6670 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6671
6672         * importer.C (Loaders): do not preallocate 3 elements in the
6673         vector, since one ends up with 6 elements otherwise
6674
6675 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6676
6677         * DepTable.C (write): write the file name as last element of the
6678         .dep file (because it may contain spaces)
6679         (read): read info in the right order
6680
6681 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6682
6683         * paragraph_pimpl.C (simpleTeXBlanks):
6684         (simpleTeXSpecialChars):
6685         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6686
6687         * tabular.C (latex): add some missing case statements. Reindent.
6688
6689         * MenuBackend.C (expandToc): remove unused variable.
6690
6691 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6692
6693         * LColor.C:
6694         * LaTeX.C:
6695         * LyXAction.C:
6696         * MenuBackend.C:
6697         * buffer.C:
6698         * exporter.C:
6699         * lyxfunc.C:
6700         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6701         and the like.
6702
6703 2003-01-05  John Levon  <levon@movementarian.org>
6704
6705         * BufferView.h:
6706         * BufferView.C: add getEncoding()
6707
6708         * kbsequence.h:
6709         * kbsequence.C: do not store last keypress
6710
6711         * lyxfunc.h:
6712         * lyxfunc.C: store last keypress here instead. Pass encoding
6713           to getISOEncoded()
6714
6715 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6716
6717         * lyx_main.C (init): remove annoying error message when following
6718         symbolic links (bug #780)
6719
6720 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6721
6722         * text.C (insertChar):
6723         * lyxrc.C (getDescription): remove extra spaces
6724
6725 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6726
6727         * lyxrc.C (getDescription): remove extra spaces
6728
6729 2002-12-20  John Levon  <levon@movementarian.org>
6730
6731         * text3.C: hack fix for page up/down across tall rows
6732
6733 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6734
6735         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6736         not been invoked
6737
6738 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6739
6740         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6741         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6742         thesaurus is not compiled in
6743
6744 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6745
6746         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6747
6748 2002-12-16  Angus Leeming  <leeming@lyx.org>
6749
6750         * lyxrc.[Ch]:
6751         * lyx_main.C (init): remove override_x_deadkeys stuff.
6752
6753 2002-12-12  John Levon  <levon@movementarian.org>
6754
6755         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6756           insert. Only remove shift modifier under strict
6757           circumstances.
6758
6759 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6760
6761         * MenuBackend.C (expandToc): fix crash.
6762
6763 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6764
6765         * MenuBackend.C (expandToc): gettext on float names.
6766
6767 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6768
6769         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6770         implement bool empty() [bug 490]
6771
6772 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6773
6774         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6775
6776 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6777
6778         * several files: ws changes
6779
6780 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6781
6782         * text2.C (setCounter): clean up a bit, use boost.format.
6783         (updateCounters): initialize par upon declaration.
6784
6785         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6786         if the layout exists. We do not just store the layout any more.
6787         (SwitchLayoutsBetweenClasses): use boost.format
6788
6789 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6790
6791         * converter.C (convert): if from and to files are the same, use a
6792         temporary files as intermediary
6793
6794 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6795
6796         * commandtags.h:
6797         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6798
6799 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6800
6801         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6802
6803 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6804
6805         * tabular.C (asciiPrintCell): use string(size, char) instead of
6806         explicit loop.
6807
6808         * sgml.C (openTag): fix order of arguments to string constructor
6809         (closeTag): ditto
6810
6811         * lyxfunc.C (dispatch): use boost.format
6812
6813         * lots of files: change "c" -> 'c'
6814
6815 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6816
6817         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6818
6819 2002-11-25  Angus Leeming  <leeming@lyx.org>
6820
6821         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6822
6823         * lyx_main.C (init): compile fix.
6824
6825 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6826
6827         * lyx_cb.C (start): boost.formatify
6828         do not include <iostream>
6829
6830         * lengthcommon.C: ws only
6831
6832         * boost-inst.C,BoostFormat.h: add more explict instantations
6833
6834 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6835
6836         * lots of files: handle USE_BOOST_FORMAT
6837
6838 2002-11-21  John Levon  <levon@movementarian.org>
6839
6840         * pspell.C: fix compile
6841
6842 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6843
6844         * lyxfunc.C (dispatch): use boost::format
6845         (open): ditto
6846         (doImport): ditto
6847
6848         * lyxfont.C (stateText): use boost::format
6849
6850         * lyx_main.C (LyX): use boost::format
6851         (init): ditto
6852         (queryUserLyXDir): ditto
6853         (readRcFile): ditto
6854         (parse_dbg): ditto
6855         (typedef boost::function): use the recommened syntax.
6856
6857         * importer.C (Import): use boost::format
6858
6859         * debug.C (showLevel): use boost::format
6860
6861         * converter.C (view): use boost::format
6862         (convert): ditto
6863         (move): ditto
6864         (scanLog): ditto
6865
6866         * bufferview_funcs.C (currentState): use boost::format
6867
6868         * bufferlist.C (emergencyWrite): use boost::format
6869
6870         * buffer.C (readLyXformat2): use boost::format
6871         (parseSingleLyXformat2Token): ditto
6872
6873         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6874
6875         * LaTeX.C (run): use boost::format
6876
6877         * Chktex.C (scanLogFile): use boost::format
6878
6879         * BufferView_pimpl.C (savePosition): use boost::format
6880         (restorePosition): ditto
6881         (MenuInsertLyXFile): ditto
6882
6883         * BoostFormat.h: help file for explicit instation.
6884
6885 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6886
6887         * tabular.C (latex): Support for block alignment in fixed width
6888         columns.
6889
6890 2002-11-17  John Levon  <levon@movementarian.org>
6891
6892         * BufferView_pimpl.C:
6893         * lyx_cb.C:
6894         * lyxfunc.C: split filedialog into open/save
6895
6896 2002-11-08  Juergen Vigna  <jug@sad.it>
6897
6898         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6899         by my last patch (hopefully).
6900
6901 2002-11-08  John Levon  <levon@movementarian.org>
6902
6903         * iterators.h:
6904         * iterators.C:
6905         * buffer.h:
6906         * buffer.C:
6907         * paragraph.h:
6908         * paragraph.C:
6909         * toc.h:
6910         * toc.C: ParConstIterator, and use it (from Lars)
6911
6912 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6913
6914         * lyxtextclass.[Ch]: revise and add doxygen comments
6915
6916 2002-11-07  John Levon  <levon@movementarian.org>
6917
6918         * text.C: fix progress value for spellchecker
6919
6920         * toc.C: fix navigate menu for insetwrap inside minipage
6921
6922         * paragraph_funcs.C: added FIXME for suspect code
6923
6924 2002-11-07  John Levon  <levon@movementarian.org>
6925
6926         * BufferView_pimpl.C: fix redrawing of insets
6927           on buffer switch
6928
6929 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6930
6931         * text2.C (updateCounters): fix bug 668
6932
6933 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6934
6935         * text3.C (dispatch): Do not make the buffer dirty when moving the
6936         cursor.
6937
6938 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6939
6940         * vc-backend.C: STRCONV
6941         (scanMaster): ditto
6942
6943         * text2.C (setCounter): STRCONV
6944
6945         * paragraph.C (asString): STRCONV
6946
6947         * lyxlength.C (asString): STRCONV
6948         (asLatexString): ditto
6949
6950         * lyxgluelength.C (asString): STRCONV
6951         (asLatexString): ditto
6952
6953         * lyxfunc.C (dispatch): STRCONV
6954         (open): ditto
6955
6956         * lyxfont.C (stateText): STRCONV
6957
6958         * importer.C (Import): STRCONV
6959
6960         * counters.C (labelItem): STRCONV
6961         (numberLabel): ditto
6962         (numberLabel): remove unused ostringstream o
6963
6964         * chset.C: STRCONV
6965         (loadFile): ditto
6966
6967         * bufferview_funcs.C (currentState): STRCONV
6968
6969         * buffer.C (readFile): STRCONV
6970         (asciiParagraph): ditto
6971         (makeLaTeXFile): ditto
6972
6973         * Spacing.C (writeEnvirBegin): STRCONV
6974
6975         * LaTeXFeatures.C (getLanguages): STRCONV
6976         (getPackages): ditto
6977         (getMacros): ditto
6978         (getBabelOptions): ditto
6979         (getTClassPreamble): ditto
6980         (getLyXSGMLEntities): ditto
6981         (getIncludedFiles): ditto
6982
6983         * LaTeX.C: STRCONV
6984         (run): ditto
6985         (scanAuxFile): ditto
6986         (deplog): ditto
6987
6988         * LString.h: add the STRCONV macros
6989
6990         * BufferView_pimpl.C (savePosition): STRCONV
6991         (restorePosition): ditto
6992         (MenuInsertLyXFile): ditto
6993
6994         * vc-backend.C (scanMaster): change from submatch[...] to
6995         submatch.str(...)
6996
6997         * funcrequest.C: include config.h
6998
6999         * factory.C: include config.h
7000
7001         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7002
7003         * box.C: include config.h
7004
7005         * LaTeX.C (scanAuxFile): change from submatch[...] to
7006         submatch.str(...)
7007         (deplog): ditto
7008
7009 2002-10-25  Angus Leeming  <leeming@lyx.org>
7010
7011         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7012
7013         * ispell.[Ch] (setError): new method.
7014         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7015         Use setError() insetead of goto END.
7016
7017         * lyx_cb.C (AutoSave): move out child process into new class
7018         AutoSaveBuffer.
7019
7020 2002-10-30  John Levon  <levon@movementarian.org>
7021
7022         * text3.C: make start appendix undoable
7023
7024 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7025
7026         * lyxlength.C (inPixels): Fix returned value.
7027
7028         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7029         environment.
7030
7031 2002-10-24  Angus Leeming  <leeming@lyx.org>
7032
7033         * lyxgluelength.h: no need to forward declare BufferParams
7034         or BufferView, so don't.
7035
7036 2002-10-21  John Levon  <levon@movementarian.org>
7037
7038         * BufferView.C: menuUndo ->undo, redo
7039
7040         * BufferView.h: document, remove dead, make some methods private
7041
7042         * paragraph_funcs.h:
7043         * paragraph_funcs.C:
7044         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7045
7046         * buffer.h:
7047         * buffer.C:
7048         * sgml.h:
7049         * sgml.C: move sgml open/close tag into sgml.C
7050
7051         * bufferview_funcs.h: unused prototype
7052
7053         * lyxfunc.h:
7054         * lyxfunc.C: remove unused
7055
7056         * lyxtext.h:
7057         * text.C: remove unused
7058
7059 2002-10-21  John Levon  <levon@movementarian.org>
7060
7061         * BufferView.h:
7062         * BufferView.C:
7063         * BufferView_pimpl.h:
7064         * BufferView_pimpl.C: fix mouse wheel handling based on
7065           patch from Darren Freeman
7066
7067 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7068
7069         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7070
7071 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7072
7073         * lyxlength.C (inPixels): Fix hanfling of negative length.
7074         Fix LyXLength::MU case.
7075
7076 2002-10-16  John Levon  <levon@movementarian.org>
7077
7078         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7079
7080 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7081
7082         * converter.C (view): add support for $$i (file name) and $$p
7083         (file path) for the viewer command. If $$i is not specified, then
7084         it is appended to the command (for compatibility with old syntax)
7085
7086 2002-10-14  Juergen Vigna  <jug@sad.it>
7087
7088         * undo_funcs.C (textHandleUndo): alter the order in which the
7089         new undopar is added to the LyXText, as we have to set first
7090         the right prev/next and then add it as otherwise the rebuild of
7091         LyXText is not correct. Also reset the cursor to the right paragraph,
7092         with this IMO we could remove the hack in "redoParagraphs()".
7093
7094 2002-10-09  Angus Leeming  <leeming@lyx.org>
7095
7096         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7097         to turn off an optimisation if a new inset is to be inserted.
7098
7099 2002-10-11 André Pönitz <poenitz@gmx.net>
7100
7101         * lyxtext.h: make some functions public to allow access
7102         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7103
7104 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7105
7106         * text3.C (dispatch): when changing layout, avoid an infinite loop
7107         [bug #652]
7108
7109 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7110
7111         * lyxrc.C (read): treat a viewer or converter command of "none" as
7112         if it were empty.
7113
7114         * MenuBackend.C (expandFormats): for an update, also allow the
7115         formats that are not viewable
7116
7117         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7118         script if it is newer than the lyxrc.defaults in user directory
7119
7120 2002-10-07 André Pönitz <poenitz@gmx.net>
7121
7122         * text.C: Vitaly Lipatov's small i18n fix
7123
7124 2002-09-25  Angus Leeming  <leeming@lyx.org>
7125
7126         * ispell.h: doxygen fix.
7127
7128 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7129
7130         * buffer.h (readFile): Add a new argument to the method, to allow
7131         reading of old-format templates.
7132
7133 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7134
7135         * toc.C (getTocList): Get TOC from InsetWrap.
7136
7137 2002-09-16  John Levon  <levon@movementarian.org>
7138
7139         * lyxfunc.C: check tabular for cut/copy too
7140
7141 2002-09-12  John Levon  <levon@movementarian.org>
7142
7143         * LyXAction.C: tidy
7144
7145         * factory.h:
7146         * factory.C: add header
7147
7148         * paragraph_funcs.h:
7149         * paragraph_funcs.C: cleanup
7150
7151 2002-09-11  John Levon  <levon@movementarian.org>
7152
7153         * PrinterParams.h: odd/even default to true
7154
7155 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7156
7157         * PrinterParams.h: update printer parameters for new xforms dialog
7158
7159 2002-09-11  Angus Leeming  <leeming@lyx.org>
7160
7161         * lyxserver.C (read_ready): re-write to make it more transparent
7162         and to make it work in coherent fashion under Tru64 Unix.
7163
7164 2002-09-11  André Pönitz <poenitz@gmx.net>
7165
7166         * commandtags.h:
7167         * LyXAction.C:
7168         * text3.C: implement LFUN_WORDSEL
7169
7170 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7171
7172         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7173         make floatlist_ a boost::shared_ptr<FloatList>
7174
7175         * lyxtextclass.C: include FloatList.h
7176         (LyXTextClass): initialize floatlist_
7177         (TextClassTags): add TC_NOFLOAT
7178         (Read): match "nofloat" to TC_NOFLOAT and use it.
7179         (readFloat): modify call to floatlist_
7180         (floats): ditto
7181         (floats): ditto
7182
7183         * FloatList.[Ch] (FloatList): remove commented out float
7184         initialization.
7185         (erase): new function
7186
7187 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7188
7189         * MenuBackend.C (expandToc): fix crash when there is no document
7190         open
7191
7192 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7193
7194         * many files: Add insetwrap.
7195
7196 2002-09-09  John Levon  <levon@movementarian.org>
7197
7198         * text2.C: remove confusing and awkward depth wraparound
7199
7200 2002-09-09  John Levon  <levon@movementarian.org>
7201
7202         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7203
7204         * buffer.h:
7205         * buffer.C: remove getIncludeonlyList()
7206
7207         * paragraph.C:
7208         * lyxfunc.C: remove headers
7209
7210 2002-09-09  Juergen Vigna  <jug@sad.it>
7211
7212         * text.C (getColumnNearX): fix form Michael this is most
7213         probably a cut&paste bug.
7214
7215 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7216
7217         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7218
7219         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7220         references, ws changes.
7221
7222         * text2.C (init): update counters after init
7223         (insertParagraph): no need to set counter on idividual paragraphs.
7224         (setCounter): access the counters object in the textclass object
7225         on in the buffer object.
7226         (updateCounters): ditto
7227
7228         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7229         shared_ptr<Counters> to avoid loading counters.h in all
7230         compilation units.
7231         (LyXTextClass): initialize ctrs_
7232         (TextClassTags): add TC_COUNTER, and ...
7233         (Read): use it here.
7234         (CounterTags): new tags
7235         (readCounter): new function
7236         (counters): new funtion
7237         (defaultLayoutName): return a const reference
7238
7239         * counters.C (Counters): remove contructor
7240         (newCounter): remove a couple of unneeded statements.
7241         (newCounter): simplify a bit.
7242         (numberLabel): some small formatting changes.
7243
7244         * buffer.[Ch]: remove all traces of counters, move the Counters
7245         object to the LyXTextClass.
7246
7247 2002-09-06  Alain Castera  <castera@in2p3.fr>
7248
7249         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7250         package to set the horizontal alignment on fixed width columns.
7251
7252         * lyx_sty.C:
7253         * lyx_sty.h: added tabularnewline macro def.
7254
7255         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7256
7257 2002-09-06  John Levon  <levon@movementarian.org>
7258
7259         * LyXAction.C: tooltips for sub/superscript
7260
7261         * MenuBackend.C: a bit more verbose
7262
7263         * lyxfunc.C: tiny clean
7264
7265         * undo_funcs.C: document undo_frozen
7266
7267 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7268
7269         * counters.C (Counters): add missing algorithm counter.
7270
7271         * text2.C (setCounter): lookup the counter with layouts latexname
7272         instead of by section number.
7273         (setCounter): use a hackish way to lookup the correct enum
7274         counter.
7275         a float name->type change
7276         reset enum couners with counter name directly instead of depth value.
7277
7278         * counters.C (Counters): remove the push_backs, change to use the
7279         float type not the float name.
7280         (labelItem): remove unused string, float name->type change
7281
7282         * counters.h: don't include vector, loose the enums and sects vectors
7283
7284 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7285
7286         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7287         (Read): add float->TC_FLOAT to textclassTags
7288         (Read): and handle it in the switch
7289         (readFloat): new function
7290
7291         * FloatList.C (FloatList): comment out the hardcoded float
7292         definitions.
7293
7294         * lyxlayout.h: ws change.
7295
7296 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7297
7298         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7299
7300 2002-09-03  Angus Leeming  <leeming@lyx.org>
7301
7302         * BufferView_pimpl.h: qualified name is not allowed in member
7303         declaration: WorkArea & Pimpl::workarea() const;
7304
7305         * factory.C: added using std::endl directive.
7306
7307         * text3.C: added using std::find and std::vector directives.
7308
7309 2002-08-29  André Pönitz <poenitz@gmx.net>
7310
7311         * lyxtext.h:
7312         * text2.C: remove unused member number_of_rows
7313
7314         * Makefile.am:
7315         * BufferView2.C: remove file, move contents to...
7316         * BufferView.C: ... here
7317
7318         * BufferView_pimpl.C:
7319         * factory.C: move more inset creation to factory
7320
7321         * vspace.C: avoid direct usage of LyXText, ws changes
7322
7323         * BufferView.[Ch]:
7324                 don't provide direct access to WorkArea, use two simple
7325                 acessors haveSelction() and workHeight() instead
7326
7327
7328 2002-08-29  John Levon  <levon@movementarian.org>
7329
7330         * BufferView_pimpl.C (dispatch): do not continue when
7331           no buffer
7332
7333 2002-08-28  André Pönitz <poenitz@gmx.net>
7334
7335         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7336
7337         * BufferView.h:
7338         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7339
7340 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7341
7342         * buffer.C: increment LYX_FORMAT to 221
7343
7344         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7345         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7346
7347         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7348
7349         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7350
7351 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7352
7353         * factory.C (createInset): use LyXTextClass::floats
7354
7355         * MenuBackend.C (expandFloatListInsert):
7356         (expandFloatInsert):
7357         (expandToc):
7358
7359         * text2.C (setCounter):
7360
7361         * LaTeXFeatures.C (useFloat):
7362         (getFloatDefinitions):
7363
7364         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7365
7366         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7367         floatlist_, with accessor floats().
7368
7369         * FloatList.h: remove global FloatList
7370
7371 2002-08-26  André Pönitz <poenitz@gmx.net>
7372
7373         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7374
7375         * BufferView.h:
7376         * BufferView2.C:
7377         * BufferView_pimpl.C:
7378         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7379
7380 2002-08-25  John Levon  <levon@movementarian.org>
7381
7382         * LyXAction.C: fix margin note description
7383
7384 2002-08-24  John Levon  <levon@movementarian.org>
7385
7386         * buffer.C:
7387         * bufferlist.C:
7388         * bufferview_funcs.C:
7389         * lyxfont.C:
7390         * undo_funcs.C: cleanups
7391
7392         * lyxfunc.C: disable CUT/COPY when no selection
7393
7394 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7395
7396         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7397         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7398
7399         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7400         Add backward compatibility to "mono", "gray" and "no".
7401
7402 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7403
7404         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7405         (and file_format >= 200).
7406
7407 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7408
7409         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7410
7411 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7412
7413         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7414
7415 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7416
7417         * BufferView_pimpl.C:
7418         * LyXAction.C:
7419         * buffer.C:
7420         * commandtags.h:
7421         * lyxfunc.C:
7422         * paragraph.[Ch]:
7423         * text2.C:
7424         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7425         inset and code to make it  work with the paragraph code. The inset
7426         can be anywhere in the paragraph, but will only do the expected
7427         thing in LaTeX if the layout file contains the parameter line
7428                         OptionalArgs    1
7429         (or more generally, a nonzero value) for that layout.
7430
7431 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7432
7433         * paragraph.h: remove the declaration of undefined counters class
7434         function.
7435
7436 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7437
7438         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7439         Dr. Richard Hawkins.
7440
7441 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7442
7443         * paragraph_funcs.h: remove some unneeded includes
7444
7445         * text.C (backspace): pasteParagraph now in global scipe
7446
7447         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7448         (pasteSelection): ditto
7449
7450         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7451         * paragraph_funcs.C (pasteParagraph): ... here
7452
7453 2002-08-20  André Pönitz <poenitz@gmx.net>
7454
7455         * commandtags.h: new LFUNs for swapping/copying table row/colums
7456
7457         * LyXAction.C:
7458         * lyxfunc.C: support for new lfuns
7459
7460 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7461
7462         * tabular.C:
7463         * buffer.[Ch]: remove NO_COMPABILITY stuff
7464
7465 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7466
7467         * boost.C (throw_exception): new file, with helper function for
7468         boost compiled without exceptions.
7469
7470         * paragraph.h:
7471         * lyxlength.C:
7472         * buffer.C:
7473         * ParameterStruct.h:
7474         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7475
7476         * bufferlist.C (emergencyWriteAll): use boost bind
7477
7478         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7479
7480         * text.C: include paragraph_funcs.h
7481         (breakParagraph): breakParagraph is now in global scope
7482
7483         * paragraph_funcs.[Ch]: new files
7484
7485         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7486         global scope
7487
7488         * buffer.C: include paragraph_funcs.h
7489         (insertStringAsLines): breakParagraph is now in global scope
7490
7491         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7492         paragraph_funcs.C
7493
7494         * CutAndPaste.C: include paragraph_funcs.h
7495         (cutSelection): breakParagraphConservative is now in global scope
7496         (pasteSelection): ditto
7497
7498         * buffer.h: declare oprator== and operator!= for
7499         Buffer::inset_iterator
7500
7501         * bufferlist.C (emergencyWrite): don't use fmt(...)
7502
7503         * text3.C: add using std::endl
7504
7505         * BufferView.C (moveCursorUpdate): remove default arg
7506
7507 2002-08-20  André Pönitz <poenitz@gmx.net>
7508
7509         * buffer.[Ch]: move inline functions to .C
7510
7511         * BufferView2.C:
7512         * BufferView_pimpl.C:
7513         * text.C:
7514         * buffer.[Ch]: use improved inset_iterator
7515
7516         * buffer.C:
7517         * paragraph.[Ch]: write one paragraph at a time
7518
7519 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7520
7521         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7522         style if style is not specified.
7523
7524 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7525
7526         * text2.C (setCounter): when searching for right label for a
7527         caption, make sure to recurse to parent insets (so that a caption
7528         in a minipage in a figure float works) (bug #568)
7529
7530 2002-08-20  André Pönitz <poenitz@gmx.net>
7531
7532         * text3.C: new file for LyXText::dispatch() and helpers
7533
7534         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7535
7536         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7537
7538 2002-08-19  André Pönitz <poenitz@gmx.net>
7539
7540         * lyxtext.h:
7541         * text.C: new LyXText::dispatch()
7542
7543         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7544
7545 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7546
7547         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7548
7549         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7550         Hebrew text.
7551
7552 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7553
7554         * Makefile.am: use $(variables) instead of @substitutions@
7555
7556 2002-08-15  André Pönitz <poenitz@gmx.net>
7557
7558         * lyxfunc.C:
7559         * BufferView_pimpl.C: streamlining mathed <-> outer world
7560         interaction
7561
7562         * commandtags.h:
7563         * LyXAction.C: remove unused LFUN_MATH
7564
7565 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7566
7567         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7568
7569 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7570
7571         * paragraph.C (Paragraph): reformat a bit
7572         (cutIntoMinibuffer): use builtin InsetList function instad of
7573         doing it manually.
7574         (getInset): ditto
7575
7576         * buffer.C: include boost/bind.hpp, add using std::for_each
7577         (writeFileAscii): use ParagraphList iterators
7578         (validate): use for_each for validate traversal of paragraphs
7579         (getBibkeyList): use ParagraphList iterators
7580         (resizeInsets): use for_each to resizeInsetsLyXText for all
7581         paragraphs.
7582         (getParFromID): use ParagraphList iterators
7583
7584         * BufferView2.C (lockInset): use paragraph list and iterators
7585
7586 2002-08-14  John Levon  <levon@movementarian.org>
7587
7588         * lyxserver.C: remove spurious xforms include
7589
7590 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7591
7592         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7593
7594 2002-08-13  André Pönitz <poenitz@gmx.net>
7595
7596         * LyXAction.[Ch]:
7597         * lyxfunc.C: further cleaning
7598
7599 2002-08-13  André Pönitz <poenitz@gmx.net>
7600
7601         * funcrequest.h: new constructor
7602
7603         * funcrequest.C: move stuff here from .h
7604
7605         * Makefile.am:
7606         * BufferView_pimpl.C:
7607         * LyXAction.C:
7608         * toc.C:
7609         * lyxfunc.C: subsequent changes
7610
7611         * lyxfunc.h: new view() member function
7612
7613         * lyxfunc.C: subsequent changes
7614
7615 2002-08-13  Angus Leeming  <leeming@lyx.org>
7616
7617         * BufferView2.C:
7618         * BufferView_pimpl.C:
7619         * buffer.C:
7620         * converter.C:
7621         * importer.C:
7622         * lyxfunc.C:
7623         * lyxvc.C:
7624         * toc.C:
7625         * vc-backend.C:
7626         changes due to the changed LyXView interface that now returns references
7627         to member variables not pointers.
7628
7629 2002-08-13  Angus Leeming  <leeming@lyx.org>
7630
7631         * WordLangTuple (word, lang_code): return references to strings,
7632         not strings.
7633
7634         * BufferView.h:
7635         * SpellBase.h:
7636         * lyxtext.h: forward-declare WordLangTuple.
7637
7638         * BufferView2.C:
7639         * ispell.C:
7640         * pspell.C:
7641         * text.C: #include "WordLangTuple.h".
7642
7643         * lyxtext.h:
7644         * text.C: (selectNextWordToSpellcheck): constify return type.
7645
7646 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7647
7648         * buffer.C:
7649         * buffer.h:
7650         * lyxtext.h:
7651         * paragraph.C:
7652         * paragraph_pimpl.h:
7653         * text.C:
7654         * text2.C:
7655         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7656         suggested by Angus.
7657         Made updateCounter always count from start of buffer, and removed
7658         second argument (par).
7659         Reverted floats number display to '#'. Perhaps I'll try again when the
7660         code base is sanitized a bit.
7661
7662 2002-08-12  Angus Leeming  <leeming@lyx.org>
7663
7664         * buffer.[Ch] (getLabelList): constify.
7665
7666 2002-08-07  André Pönitz <poenitz@gmx.net>
7667
7668         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7669
7670         * funcrequest.h: extension to keep mouse (x,y) position
7671
7672 2002-08-12  Juergen Vigna  <jug@sad.it>
7673
7674         * BufferView2.C (insertErrors): forbid undo when inserting error
7675         insets.
7676
7677         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7678
7679 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7680
7681         * ParagraphList.[Ch]: new files
7682
7683         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7684
7685         * BufferView2.C (lockInset): ParagraphList changes
7686         * toc.C: ditto
7687         * text2.C: ditto
7688         * bufferlist.C: ditto
7689         * buffer.h: ditto
7690         * buffer.C: ditto
7691
7692 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7693
7694         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7695         unused class variable counter_,
7696
7697         * paragraph.[Ch] (getFirstCounter): delete unused function
7698
7699         * counters.C: include LAssert.h
7700         (reset): add a new function with no arg, change other version to
7701         not have def. arg and to not allow empty arg.
7702
7703         * text2.C (setCounter): remove empty arg from call to Counters::reset
7704
7705 2002-08-11  John Levon  <levon@movementarian.org>
7706
7707         * Makefile.am: add WordLangTuple.h
7708
7709 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7710
7711         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7712         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7713
7714         * insets/insettext.C: InsetList changes
7715
7716         * graphics/GraphicsSupport.C (operator()): InsetList changes
7717
7718         * toc.C (getTocList): InsetList changes
7719
7720         * paragraph_pimpl.[Ch]: InsetList changes
7721
7722         * paragraph.[Ch]: InsetList changes
7723
7724         * buffer.C (inset_iterator): InsetList changes
7725         (setParagraph): ditto
7726         * buffer.h (inset_iterator): ditto
7727         * iterators.C (operator++): ditto
7728         * iterators.h: ditto
7729
7730         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7731
7732         * InsetList.[Ch]: new files, most InsetList handling moved out of
7733         paragraph.C.
7734
7735         * BufferView2.C (removeAutoInsets): InsetList changes
7736         (lockInset): ditto
7737         (ChangeInsets): ditto
7738
7739 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7740
7741         * paragraph_pimpl.h (empty): new function
7742
7743         * paragraph.[Ch] (empty): new function
7744
7745         * other files: use the new Paragraph::empty function
7746
7747 2002-08-09  John Levon  <levon@movementarian.org>
7748
7749         * lyxtext.h: remove unused refresh_height
7750
7751 2002-08-09  John Levon  <levon@movementarian.org>
7752
7753         * Makefile.am:
7754         * sgml.h:
7755         * sgml.C:
7756         * buffer.C:
7757         * paragraph.h:
7758         * paragraph.C: move sgml char escaping out of paragraph
7759
7760         * paragraph.h:
7761         * paragraph.C: remove id setter
7762
7763         * buffer.C:
7764         * paragraph.C:
7765         * paragraph_pimpl.C: remove dead tex_code_break_column
7766
7767         * bufferview_funcs.C: small cleanup
7768
7769         * lyxfunc.C: remove dead proto
7770
7771         * lyxtext.h: make some stuff private. Remove some dead stuff.
7772
7773         * lyxgluelength.C: make as[LyX]String() readable
7774
7775 2002-08-08  John Levon  <levon@movementarian.org>
7776
7777         * LyXAction.h:
7778         * LyXAction.C:
7779         * MenuBackend.C:
7780         * ToolbarDefaults.C:
7781         * lyxfunc.C:
7782         * lyxrc.C:
7783         * toc.C: lyxaction cleanup
7784
7785 2002-08-08  John Levon  <levon@movementarian.org>
7786
7787         * BufferView2.C: small cleanup
7788
7789         * lyxfind.h:
7790         * lyxfind.C: move unnecessary header into the .C
7791
7792 2002-08-08  John Levon  <levon@movementarian.org>
7793
7794         * funcrequest.h: just tedious nonsense
7795
7796         * lyx_main.h:
7797         * lyx_main.C: cleanups
7798
7799         * buffer.C:
7800         * vspace.C: remove dead header lyx_main.h
7801
7802 2002-08-07  Angus Leeming  <leeming@lyx.org>
7803
7804         * Paragraph.[Ch]:
7805         * paragraph_pimpl.h:
7806         Forward declare class Counters in paragraph.h by moving the ctrs member
7807         variable into Paragraph::Pimpl.
7808         (counters): new method, returning a reference to pimpl_->ctrs.
7809
7810         * text2.C: ensuing changes.
7811
7812 2002-08-07  John Levon  <levon@movementarian.org>
7813
7814         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7815
7816         * BufferView_pimpl.C: announce X selection on double/triple
7817           click
7818
7819         * lyx_main.C: use correct bool in batch dispatch
7820
7821         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7822
7823 2002-08-07  André Pönitz <poenitz@gmx.net>
7824
7825         * funcrequest.h: new class to wrap a kb_action and its argument
7826
7827         * BufferView.[Ch]:
7828         * BufferView_pimpl[Ch]:
7829         * LaTeX.C:
7830         * LyXAction.[Ch]:
7831         * lyxfunc.[Ch]:
7832         * lyxrc.C: subsequent changes
7833
7834
7835 2002-08-07  John Levon  <levon@movementarian.org>
7836
7837         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7838           document options change.
7839
7840 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7841
7842         * counters.[Ch]
7843         * text2.C
7844         * paragraph.[Ch]
7845         * makefile.am: move counters functionality over from
7846         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7847
7848 2002-08-06  John Levon  <levon@movementarian.org>
7849
7850         * WordLangTuple.h: new file for word + language code tuple
7851
7852         * SpellBase.h:
7853         * pspell.h:
7854         * pspell.C:
7855         * ispell.h:
7856         * ispell.C:
7857         * lyxtext.h:
7858         * text.C:
7859         * text2.C:
7860         * BufferView.h:
7861         * BufferView2.C: use WordLangTuple
7862
7863         * layout.h:
7864         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7865
7866 2002-08-06  John Levon  <levon@movementarian.org>
7867
7868         * lyx_main.C: fix cmdline batch handling
7869
7870 2002-08-06  André Pönitz <poenitz@gmx.net>
7871
7872         * lyxrc.C: set default for show_banner to true
7873
7874 2002-08-06  John Levon  <levon@movementarian.org>
7875
7876         * pspell.C: fix a crash, and allow new aspell to work
7877
7878 2002-08-06  John Levon  <levon@movementarian.org>
7879
7880         * lyxfunc.C:
7881         * kbmap.C: small cleanup
7882
7883         * vspace.h:
7884         * vspace.C: add const
7885
7886 2002-08-05  John Levon  <levon@movementarian.org>
7887
7888         * LyXAction.C: back to tabular-insert
7889
7890 2002-08-04  John Levon  <levon@movementarian.org>
7891
7892         * BufferView.h:
7893         * BufferView.C: cosmetic change
7894
7895         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7896
7897         * bufferlist.C:
7898         * buffer.h:
7899         * buffer.C:
7900         * lyxcb.h:
7901         * lyxcb.C:
7902         * lyxserver.C:
7903         * lyxvc.C:
7904         * vc-backend.C:
7905         * BufferView2.C: purge all "Lyx" not "LyX" strings
7906
7907         * lyxcursor.h:
7908         * lyxcursor.C: attempt to add some documentation
7909
7910         * lyxfunc.C:
7911         * commandtags.h:
7912         * LyXAction.C:
7913         * ToolbarDefaults.C:
7914         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7915           merge with LFUN_TABULAR_INSERT
7916
7917         * Makefile.am:
7918         * SpellBase.h:
7919         * ispell.h:
7920         * ispell.C:
7921         * pspell.h:
7922         * pspell.C: split up i/pspell implementations into separate
7923           files, many cleanups
7924
7925         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7926
7927         * text2.C: some cleanup
7928
7929         * lyxfunc.C: don't check for isp_command == "none" any more, it
7930           didn't make any sense
7931
7932 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7933
7934         * counters.[Ch]
7935         * text2.C
7936         * paragraph.[Ch]
7937         * makefile.am: move counters functionality over
7938         from text2.C/paragraph.[Ch] to counters.[Ch], and
7939         make proper C++.
7940 2002-08-02  John Levon  <levon@movementarian.org>
7941
7942         * buffer.C: s/lyxconvert/lyx2lyx/
7943
7944 2002-08-02  Angus Leeming  <leeming@lyx.org>
7945
7946         * lyxlex.C: revert John's change as it breaks reading of the user
7947         preamble.
7948
7949 2002-08-02  Angus Leeming  <leeming@lyx.org>
7950
7951         * importer.C (Import):
7952         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7953         changes due to LyXView::view() now returning a boost::shared_ptr.
7954
7955 2002-08-02  John Levon  <levon@movementarian.org>
7956
7957         * lyxlex.C: small cleanup
7958
7959 2002-08-02  John Levon  <levon@movementarian.org>
7960
7961         * text2.C (status): small cleanup, no logic change
7962
7963 2002-08-01  John Levon  <levon@movementarian.org>
7964
7965         * buffer.h:
7966         * buffer.C (writeFile): don't output alerts, caller
7967           handles this
7968
7969         * bufferlist.C:
7970         * lyx_cb.C: from above
7971
7972         * lyxfunc.C: allow to open non-existent files
7973
7974 2002-07-31  John Levon  <levon@movementarian.org>
7975
7976         * lyxserver.C: don't let incidental errors get
7977           in the way (errno)
7978
7979 2002-07-30  John Levon  <levon@movementarian.org>
7980
7981         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7982
7983 2002-07-30  John Levon  <levon@movementarian.org>
7984
7985         * lyxserver.h:
7986         * lyxserver.C: remove I/O callback too
7987
7988 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7989
7990         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7991         log.
7992
7993 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7994
7995         * many files: strip,frontStrip -> trim,ltrim,rtrim
7996
7997 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7998
7999         * PrinterParams.h: remove extern containsOnly, and include
8000         support/lstrings.h instead.
8001
8002         * LaTeX.C (scanAuxFile): modify because of strip changes
8003         (deplog): ditto
8004         * buffer.C (makeLaTeXFile): ditto
8005         * bufferparams.C (writeFile): ditt
8006         * lyxfont.C (stateText): ditto
8007         * lyxserver.C (read_ready): ditto
8008         * vc-backend.C (scanMaster): ditto
8009
8010         * BufferView_pimpl.h: ws changes
8011
8012         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8013
8014 2002-07-26  André Pönitz <poenitz@gmx.net>
8015
8016         * kb_sequence.C: remove unnedred usings
8017
8018 2002-07-26  Juergen Vigna  <jug@sad.it>
8019
8020         * lyxfind.C (LyXReplace): we have to check better if the returned
8021         text is not of theLockingInset()->getLockingInset().
8022
8023 2002-07-25  Juergen Vigna  <jug@sad.it>
8024
8025         * lyxfind.C (LyXReplace): don't replace if we don't get the
8026         right LyXText.
8027
8028         * undo_funcs.C (createUndo): remove debugging code.
8029
8030 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8031
8032         * buffer.C (parseSingleLyXformat2Token): Use default placement
8033         when reading old floats.
8034
8035         * FloatList.C (FloatList): Change the default placement of figure
8036         and tables to "tbp".
8037
8038 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8039
8040         * MenuBackend.C: using std::max
8041
8042 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8043
8044         * MenuBackend.C (expandToc):
8045         (expandToc2): code moved from xforms menu frontend. It is now
8046         generic and TOCs are transparent to menu frontends.
8047
8048 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8049
8050         * toc.C (getTocList): protect against buf=0
8051
8052         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8053         Menu as first parameter. Now, this calls itself recursively to
8054         expand a whole tree (this will be useful for TOC handling)
8055         (expandFloatInsert): remove 'wide' version of floats
8056
8057         * MenuBackend.h (submenuname): returns the name of the submenu.
8058         (submenu): returns the submenu itself, provided it has been
8059         created by MenuBackend::expand
8060
8061 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8062
8063         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8064         insets which have noFontChange == true. (bug #172)
8065
8066 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8067
8068         * BufferView_pimpl.C: add connection objects and use them...
8069         (Pimpl): here.
8070
8071 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8072
8073         * MenuBackend.C (expandLastfiles):
8074         (expandDocuments):
8075         (expandFormats):
8076         (expandFloatListInsert):
8077         (expandFloatInsert):
8078         (expand): split expand in parts
8079
8080 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8081
8082         * lyx_gui.C: use lyx_gui::exit()
8083
8084 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8085
8086         * LyXAction.C: show the failing pseudo action
8087
8088 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8089
8090         * buffer.C (readFile): Run the lyxconvert script in order to read
8091         old files.
8092
8093 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8094
8095         * LyXAction.C:
8096         * commandtags.h:
8097         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8098
8099 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8100
8101         * LyXAction.C:
8102         * commandtags.h:
8103         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8104
8105 2002-07-22  Herbert Voss  <voss@lyx.org>
8106
8107         * lengthcommon.C:
8108         * lyxlength.[Ch]: add support for the vertical lengths
8109
8110 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8111
8112         * toc.[Ch]: std:: fixes
8113
8114 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8115
8116         * lyxrc.C: do not include lyx_main.h
8117
8118         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8119         for layouts
8120
8121         * lyxrc.C:
8122         * encoding.C:
8123         * bufferlist.C:
8124         * BufferView2.C: include "lyxlex.h"
8125
8126         * tabular.h:
8127         * bufferparams.h: do not #include "lyxlex.h"
8128
8129         * lyxtextclasslist.C (Add): remove method
8130         (classlist): renamed to classlist_
8131
8132         * paragraph_pimpl.C:
8133         * paragraph.C:
8134         * text2.C:
8135         * CutAndPaste.C:
8136         * bufferview_funcs.C:
8137         * bufferlist.C:
8138         * text.C:
8139         * LaTeXFeatures.C:
8140         * buffer.C:
8141         * toc.C (getTocList): use BufferParams::getLyXTextClass
8142
8143         * toc.C (getTocList): use InsetFloat::addToToc
8144
8145         * toc.[Ch]: new files, containing helper functions to handle table
8146         of contents
8147
8148         * lyxfunc.C (dispatch): no need to remove spaces around command
8149         given as a string
8150         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8151         first command of the sequence; it is not very clever, but I do not
8152         have a better idea, actually
8153
8154         * LyXAction.C (LookupFunc): make sure to remove space at the
8155         beginning and end of the command
8156
8157 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8158
8159         * MenuBackend.C (getMenubar): new method: return the menubar of
8160         this menu set
8161         (read): treat differently reading of menu and menubar (in
8162         particular, the menubar has no name now)
8163         (Menu::menubar): remove
8164
8165         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8166         saving is finished
8167
8168 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8169
8170         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8171         a bibitem inset in a RTL paragraph.
8172
8173 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8174
8175         * paragraph_pimpl.C: constify
8176
8177         * BufferView_pimpl.C:
8178         * LaTeX.C:
8179         * lyxfunc.C: fix dispatch in a nicer way
8180
8181 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8182
8183         * lyxfunc.C (dispatch):
8184         * BufferView_pimpl.C:
8185         * BufferView_pimpl.h:
8186         * BufferView.C:
8187         * BufferView.h: rename Dispatch() to dispatch()
8188
8189         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8190
8191         * lyxlayout.C (Read): honor DependsOn tag
8192
8193         * lyxlayout.[Ch] (depends_on): new method
8194
8195         * version.C.in: update lyx_docversion
8196
8197         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8198
8199         * paragraph.C (validate): remove from here...
8200         * paragraph_pimpl.C (validate): ... and move here
8201         (isTextAt): make it const
8202
8203         * buffer.C (getLists): ws cleanup
8204
8205 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8206
8207         * language.C (read): Use iso8859-1 encoding in latex_lang
8208         (this prevents LyX from crashing when using iso10646-1 encoding).
8209
8210 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8211
8212         * text2.C (toggleInset): if cursor is inside an inset, close the
8213         inset and leave cursor _after_ it
8214
8215 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8216
8217         * lyxfunc.C: move minibuffer completion handling out of here
8218
8219 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8220
8221         * BufferView_pimpl.C:
8222         * LaTeX.C: fix dispatch calls
8223
8224 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8225
8226         * text.C (drawChars): Fix Arabic text rendering.
8227
8228 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8229
8230         * LyXAction.C:
8231         * commandtags.h:
8232         * lyxfunc.C: remove message-push/pop
8233
8234         * lyxserver.C:
8235         * lyxfunc.h:
8236         * lyxfunc.C: rationalise some code by removing verboseDispatch
8237           in favour of a bool argument to dispatch()
8238
8239 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8240
8241         * lyx_main.C (init): make sure to read symlinks as absolute paths
8242
8243 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8244
8245         * lyxfunc.h:
8246         * lyxfunc.C: no need for commandshortcut to be a member
8247
8248 2002-07-15  André Pönitz <poenitz@gmx.net>
8249
8250         * converter.C: add support for $$s (scripts from lib/scripts dir)
8251         * lyx_main.C: white space
8252
8253 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8254
8255         * bufferlist.C:
8256         * lyxrc.h:
8257         * lyxrc.C: remove second exit confirmation
8258
8259 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8260
8261         * BufferView.h:
8262         * BufferView.C:
8263         * BufferView2.C:
8264         * BufferView_pimpl.h:
8265         * BufferView_pimpl.C:
8266         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8267
8268 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8269
8270         * MenuBackend.C (expand): add numeric shortcuts to document menu
8271
8272         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8273
8274 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8275
8276         * lyxfont.C (setLyXFamily):
8277         (setLyXSeries):
8278         (setLyXShape):
8279         (setLyXSize):
8280         (setLyXMisc):
8281         (lyxRead):
8282         * debug.C (value):
8283         * buffer.C (asciiParagraph): use ascii_lowercase
8284
8285 2002-07-15  Mike Fabian  <mfabian@suse.de>
8286
8287         * lyxlex_pimpl.C (search_kw):
8288         * lyxlex.C (getLongString):
8289         * converter.h (operator<):
8290         * converter.C (operator<):
8291         * buffer.C (parseSingleLyXformat2Token):
8292         (asciiParagraph):
8293         * ToolbarDefaults.C (read):
8294         * MenuBackend.C (checkShortcuts):
8295         (read):
8296         * LColor.C (getFromGUIName):
8297         (getFromLyXName): use the compare_ascii_no_case instead of
8298         compare_no_case, because in turkish, 'i' is not the lowercase
8299         version of 'I', and thus turkish locale breaks parsing of tags.
8300
8301 2002-07-16  Angus Leeming  <leeming@lyx.org>
8302
8303         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8304         now takes a Buffer const & argument.
8305
8306 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8307
8308         * BufferView.C (resize): check there's a buffer to resize
8309
8310 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8311
8312         * lyxfunc.C: remove dead code
8313
8314         * lyxserver.h:
8315         * lyxserver.C: use lyx_guii::set_read_callback
8316
8317 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8318
8319         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8320         an inset in a RTL paragraph.
8321
8322 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8323
8324         * lyxfunc.C: repaint after a font size update
8325
8326 2002-07-15  André Pönitz <poenitz@gmx.net>
8327
8328         * lyxlength.C: inBP should be able to return negative values
8329
8330 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8331
8332         * lyxfunc.C: use lyx_gui::update_fonts()
8333
8334 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8335
8336         * lyxfunc.C: use lyx_gui::update_color()
8337
8338 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8339
8340         * bufferlist.C:
8341         * lyxfunc.h:
8342         * lyxfunc.C:
8343         * lyxrc.h:
8344         * lyxrc.C: remove file->new asks for name option, and let
8345           buffer-new take an argument
8346
8347 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8348
8349         * BufferView_pimpl.C: remove unneeded extra repaint()
8350
8351 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8352
8353         * LyXAction.C: allow command-sequence with NoBuffer
8354
8355         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8356
8357 2002-07-10  Angus Leeming  <leeming@lyx.org>
8358
8359         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8360
8361 2002-07-09  Angus Leeming  <leeming@lyx.org>
8362
8363         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8364
8365 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8366
8367         * lengthcommon.h: whitespace
8368
8369         * lyxfunc.C: update scrollbar after goto paragraph
8370
8371         * lyxtext.h: factor out page break drawing, and fix it so
8372           page break/added space paints as selected nicely
8373
8374 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8375
8376         * BufferView_pimpl.C: add FIXMEs, clean up a little
8377
8378 2002-07-09  André Pönitz <poenitz@gmx.net>
8379
8380         * lyxfont.[Ch]: support for wasy symbols
8381
8382 2002-07-08  André Pönitz <poenitz@gmx.net>
8383
8384         * BufferView_pimpl.C: apply John's patch for #93.
8385
8386 2002-07-05  Angus Leeming  <leeming@lyx.org>
8387
8388         * BufferView_pimpl.C (buffer): generate previews if desired.
8389
8390         * LColor.h: add "preview" to the color enum.
8391
8392         * LColor.C (LColor): add a corresponding entry to the items array.
8393
8394         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8395         with this buffer.
8396
8397 2002-07-05  Angus Leeming  <leeming@lyx.org>
8398
8399         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8400         The body of the code is now in the method that is passed an ostream &
8401         rather than a file name.
8402         Pass an additional only_preamble parameter, useful for the forthcoming
8403         preview stuff.
8404
8405 2002-07-03  André Pönitz <poenitz@gmx.net>
8406
8407         * lyxfunc.C: simplify getStatus() a bit for math stuff
8408
8409 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8410
8411         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8412
8413 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8414
8415         * text.C (changeRegionCase): do not change case of all the
8416         document when region ends at paragraph end (bug #461)
8417
8418 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8419
8420         * paragraph.C (startTeXParParams):
8421         (endTeXParParams): add \protect when necessary
8422
8423 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8424
8425         * BufferView_pimpl.C (workAreaExpose): remove warning
8426
8427 2002-06-27  Angus Leeming  <leeming@lyx.org>
8428
8429         * Makefile.am: add lyxlayout_ptr_fwd.h.
8430
8431 2002-06-26  André Pönitz <poenitz@gmx.net>
8432
8433         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8434
8435 2002-06-25  Angus Leeming  <leeming@lyx.org>
8436
8437         * lyxfunc.C (dispatch): Comment out the call to
8438         grfx::GCache::changeDisplay. The method no longer exists now that the
8439         pixmap generation part of the graphics loader has been moved into
8440         InsetGraphics.
8441
8442 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8443
8444         * text2.C: layout as layout
8445
8446         * text.C: layout as layout
8447
8448         * tabular.C (OldFormatRead): layout as layout
8449
8450         * paragraph_pimpl.C (TeXDeeper): layout as layout
8451         (realizeFont): layout as layout
8452
8453         * paragraph.C (writeFile): layout as layout
8454         (validate): layout as layout
8455         (getFont): layout as layout
8456         (getLabelFont): layout as layout
8457         (getLayoutFont): layout as layout
8458         (breakParagraph): layout as layout
8459         (stripLeadingSpaces): layout as layout
8460         (getEndLabel): layout as layout
8461         (getMaxDepthAfter): layout as layout
8462         (applyLayout): layout as layout
8463         (TeXOnePar): layout as layout
8464         (simpleTeXOnePar): layout as layout
8465         (TeXEnvironment): layout as layout
8466         (layout): layout as layout
8467         (layout): layout as layout
8468
8469         * lyxtextclass.C (compare_name): new functor to work with
8470         shared_ptr, layout as layout
8471         (Read): layout as layout
8472         (hasLayout): layout as layout
8473         (operator): layout as layout
8474         (delete_layout): layout as layout
8475         (defaultLayout): layout as layout
8476
8477         * lyxlayout_ptr_fwd.h: new file
8478
8479         * lyxlayout.C (Read): layout as layout
8480
8481         * lyx_cb.C (MenuInsertLabel): layout as layout
8482
8483         * bufferlist.C (newFile): layout as layout
8484
8485         * buffer.C (readLyXformat2): layout as layout
8486         (parseSingleLyXformat2Token): layout as layout
8487         (insertStringAsLines): layout as layout
8488         (asciiParagraph): layout as layout
8489         (latexParagraphs): layout as layout
8490         (makeLinuxDocFile): layout as layout
8491         (simpleLinuxDocOnePar): layout as layout
8492         (makeDocBookFile): layout as layout
8493         (simpleDocBookOnePar): layout as layout
8494         (getLists): layout as layout
8495
8496         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8497
8498         * CutAndPaste.C (cutSelection): layout as layout
8499         (pasteSelection): layout as layout
8500         (SwitchLayoutsBetweenClasses): layout as layout
8501
8502         * BufferView_pimpl.C (Dispatch): layout as layout
8503         (smartQuote): layout as layout
8504
8505         * BufferView2.C (unlockInset): layout as layout
8506
8507 2002-06-24  André Pönitz <poenitz@gmx.net>
8508
8509         * lyxfunc.C: fix #487
8510
8511 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8512
8513         * lyxrc.h:
8514         * lyxrc.C:
8515         * lyxfunc.C: remove display_shortcuts, show_banner
8516
8517 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8518
8519         * Buffer_pimpl.C: oops, update on resize
8520
8521 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8522
8523         * buffer.C:
8524         * converter.C:
8525         * exporter.C:
8526         * lyxfunc.C:
8527         * BufferView.h:
8528         * BufferView.C: use repaint()
8529
8530         * BufferView_pimpl.h:
8531         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8532           as it's a clearer description. Remove superfluous
8533           redraws.
8534
8535 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8536
8537         * text.C: fix bug 488. Not ideal, but getting
8538           getWord() to work properly for the insets that
8539           matter is more difficult ...
8540
8541 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8542
8543         * BufferView_pimpl.C:
8544         * LyXAction.C:
8545         * commandtags.h:
8546         * lyxfunc.C: remove the six million index lyxfuncs to just
8547           one, and DTRT (bug 458)
8548
8549 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8550
8551         * BufferView.h:
8552         * BufferView.C:
8553         * BufferView_pimpl.h:
8554         * BufferView_pimpl.C: clean up resize() stuff,
8555           and unnecessary updateScreen()s
8556
8557 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8558
8559         * BufferView.h:
8560         * BufferView.C:
8561         * BufferView_pimpl.h:
8562         * BufferView_pimpl.C:
8563         * lyxfind.h:
8564         * lyxfind.C:
8565         * minibuffer.C: remove focus management of workarea,
8566           not needed. Use screen's greyOut()
8567
8568 2002-06-17  Herbert Voss  <voss@lyx.org>
8569
8570         * converter.C: (convert) do not post a message, when converting
8571         fails, let the calling function decide what to do in this case
8572
8573 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8574
8575         * lyxfunc.C: tidy up a little
8576
8577 2002-06-16    <alstrup@diku.dk>
8578
8579         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8580         Got rid of FORMS_H_LOCATION include. Now we are
8581         GUII.
8582
8583 2002-06-15  LyX Development team  <lyx@rilke>
8584
8585         * buffer.[Ch] (sgmlOpenTag):
8586         (sgmlCloseTag): Added support for avoiding pernicious mixed
8587         content. Return number of lines written.
8588
8589         (makeLinuxDocFile):
8590         (makeDocBookFile): Fixed calls to sgml*Tag.
8591         Simple white space clean.
8592
8593         (simpleDocBookOnePar): Simple white space clean.
8594
8595         * tabular.[Ch] (docBook): Renamed to docbook and got another
8596         argument to related with the pernicious mixed content.
8597
8598         (docbookRow): Fixed calls for docbook inset method.
8599
8600 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8601
8602         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8603         so it's X11 independent.
8604
8605         * kb*.[Ch]: ditto.
8606
8607         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8608
8609 2002-06-15  Lyx Development team  <lyx@electronia>
8610
8611         * intl.h: Renamed getTrans to getTransManager.
8612
8613 2002-06-14  Angus Leeming  <leeming@lyx.org>
8614
8615         * Makefile.am: nuke forgotten stl_string_fwd.h.
8616
8617 2002-06-12  Angus Leeming  <leeming@lyx.org>
8618
8619         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8620
8621 2002-06-13  Angus Leeming  <leeming@lyx.org>
8622
8623         * LaTeX.C:
8624         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8625
8626 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8627
8628         * kbmap.C (getiso): add support for cyrillic and greek
8629
8630 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8631
8632         * BufferView.h:
8633         * BufferView.C:
8634         * BufferView_pimpl.h:
8635         * BufferView_pimpl.C: move bogus scrolling logic
8636           to xforms
8637
8638 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8639
8640         * lyxfunc.C:
8641         * BufferView_pimpl.C: view->resize() change
8642
8643 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8644
8645         * BufferView_pimpl.C: topCursorVisible
8646           prototype change
8647
8648 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8649
8650         * Makefile.am:
8651         * lyx_gui.h:
8652         * lyx_gui.C: move to frontends/
8653
8654         * main.C:
8655         * lyx_main.h:
8656         * lyx_main.C: changes from above
8657
8658 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8659
8660         * intl.C:
8661         * intl.h:
8662         * kbmap.C:
8663         * kbsequence.C:
8664         * lyx_cb.C:
8665         * lyx_main.C: minor tidy
8666
8667 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8668
8669         * BufferView_pimpl.h:
8670         * BufferView_pimpl.C:
8671         * BufferView.h:
8672         * BufferView.C: make painter() const,
8673           remove dead code
8674
8675         * BufferView2.C: use screen() accessor
8676
8677         * lyx_main.h:
8678         * lyx_main.C: some minor cleanup
8679
8680 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8681
8682         * BufferView_pimpl.h:
8683         * BufferView_pimpl.C: remove enter/leaveView,
8684           use workHeight()
8685
8686 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8687
8688         * BufferView.h:
8689         * BufferView.C:
8690         * BufferView2.C:
8691         * BufferView_pimpl.h:
8692         * BufferView_pimpl.C: only construct screen once,
8693           rename
8694
8695         * lyxrc.C: remove pointless comment
8696
8697 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8698
8699         * BufferView.h:
8700         * BufferView.C: remove active() and belowMouse()
8701
8702         * BufferView_pimpl.h:
8703         * BufferView_pimpl.C: use workarea() not workarea_,
8704           and make it use a scoped_ptr instead
8705
8706 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8707
8708         * lyx_gui.C: add debug message on BadWindow
8709
8710 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8711
8712         * sp_spell.C: fdopen is not part of the C++ standard.
8713
8714         * paragraph.C (InsetIterator): use >= instead of ==
8715
8716 2002-06-07  Angus Leeming  <leeming@lyx.org>
8717
8718         Fixes needed to compile with Compaq cxx 6.5.
8719         * BufferView_pimpl.C:
8720         * DepTable.C:
8721         * buffer.C:
8722         * converter.C:
8723         * encoding.C:
8724         * lyx_gui.C:
8725         * lyx_main.C:
8726         * lyxtextclasslist.C:
8727         * minibuffer.C:
8728         * sp_spell.C:
8729         * tabular_funcs.C:
8730         * vc-backend.C:
8731         all c-library variables have been moved into namespace std. Wrap
8732         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8733
8734         * lyxlength.C:
8735         * tabular-old.C:
8736         * tabular.C:
8737         Add a using std::abs declaration.
8738
8739         * kbmap.h (modifier_pair):
8740         * paragraph.h (InsetTable, InsetList):
8741         * lyxfont.h (FontBits):
8742         type definition made public.
8743
8744         * bufferlist.C (emergencyWriteAll): the compiler complains that
8745         there is more than one possible lyx::class_fun template to choose from.
8746         I re-named the void specialisation as lyx::void_class_fun.
8747
8748         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8749
8750         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8751         the compiler is is unable to find tostr in write_attribute.
8752
8753 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8754
8755         * buffer.C (sgmlError): hide #warning
8756
8757 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8758
8759         * xtl/*: get rid of xtl, which is not in use anyway
8760
8761         * LyXAction.C (init):
8762         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8763         were unimplemented xtl experimentation
8764
8765 2002-06-04  André Pönitz <poenitz@gmx.net>
8766
8767         * lyxfunc.C: disable array operation on simple formulae
8768
8769 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8770
8771         * converter.C: constify a bit
8772
8773 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8774
8775         * lyx_gui.C: check xforms version correctly
8776
8777 2002-04-30  Herbert Voss  <voss@lyx.org>
8778
8779         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8780         "keep" option
8781
8782 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8783
8784         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8785           attempt to register it with a VCS)
8786
8787 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8788
8789         * lyx_main.C (init): honor variables LYX_DIR_13x and
8790         LYX_USERDIR_13x
8791
8792 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8793
8794         * buffer.h:
8795         * buffer.C:
8796         * lyx_main.C: fix a crash on bad command line,
8797           and give a useful exit status on error
8798
8799         * lyxfunc.C (doImport): allow -i lyx to work
8800
8801 2002-03-30  André Pönitz <poenitz@gmx.net>
8802
8803         * lyxfunc.C: mathed font changes
8804
8805 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8806
8807         * LaTeX.C:
8808         * importer.h:
8809         * importer.C:
8810         * lyx_sty.h:
8811         * lyx_sty.C:
8812         * lyxlex.C:
8813         * lyxrow.h:
8814         * lyxtext.h:
8815         * paragraph.h:
8816         * paragraph.C:
8817         * texrow.h:
8818         * texrow.C:
8819         * text.C:
8820         * trans_mgr.h: srcdocs, and some minor cleanups
8821
8822 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8823
8824         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8825         call getFont all the time)
8826
8827 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8828
8829         * switch from SigC signals to boost::signals
8830
8831 2002-05-29  André Pönitz <poenitz@gmx.net>
8832
8833         * paragraph_pimpl.C (getChar): don't call size() too often...
8834
8835 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8836
8837         * paragraph_pimpl.C (insertChar): do not try to update tables when
8838         appending (pos == size())
8839
8840         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8841         in order to reduce drastically the number of comparisons needed to
8842         parse a large document
8843
8844 2002-05-29  André Pönitz <poenitz@gmx.net>
8845
8846         * text.C:
8847         * text2.C:
8848         * lyxtextclass.C:
8849         * sp_pspell.h:
8850         * textclasslist.[Ch]:
8851         * sp_ispell.h: whitespace change
8852
8853 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8854
8855         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8856         lyxaction directly now.
8857
8858 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8859
8860         * trans.C:
8861         * lyxfont.C:
8862         * lyxvc.C: remove unused headers
8863
8864 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8865
8866         * Makefile.am:
8867         * buffer.h:
8868         * undostack.h:
8869         * undostack.C:
8870         * undo_funcs.h:
8871         * undo_funcs.C: some cleanups. Use shared_ptr
8872           and a template for the undo stacks.
8873
8874 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8875
8876         * BufferView_pimpl.h:
8877         * BufferView_pimpl.C:
8878         * kbmap.h:
8879         * kbmap.C:
8880         * kbsequence.h:
8881         * kbsequence.C:
8882         * lyxfunc.h:
8883         * lyxfunc.C:
8884         * text2.C: use key_state/mouse_state
8885
8886 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8887
8888         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8889         and LSubstring
8890
8891         * chset.C: change include order
8892         (loadFile): use boost regex and get rid of LRegex and LSubstring
8893
8894         * Makefile.am (BOOST_LIBS): new variable
8895         (lyx_LDADD): use it
8896
8897         * LaTeX.C: change include order.
8898         (scanAuxFile): use boost regex and get rid of LRegex and
8899         LSubstring
8900         (deplog): ditto
8901
8902 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8903
8904         * ColorHandler.h:
8905         * ColorHandler.C:
8906         * FontInfo.h:
8907         * FontInfo.C: moved to frontends/xforms/
8908
8909         * FontLoader.h:
8910         * FontLoader.C: moved into frontends for GUIIzation
8911
8912         * Makefile.am:
8913         * lyx_gui.C:
8914         * lyxfont.C:
8915         * lyxfunc.C: changes from above
8916
8917 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8918
8919         * LColor.C: remove spurious X include
8920
8921         * BufferView_pimpl.C:
8922         * Makefile.am:
8923         * font.h:
8924         * font.C:
8925         * text.C:
8926         * text2.C: move font metrics to frontends/
8927
8928 2002-05-24  Juergen Vigna  <jug@sad.it>
8929
8930         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8931         setting the undo_cursor.
8932
8933         * ParagraphParameters.h: include local includes first.
8934
8935 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8936
8937         * BufferView_pimpl.C:
8938         * BufferView_pimpl.h:
8939         * Makefile.am:
8940         * WorkArea.h:
8941         * WorkArea.C:
8942         * screen.C: move WorkArea into frontends/
8943
8944         * lyxscreen.h:
8945         * screen.C:
8946         * text.C:
8947         * BufferView.C:
8948         * BufferView2.C: move LyXScreen into frontends/
8949
8950         * lyxlookup.h:
8951         * lyxlookup.C:
8952         * lyx_gui.C: move lyxlookup into frontends/xforms/
8953
8954 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8955
8956         * BufferView2.C:
8957         * BufferView_pimpl.C:
8958         * FontLoader.C:
8959         * LyXView.h:
8960         * LyXView.C:
8961         * Makefile.am:
8962         * WorkArea.C:
8963         * XFormsView.h:
8964         * XFormsView.C:
8965         * buffer.C:
8966         * bufferlist.C:
8967         * bufferview_funcs.C:
8968         * converter.C:
8969         * importer.C:
8970         * lyx_cb.C:
8971         * lyx_gui.C:
8972         * lyx_main.C:
8973         * lyx_find.C:
8974         * lyxfunc.C:
8975         * lyxvc.C:
8976         * minibuffer.C:
8977         * text.C:
8978         * text2.C:
8979         * trans.C:
8980         * vc-backend.C: move LyX/XFormsView into frontends/
8981
8982 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8983
8984         * Makefile.am:
8985         * PainterBase.C:
8986         * PainterBase.h:
8987         * Painter.C:
8988         * Painter.h:
8989         * WorkArea.C:
8990         * WorkArea.h:
8991         * screen.C:
8992         * tabular.C:
8993         * text.C:
8994         * text2.C: move Painter to frontends/
8995
8996 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8997
8998         * buffer.C: comment out some some code that depend upon lyx_format
8999         < 220
9000
9001         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9002         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9003
9004         * buffer.h (NO_COMPABILITY): turn off compability
9005
9006         * ColorHandler.C: include scoped_array.hpp
9007
9008         * font.C: Use more specific smart_ptr header.
9009         * Painter.C: ditto
9010         * gettext.C: ditto
9011         * ShareContainer.h: ditto
9012         * lyx_main.h: ditto
9013         * kbmap.h: ditto
9014         * FontInfo.h: ditto
9015         * BufferView_pimpl.h: ditto
9016         * ColorHandler.h: ditto
9017
9018         * kbmap.C (defkey): change call to shared_ptr::reset
9019
9020 2002-05-21  Juergen Vigna  <jug@sad.it>
9021
9022         * buffer.C (insertErtContents): fix to insert ert asis if it is
9023         non empty. Skip it completely if it contains only whitespaces.
9024
9025 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9026
9027         * BufferView_pimpl.C:
9028         * BufferView2.C: clear selection on paste (bug 393)
9029
9030 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9031
9032         * DepTable.C: include ctime
9033
9034 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9035
9036         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9037
9038 2002-05-14  Juergen Vigna  <jug@sad.it>
9039
9040         * text.C (breakParagraph): fixed function to honor the keepempty
9041         layout in the right maner and also to permit the right breaking
9042         algorithm on empty or non empyt keepempty paragraphs.
9043
9044         * paragraph.C (breakParagraph): we have to check also if the par
9045         is really empty (!size()) for isempty otherwise we do the wrong
9046         paragraph break.
9047
9048 2002-05-10  Juergen Vigna  <jug@sad.it>
9049
9050         * buffer.[Ch] : The following are only changes to the ert
9051         compatibility read reading old LaTeX layout and font stuff and
9052         convert it to ERTInsets.
9053
9054         * buffer.h: added isErtInset().
9055
9056         * buffer.C (struct ErtComp): add a fromlayout bool to check
9057         if we're inside a LaTeX layout.
9058         (isErtInset): new helper function.
9059         (insertErtContents): look for other ert insets before this one
9060         and insert the contents there, so that we don't have subsequent
9061         ERT insets with nothing between them. This way we create only one
9062         inset with multiple paragraphs. Also check if we don't insert only
9063         spaces ' ' as they are ignored anyway afterwards in the .tex file
9064         so if we have only spaces we will ignore this latex part in the
9065         new file.
9066         (parseSingleLyXformat2Token \\layout): better compatibility when
9067         reading layout-latex stuff.
9068         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9069         language tag.
9070         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9071         stuff after reading the inset only get the information back from
9072         the stack.
9073
9074 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9075
9076         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9077
9078         * LaTeXFeatures.C (getBabelOptions): New method.
9079
9080 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9081
9082         * BufferView_pimpl.C (Dispatch): work around missing argument for
9083         'layout'
9084
9085 2002-05-08  Juergen Vigna  <jug@sad.it>
9086
9087         * text.C (leftMargin): handle paragraph leftindent.
9088
9089         * paragraph.C (writeFile): write the new \\leftindent tag.
9090         (validate): handle leftindent code.
9091         (TeXEnvironment): handle paragraphleftindent code again.
9092
9093         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9094
9095         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9096         for paragrap_extra indent code and new token \\leftindent.
9097         (latexParagraphs): handle the leftindent as environment.
9098
9099         * ParameterStruct.h: added leftindent support.
9100
9101         * ParagraphParameters.C (leftIndent): added support functions for
9102         the paragraph left indent.
9103
9104         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9105         more appropriate.
9106
9107 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9108
9109         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9110         inside insetERT.
9111
9112         * text.C (computeBidiTables): No bidi in insetERT.
9113
9114         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9115         in RTL documents.
9116
9117 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9118
9119         * version.C.in: pre 5
9120
9121 2002-05-02  José Matos  <jamatos@fep.up.pt>
9122         * buffer.C (makeDocBookFile): white space changes, add newline to
9123         command styles.
9124         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9125
9126         * tabular.C (docBook): fix typo.
9127
9128 2002-05-03  Juergen Vigna  <jug@sad.it>
9129
9130         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9131         change in LyXText as we can not be sure it was not freed.
9132         (drawOneRow): remove unused code.
9133
9134         * text.C (drawInset): redo the calculation of the need_break_row as
9135         it could have a row which was already freed.
9136         (draw): look at the return value of drawInset and return false if
9137         it also returned false.
9138         (paintRowText): look at the return value of draw and return false if
9139         it also returned false.
9140
9141         * lyxtext.h: added bool return type to drawInset() and draw() so that
9142         if we have a change in the row so that the rowbreak has to be redone
9143         we abort drawing as it will be called again.
9144
9145 2002-05-02  Juergen Vigna  <jug@sad.it>
9146
9147         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9148         a change in the maintext also if we're inside an inset.
9149         (Dispatch): set the cursor again after a break line and after the
9150         screen has been updated as it could be we're in a different row.
9151
9152         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9153         to set the cursor behind the pargraph with > size().
9154         (setCursor): check also for the same paragraph when checking where
9155         to put the cursor if we have a NFR inset.
9156
9157         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9158         parts of layout read further up as it still was in the wrong
9159         position.
9160
9161 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9162
9163         * screen.C (drawFromTo): change sine fullRebreak always return
9164         true.
9165
9166         * buffer.C (parseSingleLyXformat2Token): reindent some
9167
9168         * BufferView_pimpl.C (update): change since fullRebreak always
9169         return true.
9170         (Dispatch): git rid of the last hardcoded "Standard"s.
9171
9172 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9173
9174         * text2.[Ch] (fullRebreak): make it return void now that we always
9175         returned true.
9176
9177 2002-04-30  Juergen Vigna  <jug@sad.it>
9178
9179         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9180         ert compatibility check for "latex" layout.
9181
9182 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9183
9184         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9185         minipages: use col% instead of p%, and also use the current font.
9186         (makeLaTeXFile): Fix use babel condition.
9187         (parseSingleLyXformat2Token): Correct font when reading old floats.
9188
9189 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9190
9191         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9192         inserting list of floats.
9193
9194 2002-04-25  Herbert Voss  <voss@lyx.org>
9195
9196         * MenuBackend.C (expand): don't add the graphics extensions to the
9197         export menu
9198
9199 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9200
9201         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9202         non-existing layout, do not complain if it was the default layout
9203         of the original class (bug #342)
9204
9205 2002-04-24  Juergen Vigna  <jug@sad.it>
9206
9207         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9208         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9209
9210 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9211
9212         * buffer.C (getBibkeyList): If using \bibliography, return the
9213         option field with the reference itself. Enables us to provide natbib
9214         support when using \bibliography.
9215
9216 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9217
9218         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9219
9220         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9221         natbib is provided by the LaTeX class.
9222
9223 2002-04-23  Juergen Vigna  <jug@sad.it>
9224
9225         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9226         Wakeup functions.
9227
9228         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9229
9230 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9231
9232         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9233
9234         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9235         ensuremath around textordmasculine, textordfeminine and
9236         textdegree.
9237
9238 2002-04-19  Juergen Vigna  <jug@sad.it>
9239
9240         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9241         reinitializing the buffer otherwise row-dimensions may be wrong.
9242         (update): reset also the selection cursors if they do exits otherwise
9243         their x/y positions may be wrong.
9244
9245         * text2.C (cursorDown): don't enter the inset if we came from a row
9246         above and are one row over the inset.
9247
9248         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9249         really leaving an inset.
9250
9251 2002-04-18  Juergen Vigna  <jug@sad.it>
9252
9253         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9254         of the selected paragraph does not have the selected layout also if
9255         the last one had!
9256
9257         * text2.C (setLayout): fixed bug which did not change last selected
9258         paragraph.
9259
9260         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9261         changed the read and substituted \\end_float with \\end_inset!
9262
9263         * BufferView_pimpl.C (cursorPrevious):
9264         (cursorNext): fixed to make it work with rows heigher than the work
9265         area without moving the cursor only the draw of the row.
9266         (workAreaMotionNotify): fix jumping over high rows.
9267
9268 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9269
9270         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9271         Ressler.
9272
9273 2002-04-16  Juergen Vigna  <jug@sad.it>
9274
9275         * text2.C (setCursor): set also the irow().
9276         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9277         (cursorUp):
9278         (cursorDown): support for locking an inset if the x_fix value goes
9279         inside it. That way I can transverse insets too with cursor up/down.
9280
9281         * lyxrow.h: added irow helper function same as other (i) functions.
9282
9283         * BufferView_pimpl.C (cursorPrevious):
9284         (cursorNext): fixed for insets!
9285
9286 2002-04-15  Juergen Vigna  <jug@sad.it>
9287
9288         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9289         position otherwise it is wrong in some cases.
9290
9291         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9292         inside the inset before the call.
9293
9294 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9295
9296         * buffer.[Ch] (getBibkeyList): make it const.
9297
9298 2002-04-12  Juergen Vigna  <jug@sad.it>
9299
9300         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9301
9302         * text2.C (getCursorX): new helper function
9303         (setCursor): compute also ix_
9304         (setCursorFromCoordinates): set also ix.
9305
9306         * lyxcursor.h: added ix_ and helper functions.
9307
9308         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9309
9310         * buffer.C (insertStringAsLines): dont break paragraph if the this
9311         paragraph is inside an inset which does not permit it!
9312
9313         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9314         also with no chars on this paragraph.
9315         (paintRowText): only paint stuff if it's inside the workarea!
9316
9317         * paragraph.C (breakParagraph): honor keepempty flag and break the
9318         paragraph always below not above.
9319
9320         * BufferView2.C (unlockInset): update the paragraph layout on inset
9321         unlock as we changed paragraph in such a case.
9322
9323         * lyxfind.C (LyXFind): clear the former selection if not found!
9324
9325         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9326         again called in insertChar().
9327
9328         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9329         an inset which uses the whole row!
9330         (rightMargin): ditto.
9331         (insertChar): force a rebreak if we inserted an inset!
9332
9333 2002-03-28  Herbert Voss  <voss@lyx.org>
9334
9335         * lyxlength.[Ch]: add inBP() to get the right PS-point
9336         units (BigPoint). With inPixels we have rounding errors
9337
9338 2002-04-11  Juergen Vigna  <jug@sad.it>
9339
9340         * text2.C (setCursorFromCoordinates): set iy to the right value.
9341         (setCursor): add check if row->previous exists!
9342
9343         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9344         an old float_type as this was the case in the old code!
9345
9346         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9347
9348         * BufferView2.C (showLockedInsetCursor): use iy
9349         (fitLockedInsetCursor): ditto
9350
9351         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9352         locked insets as there we have the right value now.
9353
9354         * lyxcursor.C: added iy_ variable and iy functions to set to the
9355         baseline of cursor-y of the locked inset.
9356
9357         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9358         (setCursor): fixed for insets which need a full row.
9359
9360         * text.C (rowLastPrintable): don't ignore the last space when before
9361         an inset which needs a full row.
9362         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9363         as last character of a row when before a inset which needs a full row.
9364
9365 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9366
9367         * version.C.in: update date
9368
9369         * text2.C (fullRebreak): try to always return true and see what
9370         happens...
9371
9372 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9373
9374         * MenuBackend.C (expand): use Floating::listName
9375
9376         * FloatList.C (FloatList): add listName argument to the built-in
9377         floats
9378
9379         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9380         text associated with the float.
9381
9382 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9383
9384         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9385
9386 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9387
9388         * ShareContainer.h: add a couple of missing typenames.
9389
9390 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9391
9392         * lyxrc.C (getDescription): use _() correctly rather than N_().
9393
9394 2002-03-28  Herbert Voss  <voss@lyx.org>
9395
9396         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9397         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9398
9399 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9400
9401         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9402         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9403
9404 2002-03-29  Juergen Vigna  <jug@sad.it>
9405
9406         * lyxfunc.C (dispatch): add a missing fitCursor call.
9407
9408         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9409         it was scrolled by a cursor move, so return the bool status.
9410
9411         * BufferView.C (fitCursor): return the bool flag also to the outside
9412         world as this is needed.
9413
9414         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9415
9416         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9417         call the edit() as it is not needed (and wrong) IMO.
9418         (workAreaButtonPress): set the screen_first variable before evt.
9419         unlock the inset as this may change screen_first and then we have
9420         a wrong y position for the click!
9421
9422 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9423
9424         * MenuBackend.C (expand): another translation that I missed
9425
9426 2002-03-28  Juergen Vigna  <jug@sad.it>
9427
9428         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9429
9430         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9431
9432 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9433
9434         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9435
9436         * MenuBackend.C (expand): fix export/view/update when there is no
9437         document open.
9438
9439 2002-03-27  Herbert Voss  <voss@lyx.org>
9440
9441         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9442         and text%
9443
9444 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9445
9446         * bufferview_funcs.C (currentState): only show paragraph number
9447         for is DEVEL_VERSION is set.
9448
9449         * lyxfunc.C (dispatch): put warning in INFO channel
9450
9451         * MenuBackend.C (expand): translate the name of floats
9452
9453         * FloatList.C (FloatList): mark the float names for translation
9454
9455         * converter.C (convert): use LibScriptSearch
9456
9457 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9458
9459         * MenuBackend.C (defaults): fix default menu (we might as well get
9460         rid of it...)
9461
9462 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9463
9464         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9465         directory.
9466
9467 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9468
9469         * lyxvc.C: reorder includes.
9470
9471 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9472
9473         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9474           properly
9475
9476 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9477
9478         * CutAndPaste.C: change layouts earlier on paste
9479           to avoid crashing when calling getFont()
9480
9481 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9482
9483         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9484         irritating #error.
9485
9486 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9487
9488         * WorkArea.C: remove 'Pending' debug message.
9489
9490         * most files: ws cleanup
9491
9492         * buffer.[Ch]: ws changes
9493
9494         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9495
9496 2002-03-21  Juergen Vigna  <jug@sad.it>
9497
9498         * tabular.C (SetMultiColumn): collapse also the contents of the
9499         cells and set the last border right. Added a Buffer const * param.
9500
9501 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9502
9503         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9504         linking or not.
9505
9506 2002-03-19  Juergen Vigna  <jug@sad.it>
9507
9508         * text2.C (clearSelection): reset also xsel_cache.
9509
9510         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9511         where it needs to be called (John tells us to do so too :)
9512         (selectionLost): reset sel_cache.
9513
9514         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9515
9516 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9517
9518         * text2.C (setCursorIntern): put debuging code in INSETS channel
9519
9520 2002-03-19  André Pönitz <poenitz@gmx.net>
9521
9522         * lyxfunc.C: tiny whitespace change
9523
9524 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9525
9526         * ToolbarDefaults.C (init):
9527         * LyXAction.C (init):
9528         * commandtags.h:
9529         * BufferView_pimpl.C (Dispatch):
9530         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9531
9532 2002-03-19  Allan Rae  <rae@lyx.org>
9533
9534         * exporter.C (Export): removeAutoInsets before doing anything else.
9535         While I've just introduced a dependency on BufferView this really is
9536         the best place to clean the buffer otherwise you need to cleanup in
9537         a dozen places before calling export or cleanup in a dozen functions
9538         that export calls.
9539
9540         * converter.C (runLaTeX):
9541         (scanLog): Better handling of removeAutoInsets and screen updates.
9542
9543         * lyxfunc.C (dispatch): small whitespace changes
9544
9545 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9546
9547         * WorkArea.C (C_WorkAreaEvent): return a value.
9548         (event_cb): return 1 if we handled the event, 0 otherwise.
9549
9550         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9551
9552 2002-03-18  Juergen Vigna  <jug@sad.it>
9553
9554         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9555         (GetAdditionalWidth): ditto.
9556         (RightLine): ditto.
9557         (LeftLine): ditto.
9558
9559         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9560         inset if we're there actually (probably not used right now but this
9561         is the direction to go for unifying code).
9562         (paste): disable code to clear the selection.
9563
9564         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9565         inside an InsetText and move the check further up as it is in the
9566         wrong place.
9567
9568         * text2.C (pasteSelection): set a selection over the pasted text.
9569
9570 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9571
9572         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9573         and libgraphics to build on Cygwin.
9574
9575 2002-03-15  Juergen Vigna  <jug@sad.it>
9576
9577         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9578         inserting an Inset into the paragraph. I know this is not the best
9579         fix but we already use current_view in CutAndPaste so we will remove
9580         all of it's using at the same time.
9581
9582         * buffer.C (sgmlError): deactivated function till it is rewritten in
9583         the right mode, now it can create problems.
9584
9585         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9586         before accessing it.
9587
9588 2002-03-14  Juergen Vigna  <jug@sad.it>
9589
9590         * undo_funcs.C (textHandleUndo): do the right thing when updating
9591         the inset after the undo/redo.
9592
9593         * text2.C (setCursor): just some testcode for #44 not ready yet.
9594
9595         * undo_funcs.C (textHandleUndo): set the next() and previous()
9596         pointers of the paragraph to 0 before deleting otherwise we have
9597         problems with the Paragraph::[destructor].
9598
9599         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9600         on a paragraph insertion.
9601
9602 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9603
9604         * buffer.C (asciiParagraph): use += operator for char append to
9605         string.
9606
9607         * paragraph.C (getFontSettings): compare >= not just >
9608         (highestFontInRange): ditto
9609         (setFont): ditto
9610
9611 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9612
9613         * paragraph.C: change several algorithm to be more appripriate for
9614         the problem domain. This is lookip in FontList and in the InsetList.
9615
9616 2002-03-13  André Pönitz <poenitz@gmx.net>
9617
9618         * commandtags.h:
9619         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9620
9621 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9622
9623         * commandtags.h:
9624         * LyXAction.C:
9625         * lyxfunc.C:
9626         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9627
9628 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9629
9630         * Painter.C (display): anon helper function, adjust code for this
9631         change.
9632         (pixmap): remove function.
9633
9634         * Painter.h: remove private display variable.
9635
9636         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9637
9638 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9639
9640         * WorkArea.[Ch]: remove figinset_canvas cruft.
9641
9642 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9643
9644         * lyxtextclass.C (operator): add one item cache optimization.
9645
9646         * bufferlist.h: doxy changes
9647
9648         * bufferlist.C: ws changes
9649
9650         * DepTable.[Ch] (ext_exist): place const in the right spot.
9651
9652         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9653         call resizeInsets.
9654         (workAreaExpose): call resizeInsets when the with BufferView changes.
9655         (Dispatch): adjust for protectedBlank removal
9656         (specialChar): call updateInset if the insert went ok.
9657
9658         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9659         specialChar instead.
9660
9661         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9662
9663         * BufferView.h: doxy change
9664
9665         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9666
9667         * lyxtextclass.C (operator[]): remove non-const version
9668         (defaultLayout): remove non-const version
9669
9670 2002-03-12  Juergen Vigna  <jug@sad.it>
9671
9672         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9673         did resize the LyXText too.
9674
9675         * buffer.C (readLyXformat2): set layout information on newly allocated
9676         paragraphs.
9677
9678         * tabular.C (OldFormatRead): set layout information on the paragraph.
9679
9680 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9681
9682         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9683
9684 2002-03-11  Juergen Vigna  <jug@sad.it>
9685
9686         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9687         plainly wrong.
9688         (resizeCurrentBuffer): force also the insets to resize themselfes.
9689         (moveCursorUpdate): fixed up for InsetText.
9690
9691 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9692
9693         * commandtags.h:
9694         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9695         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9696         value of Dialogs::tooltipsEnabled().
9697         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9698
9699 2002-03-08  Juergen Vigna  <jug@sad.it>
9700
9701         * BufferView_pimpl.C (updateInset): update inset inside inset also
9702         if it isn't inside theLockingInset().
9703
9704 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9705
9706         * buffer.C (asciiParagraph): redo some of the word and line length
9707         handling.
9708         (getLists): look for Caption instead of caption.
9709
9710 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9711
9712         * buffer.C (Buffer): initialize niceFile to true
9713         (makeLaTeXFile):
9714         (makeLinuxDocFile):
9715         (makeDocBookFile): make sure niceFile is true on exit
9716
9717 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9718
9719         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9720
9721 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9722
9723         * LyXSendto.C: remove.
9724         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9725         * lyx_gui.C: remove now-redundant comment.
9726         * ColorHandler.h: remove forward declaration of class WorkArea.
9727         * lyxfunc.C: remove #include "WorkArea.h".
9728
9729 2002-03-07  Juergen Vigna  <jug@sad.it>
9730
9731         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9732         got moved away with the DEPM and also set the inset_owner always
9733         right which before could have been omitted.
9734
9735 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9736
9737         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9738         wanted layout is not found.
9739
9740 2002-03-07  Juergen Vigna  <jug@sad.it>
9741
9742         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9743
9744 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9745
9746         * paragraph.C (breakParagraph): use default layout not layout of
9747         prev paragraph.
9748         (Paragraph): clear ParagraphParameters.
9749
9750 2002-03-06  Juergen Vigna  <jug@sad.it>
9751
9752         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9753         otherwise it would not be a valid lenght. Fixed a special case in
9754         the minipage compatibility read where we end the document with a
9755         minipage.
9756
9757         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9758         was set as it could be 0 for InsetTexts first entry.
9759
9760 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9761
9762         * paragraph.C (writeFile): if layout is empty write out
9763         defaultLayoutName().
9764
9765         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9766         file without named layout we set layout to defaultLayoutName().
9767
9768 2002-03-06  Juergen Vigna  <jug@sad.it>
9769
9770         * CutAndPaste.C (copySelection): set layout for new paragraph.
9771
9772         * text.C (prepareToPrint): leave ERT inset left aligned
9773         (leftMargin): don't indent paragraphs inside ERT insets
9774
9775 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9776
9777         * paragraph.C (breakParagraph): dont call clear do the work manually
9778
9779         * paragraph.[Ch] (clear): remove function
9780
9781 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9782
9783         * paragraph.C (Paragraph): dont call clear, the work has already
9784         been done.
9785
9786         * lyxtextclass.C (operator): assert if n is empty
9787
9788         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9789         work manually instead.
9790
9791 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9792
9793         * BufferView_pimpl.C: protect selectionLost against text == 0
9794
9795 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9796
9797         * text.C (breakParagraph): fix a setting layout to '0' problem.
9798
9799 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9800
9801         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9802         final location of file, for the included files, and graphics.
9803
9804 2002-03-05  Juergen Vigna  <jug@sad.it>
9805
9806         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9807
9808 2002-03-04  Juergen Vigna  <jug@sad.it>
9809
9810         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9811
9812         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9813         last column of multicolumn cells.
9814         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9815
9816 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9817
9818         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9819         file if it doesn't go to a temporary file.
9820
9821         * buffer.C (sgmlOpenTag):
9822         (sgmlCloseTag):  remove extra newline insertion.
9823
9824 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9825
9826         * text.C (getRowNearY): comment out debug msg
9827
9828 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9829
9830         * text2.C: first -> first_y
9831
9832         * text.C (getRowNearY): add some attemts at a possible
9833         optimization, not working.
9834
9835         * tabular.[Ch]: add BufferParams to several function so that newly
9836         created paragraph can be initialized to he default layotu for the
9837         buffers textclass.
9838
9839         * tabular-old.C (ReadOld): add buf->params to call of Init
9840
9841         * screen.C: rename text->first to text->first_y
9842
9843         * paragraph.C (breakParagraph): always set layout in the broken
9844         paragraph
9845
9846         * lyxtextclass.C (Read): remove lowercase
9847         (hasLayout): ditto
9848         (operator): ditto
9849         (delete_layout): ditto
9850
9851         * lyxtext.h: rename first -> first_y
9852
9853         * lyxlayout.C (Read): remove lowercase
9854         (name): ditto
9855         (setName): ditto
9856         (obsoleted_by): ditto
9857
9858         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9859
9860         * buffer.C (insertErtContents): add params are to InsetERT
9861         (parseSingleLyXformat2Token): add code to check if a paragraphs
9862         layout really exist.
9863         (parseSingleLyXformat2Token): add params to several inset
9864         constructors
9865         (asciiParagraph): remove lowercase, do the layout comparisons with
9866         no_case
9867
9868         * BufferView_pimpl.C (cursorNext): first -> first_y
9869         (resizeCurrentBuffer): first -> first_y
9870         (updateScrollbar): first -> first_y
9871         (scrollCB): first -> first_y
9872         (workAreaMotionNotify): first -> first_y
9873         (workAreaButtonPress): first -> first_y
9874         (checkInsetHit): first -> first_y
9875         (cursorPrevious): first -> first_y
9876         (cursorNext): first -> first_y
9877         (Dispatch): add buffer_->params to severl inset contructors
9878
9879 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9880
9881         * lyxlayout.C (Read): remove some debug info that I forgot.
9882
9883         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9884         clean up the code slightly.
9885         (makeLinuxDocFile): ditto
9886         (makeDocBookFile): ditto
9887
9888         * text2.C: layout as string
9889
9890         * text.C: layout as string
9891
9892         * paragraph_pimpl.C: layout as string
9893
9894         * paragraph.[Ch]: layout as string
9895
9896         * lyxtextclasslist.[Ch]: layout as string
9897
9898         * lyxtextclass.[Ch]: layout as string
9899
9900         * lyxtext.h: layout as string
9901
9902         * lyxlayout.[Ch]: layout as string
9903
9904         * lyx_cb.C: layout as string
9905
9906         * bufferview_funcs.C: layout as string
9907
9908         * bufferparams.C: layout as string
9909
9910         * buffer.C: layout as string
9911
9912         * LyXView.[Ch]: layout as string
9913
9914         * LaTeXFeatures.[Ch]: layout as string
9915
9916         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9917
9918         * BufferView_pimpl.C: change current_layout to string, remove
9919         lyx::layout_type.
9920         (Dispatch):
9921         (smartQuote):
9922         (insertInset):
9923         (workAreaButtonRelease): layout as string
9924
9925         * BufferView2.C (unlockInset): adjust
9926
9927         * vspace.C (asLatexCommand): use an explict temp variable.
9928
9929 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9930
9931         * Makefile.am: use FRONTEND_*
9932
9933 2002-03-01  Juergen Vigna  <jug@sad.it>
9934
9935         * tabular.C (SetWidthOfMulticolCell): changed to something better
9936         I hope but still work in progress.
9937         (recalculateMulticolumnsOfColumn): renamed function from
9938         recalculateMulticolCells as it is more appropriate now.
9939         (SetWidthOfCell): calculate multicols better.
9940
9941 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9942
9943         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9944
9945         * lyxfunc.C (processKeySym): print sequence also if it is
9946         `deleted' (complete)
9947
9948         * kbsequence.C (print): print sequence even if it is deleted
9949         (complete would be a better word, actually).
9950
9951         * lyxfunc.C (dispatch): print complete options after a prefix key
9952
9953         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9954
9955 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9956
9957         * text2.C (setCharFont): eliminate setCharFont code duplication.
9958
9959 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9960
9961         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9962         LFUN_TABULAR_FEATURE (bug #177)
9963
9964 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9965
9966         * Makefile.am: remove figure.h
9967
9968 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9969
9970         * Bufferview_pimpl.C:
9971         * CutAndPasteC:
9972         * LaTeX.C:
9973         * LyXSendto.C:
9974         * buffer.C:
9975         * bufferlist.C:
9976         * converter.C:
9977         * language.C:
9978         * lyxfunc.C:
9979         * lyxvc.C:
9980         * paragraph.C:
9981         * text.C:
9982         * text2.C: remove #include "lyx_gui_misc.h".
9983
9984         * LaTeX.C: added #include <cstdio>
9985
9986 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9987
9988         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9989         that the paragraph following this one can have.
9990
9991         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9992
9993         * vspace.C (asLatexCommand): fix bogus gcc warning
9994
9995         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9996
9997 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9998
9999         * text2.C (setLayout): get rid of redundant code
10000
10001 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10002
10003         * text2.C (incDepth): make sure depth cannot be increased beyond
10004         reasonable values.
10005
10006 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10007
10008         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10009         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10010
10011         * PainterBase.h (image):
10012         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10013         a LyXImage const *.
10014
10015 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10016
10017         * BufferView.C:
10018         * BufferView.h:
10019         * BufferView_pimpl.C:
10020         * BufferView_pimpl.h:
10021         * LaTeXFeatures.C:
10022         * LyXAction.C:
10023         * LyXView.C:
10024         * Makefile.am:
10025         * UpdateList.h:
10026         * UpdateList.C:
10027         * buffer.C:
10028         * figure.h:
10029         * figureForm.C:
10030         * figureForm.h:
10031         * figure_form.C:
10032         * figure_form.h:
10033         * lyx_cb.C:
10034         * lyx_gui.C:
10035         * lyx_gui_misc.C:
10036         * lyxfunc.C:
10037         * sp_base.h:
10038         * sp_ispell.h:
10039         * sp_pspell.h:
10040         * sp_spell.C: remove fig inset, and the crap house of
10041           cards that follows it
10042
10043 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10044
10045         * Makefile.am:
10046         * lyxserver.C:
10047         * os2_defines.h:
10048         * os2_errortable.h:
10049         * nt_defines.h: move .h into support/
10050
10051         * vms_defines.h: remove
10052
10053         * WorkArea.C: add space in debug output
10054
10055         * text2.C:
10056         * paragraph.C:
10057         * buffer.C: add WITH_WARNINGS
10058
10059         * vc-backend.h:
10060         * vc-backend.C:
10061         * bufferlist.C: s/retrive/retrieve/, add docs
10062
10063         * vspace.h:
10064         * vspace.C:
10065         * kbmap.h:
10066         * lyxlength.h:
10067         * lyxgluelength.h:
10068         * length_common.h:
10069         * chset.h:
10070         * chset.C: add docs
10071
10072         * lyxgui.C: add ID to X error handler
10073
10074         * lyxtestclass.c: fix typo
10075
10076 2002-02-26  Juergen Vigna  <jug@sad.it>
10077
10078         * tabular_funcs.C (write_attribute): changed so that some default
10079         attributes are not written at all.
10080         (getTokenValue): set default values before trying to read the
10081         value so we have the return value always set as default if we don't
10082         find the token we search for.
10083
10084         * tabular.C (Write): write bools as bools not as strings!
10085
10086 2002-02-22  Juergen Vigna  <jug@sad.it>
10087
10088         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10089         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10090
10091         * text.C (leftMargin): don't add an indent for paragraphs inside
10092         tabular cells (fix #208).
10093
10094 2002-02-21  José Matos  <jamatos@fep.up.pt>
10095
10096         * tabular.C (docBook): fixed support for long tables.
10097
10098 2002-02-20  Juergen Vigna  <jug@sad.it>
10099
10100         * text2.C (getFont): get the drawing font of the Inset if this
10101         paragraph is inside an inset (only important for InsetERT for now).
10102
10103         * buffer.C (insertErtContents): use new lanugage params in ERT
10104         constructor.
10105
10106         * CutAndPaste.C: commenting out seemingly uneeded code.
10107
10108 2002-02-19  Allan Rae  <rae@lyx.org>
10109
10110         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10111         Iterators might be simple to use but they also get invalidated.
10112         (removeAutoInsets): renamed saved cursor tracking variables and added
10113         some comments to clarify what everything does.
10114
10115 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10116
10117         * Chktex.C:
10118         * LaTeX.C:
10119         * LyXSendto.C:
10120         * converter.C:
10121         * lyx_cb.C:
10122         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10123         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10124
10125         * lyxfunc.C:
10126         * vc-backend.h: remove #include "support/syscall.h"
10127
10128         * LaTeX.C:
10129         * LyXSendto.C:
10130         * converter.C: rearrange #includes in Lars' approved fashion.
10131
10132         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10133         forward declare class Timeout in the header file.
10134
10135         * XFormsView.C: changes due to the above.
10136
10137         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10138         similar to LyXView.
10139
10140         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10141         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10142
10143 2002-02-18  José Matos  <jamatos@fep.up.pt>
10144
10145         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10146         insets contents.
10147
10148 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10149
10150         * a lot of small ws changes
10151         * add a lot of using std::XXX
10152         * use std construcs some places where approp.
10153         * use some exisint stuff from lyxfunctional where approp.
10154         * Make file changes to use partial linking (lets test this now...)
10155
10156 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10157
10158         * Chktex.C:
10159         * buffer.C:
10160         remove #include "support/syscontr.h" as it's redundant. Always has been.
10161
10162         * Chktex.C:
10163         * LaTeX.C:
10164         * LyXSendto.C:
10165         * converter.C:
10166         * lyx_cb.C:
10167         * vc-backend.C:
10168         change Systemcalls::System to Systemcalls::Wait and
10169         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10170         No change of functionality, just reflects the stripped down Systemcalls
10171         class.
10172
10173 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10174
10175         * debug.[Ch]: add a GRAPHICS type to the enum.
10176
10177 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10178
10179         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10180
10181         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10182         there is an inset.
10183
10184 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10185
10186         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10187         match the changes below.
10188
10189         * text2.C (toggleInset): if there is not editable inset at cursor
10190         position, try to see if cursor is _inside_ a collapsable inset
10191         and close it.
10192
10193 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10194
10195         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10196         document menu has a nice checkbox
10197
10198 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10199
10200         * lyxlength.C (asLatexString): change PW to output as percent of
10201         \textwidth.
10202
10203         * lengthcommon.C: change '%' to 't%'
10204
10205         * lyxfunc.C (dispatch): a few comments from Martin
10206
10207 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10208
10209         * WorkArea.h:
10210         * WorkArea.C:
10211         * BufferView_pimpl.h:
10212         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10213           the X selection.
10214
10215 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10216
10217         * vspace.C (inPixels): fix compiler warning
10218
10219 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10220
10221         * lyxfunc.C (getStatus): fix status message for disabled commands.
10222
10223 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10224
10225         * BufferView_pimpl.C: fix crash on close buffer
10226         during selection (#227)
10227
10228 2002-01-27  Herbert Voss  <voss@lyx.org>
10229
10230         * buffer.C: link old Figure to new graphic inset
10231
10232 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10233
10234         * FontLoader.C (getFontinfo): Change the latex font names in order
10235         to match the names of type1inst.
10236
10237 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10238
10239         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10240
10241         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10242         (extchanged): ditto
10243         (ext_exist): ditto
10244         (remove_files_with_extension): ditto
10245         (remove_file): ditto
10246         (write): ditto
10247
10248         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10249         document is smaller than the work area height. Do not initialize
10250         static variables to 0.
10251
10252 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10253
10254         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10255
10256         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10257         LFUN_LAYOUT_PARAGRAPHS.
10258
10259         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10260         tabular. It is possible to provide a possible cell, which will
10261         typically be the actcell from the corresponding insettabular
10262
10263         * lyxfunc.C (getStatus): small cleanup; disable
10264         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10265         true
10266
10267 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10268
10269         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10270
10271         * paragraph.C (startTeXParParams):
10272         (endTeXParParams): new methods. The LaTeX code to
10273         start/end paragraph formatting
10274         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10275         empty (fixes bug #200)
10276
10277         * vspace.C (inPixels): adapt to the change below
10278         (inPixels): [later] more cleanups (remove unused variables)
10279
10280         * lyxlength.C (inPixels): change to use a width and a height as
10281         parameter.
10282
10283 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10284
10285         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10286         Replaced with \paperwidth
10287
10288         * DepTable.C (insert): add std:: qualifier
10289
10290 2002-01-18  Allan Rae  <rae@lyx.org>
10291
10292         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10293         updated also?
10294
10295         * text.C (drawInset): Turned out I didn't know enough about how
10296         rebreaking worked.  This fixes most of the redraw problems.  I see
10297         an occasional cursor trail when a line is broken now and the cursor
10298         placement can seem out by a few pixels also after a rebreak.
10299
10300 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10301
10302         * buffer.C (parseSingleLyXformat2Token): update because minipage
10303         width is now a LyXLength
10304
10305         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10306
10307         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10308         math insets
10309
10310 2002-01-17  Juergen Vigna  <jug@sad.it>
10311
10312         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10313
10314         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10315         is set correctly and the inset is updated correctly.
10316
10317 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10318
10319         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10320         the beginning of the loop.
10321
10322 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10323
10324         * lyxrc.C: improve help for use_scalable_fonts
10325
10326 2002-01-17  Allan Rae  <rae@lyx.org>
10327
10328         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10329
10330 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10331
10332         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10333         make sure to set their inset_owner to the right value (bug #171)
10334
10335 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10336
10337         * DepTable.h
10338         * DepTable.C: Implement mtime checking to reduce time spent doing
10339         CRCs.
10340
10341 2002-01-16  Juergen Vigna  <jug@sad.it>
10342
10343         * tabular.C (GetAdditionalHeight): one of error fixed.
10344
10345         * lyxrc.C (output): small fix in writing use_pspell.
10346
10347 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10348
10349         * sp_base.h: #include LString.h
10350
10351 2002-01-16  Allan Rae  <rae@lyx.org>
10352
10353         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10354         Can someone check this please?
10355
10356         * text.C (drawInset): It was possible that p.row would be removed by
10357         breakAgainOneRow upsetting a few other settings.  There may be another
10358         small tweak possible by setting need_break_row = 0 when p.row has been
10359         removed but I don't know enough about the logic here.
10360
10361 2002-01-15  Allan Rae  <rae@lyx.org>
10362
10363         * text.C (insertChar): removed conditional truism.
10364
10365         * BufferView2.C (removeAutoInsets): More tweaks.
10366         cur_par_prev could be a stray pointer.  Check for trailing empty line
10367         in case last line was cur_par and only had an error inset on it.
10368
10369 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10370
10371         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10372         absolute
10373
10374         * vc-backend.C (most methods):
10375         * exporter.C (Export):
10376         * converter.C (convert):
10377         (runLaTeX):
10378         * LyXSendto.C (SendtoApplyCB):
10379         * lyxfunc.C (dispatch):
10380         (menuNew):
10381         (open):
10382         (doImport):
10383         * lyx_cb.C (AutoSave):
10384         (InsertAsciiFile):
10385         * BufferView_pimpl.C (MenuInsertLyXFile):
10386         * buffer.C (runChktex): use Buffer::filePath().
10387
10388         * buffer.h: rename filename to filename_; rename filepath to
10389         filepath_ and make it private
10390         (filePath): new method
10391
10392         * buffer.C (writeFile): use fileName()
10393         (getLatexName):
10394
10395         * lyx_main.C (init): fix starting  of LyX when the binary is a
10396         link from so,ewhere else.
10397
10398         * minibuffer.C: include <cctype> for isprint
10399
10400 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10401
10402         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10403         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10404         name clash with InsetCollapsable's width function.
10405
10406 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10407
10408         * lastfiles.C: include <iterator>
10409
10410 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10411
10412         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10413         std::count.
10414
10415         * buffer.C (makeLaTeXFile): ditto.
10416         Also make loop operation more transparent.
10417
10418 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10419
10420         * ToolbarDefaults.C: remove trailing comma closing namespace.
10421
10422         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10423
10424         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10425         as in WorkArea.
10426
10427         * trans.C (Load): comment out unused variable, allowed.
10428
10429 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10430
10431         * minibuffer.[Ch] (append_char): new method to recieve input from the
10432         drop-down completion browser. If a key was pressed, then recieve this
10433         char and append it to the existing string.
10434         (peek_event): modify the positioning data passed to the completion
10435         browser so that it can be placed above the minibuffer rather than below.
10436 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10437
10438         * LyXAction.C (init): alloe error-next for readonly documents.
10439
10440         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10441         count.
10442
10443 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10444
10445         * bufferlist.C (readFile): create the buffer _after_ checking that
10446         the file exists.
10447
10448         * lyxfunc.C (verboseDispatch): fix handling of arguments
10449
10450         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10451
10452         * lyxrc.C: use string::erase() instead of initializing to "".
10453
10454
10455 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10456
10457         * BufferView_pimpl.h:
10458         * BufferView_pimpl.C:
10459         * WorkArea.h:
10460         * WorkArea.C:
10461         * text2.C: tell X when we have made a selection for copying
10462
10463 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10464
10465         * BufferView_pimpl.C (MenuInsertLyXFile):
10466         * lyxfunc.C (menuNew):
10467         (open):
10468         (doImport): add shortcuts to directory buttons
10469
10470         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10471         open a float)
10472
10473         * lyxfunc.C (setStatusMessage):
10474         (getStatusMessage): new methods
10475         (getStatus):use setStatusMessage instead of setErrorMessage
10476         (dispatch): when function is disabled, set error message here
10477         [instead of in getStatus previously]
10478
10479         * BufferView_pimpl.C (workAreaButtonRelease): update
10480         toolbar/menubar here too.
10481
10482 2002-01-13  Allan Rae  <rae@lyx.org>
10483
10484         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10485         Now seems indestructible.  Remaining task is to audit all other
10486         code affected by deleteEmptyParagraphMechanism.  One small quirk
10487         left is that an empty document with an error in the preamble can
10488         be made to report an error but no error box appears.  I don't know
10489         where it goes.
10490         (removeAutoInsets): Improved comments.
10491
10492 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10493
10494         * Thesaurus.h:
10495         * Thesaurus.C: update for Aiksaurus 0.14
10496
10497 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10498
10499         * text2.C (firstParagraph): removed member function, all uses
10500         replaces with ownerParagraph
10501         (redoParagraphs): here
10502         (updateInset): here
10503         (toggleAppendix): here
10504         * BufferView2.C (insertErrors): here
10505         (setCursorFromRow): here
10506
10507 2002-01-13  Allan Rae  <rae@lyx.org>
10508
10509         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10510         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10511         There is still a way to segfault this although you may have to do this
10512         multiple times: Have an InsetERT with an unknown command in it.
10513         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10514         <down-arrow>, <Enter> again, View->DVI, BANG!
10515
10516         * text2.C (setCursor):
10517         (deleteEmptyParagraphMechanism):
10518         * lyxtext.h (setCursor):
10519         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10520         Making use of the return value may help fix other bugs.
10521
10522 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10523
10524         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10525
10526         * LyXView.C (updateMenubar): call MenuBar::update here
10527         (updateToolbar): but not here
10528         (showState): do not update toolbar/menubar
10529
10530         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10531         should need to care about that.
10532
10533         * lyxfunc.C (verboseDispatch): simplify a bit
10534         (getStatus): have a version which takes a pseudoaction, and
10535         another which requires a (kb_action,string).
10536
10537         * LyXAction.C (retrieveActionArg): make it work also when action
10538         is not a pseudo-action.
10539         (getActionName): simplify a bit
10540         (helpText):
10541
10542 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10543
10544         * lyxfunc.C (verboseDispatch): new families of methods with
10545         several ways to specify a command and a bool to indicate whether
10546         the command name and shortcut should be displayed in minibuffer
10547         (eventually, we could extend that to a finer bitmask like
10548         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10549         (dispatch): the pristine dispatch command which just, well,
10550         dispatchs! Note it still sets its result to minibuffer; I'm not
10551         sure we want that.
10552
10553         * lyxfunc.h: remove setHintMessage
10554
10555         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10556
10557 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10558
10559         * BufferView_pimpl.C (specialChar): delete new inset if we have
10560         not been able to insert it.
10561
10562         * kbmap.C: revert to using int instead of kb_action, since all we
10563         are dealing with is pseudo-actions.
10564
10565         * LyXAction.C (searchActionArg): change to return int instead of
10566         kb_action, since the result is a pseudoaction.
10567
10568 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10569
10570         * buffer.C (insertErtContents): Fix (partially) the font bug.
10571
10572 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10573
10574         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10575         as the other one is broken on my machine!
10576
10577 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10578
10579         * commandtags.h:
10580         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10581
10582 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10583
10584         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10585         reflect their actual use. Provide compatibility code for older lyxrc
10586         files.
10587
10588         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10589         FL_NORMAL_STYLE.
10590         change names of popup font variables in line with the changes to lyxrc.C
10591
10592 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10593
10594         * buffer.C (asciiParagraph): avoid outputing a word twice after
10595         an inset.
10596
10597         * lyxrc.C (getDescription): document that document_path and
10598         template_path can be empty.
10599
10600 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10601
10602         * LaTeXFeatures.C (getMacros):
10603         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10604
10605         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10606
10607         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10608         getPackages.
10609         (getPackages): rename feature "floats" to "float". Use an array to
10610         iterate over 'simple' features (i.e. just a \usepackage). Add
10611         handling of "amsmath" (renamed from "amsstyle").
10612
10613 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10614
10615         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10616         features list.
10617
10618 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10619
10620         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10621         FuncStaus::FuncStatus & FuncStaus::some_method().
10622
10623 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10624
10625         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10626         of the func_satus stuff. Edited and massaged in various ways by
10627         JMarc.
10628
10629         * lyxfunc.C (getStatus): use FuncStatus
10630
10631 2002-01-08  Juergen Vigna  <jug@sad.it>
10632
10633         * text.C (nextBreakPoint): use function Inset::isChar().
10634
10635         * paragraph.C (TeXOnePar): use function
10636         Inset::forceDefaultParagraphs.
10637
10638         * buffer.C (latexParagraphs): use function
10639         Inset::forceDefaultParagraphs.
10640
10641 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10642
10643         * lyx_gui.C (init): set the style of the menu popups to
10644         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10645
10646 2002-01-07  Juergen Vigna  <jug@sad.it>
10647
10648         * text.C (setHeightOfRow): small fix
10649         (prepareToPrint): don't look at alignment if we don't have the place
10650         for doing it.
10651
10652 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10653
10654         * box.C: New file. Move the Box methods and functions out of box.h,
10655         following Lars' suggestion.
10656
10657 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10658
10659         * box.h: #include "support/LOstream.h", needed for inlined function.
10660
10661         * lyxtextclass.C:
10662         * lyxtextclasslist.C: added some using std declarations.
10663
10664 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10665
10666         * box.h: make signed dimensions to allow insets wider than
10667           the screen (bug #162)
10668
10669         * BufferView_pimpl.C: add some insetHit debug
10670
10671 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10672
10673         * vc-backend.C: add FIXME
10674
10675 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10676
10677         * lyxfunc.C (getStatus): enable code for showing math font status
10678         in toolbar/menu.
10679
10680 2002-01-07  Juergen Vigna  <jug@sad.it>
10681
10682         * text.C (nextBreakPoint): removed debug output not needed anymore.
10683
10684 2002-01-06  Juergen Vigna  <jug@sad.it>
10685
10686         * text.C (nextBreakPoint): fixed up this function we had this bug
10687         since ever but now hopefully we break row better.
10688         (insertChar): we have to check if an inset is the next char as it
10689         could now happen that a large inset is causing a break.
10690
10691 2002-01-05  Juergen Vigna  <jug@sad.it>
10692
10693         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10694         if it doesn't like to be drawed.
10695
10696 2002-01-04  Juergen Vigna  <jug@sad.it>
10697
10698         * BufferView2.C (lockInset): forgot to set a cursor.
10699
10700         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10701
10702 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10703
10704         * FormMathsPanel.C:
10705         * FormMathsPanel.h
10706         * MathsSymbols.C:
10707         * form_maths_panel.C:
10708         * form_maths_panel.h:
10709         * form_maths_panel.fd: implemented sub- and super- buttons in math
10710         panel.
10711
10712         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10713         (or ^ space) to be used as in TeX (req'd by André).
10714
10715         * lyxfunc.C: Allow ^ and _ again to be used both as
10716         super/subscript (mathed) and as themselves (in text).
10717
10718 2002-01-03  Allan Rae  <rae@lyx.org>
10719
10720         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10721         "LyX" or the filename of the current buffer if it has one.  This is a
10722         modified form of John Levon's patch.
10723
10724         * XFormsView.C (setWindowTitle): also set icon title.
10725
10726         * LyXView.h (setWindowTitle): signature changed.
10727         * XFormsView.h (setWindowTitle): ditto.
10728
10729 2002-01-02  Juergen Vigna  <jug@sad.it>
10730
10731         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10732
10733 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10734
10735         * screen.C (topCursorVisible): introduce a temp var for
10736         text->cursor.row(), handle the case where this row is null. (kindo
10737         hachish)
10738
10739         * text2.C (setCursor): add a couple of asserts.
10740
10741         * paragraph.h (inset_iterator): add -> operator
10742
10743         * paragraph.[Ch] (autoDeleteInsets): remove member function
10744
10745         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10746         cursor pos correctly and handle inset deletion by itself.
10747         (insertErrors): move iterator declaration out of for expression
10748
10749         * lyxtextclass.C: add <algorithm>
10750
10751         * Makefile.am: added the new files to sources, removed layout.C
10752
10753         * layout.C: removed file
10754
10755         * layout.h: remove LYX_DUMMY_LAYOUT
10756
10757         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10758         layout.
10759
10760         * lyxlayout.[Ch]:
10761         * lyxtextclass.[Ch]:
10762         * lyxtextclasslist.[Ch]: new files
10763
10764         * include order changes to a lot of files, also changes because of
10765         the six new files.
10766
10767 2001-12-27  Juergen Vigna  <jug@sad.it>
10768
10769         * buffer.C (asciiParagraph): more fixes.
10770
10771         * tabular.C (ascii): make ascii export support export of only the
10772         data separated by a column-delimiter.
10773         (ascii): better support for ascii export.
10774
10775         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10776
10777 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10778
10779         * tabular_funcs.C: use a "using std::getline" instead of the
10780         previous fix from Angus (necessary for cxx + lyxstring)
10781
10782 2001-12-24  Juergen Vigna  <jug@sad.it>
10783
10784         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10785
10786         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10787         problems. First check a minipage also if we have some ert-contents
10788         (not only on par->size(), second set the right depth of the paragraph
10789         on the relink to the root-paragraph-list!
10790
10791         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10792         which then did not anymore update the main paragraphs on undo/redo!
10793
10794 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10795
10796         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10797         code. Support all font-changing funcs (even those which are not in
10798         menu currently). Support for reporting font settings in
10799         mathed (disabled until Andre provides a function on mathed's side).
10800
10801         * func_status.h (toggle): small helper function to set toggle
10802         state on a flag.
10803
10804 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10805
10806         * tabular_funcs.C: getline -> std::getline
10807
10808 2001-12-21  Juergen Vigna  <jug@sad.it>
10809
10810         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10811         accessed and could be 0 (I couldn't generate this but it seems
10812         Michael could!).
10813
10814 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10815
10816         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10817         * tabular_funcs.h: here and include iosfwd
10818
10819 2001-12-20  Juergen Vigna  <jug@sad.it>
10820
10821         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10822         inside inset but undo_par was.
10823
10824 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10825
10826         * Thesaurus.C: always include <config.h> in sources.
10827
10828         * Painter.h:
10829         * lyxlookup.h:
10830         * box.h: do not include <config.h> in header files
10831
10832         * text.C (paintLastRow): remove unused variable
10833
10834         * text.C (transformChar):
10835         (insertChar):
10836         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10837
10838         * Painter.C (text):
10839         * font.C (width): rewrite to use uppercase() instead of
10840         islower/toupper.
10841
10842         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10843
10844 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10845
10846         * lyxfind.C: clean up of find failure position change
10847
10848 2001-12-20  Juergen Vigna  <jug@sad.it>
10849
10850         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10851
10852         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10853         (TeXRow): added to LaTeX a single tabular row.
10854         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10855         (Latex): simplified and finally good LT-h/f support.
10856         (various_functions): just small adaptions for LT-h/f support.
10857
10858         * tabular_funcs.[hC]: added and moved here all not classfunctions
10859         of LyXTabular.
10860
10861 2001-12-19  Juergen Vigna  <jug@sad.it>
10862
10863         * tabular.[Ch]: better support for longtabular options (not finished
10864         yet!)
10865
10866 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10867
10868         * text.C (paintLastRow): use the label font instead of the font of
10869         the last character to compute the size of *_BOX. This makes more
10870         sense and avoids a crash with empty paragraphs.
10871         Use Painter::rectangle to draw EMPTY_BOX.
10872
10873 2001-12-19  Juergen Vigna  <jug@sad.it>
10874
10875         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10876         the paragraphs if the replaced paragraph is not the first one!
10877         Tried to delete not used paragraphs but does not work yet so for
10878         now it's inside #ifdef's and by default off!
10879
10880 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10881
10882         * MenuBackend.C: include "lyx_main.h" instead of declaring
10883         lastfiles (actually was declared as LastFiles* instead of a
10884         scoped_ptr).
10885
10886 2001-12-17  Juergen Vigna  <jug@sad.it>
10887
10888         * tabular.C (AppendColumn): applied John's fix
10889
10890 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10891
10892         * BufferView.h:
10893         * BufferView.C:
10894         * BufferView_pimpl.h:
10895         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10896
10897         * Makefile.am:
10898         * box.h: new start of class for above
10899
10900         * lyxfunc.C: ignore space-only minibuffer dispatches.
10901           Show the command name when it doesn't exist
10902
10903         * minibuffer.C: don't add empty lines to the history
10904
10905         * minibuffer.C: add a space on dropdown completion
10906
10907 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10908
10909         * text.C: fix line above/below drawing in insets
10910
10911 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10912
10913         * lyxlength.C (LyXLength): Initialize private variables.
10914
10915 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10916
10917         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10918         when inserting error insets.
10919
10920 2001-12-13  Juergen Vigna  <jug@sad.it>
10921
10922         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10923         actually sometimes the before-paragraph.
10924         (setUndo): don't clear the redostack if we're not actually undoing!
10925
10926 2001-12-06  Juergen Vigna  <jug@sad.it>
10927
10928         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10929         and fixed redoing of main paragraph, so we can use it now ;)
10930
10931         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10932
10933 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10934
10935         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10936         Juergen's request
10937
10938 2001-12-13  André Pönitz <poenitz@gmx.net>
10939
10940         * undostack.[Ch]:
10941         * undo_func.C: minor cleanup
10942
10943 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10944
10945         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10946         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10947         font in urw-fonts package which is marked as -urw-fontspecific and
10948         does not work (incidentally, changing the encoding in the
10949         fonts.dir of this package to -adobe-fontspecific fixes the
10950         problem).
10951
10952         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10953         is a crash when undoing first paragraph (Juergen, please take a
10954         look). THis does not mean the undo fix is wrong, just that it
10955         uncovers problems.
10956
10957         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10958         the (Paragraph*) version when needed instead of duplicating the
10959         code.
10960
10961         * text.C (workWidth): use Inset::parOwner to find out where the
10962         inset has been inserted. This is a huge performance gain for large
10963         documents with lots of insets. If Inset::parOwner is not set, fall
10964         back on the brute force method
10965
10966         * paragraph_pimpl.C (insertInset):
10967         * paragraph.C (Paragraph):
10968         (cutIntoMinibuffer): set parOwner of insets when
10969         inserting/removing them
10970
10971         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10972
10973 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10974
10975         * commandtags.h:
10976         * LyXAction.C:
10977         * lyx_main.C:
10978         * lyxfunc.C:
10979         * mathed/formulabase.C:
10980         * mathed/math_cursor.[Ch]:
10981         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10982
10983
10984 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10985
10986         * lyxlength.[Ch] (operator!=): new function
10987
10988 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10989
10990         * text.C (workWidth): use Inset::parOwner to find out where the
10991         inset has been inserted. This is a huge performance gain for large
10992         documents with lots of insets. If Inset::parOwner is not set, fall
10993         back on the brute force method
10994
10995         * paragraph_pimpl.C (insertInset):
10996         * paragraph.C (Paragraph):
10997         (cutIntoMinibuffer): set parOwner of insets when
10998         inserting/removing them
10999
11000         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11001
11002 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11003
11004         * tabular-old.C (getTokenValue):
11005         * tabular.C (getTokenValue):
11006         (write_attribute): new versions for LyXLength
11007         (everywhere): adjust the use of widths
11008
11009         * tabular.h: change the type of widths from string to LyXLength
11010
11011 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11012
11013         * paragraph.C: fixed missing line number count when exporting
11014         Environments to LaTeX file
11015
11016         * buffer.C: added informational message for checking line numbers.
11017
11018 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11019
11020         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11021         paragraph, do the 'double space' part, but not the 'empty
11022         paragraph' one.
11023
11024         * text.C (workWidth): small optimization
11025         (getLengthMarkerHeight): use minimal size for negative lengths.
11026
11027 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11028
11029         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11030
11031         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11032
11033 2001-12-11  André Pönitz <poenitz@gmx.net>
11034
11035         * FontLoader.C:
11036         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11037
11038 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11039
11040         * text2.C: keep selection on a setFont()
11041
11042 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11043
11044         * lyx_cb.C: another bv->text misuse, from insert label
11045
11046 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11047
11048         * kbsequence.h:
11049         * kbsequence.C: re-instate nmodifier mask
11050
11051 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11052
11053         * lyx_main.h: make lyxGUI private.
11054
11055 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11056
11057         * lyxfind.C: place the cursor correctly on failed search
11058
11059 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11060
11061         * text.C (getLengthMarkerHeight): for small heights, the arrows
11062         are not always on top/bottom of the text
11063         (drawLengthMarker): smaller arrows; take the left margin in
11064         account; draw also vfills.
11065         (paintFirstRow):
11066         (paintLastRow): remove special code for vfill and standard spaces,
11067         since everything is handled in drawLengthMarker now.
11068
11069 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11070
11071         * buffer.C (insertErtContents): try to handle font and language
11072         interaction a bit better.g
11073
11074         * ColorHandler.C (updateColor): change the hash to cover the whole
11075         LColor enum, ws cleanup
11076         (getGCLinepars): ditto
11077         (getGCLinepars): only lookup in the linecache once.
11078
11079 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11080
11081         * iterators.C (operator++): Make the iterator more robust
11082
11083         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11084         (John's patch)
11085         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11086
11087 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11088
11089         * lyxtext.h:
11090         * text.C: better added space drawing
11091
11092 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11093
11094         * LyXView.C:
11095         * BufferView2.C: fix layout combo update on inset unlock
11096
11097 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11098
11099         * Makefile.am: don't compile unused files
11100
11101 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11102
11103         * lyxfunc.C:
11104         * commandtags.h:
11105         * LyXAction.C: remove old LFUN_LAYOUTNO
11106
11107 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11108
11109         * paragraph_pimpl.h:
11110         * paragraph_pimpl.C: isTextAt() doesn't need font param
11111
11112 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11113
11114         * lyxlex.h:
11115         * lyxlex.C: little cleanup
11116
11117 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11118
11119         * BufferView_pimpl.C: fix insertAscii for insets
11120
11121 2001-12-05  Juergen Vigna  <jug@sad.it>
11122
11123         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11124         set the right font on the "multi" paragraph paste!
11125
11126 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11127
11128         * trans_decl.h:
11129         * trans_mgr.[Ch]:
11130         * trans.[Ch]:
11131         * lyxgluelength.C:
11132         * lyxlength.C: remove out-commented code.
11133
11134         * BufferView_pimpl:
11135         * CutAndPaste.C:
11136         * DepTable.C:
11137         * buffer.C:
11138         * chset.C:
11139         * lastfiles.C:
11140         * lyxlex.C:
11141         * lyxlex_pimpl.C:
11142         * lyxserver.C:
11143         * screen.C:
11144         * tabular-old.C:
11145         * tabular.C:
11146         * text.C:
11147         * trans_mgr.C:
11148         * vc-backend.C: change "while(" to "while ("
11149
11150         * lyxlength.[Ch]: add zero function to check if length is zero or
11151         not
11152         * lyxgluelength.C: use it
11153
11154 2001-12-05  Allan Rae  <rae@lyx.org>
11155
11156         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11157         Works for 2.95.3, from what I understand of Garst's reports this should
11158         work for other g++ versions.  We're screwed if the abs(int) definition
11159         changed between bugfix releases of gcc.
11160
11161 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11162
11163         * text.C: fix chapter label offset !
11164
11165 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11166
11167         * lyxtext.h:
11168         * text.C: fix hfill at end of line, clean up
11169
11170 2001-12-04  Juergen Vigna  <jug@sad.it>
11171
11172         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11173         that we force an update of the inset and it's owners if neccessary.
11174
11175 2001-12-03  Juergen Vigna  <jug@sad.it>
11176
11177         * text.C (rowLast): simplified code
11178
11179 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11180
11181         * lyxfunc.C: fix show options on timeout
11182
11183 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11184
11185         * screen.C (topCursorVisible): scroll half a page when the cursor
11186         reached top of bottom of screen
11187
11188 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11189
11190         * minibuffer.C: deactivate on loss of focus
11191
11192 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11193
11194         * vspace.[Ch] (operator!=): add operator.
11195
11196 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11197
11198         * BufferView_pimpl.C: refuse to open an inset when
11199         there's a selection.
11200
11201 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11202
11203         * BufferView_pimpl.C: allow to click on RHS of full row insets
11204
11205 2001-11-30  Juergen Vigna  <jug@sad.it>
11206
11207         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11208         insets for undo reasons.
11209
11210 2001-11-28  André Pönitz <poenitz@gmx.net>
11211
11212         * vspace.[Ch]: cosmetical changes
11213
11214 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11215
11216         * LyXAction.h:
11217         * LyXAction.C:
11218         * lyxfunc.h:
11219         * lyxfunc.C:
11220         * kbmap.h:
11221         * kbmap.C:
11222         * lyxrc.C:
11223         * kbsequence.h:
11224         * kbsequence.C: part re-write of old kb code
11225
11226         * Painter.C:
11227         * WorkArea.C: remove Lgb_bug_find_hack
11228
11229 2001-11-30  José Matos <jamatos@fep.up.pt>
11230
11231         * buffer.C (makeDocBookFile): add a comment to point a hack.
11232         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11233         Fixed a double write of labels.
11234
11235 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11236
11237         * LaTeX.C:
11238         * LaTeX.h Fixed bug in LaTeX class where it would not
11239         re-run latex if no depfiles were changed, but the .dvi was removed.
11240
11241 2001-11-28  André Pönitz <poenitz@gmx.net>
11242
11243         * all the files from the change on 2001/11/26:
11244         use lyx::layout_type instead of LyXTextClass::size_type
11245         use lyx::textclass_type instead of LyXTextClassList::size_type
11246
11247 2001-11-29  Juergen Vigna  <jug@sad.it>
11248
11249         * text.C: added support for paragraph::isFreeSpacing()
11250
11251         * buffer.C: same as above
11252
11253         * paragraph.h: inserted isFreeSpacing() function to enable
11254         FreeSpacing inside InsetERT.
11255
11256         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11257         of the paragraph's in the cut/copy buffer to 0!
11258
11259         * text2.C (removeRow): remove the assert as it can!
11260
11261         * lyxtext.h: added helper function firstRow returning firstrow and
11262         made firstrow private again.
11263
11264         * BufferView2.C (lockInset): don't relock if we're already locked!
11265
11266         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11267         the only paragraph.
11268         (removeRow): added Assert::(firstrow)
11269
11270         * debug.C: forgot to add INSETTEXT here.
11271
11272 2001-11-28  Juergen Vigna  <jug@sad.it>
11273
11274         * sp_spell.C (initialize): changed error text to more general
11275         spellchecker command use (not only ispell!)
11276
11277         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11278
11279         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11280
11281 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11282
11283         * vspace.C: initialise lyxgluelength on failure
11284
11285 2001-11-28  Allan Rae  <rae@lyx.org>
11286
11287         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11288         declaration & definition that looks like a function declaration.
11289
11290 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11291
11292         * BufferView2.C (copy):
11293         (copyEnvironment): do not clear the selection when doing a copy.
11294
11295         * text.C (paintFirstRow): compilation fix
11296
11297 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11298
11299         * tabular.C (Latex): correct line count when writing latex.
11300
11301 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11302
11303         * paragraph_pimpl.h:
11304         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11305           bug a bit
11306
11307 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11308
11309         * text.C:
11310         * LColor.h:
11311         * LColor.C: change vfillline->added_space
11312
11313         * text.C: add markers and text for added space
11314
11315         * vspace.C: fix comment
11316
11317 2001-11-28  André Pönitz <poenitz@gmx.net>
11318
11319         * paragraph.C: whitespace changes
11320         * all the other files from the change on 2001/11/26:
11321         change *::pos_type into lyx::pos_type
11322
11323 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11324
11325         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11326         language of the document when inserting error insets.
11327
11328 2001-11-26  André Pönitz <poenitz@gmx.net>
11329
11330         * BufferView_pimpl.[Ch]:
11331         *       CutAndPaste.C:
11332         * buffer.[Ch]:
11333         * lyxcursor.[Ch]:
11334         * lyxfind.C:
11335         * lyxfunc.C:
11336         * lyxrow.[Ch]:
11337         * paragraph.[Ch]:
11338         * paragraph_pimpl.[Ch]:
11339         * sp_spell.C:
11340         * text.C:
11341         * text2.C: reduce header dependencies, introduce type for positions
11342
11343 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11344
11345         * <various>: change to use Alert.h
11346
11347 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11348
11349         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11350         when encountering an unknown token.
11351         (readLyXformat2): Show an error message if there were unknown tokens.
11352
11353 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11354
11355         * BufferView2.C:
11356         * BufferView_pimpl.C:
11357         * buffer.C:
11358         * paragraph.h:
11359         * text.C:
11360         * text2.C: use par->isInset()
11361
11362 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11363
11364         * paragraph_pimpl.h:
11365         * paragraph_pimpl.C: cleanup
11366
11367 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11368
11369         * text2.C (removeRow):
11370         * text.C (setHeightOfRow): remove useless (and costly) call to
11371         getRow.
11372
11373 2001-11-20  Allan Rae  <rae@lyx.org>
11374
11375         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11376         Now need Inset*::checkInsertChar() to return true for appropriate
11377         cases so that the characters in the minibuffer will actually be
11378         inserted.
11379
11380 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11381
11382         * text.C: change the order of the includes.
11383         (workWidth): initialize it at once.
11384         (workWidth): make maxw unsigned
11385         (setHeightOfRow): remove unused variable (inset)
11386         (selectSelectedWord): remove unused variable (inset)
11387         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11388
11389 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11390
11391         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11392         server is not running.
11393         (openConnection):
11394         (closeConnection): add debug info when server is disabled.
11395
11396         * ColorHandler.C (getGCForeground): send debug message to GUI
11397         channel.
11398
11399         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11400
11401         * kbmap.C (bind): modify because return conventions of
11402         kb_sequence::parse have changed.
11403
11404         * kbsequence.C (parse): only ignore spaces and not any stupid
11405         control character. This avoids tests like s[i] <= ' ', which are
11406         guaranteed to fail with 8bit characters and signed chars.
11407         Change return code to string::npos when there have been no error
11408         (0 was a bad idea when error is at first character)
11409
11410 2001-11-14  José Matos  <jamatos@fep.up.pt>
11411
11412         * buffer.h:
11413         * buffer.C (simpleDocBookOnePar): removed unused argument.
11414
11415 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11416
11417         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11418         insets which are part of a word. Paragraph::isLetter takes care of
11419         that now. Use Paragraph::isInset to identify insets.
11420         (selectSelectedWord): do not test for hyphenation break.
11421
11422         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11423         that protected spaces are considered as spaces.
11424
11425         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11426         Inset::isLetter.
11427
11428 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11429
11430         * lyxserver.h:
11431         * lyxserver.C: fix it. and small cleanup.
11432
11433 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11434
11435         * BufferView_pimpl.C: use inline helpers
11436
11437         * LaTeXFeatures.h:
11438         * LaTeXFeatures.C: fix typos
11439
11440         * Spacing.h:
11441         * Spacing.C: move spacing_string into class
11442
11443         * ToolbarDefaults.C: move stuff into namespace anon
11444
11445         * layout.h: update enum
11446
11447         * lyxfunc.C: use better debug
11448
11449         * minibuffer.h: fix typo
11450
11451         * debug.h:
11452         * debug.C:
11453         * WorkArea.C: add and use Debug::WORKAREA
11454
11455         * lyxtext.h:
11456         * text.C:
11457         * text2.C: code re-organisation, inline helpers
11458
11459 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11460
11461         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11462         std::vector.empty().
11463
11464 2001-11-09  Allan Rae  <rae@lyx.org>
11465
11466         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11467         '\n's after tables.  Tabular and ERT inset work now makes this no
11468         longer necessary.
11469
11470 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11471
11472         * minibuffer.h:
11473         * minibuffer.C: fix crash, improve drop-down completion
11474
11475 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11476
11477         * lyxserver.h:
11478         * lyxserver.C: invalidate fd's when doing endPipe()
11479
11480 2001-11-08  José Matos  <jamatos@fep.up.pt>
11481
11482         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11483         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11484
11485         * paragraph.h:
11486         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11487
11488 2001-11-07  José Matos  <jamatos@fep.up.pt>
11489
11490         * buffer.h:
11491         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11492         const qualifier.
11493
11494         * buffer.C (sgmlOpenTag):
11495         * buffer.C (sgmlCloseTag): removed debug info.
11496
11497         * buffer.h (sgmlOpenTag):
11498         * buffer.h (sgmlCloseTag): made public.
11499
11500 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11501
11502         * buffer.C (saveParamsAsDefaults):
11503         * lyx_cb.C (MenuLayoutSave): remove
11504
11505         * LyXAction.C (init):
11506         * commandtags.h:
11507         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11508
11509 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11510
11511         * buffer.C (setPaperStuff): removed from here...
11512
11513         * bufferparams.C (setPaperStuff): ... and moved there.
11514
11515 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11516
11517         * minibuffer.h:
11518         * minibuffer.C:
11519         * XFormsView.C: add support for drop-down completion
11520
11521 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11522
11523         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11524         commands.
11525
11526 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11527
11528         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11529         disabled.
11530
11531 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11532
11533         * lyx_main.C: change ref to known bugs
11534
11535 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11536
11537         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11538         to work around older babel problems.
11539
11540 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11541
11542         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11543
11544 2001-10-24  Juergen Vigna  <jug@sad.it>
11545
11546         * tabular-old.C (ReadOld): below variable changes reflected.
11547
11548         * tabular.[Ch]: added ltType struct for longtable header/footer
11549         defines and changed all instances where they are used. Added
11550         future support for double top/bottom rows.
11551
11552 2001-10-24  José Matos  <jamatos@fep.up.pt>
11553
11554         * buffer.h (docbookHandleCaption):
11555         * buffer.C (docbookHandleCaption): removed unused function.
11556         (makeDocBookFile): moved docbook supported version to v4.1.
11557
11558 2001-10-24  José Matos  <jamatos@fep.up.pt>
11559
11560         * tabular.h:
11561         * tabular.C (docbookRow): new function to export docbook code of a row.
11562         (DocBook): now honors the longtable flags.
11563
11564 2001-10-23  José Matos  <jamatos@fep.up.pt>
11565
11566         * LaTeXFeatures.h:
11567         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11568         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11569
11570         * buffer.C (makeLinuxDocFile):
11571         (makeDocBookFile): reworked the preamble, more clean, and with
11572         support for lyx defined entities. Changed the document declaration
11573         to be more XML friendly.
11574
11575         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11576         if we need to output XML that should be done with a filter.
11577
11578 2001-10-22  Juergen Vigna  <jug@sad.it>
11579
11580         * sp_pspell.h (class PSpell): add alive function needed in the
11581         controller to see if the spellchecker could be started.
11582
11583 2001-10-22  Juergen Vigna  <jug@sad.it>
11584
11585         * buffer.C (insertStringAsLines): modify the font for inserting
11586         chars in certain conditions by calling checkInsertChar(font).
11587
11588 2001-10-19  Juergen Vigna  <jug@sad.it>
11589
11590         * text.C (workWidth): use getRow instead of wrong algorithm.
11591         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11592
11593 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11594
11595         * lyxserver.h:
11596         * lyxserver.C:
11597         * lyx_main.h:
11598         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11599
11600 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11601
11602         * text.C (workWidth): do not search for the exact row when
11603         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11604         optimization for big documents.
11605
11606 2001-10-18  Juergen Vigna  <jug@sad.it>
11607
11608         * text.C (workWidth): new function with added Inset * parameter.
11609
11610 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11611
11612         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11613
11614         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11615         change return type of getColumnNearX.
11616
11617
11618         * text.C (changeRegionCase): use uppercase/lowercase instead of
11619         toupper/tolower.
11620         (leftMargin):
11621         (rightMargin): simplify code by factoring out the uses of
11622         textclasslist.
11623         (labelFill):
11624         (numberOfHfills):
11625         (setHeightOfRow):
11626         (appendParagraph): use Paragraph::size_type
11627
11628 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11629
11630         * vspace.C (asLatexString): add a missing break
11631
11632 2001-10-15  Herbert Voss  <voss@perce.de>
11633
11634         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11635
11636 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11637
11638         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11639         is not available.
11640
11641 2001-10-10  André Pönitz <poenitz@gmx.net>
11642
11643         * lyxfunc.C: removed greek_kb_flag.
11644
11645 2001-10-10  Herbert Voss  <voss@perce.de>
11646
11647         * lyx_main.C: delete global string help_lyxdir.
11648
11649 2001-10-09  Herbert Voss  <voss@perce.de>
11650
11651         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11652
11653         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11654
11655         * lyx_main.C: added global string help_lyxdir.
11656
11657         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11658
11659 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11660
11661         * lyxrc.C (set_font_norm_type): support iso8859-4
11662
11663 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11664
11665         * LaTeX.C (deplog): add another regex for MikTeX
11666
11667 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11668
11669         * lyxrc.C (set_font_norm_type): support iso8859-3
11670
11671 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11672
11673         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11674
11675         * LaTeXFeatures.C: remove special case of french and index
11676
11677         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11678         before \begin{document}). This solves several incompatibilities.
11679
11680 2001-10-03  Garst Reese  <reese@isn.net>
11681
11682         * lyx_cb.C: change CheckTex error msg.
11683
11684 2001-10-03  José Matos  <jamatos@fep.up.pt>
11685
11686         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11687
11688 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11689
11690         * .cvsignore: update
11691
11692         * lyx_main.C (commandLineVersionInfo): use new style version info.
11693
11694         * buffer.C (writeFile):
11695         (makeLaTeXFile):
11696         (makeLinuxDocFile):
11697         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11698
11699         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11700
11701         * version.h: update to use stuff in version.C
11702
11703         * version.C.in: new file. Contains version information determined
11704         at compile time. This is a merging of version.h and
11705         version_info.h.in.
11706
11707 2001-10-03  Juergen Vigna  <jug@sad.it>
11708
11709         * BufferView_pimpl.C (update): don't change "dirty" status in
11710         updateInset call.
11711
11712 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11713
11714         * WorkArea.C (c-tor): re-position version string slightly.
11715
11716 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11717
11718         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11719         revert to previous code.
11720
11721         WorkArea.[Ch]: (show, destroySplash): methods removed.
11722
11723         WorkArea.C: rework code so that it's an amalgam of the codes before and
11724         after the splash screen was moved to WorkArea.
11725
11726 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11727
11728         * lyxrc.C (read):
11729         * vspace.C (inPixels):
11730         (lyx_advance):
11731         * kbmap.C (bind):
11732         * buffer.C (insertStringAsLines):
11733         (asciiParagraph): fix types to be large enough
11734
11735         * lyxlex_pimpl.h: change member status from short to int
11736
11737         * layout.h: fix type of endlabeltype
11738
11739         * kbmap.C (bind):
11740         * kbsequence.C (parse): change return type to string::size_type
11741
11742         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11743         variable
11744
11745         * Bullet.C (bulletSize):
11746         (bulletEntry): do not use short ints as parameters
11747
11748         * BufferView2.C (insertLyXFile): change a char to an int.
11749
11750         * WorkArea.C (WorkArea): remove unneeded floats in computation
11751
11752 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11753
11754         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11755
11756         * paragraph.C (asString): Do not ignore newline/hfill chars when
11757         copying to the clipboard.
11758
11759 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11760
11761         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11762         after a multi-line inset.
11763
11764 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11765
11766         * paragraph.C (validate): Set NeedLyXFootnoteCode
11767
11768 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11769
11770         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11771         and decrease-error to decrease.
11772
11773 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11774
11775         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11776         it more readable (should be equivalent)
11777
11778 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11779
11780         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11781
11782 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11783
11784         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11785         of a cursor (row, etc.) after a character has been deleted
11786         (deleteEmptyParagraphMechanism): call the method above on _all_
11787         cursors held by the LyXText when a double space has been
11788         detected/deleted.
11789
11790 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11791
11792         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11793         pixmap.
11794         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11795
11796         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11797         background. Use greyOut() and the new show() methods to toggle between
11798         the foreground and background. Add code to remove the splash after
11799         its initial showing.
11800
11801         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11802         (create_forms): no longer call Dialogs::showSplash.
11803
11804 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11805
11806         * .cvsignore: add version_info.h
11807
11808 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11809
11810         * version_info.h.in: new file
11811
11812         * Makefile.am: add version_info.h.in
11813
11814         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11815         version_info.h instead of VERSION_INFO
11816
11817 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11818
11819         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11820         The ERT inset now returns string().
11821
11822 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11823
11824         * lyxtext.h, text.C (selectNextWord): renamed as
11825         selectNextWordToSpellcheck.
11826
11827         * text.C (selectNextWordToSpellcheck): Modified to not select
11828         words inside an ERT inset.
11829
11830 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11831
11832         * lyx_cb.C (MenuLayoutSave): change a bit the question
11833
11834         * sp_base.h: include <sys/types.h>
11835
11836 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11837
11838         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11839
11840 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11841
11842         * several files: fix typos in user-visible strings
11843
11844 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11845
11846         * text2.C (pasteSelection): do not set the selection, since it
11847         will be cleared later. Actually, the intent was to fix the way the
11848         selection was set, but I figured rmoving the code was just as good.
11849
11850 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11851
11852         * FontLoader.C (available): Check if font is available without
11853         loading the font.
11854
11855 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11856
11857         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11858
11859 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11860
11861         * lyxrc.[Ch]: added display_graphics variable and associated code.
11862
11863 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11864
11865         * bufferparams.C (hasClassDefaults): new method. Returns true if
11866         the buffer parameters correspond to known class defaults
11867
11868 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11869
11870         * XFormsView.C (show): set minimum size to the main window.
11871
11872 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11873
11874         * text2.C (copySelection):
11875         (cutSelection):
11876         * lyxfind.C (LyXReplace):
11877         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11878         LyXText::selectionAsString.
11879
11880         * paragraph.C (asString): add "label" argument to the second form
11881
11882         * text2.C (selectionAsString): add "label" argument and pass it to
11883         Paragraph::asString.
11884
11885 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11886
11887         * lyx_main.C (commandLineHelp): remove version information
11888
11889 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11890
11891         * lyx_main.C: add -version commandline option
11892
11893 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11894
11895         * paragraph.h: make the optional constructor arg required instead.
11896         some modifications to other files because of this.
11897
11898         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11899
11900         * lyxserver.C (C_LyXComm_callback): make it static
11901
11902         * lyx_main.C (error_handler): make it static
11903
11904         * lyx_gui.C (LyX_XErrHandler): make it static
11905
11906         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11907
11908         * WorkArea.C: make the extern "C" methods static.
11909
11910         * Makefile.am (lyx_LDADD): simplify
11911
11912 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11913
11914         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11915         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11916
11917         * LyXAction.C (init):
11918         * lyxfunc.C (dispatch): associated code removal.
11919
11920 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11921
11922         * lyxfont.h (isSymbolFont): shut off warning
11923
11924         * text.C (setHeightOfRow):
11925         (getVisibleRow): fix crash with empty paragraphs which have a
11926         bottom line
11927
11928 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11929
11930         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11931         code.
11932
11933 2001-09-04  José Matos  <jamatos@fep.up.pt>
11934         * buffer.C
11935         * buffer.h
11936         * tabular.C (docbook): rename docBook method to docbook.
11937
11938 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11939
11940         * Makefile.am: add dependencies to main.o.
11941
11942 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11943
11944         * FontLoader.C (available): Return false if !lyxrc.use_gui
11945
11946 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11947
11948         * FontInfo.C (query):
11949         * converter.C (view):
11950         * importer.C (Import):
11951         * exporter.C (Export): Can not -> cannot.
11952
11953 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11954
11955         * BufferView_pimpl.C: allow to create index inset even if
11956           string is empty
11957
11958 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11959
11960         * buffer.C (getLists): replace boost::tie code with an explicit pair
11961         as boost::tie can break some compilers.
11962
11963         * iterators.h: Added a std:: declaration to the return type of
11964         ParIterator::size.
11965
11966 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11967
11968         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11969           case.
11970
11971 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11972
11973         * iterators.[Ch]: New files. Provide paragraph iterators.
11974
11975         * buffer.C (changeLanguage): Use paragraph iterators.
11976         (isMultiLingual): ditto
11977
11978         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11979
11980 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11981
11982         * FontLoader.C: Support for cmr font.
11983
11984 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11985
11986         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11987         (available): New method.
11988
11989         * FontInfo.C (getFontname): Use scalable fonts even when
11990         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11991         found.
11992
11993 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11994
11995         * converter.C (Formats::view): reverted! Incorrect fix.
11996
11997 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11998
11999         * converter.C (Formats::view): only output the -paper option
12000         if the dvi viewer is xdvi, thereby fixing bug #233429.
12001
12002 2001-08-23  Herbert Voss  <voss@perce>
12003
12004         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12005
12006 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12007
12008         * Spacing.h (Spacing): Set space to Default on in the default
12009         constructor.
12010
12011 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12012
12013         * vc-backend.h (RCS::versionString): add RCS to version
12014         (CVS::versionString): add CVS to version
12015
12016         * vc-backend.C (scanMaster): do not add CVS to version.
12017         (scanMaster): do not add RCS to version
12018
12019         * lyxvc.C (versionString): new method
12020
12021         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12022
12023 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12024
12025         * Spacing.C (set): initialize fval
12026
12027 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12028
12029         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12030         " or \.
12031
12032 2001-08-16  Juergen Vigna  <jug@sad.it>
12033
12034         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12035
12036 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12037
12038         * BufferView_pimpl.C:
12039         * figureForm.C:
12040         * lyxtext.h:
12041         * text2.C: setParagraph takes linespacing now
12042
12043 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12044
12045         * LyxAction.C: add internal LFUN_CITATION_INSERT
12046
12047         * LyXView.C: actually apply fix
12048
12049         * bufferlist.C: fix open non-existent file
12050
12051         * lyxfind.C: fix indentation
12052
12053         * lyxfunc.C: remove unneeded assert, fix typo
12054
12055 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12056
12057         * MenuBackend.C: use "Floatname List"
12058
12059 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12060
12061         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12062         when converting LaTeX layout to insetERT.
12063         Generate a non-collapsed float when reading old float
12064
12065 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12066
12067         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12068         ERT insets.
12069
12070 2001-08-13  Juergen Vigna  <jug@sad.it>
12071
12072         * text.C (fill): return 0 instead of 20 as this seems to be the more
12073         correct value.
12074
12075 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12076
12077         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12078         lyxrc.font_norm.
12079
12080 2001-08-13  Juergen Vigna  <jug@sad.it>
12081
12082         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12083         casesensitive off.
12084         (SearchBackward): comment out the unlocking of the inset_owner this
12085         should not be needed!
12086
12087 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12088
12089         * Many files: Remove inherit_language, and add latex_language
12090
12091         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12092         collapsible insets.
12093
12094 2001-08-10  Juergen Vigna  <jug@sad.it>
12095
12096         * text.C (prepareToPrint): fixed hfill-width in draw!
12097
12098         * BufferView2.C (selectLastWord): save the selection cursor as this
12099         now is cleared in the function LyXText::clearSelection!
12100
12101 2001-08-08  Juergen Vigna  <jug@sad.it>
12102
12103         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12104         BACKSPACE type functions.
12105
12106         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12107         is only cutted from the document but not put in the cut-buffer, where
12108         still the old stuff should be.
12109
12110         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12111
12112         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12113
12114         * tabular.C (SetWidthOfCell): fixed special case where the width
12115         was not updated!
12116         (LeftLine): handle '|' in align_special.
12117         (RightLine): ditto
12118         (LeftAlreadyDrawed): ditto
12119         (SetWidthOfCell): ditto
12120
12121 2001-08-07  Juergen Vigna  <jug@sad.it>
12122
12123         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12124
12125 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12126
12127         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12128         * lyxlex.[hC]: ditto
12129
12130 2001-08-06  Juergen Vigna  <jug@sad.it>
12131
12132         * text.C (getVisibleRow): fix up row clearing a bit.
12133
12134 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12135
12136         * minibuffer.C: make sure the X server sees the changes in the input.
12137
12138 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12139
12140         * paragraph.C (getFont): split into...
12141         (getLabelFont): this
12142         (getLayoutFont): and this
12143         * paragraph_pimpl.C (realizeFont): calling this
12144
12145         * text2.C (getFont): split into...
12146         (getLayoutFont): this
12147         (getLabelFont): and this
12148         (realizeFont): all three calling this
12149
12150         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12151         files where used.
12152
12153 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12154
12155         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12156
12157 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12158
12159         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12160         layouts from the Quote inset insertion.
12161
12162 2001-08-03  Juergen Vigna  <jug@sad.it>
12163
12164         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12165
12166         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12167         only if status not is already CHANGED_IN_DRAW (second level).
12168
12169         * text.C (draw): don't set the need_break_row when inside an
12170         InsetText LyXText.
12171
12172 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12173
12174         * buffer.C (parseSingleLyXformat2Token): handle more latex
12175         conversion cases.
12176
12177         * bufferview_funcs.[hC]: change function names to
12178         begin with small char, adjust other files.
12179
12180 2001-08-02  André Pönitz <poenitz@gmx.net>
12181
12182         * lyxfunc.C:
12183         BufferView_pimpl.C: remove broken special code for math-greek
12184
12185 2001-08-02  Juergen Vigna  <jug@sad.it>
12186
12187         * BufferView_pimpl.C (update): redone this function so that we
12188         update the text again if there was a CHANGE_IN_DRAW.
12189
12190         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12191         (drawFromTo): added a new internal bool which is used by draw() and
12192         redraw() function.
12193         (general): some cursor drawing problems fixed.
12194
12195 2001-08-01  Juergen Vigna  <jug@sad.it>
12196
12197         * lyxfind.C (LyXFind): fixed
12198         (SearchForward): ditto
12199         (SearchBackward): ditto
12200
12201         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12202         spurius drawing of the cursor in the main area.
12203
12204         * text2.C (status): small fix which could lead to a segfault!
12205         (clearSelection): remove unneeded BufferView param.
12206
12207 2001-08-01  André Pönitz <poenitz@gmx.net>
12208
12209         * lyxfunc.C: small change due to changed mathed interface
12210
12211 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12212
12213         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12214
12215 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12216
12217         * lyxfunc.c: fail gracefully if file doesn't exist
12218
12219         * LyXSendto.C:
12220         * buffer.C:
12221         * lyxfunc.C:
12222         * BufferView_pimpl.C: IsDirWriteable() proto changed
12223
12224         * LyXView.C: fix updateWindowTitle() to store the last title
12225
12226 2001-07-31  Juergen Vigna  <jug@sad.it>
12227
12228         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12229         the font (wrong since using of Paragraph::highestFontInRange).
12230
12231         * paragraph.C (highestFontInRange): added a default_size parameter.
12232
12233         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12234         (setHeightOfRow): reformat
12235
12236 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12237
12238         * converter.[hC] + affected files: move to (inital-char)lowercase
12239         function names.
12240
12241         * ParagraphParameters.C (ParagraphParameters): remove commented code
12242
12243         * PainterBase.[Ch]: remove commented code
12244
12245         * LaTeXFeatures.h: add "bool floats" for float.sty
12246
12247         * LaTeXFeatures.C (LaTeXFeatures): init floats
12248         (require): handle float
12249         (getPackages): do it with floats
12250
12251 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12252
12253         * BufferView_pimpl.C (Dispatch): improve handling of
12254         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12255
12256         * commandtags.h: #include lyxfont.h here temporarily to avoid
12257         keybinding bug.
12258
12259         * bufferlist.h: include LString.h here.
12260
12261 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12262
12263         * text2.C (getStringToIndex): new method.
12264
12265 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12266
12267         * *: Reduced header file dependencies all over.
12268
12269 2001-07-30  Baruch Even  <baruch@lyx.org>
12270
12271         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12272
12273 2001-07-29  Baruch Even  <baruch@lyx.org>
12274
12275         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12276
12277 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12278
12279         * ParameterStruct.h (endif): add a default constructor to make
12280         sure that all variables is initialized.
12281
12282         * ParagraphParameters.C (ParagraphParameters): adjust
12283
12284 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12285
12286         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12287         index; also, check that there is something to index, and that it
12288         does not span over several paragraphs.
12289         (doubleClick): use WHOLE_WORD_STRICT for double click.
12290
12291         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12292
12293         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12294         scheme.
12295
12296 2001-07-26  Baruch Even  <baruch@lyx.org>
12297
12298         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12299         an InsetFig figure, backwards compatible reading of old figure code.
12300
12301 2001-07-27  Juergen Vigna  <jug@sad.it>
12302
12303         * text2.C: font.realize function adaption.
12304
12305         * text.C (draw): add a warnings lyxerr text if needed.
12306
12307         * layout.C: font.realize function adaption.
12308
12309         * language.C: add inherit_language and implement it's handlings
12310
12311         * bufferview_funcs.C (StyleReset): remove language parameter from
12312         font creation (should be language_inherit now).
12313
12314         * bufferparams.C (writeFile): handle ignore_language.
12315
12316         * paragraph.C (getFontSettings): the language has to be resolved
12317         otherwise we have problems in LyXFont!
12318
12319         * lyxfont.C (lyxWriteChanges): added document_language parameter
12320         (update): removed unneeded language parameter
12321
12322         * paragraph.C (validate): fixed wrong output of color-package when
12323         using interface colors for certain fonts in certain environments,
12324         which should not seen as that on the final output.
12325
12326 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12327
12328         * BufferView_pimpl.C:
12329         * Thesaurus.h:
12330         * Thesaurus.C:
12331         * Makefile.am:
12332         * commandtags.h:
12333         * LyXAction.C: add thesaurus support
12334
12335         * lyxfind.h:
12336         * lyxfind.C: add "once" parameter, for thesaurus, to not
12337           move to the next match
12338
12339 2001-07-26  Juergen Vigna  <jug@sad.it>
12340
12341         * lyxfont.C (realize): honor ignore_language too!
12342         (resolved): ditto.
12343
12344         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12345
12346         * text.C (draw): one place more for ignore_language to not draw
12347         itself!
12348
12349 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12350
12351         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12352
12353 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12354
12355         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12356         the minipage conversion problem.
12357
12358 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12359
12360         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12361         insert an inset.
12362
12363 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12364
12365         * BufferView.h: don't forward declare WorkArea
12366
12367         * BufferView.C: don't include WorkArea.h
12368
12369 2001-07-25  André Pönitz <poenitz@gmx.net>
12370
12371         * commandtags.h:
12372         * LyXAction.C:
12373         * lyxfunc.C:  new LFUN 'math-space'
12374
12375         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12376
12377 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12378
12379         * text2.C (toggleInset): call open/close
12380
12381 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12382
12383         * lyxfunc.C (dispatch): add debug for the disabled case
12384
12385         * font.C (buttonText): make similar to rectText
12386
12387         * buffer.C (readInset): comment out parsing of insetlist and
12388         insttheorem
12389
12390         * PainterBase.C (rectText): small correction
12391
12392         * BufferView_pimpl.C: comment out insettheorem and insetlist
12393         * LyXAction.C: ditto
12394         * commandtags.h: ditto
12395
12396 2001-07-24  Juergen Vigna  <jug@sad.it>
12397
12398         * text.C (draw): honor the ignore_language.
12399
12400         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12401
12402 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12403
12404         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12405         char inset.
12406
12407 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12408
12409         * lyxtext.h: remove unused (and unimplemented) methods
12410
12411 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12412
12413         * text.C (getVisibleRow): honor background color
12414
12415         * PainterBase.h:
12416         * Painter.h: remove default color argument for fillRectangle
12417
12418         * text.C (backgroundColor): new method
12419
12420 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12421
12422         * text.C (getVisibleRow): adjust
12423
12424         * font.[Ch] (rectText): new method, metrics
12425         (buttonText): new method, metrics
12426
12427         * PainterBase.[hC]: make rectText and buttonText always draw and take
12428         fewer paramteres.
12429
12430 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12431
12432         * ToolbarDefaults.C (read):
12433         * MenuBackend.C (read): allow escaping in all strings
12434
12435         * BufferView_pimpl.C (insertAndEditInset): new method.
12436         (Dispatch): use insertAndEditInset whenever appropriate.
12437
12438         * BufferView_pimpl.C (insertNote): removed
12439
12440         * BufferView_pimpl.C (smartQuote): new method, moved from
12441         BufferView; if an insetquote cannot be inserted, insert a '"'
12442         character instead.
12443
12444         * BufferView2.C: remove insertCorrectQuote();
12445
12446         * lyxfunc.C (getStatus): Add support for all remaingin
12447         inset-insert lfuns.
12448
12449         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12450
12451         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12452         command (necessary to pass " as parameter of self-insert.
12453
12454         * text.C (selectWordWhenUnderCursor):
12455         (selectWord): add word_location parameter
12456         (selectWordWhenUnderCursor): same + remove special code for word
12457         boundary.
12458         (selectNextWord): use kind() to guess type of insetspecialchar,
12459         not latex().
12460
12461         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12462         (insertErtContents): create ert insets as collapsed.
12463         (readInset): better compatibility code for Info inset.
12464
12465 2001-07-20  Juergen Vigna  <jug@sad.it>
12466
12467         * lyxfunc.C (dispatch): use always LyXFind now!
12468
12469         * text2.C (init): add a reinit flag so that the LyXText can be
12470         reinited instead of deleted and reallocated (used in InsetText).
12471
12472         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12473
12474         * text.C: ditto
12475
12476         * text2.C: ditto
12477
12478 2001-07-18  Juergen Vigna  <jug@sad.it>
12479
12480         * text.C (selectNextWord): handle insets inside inset by calling
12481         always the bv->text functions so that we can go up the_locking_inset!
12482
12483         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12484         in strange locations when inside an inset!
12485
12486         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12487         handling to include insets.
12488
12489         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12490
12491 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12492
12493         * LyXAction.C (init):
12494         * commandtags.h:
12495         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12496         LIGATURE_BREAK, since the name is so stupid.
12497
12498 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12499
12500         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12501         InsetInfos.
12502
12503         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12504
12505         * sp_form.[Ch]: remove.
12506
12507         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12508
12509         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12510         InsetInfo.
12511
12512         * src/buffer.C (readInset): ditto.
12513
12514 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12515
12516         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12517         menuSeparator(), endOfSentenceDot(), ldots() and
12518         hyphenationPoint(), which are therefore removed.
12519         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12520
12521         * LyXAction.C (init):
12522         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12523
12524         * paragraph.C (getWord): removed.
12525
12526         * BufferView_pimpl.C (Dispatch): use last word or selection for
12527         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12528
12529         * lyx_main.C (queryUserLyXDir): do not ask before creating
12530         user_dir, except if it has been named explicitely.
12531
12532 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12533
12534         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12535         a document of zero size.
12536
12537 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12538
12539         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12540         approriately in the c-tor and in require().
12541         (getPackages): output the appropriate LaTeX for natbib support.
12542
12543         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12544         variables "use_natbib" and "use_numerical_citations" when reading the
12545         LyX file.
12546         (readInset): read the various natbib cite commands.
12547         (validate): white-space change.
12548
12549         * bufferparams.[Ch]: new variables "bool use_natbib" and
12550         "bool use_numerical_citations".
12551         (writeFile): output them in the LyX file.
12552
12553 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12554
12555         * lyxfunc.C (getStatus): add support for all the inset insertion
12556         commands.
12557
12558         * text2.C (insertInset):
12559         * paragraph.C (insetAllowed):
12560         * BufferView_pimpl.C (insertInset): update to take in account the
12561         renaming of insertInsetAllowed
12562
12563         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12564
12565         * text2.C (getInset): new method. returns inset at cursor position.
12566
12567         * BufferView_pimpl.C (Dispatch): changes because of this.
12568
12569         * LyXAction.C (init): rename open-stuff to inset-toggle.
12570
12571         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12572
12573         * text2.C (toggleInset): renamed from openStuff; use
12574         Inset::open().
12575
12576 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12577
12578         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12579
12580         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12581
12582 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12583
12584         * buffer.C (readLyXformat2): Add filename to the error dialog
12585
12586 2001-07-18  Juergen Vigna  <jug@sad.it>
12587
12588         * tabular.C (GetCellNumber): put an assert here instead of the check!
12589
12590 2001-07-17  Juergen Vigna  <jug@sad.it>
12591
12592         * BufferView_pimpl.C (toggleSelection): adapted too.
12593
12594         * text.C (selectNextWord): adapted for use with insets.
12595         (selectSelectedWord): ditto
12596
12597 2001-07-17  Juergen Vigna  <jug@sad.it>
12598
12599         * sp_spell.C (PSpell): fix initialitation order.
12600
12601 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12602
12603         * paragraph.C: spacing
12604
12605 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12606
12607         * sp_spell.C: repair language selection for pspell
12608
12609 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12610
12611         * lyxfunc.h: change more methods to begin with lower char.
12612
12613 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12614
12615         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12616         for unknown layouts.
12617
12618 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12619
12620         * buffer.C (readLyXformat2): Generate an error dialog if there are
12621         unknown layouts.
12622
12623 2001-07-16  Juergen Vigna  <jug@sad.it>
12624
12625         * sp_spell.C: always compile ISpell part.
12626
12627         * lyxrc.C: added use_pspell entry and it's handling.
12628
12629 2001-07-13  Juergen Vigna  <jug@sad.it>
12630
12631         * sp_spell.C: removed double includes.
12632
12633 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12634
12635         Consistent use of Lsstream.h:
12636         * Lsstream.h: added using std::stringstream for consistencies sake.
12637
12638         * buffer.C: removed using std::stringstream
12639
12640         * lyxfont.C (stateText):
12641         * paragraph.C (asString):
12642         * text.C (selectNextWord, selectSelectedWord):
12643         * text2.C (setCounter):
12644         * vspace.C (asString, asLatexString):
12645         std::ostringstream -> ostringstream.
12646
12647 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12648
12649         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12650         * commandtags.h: add LFUN_HELP_ABOUTLYX
12651         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12652
12653 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12654
12655         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12656         cursorToggle()
12657         * lyx_gui_misc.C: remove spellchecker
12658         * lyxfunc.C: showSpellchecker
12659         * sp_base.h: added
12660         * sp_ispell.h: added
12661         * sp_pspell.h: added
12662         * sp_spell.C: added
12663         * sp_form.[Ch]: removed
12664         * spellchecker.[Ch]: removed
12665
12666 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12667
12668         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12669         is set.
12670         (simpleTeXSpecialChars): Simply print the input character without
12671         any special translation if pass_thru is set.
12672
12673         * layout.h: Added bool pass_thru to layout class for being able to
12674         implement pass through of a paragraph for Literate Programming.
12675
12676         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12677         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12678         * layout.C (Read): add "passthru" to list of layout tags and add
12679         code to set the pass_thru boolean when it is read.
12680
12681 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12682
12683         * trans_decl.h: remove allowed from KmodInfo
12684
12685         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12686         remove allowed code
12687         (Load): adjust
12688
12689         * paragraph_pimpl.C (erase): use boost::prior
12690
12691         * Painter.C (text): use data() instead of c_str() when length is
12692         also provided.
12693         * WorkArea.C (putClipboard): ditto
12694         * font.h (width): ditto
12695
12696         * BufferView2.C: use it-> instead of (*it). for iterators
12697         * texrow.C: ditto
12698         * paragraph_pimpl.C: ditto
12699         * paragraph.C: ditto
12700         * minibuffer.C: ditto
12701         * language.C: ditto
12702         * kbmap.C: ditto
12703         * encoding.C: ditto
12704         * counters.C: ditto
12705         * converter.C: ditto
12706         * chset.C: ditto
12707         * Variables.C: ditto
12708         * TextCache.C: ditto
12709         * MenuBackend.C: ditto
12710         * LyXAction.C: ditto
12711         * LColor.C: ditto
12712         * FloatList.C: ditto
12713         * DepTable.C: ditto
12714         * ColorHandler.C (LyXColorHandler): ditto
12715
12716 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12717
12718         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12719
12720         * text2.C (openStuff): reintroduce this method (which had been
12721         nuked in NEW_INSETS frenzy).
12722
12723         * lyxfunc.C (Dispatch): when an action has not been handled, use
12724         its name in the error message, not its number.
12725
12726         * paragraph.C (inInset): change method name to begin with lowercase.
12727
12728         * undo_funcs.C:
12729         * text2.C: updates because of this.
12730
12731 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12732
12733         * ToolbarDefaults.C (add): add spaces in error message
12734
12735 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12736
12737         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12738         (readLyXformat2): rename return_par to first_par, use lyxlex's
12739         pushToken and remove the manual push handling.
12740         (parseSingleLyXformat2Token): add another ert comp. variable:
12741         in_tabular, rename return_par to first_par. handle newlines better
12742
12743 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12744
12745         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12746
12747 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12748
12749         * text2.C (getParFromID): removed
12750
12751         * buffer.C (getParFromID): new method moved form lyxtext.
12752         * BufferView2.C (insertErrors): adjust
12753         (setCursorFromRow): adjust
12754         * BufferView_pimpl.C (restorePosition): adjust
12755         * lyxfunc.C (Dispatch): adjust
12756         * undo_funcs.C (textUndo): adjust
12757         (textRedo): adjust
12758         (textHandleUndo): adjust
12759         (textHandleUndo): adjust
12760
12761 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12762
12763         * buffer.C: up' the LYX_FORMAT
12764
12765         * lyxfont.h: turn NO_LATEX on as default
12766
12767         * buffer.C (insertErtContents): new methods of tex style compability.
12768         (parseSingleLyXformat2Token): use it several places.
12769         * tabular.C (OldFormatRead): and here
12770
12771 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12772
12773         * text2.C: remove some commented code.
12774         reindent file.
12775
12776         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12777         * trans.C: changes because of the above.
12778
12779 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12780
12781         * text2.C (setCounter): Fix counters bug with bibliography layout.
12782
12783 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12784
12785         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12786         own member functions
12787         (simpleTeXSpecialChars): ditto
12788
12789 2001-07-06  Juergen Vigna  <jug@sad.it>
12790
12791         * a lot of files: changed the access to LyXText::status and the
12792         call of undo-functions.
12793
12794         * undo.[Ch]: added a inset_id to the undo informations.
12795
12796         * undo_funcs.[Ch]: added and moved here all undo functions.
12797
12798         * lyxtext.h: give the status enum a weight, made status_ a private
12799         variable and made accessor functions for it, removed the whole bunch
12800         of undo-functions as they are now in their own file, make some
12801         functions publically available. Added function ownerParagraph with
12802         int parameter.
12803
12804         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12805         made InInset() a const function, added getParFromID() function.
12806
12807         * buffer.[Ch]: added const version for inset_iterator functions,
12808         added getInsetFromID() function.
12809
12810         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12811         changed undo functions for new version.
12812
12813 2001-07-05  Juergen Vigna  <jug@sad.it>
12814
12815         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12816         unknow mechanism does not call the proper constructor but only this
12817         one also if I request the other!?
12818
12819 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12820
12821         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12822
12823         * text2.C (LyXText): use initialization lists.
12824
12825         * lyxtext.h (Selection): initialize set_ and mark_
12826         (init): remove method
12827
12828 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12829
12830         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12831
12832 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12833
12834         * screen.[Ch]: change method names to begin with lowercase
12835
12836         * BufferView_pimpl.C (updateScrollbar): simplify further and
12837         hopefully make it a bit faster.
12838
12839 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12840
12841         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12842         calling directly xforms functions.
12843
12844         * Painter.C (Painter):
12845         * lyx_cb.C (MenuWrite):
12846         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12847         fl_display.
12848
12849         * lyx_gui.C: remove bogus guiruntime extern declaration.
12850
12851 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12852
12853         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12854         in NEW_INSETS
12855         (redoDrawingOfParagraph): ditto
12856         (redoParagraphs): ditto
12857         (cutSelection): don't create a object for CutAndPaste use the
12858         static method directly
12859         (pasteSelection): ditto
12860
12861         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12862         LyXview (+ rename)
12863
12864 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12865
12866         * modifications to some other files because of this.
12867
12868         * Makefile.am (lyx_SOURCES): add XFormsView
12869
12870         * XFormsView.[Ch]: new files
12871
12872         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12873         the main window. Move the gui dependent stuff to XFormsView
12874
12875 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12876
12877         * tabular.C (GetCellInset): update cur_cell also in the row/col
12878         version of this function.
12879
12880         * lyxfunc.C: no need to include figure_form.h here.
12881
12882         * FontLoader.h:
12883         * lyxfunc.h:
12884         * lyxscreen.h:
12885         * text2.C:
12886         * lyxvc.C: no need to include forms.h here.
12887
12888 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12889
12890         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12891
12892         * lyxfunc.C (Dispatch):
12893         * Spacing.C (set):
12894         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12895         constructor argument.
12896
12897 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12898
12899         * paragraph.C (Paragraph): dont't clear, and just set layout.
12900         (makeSameLayout): use params's copy contructor.
12901
12902         * ParagraphParameters.[Ch] (makeSame): delete method
12903
12904 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12905
12906         * Variables.[Ch]: fix indentation, rename set to isSet
12907
12908 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12909
12910         * lyxfunc.C (Dispatch): fix typo
12911
12912 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12913
12914         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12915         upper_bound.
12916
12917         * bufferlist.C: include assert.h for emergencyWrite().
12918
12919 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12920
12921         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12922           give up at last (bug #425202) !
12923
12924 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12925
12926         * lyx_gui_misc.C:
12927         * sp_form.h:
12928         * sp_form.C:
12929         * spellchecker.h:
12930         * spellchecker.C: strip spellchecker options and bring up
12931           preferences tab instead
12932
12933 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12934
12935         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12936         the istringstream constructor
12937
12938 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12939
12940         * paragraph.C (getLayout): fix return value
12941
12942         * paragraph.h: do not declare getLayout as inline.
12943
12944         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12945
12946 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12947
12948         * lyxcursor.h (operator<): new func
12949         (operator>): new func
12950         (operator>=): new func
12951         (operator<=): new func
12952
12953         * text.C (changeCase): use selection.start and selection.end
12954         (changeRegionCase): require from to be <= to. Require par to be a
12955         valid paragraph.
12956
12957         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12958
12959 2001-06-27  Juergen Vigna  <jug@sad.it>
12960
12961         * text.C (cursorLeftOneWord): changed to return the cursor and added
12962         overlay with BufferView * parameter which calls this one.
12963         (getWord): added
12964         (selectWord): use new getWord function.
12965         (changeCase): renamed from changeWordCase as and extended to work
12966         also on selections.
12967
12968         * lyxtext.h: added enum word_location
12969
12970         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12971         changeCase as this operates now also on selections.
12972
12973 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12974
12975         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12976
12977         * many files: send debug output to Debug::INFO instead of
12978         Debug::ANY.
12979
12980         * converter.C (View):
12981         (Convert):
12982         (Move): send debug output to Debug::FILES instead of console.
12983
12984 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12985
12986         * lyxfunc.C (getStatus): use func_status
12987
12988         * func_status.h: new header, describing the results of
12989         LyXFunc::getStatus;
12990
12991         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12992         LFUN_MATH_HALIGN.
12993
12994 2001-06-25  The LyX Project  <jug@sad.it>
12995
12996         * buffer.C (sgmlOpenTag):
12997         (sgmlCloseTag):
12998         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12999
13000 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13001
13002         * text2.C: remove some dead code
13003
13004         * tabular.C (GetCellInset): store the last cell checked (gotten)
13005
13006         * tabular.h: add the helper for the speedup
13007
13008         * lyxtext.h: remove some dead code
13009
13010 2001-06-26  The LyX Project  <Asger>
13011
13012         * paragraph.C: Change export to LaTeX of alignment to
13013         \begin{center} and family for better roundtrip work with reLyX.
13014
13015         * Tune the math drawing a bit.
13016
13017 2001-06-25  The LyX Project  <Asger>
13018
13019         * LColor.C (LColor): New color for math background. New color
13020         for buttons.
13021
13022 2001-06-25  The LyX Project  <jug@sad.it>
13023
13024         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13025
13026         * lyxfunc.C (Open):
13027         * bufferlist.C (newFile): do not restrict to files ending with
13028         .lyx
13029
13030         * BufferView_pimpl.C (MenuInsertLyXFile):
13031
13032 2001-06-24  The LyX Project  <jug@sad.it>
13033
13034         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13035         of compare_no_case
13036
13037 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13038
13039         * lyxtext.h: rename most methods to begin with a small char.
13040         Lots of changes because of this.
13041
13042         * paragraph.C (Paragraph): do not call fitToSize
13043         (erase): call Pimpl::erase
13044         (insertChar): call Pimpl::insertChar
13045         (insertInset): call Pipl::insertInset
13046         (breakParagraph): do not call fitToSize
13047         (breakParagraphConservative): do not call fitToSize
13048         (fitToSize): remove method
13049
13050         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13051
13052 2001-06-24  The LyX Project  <Asger>
13053
13054         * Fix Qt compilation^2
13055
13056 2001-06-24  The LyX Project  <jug@sad.it>
13057
13058         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13059         depthHook(getDepth()-1).
13060
13061         * paragraph.h:
13062         * ParagraphParameters.h:
13063         * ParameterStruct.h: change type of depth to unsigned int ==
13064         depth_type. Many adaptations to other files before of that.
13065
13066 2001-06-24  The LyX Project  <Asger>
13067
13068         * Fix Qt compilation.
13069
13070 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13071
13072         * paragraph.h: renamed several methods to begin with small letter.
13073         several changes to many parts of the code because of this.
13074
13075 2001-06-23  The LyX Project  <jug@sad.it>
13076
13077         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13078         rewritten to discard all double spaces when KeepEmpty is off
13079         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13080         to only handle newlines but not fiddle with spaces and friends.
13081
13082         * lyxfunc.C (MenuNew): when doing 'new from template', use
13083         template_path as default directory
13084
13085 2001-06-23  The LyX Project  <Asger>
13086
13087         * Clean-up of header file includes all over
13088         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13089
13090 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13091
13092         * paragraph.h: renamed from lyxparagraph.h
13093
13094 2001-06-23  Asger  <lyx@violet.home.sad.it>
13095
13096         * Buffer.h: Removed Buffer::resize
13097         * BufferList.h: Removed BufferList::resize
13098         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13099         the document lazily when we change the width, or the font settings.
13100
13101 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13102
13103         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13104
13105 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13106
13107         * buffer.h: remove out of date comment
13108
13109 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13110
13111         * lyxscreen.h:
13112         * screen.C: fix "theoretical" GC leak
13113
13114 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13115
13116         * LaTeX.C (scanAuxFile):
13117         (deplog): remove trailing \r when reading stream (useful under
13118         win32)
13119
13120 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13121
13122         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13123         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13124         and BufferView::theLockingInset(Inset*), so should use them and not
13125         access bv_->text->the_locking_inset directly.
13126
13127         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13128
13129 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13130
13131         * Makefile.am:
13132         * tex-defs.h: remove old unused file
13133
13134 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13135
13136         * BufferView_pimpl.C: fix typo, remove minibuffer message
13137           when buffer has loaded
13138
13139 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13140
13141         * lyxfunc.C (Dispatch): use stringstream
13142         (MenuNew): use stringstream
13143         (Open): use stringstream
13144
13145         * importer.C (Import): use stringstream
13146
13147         * bufferview_funcs.C (CurrentState): use stringstream
13148
13149         * LaTeX.C (run): use stringstream
13150
13151         * BufferView_pimpl.C (savePosition): use stringstream
13152         (restorePosition): use stringstream
13153         (MenuInsertLyXFile): use stringstream
13154
13155 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13156
13157         * BufferView.C:
13158         * Bullet.C:
13159         * ColorHandler.C:
13160         * FontInfo.C:
13161         * FontLoader.C:
13162         * LColor.C:
13163         * LaTeXFeatures.C:
13164         * Painter.C:
13165         * gettext.C:
13166         * lyx_gui_misc.C:
13167         * lyxserver.C:
13168         * vspace.C: removed // -*- C++ -*- as first line.
13169
13170         * lyxfind.h:
13171         * version.h: added // -*- C++ -*- as first line.
13172
13173 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13174
13175         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13176
13177         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13178         of string
13179
13180 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13181
13182         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13183         of floats.
13184
13185 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13186
13187         * gettext.C: include LString.h even when --disable-nls is on.
13188
13189 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13190
13191         * converter.h (Get): changed argument type from int to
13192         FormatList::size_type to avoid unnecessary conversion.
13193
13194         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13195         before using it.
13196
13197 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13198
13199         * gettext.h: include LString.h even when --disable-nls is on.
13200
13201 2001-06-07  Juergen Vigna  <jug@sad.it>
13202
13203         * text.C (BreakAgain): subst spaces with tabs.
13204
13205         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13206         (resizeInsetsLyXText): set force on resizeLyXText.
13207
13208 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13209
13210         * gettext.h (gettext_init):
13211         (locale_init): use a real definition instead of a macro
13212
13213 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13214
13215         * Bufferview_pimpl.C:
13216         * LColor.h:
13217         * LColor.C: further lcolor tidies
13218
13219 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13220
13221         * BufferView_pimpl.C (updateScrollbar): simplify.
13222
13223         * BufferView2.C: don't include insets/insetinfo.h, change
13224         prototype for insertInset and call the Pimpl version. let
13225         updateInset call Pimpl version.
13226
13227         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13228         gotoInset to BufferView::Pimpl
13229
13230 2001-06-01  Juergen Vigna  <jug@sad.it>
13231
13232         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13233         inside a LockingInset (is the update needed at all?).
13234
13235 2001-05-31  Juergen Vigna  <jug@sad.it>
13236
13237         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13238         here not the old one otherwise how should we compare it afterwards
13239         if it's the same!
13240
13241 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13242
13243         * lyxfont.C:
13244         * tabular.C:
13245         * tabular-old.C:
13246         * FontInfo.C: bring C functions into global namespace when
13247         necessary
13248
13249 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13250
13251         * LString.h: make sure config.h has been loaded before LString.h.
13252
13253         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13254         (one for each char read by EatLine!).
13255
13256         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13257         variables.
13258
13259 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13260
13261         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13262         to the same as the par we break from
13263
13264 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13265
13266         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13267
13268         * MenuBackend.C (expand): also create menu entries for wide
13269         versions of the floats.
13270
13271         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13272
13273         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13274
13275         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13276         frontends/Makefile.am
13277
13278         * text2.C: adjust
13279         * text.C: adjust
13280
13281
13282         * tabular.C (getTokenValue): add std::
13283
13284         * tabular-old.C (getTokenValue): add std::
13285         (getTokenValue): ditto
13286         (getTokenValue): ditto
13287
13288         * screen.C (ToggleSelection): adjust
13289
13290         * lyxtext.h: put selection cursors inside a Selection struct.
13291
13292         * lyxfunc.C (moveCursorUpdate): adjust
13293
13294         * lyxfont.C (latexWriteStartChanges): add std::
13295
13296         * lyxfind.C: adjust
13297
13298         * font.h: delete with(char const *, LyXFont const &)
13299
13300         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13301
13302         * FontInfo.C (getFontname): add std::
13303
13304         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13305         (workAreaButtonPress): adjust
13306         (tripleClick): adjust
13307         (update): adjust
13308         (moveCursorUpdate): adjust
13309         (Dispatch): adjust
13310
13311         * BufferView2.C (gotoInset): adjust
13312
13313 2001-05-30  Juergen Vigna  <jug@sad.it>
13314
13315         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13316         to check pspell I add this as default as I now have new pspell
13317         libraries and they seem to use this.
13318
13319 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13320
13321         * text2.C (CutSelection): make the cursor valid before the call to
13322         ClearSelection.
13323
13324 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13325
13326         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13327         relied on 0 terminated strings and other horrors. Bug found due to
13328         the new assert in lyxstring!
13329
13330         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13331         KP_ keys.
13332
13333 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13334
13335         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13336         to latinkeys.bind.
13337
13338         * lyxfunc.C (processKeySym): change method of getting to the
13339         self-insert char.
13340
13341         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13342         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13343         * BufferView_pimpl.[Ch]: here as private methods.
13344
13345 2001-05-28  Juergen Vigna  <jug@sad.it>
13346
13347         * text.C (SetHeightOfRow): added the update() call again as it is
13348         needed to initialize inset dimensions!
13349
13350 2001-05-16  Juergen Vigna  <jug@sad.it>
13351
13352         * text2.C (SetCharFont): Add new function with BufferView * and
13353         bool toggleall parameters for setting insets internal fonts.
13354         (SetFont): Freeze the undo as we may change fonts in Insets and
13355         all this change should be inside only one Undo!
13356
13357         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13358         setting font's in insets as for them we have the SetFont function!
13359
13360 2001-05-15  Juergen Vigna  <jug@sad.it>
13361
13362         * text2.C (ClearSelection): to be sure we REALLY don't have any
13363         selection anymore!
13364
13365         * tabular.C (TeXCellPreamble): fixed the left border problem for
13366         multicolumn cells.
13367
13368 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13369
13370         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13371         dependancy file
13372
13373 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13374
13375         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13376         LFUN_BREAKPARAGRAPH.
13377
13378         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13379         help test to "internal only", similar for LFUN_INSERT_URL
13380
13381         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13382         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13383         auto_region_delete and deadkeys.
13384
13385 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13386
13387         * LColor.h:
13388         * LColor.C: remove some dead entries, tidy a little
13389
13390 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13391
13392         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13393         commented code.
13394         (Dispatch): implement LFUN_ESCAPE
13395
13396         * commandtags.h: add LFUN_ESCAPE
13397
13398         * LyXAction.C (init): add entry for LFUN_ESCAPE
13399
13400         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13401         Remove commented code.
13402         (insertNote): moved here
13403         (open_new_inset): moved here
13404
13405         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13406         BufferView_pimpl
13407
13408 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13409
13410         * kbmap.C (findbinding): clean it up and make it work correctly.
13411
13412         * lyx_main.C (init): do not pass argc and argv as parameters
13413
13414 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13415
13416         * buffer.C: fix path for OS/2 & Win32
13417
13418         * lyx_gui.C:
13419         * lyx_main:
13420         * lyx_main.C: Added os:: class.
13421
13422         * os2_defines.h: update
13423
13424 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13425
13426         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13427         better by trying again with reduced state.
13428
13429 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13430
13431         * lyxrc.C (read): print error about invalid key sequence only when
13432         debugging (because not all latinX keysyms are known to some X
13433         servers)
13434
13435         * kbsequence.C (getiso): add a few std:: qualifiers
13436         (getiso): comment out extra return statement.
13437
13438 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13439
13440         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13441         handling.
13442         (Dispatch): enhance the accent inset a bit. (not perfect)
13443
13444 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13445
13446         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13447
13448 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13449
13450         * bufferlist.C (emergencyWrite): fix assert() call
13451
13452 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13453
13454         * text.C (InsertChar): Added trivial patch to only send the "you
13455         can not do multiple spaces this way" message once during a
13456         session.
13457
13458 2001-05-08  Baruch Even  <baruch@lyx.org>
13459
13460         * Makefile.am: Changed order of libraries to get LyX to link properly
13461         with the gnome frontend.
13462
13463 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13464
13465         * LaTeXFeatures.h: add a std:: qualifier
13466
13467 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13468
13469         * paragraph.C (String): use stringstream
13470
13471 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13472
13473         * paragraph.C (writeFile): remove footflag arg
13474
13475         * buffer.C (makeLaTeXFile): use stringstream
13476         (latexParagraphs): remove footnot gurba
13477
13478         * LaTeXFeatures.C (getPackages): use stringstream
13479         (getMacros): likewise
13480         (getTClassPreamble): likewise
13481         (getFloatDefinitions): new method
13482
13483         * paragraph.C (writeFile): reindent
13484         (Erase): reindent
13485
13486         * WorkArea.h: revert the xpos + etc changes.
13487
13488         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13489
13490         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13491
13492         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13493         (pasteSelection): likewise
13494         * text2.C (CreateUndo): likewise
13495
13496 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13497
13498         * minibuffer.C (peek_event): temporarily reduce the functionality
13499         of the minibuffer (to allow args on lfuns)
13500
13501         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13502         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13503
13504         * buffer.C (readInset): add compability reading of old float
13505         lists, add reading of new style float list.
13506         (readInset): avoid reevaluation of inscmd.getCmdName()
13507         (getLists): reindent
13508
13509         * MenuBackend.C (MenuItem): implement parsing of
13510         md_floatlistinsert and md_floatinsert.
13511         (expand::LastFiles): move initalizaton of iterators out of loop,
13512         avoid reevaluation.
13513         (expand::Documents): introduce typdedef vector<string> Strings,
13514         and use it.
13515         (expand::ExportFormats): introduce typedef vector<Format const *>
13516         Formats, and use it.
13517         (expand): implement FloatListInsert and FloatInsert.
13518
13519         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13520         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13521         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13522
13523         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13524         handling.
13525         (Dispatch::LFUN_FLOAT_LIST): implement
13526
13527 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13528
13529         * LaTeX.C (run): Fix problem with --export code.
13530
13531 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13532
13533         * BufferView.[Ch] (workarea): removed.
13534         (getClipboard) new method; wrapper for workarea()->getClipboard()
13535
13536         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13537         bug.
13538
13539         * WorkArea.h (width, height, xpos, ypos): These methods all
13540         returned the dimensions of the work_area sub-area of WorkArea,
13541         resulting in a position error if the WorkArea were resized. Now
13542         return the dimensions of the entire WorkArea.
13543
13544         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13545
13546 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13547
13548         * LaTeX.C (deplog): correct the syntax of regex reg1
13549
13550 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13551
13552         * undo.C: remove !NEW_INSETS cruft
13553
13554 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13555
13556         * text2.C: remove !NEW_INSETS cruft
13557
13558         * text.C: remove !NEW_INSETS cruft
13559
13560         * tabular.C: remove !NEW_INSETS cruft
13561
13562         * spellchecker.C: remove !NEW_INSETS cruft
13563
13564         * lyxtext.h: remove !NEW_INSETS cruft
13565
13566         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13567
13568         * lyxfunc.C: remove !NEW_INSETS cruft
13569
13570         * lyxfind.C: remove !NEW_INSETS cruft
13571
13572         * lyx_cb.C: remove !NEW_INSETS cruft
13573
13574         * figureForm.C: remove  !NEW_INSETS cruft
13575
13576         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13577
13578         * buffer.[Ch]: remove !NEW_INSETS cruft
13579
13580         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13581
13582         * CutAndPaste.C: remove !NEW_INSETS cruft
13583
13584         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13585
13586         * BufferView2.C: remove !NEW_INSETS cruft
13587
13588         * BufferView.h: remove !NEW_INSETS cruft
13589
13590 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13591
13592         * Lsstream.h: include LString.h before the sstream headers to
13593         fix problem with gcc 2.95.3 and lyxstring
13594
13595 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13596
13597         * lyx_main.C: add using directives when needed for C functions
13598         declared in std:: namespace.
13599
13600 2001-04-27  Juergen Vigna  <jug@sad.it>
13601
13602         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13603         (SetHeightOfRow): comment out the update call should not be needed!
13604
13605 2001-04-13  Juergen Vigna  <jug@sad.it>
13606
13607         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13608         (LyXTabular): tried to minimize operator= operations (and realized
13609         hopfully Lars wish).
13610
13611 2001-04-27  Juergen Vigna  <jug@sad.it>
13612
13613         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13614
13615 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13616
13617         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13618
13619         * buffer.C (readInset): hack to make listof algorithm work
13620
13621         * BufferView_pimpl.C: hack to make listof algorithm work
13622
13623 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13624
13625         * LyXAction.C: removed all !NEW_INSETS cruft
13626         (init): moved lfun_item in method
13627
13628         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13629
13630 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13631
13632         * BufferView2.C (theLockingInset): white space.
13633
13634 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13635
13636         * minibuffer.C: include <iostream>
13637
13638         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13639
13640         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13641
13642         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13643
13644         * text.[Ch] (TransposeChars): new method
13645
13646 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13647
13648         * call message directly through LyXView instead of through LyXFunc
13649         * BufferView2.C: adjust
13650         * BufferView_pimpl.C: adjust
13651         * FontLoader.C: adjust
13652         * buffer.C: adjust
13653         * bufferview_funcs.C: adjust
13654         * converter.C: adjust
13655         * figureForm.C: adjust
13656         * importer.C: adjust
13657         * lyx_cb.C: adjust
13658         * lyx_gui_misc.C: adjust
13659         * lyxfunc.C: adjust
13660         * lyxvc.C: adjust
13661         * text2.C: adjust
13662         + more files in subdirs
13663
13664         * lyxparagraph.h (size): move up int file
13665         (GetLayout): ditto
13666
13667         * adjust all uses of Assert to lyx::Assert.
13668
13669         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13670         lyxfunctional in namespace lyx
13671         * layout.C (hasLayout): ditto
13672         (GetLayout): ditto
13673         (GetLayout): ditto
13674         (delete_layout): ditto
13675         (NumberOfClass): ditto
13676         * converter.C (GetFormat): ditto
13677         (GetNumber): ditto
13678         (Add): ditto
13679         (Delete): ditto
13680         (SetViewer): ditto
13681         * bufferlist.C (getFileNames): ditto
13682         (emergencyWriteAll): ditto
13683         (exists): ditto
13684         (getBuffer): ditto
13685         * MenuBackend.C (hasSubmenu): ditto
13686         (hasMenu): ditto
13687         (getMenu): ditto
13688         * BufferView_pimpl.C (getInsetByCode): ditto
13689
13690 2001-04-18  Juergen Vigna  <jug@sad.it>
13691
13692         * vspace.C (asLatexString): fixed the 100% problem.
13693
13694 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13695
13696         * lyxfunc.C (Dispatch):
13697         * minibuffer.C:
13698         * minibuffer.h: add a few std:: qualifiers
13699
13700 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13701
13702         * minibuffer.[Ch]: reimplement so that commands is initiated and
13703         run from lyxfunc, simplified som handling, and made the completion
13704         and history code for complete. wip.
13705
13706         * lyxfunc.C (processKeySym): call message
13707         (miniDispatch): new temporary method
13708         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13709         (LFUN_MESSAGE): implement
13710         (LFUN_MESSAGE_PUSH): implement
13711         (LFUN_MESSAGE_POP): implement
13712         (initMiniBuffer): the initial/defualt minibuffer message.
13713
13714         * lyxfont.[Ch]: inline some more getters
13715
13716         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13717
13718         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13719
13720         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13721         (AutoSave): use LFUN_MESSAGE
13722         (Reconfigure): ditto
13723
13724         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13725
13726         * figureForm.C: use LFUN_MESSAGE
13727
13728         * converter.C (runLaTeX): use LFUN_MESSAGE
13729
13730         * bufferview_funcs.C: use LFUN_MESSAGE
13731         (Melt): ditto
13732         (changeDepth): ditto
13733
13734         * bufferparams.h: use boost::
13735
13736         * bufferlist.h: inherit privately from noncopyable
13737
13738         * bufferlist.C (loadLyXFile): remove some commented code.
13739
13740         * buffer.C (runChktex): use LFUN_MESSAGE
13741
13742         * ShareContainer.h: inherit privately from noncopyable
13743
13744         * ParagraphParameters.[hC] (depth): inline it.
13745
13746         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13747         methods.
13748         (message): new method
13749         (messagePush): ditto
13750         (messagePop): ditto
13751         (show): init minibuffer
13752         (showState): direct call
13753
13754         * LaTeX.[Ch]: inherit privately from noncopyable
13755         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13756         instead of WriteStatus.
13757
13758         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13759
13760         * BufferView_pimpl.C (buffer): don't init minibuffer
13761         (workAreaButtonPress): use LFUN_MESSAGE
13762         (workAreaButtonRelease): ditto
13763         (savePosition): ditto
13764         (restorePosition): ditto
13765         (MenuInsertLyXFile): ditto
13766         (workAreaExpose): don't init minibuffer
13767         (update): remove commented code, simplify
13768
13769         * BufferView2.C (openStuff): use LFUN_MESSAGE
13770         (toggleFloat): ditto
13771         (menuUndo): ditto
13772         (menuRedo): ditto
13773         (copyEnvironment): ditto
13774         (pasteEnvironment): ditto
13775         (copy): ditto
13776         (cut): ditto
13777         (paste): ditto
13778         (gotoInset): ditto
13779         (updateInset): remove some commented code
13780
13781         * lastfiles.h: inherit privately from noncopyable
13782         * layout.h: ditto
13783         * lyx_gui.h: ditto
13784         * lyx_main.h: ditto
13785         * lyxlex.h: ditto
13786         * lyxlex_pimpl.h: ditto
13787
13788         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13789         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13790         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13791
13792         * LyXAction.h: inherit privately from noncopyable, add methods
13793         func_begin, func_end, returning iterators to the func map.
13794
13795         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13796         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13797         (func_begin): new method
13798         (func_end): new method
13799
13800         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13801         and not)
13802         (copySelection): ditto
13803         (pasteSelection): ditto
13804
13805         * BufferView.C: whitespace change
13806         * BufferView.h: inherit privately from noncopyable
13807
13808 2001-04-16  Allan Rae  <rae@lyx.org>
13809
13810         * tabular-old.C (l_getline):
13811         * spellchecker.C (sc_check_word):
13812         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13813         an unrecognised preprocessor directive.  So ensure they're wrapped.
13814
13815 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13816
13817         * src/exporter.C (Export): Give an error message when path to file
13818         contains spaces.
13819
13820 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13821
13822         * LaTeX.C (deplog): Always check that foundfile exists.
13823
13824 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13825
13826         * lyx_main.h:
13827         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13828
13829 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13830
13831         * tabular.[Ch] (getLabelList): implement new method
13832
13833         * minibuffer.h: comment ouf setTiimer
13834
13835         * minibuffer.C (ExecutingCB): constify res
13836         (peek_event): constify s
13837         (Set): constify ntext
13838         (Init): constify nicename
13839
13840         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13841
13842         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13843         (savePosition): use two params to Minibuffer::Set
13844         (restorePosition): ditto
13845
13846 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13847
13848         * lyx_main.C: include language.h
13849
13850         * Makefile.am (lyx_main.o): add language.h
13851
13852 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13853
13854         * exporter.C:
13855         * paragraph.C:
13856         * screen.C:
13857         * tabular.C:
13858         * CutAndPaste.C: include gettext.h
13859
13860         * lyxfont.h: remove old hack with ON and OFF.
13861
13862         * lyxparagraph.h:
13863         * lyxfont.h: do not include language.h...
13864
13865         * BufferView2.C:
13866         * LaTeXFeatures.C:
13867         * Painter.C:
13868         * bufferview_funcs.C:
13869         * font.C:
13870         * lyxfont.C:
13871         * text.C:
13872         * text2.C:
13873         * trans_mgr.C:
13874         * paragraph.C: ... but do it here instead
13875
13876 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13877
13878         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13879
13880         * tabular.C: small reformat
13881
13882         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13883         NEW_INSETS version
13884         (GetChar): ditto
13885         (BreakParagraph): ditto
13886         (SetOnlyLayout): ditto
13887         (SetLayout): ditto
13888
13889         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13890         with one arg less.
13891
13892         * lastfiles.C: removed most using decl, add std:: where needed
13893
13894         * buffer.C: ws changes
13895
13896         * MenuBackend.C (class compare_format): put into anon namespace
13897         (expand): constify label, names, action, action2
13898         (expand):
13899
13900         * text.C (SingleWidth): constify font
13901         (IsBoundary): constify rtl2
13902         (GetVisibleRow): constify ww
13903
13904         * LaTeX.C (deplog): constify logfile
13905
13906         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13907         start_x, end_x
13908         (workAreaExpose): constify widthChange, heightChange
13909
13910         * lyxrow.C (par): moved
13911         (height): moved
13912         (next): moved
13913         * lyxrow.h: as inlines here
13914
13915         * lyxfont.h (shape): moved from lyxfont.C
13916         (emph): moved from lyxfont.C
13917
13918         * lyxfont.C (LyXFont): use initialization list for all
13919         constructors
13920         (shape): move to lyxfont.h as inline
13921         (emph): move to lyxfont.h as inline
13922
13923
13924 2001-04-04  Juergen Vigna  <jug@sad.it>
13925
13926         * vspace.C: had to include stdio.h for use of sscanf
13927
13928 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13929
13930         * BufferView.h:
13931         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13932         independent of xforms.
13933
13934 2001-04-02  Juergen Vigna  <jug@sad.it>
13935
13936         * spellchecker.C: fixed namespace placing!
13937
13938 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13939
13940         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13941         the LyXParagraph * is 0.
13942
13943 2001-03-29  Juergen Vigna  <jug@sad.it>
13944
13945         * vspace.C: added support for %, c%, p%, l%.
13946         (stringFromUnit): added helper function.
13947         (asLatexString): changed to give right results for the %-values.
13948
13949         * buffer.C: convert the widthp in a width%.
13950
13951 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13952
13953         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13954         figureForm.[Ch].
13955
13956         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13957         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13958
13959         * lyx_cb.[Ch]: see above.
13960
13961         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13962         form1.[Ch].
13963
13964         * form1.[Ch]:
13965         * lyx.[Ch]: replaced by figure_form.[Ch].
13966
13967         * lyx_gui.C:
13968         * lyx_gui_misc.C:
13969         * lyxfunc.C: changed headers associated with above changes.
13970
13971 2001-03-27  Juergen Vigna  <jug@sad.it>
13972
13973         * BufferView_pimpl.C: set the temporary cursor right!
13974
13975 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13976
13977         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13978
13979 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13980
13981         * LString.h: removed "using std::getline"!
13982
13983         * BufferView_pimpl.C (Dispatch): changes due to changes in
13984         InsetInclude::Params.
13985
13986         * buffer.C (tag_name): removed redundant break statements as they were
13987         producing lots of warnings with my compiler.
13988
13989 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13990
13991         * LString.h: add "using std::getline" when using the real <string>.
13992
13993 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13994
13995         * buffer.C: removed bitset usage.
13996         PAR_TAG moved to an anonymous name space.
13997         (tag_name): new funtion, also in the anonymous namespace.
13998         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13999         (makeDocBookFile): clean code. Completed transition from string arrays
14000         to string vectors.
14001         (SimpleDocBookOnePar): code clean.
14002
14003 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14004
14005         * tabular.C: add some comments.
14006
14007 2001-03-22  Juergen Vigna  <jug@sad.it>
14008
14009         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14010         compatibility read a bit and fixed bug with minipage in different
14011         depth.
14012
14013 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14014
14015         * buffer.C (pop_tag): removed.
14016         (push_tag): removed.
14017         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14018         array replaced with vector. Added support for CDATA sections.
14019         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14020         at any nest level.
14021         (makeDocBookFile): XML conformant declaration of CDATA section,
14022         fixed bug related to <emphasis> in the first paragraph char.
14023         (sgmlOpenTag): exclude empty tags.
14024         (sgmlCloseTag): ditto.
14025
14026         * buffer.h (pop_tag): removed.
14027         (push_tag): removed.
14028
14029 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14030
14031         * language.h (Languages): added size_type and size().
14032
14033 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14034
14035         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14036         response on compability reading of minipages. One probliem is that
14037         the old usage of minipages was «flertydig»
14038
14039         * several files here and in subdirs: don't use static at file
14040         scope use anon namespaces instead.
14041
14042 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14043
14044         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14045         LaTeX output. This is necessary for Literate document
14046         processing.
14047
14048 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14049
14050         * buffer.C: insert hfill when needed.
14051
14052         * tabular.C (l_getline): use string::erase, small whitespace change.
14053
14054         * BufferView_pimpl.C: try the anon namespace.
14055         * WorkArea.C: ditto
14056
14057 2001-03-16  Juergen Vigna  <jug@sad.it>
14058
14059         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14060         otherwise it won't open options-dialogs.
14061
14062         * buffer.C: honor pextraWidth(p) on converting minipages.
14063
14064         * tabular.C (l_getline): changed the functions to strip trailing \r.
14065
14066 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14067
14068         * BufferView_pimpl.C:
14069         * minibuffer..C: added "using SigC::slot" declaration.
14070
14071 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14072
14073         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14074
14075         * text2.C: ditto
14076
14077         * text.C: ditto
14078
14079         * paragraph.C: ditto
14080
14081         * lyxtext.h: NO_PEXTRA
14082
14083         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14084
14085         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14086         * ParameterStruct.h: ditto
14087         * ParagraphParameters.h: ditto
14088         * lyxparagraph.h: ditto
14089
14090 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14091
14092         * buffer.C: add compability for minipage alignment.
14093         (latexParagraphs): remove unwanted pextra check.
14094
14095         * several files: remove CXX_WORKING_NAMESPACES
14096
14097         * buffer.C (pop_tag): tie is in namespace boost
14098
14099         * BufferView.h: noncopyable is in namespace boost
14100         * lyxlex.h: ditto
14101         * lyx_main.h: ditto
14102         * lyx_gui.h: ditto
14103         * layout.h: ditto
14104         * lastfiles.h: ditto
14105         * bufferlist.h: ditto
14106         * ShareContainer.h: ditto
14107         * LyXView.h: ditto
14108         * LyXAction.h: ditto
14109         * LaTeX.h: ditto
14110
14111 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14112
14113         * Merging changes from BRANCH_MVC back into HEAD.
14114
14115         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14116
14117 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14118
14119         * BufferView_pimpl.C: change from intl.C
14120
14121         * combox.h:
14122         * combox.C:
14123         * Makefile.am: move combox.*
14124
14125         * form1.h:
14126         * form1.C:
14127         * lyx_gui.C:
14128         * intl.h:
14129         * intl.C: remove dialog (covered by prefs)
14130
14131 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14132
14133         * lyxfunc.C (Dispatch): removed redundant break statement.
14134
14135 2001-03-14  Juergen Vigna  <jug@sad.it>
14136
14137         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14138
14139 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14140
14141         * buffer.C: add hack to fix compability reading of minipages.
14142
14143 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14144
14145         * buffer.C (getLists): Cleanup.
14146
14147 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14148
14149         * lyxfont.C (update): don't honor toggleall on font size.
14150
14151 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14152
14153         * bmtable.c:
14154         * bmtable.h:
14155         * Makefile.am: moved to frontends/xforms/
14156
14157         * lyx_gui_misc.C:
14158         * lyxfunc.C:
14159         * BufferView_pimpl.C: changes for moved mathpanel
14160
14161 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14162
14163         * gettext.h: fix gettext_init() in --disable-nls
14164
14165 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14166
14167         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14168
14169 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14170
14171         * lyx.C:
14172         * lyx.h: strip external form
14173
14174 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14175
14176         * BufferView_pimpl.C: add comment, destroySplash()
14177
14178 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14179
14180         * BufferView_pimpl.C:
14181         * LyXAction.C:
14182         * buffer.C:
14183         * commandtags.h:
14184         * lyxfunc.C: use re-worked insetinclude
14185
14186 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14187
14188         * buffer.C: add using std::stringstream.
14189
14190         * lyx_cb.C: readd using std::ios.
14191
14192         * buffer.C: add using std::map.
14193
14194         * BufferView_pimpl.C: add using std::vector.
14195
14196         * ShareContainer.h: add std:: to swap.
14197
14198         * buffer.h: add some typedefs
14199         * buffer.C (getLists): use them
14200         (getLists): renamed from getTocList.
14201         add a counter for the different float types and use it in the
14202         generated string.
14203         (getLists): use the same counter for the NEW_INSETS and the "non"
14204         NEW_INSETS
14205
14206         * lyx_cb.h: remove unused items, includes, using etc.
14207
14208         * ShareContainer.h: remove some commented code, add more comments
14209         and "documentation".
14210
14211 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14212
14213         * buffer.C (getTocList): make the list also when NEW_INSETS is
14214         defined.
14215
14216         * buffer.h: remove TocType
14217
14218         * buffer.C (getTocList): change to return a map<string,
14219         vector<TocItem> >, implement for dynamic number of list.
14220
14221         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14222         * text2.C (PasteSelection): adjust
14223         * CutAndPaste.C (pasteSelection): adjust
14224
14225         * FloatList.C (FloatList): update from the new_insets branch.
14226         * Floating.[Ch]: ditto
14227         * LaTeXFeatures.C: ditto
14228         * buffer.C: ditto
14229         * lyxlex_pimpl.C: ditto
14230
14231         * paragraph.C (Last): remove when NEW_INSETS is defined.
14232
14233         * other file: changes because of the above.
14234
14235 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14236
14237         * lyxparagraph.h: rename next to next_, previous to previous_,
14238         make them private for NEW_INSETS. Rename Next() to next(),
14239         Previous() to previous().
14240
14241         * other files: changes because of the above.
14242
14243 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14244
14245         * BufferView.h:
14246         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14247         problem.
14248
14249 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14250
14251         * main.C (main): pass lyx_localedir to gettext_init().
14252
14253         * gettext.h: remove locale_init and gettext_init macros
14254
14255         * gettext.C (locale_init): new function
14256         (gettext_init): new function
14257
14258         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14259         setlocale().
14260
14261 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14262
14263         * Moved credits to frontends:
14264         * credits.[Ch]: removed
14265         * credits_form.[Ch]: removed
14266         * lyx_gui_misc.C: remove credits stuff
14267         * Makefile.am:
14268
14269 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14270
14271         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14272
14273         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14274         unneeded destructor.
14275
14276         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14277         a standalone pointer again.
14278
14279         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14280
14281 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14282
14283         * Makefile.am:
14284         * filedlg.h:
14285         * filedlg.C:
14286         * LyXAction.C:
14287         * ToolbarDefaults.C:
14288         * bufferlist.C:
14289         * commandtags.h:
14290         * form1.C:
14291         * form1.h:
14292         * lyx_cb.C:
14293         * lyx_cb.h:
14294         * lyxfunc.h:
14295         * lyxfunc.C:
14296         * BufferView_pimpl.C: use new file dialog in GUII
14297
14298         * lyx_cb.h:
14299         * lyx_cb.C: remove LayoutsCB to Toolbar
14300
14301 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14302
14303         * ShareContainer.h (get): add std:: qualifier
14304
14305 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14306
14307         * ShareContainer.h: define a proper ShareContainer::value_type
14308         type (and use typename to please compaq cxx)
14309
14310 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14311
14312         * lyxparagraph.h: move serveral local vars to
14313         ParameterStruct/ParagraphParameters., use ShareContainer in
14314         FontTable., make vars in FontTable private and add getter and
14315         setter.
14316
14317         * paragraph.C: changes because of the above.
14318
14319         * lyxfont.h: remove copy constructor and copy assignment. (the
14320         default ones is ok), move number inside FontBits. move inlines to
14321         lyxfont.C
14322
14323         * lyxfont.C: add number to initializaton of statics, move several
14324         inlines here. constify several local vars. some whitespace
14325         cleanup. Dont hide outerscope variables.
14326
14327         * Spacing.h: add two new constructors to match the set methods.
14328
14329         * ShareContainer.h: new file, will perhaps be moved to support
14330
14331         * ParameterStruct.h: new file
14332
14333         * ParagraphParameters.h: new file
14334
14335         * ParagraphParameters.C: new file
14336
14337         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14338         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14339
14340         * BufferView_pimpl.C: ParagraphParameter changes.
14341         * buffer.C: Likewise.
14342         * bufferview_funcs.C: Likewise.
14343         * text.C: Likewise.
14344         * text2.C: Likewise.
14345
14346 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14347
14348         * lyxfind.C (LyXReplace): do not redefine default argument in
14349         implementation.
14350         (IsStringInText): ditto
14351         (SearchForward): ditto
14352         (SearchBackward): ditto
14353
14354 2001-03-06  Juergen Vigna  <jug@sad.it>
14355
14356         * lyxfind.C (IsStringInText): put parentes around expressions.
14357
14358 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14359
14360         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14361
14362 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14363
14364         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14365
14366         * stl_string_fwd.h: add comment
14367
14368         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14369
14370         * tabular.h:
14371         * tabular.C: remove unused DocBook methods
14372
14373         * intl.C:
14374         * language.C:
14375         * paragraph.C:
14376         * buffer.C:
14377         killed DO_USE_DEFAULT_LANGUAGE
14378
14379 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14380
14381         * lyx_gui.C: do not include language.h.
14382
14383         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14384         arguments in function implementation.
14385
14386 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14387
14388         * BufferView_pimpl.C: add <ctime>
14389
14390 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14391
14392         * BufferView_pimpl.C: add using std::find_if
14393
14394 2001-02-27  José Matos  <jamatos@fep.up.pt>
14395
14396         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14397         by OnlyPath.
14398
14399 2001-02-11  José Matos  <jamatos@fep.up.pt>
14400
14401         * buffer.C (makeDocBookFile): command styles now have a parameter as
14402         "title" by default.
14403
14404 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14405
14406         * layout_forms.[Ch]: removed
14407         * lyx_cb.[Ch]: out character
14408         * lyx_gui.C: out character
14409         * lyx_gui_misc.C: out character
14410         * bufferview_funcs.C: : out character,
14411         added toggleall as parameter in ToggleAndShow
14412
14413 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14414
14415         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14416
14417         * text2.C (SetCurrentFont): Disable number property at boundary.
14418
14419 2001-02-26  Juergen Vigna  <jug@sad.it>
14420
14421         * lyxfunc.C (getStatus): added a string argument override function so
14422         that this is correctly called from LyXFunc::Dispatch if it contains a
14423         do_not_use_argument which is used!
14424         (Dispatch): added check for "custom" export and call appropriate func.
14425
14426 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14427
14428         * lyxrc.C: Add language_command_local, language_use_babel and
14429         language_global_options.
14430
14431         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14432
14433         * buffer.C (makeLaTeXFile): Use language_use_babel and
14434         language_global_options.
14435
14436 2001-02-23  Juergen Vigna  <jug@sad.it>
14437
14438         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14439         which works with LyXText and putted it inside BufferView. Here now we
14440         only call for that part the BufferView::Dispatch() function.
14441
14442         * BufferView.C (Dispatch): added.
14443
14444         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14445         functions which needs to use a LyXText over from LyXFunc.
14446         (MenuInsertLyXFile): added
14447         (getInsetByCode): added
14448         (moveCursorUpdate): added
14449         (static TEXT): added
14450
14451 2001-02-22  Juergen Vigna  <jug@sad.it>
14452
14453         * BufferView_pimpl.C (update): call a status update to see if LyXText
14454         needs it.
14455
14456 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14457
14458         * vc-backend.C (revert): implement for CVS
14459         (getLog): implement for CVS
14460
14461 2001-02-20  Juergen Vigna  <jug@sad.it>
14462
14463         * text2.C (ClearSelection): added BufferView param for inset_owner call
14464
14465         * lyxfunc.C (TEXT): added this function and use it instead of
14466         directly owner->view()-text of getLyXText().
14467
14468 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14469
14470         * src/layout_forms.C: out preamble
14471         * src/layout_forms.h: out preamble
14472         * src/lyx_cb.C: out preamble
14473         * src/lyx_cb.h: out preamble
14474         * src/lyx_gui.C: out preamble
14475         * src/lyx_gui_misc.C: out preamble
14476         * src/lyxfunc.C: connect with guii preamble
14477
14478 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14479
14480         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14481
14482 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14483
14484         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14485         whether to run bibtex.
14486
14487 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14488
14489         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14490
14491 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14492
14493         * Makefile.am (lyx_SOURCES): removed bibforms.h
14494
14495         * vspace.h: doxygen
14496
14497         * text.C (GetVisibleRow): make several local vars const
14498
14499         * tabular.C: small cleanup.
14500
14501         * lyxserver.C (callback): use compare instead of strncmp
14502
14503         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14504         inlines to after class or to paragraph.C
14505
14506         * lyxfont.h: remove friend operator!=
14507
14508         * converter.h: move friend bool operator< to non friend and after
14509         class def.
14510
14511         * combox.h: small cleanup
14512
14513         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14514         to inlines after class def.
14515
14516         * buffer.C (pop_tag): use string operations instead of strcmp
14517
14518         * bmtable.c: doxygen, small cleanup
14519
14520         * LaTeX.h: remove friend operator==
14521
14522 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14523
14524         * screen.C:
14525         * lyxrc.[Ch]:
14526         * lyxfunc.C:
14527         * lyxfont.[Ch]:
14528         * lyx_cb.C:
14529         * intl.[Ch]:
14530         * commandtags.h:
14531         * buffer.C:
14532         * WorkArea.[Ch]:
14533         * LyXAction.C:
14534         * BufferView_pimpl.C:
14535         * BufferView.[Ch]: remove cruft
14536
14537 2001-02-14  Juergen Vigna  <jug@sad.it>
14538
14539         * lyxfunc.C: removed #if 0 unused code
14540
14541         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14542
14543         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14544
14545         * text2.C (SetSelection): added a BufferView * parameter
14546
14547 2001-02-13  Juergen Vigna  <jug@sad.it>
14548
14549         * lyxfunc.C (Dispatch): fixed protected blank problem.
14550         * BufferView2.C (protectedBlank): added LyxText * parameter.
14551
14552         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14553         (AppendColumn): same as above for column_info.
14554
14555         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14556         (moveCursorUpdate): use a LyXText param for support of InsetText.
14557
14558         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14559         (tripleClick): ditto
14560
14561         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14562
14563         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14564
14565         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14566
14567         * text2.C (SetSelection): set correct update status if inset_owner
14568         (ToggleFree): ditto
14569
14570 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14571
14572         * tabular.C: remove some commented code.
14573
14574 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14575
14576         * BufferView_pimpl.C: call hideSplash()
14577
14578         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14579
14580         * include_form.h:
14581         * bibforms.h: remove
14582
14583         * lyxfunc.C:
14584         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14585           add LFUN_CHILD_CREATE
14586
14587         * counters.h: fix tiny typo
14588
14589         * lyx_cb.C:
14590         * lyx.h:
14591         * lyx_gui.C:
14592         * lyx.C: move splash to frontends/xforms/
14593
14594         * lyx_gui_misc.C: move Include and Bibform to frontends
14595
14596         * lyxvc.h: clarify comment
14597
14598         * vspace.C: tiny housekeeping
14599
14600 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14601
14602         * text.C (PrepareToPrint): RTL Fix.
14603
14604         * paragraph.C (GetUChar): New method.
14605         (String):  Use GetUChar.
14606
14607         * buffer.C (asciiParagraph): Use GetUChar.
14608
14609 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14610
14611         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14612
14613 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14614
14615         * buffer.h:
14616         * buffer.C: rename to getLogName(), handle
14617           build log / latex log nicely
14618
14619 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14620
14621         * MenuBackend.C:
14622         * MenuBackend.h: remove support for reference menuitem type.
14623
14624 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14625
14626         * BufferView_pimpl.C: housekeeping
14627         * BufferView_pimpl.h:
14628         * LyXView.h:
14629         * Makefile.am:
14630         * Timeout.C:
14631         * Timeout.h:
14632         * minibuffer.h: move Timeout GUI-I
14633
14634 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14635
14636         * lyxrc.C (read): Update converters data-structures.
14637
14638 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14639
14640         * LaTeX.h (operator!=): add operator != for Aux_Info
14641
14642 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14643
14644         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14645
14646         * LaTeXLog.C: deleted, useful code moved to Buffer
14647
14648         * buffer.h:
14649         * buffer.C: new function getLatexLogName()
14650
14651         * lyx_gui_misc.C:
14652         * lyx_gui.C:
14653         * lyxvc.C:
14654         * lyxvc.h:
14655         * lyxfunc.C: use frontends for LaTeX and VC logs
14656
14657 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14658
14659         * LaTeX.h: yet another std:: that Allan forgot.
14660
14661         * Variables.C (set): renamed from isset(), because this clashes
14662         with some HP-UX macros (grr).
14663
14664 2001-02-06  Allan Rae  <rae@lyx.org>
14665
14666         * LaTeX.h: Another bug fix.  Missing std:: this time.
14667
14668 2001-02-04  Allan Rae  <rae@lyx.org>
14669
14670         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14671         floats problem. I've left it commented out because it's not quite
14672         correct.  It should also test that the current object is a table or
14673         figure inset.  But I haven't gotten around to figuring out how to do
14674         that.  I *think* it'll be something like: "table" == inset.type()
14675
14676         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14677         bool.
14678
14679 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14680
14681         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14682         all the citation/databases/styles in the auxilary file.
14683         (run): Rerun latex if there was a babel language error.
14684
14685 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14686
14687         * text.C (Backspace): Preserve the font when changing newline char
14688         with a space.
14689         (BreakParagraph): If the cursor is before a space, delete the space.
14690
14691         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14692
14693 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14694
14695         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14696         new argument (code).
14697         (ChangeCitationsIfUnique): New method.
14698
14699         * paragraph.C (GetPositionOfInset): Handle bibkey.
14700
14701 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14702
14703         * BufferView_pimpl.h: change type of Position::par_pos to
14704         LyXParagraph::size_type.
14705
14706 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14707
14708         * BufferView_pimpl.C (savePosition, restorePosition): Write
14709         messages to minibuffer.
14710
14711 2001-01-28  José Matos  <jamatos@fep.up.pt>
14712
14713         * buffer.C (makeDocBookFile): adds support for document language.
14714         A silly restriction on the name of LatexCommand types where removed.
14715         Added support for CDATA sections, allows to chars unescaped, used
14716         among others in code, to avoid escape < and >.
14717
14718 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14719
14720         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14721         saved positions instrad of a stack. Furthermore, a position is
14722         stored using paragraph id/paragraph position.
14723
14724         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14725         Remove LFUN_REF_BACK.
14726
14727 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14728
14729         * converter.C (dvipdfm_options): New method.
14730
14731 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14732
14733         * vspace.C (isValidLength): Fix for empty input string.
14734
14735 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14736
14737         * LyXAction.C (init): change description of LFUN_FIGURE to
14738         "Insert Graphics"
14739
14740 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14741
14742         * LaTeX.C: add using directive
14743
14744 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14745
14746         * MenuBackend.C (expand): Fix the sorting of the formats.
14747
14748 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14749
14750         * lyx_main.C: tiny error message fix
14751
14752 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14753
14754         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14755         calling fl_initialize(). This fixes the problem with ',' as
14756         decimal separator in text files.
14757
14758 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14759
14760         * trans.C (process): Fix the keymap bug.
14761
14762 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14763
14764         * LaTeX.C (scanAuxFiles): New method. Provides support for
14765         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14766         (scanLogFile) Scan for "run BibTeX" messages.
14767
14768         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14769         OT1 font encoding. Also, load the aecompl package if the ae
14770         package is loaded.
14771
14772         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14773
14774 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14775
14776         * texrow.C (increasePos): turn two error messages into debug
14777         messages.
14778
14779 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14780
14781         * LaTeX.C (scanAux): Handle the \@input macro.
14782         (runBibTeX): Use scanAux().
14783
14784         * language.C (latex_options_): New field.
14785
14786         * LaTeXFeatures.C (getMacros): Add language macros.
14787
14788         * buffer.C (makeLaTeXFile): Small fix.
14789
14790 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14791
14792         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14793
14794         * text2.C: add a using directive.
14795
14796 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14797
14798         * BufferView2.C:
14799         * lyx_gui_misc.h:
14800         * lyxfr1.C:
14801         * lyxfunc.C: kill LyXBell.
14802
14803 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14804
14805         * text.C (IsBoundary): Remove the error message
14806
14807         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14808
14809         * lyxrc.C (setDefaults): Correct initialization value for
14810         font_norm_type.
14811
14812 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14813
14814         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14815         gotoError().
14816
14817         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14818         and GotoNextNote().
14819
14820         * src/LyXAction.C: Added reference-next.
14821
14822         * text.C (InsertChar): Use contains instead of strchr.
14823
14824         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14825
14826 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14827
14828         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14829         alignment commands (when needed).
14830
14831         * text.C (InsertChar): Add ':' to number separator chars.