]> git.lyx.org Git - features.git/blob - src/ChangeLog
fdc6b66a3a14aa47486d5dc3aa8a6e6043b7e66d
[features.git] / src / ChangeLog
1
2 2004-01-08  Angus Leeming  <leeming@lyx.org>
3
4         * BufferView_pimpl.C (MenuInsertLyXFile):
5         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6         * lyxfunc.C (menuNew, open, doImport): 
7         FileFilterList change to the FileDialog open and save functions.
8
9 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
10
11         * ShareContainer.h: make isEqual and isUnique adaptable
12
13         * CutAndPaste.C: make resetOwnerAndChanges adaptable
14
15 2004-01-07  Angus Leeming  <leeming@lyx.org>
16
17         * LyXAction.C:
18         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
19
20         * BufferView_pimpl.C (dispatch): act on these LFUNs.
21
22         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
23         functions replacing find, replace and replaceAll.
24
25         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
26         LFUN_WORDFIND(FORWARD|BACKWARD).
27
28 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
29
30         * text.C (breakParagraph): remove an outdated #warning
31
32 2004-01-07  André Pönitz  <poenitz@gmx.net>
33
34         * lyxfind.C: somewhat clearer logic
35
36         * text.C: prevent crash in cursorX on unitialized row cache
37
38 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
39
40         * lyxcursor.[Ch] (operator>): add
41         * textcursor.C (selStart, selEnd): use std::min and std::max
42
43 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
44
45         * Chktex.C: include boost/format.hpp
46
47 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
48
49         * InsetList.C: replace functor MathcIt with adaptable functor
50         InsetTablePosLess
51         (insetIterator): modify accordingly
52
53         * BranchList.h: move the BranchNamesEqual functor here from...
54         * BranchList.C: ... to here
55
56         * BranchList.C: new BranchListEqual fuctor, use it. Remove
57         SameName and match.
58         (add): replace a finding loop with std::find_if.
59
60 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
61
62         * output_docbook.C: moving LatexParam functionality into
63         .layout files
64
65 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
66
67         * buffer.C: increment format to 229.
68
69 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
70
71         * LaTeXFeatures.C:
72         * lyx_sty.[Ch]: remove minipageindent_def
73
74         * LyXAction.C:
75         * factory.C:
76         * lfuns.h:
77         * lyxfunc.C:
78         * text3.C: remove LFUN_INSET_MINIPAGE
79
80 2003-12-28  Angus Leeming  <leeming@lyx.org>
81
82         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
83
84 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
85
86         * text2.C (setParagraph): fix off-by-one crash
87
88 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
89
90         * output_docbook.C: header stuff for AGU
91
92 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
93
94         * text2.C (redoCursor): remove
95         * text.C:
96         * text3.C:
97         * BufferView_pimpl.C: remove calls to redoCursor and
98         setCursor(cursor.par(), cursor.pos()) all around
99
100 2003-12-15  Angus Leeming  <leeming@lyx.org>
101
102         * buffer.C: up the format to 228.
103
104 2003-12-15  André Pönitz  <poenitz@gmx.net>
105
106         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
107         slices
108
109         * Makefile.am:
110
111         * BufferView_pimpl.C:
112         * cursor.[Ch]:
113         * lyxcursor.[Ch]:
114         * rowpainter.[Ch]:
115         * lyxtext.h:
116         * text.C:
117         * text2.C:
118         * text3.C: adjust
119
120 2003-12-15  Angus Leeming  <leeming@lyx.org>
121
122         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
123         than getFromGUIName to manipulate the color.
124
125 2003-12-14  Angus Leeming  <leeming@lyx.org>
126
127         * BranchList.[Ch]: minimize the API.
128         (Branch::getBranch, getColor): now return a 'const &'.
129         (Branch::setSelected) now returns a bool set to true if the
130         selection status changes.
131         (BranchList::clear, size, getColor, setColor, setSelected,
132         allBranches, allSelected, separator): removed.
133         (BranchList::find): new functions, returning the Branch with
134         the given name.
135         (BranchList::add, remove): return a bool indicating that
136         the operation was successful.
137
138         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
139         new InsetBranch::isBranchSlected member function.
140
141         * LColor.[Ch]: mimimize the API.
142         (fill): renamed as addColor and made private.
143         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
144         versions of these functions taking a string arg have been removed.
145
146         * bufferparams.C (readToken):
147         * lyxfunc.C (dispatch):
148         * lyxrc.C (read): changes due to the altered BranchList and
149         LColor APIs.
150
151         * factory.C (createInset, readInset): changes due to altered
152         InsetBranch c-tor.
153
154 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
155
156         * factory.C:
157         * lyxfunc.C: remove insetminipage. "minipage-insert"
158         now produces a frameless minipage box inset.
159
160 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
161
162         * textcursor.[Ch] (selStart,selEnd): add new methods
163         remove selection::start, end, use LyXCursor::operator<
164         * lyxcursor.[Ch] (operator<): add
165         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
166         * BufferView.[Ch] (unsetXSel): add
167         * text2.C (clearSelection): use unsetXSel,adjust
168         * text.C: adjust
169         * text3.C: adjust
170         * rowpainter.C: adjust
171         * bufferview_funcs.C (put_selection_at): adjust
172
173 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
174
175         * BufferView_pimpl.C: small coord. correction
176
177 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
178
179         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
180         dragging over the splash screen.
181
182 2003-12-11  Angus Leeming  <leeming@lyx.org>
183
184         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
185         as it is now handled in LyXText::dispatch.
186
187         * text3.C (doInsertInset): remove a level of nesting.
188
189 2003-12-11  Angus Leeming  <leeming@lyx.org>
190
191         * factory.C (createInset): changes due to the changed interface to
192         InsetCommandMailer::string2params.
193
194 2003-12-10  Angus Leeming  <leeming@lyx.org>
195
196         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
197         'dialog-show-new-inset <inset name>'
198
199 2003-12-10  Angus Leeming  <leeming@lyx.org>
200
201         * buffer.C: up the format to 227.
202
203         * factory.C: the box inset is now identified simply by 'Box'.
204
205 2003-12-10  Angus Leeming  <leeming@lyx.org>
206
207         * buffer.C: up the format to 226.
208
209         * factory.C: the note inset is now identified simply by 'Note'.
210
211 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
212
213         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
214         when a pit is enough. Standarize a couple of loops.
215
216 2003-12-05  Angus Leeming  <leeming@lyx.org>
217
218         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
219         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
220         data to the re-worked "log" dialog.
221
222 2003-12-03  André Pönitz  <poenitz@gmx.net>
223
224         * PosIterator.C:
225         * iterators.C:
226         * lyxtext.h:
227         * output_latex.C:
228         * paragraph_funcs.C:
229         * text.C:
230         * text2.C: use Inset::getText instead of Inset::getParagraph
231
232 2003-12-03  André Pönitz  <poenitz@gmx.net>
233
234         * buffer.[Ch]:
235         * lyxtext.h:
236         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
237         InsetText::read() as LyXText::read()
238
239 2003-12-02  Angus Leeming  <leeming@lyx.org>
240
241         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
242         type. Add a comment in the implementation that the function uses
243         the stream's bad() function rather than fail() as the std::streams
244         would do.
245
246 2003-12-02  André Pönitz  <poenitz@gmx.net>
247
248         * lyxlex.[Ch]: make interface more similar to std::stream
249
250         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
251
252 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
253
254         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
255
256 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
257
258         * vspace.[Ch]: remove VSpace::NONE
259
260 2003-12-01  André Pönitz  <poenitz@gmx.net>
261
262         * buffer.[Ch]:
263         * lyxtext.h: move ParagraphList member to LyXText
264         rename LyXText::ownerParagraphs to LyXText::paragraph
265
266         * CutAndPaste.C:
267         * bufferview_funcs.C:
268         * iterators.[Ch]:
269         * lyx_cb.C:
270         * paragraph.C:
271         * rowpainter.C:
272         * tabular.C:
273         * text.C:
274         * text2.C:
275         * text3.C: adjust
276
277         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
278
279         * undo.C: fix cursor positioning
280
281 2003-12-01  John Levon  <levon@movementarian.org>
282
283         * BufferView_pimpl.C: fix a crash on exit with
284         a buffer open
285
286 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
287
288         * BranchList.C: fix setSelected() method.
289
290 2003-11-28  André Pönitz  <poenitz@gmx.net>
291
292         * ParagraphParameters.[Ch]:
293         * ParameterStruct.h: remove space above/below from Paragraph to
294          InsetVSpace
295
296         * BufferView_pimpl.C:
297         * factory.C:
298         * lyxfunc.C:
299         * lyxtext.h:
300         * output_latex.C:
301         * paragraph.C:
302         * paragraph_funcs.C:
303         * rowpainter.[Ch]:
304         * text.C:
305         * text2.C:
306         * text3.C: adjust
307
308 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
309
310         * factory.C: Syntax change for CharStyles
311
312 2003-11-28  André Pönitz  <poenitz@gmx.net>
313
314         * BufferView.[Ch]:
315         * BufferView.[Ch]:
316         * buffer.[Ch]:
317         * buffer.[Ch]: move LyXText member
318
319 2003-11-28  André Pönitz  <poenitz@gmx.net>
320
321         * BufferView.[Ch]: make LyXText * text a private member
322
323         * BufferView_pimpl.C:
324         * cursor.C:
325         * iterators.C:
326         * lyx_cb.C:
327         * lyxfind.C:
328         * lyxtext.h:
329         * rowpainter.[Ch]:
330         * text.C:
331         * text2.C:
332         * undo.C: adjust
333
334         * output_plaintext.C: cleanup
335
336 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
337
338         * buffer.C:
339         * lyxtextclass.[Ch]: parametrize SGML document header
340
341 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
342
343         * converter.[Ch]:
344         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
345         getFlavor().
346
347 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
348
349         * text2.C (setFont): rework using PosIterator (no more recursive)
350         (setCharFont): no more needed
351         (setLayout): no more selection cursors fiddling (done by redoCursor)
352         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
353         destroy remaining ones)
354
355 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
356
357         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
358         * lyxtext.h: ditto
359         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
360         selection cursors
361         * lyxfunc.C: adjust
362         * text3.C: adjust + re-allow multi par depth changes
363         * textcursor.C: simplify a bit
364
365 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
366
367         * src/buffer.C:
368         * src/lyxlayout.C:
369         * src/lyxlayout.h:
370         * src/lyxtext.h:
371         * src/output_docbook.C:
372         * src/output_latex.C:
373         * src/paragraph.C:
374         * src/paragraph.h:
375         * src/sgml.C:
376         * src/sgml.h:
377         * src/text2.C: Introducing a number of tags parametrizing various
378         XML formats that we may want to support
379
380 2003-11-25  André Pönitz  <poenitz@gmx.net>
381
382         * InsetList.[Ch] (begein, end): inline as suggested by profiler
383
384         * lyxtext.h (leftMargin/rightMargin): simplify interface
385
386         * rowpainter.C:
387         * text.C:
388         * text2.C:
389         * text3.C: adjust
390
391 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
392
393         * lyxfunc.C (dispatch): propogate the bibtex databases from the
394         master file to any child files. Fixes bug 546.
395
396 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
397
398         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
399
400 2003-11-24  André Pönitz  <poenitz@gmx.net>
401
402         * rowpainter.C: simplification
403
404         * text2.C (updateCounters): remove call to redoParagraph on
405         changed labels as this is far too expensive.
406
407 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
408
409         * converter.C (convert): fix a crash: this function gets
410         called with buffer == 0 from importer code.
411
412 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
413
414         * text3.C (cursorPrevious): make sure that we do not compare
415         iterators form different containers.
416         (cursorNext): ditto
417
418         * rowpainter.C (paintSelection): make sure that we do not compare
419         iterators from different containers.
420
421         * text3.C (dispatch): [PRIOR] make sure that we do not compare
422         iterators from different ParagraphList containers.
423         [NEXT] ditto
424
425         * text2.C (LyXText): change order of initialization slightly
426         (operator=): new function. copy all variables except cache_par_
427         (moveUp): make sure that we do not compare iterators from
428         different ParagraphList constainers.
429         (moveDown): ditto
430
431         * text.C (firstPar): new function
432         (lastPar): new function
433         (endPar): new function
434
435         * lyxtext.h: move things around and group public functions, public
436         variables, private functions, private variables
437
438 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
439
440         * factory.C: change call to InsetERT constructor to avoid
441         additional invocation of method status
442         * text2.C (toggleInset): remove redundant update() call
443         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
444         instead of a Bufferview pointer
445
446 2003-11-21  André Pönitz  <poenitz@gmx.net>
447
448         * rowpainter.C: simplification
449
450 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
451
452         * text3.C (dispatch): make possible to extend a word/row selection
453         with the mouse
454
455 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
456
457         * lyxtext.h: x0_,y0_ -> xo_,yo_
458         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
459         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
460         * rowpainter.C (paintRows): paint full paragraphs
461
462 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
463
464         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
465         screen coordinates)
466
467 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
468
469         * lyxtext.h: add x0_, y0_
470         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
471         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
472
473 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
474
475         * text2.C (setCursorIntern): move the x_target update here *
476         * text3.C: change some bv() to true/false in calls to
477         cursorUp/Down/Right/Left
478         * cursor.C: use helper function.
479
480 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
481
482         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
483         * paragraph_funcs.[Ch]: correct comment
484         * rowpainter.C: do not paint selections away from bv->cursor()
485         Fix a long standing selection painting bug.
486         * text3.C: generalize mouse-selection code to LyXTexts other that
487         top one
488         * textcursor.C: do not use y coords if we can use par offsets
489
490 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
491
492         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
493         cursor position after e.g. inset insert)
494
495 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
496
497         * lyxfind.C (replace): adjust to locking removal + some
498         code simplification
499
500 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
501
502         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
503         of the path
504
505 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
506
507         * lyxlayout.[Ch]:
508         * output_docbook.C: XML sanitation: new layout
509         parameters InnerTag and CommandDepth
510
511 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
512
513         * BufferView_pimpl.C:
514         * factory.C:
515         * text3.C: Fix the insertion and modification of button-style
516         insets
517
518 2003-11-13  André Pönitz  <poenitz@gmx.net>
519
520         * InsetList.[Ch]: remove deleteLyXText
521
522         * paragraph.[Ch]: cache beginOfBody position
523
524         * Bidi.C:
525         * text.C:
526         * text2.C:
527         * text3.C: remove superfluous update() calls
528
529         * vspace.C: cleanup
530
531 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
532
533         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
534         * BufferView.C (fitLockedInsetCursor): remove
535         * cursor.[Ch] (getDim): add
536         * text.C (getRowNearY): add faster version
537         * text3.C: remove some update calls
538
539 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
540
541         * LaTeXFeatures.C:
542         * LyXAction.C:
543         * MenuBackend.C:
544         * MenuBackend.h:
545         * dispatchresult.h:
546         * factory.C:
547         * lfuns.h:
548         * lyxfunc.C:
549         * lyxtextclass.C:
550         * lyxtextclass.h:
551         * text3.C: The Character Style /XML short element patch.
552
553 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
554
555         * text3.C:
556         * factory.C: Small step to solving 'unable to insert some insets'
557         problem
558
559 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
560
561         * cursor.[Ch] (updatePos): new function for updating the y
562         position of the tip inset
563         * bufferview_funcs.C (put_selection_at):
564         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
565
566 2003-11-11  André Pönitz  <poenitz@gmx.net>
567
568         * text.C: remove big comment on invalid Paragraph pointers as it is
569         not valid anymore
570
571 2003-11-11  André Pönitz  <poenitz@gmx.net>
572
573         * text_funcs.[Ch]: merge with ...
574
575         * text.C: ... this
576
577         * lyxtext.h:
578         * text2.C:
579         * text3.C: adjust
580
581         * Makefile.am: remove text_funcs.[Ch]
582
583 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
584
585         * cursor.C (getPos): return absolute cached y coord
586
587         * BufferView_pimpl.C (fitCursor): new simplistic code
588         (workAreaDispatch): add a fitCursor call
589
590 2003-11-10  André Pönitz  <poenitz@gmx.net>
591
592         * BufferView.[Ch]:
593         * BufferView_pimpl.[Ch]: merge update() and updateInset()
594
595 2003-11-10  André Pönitz  <poenitz@gmx.net>
596
597         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
598         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
599         indicate that the cursor needs to leave an inset
600
601         * lyxtext.h: remove inset locking
602
603         * cursor.[Ch]: re-implement functionality provided by inset locking
604
605         * BufferView.[Ch]:
606         * BufferView_pimpl.[Ch]:
607         * LyXAction.C:
608         * bufferview_funcs.[Ch]:
609         * factory.C:
610         * funcrequest.[Ch]:
611         * iterators.C:
612         * lyx_cb.C:
613         * lyxfind.C:
614         * lyxfunc.C:
615         * text.C:
616         * text2.C:
617         * text3.C:
618         * undo.C: adjust
619
620 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
621
622         * PosIterator.[Ch]: replace the stack with a vector, add inset
623         accesor
624         * iterators.[C]: adjust
625
626 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
627
628         * lyxfind.C (replaceAll): mark the buffer dirty if something was
629         replaced
630         * paragraph_funcs.C (readParToken): put the correct id in the
631         error item, not the id of the top paragraph
632
633 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
634
635         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
636         * bufferview_funcs.C (put_selection_at): use the above
637
638 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
639
640         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
641
642 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
643
644         * output_linuxdoc.h:
645         * output_plaintext.h:
646         * output.h:
647         * output_docbook.h: add #include statements
648
649 2003-11-05  José Matos  <jamatos@lyx.org>
650
651         * output_docbook.[Ch]:
652         * output_latex.[Ch]:
653         * output_linuxdoc.[Ch]:
654         * output_plaintext.[Ch]: New files for output formats.
655         * output.[Ch]: New file for helper functions.
656
657         * buffer.[Ch]:
658         * paragraph_funcs.[Ch]: output functions moved to new files.
659
660         * outputparams.h: rename of latexrunparams.h
661
662         * LaTeX.[Ch]:
663         * buffer.[Ch]:
664         * bufferlist.[Ch]:
665         * converter.[Ch]:
666         * exporter.C:
667         * paragraph.[Ch]:
668         * paragraph_funcs.[Ch]:
669         * paragraph_pimpl.[Ch]:
670         * tabular.[Ch]: rename ascii to plaintext
671         and LatexRunParams to OutputParams.
672
673 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
674
675         * iterators.[Ch] (text): require bv argument
676         * undo.C (recordUndo):
677         * lyxfunc.C (dispatch):
678         * bufferview_funcs.C (put_selection_at): adjust
679
680 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
681
682         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
683
684 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
685
686         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
687         nestings
688
689 2003-11-04  André Pönitz  <poenitz@gmx.net>
690
691         * cursor.[Ch]: restructure
692
693         * BufferView.[Ch]:
694         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
695
696         * iterators.[Ch] (asCursor): remove
697
698         * lfuns.h: remove LFUN_INSET_EDIT
699
700         * lyxfunc.C:
701         * tabular.C:
702         * text.C:
703         * text2.C:
704         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
705
706 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
707
708         * lyxfind.[Ch]: complete overhaul
709         * BufferView_pimpl.C:
710         * lyxfunc.C: adjust
711         * paragraph.[Ch] (insert): add
712
713 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
714
715         * BufferView.[Ch]:
716         * lyxtext.h:
717         * text.C: remove dead spellcheck code
718
719 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
720
721         * dispatchresult.h: add a val setter
722
723         * cursor.C (dispatch): use a tempvar for data_[i]
724
725 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
726
727         * PosIterator.[Ch]: compile fix
728
729 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
730
731         * text.C (cursorPar): deactivate the cursor cache
732
733 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
734
735         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
736
737 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
738
739         * text3.C (dispatch): adjust for new DisptchResult semantics.
740
741         * lyxfunc.C (dispatch): handle update when return from
742         Cursor::dispatch, adjust for new DispatchResult semantics.
743
744         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
745         DispatchResult(true) mean to not update. Add class functions for
746         setting dispatched and update, as well as reading.
747
748         * cursor.C (dispatch): don't handle update here
749
750 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
751
752         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
753         * trans_mgr.C: adjust
754
755         * paragraph_funcs.C (readParToken): exception safety
756
757         * lyxvc.h: store the vcs pointer in a scoped_ptr
758         * lyxvc.C: adjust
759
760         * lyxsocket.C (serverCallback): exception safety
761
762         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
763
764         * ispell.C (clone): make it return a auto_ptr
765
766         * factory.C (createInset): exception safety
767         (readInset): exception safety
768
769         * bufferlist.C (newBuffer): exception safety
770
771         * Thesaurus.C (Thesaurus): use initialization for aik_
772
773         * MenuBackend.C (expandToc): exception safety.
774
775 2003-11-03  André Pönitz  <poenitz@gmx.net>
776
777         * buffer.C:
778         * buffer.h:
779         * bufferview_funcs.C: remove getInsetFromId()
780
781         * lyxcursor.[Ch]:
782         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
783
784         * lyxfunc.C:
785         * text2.C:
786         * text3.C: adjust
787
788 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
789
790         * PosIterator.C (distance, advance): new
791         * bufferview_funcs.[Ch] (put_selection_at): new
792         * iterators.[Ch] (lockPath): new
793
794 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
795
796         * iterators.[Ch] (asPosIterator): added
797         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
798         * PosIterator.[Ch]: added
799
800 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
801
802         * text3.C:
803         * lyxfunc.C:
804         * cursor.C (dispatch):
805         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
806
807         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
808         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
809         contructor, add a class function dispatched. Remove operator>=
810
811 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
812
813         * debug.C: only use the default constructor for debugstream
814         (lyxerr) here.
815
816         * main.C (main): include debug.h and setup the lyxerr streambuf
817         here.
818
819 2003-10-31  José Matos  <jamatos@lyx.org>
820
821         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
822
823         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
824         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
825         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
826         * paragraph_pimpl.C (simpleTeXSpecialC):
827         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
828         add LatexRunParams argument.
829
830         * exporter.C (Export): change call accordingly.
831
832         * latexrunparams.h: add new member to take care of the other backends.
833 2003-10-30  José Matos  <jamatos@lyx.org>
834
835         * buffer.C (makeLinuxDocFile, makeDocBookFile):
836         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
837         factorise code for paragraph output.
838         * buffer.[Ch]:
839         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
840         move functions.
841
842 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
843
844         * text3.C (dispatch):
845         * lyxfunc.C (dispatch):
846         * cursor.C (dispatch):
847         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
848
849         * dispatchresult.h: make the dispatch_result_t ctor explicit
850
851 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
852
853         * sgml.[Ch]:
854         * buffer.C: small refactoring of docbook stuff
855
856 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
857
858         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
859         meaning.
860
861 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
862
863         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
864         operator dispatch_result_t, and operators for == != and >=
865
866         * cursor.C (dispatch): adjust for operator dispatch_result_t
867         removal. comment out call to update
868
869         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
870
871 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
872
873         * text3.C:
874         * text2.C:
875         * text.C:
876         * lyxtext.h:
877         * lyxfunc.C:
878         * cursor.C:
879         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
880         (dispatch):
881
882         * dispatchresult.h: new file, DispatchResult broken out of
883         insets/insetbase.h
884
885         * Makefile.am (lyx_SOURCES): add dispatchresult.h
886
887 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
888
889         * text.C (rowBreakPoint): put a hack inside #if 0
890
891 2003-10-28  André Pönitz  <poenitz@gmx.net>
892
893         * lyxtext.h:
894         * metricsinfo.C:
895         * paragraph_funcs.C:
896         * rowpainter.C:
897         * text.C:
898         * text2.C: general cleanup (lots of small stuff)
899
900 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
901
902         * text2.C (cursorEnd): simple fix to the "end key goes to one
903         before the end on last row" bug
904
905 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
906
907         * text.C (backspace): fix the "zombie characters"
908
909 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
910
911         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
912
913 2003-10-27  André Pönitz  <poenitz@gmx.net>
914
915         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
916
917         * factory.C: handle new InsetPagebreak, InsetLine
918
919         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
920         and move handling into new InsetPagebreak, InsetLine
921
922         * BufferView_pimpl.C:
923         * LyXAction.C:
924         * ParagraphParameters.C:
925         * ParameterStruct.h:
926         * lyxfunc.C:
927         * lyxtext.h:
928         * paragraph.C:
929         * paragraph.h:
930         * paragraph_funcs.C:
931         * paragraph_pimpl.C:
932         * rowpainter.C:
933         * text.C:
934         * text2.C:
935         * text3.C: adjust
936
937 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
938
939         * text.C:
940         * lyxrow_funcs.[Ch]:
941         * Bidi.C:
942         * paragraph.C:
943         * lyxtext.h:
944         * rowpainter.C:
945         * text2.C:
946         * text3.C: remove lastPos uses in favour of Row::endpos
947
948 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
949
950         * undo.C (performUndoOrRedo): fix two crashes by setting a
951         cursor by hand and reordering some calls. Use bv->lockInset instead
952         of inset->edit because the latter loses cursor information
953
954 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
955
956         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
957         by Martin
958         (rowBreakPoint): fix width. change point to point + 1.
959         Add a missing check.
960
961 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
962
963         * MenuBackend.C:
964         * lyxfunc.C: fix (at least partly) the problems
965         with the Nav menu and headers inside branch insets
966         reported by Kayvan
967
968 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
969
970         * paragraph.C (getChar): add strong asserts
971
972         * lyxrow_funcs.C (lastPos): remove hideous hack
973
974         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
975         (fill): adjust to that (avoid an infinite loop)
976
977 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
978
979         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
980
981 2003-10-23  André Pönitz  <poenitz@gmx.net>
982
983         * RowList_fwd.h: change list<> to vector<> to gain speed
984         after suggestion from Alfredo
985
986 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
987
988         * lyxtext.h: move the bidi stuff from here...
989         * text.C: and here
990         * text2.C: and here
991         * Bidi.[Ch]: ... to here
992
993 2003-10-23  André Pönitz  <poenitz@gmx.net>
994
995         * lyxtext.h:
996         * text.C (isLastRow, isFirstRow): new functions
997
998         * paragraph.h: new width cache member
999
1000         * rowpainter.C: replace RowList::iterator with Row & where possible
1001
1002         * lyxfunc.C: replace several view()->text with a single call
1003
1004         * toc.C: fix 'unused' warning
1005
1006 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1007
1008         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1009         when woring with stream::pos_type
1010         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1011
1012 2003-10-22  André Pönitz  <poenitz@gmx.net>
1013
1014         * lyxtext.h:
1015         * text.C: use Row & instead of RowList::iterator
1016
1017         * lyxrow.h: rename end() to endpos()
1018
1019         * rowpainter.C:
1020         * text.C:
1021         * text2.C: adjust
1022
1023 2003-10-22  Angus Leeming  <leeming@lyx.org>
1024
1025         * buffer.[Ch] (fully_loaded): new member function, returning true
1026         only when the file has been loaded fully.
1027         Used to prevent the premature generation of previews and by the
1028         citation inset to prevent computation of the natbib-style label.
1029
1030         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1031         templates are all set up.
1032
1033         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1034
1035 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1036
1037         * text.C: fixed an "oops" in the "is a bit silly"
1038         bug fix
1039
1040 2003-10-21  André Pönitz  <poenitz@gmx.net>
1041
1042         * FuncStatus.[Ch]: small stuff, whitespace
1043
1044         * lyxfont.[Ch]: operator<<() for debug reasons
1045
1046         * lyxfunc.C:
1047         * lyxrow_funcs.C:
1048         * lyxtext.h: whitespace, spelling
1049
1050         * paragraph.C: naming of variables
1051
1052         * text.C:
1053         * text2.C: small stuff
1054
1055
1056 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1057
1058         * text.C: (1) finish off the inset display() work;
1059         (2) fix the "is a bit silly" bug (accessing char
1060         past end of par).
1061
1062 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1063
1064         * text.C: re-introduce display() for insets, fixing the
1065         various bugs (stretch of line above, math inset
1066         positioning, ...)
1067
1068 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1069
1070         * text.C (rightMargin): remove spurious semicolon
1071
1072         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1073         1415)
1074
1075 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1076
1077         * text3.C: fix one crash due to wrong cursor def
1078
1079 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1080
1081         * vc-backend.C (scanMaster): make the regex static
1082
1083         * LaTeX.C (scanAuxFile): make the regexs static
1084
1085         * text3.C (doInsertInset, dispatch, dispatch):
1086         * text2.C (cursorUp, cursorDown):
1087         * text.C (selectNextWordToSpellcheck):
1088         * BufferView_pimpl.C (dispatch):
1089         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1090
1091 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1092
1093         * lyxsocket.C: include <cerrno>
1094
1095 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1096
1097         * lyxfunc.C (dispatch): remove textcache stuff
1098
1099         * bufferlist.C (release): remove textcache stuff
1100         (closeAll): ditto
1101
1102         * TextCache.C: delete file
1103         * TextCache.h: delete file
1104
1105         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1106
1107         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1108         delete of the bv_->text.
1109         (resizeCurrentBuffer): remove texcache stuff
1110         (workAreaResize): ditto
1111
1112 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1113
1114         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1115         action.
1116
1117 2003-10-16  André Pönitz  <poenitz@gmx.net>
1118
1119         * lyxrow.[Ch]:
1120         * paragraph.h:
1121         * rowpainter.C:
1122         * text.C:
1123         * text2.C:
1124         * text3.C: speed up by storing y positions per paragraph plus per-row
1125         offset instead of having a 'full' y position in the row.
1126
1127 2003-10-15  André Pönitz  <poenitz@gmx.net>
1128
1129         * iterators.[Ch]:
1130         * iterators.[Ch]:
1131         * undo.[Ch]: make undo aware of inner insets
1132
1133 2003-10-14  Angus Leeming  <leeming@lyx.org>
1134
1135         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1136         static member functions LyX::ref() and LyX::cref.
1137         (lastfiles): new accessor functions for the new lastfiles_ member var.
1138         (addLyXView, views_): add a new LyXView to the list of views_.
1139         (updateInset): loop over all LyXViews to call their own updateInset
1140         member function, returning a pointer to the Buffer owning the inset.
1141
1142         * BufferView_pimpl.C (loadLyXFile):
1143         * MenuBackend.C (expandLastfiles):
1144         * bufferlist.C (MenuWrite, QuitLyX):
1145         lastfiles is no longer a global variable.
1146         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1147
1148         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1149         static function. Access through LyX::cref().emergencyCleanup().
1150
1151 2003-10-14  André Pönitz  <poenitz@gmx.net>
1152
1153         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1154
1155         * undo.[Ch]: restoring part of 'undo in insets'
1156
1157         * Makefile.am:
1158         * undo_funcs.[Ch]: merge with undo.[Ch]
1159
1160         * tabular.C: small cleansing stuff
1161
1162 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1163
1164         * paragraph_funcs.C (readParToken): report unknown insets as error
1165         boxes. Use the outer paragraph as location (also for unknown
1166         tokens).
1167
1168         * factory.C (readInset): do not abort on reading an unknown inset.
1169         Eat it and return 0.
1170
1171 2003-10-13  Angus Leeming  <leeming@lyx.org>
1172
1173         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1174
1175         * lyxrc.C: displayTranslator is now a function,
1176         declared in GraphicsTypes.h.
1177
1178 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1179
1180         * format.C: new placeholder $$a to pass the socket address.
1181
1182         * bufferlist.[Ch]: new function getBufferFromTmp.
1183
1184         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1185           files in the temporary dir.
1186
1187 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1188
1189         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1190
1191         * Makefile.am: add lyxsocket.[Ch].
1192
1193         * lyx_main.C (error_handler): handle SIGPIPE.
1194
1195 2003-10-13  André Pönitz  <poenitz@gmx.net>
1196
1197         * BufferView_pimpl.C:
1198         * lyxtext.h:
1199         * text.C:
1200         * text2.C:
1201         * text3.C:
1202         * undo_funcs.[Ch]: use paroffset_type instead of
1203           ParagraphList::iterators to prevent multiple conversion
1204           (and get a more robust interface)
1205
1206 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1207
1208         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1209         * lyxtext.h: ditto
1210         * text3.C (dispatch): ditto
1211
1212 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1213
1214         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1215         move the onlyfile, use onlyfile instead of foundfile in a couple
1216         of places.
1217
1218         * DepTable.C (update): flush the error stream a bit more
1219
1220 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1221
1222         * lyxserver.C (callback): adjust
1223
1224         * lyxfunc.C (getStatus): add a missing brace in commented code
1225         (ensureBufferClean): reindent
1226         (dispatch): delete version taking a string
1227
1228 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1229
1230         * LaTeX.C (deplog): move found file handlig from here...
1231         (handleFoundFile): .. to new function here.
1232         (deplog): make sure to discover several files mentioned on the
1233         same log line.
1234
1235 2003-10-10  André Pönitz  <poenitz@gmx.net>
1236
1237         * lyxfunc.C:
1238         * lyxtext.h:
1239         * tabular.C:
1240         * text.C:
1241         * text2.C:
1242         * text3.C: fix some of the tabular crashes
1243
1244 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1245
1246         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1247
1248         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1249
1250 2003-10-09  André Pönitz  <poenitz@gmx.net>
1251
1252         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1253
1254         * BufferView.C:
1255         * BufferView_pimpl.C:
1256         * bufferview_funcs.C:
1257         * lyx_cb.C:
1258         * lyxcursor.C:
1259         * lyxfind.C:
1260         * lyxfunc.C:
1261         * lyxtext.h:
1262         * text.C:
1263         * text2.C:
1264         * text3.C:
1265         * text_funcs.[Ch]:
1266         * textcursor.[Ch]:
1267         * undo_funcs.C: adjust
1268
1269 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1270
1271         * text2.C (incrementItemDepth): new function, use a backtracking
1272         algorithm to discover the correct item depth.
1273         (resetEnumCounterIfNeeded): new function, use a backtracking
1274         algorithm to discover if counter reset is needed.
1275         (setCounter): use them. Simplify a bit. Add different labels for
1276         different item depths for itemize.
1277
1278         * paragraph.C (Paragraph): remove initialization of enumdepth
1279         (operator=): ditto
1280
1281         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1282         enumerate and itemize. Change the type of itemdepth to signed char.
1283
1284 2003-10-08  André Pönitz  <poenitz@gmx.net>
1285
1286         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1287           thing assignable.
1288         * text.C:
1289         * text2.C: adjust
1290
1291         * tabular.[Ch]: fix crash after 'row-insert'
1292
1293 2003-10-08  Angus Leeming  <leeming@lyx.org>
1294
1295         Fix doxygen warnings.
1296
1297         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1298         Remove CutAndPaste:: prefix from header file declaration.
1299
1300         * LColor.h (fill): remove LColor:: prefix from declaration.
1301
1302         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1303         use lyx::depth_type rather than Paragraph::depth_type so that
1304         header file and .C file match.
1305
1306         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1307
1308         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1309         * aspell.C: \file aspell_local.C -> \file aspell.C
1310         * gettext.C: \file gettext.C -> \file src/gettext.C
1311         * gettext.h: \file gettext.h -> \file src/gettext.h
1312         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1313         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1314         * text.C: \file text.C -> \file src/text.C
1315
1316         * toc.C: move comment so that doxygen is not confused.
1317
1318 2003-10-07  Angus Leeming  <leeming@lyx.org>
1319
1320         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1321
1322 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1323
1324         * aspell.C:
1325         * aspell_local.h: add forgotten std::string's.
1326
1327 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1328
1329         * LaTeXFeatures.C:
1330         * LyXAction.C:
1331         * factory.C:
1332         * lfuns.h:
1333         * lyxfunc.C:
1334         * text3.C: The Box patch. Fancybox support, minipage, parbox
1335
1336 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1337
1338         * CutAndPaste.h:
1339         * DepTable.h:
1340         * FloatList.h:
1341         * LaTeXFeatures.h:
1342         * ParagraphParameters.h:
1343         * TextCache.h:
1344         * Thesaurus.h:
1345         * bufferlist.h:
1346         * exporter.h:
1347         * importer.h:
1348         * lastfiles.h:
1349         * lyxfind.h:
1350         * lyxfont.h:
1351         * lyxlex.h:
1352         * lyxtextclasslist.h:
1353         * messages.h:
1354         * paragraph.h:
1355         * paragraph_pimpl.C:
1356         * textcursor.h: add <string> and other small fixes to make Lars'
1357         std::string patch compile with STLport.
1358
1359 2003-10-06  Angus Leeming  <leeming@lyx.org>
1360
1361         * LColor.h: Add missing #include <string>.
1362
1363 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1364
1365         * All most all file in all subdirs: Make <string> be the prefered
1366         way of getting to std::string, add using declarations.
1367
1368 2003-10-06  André Pönitz  <poenitz@gmx.net>
1369
1370         * metricsinfo.C: initialize LyXFont before changing attribute.
1371         (fixes the 'math in \emph is upright' bug)
1372
1373 2003-10-06  André Pönitz  <poenitz@gmx.net>
1374
1375         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1376
1377 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1378
1379         * graph.C:
1380         * paragraph_pimpl.C: Small fixes to build using STLport
1381
1382 2003-10-02  André Pönitz  <poenitz@gmx.net>
1383
1384         * lyxfunc.C:
1385         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1386
1387 2003-10-01  André Pönitz  <poenitz@gmx.net>
1388
1389         * factory.C: assert early
1390
1391 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1392
1393         * lyx_main.C: remove the global debug object
1394
1395         * debug.h: adjust for new debugstream
1396
1397         * debug.C: adjust for new debugstream and keep the global debug
1398         object here.
1399
1400 2003-09-22  Angus Leeming  <leeming@lyx.org>
1401
1402         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1403         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1404         an incomplete class LyXFont.
1405
1406 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1407
1408         * factory.C: bug fix in branches
1409
1410 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1411
1412         * lyxfunc.C (processKeySym): adjust
1413         (dispatch): adjust
1414         (dispatch): change arg name from ev to func, adjust
1415         (sendDispatchMessage): ditto
1416
1417         * lyx_main.C (defaultKeyBindings): adjust keybindings
1418         (deadKeyBindings): ditto
1419
1420         * kbsequence.C (addkey): return a FuncRequest
1421
1422         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1423
1424         * kbmap.C (bind): take a FuncRequest as arg, adjust
1425         (read): adjust
1426         (lookup): adjust
1427         (defkey): change to take a FuncRequest as arg, adjust
1428         (findbinding): take a FuncRequest as arg, adjust.
1429
1430         * funcrequest.h (operator=): added
1431
1432         * funcrequest.C (FuncRequest): default kb_action changed from
1433         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1434
1435         * buffer.C (dispatch): simplify
1436         (dispatch): adjust to take a FuncRequest as arg, adjust
1437
1438         * boost.C (assertion_failed): change assertion message slightly
1439
1440         * ToolbarBackend.C (read): simplify
1441
1442         * MenuBackend.C (binding): adjust call to findbinding, add a
1443         message if no binding is found.
1444         (read): simplify
1445         (expandToc): correct by adding a empty FuncRequest
1446
1447         * LyXAction.C: include <boost/assert.hpp>
1448         (isPseudoAction): delete function
1449         (LookupFunc): change name to...
1450         (lookupFunc): this. change return type to FuncRequest.
1451         (getActionName): take kb_action as arg, simplify
1452         (funcHasFlag): add an assert, simplify.
1453
1454 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1455
1456         * toc.C (action): return a FuncRequest, simplify
1457
1458         * lyxfunc.C (processKeySym): adjust
1459         (getStatus): delete version that takes an int.
1460         (getStatus): adjust
1461         (dispatch): delete version that takes action as int
1462         (dispatch): adjust
1463         (sendDispatchMessage): simplify and adjust
1464
1465         * funcrequest.C (getArg): take unsigned int as arg
1466
1467         * ToolbarBackend.C (read): adjust
1468         (add): delete version that takes func as a string.
1469         (getIton): take a FuncRequest as arg
1470
1471         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1472         action.
1473
1474         * MenuBackend.C (MenuItem): add a new construct that only takes a
1475         Kind, simplify the constructor use for submenus.
1476         (add): adjust
1477         (expandLastfiles): adjust
1478         (expandDocuments): adjust
1479         (expandFormats): adjust
1480         (expandFloatListInsert): adjust
1481         (expandFloatInsert): adjust
1482         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1483
1484         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1485         Remove class variables lyx_pseudo_map and lyx_arg_map
1486
1487         * LyXAction.C (searchActionArg): delete function
1488         (getPseudoAction): delete function
1489         (retrieveActionArg): delete function
1490         (LookupFunc): make it return kb_action, simplify.
1491         (getActionName): simplify
1492
1493         * factory.C (createInset): fix new bug
1494
1495 2003-09-19  Angus Leeming  <leeming@lyx.org>
1496
1497         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1498         masterFilename_ parameter in the include inset.
1499
1500         * factory.C (createInset): changes due to the changes to InsetInclude.
1501
1502 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1503
1504         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1505
1506 2003-09-18  Angus Leeming  <leeming@lyx.org>
1507
1508         * buffer.C:
1509         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1510         Inset::fillWithBibKeys.
1511         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1512
1513 2003-09-18  Angus Leeming  <leeming@lyx.org>
1514
1515         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1516         variables.
1517         (ctor): pass and store a 'Buffer const &'
1518         (buffer): new member function.
1519
1520         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1521         '*this' to the LaTeXFeatures ctor.
1522
1523 2003-09-18  Angus Leeming  <leeming@lyx.org>
1524
1525         * LColor.h:
1526         * lyxfont.C:
1527         * lyxfont.h:
1528         * lyxtext.h:
1529         * text.C: rename EnumLColor as LColor_color.
1530
1531 2003-09-18  Angus Leeming  <leeming@lyx.org>
1532
1533         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1534         remove #include "insets/insetbase.h" from cursor.h.
1535
1536 2003-09-18  Angus Leeming  <leeming@lyx.org>
1537
1538         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1539         InsetOld_code to remove #include "inset.h".
1540
1541         * iterators.C: add #include "insets/inset.h"
1542
1543 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1544
1545         * BufferView.C: remove more locking stuff that apparently doesn't
1546         do anything sensible.
1547
1548 2003-09-16  André Pönitz  <poenitz@gmx.net>
1549
1550         * paragraph.[Ch]:
1551         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1552           performance boost.
1553
1554 2003-09-16  Angus Leeming  <leeming@lyx.org>
1555
1556         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1557
1558         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1559         arg/return type.
1560
1561         * paragraph.h: remove #include "lyxfont.h". Forward declare
1562         LyXFont_size.
1563
1564 2003-09-16  Angus Leeming  <leeming@lyx.org>
1565
1566         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1567         of support/textutils.h.
1568         (isWord): move the contents of support/textutils.h's IsWordChar here.
1569
1570         * buffer.C:
1571         * lyxfind.C:
1572         * rowpainter.C:
1573         * text.C:
1574         * text2.C: add #include "paragraph.h".
1575
1576         * rowpainter.C:
1577         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1578
1579 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1580
1581         * main.C:
1582         * lyx_main.C:
1583         * lyx_cb.C:
1584         * buffer.C:
1585         * LaTeX.C: use namespace alias for lyx::support::os
1586
1587 2003-09-16  Angus Leeming  <leeming@lyx.org>
1588
1589         * bufferparams.C:
1590         * bufferview_funcs.C:
1591         * factory.C:
1592         * lyxfunc.C:
1593         * paragraph_pimpl.C:
1594         * rowpainter.C:
1595         * text.C: add #include "LColor.h".
1596
1597 2003-09-16  Angus Leeming  <leeming@lyx.org>
1598
1599         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1600         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1601         return LyXFont &.
1602         Store the FontBits::color variable as an int rather than as an
1603         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1604         file.
1605
1606         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1607         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1608         string calls together.
1609
1610         * lyxrc.C: add #include "LColor.h".
1611
1612 2003-09-15  Angus Leeming  <leeming@lyx.org>
1613
1614         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1615         a cow_ptr.
1616
1617 2003-09-15  Angus Leeming  <leeming@lyx.org>
1618
1619         * LColor.h: add an EnumLColor wrapper for LColor::color.
1620
1621         * lyxfont.[Ch] (color, setColor, realColor):
1622         * lyxtext.h, text.C (backgroundColor):
1623         pass EnumLColor args to/from the functions, rather than LColor::color
1624         ones.
1625
1626         * lyxfont.h:
1627         * lyxtext.h: forward declare EnumLColor.
1628
1629         * lyx_main.C: add #include "LColor.h".
1630
1631 2003-09-15  Angus Leeming  <leeming@lyx.org>
1632
1633         * .cvsignore: add lyx-gtk.
1634
1635 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1636
1637         * Chktex.C
1638         * LaTeX.C
1639         * LaTeXFeatures.C
1640         * ParagraphParameters.C
1641         * Spacing.C
1642         * buffer.C
1643         * bufferparams.C
1644         * bufferview_funcs.C
1645         * chset.C
1646         * counters.C
1647         * funcrequest.C
1648         * lyxfont.C
1649         * lyxgluelength.C
1650         * lyxlength.C
1651         * paragraph.C
1652         * paragraph_funcs.C
1653         * text3.C
1654         * vc-backend.C: remove usage of STRCONV
1655
1656 2003-09-15  Angus Leeming  <leeming@lyx.org>
1657
1658         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1659         explicitly define the color passed to the painter.
1660
1661 2003-09-15  Angus Leeming  <leeming@lyx.org>
1662
1663         * bufferparams.C (BufferParams): reorder member initializers to avoid
1664         compiler warning.
1665
1666 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1667
1668         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1669         * text.C (updateRowPositions): remove an unusual nop
1670
1671 2003-09-12  André Pönitz  <poenitz@gmx.net>
1672
1673         * BufferView_pimpl.C:
1674         * Bullet.C:
1675         * layout.h:
1676         * lyxfunc.C:
1677         * lyxlayout.[Ch]:
1678         * lyxtextclass.C:
1679         * rowpainter.C:
1680         * text.C:
1681         * text2.C:
1682         * Counters.[Ch]: finish the 'automatic counters' job
1683
1684 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1685
1686         * aspell.C: include <boost/assert.cpp> (compile fix)
1687
1688 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1689
1690         * boost.C (assertion_failed): use lyx::support::abort instead of
1691         assert.
1692
1693 2003-09-10  Angus Leeming  <leeming@lyx.org>
1694
1695         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1696         with their _fwd progeny.
1697
1698 2003-09-09  Angus Leeming  <leeming@lyx.org>
1699
1700         134 files throughtout the source tree: replace 'using namespace abc;'
1701         directives with the appropriate 'using abc::xyz;' declarations.
1702
1703 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1704
1705         * boost.C (emergencyCleanup): moved here from LAssert.c
1706         (assertion_failed): new function, called by BOOST_ASSERT
1707
1708         * several files: change Assert to BOOST_ASSERT
1709
1710 2003-09-09  Angus Leeming  <leeming@lyx.org>
1711
1712         * buffer.[Ch]: Add an Impl class and move Buffer's member
1713         variables into it. As a result move several header files out of
1714         buffer.h.
1715
1716         Add header files to lots of .C files all over the tree as a result.
1717
1718 2003-09-09  Angus Leeming  <leeming@lyx.org>
1719
1720         * buffer.[Ch]: make Buffer's member variables private. Add
1721         accessor functions.
1722
1723         Lots of changes all over the tree as a result.
1724
1725 2003-09-08  Angus Leeming  <leeming@lyx.org>
1726
1727         * graph.C: #include <config.h>.
1728
1729 2003-09-08  Angus Leeming  <leeming@lyx.org>
1730
1731         * BranchList.C:
1732         * BufferView.C:
1733         * BufferView_pimpl.C:
1734         * CutAndPaste.C:
1735         * DepTable.C:
1736         * LaTeX.C:
1737         * LaTeXFeatures.C:
1738         * LyXAction.C:
1739         * MenuBackend.C:
1740         * TextCache.C:
1741         * aspell.C:
1742         * buffer.C:
1743         * bufferlist.C:
1744         * changes.C:
1745         * chset.C:
1746         * converter.C:
1747         * counters.C:
1748         * debug.C:
1749         * graph.C:
1750         * ispell.C:
1751         * lyx_cb.C:
1752         * lyxfind.C:
1753         * lyxfunc.C:
1754         * lyxlex_pimpl.C:
1755         * lyxrc.C:
1756         * lyxrow.C:
1757         * paragraph.C:
1758         * rowpainter.C:
1759         * texrow.C:
1760         * text.C:
1761         * text2.C:
1762         * toc.C: remove redundant using directives.
1763
1764 2003-09-07  Angus Leeming  <leeming@lyx.org>
1765
1766         * LaTeXFeatures.h: remove #include "support/types.h".
1767         * ToolbarBackend.h: remove #include <algorithm>.
1768         * changes.h: remove #include <ctime>.
1769         * debug.h: remove #include <iosfwd>.
1770         * graph.h: remove #include "support/std_string.h".
1771         * lyx_main.h: remove #include <csignal>.
1772         * lyxlex_pimpl.h: remove #include <fstream>.
1773         * sgml.h: remove #include <algorithm>, <utility>.
1774         * toc.h: remove #include "support/std_ostream.h".
1775         Add #include <iosfwd>.
1776
1777 2003-09-07  Angus Leeming  <leeming@lyx.org>
1778
1779         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1780
1781         * converter.h: forward declare LatexRunParams.
1782         * encoding.h: remove #include "lyxrc.h".
1783         * lyxtext.h: remove #include "LColor.h".
1784         * lyxtextclass.h: remove #include "support/types.h".
1785         * trans.h: remove #include "tex-accent.h".
1786         * trans_mgr.h: remove #include "tex-accent.h".
1787         * insets/inset.h: remove #include "support/types.h", <vector>.
1788         * insets/insetcollapsable.h: remove #include "LColor.h".
1789         * insets/insetinclude.h: remove #include "dimension.h".
1790         * insets/insetlatexaccent.h: remove #include "dimension.h".
1791         * insets/insetoptarg.h:: remove #include "insettext.h".
1792         * insets/insettext.h: remove #include "dimension.h",
1793         <boost/shared_ptr.hpp>
1794
1795         * insets/renderers.h: add #include "dimension.h".
1796         * insets/updatableinset.h: add #include "support/types.h".
1797
1798         * many .C files: Associated changes.
1799
1800 2003-09-06  Angus Leeming  <leeming@lyx.org>
1801
1802         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1803         one, inside testInvariant.
1804
1805         * PrinterParams.C: new file.
1806         * PrinterParams.[Ch]: move the function bodies out of line.
1807
1808 2003-09-06  Angus Leeming  <leeming@lyx.org>
1809
1810         * ParagraphParameters.h: forward declare ParameterStruct rather than
1811         including its header file.
1812         (depth): moved out-of-line.
1813
1814 2003-09-06  Angus Leeming  <leeming@lyx.org>
1815
1816         * BufferView_pimpl.h:
1817         * kbmap.h:
1818         * kbsequence.h:
1819         * lyxfunc.h: forward declare LyXKeySym rather than
1820         #include "frontends/LyXKeySym.h".
1821
1822         * BufferView_pimpl.C:
1823         * kbmap.C:
1824         * kbsequence.C:
1825         * lyxfunc.C: associated changes.
1826
1827 2003-09-06  Angus Leeming  <leeming@lyx.org>
1828
1829         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1830         As a result, can remove the #include "insets/inset.h" from BufferView.h
1831
1832 2003-09-06  Angus Leeming  <leeming@lyx.org>
1833
1834         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1835         As a result, can remove the #include "insets/inset.h" from BufferView.h
1836
1837 2003-09-06  Angus Leeming  <leeming@lyx.org>
1838
1839         * buffer_funcs.C:
1840         * buffer.h:
1841         * bufferlist.C:
1842         * BufferView.C:
1843         * bufferview_funcs.C:
1844         * BufferView_pimpl.C:
1845         * CutAndPaste.C:
1846         * lyx_cb.C:
1847         * lyxfunc.C:
1848         * paragraph.h:
1849         * ParagraphParameters.C:
1850         * tabular.C:
1851         * text3.C:
1852         * toc.C:
1853         * undo_funcs.C:
1854         * frontends/controllers/ControlDocument.C:
1855         * insets/insetcaption.C: rearrange the #includes into some sort of
1856         coherent order.
1857
1858         * buffer.h: remove #includes ErrorList.h, undo.h
1859
1860 2003-09-06  Angus Leeming  <leeming@lyx.org>
1861
1862         * support/types.h: add a 'depth_type' typedef, used to store the
1863         nesting depth of a paragraph.
1864
1865         * paragraph.h:
1866         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1867         defining explicitly.
1868
1869         * buffer.h:
1870         * paragraph_funcs.h:
1871         * ParagraphParameters.h:
1872         * sgml.h: use lyx::depth_type rather than Paragraph or
1873         ParameterStruct's depth_type.
1874
1875         * buffer.h
1876         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1877
1878         * BufferView.C:
1879         * BufferView_pimpl.C:
1880         * CutAndPaste.C:
1881         * ParagraphParameters.C:
1882         * buffer_funcs.C:
1883         * bufferlist.C:
1884         * bufferview_funcs.C:
1885         * lyx_cb.C:
1886         * lyxfunc.C:
1887         * tabular.C:
1888         * text3.C:
1889         * toc.C:
1890         * undo_funcs.C:
1891         * frontends/LyXView.C:
1892         * frontends/controllers/ControlDocument.C:
1893         * frontends/controllers/ControlErrorList.C:
1894         * insets/insetbibitem.C:
1895         * insets/insetbranch.C:
1896         * insets/insetcaption.C:
1897         * insets/insetcollapsable.C:
1898         * insets/insetenv.C:
1899         * insets/insetert.C:
1900         * insets/insetfloat.C:
1901         * insets/insetfoot.C:
1902         * insets/insetfootlike.C:
1903         * insets/insetnewline.C:
1904         * insets/insetquotes.C:
1905         * insets/insettabular.C:
1906         * insets/insettext.C:
1907         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1908
1909         * frontends/controllers/ControlChanges.C: #include "changes.h".
1910
1911 2003-09-06  Angus Leeming  <leeming@lyx.org>
1912
1913         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1914         than #including paragraph.h.
1915
1916         * ParagraphList.h:
1917         * RowList.h: deleted. Superfluous.
1918
1919         * CutAndPaste.h:
1920         * iterators.h:
1921         * lyxcursor.h:
1922         * lyxtext.h:
1923         * text_funcs.h:
1924         * undo.h:
1925         * undo_funcs.h:
1926         * insets/inset.h:
1927         * insets/insettext.h: use ParagraphList_fwd.h rather than
1928         ParagraphList.h.
1929
1930         * paragraph.h: don't forward declare ParagraphList.
1931
1932         * buffer.h:
1933         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1934         rather than ParagraphList.h. paragraph.h is still needed for the
1935         Paragraph::depth_type parameters.
1936
1937         * textcursor.h: enable it to compile stand-alone in light of the
1938         above changes.
1939
1940         * bufferview_funcs.C:
1941         * iterators.C:
1942         * lyxfunc.C:
1943         * lyxrow_funcs.C:
1944         * paragraph.C:
1945         * rowpainter.C:
1946         * text.C:
1947         * text2.C:
1948         * text3.C:
1949         * text_funcs.C:
1950         * textcursor.C:
1951         * undo.C:
1952         * frontends/controllers/ControlParagraph.C:
1953         * frontends/controllers/ControlTabular.C:
1954         * insets/insetmarginal.C:
1955         * insets/insetminipage.C:
1956         * insets/insetnote.C:
1957         * insets/insetoptarg.C: add header files needed to compile again.
1958
1959 2003-09-06  Angus Leeming  <leeming@lyx.org>
1960
1961         * RowList_fwd.h: new file, forward-declaring Row rather than
1962         #including lyxrow.h.
1963
1964         * lyxrow_funcs.h:
1965         * lyxtext.h:
1966         * paragraph.h:
1967         * insets/insettext.h: use it instead of RowList.h
1968
1969         * bufferview_funcs.C:
1970         * lyxfunc.C:
1971         * lyxrow_funcs.C:
1972         * paragraph.C:
1973         * rowpainter.C:
1974         * text.C:
1975         * text2.C:
1976         * text3.C: #include "RowList.h".
1977
1978 2003-09-05  Angus Leeming  <leeming@lyx.org>
1979
1980         * factory.C (createInset):
1981         * vspace.C (c-tor): replace sscanf call with an istringstream.
1982         * ispell.C: re-add missing HP/UX headers.
1983         * lyxserver.C: re-add missing  os2 headers.
1984
1985 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1986
1987         * BranchList.C:
1988         * graph.C:
1989         * ispell.C:
1990         * lastfiles.C:
1991         * lyx_cb.C:
1992         * lyxserver.C:
1993         * texrow.C:
1994         * text3.C: re-add missing system headers, needed for 2.95.2.
1995
1996 2003-09-05  Angus Leeming  <leeming@lyx.org>
1997
1998         Changes most place everywhere due to the removal of using directives
1999         from support/std_sstream.h.
2000
2001 2003-09-05  Angus Leeming  <leeming@lyx.org>
2002
2003         Replace LString.h with support/std_string.h,
2004         Lsstream.h with support/std_sstream.h,
2005         support/LIstream.h with support/std_istream.h,
2006         support/LOstream.h with support/std_ostream.h.
2007
2008         Changes resulting throughout the tree.
2009
2010 2003-09-05  Angus Leeming  <leeming@lyx.org>
2011
2012         * sgml.h: ensure that the header file can be compiled stand-alone.
2013         * *.C: strip out redundant #includes. (320 in total.)
2014
2015 2003-09-04  Angus Leeming  <leeming@lyx.org>
2016
2017         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2018         here (from getPackages).
2019
2020         * debug.[Ch]: add a new EXTERNAL tag.
2021
2022 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2023
2024         * text2.C (cursorEnd): simplify
2025         (setCursor): adjust
2026         (getColumnNearX): adjust
2027
2028         * text.C (computeBidiTables): adjust
2029         (fill): adjust
2030
2031         * rowpainter.C (paintChars): adjust
2032         (paintSelection): adjust
2033         (paintChangeBar): adjust
2034         (paintText): adjust
2035
2036         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2037         lastPos instead.
2038         (numberOfSeparators): adjust
2039
2040 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2041
2042         * LyXAction.C:
2043         * box.[Ch]:
2044         * lfuns.h:
2045         * lyxfunc.C:
2046         * text3.C: Restricts the mouse click functionality
2047         of insets like bibtex, include, toc and floatlist to the visible
2048         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2049         up the dialogs. Cursor has to be in front of the inset (i.e.
2050         start of row) for this to function.
2051
2052 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2053
2054         * bufferview_funcs.C (currentState): output row information
2055
2056 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2057
2058         * bufferview_funcs.C (currentState): output paragraph position
2059
2060 2003-09-04  Angus Leeming  <leeming@lyx.org>
2061
2062         * FloatList.h: move out #include "Floating.h".
2063         * LaTeX.h: move out #include "DepTable.h".
2064         * LyXAction.h: move out #include "funcrequest.h".
2065         * buffer.h: move out #include "author.h", "iterators.h".
2066         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2067         * lyx_main.h: move out #include "errorlist.h".
2068         * lyxfunc.h: move out #include "FuncStatus.h".
2069         * lyxtext: move out #include "lyxcursor.h".
2070         * paragraph_pimpl.h: move out #include "counters.h".
2071
2072 2003-09-03  Angus Leeming  <leeming@lyx.org>
2073
2074         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2075         preamble_snippets list, enabling us to add snippets to the preamble
2076         only if the snippet was not there already.
2077
2078 2003-09-04  Angus Leeming  <leeming@lyx.org>
2079
2080         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2081
2082 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2083
2084         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2085         update
2086
2087 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2088
2089         * BranchList.C: point fix, earlier forgotten
2090
2091 2003-09-02  Angus Leeming  <leeming@lyx.org>
2092
2093         * box.C (contains): renamed from 'contained' after a fantastic
2094         amount of hot air.
2095
2096 2003-09-02  John Levon  <levon@movementarian.org>
2097
2098         * BufferView.C:
2099         * lyxcursor.h:
2100         * lyxcursor.C:
2101         * lyxfunc.C:
2102         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2103
2104 2003-09-02  John Levon  <levon@movementarian.org>
2105
2106         * text2.C: simplification of cursorEnd(), including partial
2107         fix for bug 1376
2108
2109 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2110
2111         * buffer.C (readFile): add a space
2112
2113 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2114
2115         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2116
2117 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2118
2119         * buffer.C (readFile): new function, take a filename and a
2120         ParagraphList::iterator
2121         (readFile): adjust
2122         (readFile): adjust, make it private. don't use setStream, make
2123         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2124         always contain the filename.
2125
2126         * BufferView.C (insertLyXFile): simplify and make it work for
2127         gzipped files.
2128
2129 2003-08-30  John Levon  <levon@movementarian.org>
2130
2131         * Makefile.am: fix dist (from Kayvan)
2132
2133 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2134
2135         * most files: change to use const Buffer refs
2136
2137 2003-08-27  André Pönitz  <poenitz@gmx.net>
2138
2139         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2140         on top of ownerPar().
2141
2142 2003-08-27  John Levon  <levon@movementarian.org>
2143
2144         * funcrequest.C: properly initialise POD members
2145
2146 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2147
2148         * lyxtext.h (top_y): move top_y from here
2149         * text.C:
2150         * text2.C:
2151         * text3.C:
2152         * BufferView.[Ch]:
2153         * BufferView_pimpl.[Ch]: to here
2154         * frontends/screen.C:
2155         * insets/insettabular.C:
2156         * insets/insettext.C: adjust
2157         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2158
2159 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2160
2161         * BufferView.[Ch]:
2162         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2163
2164 2003-08-26  André Pönitz  <poenitz@gmx.net>
2165
2166         * paragraph_func.[Ch] (outerPar): new function
2167
2168         * paragraph.C:
2169         * paragraph_funcs.C:
2170         * paragraph_funcs.h:
2171         * paragraph_pimpl.C:
2172         * text2.C: remove Inset::par_owner
2173
2174 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2175
2176         * lyxrow_funcs.C:
2177         * lyxtext.h:
2178         * text.C:
2179         * text2.C: eliminates the needFullRow/display() stuff
2180         altogether, putting the logic in metrics/draw in the insets.
2181
2182 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2183
2184         * text2.C (redoParagraphInternal, redoParagraphs):
2185         * text.C (redoParagraph): add a call to updateRowPositions at the
2186         end of each 'metrics-like' call. Remove all others.
2187         (getRow): remove the 'y-computing' version.
2188         (getRowNearY): do not compute nor return the real y. Solve the
2189         'y < 0' problem and simplify.
2190
2191 2003-08-22  Angus Leeming  <leeming@lyx.org>
2192
2193         * *.[Ch]: clean-up of licence and author blurbs.
2194         Also move config.h out of a few .h files and into a few .C files.
2195
2196 2003-08-22  André Pönitz  <poenitz@gmx.net>
2197
2198         * lyxrow.[Ch]: add x_ and *fill_ members
2199
2200         * lyxtext.h:
2201         * text.C:
2202         * rowpainter.C:
2203         * text2.C: adjust/remove prepareToPrint() calls
2204
2205 2003-08-22  André Pönitz  <poenitz@gmx.net>
2206
2207         * lyxrow.[Ch]: add  end_ member
2208
2209         * lyxrow_funcs.C: use LyXRow::end_
2210
2211         * lyxtext.h (singleWidth): add LyXFont parameter
2212
2213         * rowpainter.C:
2214         * text2.C: adjust LyXText::singleWidth() calls
2215
2216         * text.C (redoParagraph): simplify row breaking logic
2217
2218
2219 2003-08-19  André Pönitz  <poenitz@gmx.net>
2220
2221         * funcrequest.C: initialize button_ member
2222
2223         * text3.C:
2224         * rowpainter.[Ch]: interface consolidation
2225
2226 2003-08-18  André Pönitz  <poenitz@gmx.net>
2227
2228         * BufferView.C:
2229         * BufferView_pimpl.C:
2230         * lyxfind.C:
2231         * paragraph_funcs.C:
2232         * rowpainter.C:
2233         * text3.C: remove LyXScreen::draw() and fitCursor calls
2234
2235         * BranchList.h: remove spurious semicolons
2236
2237         * MenuBackend.C: fix branchlist related crash
2238
2239 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2240
2241         * BranchList.[Ch]:
2242         * InsetList.[Ch]:
2243         * LColor.[Ch]:
2244         * LyXAction.C:
2245         * Makefile.am:
2246         * MenuBackend.[Ch]:
2247         * bufferparams.[Ch]:
2248         * factory.C:
2249         * lfuns.h:
2250         * lyxfunc.C:
2251         * text3.C: implements the 'branch inset'
2252         idea. This allows the output of various versions of a document
2253         from a single source version, selectively outputing or suppressing
2254         output of parts of the text.
2255         This implementation contains a 'branch list editor' in a separate
2256         tab of the document settings dialog. Branches are user definable
2257         and have a "display colour" to distinguish them on-screen.
2258
2259         ColorHandler was somewhat cleaned up.
2260         (1) make possible a dynamically growing LColor list by allowing
2261         the graphic context cache to grow along (vector);
2262         (2) eliminate an IMHO unnecessary step in colour allocation.
2263
2264 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2265
2266         * BufferView_pimpl.C: compile fix
2267
2268 2003-08-15  André Pönitz  <poenitz@gmx.net>
2269
2270         * rowpainter.C: remove extra metrics calls
2271
2272         * lyxtext.h: merge the two constructors into a single one,
2273           pass reference to owner's par list
2274
2275         * BufferView_pimpl.C:
2276         * text.C:
2277         * text2.C: adjust
2278
2279 2003-08-15  André Pönitz  <poenitz@gmx.net>
2280
2281         * lyxrow_funcs.[Ch]:
2282         * lyxtext.h:
2283         * paragraph.h:
2284         * paragraph_funcs.C:
2285         * rowpainter.C:
2286         * text.C:
2287         * text2.C:
2288         * text3.C:
2289         * text_funcs.C: split LyXText::rowlist_ into individual
2290         Paragraph::rows_ chunks
2291
2292         * BufferView.[Ch]:
2293         * BufferView_pimpl.[Ch]:
2294         * lyxfind.C:
2295         * lyxtext.h:
2296         * text3.C: remove toggleSelection()
2297
2298 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2299
2300         * bufferlist.C: beautify two alerts (shorter text of buttons)
2301         * buffer.C: Remove redundant ' ' from message
2302         * tabular.h:
2303         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2304         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2305         rename VALIGN_CENTER to VALIGN_MIDDLE
2306
2307 2003-08-11  André Pönitz  <poenitz@gmx.net>
2308
2309         * lyxtext.h (getPar):
2310         * text.C: new function
2311
2312 2003-08-11  André Pönitz  <poenitz@gmx.net>
2313
2314         * Makefile.am:
2315         * tracer.[Ch]: remove unneeded files
2316
2317         * InsetList.[Ch]: remove resizeInsetsLyXText()
2318
2319         * lyxtext.h:
2320         * text.C:
2321         * text2.C:
2322         * text3.C: merge insertParagraphs() and appendParagraph()
2323         remove breakAgain(), update()
2324
2325         * BufferView_pimpl.[Ch]:
2326         * bufferview_funcs.[Ch]:
2327         * lyxfunc.C:
2328         * paragraph.[Ch]:
2329         * rowpainter.C:
2330         * tabular.C: adjust after text & InsetList changes.
2331
2332 2003-08-08  André Pönitz  <poenitz@gmx.net>
2333
2334         * text.C (insertChar, backspace): replace rowlist fiddling
2335         with rebreak of full par
2336
2337         * lyxtext.h:
2338         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2339         checkParagraph, updateInset): removed
2340
2341 2003-08-07  André Pönitz  <poenitz@gmx.net>
2342
2343         * paragraph.C:
2344         * text3.C: merge some LFUN handlers, remove dead code
2345
2346 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2347
2348         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2349
2350 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2351
2352         * text2.C (DEPM): fix part of bug 1255 and 1256
2353
2354 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2355
2356         * BufferView_pimpl.C (workAreaDispatch): change to use
2357         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2358         that are no mouse related.
2359
2360 2003-08-05  André Pönitz  <poenitz@gmx.net>
2361
2362         * BufferView.[Ch]:
2363         * BufferView_pimpl.[Ch]:
2364         * bufferview_funcs.C:
2365         * text2.C:
2366         * text3.C: rip out "deep update"
2367
2368         * textcursor.[Ch] (last_sel_cursor): remove unused member
2369
2370 2003-08-04  André Pönitz  <poenitz@gmx.net>
2371
2372         * BufferView.[Ch]:
2373         * BufferView_pimpl.[Ch]:
2374         * ParagraphParameters.C:
2375         * bufferview_funcs.C:
2376         * lyx_cb.C:
2377         * lyxfind.C:
2378         * lyxfunc.C:
2379         * text.C:
2380         * text2.C:
2381         * text3.C: replace "complicated" BufferView::update(...) calls with
2382         simpler ones.
2383
2384         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2385
2386 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2387
2388         * Makefile.am (lyx_SOURCES): add paper.h
2389
2390 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2391
2392         * Makefile.am: move things around so that both lyx-qt and
2393         lyx-xforms can be built (according to --with-frontend). Then lyx
2394         is a symbolic link to lyx-[firstfrontend]
2395
2396 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2397
2398         * Always use std::endl with lyxerr
2399
2400 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2401
2402         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2403
2404 2003-08-01  André Pönitz  <poenitz@gmx.net>
2405
2406         * BufferView.[Ch]:
2407         * BufferView_pimpl.[Ch]:
2408         * lyxfunc.C:
2409         * text3.C: merge BufferView::repaint() and BufferView::update()
2410
2411 2003-08-01  José Matos  <jamatos@lyx.org>
2412
2413         * buffer.[Ch]: file_format is no longer a buffer data element.
2414
2415 2003-08-01  André Pönitz  <poenitz@gmx.net>
2416
2417         * BufferView.C:
2418         * lyxtext.h:
2419         * text.C:
2420         * text2.C: make redoParagraph more independent of current cursor
2421
2422         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2423         * text.C:
2424         * text2.C: remove unneeded members
2425
2426 2003-07-30  André Pönitz  <poenitz@gmx.net>
2427
2428         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2429
2430         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2431           create a single function...
2432
2433         * paragraph_funcs.C (moveItem): ... here.
2434
2435         * text.C:
2436           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2437
2438 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2439
2440         * LColor.[Ch]: Add comment and greyedout logical colors.
2441
2442 2003-07-30  André Pönitz  <poenitz@gmx.net>
2443
2444         * tabular.C: don't use Assert too heavily. This crashes where it
2445           shouldn't
2446
2447 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2448
2449         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2450         is disabled (bug 1232)
2451
2452 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2453
2454         * factory.C: limited 'arg' scope
2455
2456 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2457
2458         * factory.C: fixed Note submenu issues
2459
2460 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2461
2462         * factory.C: submenu for Note/Comment/Greyedout
2463
2464 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2465
2466         * lyx_main.C (LyX):
2467         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2468
2469 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2470
2471         * LaTeXFeatures.C:
2472         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2473         greyedout. Patch provided by Jürgen Spitzmüller.
2474
2475 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2476
2477         * kbmap.C (read): fix error message when reading bind files
2478
2479 2003-07-29  Angus Leeming  <leeming@lyx.org>
2480
2481         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2482         certainly does not do what it purports to do. I am doing it, and
2483         us, a favour by killing it.
2484
2485 2003-07-28  José Matos  <jamatos@lyx.org>
2486
2487         * buffer.C (readBody, do_writeFile):
2488         * paragraph.C(readParagraph): \end_document replaces \the_end.
2489
2490 2003-07-29  André Pönitz  <poenitz@gmx.net>
2491
2492         * BufferView.[Ch]:
2493         * BufferView_pimpl.[Ch]:
2494         * lyxfunc.C:
2495         * text2.C:
2496         * text3.C:
2497         * textcursor.[Ch]: remove toggleToggle & Co
2498
2499 2003-07-28  José Matos  <jamatos@fep.up.pt>
2500
2501         * buffer.C (readParagraph):
2502         * params_func (readParToken, readParagraph):
2503         * paragraph.C (write): \layout -> \begin_layout.
2504
2505 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2506
2507         * lyxlex_pimpl.C (setFile): clean up slightly.
2508
2509         * bufferparams.h: add compressed var
2510
2511         * buffer_funcs.C (readFile): adjust for LyXLex change
2512         (newFile): ditto + simplify
2513
2514         * buffer.C (writeFile): handle writing of compressed files
2515
2516         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2517         Check if the file is compressed and set a bufferparm if so.
2518
2519         * Makefile.am (lyx_LDADD): remove explicit -lz
2520
2521 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2522
2523         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2524         makeDocBookFile): put the real LyX version in the first line of
2525         the file
2526
2527         * version.h:
2528         * version.C.in: remove lyx_docversion
2529
2530         * tabular.C (write_attribute): add a template-based version to
2531         write enums properly
2532
2533 2003-07-28  André Pönitz  <poenitz@gmx.net>
2534
2535         * lyxtext.h:
2536         * text.C:
2537         * text2.C:
2538         * text3.C: use doubles again for x-coordinates. They are needed.
2539
2540 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2541
2542         * messages.C (getLocaleDir): use lyx_localedir()
2543
2544         * lyxlex_pimpl.C (setFile): compress stuff
2545
2546         * buffer.C (writeFile): add some compression stuff
2547         (do_writeFile): new func, dont call expliti close... will this
2548         breake anything?
2549
2550         * Makefile.am (lyx_LDADD): add -lz
2551
2552 2003-07-28  José Matos  <jamatos@fep.up.pt>
2553
2554         * buffer.C: increment file format.
2555         * paragraph_funcs (readParagraph, readParToken):
2556         * paragraph.C (readParagraph): add \end_layout.
2557
2558 2003-07-27  Angus Leeming  <leeming@lyx.org>
2559
2560         * Makefile.am: remove special casing for configure-time setting of
2561         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2562
2563         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2564         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2565
2566 2003-07-26  André Pönitz  <poenitz@gmx.net>
2567
2568         * paragraph_func.[Ch]:
2569         * paragraph.C (realizeFont): inline it whereever it is used
2570
2571         * rowpainter.C:
2572         * text.C:
2573         * text2.C:
2574         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2575
2576
2577 2003-07-26  André Pönitz  <poenitz@gmx.net>
2578
2579         *       lyxtext.h:
2580         * text.C:
2581         * text2.C: get rid of LyXText::need_break_row
2582
2583 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2584
2585         * toc.[Ch]: put namespace toc inside namespace lyx
2586
2587         * MenuBackend.C (expandToc2): adjust for lyx::toc
2588         (expandToc): ditto
2589
2590         * lyxfunc.C (dispatch): adjust for lyx::find
2591
2592         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2593         lyx::find instead. Reorganize a bit.
2594         (LyXReplace): rename to replace
2595         (LyXFind): rename to find
2596
2597         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2598         (dispatch): ditto
2599
2600 2003-07-26  André Pönitz  <poenitz@gmx.net>
2601
2602         * text.C (setHeightOfRow): restrict scope of temporary variable
2603
2604         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2605           code (never has been used?)
2606
2607 2003-07-27  Asger Alstrup  <alstrup@local>
2608
2609         * text.C (fill): Optimise algorithm to exploit that we can reuse
2610         the LyXFont for many characters.
2611         (setHeightOfRow): Same thing.
2612         (rowBreakPoint): Same thing.
2613
2614 2003-07-26  Asger Alstrup  <alstrup@local>
2615
2616         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2617
2618         * text.C (singleWidth): Spurious font copying in hot-spot
2619         singleWidth avoided. Reorder tests for arabic for efficiency.
2620
2621         * text.C (fill): handle empty paragraphs better.
2622
2623 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2624
2625         * ispell.C:
2626         * encoding.h: add includes
2627
2628         * lyxrc.C: remove reading of bind files
2629
2630         * lyx_main.C (init): setup bindings and menus only if we have a
2631         gui.
2632
2633         * kbmap.C (read): new method. Do the actual reading of bind
2634         files.
2635
2636         * converter.C (dvipdfm_options):
2637         * bufferparams.C:
2638         * lyxrc.C (read):
2639         (output): adapt PAPER_* enums.
2640
2641         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2642
2643         * bufferparams.h: remove paper-related enums from there
2644
2645         * paper.h: New file. A trivial header file to hold paper-related
2646         enums. It should later expand to contain many paper-related
2647         horrors access.
2648
2649         * lyxrc.C: declare extern displayTranslator
2650
2651 2003-07-27  José Matos  <jamatos@fep.up.pt>
2652
2653         * tabular.[Ch] (linuxdoc): add support for tables and figures
2654         (linuxdoc).
2655
2656 2003-07-27  José Matos  <jamatos@fep.up.pt>
2657
2658         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2659         consistency in both functions.
2660         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2661
2662 2003-07-26  Asger Alstrup  <alstrup@local>
2663
2664         * rowpainter.C (paintRows): Change algorithm to work directly on
2665         the insets rather than asking every character in the document
2666         whether its an inset.
2667
2668 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2669
2670         * buffer.C (openFileWrite): factorize some code
2671
2672 2003-07-26  Angus Leeming  <leeming@lyx.org>
2673
2674         * lyx_cb.C:
2675         * lyx_main.[Ch]: replace occurances of system_tempdir with
2676         os::getTmpDir().
2677
2678 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2679
2680         * rename Inset to InsetOld
2681
2682 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2683
2684         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2685         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2686         which I think is a bit clearer. EDIT is gone, since it was
2687         premature optimisation, and broken for mathed anyway.
2688         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2689         with cursor positioning in insets as well (math insets still do not
2690         work, but that's a different story anyway.) It mysteriously
2691         crashes sometimes with undo in the first paragraph, but I'm fairly
2692         confident that this is a compiler bug.
2693
2694 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2695
2696         * paragraph.C (Paragraph): adjust for new clone return type
2697         (operator==): ditto
2698         (copyIntoMinibuffer): ditto
2699
2700 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2701
2702         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2703         by not having a special case, and always doing a full rebreak of
2704         the document after undo.
2705
2706 2003-07-23  Angus Leeming  <leeming@lyx.org>
2707
2708         * factory.C (createInset): InsetExternal::setParams now takes a
2709         Buffer const * arg.
2710
2711 2003-07-23  Angus Leeming  <leeming@lyx.org>
2712
2713         * factory.C (createInset): changed interface to the external and
2714         graphics mailers' string2params functions.
2715
2716 2003-07-23  Angus Leeming  <leeming@lyx.org>
2717
2718         * factory.C (createInset): pass a
2719         Buffer const * parameter to InsetExternalMailer's string2params.
2720
2721 2003-07-22  John Levon  <levon@movementarian.org>
2722
2723         * Thesaurus.h: include the right aiksaurus header
2724
2725 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2726
2727         * MenuBackend.C (expand): check menu shortcuts unconditionally
2728
2729 2003-07-21  Angus Leeming  <leeming@lyx.org>
2730
2731         * factory.C (createInset): pass a
2732         buffer_path parameter to InsetGraphicsMailer's string2params.
2733
2734 2003-07-21  Angus Leeming  <leeming@lyx.org>
2735
2736         * BufferView_pimpl.C (buffer):
2737         * buffer.C (d-tor):
2738         * lyx_main.C (LyX):
2739         * lyxfunc.C (dispatch):
2740         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2741         rather than the grfx shortcut.
2742
2743 2003-07-21  André Pönitz  <poenitz@gmx.net>
2744
2745         * rowpainter.C: remove unused variables
2746
2747         * tabular_funcs.C:
2748         * tabular_funcs.h: move to tabular.C
2749         * Makefile.am: adjust
2750
2751         * tabular.[Ch]: basic optical cleaning
2752
2753         * author.h: pass references, not values
2754
2755 2003-07-18  André Pönitz  <poenitz@gmx.net>
2756
2757         * lyxtext.h:
2758         * metricsinfo.C:
2759         * metricsinfo.h:
2760         * rowpainter.C:
2761         * text.C:
2762         * text2.C:
2763         * text3.C: two-phase drawing for InsetText and InsetTabular
2764         some float -> int changes.
2765
2766 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2767
2768         * lyx_main.C: fix the fix
2769
2770 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2771
2772         * lyx_main.C: fix a crash in batch mode if no files specified
2773         * converter.C: ws
2774
2775 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2776
2777         * format.[Ch] (papersize): moved to BufferParams
2778         * converter.[Ch] (dvips_options): moved to BufferParams
2779         (dvipdfm_options): moved to anon namespace
2780         * bufferparams.[Ch]: added above functions.
2781
2782 2003-07-17  André Pönitz  <poenitz@gmx.net>
2783
2784         * lyxtext.h:
2785         * rowpainter.C:
2786         * text2.C: don't call inset->update() anymore
2787
2788         * metricsinfo.[Ch]: add convenience constructor
2789
2790 2003-07-16  André Pönitz  <poenitz@gmx.net>
2791
2792         * lyxcursor.[Ch]:
2793         * lyxfunc.[Ch]:
2794         * text.C:
2795         * text2.C: replace the LyXCursor::irow_ member with
2796          on-demand computation of the value
2797
2798 2003-07-16  John Levon  <levon@movementarian.org>
2799
2800         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2801
2802 2003-07-15  André Pönitz  <poenitz@gmx.net>
2803
2804         * text.C:
2805         * text2.C: remove no more needed refresh_row
2806
2807 2003-07-15  André Pönitz  <poenitz@gmx.net>
2808
2809         * lyxtext.h:
2810         * rowpainter.C:
2811         * text2.C:
2812         * text3.C: refresh_status tristate -> need_update bool
2813
2814 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2815
2816         * lyxtext.h (init): remove reinit argument (act as if always true)
2817         * text2.C: adjust to that
2818
2819 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2820
2821         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2822         * text3.C: use it to delete selections in some cases
2823         (bugs 441, 673, 702, 954).
2824
2825 2003-07-14  André Pönitz  <poenitz@gmx.net>
2826
2827         * rowpainter.[Ch]: reduce interface
2828
2829 2003-07-14  André Pönitz  <poenitz@gmx.net>
2830
2831         * BufferView_pimpl.C:
2832         * text2.C: adjust after removing unused BufferView * argument
2833
2834 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2835
2836         * text2.C (init): fix a crash fired on resize
2837
2838 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2839
2840         * buffer.[Ch]: added new closing signal
2841         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2842         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2843         BufferView::Pimpl via the closing the signal
2844
2845 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2846
2847         * buffer.[Ch]: take out all bv-related from buffer
2848         * BufferView.C:
2849         * BufferView_pimpl.[Ch]: connect to new signals
2850         * CutAndPaste.C: removed useless asserts
2851         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2852         * lyxvc.[Ch]:
2853         * vc-backend.[Ch]:
2854         * lyxfunc.C: moved view-related funciontality from vc here
2855         * paragraph.C: removed outdated comments
2856         * text.C: ws
2857
2858 2003-07-10  André Pönitz  <poenitz@gmx.net>
2859
2860         * BufferView_pimpl.C:
2861         * tabular.h:
2862         * tabular_funcs.C:
2863         * text.C:
2864         * text2.C: remove InsetText::InnerCache, clean up consequences
2865
2866 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2867
2868         * ispell.C: fix two typos in error messages
2869
2870 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2871
2872         * Extend Note inset to other forms of annotation like Comment
2873         and Greyedout. Right button click gives dialog.
2874
2875         Files modified or added (+):
2876
2877         * insetnote.[Ch]
2878         * FormNote.[Ch]      +
2879         * ControlNote.[Ch]   +
2880         * form_note.fd       +
2881         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2882         frontends/controllers
2883         * xforms/Dialogs.C
2884         * factory.C
2885
2886 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2887
2888         * aspell.C: add missing namespace lyx::support
2889
2890 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2891
2892         * BufferView.[Ch] (newFile): Add
2893         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2894         * LaTeX.[Ch] (message): added this signal and use it
2895         * buffer.[Ch] (busy, message): added these signals and use them
2896         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2897         * converter.C:
2898         * exporter.C:
2899         * format.C:
2900         * importer.C: use buffer signals instead of direct bv calling
2901         * lyx_cb.[Ch] (ShowMessage): removed
2902         * lyx_main.C:
2903         * lyxfunc.C:
2904         * paragraph_funcs.C:
2905         * text2.C: use buffer signals
2906
2907 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2908
2909         * introduce namespace lyx::graphics
2910
2911 2003-07-02  André Pönitz  <poenitz@gmx.net>
2912
2913         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2914
2915 2003-07-01  André Pönitz  <poenitz@gmx.net>
2916
2917         * text.C:
2918         * text2.C:
2919         * text3.C:
2920         * text_funcs.[Ch]:
2921         * textcursor.h:
2922         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2923           text*.C to text_func.C
2924
2925 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2926
2927         * introduce namespace lyx::support
2928
2929 2003-06-30  André Pönitz  <poenitz@gmx.net>
2930
2931         * Chktex.C:
2932         * funcrequest.C:
2933         * lyxtext.h:
2934         * text.C: re-enable --with-included-string
2935
2936 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2937
2938         * textcursor.C: add <config.h>
2939
2940         * text.C (getWord): remove const from word_location arg
2941
2942         * lyxvc.C (getLogFile): fix const type order
2943
2944         * lyxtext.h: remove const from word_location arg, add arg name
2945
2946         * lyxlayout.h: currect type on labeltype.
2947
2948         * importer.C: correct \file
2949
2950         * converter.C (intToFormat): use std:: on ret val, ws changes
2951
2952         * bufferlist.h: correct \file
2953
2954         * buffer.C (makeLinuxDocFile): fix const type order
2955         (makeDocBookFile): ditto
2956         (fillWithBibKeys): use std:: on stdlib args.
2957
2958         * CutAndPaste.C: fix authors.
2959         (availableSelections): use std:: on return vector
2960
2961 2003-06-27  André Pönitz  <poenitz@gmx.net>
2962
2963         * BufferView_pimpl.C:
2964         * bufferview_funcs.C:
2965         * lyxcursor.C:
2966         * lyxcursor.h:
2967         * lyxfunc.C:
2968         * lyxtext.h:
2969         * rowpainter.C:
2970         * text.C:
2971         * text2.C:
2972         * text3.C: remove LyXCursor::row_ member
2973
2974         * lyxtext.h:
2975         * text.C: rename fullRebreak() to partialRebreak() and implement
2976           a fullRebreak() that really bereks fully
2977
2978         * textcursor.h: new struct for cursor-related data
2979
2980 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2981
2982         * lyx_main.C (LyX): get full path of document loaded on the
2983         command line
2984
2985 2003-06-26  André Pönitz  <poenitz@gmx.net>
2986
2987         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2988           remove unused/broken operator>,<,>=.
2989
2990         *       text.C: remove only use of broken operator<= in an Assert().
2991
2992 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2993
2994         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2995         moved errorlist_.clear to showErrorList
2996
2997 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2998
2999         * converter.C (scanLog, runLaTeX):
3000         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3001         move the bv->showErrorList call to the callers
3002         * lyxfunc.C: i.e. here...
3003         * text2.C: and here
3004         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3005         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3006         namespace, the second to...
3007         * buffer_funcs (BufferFormat, parseErrors): added
3008         * errorlist.C (ErrorList(TeXErrors const &)): removed
3009
3010 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3011
3012         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3013
3014 2003-06-24  "Garst R. Reese" <reese@isn.net>
3015
3016         * debug.C: fix typo
3017
3018 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3019
3020         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3021
3022         * version.C.in: change docversion to 1.4
3023
3024 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3025
3026         * buffer.C: fix a bug just introduced
3027
3028 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3029
3030         * buffer.[Ch]: added the parseError signal and use it, removed
3031         sgmlError
3032         * BufferView.[Ch] (addError): moved to ...
3033         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3034         to the Buffer::parseError signal to catch (guess what) parse errors
3035         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3036
3037 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3038
3039         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3040         ability to create a buffer and to return an existing one from
3041         the list. Moved these functions to...
3042         * buffer_funcs.[Ch]: added
3043         * BufferView.[Ch] (loadLyXFile): added
3044         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3045         job removed from bufferlist::loadLyXFile.
3046         * buffer.C (setReadOnly): make it work without view
3047         (i.e added an if (users))
3048
3049 2003-06-19  Angus Leeming  <leeming@lyx.org>
3050
3051         * lfuns.h:
3052         * LyXAction.C (init):
3053         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3054         with LFUN_DIALOG_SHOW <name> <data>.
3055
3056 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3057
3058         * CutAndPaste.C (availableSelections): small compilation fix for
3059         ancient (gcc 2.9x) compilers
3060
3061 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3062
3063         * text3.C (cursorNext): add tmp var
3064
3065         * text2.C (updateCounters): for function calling out of for clause
3066         (replaceSelectionWithString): ditto
3067         (insertStringAsParagraphs): ditto
3068         (getColumnNearX): add tmp var
3069         (setCursorFromCoordinates): add tmp var
3070         (cursorDownParagraph): add tmp var
3071         (deleteEmptyParagraphMechanism): add tmp var
3072
3073         * text.C (insertChar): add tmp var
3074
3075         * rowpainter.C (paintDepthBar): add tmp var
3076
3077         * CutAndPaste.C (availableSelections): potentially check all
3078         paragraphs in a cut to fill the shown strings.
3079
3080 2003-06-18  André Pönitz  <poenitz@gmx.net>
3081
3082         * kbmap.[Ch]: use vector<> instead of list<>
3083
3084 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3085
3086         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3087         pasteSelection with index
3088
3089         * text2.C (pasteSelection): modify, call pasteSelection with index
3090
3091         * paragraph.C (asString): reimplement version with no interval to
3092         call the one with interval.
3093
3094         * lyxtext.h: add index arg to pasteSelection
3095
3096         * MenuBackend.C (MenuItem): handle PasteRecent
3097         (Menu::read::Menutags): add md_pasterecent
3098         (read): handle it
3099         (expandPasteRecent): new function
3100         (expand): use it
3101
3102         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3103
3104         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3105         the limited stack
3106         (availableSelections): new function
3107
3108 2003-06-17  Angus Leeming  <leeming@lyx.org>
3109
3110         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3111
3112 2003-06-17  Angus Leeming  <leeming@lyx.org>
3113
3114         * lfuns.h:
3115         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3116
3117         * lyxfunc.C (dispatch): invoke it.
3118
3119 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3120
3121         * iterators.C (operator++, ParPosition): reintroduce some
3122         const_cast for the benefit of older compilers.
3123
3124 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3125
3126         * text3.C (dispatch): do not modify clipboard when doing
3127         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3128         LFUN_DELETE_SKIP on a selection selection
3129
3130 2003-06-16  André Pönitz  <poenitz@gmx.net>
3131
3132         * BufferView.C:
3133         * buffer.C:
3134         * buffer.h:
3135         * paragraph.C:
3136         * tabular.[Ch]: IU of clone() and getLabelList();
3137
3138 2003-06-13  André Pönitz  <poenitz@gmx.net>
3139
3140         * tabular.h: compactification
3141
3142 2003-06-12  André Pönitz  <poenitz@gmx.net>
3143
3144         * tabular.C:
3145         * tabular.h:
3146         * tabular_funcs.h: some renaming plus whitespace
3147
3148 2003-06-12  André Pönitz  <poenitz@gmx.net>
3149
3150         * BufferView.C:
3151         * BufferView_pimpl.C:
3152         * CutAndPaste.C:
3153         * buffer.C:
3154         * iterators.[Ch]:
3155         * lyxfunc.C:
3156         * text.C:
3157         * toc.C: Return a Paragraph & for ParIterator::operator*()
3158
3159 2003-06-11  John Levon  <levon@movementarian.org>
3160
3161         * lyx_main.C:
3162         * ToolbarBackend.h:
3163         * ToolbarBackend.C: add "Toolbars" section and
3164         put the flags there
3165
3166 2003-06-10  Angus Leeming  <leeming@lyx.org>
3167
3168         * lfuns.h:
3169         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3170
3171         * lyxfunc.C (dispatch): invoke it.
3172
3173 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3174
3175         * main.C: protect <ios> with HAVE_IOS
3176         (main): protect sync_with_stdio with HAVE_IOS
3177
3178 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3179
3180         * text2.C (cutSelection): adjust
3181         (pasteSelection): adjust
3182
3183         * messages.C: handle get of empty string
3184
3185         * main.C (main): use sync_with_stdio(false)
3186
3187         * lyxfunc.C (dispatch): adjust
3188
3189         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3190         (WriteAs): remove unneeded BufferView arg.
3191
3192         * bufferparams.h: use correct types on papersize, papersize2 and
3193         paperpackage.
3194
3195         * bufferparams.C (readToken): adjust for type
3196         (writeLaTeX): add missing cases to switch.
3197
3198         * bufferlist.C (quitWriteBuffer): adjust
3199         (close): adjust
3200
3201         * buffer.C (asciiParagraph): remove some commented code.
3202
3203         * CutAndPaste.C: remove current_view extern variable.
3204         (cutSelection): add BufferParams arg.
3205         (eraseSelection): add BufferParams arg.
3206         (pasteSelection): add Buffer const & arg
3207
3208 2003-06-07  John Levon  <levon@movementarian.org>
3209
3210         * buffer.C:
3211         * paragraph_funcs.C:
3212         * paragraph_pimpl.C:
3213         * text.C:
3214         * text2.C:
3215         * paragraph.h:
3216         * paragraph.C: allow InsetERT to freely space lines,
3217         and some consolidation of code
3218
3219 2003-06-06  José Matos  <jamatos@fep.up.pt>
3220
3221         * buffer.C (makeDocBookFile): fix bug #821
3222
3223 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3224
3225         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3226
3227 2003-06-04  Angus Leeming  <leeming@lyx.org>
3228
3229         * buffer.C: bump format to 224.
3230
3231 2003-06-05  André Pönitz  <poenitz@gmx.net>
3232
3233         * text2.C (redoParagraphs): remove two const_cast<>
3234
3235 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3236
3237         * ParagraphList.h: remove last remnants of NO_STD_LIST
3238
3239 2003-06-03  Angus Leeming  <leeming@lyx.org>
3240
3241         * factory.C (createInset): small change to the way InsetExternal's params
3242         are set.
3243
3244 2003-06-04  André Pönitz  <poenitz@gmx.net>
3245
3246         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3247
3248         * paragraph_pimpl.h:
3249         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3250
3251         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3252
3253         * undo_funcs.C: make some simple cases of undo work again
3254
3255 2003-06-03  John Levon  <levon@movementarian.org>
3256
3257         * ispell.C: HPUX doesn't have sys/select.h
3258         (from Albert Chin)
3259
3260 2003-06-03  John Levon  <levon@movementarian.org>
3261
3262         * CutAndPaste.C: update tabular and include inset
3263         buffer references
3264
3265         * buffer.h:
3266         * paragraph.h:
3267         * paragraph.C: remove owningBuffer(), don't pass Buffer
3268         to clone()
3269
3270         * factory.C: insetGraphicsParams changed
3271
3272 2003-06-02  John Levon  <levon@movementarian.org>
3273
3274         * LyXAction.C:
3275         * factory.C:
3276         * lfuns.h:
3277         * lyxfunc.C:
3278         * text3.C: remove insetparent
3279
3280 2003-06-02  John Levon  <levon@movementarian.org>
3281
3282         * buffer.h:
3283         * buffer.C: fix inset_iterator.end(), move out of line
3284         (bug 1149)
3285
3286 2003-06-01  John Levon  <levon@movementarian.org>
3287
3288         * text3.C: use a proper cut/paste when doing inset
3289         insert (from Jürgen Spitzmüller)
3290
3291 2003-06-01  John Levon  <levon@movementarian.org>
3292
3293         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3294
3295 2003-05-30  André Pönitz  <poenitz@gmx.net>
3296
3297         * rowpainter.C: unify second drawing phase
3298
3299 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3300
3301         * trans_mgr.C: remove one case of current_view
3302
3303         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3304
3305         * paragraph_funcs.h: remove paragraph.h include
3306
3307         * paragraph.h: delete NO_STD_LIST stuff
3308
3309         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3310
3311         * buffer.h: remove paragraph.h include
3312
3313         * ParagraphList.C: delete file
3314
3315         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3316
3317         * toc.C (getTocList): adjust
3318
3319         * paragraph_pimpl.C (validate): adjust
3320
3321         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3322
3323         * paragraph.C (Paragraph): adjust
3324         (getPositionOfInset): use const_iterator, adjust
3325         (bibitem): use const_iterator, adjust
3326         (setInsetOwner): adjust
3327
3328         * iterators.C (operator++): adjust
3329
3330         * InsetList.[Ch]: Replace selfmade iterator with standard
3331         vector::iterator also introduce const_iterator. Remove getPos,
3332         getInset and setInset from InsetTable. Adjust accordingly.
3333
3334         * BufferView.C (lockInset): adjust
3335         (ChangeInsets): adjust
3336
3337         * tabular.[Ch]: delete commented same_id functions
3338
3339 2003-05-28  John Levon  <levon@movementarian.org>
3340
3341         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3342
3343 2003-05-28  André Pönitz  <poenitz@gmx.net>
3344
3345         * metricsinfo.[Ch]: remove 'fullredraw' member
3346
3347 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3348
3349         * lyxtextclass.C (operator): remove caching.
3350
3351 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3352
3353         * text3.C: adjust
3354
3355         * text2.C (cursorBottom): adjust
3356         (setCounter): use ParagraphList::find, adjust
3357
3358         * text.C (workWidth): use ParagraphList::find, adjust
3359
3360         * lyxcursor.C (LyXCursor): adjust
3361
3362         * buffer.C (inset_iterator): adjust
3363
3364         * ParagraphList.h: make iterator(value_type) private, make
3365         ParagraphList a friend of iterator.
3366
3367         * ParagraphList.C (find): new function
3368
3369         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3370
3371 2003-05-27  André Pönitz  <poenitz@gmx.net>
3372
3373         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3374
3375 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3376
3377         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3378
3379 2003-05-26  John Levon  <levon@movementarian.org>
3380
3381         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3382
3383 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3384
3385         * remove same_id from function signatures, adjust.
3386
3387 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3388
3389         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3390
3391         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3392
3393         * paragraph.C (Paragraph): get rid of same_ids parameter
3394
3395         * ParagraphList.C (insert): adjust
3396         (push_back): adjust
3397
3398 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3399
3400         * paragraph_funcs.C (breakParagraph): adjust
3401         (breakParagraphConservative): adjust
3402
3403         * buffer.C (readParagraph): adjust
3404
3405         * ParagraphList.C (insert): take a reference instead of a pointer
3406         (insert): adjust
3407
3408         * paragraph.[Ch] (id): new function
3409
3410         * bufferlist.C (newFile): adjust
3411
3412         * ParagraphList.C (ParagraphList): adjust
3413         (assign): adjust
3414         (push_back): take a reference instead of a pointer.
3415
3416         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3417
3418         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3419         instead.
3420
3421         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3422         set else use old code.
3423
3424         * ParagraphList.C: remove all NO_NEXT code and only compile this
3425         code of NO_STD_LIST is set.
3426
3427 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3428
3429         * BufferView_pimpl.C:
3430         * TextCache.C:
3431         * TextCache.h:
3432         * bufferlist.C:
3433         * errorlist.h:
3434         * format.C:
3435         * format.h:
3436         * graph.C:
3437         * lyxfunc.C:
3438         * lyxrc.C:
3439         * graphics/GraphicsConverter.C:
3440         * graphics/PreviewLoader.C: header adjustment
3441
3442 2003-05-23  Angus Leeming  <leeming@lyx.org>
3443
3444         * LaTeXFeatures.[Ch] (useBabel): new method.
3445         * bufferparams.C (writeLaTeX): use it.
3446
3447 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3448
3449         * ParagraphList.h (set): remove unused function.
3450
3451 2003-05-23  André Pönitz  <poenitz@gmx.net>
3452
3453         * BufferView.C:
3454         * BufferView_pimpl.C:
3455         * buffer.C:
3456         * buffer.h:
3457         * lyxfunc.C:
3458         * undo_funcs.C: setUndo reworked
3459
3460         * iterators.[Ch]: add access to topmost ParagraphList
3461
3462         * lyxtext.[Ch] (workWidth): add a const
3463
3464 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3465
3466         * texrow.[Ch] (increasePos): remove function
3467         * exporter.C (export): removed unused var and outdated comment
3468
3469 2003-05-23  Angus Leeming  <leeming@lyx.org>
3470
3471         * latexrunparams.h: rename fragile as moving_arg.
3472         * paragraph.C (simpleTeXOnePar): ditto.
3473         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3474
3475 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3476
3477         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3478         (createUndo): ditto
3479         (textUndoOrRedo): comment out a currently unused var.
3480
3481         * paragraph.h (NO_NEXT): enable NO_NEXT
3482
3483         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3484
3485         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3486
3487         * exporter.C (Export): adjust for removeAutoInsets removal.
3488
3489         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3490
3491         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3492
3493         * BufferView.[Ch] (removeAutoInsets): delete function
3494
3495 2003-05-22  Angus Leeming  <leeming@lyx.org>
3496
3497         * latexrunparams.h: add a free_spacing variable.
3498
3499         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3500         to pass moving_arg, as the data is stored in runparams.fragile.
3501
3502         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3503         to Inset::latexOptional or to simpleTeXOnePar.
3504
3505         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3506         free_spacing arg to Inset::latexOptional.
3507
3508         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3509         free_spacing arg.
3510
3511 2003-05-22  Angus Leeming  <leeming@lyx.org>
3512
3513         * latexrunparams.h: add fragile and use_babel variables.
3514
3515         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3516         * buffer.C (makeLaTeXFile): store this returned value in
3517         runparams.use_babel, thus passing it to the inset::latex methods.
3518
3519         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3520         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3521
3522         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3523         longer has a fragile arg, as it is stored in runparams.fragile.
3524
3525         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3526         moving_arg parameter as the data is stored in runparams.fragile.
3527
3528         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3529         a fragile parameter as the data is stored in runparams.fragile.
3530
3531 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3532
3533         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3534
3535 2003-05-22  Angus Leeming  <leeming@lyx.org>
3536
3537         * latexrunparams.h: add a 'bool nice' which defaults to false.
3538
3539         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3540         now encapsulated within runparams.
3541
3542         * bufferlist.C (updateIncludedTeXfiles):
3543         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3544
3545 2003-05-22  Angus Leeming  <leeming@lyx.org>
3546
3547         * latexrunparams.h: new file containing struct LatexRunParams.
3548         * Makefile.am: add new file.
3549
3550         * LaTeX.[Ch] (c-tor, run):
3551         * buffer.[Ch] (makeLaTeXFile):
3552         * bufferlist.[Ch] (updateIncludedTeXfiles):
3553         * converter.C (convert, scanLog):
3554         * converter.[Ch] (runLaTeX):
3555         * exporter.C (Export):
3556         * paragraph.[Ch] (simpleTeXOnePar):
3557         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3558         * paragraph_funcs.[Ch] (latexParagraphs):
3559         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3560         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3561         pass around a LatexRunParams parameter.
3562
3563 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3564
3565         * paragraph.[Ch]: remove unused constructor
3566
3567         * ParagraphList.C (erase): new function, taking two iterators
3568
3569 2003-05-22  André Pönitz  <poenitz@gmx.net>
3570
3571         * undo_funcs.C: remove duplicated code
3572
3573         * iterator.[Ch]: operator=
3574
3575 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3576
3577         * tabular.C (SetMultiColumn): ws changes
3578
3579         * rowpainter.C (paintFirst): get rid of a ->previous
3580
3581         * lyx_cb.C (getPossibleLabel): parlist simplification
3582
3583         * BufferView.C (ChangeInsets): simplify slightly.
3584
3585 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3586
3587         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3588         * lfuns.h: new LFUN_SPACE
3589         * lyxfunc.C: protected space has a new lfun
3590         * paragraph_funcs.C: read new space insets
3591         * text3.C:
3592         * factory.C: handle new space insets
3593
3594 2003-05-22  André Pönitz  <poenitz@gmx.net>
3595
3596         * BufferView.C:
3597         * BufferView_pimpl.C:
3598         * buffer.[Ch]:
3599         * lyxfunc.C:
3600         * undo_funcs.C: return a ParIterator from getParFromID.
3601
3602         * iterators.[Ch]: add two const's
3603
3604 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3605
3606         * toc.C (getTocList): adjust
3607
3608         * iterators.[Ch]: rework for parlist
3609
3610         * buffer.C (par_iterator_begin): adjust
3611         (par_iterator_end): adjust
3612
3613         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3614
3615         * BufferView.C (removeAutoInsets): adjust
3616         (ChangeInsets): adjust
3617
3618 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3619
3620         * text.C (top_y): fix bug 1110
3621
3622 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3623
3624         * errorlist.[Ch]: added
3625         * buffer.C:
3626         * BufferView.[Ch]:
3627         * BufferView_pimpl.C:
3628         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3629         instead
3630
3631 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3632
3633         * Makefile.am: ensure that lyx is relinked upon changes to the
3634         various "convenience" libs.
3635
3636 2003-05-20  Angus Leeming  <leeming@lyx.org>
3637
3638         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3639         files are compiled in alphabetical order again.
3640
3641         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3642
3643 2003-05-19  Angus Leeming  <leeming@lyx.org>
3644
3645         * gettext.[Ch]: remove "char const * _(char const *)".
3646
3647 2003-05-19  André Pönitz  <poenitz@gmx.net>
3648
3649         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3650
3651         * Makefile.am:
3652         * BufferView.C:
3653         * DepTable.h:
3654         * LaTeXFeatures.C:
3655         * buffer.C:
3656         * lyxfont.C:
3657         * lyxlex.h:
3658         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3659
3660 2003-05-19  André Pönitz  <poenitz@gmx.net>
3661
3662         * buffer.C:
3663         * lyxlayout.[Ch]:
3664         * lyxtextclass.[Ch]:
3665         * paragraph.C:
3666         * paragraph_funcs.[Ch]:
3667         * text2.C:
3668         * text3.C: more insetenv work
3669
3670 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3671
3672         * ParagraphParameters.C (params2string): small bug fixed
3673
3674 2003-05-16  André Pönitz  <poenitz@gmx.net>
3675
3676         * debug.C:
3677         * bufferview_funcs.C: patch from Kornel Benko to prevent
3678           crash when _(...) is called twice in a statement
3679
3680 2003-05-16  André Pönitz  <poenitz@gmx.net>
3681
3682         * BufferView.C:
3683         * lyxfunc.C:
3684         * text.C:
3685         * text2.C:
3686         * text3.C:
3687         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3688
3689 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3690
3691         * lyx_main.C (init): remove spurious static_cast
3692
3693 2003-05-14  André Pönitz  <poenitz@gmx.net>
3694
3695         * BufferView.C: fix format string
3696
3697 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3698
3699         * BufferView.[Ch] (insertErrors): removed
3700         * BufferView.[Ch] (showErrorList): added
3701         * buffer.C (runChkTeX):
3702         * converter.C (scanLog): call showErrorList instead of inserterrors
3703
3704 2003-05-13  André Pönitz  <poenitz@gmx.net>
3705
3706         * BufferView_pimpl.C:
3707         * buffer.C:
3708         * bufferview_func.C:
3709         * MenuBackend.C:
3710         * lyxfunc.C:
3711         * lyxrc.C:
3712         * tex-accent.C:
3713         * text3.C:
3714         * toc.C:
3715         * tabular_funcs.h: tostr() from its own header
3716
3717         * ParagraphParameters.C:
3718         * ToolbarBackend.C:
3719         * bufferparams.C:
3720         * format.C:
3721         * lyxlex_pimpl.C:
3722         * text3.C: STRCONV()
3723
3724 2003-05-12  André Pönitz  <poenitz@gmx.net>
3725
3726         * BufferView.C:
3727         * BufferView_pimpl.C:
3728         * CutAndPaste.C:
3729         * LaTeX.C:
3730         * LaTeXFeatures.C:
3731         * ParagraphParameters.C:
3732         * buffer.C:
3733         * bufferlist.C:
3734         * bufferparams.C:
3735         * bufferview_funcs.C:
3736         * converter.C:
3737         * counters.C:
3738         * debug.C:
3739         * exporter.C:
3740         * format.C:
3741         * importer.C:
3742         * lyx_cb.C:
3743         * lyx_main.C:
3744         * lyxfont.C:
3745         * lyxfunc.C:
3746         * lyxvc.C:
3747         * paragraph.C:
3748         * paragraph_funcs.C:
3749         * tabular.C:
3750         * tabular_funcs.C:
3751         * text2.C:
3752         * text3.C:  boost::format -> bformat  all over the place
3753
3754
3755 2003-05-09  André Pönitz  <poenitz@gmx.net>
3756
3757         * LColor.[Ch]: Pimpl the #include <map> away
3758
3759 2003-05-09  John Levon  <levon@movementarian.org>
3760
3761         * bufferlist.C: never remove emergency saves
3762
3763 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3764
3765         * Makefile.am: better lib building
3766
3767 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3768
3769         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3770         instead.
3771         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3772         (simpleTeXSpecialChars): adjust
3773         (simpleTeXSpecialChars): adjust
3774         * paragraph.C (simpleTeXOnePar): adjust
3775         * buffer.C (makeLaTeXFile): adjust
3776
3777         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3778
3779         * text2.C (changeDepth): parlist cleanup
3780         (getColumnNearX): ditto
3781
3782         * rowpainter.C (getLabelFont): parlist cleanup
3783
3784         * bufferlist.C (newFile): parlist cleanup
3785
3786         * CutAndPaste.C (eraseSelection): parlist cleanup
3787
3788         * BufferView_pimpl.C (trackChanges): parlist cleanup
3789         (dispatch): ditto
3790
3791         * BufferView.C (lockInset): parlist cleanup.
3792         (ChangeInsets): ditto
3793
3794 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3795
3796         * CutAndPaste.h: Update file header.
3797
3798         * CutAndPaste.C: Update file header.
3799         Store the parts cut out of the Document in a limited_stack.
3800         (copySelection): adjust
3801         (pasteSelection): new function, takes the index in the limited stack.
3802         (nrOfParagraphs): adjust
3803         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3804         simplify error inset insertion.
3805         (checkPastePossible): adjust
3806
3807 2003-05-06  John Levon  <levon@movementarian.org>
3808
3809         * text2.C: don't cast wrap inset to float
3810
3811 2003-05-05  André Pönitz  <poenitz@gmx.net>
3812
3813         * iterator.C:
3814         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3815
3816         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3817           few naked Paragraph *.
3818
3819 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3820
3821         * bufferparams.C: Output warning if a document with missing
3822         TeX document class is loaded
3823         * exporter.C: Disable TeX exports if the document class is missing
3824         * lyxtextclass.C:
3825         * lyxtextclass.h:
3826         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3827         isTeXClassAvailable()
3828
3829 2003-05-03  John Levon  <levon@movementarian.org>
3830
3831         * BufferView.h:
3832         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3833         explicit cursor show/hide
3834
3835         * BufferView_pimpl.h:
3836         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3837         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3838
3839         * lyxfunc.C: hide cursor before dispatching.
3840
3841         * lyx_cb.C:
3842         * lyxfind.C:
3843         * text.C:
3844         * text3.C: remove explicit cursor hides
3845
3846 2003-05-02  André Pönitz  <poenitz@gmx.net>
3847
3848         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3849
3850         * undo_funcs.C:
3851         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3852           linked lists
3853
3854         * text2.C: tiny whitespace
3855
3856 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3857
3858         * undo_funcs.C: almost only ws changes.
3859
3860         * ParagraphList.C (splice): just return if pl is empty.
3861
3862 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3863
3864         * ParagraphList.C (splice): new function.
3865
3866         * CutAndPaste.C (pasteSelection): use it
3867
3868 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3869
3870         * CutAndPaste.C (pasteSelection): remove the last next and
3871         previous from this file.
3872
3873 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3874
3875         * CutAndPaste.C (pasteSelection): more clean up, user proper
3876         ParagraphList functions for pasteing.
3877
3878         * ParagraphList.C (insert): new function, three arg insert
3879
3880 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3881
3882         * ParagraphList.C (insert): new function, three arg insert
3883
3884         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3885         not on paragraphs.
3886
3887 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3888
3889         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3890
3891 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3892
3893         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3894
3895 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3896
3897         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3898         (copySelection): clean up a bit.
3899         (pasteSelection): use make_pair
3900
3901         * ParagraphList.C (ParagraphList): implement copy constructor
3902         (operator=): implement, base on copy constructor.
3903         (assign): new func
3904
3905         * paragraph.C (erase): return a bool
3906
3907         * paragraph_pimpl.C (erasePos): remove function, move contents...
3908         (erase): ... here. Return a bool.
3909         (erase): call erase instead of erasePos.
3910
3911 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3912
3913         * ParagraphList.h: define PitPosPair
3914         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3915         ParagraphList, fix a bug on pasting multiple pars
3916         * text2.C: change interface to C&P
3917
3918 2003-04-30  André Pönitz  <poenitz@gmx.net>
3919
3920         * undo_func.C: revert part of yesterday's patch 2
3921
3922 2003-04-30  John Levon  <levon@movementarian.org>
3923
3924         * LColor.C: s/tabular/table/
3925
3926 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3927
3928         * text3.C (dispatch): do not convert iterator -> pointer
3929         * undo_funcs.C (setCursorParUndo): ditto
3930         * text_funcs.C (transposeChars): ditto
3931
3932         * text2.C (setLayout): ws changes only
3933
3934         * text.C (breakParagraph): do not convert iterator -> pointer
3935         (insertChar): ditto
3936         (acceptChange): ditto
3937         (rejectChange): ditto
3938         (changeCase): ditto
3939         (Delete): ditto
3940         (backspace): ditto
3941
3942         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3943         pointer
3944
3945 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3946
3947         * text3.C (gotoInset): YABG (yet another bad getChar)
3948
3949 2003-04-29  André Pönitz  <poenitz@gmx.net>
3950
3951         * paragraph.h: make operator= private unimplemented as long as
3952           it is unusable
3953
3954         * ParagraphList.C: whitespace
3955
3956         * paragraph.[Ch]:
3957         * paragraph_pimpl.[Ch]:
3958         * paragraph_funcs.C:
3959         * CutAndPaste.C:
3960         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3961
3962         * text2.C:
3963           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3964
3965 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3966
3967         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3968         * paragraph.[Ch] (erase):
3969         * paragraph_pimpl.[Ch] (erase): change return type and value
3970         * text2.C (cutSelection): some rework
3971
3972 2003-04-28  John Levon  <levon@movementarian.org>
3973
3974         * bufferlist.C: changes for unsaved changes dialog
3975
3976 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3977
3978         * bufferlist.C (newFile): set language (messages_) for new
3979         documents also.
3980
3981         * buffer.C (readFile): ws changes only.
3982
3983 2003-04-28  André Pönitz  <poenitz@gmx.net>
3984
3985         * undo_funcs.C:
3986         * lyxfunc.C:
3987         * buffer.[Ch]:
3988         * BufferView_pimpl.C:
3989         * BufferView.C: getParFromID related ParagraphList::iterator changes
3990
3991 2003-04-28  André Pönitz  <poenitz@gmx.net>
3992
3993         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3994           Changes
3995
3996 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3997
3998         * messages.C: remove one more localedir class variable.
3999
4000 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4001
4002         * messages.C (getLocaleDir): singleton generation function
4003         (Pimpl): use it.
4004         (Messages): add a default constructor.
4005
4006         * main.C (main): do not setup localedir here, do not call
4007         gettext_init.
4008
4009         * gettext.C (_): use it.
4010         (gettext_init): delete funciton
4011
4012 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4013
4014         * gettext.C (getLyXMessages): new singleton generating function.
4015
4016         * buffer.C (updateDocLang): adjust
4017
4018         * Makefile.am (messages.o): add target
4019         (main.o): remove target
4020
4021 2003-04-27  John Levon  <levon@movementarian.org>
4022
4023         * bufferlist.C:
4024         * lyx_cb.C:
4025         * lyxfunc.C:
4026         * lyxvc.C: specify cancel button in Alert::prompt
4027
4028 2003-04-26  John Levon  <levon@movementarian.org>
4029
4030         * text3.C:
4031         * lyxfunc.C:
4032         * lfuns.h:
4033         * LyXAction.C: add LFUN_INSET_SETTINGS
4034
4035         * lyxfunc.C: don't enable tabular-feature when there's
4036         just any locking inset
4037
4038 2003-04-26  John Levon  <levon@movementarian.org>
4039
4040         * bufferlist.C: re-add Cancel to buffer close question
4041
4042         * lyxfunc.C: fix import UI a bit
4043
4044 2003-04-25  John Levon  <levon@movementarian.org>
4045
4046         * gettext.C: remove the broken asserts for now
4047
4048 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4049
4050         * messages.C: make case where setlocale cannot comply work better.
4051
4052         * buffer.C (updateDocLang): new function
4053         (changeLanguage): use it
4054         (readFile): use it
4055
4056         * text2.C (setCounter): use B_ a bit.
4057
4058         * lyxlayout.C (Read): be sure to trim the label strings.
4059
4060         * messages.C (Messages): fix typo in comment
4061
4062         * buffer.C (readFile): set message_ after file is loaded.
4063         (makeDocBookFile): remove double return
4064         (changeLanguage): reset message_ upon language change.
4065         (B_): new func, use this to get translated buffer strings.
4066
4067         * main.C: add myself and Jean Marc as authors.
4068
4069 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4070
4071         * messages.[hC]: pimplify Messages, and three different pimpls to be
4072         used in different circumstances.
4073
4074         * gettext.[Ch]: change for use with new message code.
4075
4076 2003-04-24 André Pönitz <poenitz@gmx.net>
4077
4078         * factory.C: support for eqref
4079
4080 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4081
4082         * messages.[Ch]: add missing char
4083
4084         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4085
4086         * messages.[Ch]: New files
4087
4088 2003-04-18  John Levon  <levon@movementarian.org>
4089
4090         * BufferView.h:
4091         * BufferView.C:
4092         * BufferView_pimpl.C:
4093         * lfuns.h:
4094         * LyXAction.C:
4095         * lyxtext.h:
4096         * text2.C: remove layout-copy/paste (bug 778)
4097
4098 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4099
4100         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4101
4102 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4103
4104         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4105         if they succeed. Act accordingly.
4106
4107 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4108
4109         * text2.C (setCharFont): adjust
4110         (setCounter): adjust
4111         (insertStringAsLines): adjust
4112
4113         * text.C (leftMargin): adjust
4114         (setHeightOfRow): adjust
4115
4116         * rowpainter.C (paintFirst): adjust
4117         (paintLast): adjust
4118
4119         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4120         (outerHook): ditto
4121         (isFirstInSequence): ditto
4122         (getEndLabel): ditto
4123         (outerFont): adjust
4124
4125         * paragraph.C (getParLanguage): comment out some hard stuff.
4126
4127         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4128         (sgmlError): ditto
4129         (simpleDocBookOnePar): ditto
4130         (makeDocBookFile): use ParagraphList::iterator
4131
4132         * CutAndPaste.C (pasteSelection): adjust
4133
4134 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4135
4136         * text2.C (getFont): adjust
4137         (getLayoutFont): adjust
4138         (getLabelFont): adjust
4139
4140         * paragraph_funcs.C (TeXOnePar): adjust
4141
4142         * buffer.C (simpleLinuxDocOnePar): adjust
4143         (simpleDocBookOnePar): adjust
4144
4145         * CutAndPaste.C (pasteSelection): adjust
4146
4147         * BufferView.C (getEncoding): adjust
4148
4149         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4150
4151 2003-04-16  John Levon  <levon@movementarian.org>
4152
4153         * lyxfind.C: use parlist stuff for search/changes
4154
4155 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4156
4157         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4158
4159         * text2.C (deleteEmptyParagraphMechanism): adjust
4160
4161         * text2.[Ch] (ownerParagraph): delete func (both of them
4162
4163 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4164
4165         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4166
4167 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4168
4169         * ParagraphList.C: prepare for NO_NEXT
4170
4171 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4172
4173         * text2.C (getFont): adjust
4174         (getLayoutFont): adjust
4175         (getLabelFont): adjust
4176
4177         * paragraph.C (getFont): adjust
4178         (getLabelFont): adjust
4179         (getLayoutFont): adjust
4180
4181         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4182
4183 2003-04-15  John Levon  <levon@movementarian.org>
4184
4185         From Angus Leeming
4186
4187         * lyx_main.C: handle Include in .ui files
4188
4189 2003-04-15  John Levon  <levon@movementarian.org>
4190
4191         * MenuBackend.C: make the doc files length shorter
4192
4193         * ToolbarBackend.h:
4194         * ToolbarBackend.C: handle toolbar placement flags,
4195         Minibuffer
4196
4197 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4198
4199         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4200         adjust
4201
4202         * paragraph_funcs.C (TeXOnePar): adjust
4203
4204         * paragraph.C (getLabelFont): add outerfont arg, adjust
4205         (getLayoutFont): ditto
4206         (simpleTeXOnePar): adjust
4207
4208         * paragraph_pimpl.C (realizeFont): delete func
4209
4210 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4211
4212         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4213         row argument, constify cur argument.
4214
4215 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4216
4217         * text2.C (getFont): adjust
4218         (getLayoutFont): adjust
4219         (getLabelFont): adjust
4220
4221         * paragraph_funcs.C (TeXOnePar): adjust
4222         (outerFont): new func...
4223         (realizeFont): ...moved out from here, changed this to facilitate
4224         transition
4225
4226         * paragraph.C (getFont): take outerfont as arg, adjust
4227         (simpleTeXOnePar): add outerfont arg, adjust
4228
4229         * buffer.C (simpleLinuxDocOnePar): adjust
4230         (simpleDocBookOnePar): adjust
4231
4232         * CutAndPaste.C (pasteSelection): adjust
4233
4234         * BufferView.C (getEncoding): adjust
4235
4236 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4237
4238         * text2.C (setCharFont): adjust
4239         (setCounter): adjust
4240
4241         * text.C (leftMargin): adjust
4242         (setHeightOfRow): adjust
4243
4244         * rowpainter.C (paintFirst): adjust
4245         (paintLast): adjust
4246
4247         * paragraph_pimpl.C (realizeFont): adjust
4248
4249         * paragraph.C (isFirstInSequence): move from here...
4250         * paragraph_funcs.C (isFirstInSequence): ...to here
4251
4252         * paragraph.C (outerHook): move from here...
4253         * paragraph_funcs.C (outerHook): ...to here
4254
4255         * paragraph.C (depthHook): move from here...
4256         * paragraph_funcs.C (depthHook): ...to here
4257
4258         * paragraph.C (getEndLabel): move from here...
4259         * paragraph_funcs.C (getEndLabel): ...to here
4260
4261         * text2.C (realizeFont): move from here...
4262         * paragraph_funcs.C (realizeFont): ...to here
4263
4264 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4265
4266         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4267
4268 2003-04-14  Angus Leeming  <leeming@lyx.org>
4269
4270         * LColor.[Ch]: scrap LColor mathcursor.
4271
4272 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4273
4274         * lyxlex.[Ch] (text): delete function
4275         * trans.C (Load): adjust
4276         * paragraph_funcs.C (readParToken): adjust
4277
4278 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4279
4280         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4281         vector<char> instead of a char[].
4282
4283         * lyxlex_pimpl.C (getString): adjust
4284         (next): adjust
4285         (lex): use getString
4286         (eatLine): adjust
4287         (nextToken): adjust
4288
4289         * lyxlex.C (text): use pimpl_->getString()
4290         (getBool): ditto
4291         (findToken): ditto
4292
4293 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4294
4295         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4296         (makeFontEntriesLayoutSpecific): temp var for par.size()
4297         (setLayout): temp var for ownerParagraphs().end()
4298         (fullRebreak): temp var for rows().end()
4299         (selectionAsString): temp var for boost::next(startpit), realize
4300         that the while really is a regular for loop.
4301         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4302         setCursor in one place.
4303         (setParagraph): temp vr for ownerParagraphs().end()
4304         (updateCounters): make the while loop a for loop
4305         (cutSelection): temp var for ownerParagraphs().end()
4306         (updateInset): make the do {} while() a regular for loop
4307         (getCursorX): use temp vars
4308         (setCurrentFont): use temp vars
4309         (getColumnNearX): use temp vars
4310
4311 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4312
4313         * text.C (transformChar): use temp var for getChar
4314         (computeBidiTables): use temp var for row->par()
4315         (fill): move temp vars for row->par() and pit->layout() earlier in
4316         the function.
4317         (labelFill): use temp var for row->par()
4318         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4319         asc and desc, realize that pit never changes and that firstpit is
4320         just a duplicate and not needed. Exchange rit->par() with pit in a
4321         lot of places.
4322         (breakAgain): use a temp var for boost::next(rit)
4323         (breakAgainOneRow): ditto
4324         (breakParagraph): use a temp var for rows().begin()
4325         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4326         (cursorRightOneWord): use temp var for cursor.par() and
4327         cursor.pos(), remove usage of tmpcursor.
4328         (cursorLeftOneWord): use temp var for cursor.par() and
4329         cursor.pos() only set cur at end of function.
4330
4331 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4332
4333         * text.C, text2.C: exchange all usage of Paragraph::next with
4334         boost::next(ParagraphList::iterator)
4335
4336         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4337
4338         * text2.C (cursorTop): simplify implementation
4339         (cursorBottom): ditto
4340         (setParagraph): use ParagraphList::iterator
4341         (setCurrentFont): adjust
4342         (getColumnNearX): adjust
4343         (cursorRight): adjust
4344         (cursorLeft): remove usage of Paragraph::previous
4345         (cursorUpParagraph): ditto
4346         (deleteEmptyParagraphMechanism): slight cleanup
4347
4348         * text.C (isBoundary): take a Paragraph const & instead of a
4349         pointer as arg.
4350         (addressBreakPoint): ditto
4351         (leftMargin): remove usage of Paragraph::previous.
4352         (setHeightOfRow): ditto
4353         (cursorLeftOneWord): ditto
4354         (selectNextWordToSpellcheck): ditto
4355         (Delete): ditto
4356         (backspace): ditto
4357         (breakParagraph): remove one usage of Paragraph::next
4358         (redoParagraph): ditto
4359         (acceptChange): ditto
4360         (insertChar): adjust
4361         (rowBreakPoint): adjust
4362
4363         * bufferview_funcs.C (toggleAndShow): adjust
4364
4365 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4366
4367         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4368         methods to access it.
4369         * lyxtext.h:
4370         * text.C: Added updateRowPositions to compute all row positions.
4371         Make top_y and getRowNearY() to use the cached y position
4372
4373 2003-04-11  John Levon  <levon@movementarian.org>
4374
4375         * text.C (rowBreakPoint): reintroduce the labelEnd
4376         checks, code copied from the row fill stuff. Deep voodoo.
4377
4378         * text.C (fill): add a comment and debugging for the
4379         next poor soul.
4380
4381 2003-04-11  John Levon  <levon@movementarian.org>
4382
4383         * text.C: make sure fullrow insets get wrapped to the next line,
4384         even when they're in a manual label
4385
4386 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4387
4388         * text2.C (insertParagraph): make it take ParagraphList::iterator
4389         as arg.
4390         (setLayout): make it return ParagraphList::iterator
4391         (redoParagraphs): ditto
4392         (setCounter): ditto
4393         (checkParagraph): ditto
4394
4395         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4396
4397         * text2.C: adjust several funcs.
4398         (realizeFont): take a ParagraphList::iterator as arg.
4399         (getLayoutFont): ditto
4400         (getLabelFont): ditto
4401         (setCharFont): ditto
4402
4403         * text.C: adjust several funcs.
4404
4405 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4406
4407         * text.C (selectNextWordToSpellcheck): don't accidentally
4408         skip insets
4409
4410 2003-04-10  John Levon  <levon@movementarian.org>
4411
4412         * ToolbarBackend.C (getIcon): special handling for
4413         LFUN_MATH_DELIM
4414
4415 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4416
4417         * text2.C (cursorRight): a getChar assert fixed
4418
4419 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4420
4421         * text2.C (getFont): change to take a ParagraphList::iterator
4422         instead of Paragraph*
4423         Adjust several functions.
4424
4425         * text.C (transformChar): change to take a ParagraphList::iterator
4426         instead of Paragraph*
4427         (singleWidth): ditto
4428         Adjust several functions.
4429
4430         * rowpainter.C: adjust several functions
4431         * rowpainter.h:store a ParagraphList::iterator and not a
4432         Paragraph&.
4433
4434
4435 2003-04-09  John Levon  <levon@movementarian.org>
4436
4437         * lyxfunc.C:
4438         * lfuns.h:
4439         * LyXAction.h:
4440         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4441         and the "help" bits as well
4442
4443 2003-04-09  John Levon  <levon@movementarian.org>
4444
4445         * ToolbarBackend.h:
4446         * ToolbarBackend.C: allow multiple toolbars
4447
4448 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4449
4450         * undo_funcs.C (setCursorParUndo): adjust
4451
4452         * text_funcs.C (transposeChars): adjust
4453
4454         * text3.C (gotoNextInset): adjust
4455         (dispatch): adjust
4456
4457         * text2.C (setLayout): adjust
4458         (changeDepth): adjust
4459         (setFont): adjust
4460         (redoParagraphs): adjust
4461         (selectionAsString): adjust
4462         (setParagraph): adjust
4463         (insertInset): adjust
4464         (cutSelection): adjust
4465         (copySelection): adjust
4466         (pasteSelection): adjust
4467         (insertStringAsLines): adjust
4468         (updateInset): adjust
4469         (setCursor): change to take a ParagraphList::iterator parameter
4470         (setCursorIntern): change to take a ParagraphList::iterator parameter
4471         (setCurrentFont): adjust
4472         (cursorLeft): adjust
4473         (cursorRight): adjust
4474         (deleteEmptyParagraphMechanism): adjust
4475
4476         * text.C (breakParagraph): adjust
4477         (insertChar): adjust
4478         (acceptChange): adjust
4479         (rejectChange): adjust
4480         (selectNextWordToSpellcheck): adjust
4481         (changeCase): adjust
4482         (Delete): adjust
4483         (backspace): adjust
4484
4485         * lyxfind.C (SearchForward): adjust
4486         (SearchBackward): adjust
4487         (nextChange): adjust
4488
4489         * lyxcursor.C (par): adjust
4490
4491         * lyxcursor.h: store a ParagraphList::iterator instead of a
4492         Paragraph*
4493
4494         * lyx_cb.C (getPossibleLabel): adjust
4495
4496         * bufferview_funcs.C (toggleAndShow): adjust
4497
4498         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4499         (dispatch): adjust
4500
4501         * BufferView.C (removeAutoInsets): adjust
4502         (lockedInsetStoreUndo): adjust
4503
4504 2003-04-09  John Levon  <levon@movementarian.org>
4505
4506         * ToolbarBackend.C: try icon without argument
4507         if with argument fails
4508
4509 2003-04-08  John Levon  <levon@movementarian.org>
4510
4511         * ToolbarBackend.h:
4512         * ToolbarBackend.C: add getIcon(), handle tooltip,
4513         and change from "Icon" to "Item".
4514
4515 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4516
4517         * BufferView.C (lockInset): another bad getchar crunched
4518
4519 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4520
4521         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4522         again)
4523
4524 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4525
4526         * lyxfind.C (searchForward, searchBackwards): bug 782
4527
4528 2003-04-07  John Levon  <levon@movementarian.org>
4529
4530         * paragraph.C: remove dead comment
4531
4532         * text.C: remove troublesome depth-fiddling code
4533         in leftMargin() and rightMargin() (bug 1017)
4534
4535         * text.C: fix breaking of rows in nested lists
4536         (bug 1004)
4537
4538         * text2.C (updateCounters): fix up depth values
4539         (bug 1013)
4540
4541 2003-04-07  John Levon  <levon@movementarian.org>
4542
4543         * BufferView_pimpl.C: clear message when doc finishes resizing,
4544         and after a mouse event
4545
4546         * lyxfunc.C: clear message after exiting inset
4547
4548 2003-04-07  John Levon  <levon@movementarian.org>
4549
4550         * bufferview_funcs.C: show math status not outside
4551         status in the statusbar
4552
4553 2003-04-07  John Levon  <levon@movementarian.org>
4554
4555         * lyxfunc.C: note status changed after a depth change
4556
4557 2003-04-04  Angus Leeming  <leeming@lyx.org>
4558
4559         * LaTeX.h: move AuxInfo operator==, != out of line.
4560         Remove LaTeX virtual destructor; nothing derives from it.
4561         Move operator()() out of public area and rename it startscript().
4562         Change protected for private.
4563
4564 2003-04-04  Angus Leeming  <leeming@lyx.org>
4565
4566         * lyxfunc.C:
4567         * text2.C: remove unneeded #includes.
4568
4569 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4570
4571         * text2.C (dEPM): fix the heigth of the next row
4572
4573 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4574
4575         * text.C: squashed an invalid getChar requester + some ws changes
4576
4577 2003-04-03  John Levon  <levon@movementarian.org>
4578
4579         * bufferview_funcs.h:
4580         * bufferview_funcs.C:
4581         * lyxfunc.C:
4582         * lyxtext.h:
4583         * text2.C: make getStatus work for the env depth lfuns
4584
4585 2003-04-03  John Levon  <levon@movementarian.org>
4586
4587         * bufferview_funcs.h:
4588         * bufferview_funcs.C:
4589         * lyxfunc.C:
4590         * lyxtext.h:
4591         * text2.C: parlistize decDepth(), by merging it with incDepth()
4592
4593 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4594
4595         * lyxrow.h: store a ParagraphList::iterator instead of a
4596         Paragraph* and adjust other class functions to suit.
4597
4598         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4599         above.
4600
4601 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4602
4603         * text2.C (setCursor): do not anchor to cursor row for the time being
4604
4605 2003-04-02  John Levon  <levon@movementarian.org>
4606
4607         * LyXAction.C:
4608         * lfuns.h:
4609         * lyx_main.C:
4610         * lyxtext.h:
4611         * text.C:
4612         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4613
4614 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4615
4616         * paragraph.h: make ParagraphList and ParagraphList::iterator
4617         friends of Paragraph.
4618
4619         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4620
4621         * ParagraphList.C: Use the private next_ and previous_ from
4622         Paragraph.
4623
4624 2003-04-01  John Levon  <levon@movementarian.org>
4625
4626         * ToolbarBackend.h:
4627         * ToolbarBackend.C:
4628         * Makefile.am: rename, remove defaults gunk
4629
4630         * MenuBackend.h:
4631         * MenuBackend.C: remove defaults gunk
4632
4633         * Languages.h:
4634         * Languages.C: remove defaults gunk
4635
4636         * lyx_main.h:
4637         * lyx_main.C: error out if files couldn't be found.
4638
4639 2003-04-02  John Levon  <levon@movementarian.org>
4640
4641         * text2.C: make incDepth() use parlist
4642
4643 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4644
4645         * undo_funcs.C (firstUndoParagraph): adjust
4646
4647         * text3.C (gotoInset): adjust
4648         (dispatch): adjust, and rewrite loop.
4649
4650         * text2.C (init): adjust, and rewrite loop.
4651         (redoParagraphs): adjust
4652         (updateInset): adjust, and rewrite loop.
4653         (deleteEmptyParagraphMechanism): adjust
4654
4655         * tabular.C (LyXTabular): adjust
4656         (SetMultiColumn): adjust
4657         (TeXRow): adjust
4658
4659         * lyxtext.[Ch] (ownerParagraph): delete function
4660         (ownerParagraphs): new function returns a ParagraphList.
4661
4662         * BufferView.C (removeAutoInsets): adjust
4663         (insertErrors): adjust
4664         (setCursorFromRow): adjust
4665
4666 2003-04-01  Angus Leeming  <leeming@lyx.org>
4667
4668         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4669         in the frontends.
4670
4671 2003-04-02  John Levon  <levon@movementarian.org>
4672
4673         * lyxtext.h:
4674         * text.C:
4675         * Makefile.am:
4676         * text_funcs.h:
4677         * text_funcs.C: make transposeChars a free function
4678
4679         * lyxrow_funcs.C: remove wrong comment
4680
4681 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4682
4683         * lyxtext.h: adjust
4684         * rowpainter.C: adjust
4685         * text.C: adjust
4686         * text2.C: adjust
4687         * text3.C: adjust
4688
4689         * lyxrow_funcs. [Ch]: new files
4690
4691         * lyxrow.[Ch]: remove next and previous pointers
4692         (next,previous): remove accessor functions
4693         (isParEnd): move to lyxrow_funcs
4694         (lastPos): move to lyxrow_funcs
4695         (nextRowIsAllInset): move to lyxrow_funcs
4696         (lastPrintablePos): move to lyxrow_funcs
4697         (numberOfSeparators): move to lyxrow_funcs
4698         (numberOfHfills): move to lyxrow_funcs
4699         (numberOfLabelHfills): move to lyxrow_funcs
4700         (hfillExpansion): move to lyxrow_funcs
4701
4702         * lyxfunc.C: adjust
4703
4704         * bufferview_funcs.C (toggleAndShow): adjust
4705
4706         * RowList.h: Remove class RowList from file leave just a
4707         std::list<Row>.
4708
4709         * RowList.C: delete file
4710
4711         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4712         and lyxrow_funcs.h
4713
4714 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4715
4716         * text3.C (cursorPrevious): adjust
4717         (cursorNext): adjust
4718         (dispatch): adjust
4719
4720         * text2.C (redoHeightOfParagraph): adjust
4721         (redoDrawingOfParagraph): adjust
4722         (setCursor): adjust
4723
4724         * text.C (breakParagraph): adjust
4725         (insertChar): adjust
4726         (backspace): adjust
4727
4728         * rowpainter.C (RowPainter): adjust
4729         (leftMargin): simplify and adjust
4730         (most rowpainter functions): adjust.
4731
4732         * rowpainter.h: store the row as RowList::iterator not as Row*
4733
4734         * lyxcursor.C (row): taka RowList::iterator as arg
4735         (irow): ditto
4736
4737         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4738         of Row*.
4739
4740 2003-04-01  Angus Leeming  <leeming@lyx.org>
4741
4742         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4743         stuff like bool Bool.
4744
4745 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4746
4747         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4748         rewrite a loop
4749
4750 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4751
4752         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4753         RowList::iterator.
4754
4755         * lyxtext.h (rows): drop one version and leve a const variant that
4756         returns a RowList::iterator.
4757
4758 2003-03-31  Angus Leeming  <leeming@lyx.org>
4759
4760         * text.C (fill): ensure that the signature is the same as that in the
4761         header file.
4762
4763 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4764
4765         * text2.C (redoParagraphs): adjust
4766         (updateCounters): adjust
4767         (checkParagraph): adjust
4768         (getColumnNearX): adjust and reformat a bit.
4769
4770         * text.C (top_y): adjust
4771         (workWidth): adjust
4772         (leftMargin): adjust
4773         (prepareToPrint): adjust
4774         (getRow): adjust
4775         (getRowNearY): adjust
4776
4777         * lyxtext.h: make rowlist_ mutable.
4778
4779         * RowList.h: add const_iterator
4780         * RowList.C: adjust for RowList::const_iterator.
4781
4782         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4783         adjust.
4784
4785 2003-03-31  John Levon  <levon@movementarian.org>
4786
4787         * lyxrc.h:
4788         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4789
4790         * lyx_main.C: set default fonts from using lyx_gui funcs
4791
4792         * exporter.C: pdf_mode moved from lyxrc
4793
4794         * lyx_cb.C:
4795         * lyxfunc.C: changes from above
4796
4797 2003-03-31  John Levon  <levon@movementarian.org>
4798
4799         * lyx_main.C: fix to the last fix
4800
4801 2003-03-31  John Levon  <levon@movementarian.org>
4802
4803         * bufferlist.C: "Load original" -> "Load Original"
4804
4805         * converter.C:
4806         * exporter.C:
4807         * importer.C:
4808         * lyx_main.C:
4809         * format.C: more Alert cleanups
4810
4811 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4812
4813         * text2.C (removeParagraph): make it take a RowList::iterator as
4814         arg, adjust.
4815         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4816         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4817
4818         * text.C (anchor_row): make it take a RowList::iterator as arg,
4819         adjust.
4820         (computeBidiTables): make it take a const reference to Row instead
4821         of Row pointer, adjust.
4822         (leftMargin): make it take a RowList::iterator as arg, adjust.
4823         (rowBreakPoint): adjust
4824         (breakAgainOneRow): make it take a RowList::iterator as arg,
4825         adjust.
4826         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4827
4828         * bufferview_funcs.C (toggleAndShow): adjust
4829
4830 2003-03-30  John Levon  <levon@movementarian.org>
4831
4832         * Makefile.am:
4833         * BoostFormat.h:
4834         * boost-inst.C: moved to support
4835
4836         * several files: changes as a result
4837
4838 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4839
4840         * text2.C (LyXText): adjust.
4841         (init): adjust
4842         (removeRow): make it take a RowList::iterator as arg, adjust.
4843         (fullRebreak): adjust
4844         (deleteEmptyParagraphMechanism): adjust
4845         (clearPaint): adjust
4846         (postPaint): adjust
4847
4848         * text.C (top_y): adjust
4849         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4850         (breakAgain): make it take a RowList::iterator as arg, adjust.
4851         (breakParagraph): adjust
4852         (insertChar): adjust
4853         (backspace): adjust
4854
4855         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4856         need_break_row, and refresh_row.
4857
4858         * text3.C (dispatch): adjust
4859
4860         * text2.C (checkParagraph): adjust
4861         (setCursor): adjust
4862         (setCursorFromCoordinates): adjust
4863
4864         * text.C (top_y): adjust
4865         (workWidth): adjust
4866         (getRow): make it return a RowList::iterator, adjust
4867         (getRowNearY): make it return a RowList::iterator, adjust
4868
4869         * text2.C (init): adjust
4870         (insertRow): remove function
4871         (insertParagraph): adjust
4872         (redoParagraphs): adjust
4873         (fullRebreak): adjust
4874         (updateCounters): adjust
4875
4876         * text.C (top_y): rewrite to use RowList iterators.
4877         (top_y): adjust
4878         (setHeightOfRow): rewrite to sue RowList iterators.
4879         (appendParagraph): adjust
4880         (breakAgain): adjust
4881         (breakAgainOneRow): adjust
4882         (breakParagraph): adjust
4883         (getRow): adjust
4884         (getRowNearY): adjust, and remove commented code.
4885
4886         * lyxtext.h (firstRow): delete function
4887         (lastRow): delete function
4888         (rows): new function (const and non-const versions.)
4889         (insertRow): delete function
4890
4891         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4892
4893 2003-03-29  John Levon  <levon@movementarian.org>
4894
4895         * BufferView_pimpl.C: always update scrollbar top
4896         because pasting text when we're anchored could mean we
4897         miss an update altogether
4898
4899 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4900
4901         * text2.C (init): use rowlist_.end() and not 0.
4902         (insertRow): change to take a RowList::iterator as arg, adjust
4903         for this.
4904         (insertParagraph): change to take a RowList::iterator as arg,
4905         adjust for this.
4906         (redoParagraphs): remove some debug msgs.
4907
4908         * text.C (appendParagraph): change to take a RowList::iterator
4909         arg, adjust for this.
4910         (breakAgain): add an assert
4911         (breakAgainOneRow): ditto
4912
4913 2003-03-29  John Levon  <levon@movementarian.org>
4914
4915         * text2.C: do not clear selection after inc/decDepth
4916         (bug 550)
4917
4918 2003-03-29  John Levon  <levon@movementarian.org>
4919
4920         * BufferView.C:
4921         * buffer.C: fix broken strerrors according to Lars
4922
4923 2003-03-29  John Levon  <levon@movementarian.org>
4924
4925         * converters.C: more Alert cleanups
4926
4927 2003-03-29  John Levon  <levon@movementarian.org>
4928
4929         * bufferview_funcs.C: remove pointless Alert
4930
4931         * buffer.C: fix confusing error message when
4932         a template is chmoded 000
4933
4934 2003-03-29  John Levon  <levon@movementarian.org>
4935
4936         * BufferView.C:
4937         * BufferView.h:
4938         * BufferView_pimpl.C: Alert fixes
4939
4940         * Makefile.am:
4941         * tabular.C:
4942         * tabular-old.C: remove unused table compat reading
4943
4944 2003-03-29  John Levon  <levon@movementarian.org>
4945
4946         * BufferView.C:
4947         * buffer.C:
4948         * lyx_cb.h:
4949         * lyx_cb.C: more Alert cleanups
4950
4951         * lyxfunc.C: don't allow chktex if not latex document
4952
4953 2003-03-29  John Levon  <levon@movementarian.org>
4954
4955         * lyx_cb.C:
4956         * BufferView.C:
4957         * buffer.C: warnings pushed down from support/,
4958         kill err_alert
4959
4960 2003-03-29  John Levon  <levon@movementarian.org>
4961
4962         * lyxfunc.C: safety check for C-r (revert)
4963
4964 2003-03-29  John Levon  <levon@movementarian.org>
4965
4966         * bufferlist.h:
4967         * bufferlist.C: several UI fixes using Alert::prompt.
4968         Fix the pointless looping quit code. Fix stupid revert
4969         behaviour (bug 938)
4970
4971         * lyxvc.h:
4972         * lyxvc.C:
4973         * lyx_cb.C: use Alert::prompt
4974
4975         * lyx_main.C: remove a silly question
4976
4977         * lyxfunc.C: remove a couple of silly questions,
4978         use Alert::prompt
4979
4980 2003-03-28  John Levon  <levon@movementarian.org>
4981
4982         * text2.C: fix bug 974 (End on empty par)
4983
4984 2003-03-28  John Levon  <levon@movementarian.org>
4985
4986         * BufferView_pimpl.C:
4987         * LyXAction.C:
4988         * lfuns.h: remove do-nothing math greek lfuns
4989
4990 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4991
4992         * lyxgluelength.h (isValidGlueLength): add default arg on
4993         parameter 2. Remove default arg from friend in class.
4994
4995         * lyxlength.h (isValidLength): add default arg on parameter 2.
4996         Remove default arg from friend in class.
4997
4998         * text2.C (LyXText): adjust, initialize refresh_row.
4999         (init): adjust
5000         (removeRow): adjust
5001         (insertRow): adjust
5002         (insertParagraph): adjst
5003         (redoParagraphs): adjust
5004         (fullRebreak): adjust
5005         (updateCounters): adjust
5006         (deleteEmptyParagraphMechanism): first attempt at fixing a
5007         crashing bug.
5008
5009         * text.C (top_y): adjust
5010         (setHeightOfRow): adjust
5011         (getRow): adjust
5012         (getRowNearY): adjust
5013
5014         * lyxtext.h: include RowList.h
5015         (~LyXText): not needed anymore, deleted.
5016         (firstRow): modify for RowList
5017         (lastRow): new function
5018         Delete firstrow and lastrow class variables, add a Rowlist
5019         rowlist_ class variable.
5020
5021         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5022         paragraph is empty.
5023
5024         * RowList.C (insert): fix case where it == begin().
5025
5026 2003-03-26  Angus Leeming  <leeming@lyx.org>
5027
5028         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5029         the thesaurus dialog.
5030
5031 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5032
5033         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5034
5035         * RowList.[Ch]: new files
5036
5037         * ParagraphList.C (erase): handle the case where it == begin
5038         correctly.
5039
5040 2003-03-25  John Levon  <levon@movementarian.org>
5041
5042         * Makefile.am:
5043         * aspell_local.h:
5044         * aspell.C: add new aspell support
5045
5046         * lyxrc.h:
5047         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5048         have it accessible.
5049
5050 2003-03-25  Angus Leeming  <leeming@lyx.org>
5051
5052         * lfuns.h:
5053         * LyXAction.C (init): new LFUN_INSET_INSERT.
5054
5055         * BufferView_pimpl.C (dispatch): split out part of the
5056         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5057
5058         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5059         LFUN_INSET_APPLY.
5060
5061 2003-03-25  Angus Leeming  <leeming@lyx.org>
5062
5063         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5064
5065 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5066
5067         * text2.C:
5068         * text3.C: remove useless row->height(0)
5069
5070 2003-03-25  John Levon  <levon@movementarian.org>
5071
5072         * lyxtext.h:
5073         * text2.C:
5074         * text3.C: rename the refreshing stuff to better names
5075
5076 2003-03-24  John Levon  <levon@movementarian.org>
5077
5078         * BufferView_pimpl.h:
5079         * BufferView_pimpl.C: update layout choice on a mouse
5080         press/release
5081
5082 2003-03-23  John Levon  <levon@movementarian.org>
5083
5084         * Makefile.am: fix commandtags.h reference
5085
5086 2003-03-22  John Levon  <levon@movementarian.org>
5087
5088         * BufferView_pimpl.C:
5089         * lyxtext.h:
5090         * rowpainter.C:
5091         * rowpainter.h:
5092         * text.C:
5093         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5094
5095 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5096
5097         * lyxtext.h:
5098         * text.C: take the rtl methods out of line
5099
5100 2003-03-21 André Pönitz <poenitz@gmx.net>
5101
5102         * metricsinfo.[Ch]: new files containing structures to be passed around
5103         during the two-phase-drawing...
5104
5105 2003-03-21 André Pönitz <poenitz@gmx.net>
5106
5107         * lyxtextclass.C: read 'environment' tag.
5108
5109 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5110
5111         * text2.C (removeRow): fix bug 964
5112
5113 2003-03-20  John Levon  <levon@movementarian.org>
5114
5115         * rowpainter.C:
5116         * text.C:
5117         * text2.C: paint cleanups. Inset::update() dropped font
5118         parameter
5119
5120 2003-03-19  John Levon  <levon@movementarian.org>
5121
5122         * lyxfunc.C: only fitcursor/markDirty if available()
5123
5124 2003-03-19  John Levon  <levon@movementarian.org>
5125
5126         * commandtags.h: rename to ...
5127
5128         * lfuns.h: ... this, and renumber / cleanup
5129
5130 2003-03-19  John Levon  <levon@movementarian.org>
5131
5132         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5133         fit the cursor after an lfun
5134
5135         * BufferView.h:
5136         * BufferView.C:
5137         * BufferView_pimpl.h:
5138         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5139
5140         * LyXAction.C: layout-character should have ReadOnly
5141
5142         * ParagraphParameters.C:
5143         * buffer.C:
5144         * bufferview_funcs.C:
5145         * lyx_cb.C:
5146         * lyxfind.C:
5147         * lyxtext.h:
5148         * text.C:
5149         * text2.C:
5150         * text3.C:
5151         * undo_funcs.C: changes from above
5152
5153 2003-03-18  John Levon  <levon@movementarian.org>
5154
5155         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5156         remove it from update()
5157
5158         * lyxfunc.C: update layout choice after an lfun
5159
5160         * text3.C: remove extra updateLayoutChoice()s
5161
5162 2003-03-18  John Levon  <levon@movementarian.org>
5163
5164         * text.C: top_y change means full repaint, fix
5165         a drawing bug with cursor movement
5166
5167 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5168
5169         * lyxtext.h:
5170         * text.C:
5171         * text2.C: anchor row on setCursor
5172
5173 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5174
5175         * lyxtext.h: remove almost all mutable keywords
5176         * text.C:
5177         * text2.C:
5178         * text3.C: remove const keywords accordingly
5179
5180 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5181
5182         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5183         anon namespace
5184         (TeXEnvironment): ditto
5185         (TeXOnePar): ditto
5186
5187 2003-03-17  John Levon  <levon@movementarian.org>
5188
5189         * text.C (rowBreakPoint): remove attempt to fix displayed
5190         math insets inside a manual label
5191
5192 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5193
5194         * lyxtext.h: remove BufferView* as first arg from almost all class
5195         functions.
5196         * other files: adjust.
5197
5198 2003-03-17  John Levon  <levon@movementarian.org>
5199
5200         * lyxtext.h:
5201         * undo_funcs.C:
5202         * text2.C: more paint cleanups
5203
5204         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5205
5206         * rowpainter.h:
5207         * rowpainter.C: remove "smart" background painting code
5208
5209 2003-03-16  John Levon  <levon@movementarian.org>
5210
5211         * lyxtext.h:
5212         * text.C:
5213         * text2.C:
5214         * text3.C: add helper functions for setting refresh_row/y
5215
5216 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5217
5218         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5219         newline inset which *can* get inserted in the pass_thru layouts.
5220         This is primarily for literate documents.
5221
5222 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5223
5224         * buffer.C: increment LYX_FORMAT to 223
5225
5226 2003-03-14 André Pönitz <poenitz@gmx.net>
5227
5228         * textclass.h: prepare for environment handling, ws changes
5229         * lyxlayout.C: read latexheader and latexfooter tags
5230
5231 2003-03-14  John Levon  <levon@movementarian.org>
5232
5233         * text2.C: rewrite ::status() a bit
5234
5235 2003-03-13  John Levon  <levon@movementarian.org>
5236
5237         * lyxtext.h: add some docs
5238
5239 2003-03-13  John Levon  <levon@movementarian.org>
5240
5241         * lyxtext.h:
5242         * text.C:
5243         * text2.C:
5244         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5245
5246 2003-03-13  John Levon  <levon@movementarian.org>
5247
5248         * text3.C: fix appendix redrawing
5249
5250 2003-03-13  John Levon  <levon@movementarian.org>
5251
5252         * text.C (setHeightOfRow):
5253         * rowpainter.h:
5254         * rowpainter.C: make appendix mark have the text
5255           "Appendix" so the user knows what it is
5256
5257         * LColor.h:
5258         * LColor.C: s/appendixline/appendix/ from above
5259
5260 2003-03-13  John Levon  <levon@movementarian.org>
5261
5262         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5263
5264         * text.C: fix a getChar(pos) bug properly
5265
5266 2003-03-13  Angus Leeming  <leeming@lyx.org>
5267
5268         * commandtags.h:
5269         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5270         Probably only temporary. Let's see how things pan out.
5271
5272         * BufferView.C (unlockInset):
5273         * BufferView_pimpl.C (fitCursor):
5274         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5275
5276         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5277         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5278
5279         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5280         new functions that convert ParagraphParameters to and from a string.
5281
5282         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5283         BufferView::Pimpl's dispatch.
5284         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5285
5286 2003-03-13 André Pönitz <poenitz@gmx.net>
5287
5288         * lyxfunc.C:
5289         * text3.C:
5290         * factory.C: make it aware of InsetEnv
5291
5292 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5293
5294         * text2.C (setCursor): never ask for one past last
5295         (setCursor): add some debugging messages.
5296
5297         * text.C (singleWidth): never ask for one past last
5298         (singleWidth): ditto
5299         (leftMargin): ditto
5300         (rightMargin): ditto
5301         (rowBreakPoint): ditto
5302         (setHeightOfRow): ditto
5303         (prepareToPrint): ditto
5304
5305         * rowpainter.C (paintBackground): never ask for one past last
5306         (paintText): never ask for one past last
5307
5308         * paragraph_pimpl.C (getChar): make the assert stricter, never
5309         allow the one past last pos to be taken
5310
5311         * paragraph.C (getChar): ws changes only
5312
5313         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5314         (numberOfSeparators): ditto
5315         (numberOfHfills): ditto
5316
5317 2003-03-12  John Levon  <levon@movementarian.org>
5318
5319         * author.h:
5320         * author.C:
5321         * bufferparams.h:
5322         * bufferparams.C:
5323         * paragraph_funcs.C: fix per-buffer authorlists
5324
5325 2003-03-12  John Levon  <levon@movementarian.org>
5326
5327         * text.C: fix newline in right address
5328
5329 2003-03-12  Angus Leeming  <leeming@lyx.org>
5330
5331         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5332         duplicate those in LyXFunc::dispatch.
5333
5334         * commandtags.h:
5335         * LyXAction.C:
5336         * ToolbarDefaults.C:
5337         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5338         Add LFUN_FONTFREE_UPDATE.
5339
5340         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5341         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5342
5343         * bufferview_func.[Ch]: several new functions to facilliate
5344         transfer of data to and from the character dialog.
5345
5346 2003-03-12  John Levon  <levon@movementarian.org>
5347
5348         * buffer.C:
5349         * paragraph.h:
5350         * paragraph.C:
5351         * paragraph_funcs.C:
5352         * paragraph_pimpl.C:
5353         * sgml.C:
5354         * tabular.C:
5355         * text.C:
5356         * text3.C: remove META_NEWLINE in favour of an inset
5357
5358         * rowpainter.h:
5359         * rowpainter.C: remove paintNewline (done by inset)
5360
5361 2003-03-12  John Levon  <levon@movementarian.org>
5362
5363         * paragraph_pimpl.C: complain about bad getChar()s
5364         for a while at least
5365
5366 2003-03-12  John Levon  <levon@movementarian.org>
5367
5368         * buffer.h:
5369         * buffer.C: move paragraph read into a separate function,
5370         a little renaming to reflect that.
5371
5372         * bufferparams.h:
5373         * bufferparams.C: remove the author_ids map, not necessary now
5374
5375         * factory.h:
5376         * factory.C: moved Buffer::readInset to here
5377
5378         * paragraph_funcs.h:
5379         * paragraph_funcs.C: readParagraph free function moved from
5380         buffer.C
5381
5382         * tabular.C: name change
5383
5384 2003-03-12  John Levon  <levon@movementarian.org>
5385
5386         * buffer.C:
5387         * ParagraphParameters.C: move par params input to
5388         a read() method
5389
5390         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5391         behave like a normal read from the stream wrt reading
5392         a line vs. a \\token
5393
5394 2003-03-12  John Levon  <levon@movementarian.org>
5395
5396         * paragraph.C:
5397         * ParagraphParameters.h:
5398         * ParagraphParameters.C: move output code to a
5399         ::write() method
5400
5401 2003-03-12  John Levon  <levon@movementarian.org>
5402
5403         * BufferView.C (insertLyXFile):
5404         * buffer.h:
5405         * buffer.C:
5406         * tabular.C: use a parlist iterator for creating the
5407           document.
5408
5409 2003-03-12  John Levon  <levon@movementarian.org>
5410
5411         * buffer.C: make current_change static local not
5412           static file-scope
5413
5414 2003-03-12  John Levon  <levon@movementarian.org>
5415
5416         * buffer.C: fix insertStringAsLines for change tracking
5417
5418 2003-03-12  John Levon  <levon@movementarian.org>
5419
5420         * BufferView.C:
5421         * tabular.C:
5422         * buffer.h:
5423         * buffer.C:
5424         * bufferparams.h:
5425         * bufferparams.C: move author list into params. Rename some
5426           functions. Move the header reading into a separate token
5427           loop. Move the header token reading into BufferParams.
5428
5429 2003-03-12  John Levon  <levon@movementarian.org>
5430
5431         * changes.C: put debug inside lyxerr.debugging() checks
5432
5433 2003-03-11 André Pönitz <poenitz@gmx.net>
5434
5435         * factory.C: make it aware of InsetHFill
5436
5437 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5438
5439         * buffer.C (latexParagraphs): move function from here...
5440         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5441         args.
5442
5443 2003-03-10  Angus Leeming  <leeming@lyx.org>
5444
5445         * LyXAction.C (init): fix bug in poplating array with multiple entries
5446         with the same LFUN (spotted by JMarc).
5447
5448 2003-03-10  John Levon  <levon@movementarian.org>
5449
5450         * text.C:
5451         * text2.C: move getColumnNearX() near its
5452         only call site
5453
5454 2003-03-10  John Levon  <levon@movementarian.org>
5455
5456         * text.C: fix break before a minipage
5457
5458 2003-03-10  John Levon  <levon@movementarian.org>
5459
5460         * text.C: fix the last commit
5461
5462 2003-03-09  John Levon  <levon@movementarian.org>
5463
5464         * lyxtext.h:
5465         * text.C:
5466         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5467         bug 365 (don't break before insets unless needed). Don't
5468         return a value > last under any circumstances.
5469
5470 2003-03-09  Angus Leeming  <leeming@lyx.org>
5471
5472         * BufferView_pimpl.C (trackChanges, dispatch): call
5473         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5474
5475 2003-03-09  Angus Leeming  <leeming@lyx.org>
5476
5477         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5478         than Dialogs::showAboutlyx().
5479
5480 2003-03-09  Angus Leeming  <leeming@lyx.org>
5481
5482         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5483         than Dialogs::showTabularCreate().
5484
5485 2003-03-09  John Levon  <levon@movementarian.org>
5486
5487         * lyxtext.h:
5488         * text.C:
5489         * text2.C: 3rd arg to nextBreakPoint was always the same.
5490           Use references.
5491
5492 2003-03-08  John Levon  <levon@movementarian.org>
5493
5494         * lyxrow.C:
5495         * paragraph.C:
5496         * paragraph.h:
5497         * rowpainter.C:
5498         * text.C:
5499         * text2.C: Remove the "main" bit from the "main body"
5500           notion.
5501
5502 2003-03-08  John Levon  <levon@movementarian.org>
5503
5504         * text.C (leftMargin): The left margin of an empty
5505         manual label paragraph should not include the label width
5506         string length.
5507
5508         * text.C (prepareToPrint): don't attempt to measure hfills
5509         for empty manual label paragraphs - the answer should be 0
5510
5511 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5512
5513         * CutAndPaste.C: remove commented code and reindent.
5514
5515 2003-03-08  John Levon  <levon@movementarian.org>
5516
5517         * lyxfunc.h:
5518         * lyxfunc.C: move reloadBuffer()
5519
5520         * BufferView.h:
5521         * BufferView.C: to here
5522
5523         * lyxvc.C: add comment
5524
5525         * vc-backend.h:
5526         * vc-backend.C: call bv->reload() to avoid
5527           getStatus() check on MENURELOAD
5528
5529 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5530
5531         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5532         to an old format .dep file.
5533
5534 2003-03-07  Angus Leeming  <leeming@lyx.org>
5535
5536         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5537         when the LFUN_MOUSE_RELEASE should have been handled by
5538         inset->localDispatch.
5539
5540 2003-03-07  Angus Leeming  <leeming@lyx.org>
5541
5542         * BufferView_pimpl.C (dispatch):
5543         * LyXAction.C (init):
5544         * ToolbarDefaults.C (init):
5545         * commandtags.h:
5546         * lyxfunc.C (getStatus):
5547         remove LFUN_INSET_GRAPHICS.
5548
5549         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5550
5551 2003-03-07  Angus Leeming  <leeming@lyx.org>
5552
5553         * commandtags.h:
5554         * LyXAction.C (init):
5555         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5556
5557         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5558
5559         * commandtags.h:
5560         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5561
5562         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5563         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5564
5565 2003-03-07  Angus Leeming  <leeming@lyx.org>
5566
5567         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5568         remove "ert".
5569
5570 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5571
5572         * ParagraphList.C (front): new function
5573         (back): implement
5574
5575 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5576
5577         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5578         and top_row_offset_. removed var first_y.
5579         * text.C (top_y):
5580         * text2.C (LyXText, removeRow):
5581         * text3.C:
5582         * BufferView_pimpl.C:
5583         use these methods instead of using first_y
5584
5585 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5586
5587         * text2.C (pasteSelection): adjust for checkPastePossible
5588
5589         * CutAndPaste.C: remove Paragraph * buf and replace with
5590         ParagraphList paragraphs.
5591         (DeleteBuffer): delete
5592         (cutSelection): change the tc type to textclass_type
5593         (copySelection): change the tc type to textclass_type
5594         (copySelection): adjust for ParagraphList
5595         (pasteSelection): change the tc type to textclass_type
5596         (pasteSelection): adjust for Paragraphlist
5597         (nrOfParagraphs): simplify for ParagraphList
5598         (checkPastePossible): simplify for ParagraphList
5599         (checkPastePossible): remove unused arg
5600
5601         * ParagraphList.C (insert): handle the case where there are no
5602         paragraphs yet.
5603
5604         * CutAndPaste.h: make CutAndPaste a namespace.
5605
5606         * text3.C (dispatch): adjust
5607
5608         * text.C (breakParagraph): add a ParagraphList as arg
5609
5610         * paragraph_funcs.C (breakParagraph): change to take a
5611         BufferParams and a ParagraphList as args.
5612         (breakParagraphConservative): ditto
5613         (mergeParagraph): ditto
5614         (TeXDeeper): add a ParagraphList arg
5615         (TeXEnvironment): ditto
5616         (TeXOnePar): ditto
5617
5618         * buffer.C (readLyXformat2): adjust
5619         (insertStringAsLines): adjust
5620         (latexParagraphs): adjust
5621
5622         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5623         (cutSelection): adjust
5624         (pasteSelection): adjust
5625
5626         * BufferView_pimpl.C (insertInset): adjust
5627
5628 2003-03-05  Angus Leeming  <leeming@lyx.org>
5629
5630         * commandtags.h:
5631         * LyXAction.C (init):
5632         * BufferView_pimpl.C (dispatch):
5633         * lyxfunc.C (getStatus):
5634         remove LFUN_CHILD_INSERT.
5635
5636         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5637
5638 2003-03-05  Angus Leeming  <leeming@lyx.org>
5639
5640         * commandtags.h:
5641         * LyXAction.C (init):
5642         * src/factory.C (createInset):
5643         * lyxfunc.C (getStatus):
5644         * text3.C (dispatch):
5645         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5646
5647         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5648
5649 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5650
5651         * ParagraphList.C (insert): handle insert right before end()
5652         (erase): fix cases where it can be first or last paragraph.
5653
5654 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5655
5656         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5657         Paragraph::next and Paragraph::previous
5658         (TeXOnePar): ditto
5659
5660         * text.C (breakParagraph): adjust
5661
5662         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5663         BufferParams& as arg.
5664         (breakParagraph): use ParagraphList::insert
5665         (breakParagraphConservative): take a Buffer* instead of a
5666         BufferParams& as arg.
5667         (breakParagraphConservative): use ParagraphList::insert.
5668
5669         * buffer.C (insertStringAsLines): un-const it
5670         (insertStringAsLines): adjust
5671
5672         * ParagraphList.C (insert): new function
5673
5674         * CutAndPaste.C (pasteSelection): adjust
5675
5676         * text.C (backspace): adjust
5677
5678         * tabular.C (SetMultiColumn): adjust
5679
5680         * CutAndPaste.C (cutSelection): adjust
5681         (pasteSelection): adjust
5682
5683         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5684         Buffer const * as arg
5685
5686         * ParagraphList.C (erase): new function
5687         * paragraph_funcs.C (mergeParagraph): use it
5688         (mergeParagraph): make it take a Buffer* instead of a
5689         BufferParams* as arg
5690
5691         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5692         as arg
5693         (breakParagraphConservative): ditto
5694
5695         * paragraph.h: remove the breakParagraph friend
5696
5697         * paragraph.C (eraseIntern): new function
5698         (setChange): new function
5699
5700         * paragraph_funcs.C (mergeParagraph): make it take a
5701         ParagraphList::iterator instead of a Paragraph *, adjust
5702         accordingly.
5703
5704         * paragraph.h: move an #endif so that the change tracking stuff
5705         also works in the NO_NEXT case.
5706
5707 2003-03-04  Angus Leeming  <leeming@lyx.org>
5708
5709         * commandtags.h:
5710         * LyXAction.C: new LFUN_INSET_MODIFY.
5711
5712         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5713         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5714
5715 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5716
5717         * several files: ws changes only
5718
5719         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5720         (TeXEnvironment): ditto
5721         (TeXDeeper): ditto
5722
5723         * buffer.C (makeLaTeXFile): adjust
5724         (latexParagraphs): make it take ParagraphList::iterator as args
5725
5726 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5727
5728         * buffer.C (latexParagraphs): adjust
5729
5730         * paragraph.C (TeXOnePar): move function...
5731         (optArgInset): move function...
5732         (TeXEnvironment): move function...
5733         * paragraph_pimpl.C (TeXDeeper): move function...
5734         * paragraph_funcs.C: ...here
5735
5736         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5737
5738 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5739
5740         * buffer.C (readInset): remove compability code for old Figure and
5741         InsetInfo insets
5742
5743 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5744
5745         * buffer.C: ws changes
5746         (readInset):
5747
5748         * BufferView_pimpl.C: ditto
5749         * author.C: ditto
5750         * buffer.h: ditto
5751         * bufferlist.h: ditto
5752         * changes.h: ditto
5753         * lyxfunc.C: ditto
5754
5755 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5756
5757         * converter.[Ch]: split into itself +
5758         * graph.[Ch]
5759         * format.[Ch]
5760         * Makefile.am: += graph.[Ch] + format.[Ch]
5761         * MenuBackend.C
5762         * buffer.C
5763         * exporter.C
5764         * importer.C
5765         * lyx_main.C
5766         * lyxfunc.C
5767         * lyxrc.C: added #include "format.h"
5768
5769 2003-02-27  Angus Leeming  <leeming@lyx.org>
5770
5771         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5772           a label.
5773
5774         * factory.C (createInset): add "label" to the factory.
5775
5776         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5777           string and do no more.
5778
5779 2003-02-27  Angus Leeming  <leeming@lyx.org>
5780
5781         * commandtags.h:
5782         * LyXAction.C (init):
5783         * factory.C (createInset):
5784         * BufferView_pimpl.C (dispatch):
5785           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5786
5787         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5788
5789         * lyxfunc.C (dispatch):
5790         * text3.C (dispatch): pass name to params2string.
5791
5792 2003-02-26  Angus Leeming  <leeming@lyx.org>
5793
5794         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5795           blocks together.
5796           Rearrange the ~includes. Strip out the unnecessary ones.
5797
5798         * factory.C (createInset): reformat.
5799           create new insets for the various LFUN_XYZ_APPLY lfuns.
5800
5801 2003-02-26  John Levon  <levon@movementarian.org>
5802
5803         * lyxrow.h:
5804         * lyxrow.C: add isParStart,isParEnd helpers
5805
5806         * paragraph.h: make isInserted/DeletedText take refs
5807
5808         * paragraph_funcs.h:
5809         * paragraph_funcs.C: remove #if 0'd code
5810
5811         * lyxtext.h:
5812         * text3.C:
5813         * text2.C:
5814         * text.C: use lyxrow helpers above.
5815           Move draw and paint routines to RowPainter.
5816           Make several methods use refs not pointers.
5817           Make backgroundColor() const.
5818           Add markChangeInDraw(), isInInset().
5819           Merge changeRegionCase into changeCase.
5820           Make workWidth() shouldn't-happen code into an Assert.
5821
5822         * rowpainter.h:
5823         * rowpainter.C: new class for painting a row.
5824
5825         * vspace.h:
5826         * vspace.C: make inPixels take a ref
5827
5828 2003-02-26  Angus Leeming  <leeming@lyx.org>
5829
5830         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5831         LFUN_REF_APPLY.
5832
5833 2003-02-25  John Levon  <levon@movementarian.org>
5834
5835         * ispell.C: give the forked command a more accurate name
5836
5837 2003-02-22  John Levon  <levon@movementarian.org>
5838
5839         * toc.h:
5840         * toc.C: make TocItem store an id not a Paragraph *
5841           (bug #913)
5842
5843 2003-02-21  Angus Leeming  <leeming@lyx.org>
5844
5845         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5846           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5847           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5848           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5849           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5850           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5851
5852         * BufferView_pimpl.C (dispatch):
5853         * LyXAction.C (init):
5854         * factory.C (createInset):
5855         * lyxfunc.C (getStatus, dispatch):
5856         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5857
5858 2003-02-21  Angus Leeming  <leeming@lyx.org>
5859
5860         * BufferView_pimpl.C (MenuInsertLyXFile):
5861         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5862         * lyxfunc.C (menuNew, open, doImport):
5863           no longer pass a LyXView & to fileDlg.
5864
5865 2003-02-21  Angus Leeming  <leeming@lyx.org>
5866
5867         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5868         * LyXAction.C: change, BIBKEY to BIBITEM.
5869         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5870         Change InsetBibKey to InsetBibitem.
5871         Change BIBKEY_CODE to BIBITEM_CODE.
5872         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5873         * factory.C: replace insetbib.h with insetbibitem.h.
5874         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5875         * paragraph.C: replace insetbib.h with insetbibitem.h.
5876         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5877         Change bibkey() to bibitem().
5878         * text.C: remove insetbib.h.
5879         * text2.C: replace insetbib.h with insetbibitem.h.
5880         change bibkey() to bibitem().
5881         * text3.C: remove insetbib.h.
5882         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5883
5884 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5885
5886         * lyxrc.C (output): enclose user email in quotes (in case there are
5887         several words)
5888
5889 2003-02-18  John Levon  <levon@movementarian.org>
5890
5891         * buffer.h: add std::
5892
5893 2003-02-17  John Levon  <levon@movementarian.org>
5894
5895         * SpellBase.h:
5896         * ispell.h:
5897         * ispell.C:
5898         * pspell.h:
5899         * pspell.C: reworking. Especially in ispell, a large
5900           number of clean ups and bug fixes.
5901
5902         * lyxfunc.C: fix revert to behave sensibly
5903
5904 2003-02-17 André Pönitz <poenitz@gmx.net>
5905
5906         * LyXAction.C:
5907         * commandtags.h: new LFUN_INSERT_BIBKEY
5908
5909         * layout.h:
5910         * lyxlayout.C:
5911         * buffer.C:
5912         * factory.C:
5913         * text.C:
5914         * text2.C:
5915         * text3.C:
5916         * paragraph.[Ch]:
5917         * paragraph_func.C: remove special bibkey handling
5918
5919 2003-02-17  John Levon  <levon@movementarian.org>
5920
5921         * text.C (Delete): fix case where delete at the end of
5922           the very first paragraph would not merge the pars
5923
5924 2003-02-17  John Levon  <levon@movementarian.org>
5925
5926         * lyxrow.C: fix lastPrintablePos()
5927
5928 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5929
5930         * bufferparams.C (writeLaTeX): add a std:here
5931
5932         * buffer.C: and remove a using directive there
5933
5934 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5935
5936         * buffer.C (makeLaTeXFile): move the code that generates the
5937           preamble...
5938
5939         * bufferparams.C (writeLaTeX): ... in this new method
5940
5941         * LaTeXFeatures.C (getEncodingSet): make const
5942           (getLanguages): make const
5943
5944         * MenuBackend.C (binding): returns the binding associated to this
5945           action
5946           (add): sets the status of each item by calling getStatus. Adds
5947           some intelligence.
5948           (read): add support for OptSubMenu
5949           (expand): remove extra separator at the end of expanded menu
5950
5951 2003-02-15  John Levon  <levon@movementarian.org>
5952
5953         * BufferView.C:
5954         * BufferView_pimpl.C:
5955         * bufferlist.h:
5956         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5957           inset code that had no actual effect. Remove unneeded status
5958           code.
5959
5960 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5961
5962         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5963           in preamble
5964
5965 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5966
5967         * text.C (drawLengthMarker): also draw an arrow marker for
5968           symbolic lengths (medskip...)
5969
5970 2003-02-14  John Levon  <levon@movementarian.org>
5971
5972         * tabular.h:
5973         * tabular.C: better method names
5974
5975 2003-02-14  John Levon  <levon@movementarian.org>
5976
5977         * BufferView_pimpl.C:
5978         * bufferlist.C:
5979         * buffer.C:
5980         * converter.C:
5981         * lyx_cb.C:
5982         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5983           it's a more accurate name. Remove some pointless uses.
5984
5985 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5986
5987         * text2.C (LyXText): change order of initilizers to shut off
5988           warnings
5989
5990 2003-02-14  John Levon  <levon@movementarian.org>
5991
5992         * buffer.C: use ParIterator for getParFromID()
5993
5994         * paragraph.h:
5995         * paragraph.C:
5996         * paragraph_pimpl.h:
5997         * paragraph_pimpl.C: remove unused getParFromID()
5998
5999 2003-02-14  John Levon  <levon@movementarian.org>
6000
6001         * buffer.C: remove some very old #if 0'd parse code
6002
6003 2003-02-13  John Levon  <levon@movementarian.org>
6004
6005         * text.h:
6006         * text.C:
6007         * text2.C: move hfillExpansion(), numberOfSeparators(),
6008           rowLast(), rowLastPrintable(), numberofHfills(),
6009           numberOfLabelHfills() ...
6010
6011         * lyxrow.h:
6012         * lyxrow.C: ... to member functions here.
6013
6014         * paragraph.h:
6015         * paragraph.C:
6016         * lyxtext.h:
6017         * text.C: remove LyXText::beginningOfMainBody(), and call
6018           p->beginningOfMainBody() directly. Move the check for
6019           LABEL_MANUAL into the latter.
6020
6021         * text.h:
6022         * text.C:
6023         * text2.C:
6024         * vspace.C:
6025         * BufferView.h:
6026         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6027
6028         * text.h:
6029         * text.C:
6030         * text2.C:
6031         * text3.C:
6032         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6033           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6034
6035 2003-02-13  John Levon  <levon@movementarian.org>
6036
6037         * CutAndPaste.C: remove debug
6038
6039 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6040
6041         * paragraph.C (asString): remove two unused variables
6042
6043         * lyxtextclass.C (readTitleType):
6044           (Read):
6045           (LyXTextClass): handle new members titletype_ and titlename_
6046
6047         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6048
6049 2003-02-09  John Levon  <levon@movementarian.org>
6050
6051         * buffer.h:
6052         * buffer.C: replace hand-coded list with a map for the dep clean
6053
6054 2003-02-08  John Levon  <levon@movementarian.org>
6055
6056         * LaTeX.C: consolidate code into showRunMessage() helper
6057
6058 2003-02-08  John Levon  <levon@movementarian.org>
6059
6060         * lyxfind.C:
6061         * lyxtext.h:
6062         * text2.C:
6063         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6064           and pass the size in explicitly
6065
6066         * BufferView_pimpl.h:
6067         * BufferView_pimpl.C:
6068         * BufferView.h:
6069         * BufferView.C: add getCurrentChange()
6070
6071         * BufferView_pimpl.h:
6072         * BufferView_pimpl.C: handle change lfuns
6073
6074         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6075           for changes. Mark pasted paragraphs as new.
6076
6077         * support/lyxtime.h:
6078         * support/lyxtime.C:
6079         * DepTable.C: abstract time_t as lyx::time_type
6080
6081         * LColor.h:
6082         * LColor.C: add colours for new text, deleted text, changebars
6083
6084         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6085           package use "usenames" option.
6086
6087         * commandtags.h:
6088         * lyxfunc.C:
6089         * LyXAction.C: add change lfuns
6090
6091         * Makefile.am:
6092         * author.h:
6093         * author.C: author handling
6094
6095         * buffer.h:
6096         * buffer.C: add a per-buffer author list, with first entry as
6097           current author. Handle new .lyx tokens for change tracking. Output
6098           author list to .lyx file. Output dvipost stuff to .tex preamble.
6099           Bump lyx format to 222.
6100
6101         * bufferlist.h:
6102         * bufferlist.C: add setCurrentAuthor() to reset current author details
6103           in all buffers.
6104
6105         * bufferparams.h:
6106         * bufferparams.C: add param for tracking
6107
6108         * bufferview_funcs.C: output change info in minibuffer
6109
6110         * Makefile.am:
6111         * changes.h:
6112         * changes.C: add change-tracking structure
6113
6114         * debug.h:
6115         * debug.C: add CHANGES debug flag
6116
6117         * lyxfind.h:
6118         * lyxfind.C: add code for finding the next change piece
6119
6120         * lyxrc.h:
6121         * lyxrc.C: add user_name and user_email
6122
6123         * lyxrow.h:
6124         * lyxrow.C: add a metric for the top of the text line
6125
6126         * lyxtext.h:
6127         * text.C: implement accept/rejectChange()
6128
6129         * lyxtext.h:
6130         * text.C: paint changebars. Paint new/deleted text in the chosen
6131         colours. Strike through deleted text.
6132
6133         * paragraph.h:
6134         * paragraph.C:
6135         * paragraph_pimpl.h:
6136         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6137           in the current change to the insert functions. Rework erase to
6138           mark text as deleted, adding an eraseIntern() and a range-based
6139           erase(). Implement per-paragraph change lookup and
6140           accept/reject.
6141
6142         * paragraph_funcs.C: Fixup paste for change tracking.
6143
6144         * tabular.C: mark added row/columns as new.
6145
6146         * text.C: fix rowLast() to never return -1. Don't allow
6147           spellchecking of deleted text. Track transpose changes. Don't
6148           allow paragraph break or merge where appropriate.
6149
6150         * text2.C: leave cursor at end of selection after a cut.
6151
6152 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6153
6154         * text.C (getLengthMarkerHeight):
6155         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6156         visible on screen too.
6157
6158 2003-02-07  John Levon  <levon@movementarian.org>
6159
6160         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6161
6162 2003-02-05  Angus Leeming  <leeming@lyx.org>
6163
6164         * lyxserver.C (read_ready): revert my patch of 11 September last year
6165         as it sends PC cpu through the roof. Presumably this means that
6166         the lyxserver will no longer run on an Alpha...
6167
6168 2003-01-30  Angus Leeming  <leeming@lyx.org>
6169
6170         * factory.C (createInset): create an InsetCommandParam of type "index"
6171         and use it to 'do the right thing'.
6172
6173         * text2.C (getStringToIndex): ensure that cursor position is always
6174         reset to the reset_cursor position.
6175
6176 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6177
6178         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6179         disabled.
6180
6181 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6182
6183         * bufferview.C:
6184         * lyxcb.C:
6185         * lyxfunc.C: Output messages with identical spelling, punctuation,
6186         and spaces
6187
6188 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6189
6190         * MenuBackend.C (expandFormats): List only viewable export formats
6191         in "View" menu
6192
6193         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6194         message
6195
6196         * lyxfunc.C (getStatus): Make sure that formats other than
6197         "fax" can also be disabled
6198
6199 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6200
6201         * text3.C (dispatch): put the lfuns that insert insets in 3
6202         groups, and call doInsertInset with appropriate arguments.
6203         (doInsertInset): new function, that creates an inset and inserts
6204         it according to some boolean parameters.
6205
6206 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6207
6208         * buffer.C (readFile): remember to pass on 'par' when calling
6209         readFile recursively.
6210
6211 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6212
6213         * MenuBackend.C (expandFormats): add "..." to import formats.
6214
6215 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6216
6217         * paragraph.C (asString): Remove XForms RTL hacks.
6218
6219 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6220         * buffer.C: fix typo
6221
6222 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6223
6224         * Makefile.am (LIBS): delete var
6225         (lyx_LDADD): add @LIBS@ here instead.
6226
6227 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6228
6229         * Clarify the meaning of "wheel mouse jump"
6230
6231 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6232
6233         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6234         tabular in a float
6235
6236 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6237
6238         * importer.C (Loaders): do not preallocate 3 elements in the
6239         vector, since one ends up with 6 elements otherwise
6240
6241 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6242
6243         * DepTable.C (write): write the file name as last element of the
6244         .dep file (because it may contain spaces)
6245         (read): read info in the right order
6246
6247 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6248
6249         * paragraph_pimpl.C (simpleTeXBlanks):
6250         (simpleTeXSpecialChars):
6251         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6252
6253         * tabular.C (latex): add some missing case statements. Reindent.
6254
6255         * MenuBackend.C (expandToc): remove unused variable.
6256
6257 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6258
6259         * LColor.C:
6260         * LaTeX.C:
6261         * LyXAction.C:
6262         * MenuBackend.C:
6263         * buffer.C:
6264         * exporter.C:
6265         * lyxfunc.C:
6266         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6267         and the like.
6268
6269 2003-01-05  John Levon  <levon@movementarian.org>
6270
6271         * BufferView.h:
6272         * BufferView.C: add getEncoding()
6273
6274         * kbsequence.h:
6275         * kbsequence.C: do not store last keypress
6276
6277         * lyxfunc.h:
6278         * lyxfunc.C: store last keypress here instead. Pass encoding
6279           to getISOEncoded()
6280
6281 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6282
6283         * lyx_main.C (init): remove annoying error message when following
6284         symbolic links (bug #780)
6285
6286 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6287
6288         * text.C (insertChar):
6289         * lyxrc.C (getDescription): remove extra spaces
6290
6291 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6292
6293         * lyxrc.C (getDescription): remove extra spaces
6294
6295 2002-12-20  John Levon  <levon@movementarian.org>
6296
6297         * text3.C: hack fix for page up/down across tall rows
6298
6299 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6300
6301         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6302         not been invoked
6303
6304 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6305
6306         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6307         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6308         thesaurus is not compiled in
6309
6310 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6311
6312         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6313
6314 2002-12-16  Angus Leeming  <leeming@lyx.org>
6315
6316         * lyxrc.[Ch]:
6317         * lyx_main.C (init): remove override_x_deadkeys stuff.
6318
6319 2002-12-12  John Levon  <levon@movementarian.org>
6320
6321         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6322           insert. Only remove shift modifier under strict
6323           circumstances.
6324
6325 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6326
6327         * MenuBackend.C (expandToc): fix crash.
6328
6329 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6330
6331         * MenuBackend.C (expandToc): gettext on float names.
6332
6333 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6334
6335         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6336         implement bool empty() [bug 490]
6337
6338 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6339
6340         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6341
6342 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6343
6344         * several files: ws changes
6345
6346 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6347
6348         * text2.C (setCounter): clean up a bit, use boost.format.
6349         (updateCounters): initialize par upon declaration.
6350
6351         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6352         if the layout exists. We do not just store the layout any more.
6353         (SwitchLayoutsBetweenClasses): use boost.format
6354
6355 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6356
6357         * converter.C (convert): if from and to files are the same, use a
6358         temporary files as intermediary
6359
6360 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6361
6362         * commandtags.h:
6363         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6364
6365 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6366
6367         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6368
6369 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6370
6371         * tabular.C (asciiPrintCell): use string(size, char) instead of
6372         explicit loop.
6373
6374         * sgml.C (openTag): fix order of arguments to string constructor
6375         (closeTag): ditto
6376
6377         * lyxfunc.C (dispatch): use boost.format
6378
6379         * lots of files: change "c" -> 'c'
6380
6381 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6382
6383         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6384
6385 2002-11-25  Angus Leeming  <leeming@lyx.org>
6386
6387         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6388
6389         * lyx_main.C (init): compile fix.
6390
6391 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6392
6393         * lyx_cb.C (start): boost.formatify
6394         do not include <iostream>
6395
6396         * lengthcommon.C: ws only
6397
6398         * boost-inst.C,BoostFormat.h: add more explict instantations
6399
6400 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6401
6402         * lots of files: handle USE_BOOST_FORMAT
6403
6404 2002-11-21  John Levon  <levon@movementarian.org>
6405
6406         * pspell.C: fix compile
6407
6408 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6409
6410         * lyxfunc.C (dispatch): use boost::format
6411         (open): ditto
6412         (doImport): ditto
6413
6414         * lyxfont.C (stateText): use boost::format
6415
6416         * lyx_main.C (LyX): use boost::format
6417         (init): ditto
6418         (queryUserLyXDir): ditto
6419         (readRcFile): ditto
6420         (parse_dbg): ditto
6421         (typedef boost::function): use the recommened syntax.
6422
6423         * importer.C (Import): use boost::format
6424
6425         * debug.C (showLevel): use boost::format
6426
6427         * converter.C (view): use boost::format
6428         (convert): ditto
6429         (move): ditto
6430         (scanLog): ditto
6431
6432         * bufferview_funcs.C (currentState): use boost::format
6433
6434         * bufferlist.C (emergencyWrite): use boost::format
6435
6436         * buffer.C (readLyXformat2): use boost::format
6437         (parseSingleLyXformat2Token): ditto
6438
6439         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6440
6441         * LaTeX.C (run): use boost::format
6442
6443         * Chktex.C (scanLogFile): use boost::format
6444
6445         * BufferView_pimpl.C (savePosition): use boost::format
6446         (restorePosition): ditto
6447         (MenuInsertLyXFile): ditto
6448
6449         * BoostFormat.h: help file for explicit instation.
6450
6451 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6452
6453         * tabular.C (latex): Support for block alignment in fixed width
6454         columns.
6455
6456 2002-11-17  John Levon  <levon@movementarian.org>
6457
6458         * BufferView_pimpl.C:
6459         * lyx_cb.C:
6460         * lyxfunc.C: split filedialog into open/save
6461
6462 2002-11-08  Juergen Vigna  <jug@sad.it>
6463
6464         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6465         by my last patch (hopefully).
6466
6467 2002-11-08  John Levon  <levon@movementarian.org>
6468
6469         * iterators.h:
6470         * iterators.C:
6471         * buffer.h:
6472         * buffer.C:
6473         * paragraph.h:
6474         * paragraph.C:
6475         * toc.h:
6476         * toc.C: ParConstIterator, and use it (from Lars)
6477
6478 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6479
6480         * lyxtextclass.[Ch]: revise and add doxygen comments
6481
6482 2002-11-07  John Levon  <levon@movementarian.org>
6483
6484         * text.C: fix progress value for spellchecker
6485
6486         * toc.C: fix navigate menu for insetwrap inside minipage
6487
6488         * paragraph_funcs.C: added FIXME for suspect code
6489
6490 2002-11-07  John Levon  <levon@movementarian.org>
6491
6492         * BufferView_pimpl.C: fix redrawing of insets
6493           on buffer switch
6494
6495 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6496
6497         * text2.C (updateCounters): fix bug 668
6498
6499 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6500
6501         * text3.C (dispatch): Do not make the buffer dirty when moving the
6502         cursor.
6503
6504 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6505
6506         * vc-backend.C: STRCONV
6507         (scanMaster): ditto
6508
6509         * text2.C (setCounter): STRCONV
6510
6511         * paragraph.C (asString): STRCONV
6512
6513         * lyxlength.C (asString): STRCONV
6514         (asLatexString): ditto
6515
6516         * lyxgluelength.C (asString): STRCONV
6517         (asLatexString): ditto
6518
6519         * lyxfunc.C (dispatch): STRCONV
6520         (open): ditto
6521
6522         * lyxfont.C (stateText): STRCONV
6523
6524         * importer.C (Import): STRCONV
6525
6526         * counters.C (labelItem): STRCONV
6527         (numberLabel): ditto
6528         (numberLabel): remove unused ostringstream o
6529
6530         * chset.C: STRCONV
6531         (loadFile): ditto
6532
6533         * bufferview_funcs.C (currentState): STRCONV
6534
6535         * buffer.C (readFile): STRCONV
6536         (asciiParagraph): ditto
6537         (makeLaTeXFile): ditto
6538
6539         * Spacing.C (writeEnvirBegin): STRCONV
6540
6541         * LaTeXFeatures.C (getLanguages): STRCONV
6542         (getPackages): ditto
6543         (getMacros): ditto
6544         (getBabelOptions): ditto
6545         (getTClassPreamble): ditto
6546         (getLyXSGMLEntities): ditto
6547         (getIncludedFiles): ditto
6548
6549         * LaTeX.C: STRCONV
6550         (run): ditto
6551         (scanAuxFile): ditto
6552         (deplog): ditto
6553
6554         * LString.h: add the STRCONV macros
6555
6556         * BufferView_pimpl.C (savePosition): STRCONV
6557         (restorePosition): ditto
6558         (MenuInsertLyXFile): ditto
6559
6560         * vc-backend.C (scanMaster): change from submatch[...] to
6561         submatch.str(...)
6562
6563         * funcrequest.C: include config.h
6564
6565         * factory.C: include config.h
6566
6567         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6568
6569         * box.C: include config.h
6570
6571         * LaTeX.C (scanAuxFile): change from submatch[...] to
6572         submatch.str(...)
6573         (deplog): ditto
6574
6575 2002-10-25  Angus Leeming  <leeming@lyx.org>
6576
6577         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6578
6579         * ispell.[Ch] (setError): new method.
6580         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6581         Use setError() insetead of goto END.
6582
6583         * lyx_cb.C (AutoSave): move out child process into new class
6584         AutoSaveBuffer.
6585
6586 2002-10-30  John Levon  <levon@movementarian.org>
6587
6588         * text3.C: make start appendix undoable
6589
6590 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6591
6592         * lyxlength.C (inPixels): Fix returned value.
6593
6594         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6595         environment.
6596
6597 2002-10-24  Angus Leeming  <leeming@lyx.org>
6598
6599         * lyxgluelength.h: no need to forward declare BufferParams
6600         or BufferView, so don't.
6601
6602 2002-10-21  John Levon  <levon@movementarian.org>
6603
6604         * BufferView.C: menuUndo ->undo, redo
6605
6606         * BufferView.h: document, remove dead, make some methods private
6607
6608         * paragraph_funcs.h:
6609         * paragraph_funcs.C:
6610         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6611
6612         * buffer.h:
6613         * buffer.C:
6614         * sgml.h:
6615         * sgml.C: move sgml open/close tag into sgml.C
6616
6617         * bufferview_funcs.h: unused prototype
6618
6619         * lyxfunc.h:
6620         * lyxfunc.C: remove unused
6621
6622         * lyxtext.h:
6623         * text.C: remove unused
6624
6625 2002-10-21  John Levon  <levon@movementarian.org>
6626
6627         * BufferView.h:
6628         * BufferView.C:
6629         * BufferView_pimpl.h:
6630         * BufferView_pimpl.C: fix mouse wheel handling based on
6631           patch from Darren Freeman
6632
6633 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6634
6635         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6636
6637 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6638
6639         * lyxlength.C (inPixels): Fix hanfling of negative length.
6640         Fix LyXLength::MU case.
6641
6642 2002-10-16  John Levon  <levon@movementarian.org>
6643
6644         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6645
6646 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6647
6648         * converter.C (view): add support for $$i (file name) and $$p
6649         (file path) for the viewer command. If $$i is not specified, then
6650         it is appended to the command (for compatibility with old syntax)
6651
6652 2002-10-14  Juergen Vigna  <jug@sad.it>
6653
6654         * undo_funcs.C (textHandleUndo): alter the order in which the
6655         new undopar is added to the LyXText, as we have to set first
6656         the right prev/next and then add it as otherwise the rebuild of
6657         LyXText is not correct. Also reset the cursor to the right paragraph,
6658         with this IMO we could remove the hack in "redoParagraphs()".
6659
6660 2002-10-09  Angus Leeming  <leeming@lyx.org>
6661
6662         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6663         to turn off an optimisation if a new inset is to be inserted.
6664
6665 2002-10-11 André Pönitz <poenitz@gmx.net>
6666
6667         * lyxtext.h: make some functions public to allow access
6668         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6669
6670 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6671
6672         * text3.C (dispatch): when changing layout, avoid an infinite loop
6673         [bug #652]
6674
6675 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6676
6677         * lyxrc.C (read): treat a viewer or converter command of "none" as
6678         if it were empty.
6679
6680         * MenuBackend.C (expandFormats): for an update, also allow the
6681         formats that are not viewable
6682
6683         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6684         script if it is newer than the lyxrc.defaults in user directory
6685
6686 2002-10-07 André Pönitz <poenitz@gmx.net>
6687
6688         * text.C: Vitaly Lipatov's small i18n fix
6689
6690 2002-09-25  Angus Leeming  <leeming@lyx.org>
6691
6692         * ispell.h: doxygen fix.
6693
6694 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6695
6696         * buffer.h (readFile): Add a new argument to the method, to allow
6697         reading of old-format templates.
6698
6699 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6700
6701         * toc.C (getTocList): Get TOC from InsetWrap.
6702
6703 2002-09-16  John Levon  <levon@movementarian.org>
6704
6705         * lyxfunc.C: check tabular for cut/copy too
6706
6707 2002-09-12  John Levon  <levon@movementarian.org>
6708
6709         * LyXAction.C: tidy
6710
6711         * factory.h:
6712         * factory.C: add header
6713
6714         * paragraph_funcs.h:
6715         * paragraph_funcs.C: cleanup
6716
6717 2002-09-11  John Levon  <levon@movementarian.org>
6718
6719         * PrinterParams.h: odd/even default to true
6720
6721 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6722
6723         * PrinterParams.h: update printer parameters for new xforms dialog
6724
6725 2002-09-11  Angus Leeming  <leeming@lyx.org>
6726
6727         * lyxserver.C (read_ready): re-write to make it more transparent
6728         and to make it work in coherent fashion under Tru64 Unix.
6729
6730 2002-09-11  André Pönitz <poenitz@gmx.net>
6731
6732         * commandtags.h:
6733         * LyXAction.C:
6734         * text3.C: implement LFUN_WORDSEL
6735
6736 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6737
6738         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6739         make floatlist_ a boost::shared_ptr<FloatList>
6740
6741         * lyxtextclass.C: include FloatList.h
6742         (LyXTextClass): initialize floatlist_
6743         (TextClassTags): add TC_NOFLOAT
6744         (Read): match "nofloat" to TC_NOFLOAT and use it.
6745         (readFloat): modify call to floatlist_
6746         (floats): ditto
6747         (floats): ditto
6748
6749         * FloatList.[Ch] (FloatList): remove commented out float
6750         initialization.
6751         (erase): new function
6752
6753 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6754
6755         * MenuBackend.C (expandToc): fix crash when there is no document
6756         open
6757
6758 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6759
6760         * many files: Add insetwrap.
6761
6762 2002-09-09  John Levon  <levon@movementarian.org>
6763
6764         * text2.C: remove confusing and awkward depth wraparound
6765
6766 2002-09-09  John Levon  <levon@movementarian.org>
6767
6768         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6769
6770         * buffer.h:
6771         * buffer.C: remove getIncludeonlyList()
6772
6773         * paragraph.C:
6774         * lyxfunc.C: remove headers
6775
6776 2002-09-09  Juergen Vigna  <jug@sad.it>
6777
6778         * text.C (getColumnNearX): fix form Michael this is most
6779         probably a cut&paste bug.
6780
6781 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6782
6783         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6784
6785         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6786         references, ws changes.
6787
6788         * text2.C (init): update counters after init
6789         (insertParagraph): no need to set counter on idividual paragraphs.
6790         (setCounter): access the counters object in the textclass object
6791         on in the buffer object.
6792         (updateCounters): ditto
6793
6794         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6795         shared_ptr<Counters> to avoid loading counters.h in all
6796         compilation units.
6797         (LyXTextClass): initialize ctrs_
6798         (TextClassTags): add TC_COUNTER, and ...
6799         (Read): use it here.
6800         (CounterTags): new tags
6801         (readCounter): new function
6802         (counters): new funtion
6803         (defaultLayoutName): return a const reference
6804
6805         * counters.C (Counters): remove contructor
6806         (newCounter): remove a couple of unneeded statements.
6807         (newCounter): simplify a bit.
6808         (numberLabel): some small formatting changes.
6809
6810         * buffer.[Ch]: remove all traces of counters, move the Counters
6811         object to the LyXTextClass.
6812
6813 2002-09-06  Alain Castera  <castera@in2p3.fr>
6814
6815         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6816         package to set the horizontal alignment on fixed width columns.
6817
6818         * lyx_sty.C:
6819         * lyx_sty.h: added tabularnewline macro def.
6820
6821         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6822
6823 2002-09-06  John Levon  <levon@movementarian.org>
6824
6825         * LyXAction.C: tooltips for sub/superscript
6826
6827         * MenuBackend.C: a bit more verbose
6828
6829         * lyxfunc.C: tiny clean
6830
6831         * undo_funcs.C: document undo_frozen
6832
6833 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6834
6835         * counters.C (Counters): add missing algorithm counter.
6836
6837         * text2.C (setCounter): lookup the counter with layouts latexname
6838         instead of by section number.
6839         (setCounter): use a hackish way to lookup the correct enum
6840         counter.
6841         a float name->type change
6842         reset enum couners with counter name directly instead of depth value.
6843
6844         * counters.C (Counters): remove the push_backs, change to use the
6845         float type not the float name.
6846         (labelItem): remove unused string, float name->type change
6847
6848         * counters.h: don't include vector, loose the enums and sects vectors
6849
6850 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6851
6852         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6853         (Read): add float->TC_FLOAT to textclassTags
6854         (Read): and handle it in the switch
6855         (readFloat): new function
6856
6857         * FloatList.C (FloatList): comment out the hardcoded float
6858         definitions.
6859
6860         * lyxlayout.h: ws change.
6861
6862 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6863
6864         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6865
6866 2002-09-03  Angus Leeming  <leeming@lyx.org>
6867
6868         * BufferView_pimpl.h: qualified name is not allowed in member
6869         declaration: WorkArea & Pimpl::workarea() const;
6870
6871         * factory.C: added using std::endl directive.
6872
6873         * text3.C: added using std::find and std::vector directives.
6874
6875 2002-08-29  André Pönitz <poenitz@gmx.net>
6876
6877         * lyxtext.h:
6878         * text2.C: remove unused member number_of_rows
6879
6880         * Makefile.am:
6881         * BufferView2.C: remove file, move contents to...
6882         * BufferView.C: ... here
6883
6884         * BufferView_pimpl.C:
6885         * factory.C: move more inset creation to factory
6886
6887         * vspace.C: avoid direct usage of LyXText, ws changes
6888
6889         * BufferView.[Ch]:
6890                 don't provide direct access to WorkArea, use two simple
6891                 acessors haveSelction() and workHeight() instead
6892
6893
6894 2002-08-29  John Levon  <levon@movementarian.org>
6895
6896         * BufferView_pimpl.C (dispatch): do not continue when
6897           no buffer
6898
6899 2002-08-28  André Pönitz <poenitz@gmx.net>
6900
6901         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6902
6903         * BufferView.h:
6904         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6905
6906 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6907
6908         * buffer.C: increment LYX_FORMAT to 221
6909
6910         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6911         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6912
6913         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6914
6915         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6916
6917 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6918
6919         * factory.C (createInset): use LyXTextClass::floats
6920
6921         * MenuBackend.C (expandFloatListInsert):
6922         (expandFloatInsert):
6923         (expandToc):
6924
6925         * text2.C (setCounter):
6926
6927         * LaTeXFeatures.C (useFloat):
6928         (getFloatDefinitions):
6929
6930         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6931
6932         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6933         floatlist_, with accessor floats().
6934
6935         * FloatList.h: remove global FloatList
6936
6937 2002-08-26  André Pönitz <poenitz@gmx.net>
6938
6939         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6940
6941         * BufferView.h:
6942         * BufferView2.C:
6943         * BufferView_pimpl.C:
6944         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6945
6946 2002-08-25  John Levon  <levon@movementarian.org>
6947
6948         * LyXAction.C: fix margin note description
6949
6950 2002-08-24  John Levon  <levon@movementarian.org>
6951
6952         * buffer.C:
6953         * bufferlist.C:
6954         * bufferview_funcs.C:
6955         * lyxfont.C:
6956         * undo_funcs.C: cleanups
6957
6958         * lyxfunc.C: disable CUT/COPY when no selection
6959
6960 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6961
6962         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6963         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6964
6965         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6966         Add backward compatibility to "mono", "gray" and "no".
6967
6968 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6969
6970         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6971         (and file_format >= 200).
6972
6973 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6974
6975         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6976
6977 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6978
6979         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6980
6981 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6982
6983         * BufferView_pimpl.C:
6984         * LyXAction.C:
6985         * buffer.C:
6986         * commandtags.h:
6987         * lyxfunc.C:
6988         * paragraph.[Ch]:
6989         * text2.C:
6990         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6991         inset and code to make it  work with the paragraph code. The inset
6992         can be anywhere in the paragraph, but will only do the expected
6993         thing in LaTeX if the layout file contains the parameter line
6994                         OptionalArgs    1
6995         (or more generally, a nonzero value) for that layout.
6996
6997 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6998
6999         * paragraph.h: remove the declaration of undefined counters class
7000         function.
7001
7002 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7003
7004         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7005         Dr. Richard Hawkins.
7006
7007 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7008
7009         * paragraph_funcs.h: remove some unneeded includes
7010
7011         * text.C (backspace): pasteParagraph now in global scipe
7012
7013         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7014         (pasteSelection): ditto
7015
7016         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7017         * paragraph_funcs.C (pasteParagraph): ... here
7018
7019 2002-08-20  André Pönitz <poenitz@gmx.net>
7020
7021         * commandtags.h: new LFUNs for swapping/copying table row/colums
7022
7023         * LyXAction.C:
7024         * lyxfunc.C: support for new lfuns
7025
7026 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7027
7028         * tabular.C:
7029         * buffer.[Ch]: remove NO_COMPABILITY stuff
7030
7031 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7032
7033         * boost.C (throw_exception): new file, with helper function for
7034         boost compiled without exceptions.
7035
7036         * paragraph.h:
7037         * lyxlength.C:
7038         * buffer.C:
7039         * ParameterStruct.h:
7040         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7041
7042         * bufferlist.C (emergencyWriteAll): use boost bind
7043
7044         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7045
7046         * text.C: include paragraph_funcs.h
7047         (breakParagraph): breakParagraph is now in global scope
7048
7049         * paragraph_funcs.[Ch]: new files
7050
7051         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7052         global scope
7053
7054         * buffer.C: include paragraph_funcs.h
7055         (insertStringAsLines): breakParagraph is now in global scope
7056
7057         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7058         paragraph_funcs.C
7059
7060         * CutAndPaste.C: include paragraph_funcs.h
7061         (cutSelection): breakParagraphConservative is now in global scope
7062         (pasteSelection): ditto
7063
7064         * buffer.h: declare oprator== and operator!= for
7065         Buffer::inset_iterator
7066
7067         * bufferlist.C (emergencyWrite): don't use fmt(...)
7068
7069         * text3.C: add using std::endl
7070
7071         * BufferView.C (moveCursorUpdate): remove default arg
7072
7073 2002-08-20  André Pönitz <poenitz@gmx.net>
7074
7075         * buffer.[Ch]: move inline functions to .C
7076
7077         * BufferView2.C:
7078         * BufferView_pimpl.C:
7079         * text.C:
7080         * buffer.[Ch]: use improved inset_iterator
7081
7082         * buffer.C:
7083         * paragraph.[Ch]: write one paragraph at a time
7084
7085 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7086
7087         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7088         style if style is not specified.
7089
7090 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7091
7092         * text2.C (setCounter): when searching for right label for a
7093         caption, make sure to recurse to parent insets (so that a caption
7094         in a minipage in a figure float works) (bug #568)
7095
7096 2002-08-20  André Pönitz <poenitz@gmx.net>
7097
7098         * text3.C: new file for LyXText::dispatch() and helpers
7099
7100         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7101
7102         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7103
7104 2002-08-19  André Pönitz <poenitz@gmx.net>
7105
7106         * lyxtext.h:
7107         * text.C: new LyXText::dispatch()
7108
7109         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7110
7111 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7112
7113         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7114
7115         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7116         Hebrew text.
7117
7118 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7119
7120         * Makefile.am: use $(variables) instead of @substitutions@
7121
7122 2002-08-15  André Pönitz <poenitz@gmx.net>
7123
7124         * lyxfunc.C:
7125         * BufferView_pimpl.C: streamlining mathed <-> outer world
7126         interaction
7127
7128         * commandtags.h:
7129         * LyXAction.C: remove unused LFUN_MATH
7130
7131 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7132
7133         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7134
7135 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7136
7137         * paragraph.C (Paragraph): reformat a bit
7138         (cutIntoMinibuffer): use builtin InsetList function instad of
7139         doing it manually.
7140         (getInset): ditto
7141
7142         * buffer.C: include boost/bind.hpp, add using std::for_each
7143         (writeFileAscii): use ParagraphList iterators
7144         (validate): use for_each for validate traversal of paragraphs
7145         (getBibkeyList): use ParagraphList iterators
7146         (resizeInsets): use for_each to resizeInsetsLyXText for all
7147         paragraphs.
7148         (getParFromID): use ParagraphList iterators
7149
7150         * BufferView2.C (lockInset): use paragraph list and iterators
7151
7152 2002-08-14  John Levon  <levon@movementarian.org>
7153
7154         * lyxserver.C: remove spurious xforms include
7155
7156 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7157
7158         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7159
7160 2002-08-13  André Pönitz <poenitz@gmx.net>
7161
7162         * LyXAction.[Ch]:
7163         * lyxfunc.C: further cleaning
7164
7165 2002-08-13  André Pönitz <poenitz@gmx.net>
7166
7167         * funcrequest.h: new constructor
7168
7169         * funcrequest.C: move stuff here from .h
7170
7171         * Makefile.am:
7172         * BufferView_pimpl.C:
7173         * LyXAction.C:
7174         * toc.C:
7175         * lyxfunc.C: subsequent changes
7176
7177         * lyxfunc.h: new view() member function
7178
7179         * lyxfunc.C: subsequent changes
7180
7181 2002-08-13  Angus Leeming  <leeming@lyx.org>
7182
7183         * BufferView2.C:
7184         * BufferView_pimpl.C:
7185         * buffer.C:
7186         * converter.C:
7187         * importer.C:
7188         * lyxfunc.C:
7189         * lyxvc.C:
7190         * toc.C:
7191         * vc-backend.C:
7192         changes due to the changed LyXView interface that now returns references
7193         to member variables not pointers.
7194
7195 2002-08-13  Angus Leeming  <leeming@lyx.org>
7196
7197         * WordLangTuple (word, lang_code): return references to strings,
7198         not strings.
7199
7200         * BufferView.h:
7201         * SpellBase.h:
7202         * lyxtext.h: forward-declare WordLangTuple.
7203
7204         * BufferView2.C:
7205         * ispell.C:
7206         * pspell.C:
7207         * text.C: #include "WordLangTuple.h".
7208
7209         * lyxtext.h:
7210         * text.C: (selectNextWordToSpellcheck): constify return type.
7211
7212 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7213
7214         * buffer.C:
7215         * buffer.h:
7216         * lyxtext.h:
7217         * paragraph.C:
7218         * paragraph_pimpl.h:
7219         * text.C:
7220         * text2.C:
7221         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7222         suggested by Angus.
7223         Made updateCounter always count from start of buffer, and removed
7224         second argument (par).
7225         Reverted floats number display to '#'. Perhaps I'll try again when the
7226         code base is sanitized a bit.
7227
7228 2002-08-12  Angus Leeming  <leeming@lyx.org>
7229
7230         * buffer.[Ch] (getLabelList): constify.
7231
7232 2002-08-07  André Pönitz <poenitz@gmx.net>
7233
7234         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7235
7236         * funcrequest.h: extension to keep mouse (x,y) position
7237
7238 2002-08-12  Juergen Vigna  <jug@sad.it>
7239
7240         * BufferView2.C (insertErrors): forbid undo when inserting error
7241         insets.
7242
7243         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7244
7245 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7246
7247         * ParagraphList.[Ch]: new files
7248
7249         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7250
7251         * BufferView2.C (lockInset): ParagraphList changes
7252         * toc.C: ditto
7253         * text2.C: ditto
7254         * bufferlist.C: ditto
7255         * buffer.h: ditto
7256         * buffer.C: ditto
7257
7258 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7259
7260         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7261         unused class variable counter_,
7262
7263         * paragraph.[Ch] (getFirstCounter): delete unused function
7264
7265         * counters.C: include LAssert.h
7266         (reset): add a new function with no arg, change other version to
7267         not have def. arg and to not allow empty arg.
7268
7269         * text2.C (setCounter): remove empty arg from call to Counters::reset
7270
7271 2002-08-11  John Levon  <levon@movementarian.org>
7272
7273         * Makefile.am: add WordLangTuple.h
7274
7275 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7276
7277         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7278         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7279
7280         * insets/insettext.C: InsetList changes
7281
7282         * graphics/GraphicsSupport.C (operator()): InsetList changes
7283
7284         * toc.C (getTocList): InsetList changes
7285
7286         * paragraph_pimpl.[Ch]: InsetList changes
7287
7288         * paragraph.[Ch]: InsetList changes
7289
7290         * buffer.C (inset_iterator): InsetList changes
7291         (setParagraph): ditto
7292         * buffer.h (inset_iterator): ditto
7293         * iterators.C (operator++): ditto
7294         * iterators.h: ditto
7295
7296         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7297
7298         * InsetList.[Ch]: new files, most InsetList handling moved out of
7299         paragraph.C.
7300
7301         * BufferView2.C (removeAutoInsets): InsetList changes
7302         (lockInset): ditto
7303         (ChangeInsets): ditto
7304
7305 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7306
7307         * paragraph_pimpl.h (empty): new function
7308
7309         * paragraph.[Ch] (empty): new function
7310
7311         * other files: use the new Paragraph::empty function
7312
7313 2002-08-09  John Levon  <levon@movementarian.org>
7314
7315         * lyxtext.h: remove unused refresh_height
7316
7317 2002-08-09  John Levon  <levon@movementarian.org>
7318
7319         * Makefile.am:
7320         * sgml.h:
7321         * sgml.C:
7322         * buffer.C:
7323         * paragraph.h:
7324         * paragraph.C: move sgml char escaping out of paragraph
7325
7326         * paragraph.h:
7327         * paragraph.C: remove id setter
7328
7329         * buffer.C:
7330         * paragraph.C:
7331         * paragraph_pimpl.C: remove dead tex_code_break_column
7332
7333         * bufferview_funcs.C: small cleanup
7334
7335         * lyxfunc.C: remove dead proto
7336
7337         * lyxtext.h: make some stuff private. Remove some dead stuff.
7338
7339         * lyxgluelength.C: make as[LyX]String() readable
7340
7341 2002-08-08  John Levon  <levon@movementarian.org>
7342
7343         * LyXAction.h:
7344         * LyXAction.C:
7345         * MenuBackend.C:
7346         * ToolbarDefaults.C:
7347         * lyxfunc.C:
7348         * lyxrc.C:
7349         * toc.C: lyxaction cleanup
7350
7351 2002-08-08  John Levon  <levon@movementarian.org>
7352
7353         * BufferView2.C: small cleanup
7354
7355         * lyxfind.h:
7356         * lyxfind.C: move unnecessary header into the .C
7357
7358 2002-08-08  John Levon  <levon@movementarian.org>
7359
7360         * funcrequest.h: just tedious nonsense
7361
7362         * lyx_main.h:
7363         * lyx_main.C: cleanups
7364
7365         * buffer.C:
7366         * vspace.C: remove dead header lyx_main.h
7367
7368 2002-08-07  Angus Leeming  <leeming@lyx.org>
7369
7370         * Paragraph.[Ch]:
7371         * paragraph_pimpl.h:
7372         Forward declare class Counters in paragraph.h by moving the ctrs member
7373         variable into Paragraph::Pimpl.
7374         (counters): new method, returning a reference to pimpl_->ctrs.
7375
7376         * text2.C: ensuing changes.
7377
7378 2002-08-07  John Levon  <levon@movementarian.org>
7379
7380         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7381
7382         * BufferView_pimpl.C: announce X selection on double/triple
7383           click
7384
7385         * lyx_main.C: use correct bool in batch dispatch
7386
7387         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7388
7389 2002-08-07  André Pönitz <poenitz@gmx.net>
7390
7391         * funcrequest.h: new class to wrap a kb_action and its argument
7392
7393         * BufferView.[Ch]:
7394         * BufferView_pimpl[Ch]:
7395         * LaTeX.C:
7396         * LyXAction.[Ch]:
7397         * lyxfunc.[Ch]:
7398         * lyxrc.C: subsequent changes
7399
7400
7401 2002-08-07  John Levon  <levon@movementarian.org>
7402
7403         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7404           document options change.
7405
7406 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7407
7408         * counters.[Ch]
7409         * text2.C
7410         * paragraph.[Ch]
7411         * makefile.am: move counters functionality over from
7412         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7413
7414 2002-08-06  John Levon  <levon@movementarian.org>
7415
7416         * WordLangTuple.h: new file for word + language code tuple
7417
7418         * SpellBase.h:
7419         * pspell.h:
7420         * pspell.C:
7421         * ispell.h:
7422         * ispell.C:
7423         * lyxtext.h:
7424         * text.C:
7425         * text2.C:
7426         * BufferView.h:
7427         * BufferView2.C: use WordLangTuple
7428
7429         * layout.h:
7430         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7431
7432 2002-08-06  John Levon  <levon@movementarian.org>
7433
7434         * lyx_main.C: fix cmdline batch handling
7435
7436 2002-08-06  André Pönitz <poenitz@gmx.net>
7437
7438         * lyxrc.C: set default for show_banner to true
7439
7440 2002-08-06  John Levon  <levon@movementarian.org>
7441
7442         * pspell.C: fix a crash, and allow new aspell to work
7443
7444 2002-08-06  John Levon  <levon@movementarian.org>
7445
7446         * lyxfunc.C:
7447         * kbmap.C: small cleanup
7448
7449         * vspace.h:
7450         * vspace.C: add const
7451
7452 2002-08-05  John Levon  <levon@movementarian.org>
7453
7454         * LyXAction.C: back to tabular-insert
7455
7456 2002-08-04  John Levon  <levon@movementarian.org>
7457
7458         * BufferView.h:
7459         * BufferView.C: cosmetic change
7460
7461         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7462
7463         * bufferlist.C:
7464         * buffer.h:
7465         * buffer.C:
7466         * lyxcb.h:
7467         * lyxcb.C:
7468         * lyxserver.C:
7469         * lyxvc.C:
7470         * vc-backend.C:
7471         * BufferView2.C: purge all "Lyx" not "LyX" strings
7472
7473         * lyxcursor.h:
7474         * lyxcursor.C: attempt to add some documentation
7475
7476         * lyxfunc.C:
7477         * commandtags.h:
7478         * LyXAction.C:
7479         * ToolbarDefaults.C:
7480         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7481           merge with LFUN_TABULAR_INSERT
7482
7483         * Makefile.am:
7484         * SpellBase.h:
7485         * ispell.h:
7486         * ispell.C:
7487         * pspell.h:
7488         * pspell.C: split up i/pspell implementations into separate
7489           files, many cleanups
7490
7491         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7492
7493         * text2.C: some cleanup
7494
7495         * lyxfunc.C: don't check for isp_command == "none" any more, it
7496           didn't make any sense
7497
7498 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7499
7500         * counters.[Ch]
7501         * text2.C
7502         * paragraph.[Ch]
7503         * makefile.am: move counters functionality over
7504         from text2.C/paragraph.[Ch] to counters.[Ch], and
7505         make proper C++.
7506 2002-08-02  John Levon  <levon@movementarian.org>
7507
7508         * buffer.C: s/lyxconvert/lyx2lyx/
7509
7510 2002-08-02  Angus Leeming  <leeming@lyx.org>
7511
7512         * lyxlex.C: revert John's change as it breaks reading of the user
7513         preamble.
7514
7515 2002-08-02  Angus Leeming  <leeming@lyx.org>
7516
7517         * importer.C (Import):
7518         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7519         changes due to LyXView::view() now returning a boost::shared_ptr.
7520
7521 2002-08-02  John Levon  <levon@movementarian.org>
7522
7523         * lyxlex.C: small cleanup
7524
7525 2002-08-02  John Levon  <levon@movementarian.org>
7526
7527         * text2.C (status): small cleanup, no logic change
7528
7529 2002-08-01  John Levon  <levon@movementarian.org>
7530
7531         * buffer.h:
7532         * buffer.C (writeFile): don't output alerts, caller
7533           handles this
7534
7535         * bufferlist.C:
7536         * lyx_cb.C: from above
7537
7538         * lyxfunc.C: allow to open non-existent files
7539
7540 2002-07-31  John Levon  <levon@movementarian.org>
7541
7542         * lyxserver.C: don't let incidental errors get
7543           in the way (errno)
7544
7545 2002-07-30  John Levon  <levon@movementarian.org>
7546
7547         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7548
7549 2002-07-30  John Levon  <levon@movementarian.org>
7550
7551         * lyxserver.h:
7552         * lyxserver.C: remove I/O callback too
7553
7554 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7555
7556         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7557         log.
7558
7559 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7560
7561         * many files: strip,frontStrip -> trim,ltrim,rtrim
7562
7563 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7564
7565         * PrinterParams.h: remove extern containsOnly, and include
7566         support/lstrings.h instead.
7567
7568         * LaTeX.C (scanAuxFile): modify because of strip changes
7569         (deplog): ditto
7570         * buffer.C (makeLaTeXFile): ditto
7571         * bufferparams.C (writeFile): ditt
7572         * lyxfont.C (stateText): ditto
7573         * lyxserver.C (read_ready): ditto
7574         * vc-backend.C (scanMaster): ditto
7575
7576         * BufferView_pimpl.h: ws changes
7577
7578         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7579
7580 2002-07-26  André Pönitz <poenitz@gmx.net>
7581
7582         * kb_sequence.C: remove unnedred usings
7583
7584 2002-07-26  Juergen Vigna  <jug@sad.it>
7585
7586         * lyxfind.C (LyXReplace): we have to check better if the returned
7587         text is not of theLockingInset()->getLockingInset().
7588
7589 2002-07-25  Juergen Vigna  <jug@sad.it>
7590
7591         * lyxfind.C (LyXReplace): don't replace if we don't get the
7592         right LyXText.
7593
7594         * undo_funcs.C (createUndo): remove debugging code.
7595
7596 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7597
7598         * buffer.C (parseSingleLyXformat2Token): Use default placement
7599         when reading old floats.
7600
7601         * FloatList.C (FloatList): Change the default placement of figure
7602         and tables to "tbp".
7603
7604 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7605
7606         * MenuBackend.C: using std::max
7607
7608 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7609
7610         * MenuBackend.C (expandToc):
7611         (expandToc2): code moved from xforms menu frontend. It is now
7612         generic and TOCs are transparent to menu frontends.
7613
7614 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7615
7616         * toc.C (getTocList): protect against buf=0
7617
7618         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7619         Menu as first parameter. Now, this calls itself recursively to
7620         expand a whole tree (this will be useful for TOC handling)
7621         (expandFloatInsert): remove 'wide' version of floats
7622
7623         * MenuBackend.h (submenuname): returns the name of the submenu.
7624         (submenu): returns the submenu itself, provided it has been
7625         created by MenuBackend::expand
7626
7627 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7628
7629         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7630         insets which have noFontChange == true. (bug #172)
7631
7632 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7633
7634         * BufferView_pimpl.C: add connection objects and use them...
7635         (Pimpl): here.
7636
7637 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7638
7639         * MenuBackend.C (expandLastfiles):
7640         (expandDocuments):
7641         (expandFormats):
7642         (expandFloatListInsert):
7643         (expandFloatInsert):
7644         (expand): split expand in parts
7645
7646 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7647
7648         * lyx_gui.C: use lyx_gui::exit()
7649
7650 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7651
7652         * LyXAction.C: show the failing pseudo action
7653
7654 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7655
7656         * buffer.C (readFile): Run the lyxconvert script in order to read
7657         old files.
7658
7659 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7660
7661         * LyXAction.C:
7662         * commandtags.h:
7663         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7664
7665 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7666
7667         * LyXAction.C:
7668         * commandtags.h:
7669         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7670
7671 2002-07-22  Herbert Voss  <voss@lyx.org>
7672
7673         * lengthcommon.C:
7674         * lyxlength.[Ch]: add support for the vertical lengths
7675
7676 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7677
7678         * toc.[Ch]: std:: fixes
7679
7680 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7681
7682         * lyxrc.C: do not include lyx_main.h
7683
7684         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7685         for layouts
7686
7687         * lyxrc.C:
7688         * encoding.C:
7689         * bufferlist.C:
7690         * BufferView2.C: include "lyxlex.h"
7691
7692         * tabular.h:
7693         * bufferparams.h: do not #include "lyxlex.h"
7694
7695         * lyxtextclasslist.C (Add): remove method
7696         (classlist): renamed to classlist_
7697
7698         * paragraph_pimpl.C:
7699         * paragraph.C:
7700         * text2.C:
7701         * CutAndPaste.C:
7702         * bufferview_funcs.C:
7703         * bufferlist.C:
7704         * text.C:
7705         * LaTeXFeatures.C:
7706         * buffer.C:
7707         * toc.C (getTocList): use BufferParams::getLyXTextClass
7708
7709         * toc.C (getTocList): use InsetFloat::addToToc
7710
7711         * toc.[Ch]: new files, containing helper functions to handle table
7712         of contents
7713
7714         * lyxfunc.C (dispatch): no need to remove spaces around command
7715         given as a string
7716         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7717         first command of the sequence; it is not very clever, but I do not
7718         have a better idea, actually
7719
7720         * LyXAction.C (LookupFunc): make sure to remove space at the
7721         beginning and end of the command
7722
7723 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7724
7725         * MenuBackend.C (getMenubar): new method: return the menubar of
7726         this menu set
7727         (read): treat differently reading of menu and menubar (in
7728         particular, the menubar has no name now)
7729         (Menu::menubar): remove
7730
7731         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7732         saving is finished
7733
7734 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7735
7736         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7737         a bibitem inset in a RTL paragraph.
7738
7739 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7740
7741         * paragraph_pimpl.C: constify
7742
7743         * BufferView_pimpl.C:
7744         * LaTeX.C:
7745         * lyxfunc.C: fix dispatch in a nicer way
7746
7747 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7748
7749         * lyxfunc.C (dispatch):
7750         * BufferView_pimpl.C:
7751         * BufferView_pimpl.h:
7752         * BufferView.C:
7753         * BufferView.h: rename Dispatch() to dispatch()
7754
7755         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7756
7757         * lyxlayout.C (Read): honor DependsOn tag
7758
7759         * lyxlayout.[Ch] (depends_on): new method
7760
7761         * version.C.in: update lyx_docversion
7762
7763         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7764
7765         * paragraph.C (validate): remove from here...
7766         * paragraph_pimpl.C (validate): ... and move here
7767         (isTextAt): make it const
7768
7769         * buffer.C (getLists): ws cleanup
7770
7771 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7772
7773         * language.C (read): Use iso8859-1 encoding in latex_lang
7774         (this prevents LyX from crashing when using iso10646-1 encoding).
7775
7776 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7777
7778         * text2.C (toggleInset): if cursor is inside an inset, close the
7779         inset and leave cursor _after_ it
7780
7781 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7782
7783         * lyxfunc.C: move minibuffer completion handling out of here
7784
7785 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7786
7787         * BufferView_pimpl.C:
7788         * LaTeX.C: fix dispatch calls
7789
7790 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7791
7792         * text.C (drawChars): Fix Arabic text rendering.
7793
7794 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7795
7796         * LyXAction.C:
7797         * commandtags.h:
7798         * lyxfunc.C: remove message-push/pop
7799
7800         * lyxserver.C:
7801         * lyxfunc.h:
7802         * lyxfunc.C: rationalise some code by removing verboseDispatch
7803           in favour of a bool argument to dispatch()
7804
7805 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7806
7807         * lyx_main.C (init): make sure to read symlinks as absolute paths
7808
7809 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7810
7811         * lyxfunc.h:
7812         * lyxfunc.C: no need for commandshortcut to be a member
7813
7814 2002-07-15  André Pönitz <poenitz@gmx.net>
7815
7816         * converter.C: add support for $$s (scripts from lib/scripts dir)
7817         * lyx_main.C: white space
7818
7819 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7820
7821         * bufferlist.C:
7822         * lyxrc.h:
7823         * lyxrc.C: remove second exit confirmation
7824
7825 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7826
7827         * BufferView.h:
7828         * BufferView.C:
7829         * BufferView2.C:
7830         * BufferView_pimpl.h:
7831         * BufferView_pimpl.C:
7832         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7833
7834 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7835
7836         * MenuBackend.C (expand): add numeric shortcuts to document menu
7837
7838         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7839
7840 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7841
7842         * lyxfont.C (setLyXFamily):
7843         (setLyXSeries):
7844         (setLyXShape):
7845         (setLyXSize):
7846         (setLyXMisc):
7847         (lyxRead):
7848         * debug.C (value):
7849         * buffer.C (asciiParagraph): use ascii_lowercase
7850
7851 2002-07-15  Mike Fabian  <mfabian@suse.de>
7852
7853         * lyxlex_pimpl.C (search_kw):
7854         * lyxlex.C (getLongString):
7855         * converter.h (operator<):
7856         * converter.C (operator<):
7857         * buffer.C (parseSingleLyXformat2Token):
7858         (asciiParagraph):
7859         * ToolbarDefaults.C (read):
7860         * MenuBackend.C (checkShortcuts):
7861         (read):
7862         * LColor.C (getFromGUIName):
7863         (getFromLyXName): use the compare_ascii_no_case instead of
7864         compare_no_case, because in turkish, 'i' is not the lowercase
7865         version of 'I', and thus turkish locale breaks parsing of tags.
7866
7867 2002-07-16  Angus Leeming  <leeming@lyx.org>
7868
7869         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7870         now takes a Buffer const & argument.
7871
7872 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7873
7874         * BufferView.C (resize): check there's a buffer to resize
7875
7876 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7877
7878         * lyxfunc.C: remove dead code
7879
7880         * lyxserver.h:
7881         * lyxserver.C: use lyx_guii::set_read_callback
7882
7883 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7884
7885         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7886         an inset in a RTL paragraph.
7887
7888 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7889
7890         * lyxfunc.C: repaint after a font size update
7891
7892 2002-07-15  André Pönitz <poenitz@gmx.net>
7893
7894         * lyxlength.C: inBP should be able to return negative values
7895
7896 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7897
7898         * lyxfunc.C: use lyx_gui::update_fonts()
7899
7900 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7901
7902         * lyxfunc.C: use lyx_gui::update_color()
7903
7904 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7905
7906         * bufferlist.C:
7907         * lyxfunc.h:
7908         * lyxfunc.C:
7909         * lyxrc.h:
7910         * lyxrc.C: remove file->new asks for name option, and let
7911           buffer-new take an argument
7912
7913 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7914
7915         * BufferView_pimpl.C: remove unneeded extra repaint()
7916
7917 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7918
7919         * LyXAction.C: allow command-sequence with NoBuffer
7920
7921         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7922
7923 2002-07-10  Angus Leeming  <leeming@lyx.org>
7924
7925         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7926
7927 2002-07-09  Angus Leeming  <leeming@lyx.org>
7928
7929         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7930
7931 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7932
7933         * lengthcommon.h: whitespace
7934
7935         * lyxfunc.C: update scrollbar after goto paragraph
7936
7937         * lyxtext.h: factor out page break drawing, and fix it so
7938           page break/added space paints as selected nicely
7939
7940 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7941
7942         * BufferView_pimpl.C: add FIXMEs, clean up a little
7943
7944 2002-07-09  André Pönitz <poenitz@gmx.net>
7945
7946         * lyxfont.[Ch]: support for wasy symbols
7947
7948 2002-07-08  André Pönitz <poenitz@gmx.net>
7949
7950         * BufferView_pimpl.C: apply John's patch for #93.
7951
7952 2002-07-05  Angus Leeming  <leeming@lyx.org>
7953
7954         * BufferView_pimpl.C (buffer): generate previews if desired.
7955
7956         * LColor.h: add "preview" to the color enum.
7957
7958         * LColor.C (LColor): add a corresponding entry to the items array.
7959
7960         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7961         with this buffer.
7962
7963 2002-07-05  Angus Leeming  <leeming@lyx.org>
7964
7965         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7966         The body of the code is now in the method that is passed an ostream &
7967         rather than a file name.
7968         Pass an additional only_preamble parameter, useful for the forthcoming
7969         preview stuff.
7970
7971 2002-07-03  André Pönitz <poenitz@gmx.net>
7972
7973         * lyxfunc.C: simplify getStatus() a bit for math stuff
7974
7975 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7976
7977         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7978
7979 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7980
7981         * text.C (changeRegionCase): do not change case of all the
7982         document when region ends at paragraph end (bug #461)
7983
7984 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7985
7986         * paragraph.C (startTeXParParams):
7987         (endTeXParParams): add \protect when necessary
7988
7989 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7990
7991         * BufferView_pimpl.C (workAreaExpose): remove warning
7992
7993 2002-06-27  Angus Leeming  <leeming@lyx.org>
7994
7995         * Makefile.am: add lyxlayout_ptr_fwd.h.
7996
7997 2002-06-26  André Pönitz <poenitz@gmx.net>
7998
7999         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8000
8001 2002-06-25  Angus Leeming  <leeming@lyx.org>
8002
8003         * lyxfunc.C (dispatch): Comment out the call to
8004         grfx::GCache::changeDisplay. The method no longer exists now that the
8005         pixmap generation part of the graphics loader has been moved into
8006         InsetGraphics.
8007
8008 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8009
8010         * text2.C: layout as layout
8011
8012         * text.C: layout as layout
8013
8014         * tabular.C (OldFormatRead): layout as layout
8015
8016         * paragraph_pimpl.C (TeXDeeper): layout as layout
8017         (realizeFont): layout as layout
8018
8019         * paragraph.C (writeFile): layout as layout
8020         (validate): layout as layout
8021         (getFont): layout as layout
8022         (getLabelFont): layout as layout
8023         (getLayoutFont): layout as layout
8024         (breakParagraph): layout as layout
8025         (stripLeadingSpaces): layout as layout
8026         (getEndLabel): layout as layout
8027         (getMaxDepthAfter): layout as layout
8028         (applyLayout): layout as layout
8029         (TeXOnePar): layout as layout
8030         (simpleTeXOnePar): layout as layout
8031         (TeXEnvironment): layout as layout
8032         (layout): layout as layout
8033         (layout): layout as layout
8034
8035         * lyxtextclass.C (compare_name): new functor to work with
8036         shared_ptr, layout as layout
8037         (Read): layout as layout
8038         (hasLayout): layout as layout
8039         (operator): layout as layout
8040         (delete_layout): layout as layout
8041         (defaultLayout): layout as layout
8042
8043         * lyxlayout_ptr_fwd.h: new file
8044
8045         * lyxlayout.C (Read): layout as layout
8046
8047         * lyx_cb.C (MenuInsertLabel): layout as layout
8048
8049         * bufferlist.C (newFile): layout as layout
8050
8051         * buffer.C (readLyXformat2): layout as layout
8052         (parseSingleLyXformat2Token): layout as layout
8053         (insertStringAsLines): layout as layout
8054         (asciiParagraph): layout as layout
8055         (latexParagraphs): layout as layout
8056         (makeLinuxDocFile): layout as layout
8057         (simpleLinuxDocOnePar): layout as layout
8058         (makeDocBookFile): layout as layout
8059         (simpleDocBookOnePar): layout as layout
8060         (getLists): layout as layout
8061
8062         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8063
8064         * CutAndPaste.C (cutSelection): layout as layout
8065         (pasteSelection): layout as layout
8066         (SwitchLayoutsBetweenClasses): layout as layout
8067
8068         * BufferView_pimpl.C (Dispatch): layout as layout
8069         (smartQuote): layout as layout
8070
8071         * BufferView2.C (unlockInset): layout as layout
8072
8073 2002-06-24  André Pönitz <poenitz@gmx.net>
8074
8075         * lyxfunc.C: fix #487
8076
8077 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8078
8079         * lyxrc.h:
8080         * lyxrc.C:
8081         * lyxfunc.C: remove display_shortcuts, show_banner
8082
8083 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8084
8085         * Buffer_pimpl.C: oops, update on resize
8086
8087 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8088
8089         * buffer.C:
8090         * converter.C:
8091         * exporter.C:
8092         * lyxfunc.C:
8093         * BufferView.h:
8094         * BufferView.C: use repaint()
8095
8096         * BufferView_pimpl.h:
8097         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8098           as it's a clearer description. Remove superfluous
8099           redraws.
8100
8101 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8102
8103         * text.C: fix bug 488. Not ideal, but getting
8104           getWord() to work properly for the insets that
8105           matter is more difficult ...
8106
8107 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8108
8109         * BufferView_pimpl.C:
8110         * LyXAction.C:
8111         * commandtags.h:
8112         * lyxfunc.C: remove the six million index lyxfuncs to just
8113           one, and DTRT (bug 458)
8114
8115 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8116
8117         * BufferView.h:
8118         * BufferView.C:
8119         * BufferView_pimpl.h:
8120         * BufferView_pimpl.C: clean up resize() stuff,
8121           and unnecessary updateScreen()s
8122
8123 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8124
8125         * BufferView.h:
8126         * BufferView.C:
8127         * BufferView_pimpl.h:
8128         * BufferView_pimpl.C:
8129         * lyxfind.h:
8130         * lyxfind.C:
8131         * minibuffer.C: remove focus management of workarea,
8132           not needed. Use screen's greyOut()
8133
8134 2002-06-17  Herbert Voss  <voss@lyx.org>
8135
8136         * converter.C: (convert) do not post a message, when converting
8137         fails, let the calling function decide what to do in this case
8138
8139 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8140
8141         * lyxfunc.C: tidy up a little
8142
8143 2002-06-16    <alstrup@diku.dk>
8144
8145         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8146         Got rid of FORMS_H_LOCATION include. Now we are
8147         GUII.
8148
8149 2002-06-15  LyX Development team  <lyx@rilke>
8150
8151         * buffer.[Ch] (sgmlOpenTag):
8152         (sgmlCloseTag): Added support for avoiding pernicious mixed
8153         content. Return number of lines written.
8154
8155         (makeLinuxDocFile):
8156         (makeDocBookFile): Fixed calls to sgml*Tag.
8157         Simple white space clean.
8158
8159         (simpleDocBookOnePar): Simple white space clean.
8160
8161         * tabular.[Ch] (docBook): Renamed to docbook and got another
8162         argument to related with the pernicious mixed content.
8163
8164         (docbookRow): Fixed calls for docbook inset method.
8165
8166 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8167
8168         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8169         so it's X11 independent.
8170
8171         * kb*.[Ch]: ditto.
8172
8173         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8174
8175 2002-06-15  Lyx Development team  <lyx@electronia>
8176
8177         * intl.h: Renamed getTrans to getTransManager.
8178
8179 2002-06-14  Angus Leeming  <leeming@lyx.org>
8180
8181         * Makefile.am: nuke forgotten stl_string_fwd.h.
8182
8183 2002-06-12  Angus Leeming  <leeming@lyx.org>
8184
8185         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8186
8187 2002-06-13  Angus Leeming  <leeming@lyx.org>
8188
8189         * LaTeX.C:
8190         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8191
8192 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8193
8194         * kbmap.C (getiso): add support for cyrillic and greek
8195
8196 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8197
8198         * BufferView.h:
8199         * BufferView.C:
8200         * BufferView_pimpl.h:
8201         * BufferView_pimpl.C: move bogus scrolling logic
8202           to xforms
8203
8204 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8205
8206         * lyxfunc.C:
8207         * BufferView_pimpl.C: view->resize() change
8208
8209 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8210
8211         * BufferView_pimpl.C: topCursorVisible
8212           prototype change
8213
8214 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8215
8216         * Makefile.am:
8217         * lyx_gui.h:
8218         * lyx_gui.C: move to frontends/
8219
8220         * main.C:
8221         * lyx_main.h:
8222         * lyx_main.C: changes from above
8223
8224 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8225
8226         * intl.C:
8227         * intl.h:
8228         * kbmap.C:
8229         * kbsequence.C:
8230         * lyx_cb.C:
8231         * lyx_main.C: minor tidy
8232
8233 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8234
8235         * BufferView_pimpl.h:
8236         * BufferView_pimpl.C:
8237         * BufferView.h:
8238         * BufferView.C: make painter() const,
8239           remove dead code
8240
8241         * BufferView2.C: use screen() accessor
8242
8243         * lyx_main.h:
8244         * lyx_main.C: some minor cleanup
8245
8246 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8247
8248         * BufferView_pimpl.h:
8249         * BufferView_pimpl.C: remove enter/leaveView,
8250           use workHeight()
8251
8252 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8253
8254         * BufferView.h:
8255         * BufferView.C:
8256         * BufferView2.C:
8257         * BufferView_pimpl.h:
8258         * BufferView_pimpl.C: only construct screen once,
8259           rename
8260
8261         * lyxrc.C: remove pointless comment
8262
8263 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8264
8265         * BufferView.h:
8266         * BufferView.C: remove active() and belowMouse()
8267
8268         * BufferView_pimpl.h:
8269         * BufferView_pimpl.C: use workarea() not workarea_,
8270           and make it use a scoped_ptr instead
8271
8272 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8273
8274         * lyx_gui.C: add debug message on BadWindow
8275
8276 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8277
8278         * sp_spell.C: fdopen is not part of the C++ standard.
8279
8280         * paragraph.C (InsetIterator): use >= instead of ==
8281
8282 2002-06-07  Angus Leeming  <leeming@lyx.org>
8283
8284         Fixes needed to compile with Compaq cxx 6.5.
8285         * BufferView_pimpl.C:
8286         * DepTable.C:
8287         * buffer.C:
8288         * converter.C:
8289         * encoding.C:
8290         * lyx_gui.C:
8291         * lyx_main.C:
8292         * lyxtextclasslist.C:
8293         * minibuffer.C:
8294         * sp_spell.C:
8295         * tabular_funcs.C:
8296         * vc-backend.C:
8297         all c-library variables have been moved into namespace std. Wrap
8298         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8299
8300         * lyxlength.C:
8301         * tabular-old.C:
8302         * tabular.C:
8303         Add a using std::abs declaration.
8304
8305         * kbmap.h (modifier_pair):
8306         * paragraph.h (InsetTable, InsetList):
8307         * lyxfont.h (FontBits):
8308         type definition made public.
8309
8310         * bufferlist.C (emergencyWriteAll): the compiler complains that
8311         there is more than one possible lyx::class_fun template to choose from.
8312         I re-named the void specialisation as lyx::void_class_fun.
8313
8314         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8315
8316         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8317         the compiler is is unable to find tostr in write_attribute.
8318
8319 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8320
8321         * buffer.C (sgmlError): hide #warning
8322
8323 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8324
8325         * xtl/*: get rid of xtl, which is not in use anyway
8326
8327         * LyXAction.C (init):
8328         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8329         were unimplemented xtl experimentation
8330
8331 2002-06-04  André Pönitz <poenitz@gmx.net>
8332
8333         * lyxfunc.C: disable array operation on simple formulae
8334
8335 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8336
8337         * converter.C: constify a bit
8338
8339 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8340
8341         * lyx_gui.C: check xforms version correctly
8342
8343 2002-04-30  Herbert Voss  <voss@lyx.org>
8344
8345         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8346         "keep" option
8347
8348 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8349
8350         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8351           attempt to register it with a VCS)
8352
8353 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8354
8355         * lyx_main.C (init): honor variables LYX_DIR_13x and
8356         LYX_USERDIR_13x
8357
8358 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8359
8360         * buffer.h:
8361         * buffer.C:
8362         * lyx_main.C: fix a crash on bad command line,
8363           and give a useful exit status on error
8364
8365         * lyxfunc.C (doImport): allow -i lyx to work
8366
8367 2002-03-30  André Pönitz <poenitz@gmx.net>
8368
8369         * lyxfunc.C: mathed font changes
8370
8371 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8372
8373         * LaTeX.C:
8374         * importer.h:
8375         * importer.C:
8376         * lyx_sty.h:
8377         * lyx_sty.C:
8378         * lyxlex.C:
8379         * lyxrow.h:
8380         * lyxtext.h:
8381         * paragraph.h:
8382         * paragraph.C:
8383         * texrow.h:
8384         * texrow.C:
8385         * text.C:
8386         * trans_mgr.h: srcdocs, and some minor cleanups
8387
8388 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8389
8390         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8391         call getFont all the time)
8392
8393 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8394
8395         * switch from SigC signals to boost::signals
8396
8397 2002-05-29  André Pönitz <poenitz@gmx.net>
8398
8399         * paragraph_pimpl.C (getChar): don't call size() too often...
8400
8401 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8402
8403         * paragraph_pimpl.C (insertChar): do not try to update tables when
8404         appending (pos == size())
8405
8406         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8407         in order to reduce drastically the number of comparisons needed to
8408         parse a large document
8409
8410 2002-05-29  André Pönitz <poenitz@gmx.net>
8411
8412         * text.C:
8413         * text2.C:
8414         * lyxtextclass.C:
8415         * sp_pspell.h:
8416         * textclasslist.[Ch]:
8417         * sp_ispell.h: whitespace change
8418
8419 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8420
8421         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8422         lyxaction directly now.
8423
8424 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8425
8426         * trans.C:
8427         * lyxfont.C:
8428         * lyxvc.C: remove unused headers
8429
8430 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8431
8432         * Makefile.am:
8433         * buffer.h:
8434         * undostack.h:
8435         * undostack.C:
8436         * undo_funcs.h:
8437         * undo_funcs.C: some cleanups. Use shared_ptr
8438           and a template for the undo stacks.
8439
8440 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8441
8442         * BufferView_pimpl.h:
8443         * BufferView_pimpl.C:
8444         * kbmap.h:
8445         * kbmap.C:
8446         * kbsequence.h:
8447         * kbsequence.C:
8448         * lyxfunc.h:
8449         * lyxfunc.C:
8450         * text2.C: use key_state/mouse_state
8451
8452 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8453
8454         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8455         and LSubstring
8456
8457         * chset.C: change include order
8458         (loadFile): use boost regex and get rid of LRegex and LSubstring
8459
8460         * Makefile.am (BOOST_LIBS): new variable
8461         (lyx_LDADD): use it
8462
8463         * LaTeX.C: change include order.
8464         (scanAuxFile): use boost regex and get rid of LRegex and
8465         LSubstring
8466         (deplog): ditto
8467
8468 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8469
8470         * ColorHandler.h:
8471         * ColorHandler.C:
8472         * FontInfo.h:
8473         * FontInfo.C: moved to frontends/xforms/
8474
8475         * FontLoader.h:
8476         * FontLoader.C: moved into frontends for GUIIzation
8477
8478         * Makefile.am:
8479         * lyx_gui.C:
8480         * lyxfont.C:
8481         * lyxfunc.C: changes from above
8482
8483 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8484
8485         * LColor.C: remove spurious X include
8486
8487         * BufferView_pimpl.C:
8488         * Makefile.am:
8489         * font.h:
8490         * font.C:
8491         * text.C:
8492         * text2.C: move font metrics to frontends/
8493
8494 2002-05-24  Juergen Vigna  <jug@sad.it>
8495
8496         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8497         setting the undo_cursor.
8498
8499         * ParagraphParameters.h: include local includes first.
8500
8501 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8502
8503         * BufferView_pimpl.C:
8504         * BufferView_pimpl.h:
8505         * Makefile.am:
8506         * WorkArea.h:
8507         * WorkArea.C:
8508         * screen.C: move WorkArea into frontends/
8509
8510         * lyxscreen.h:
8511         * screen.C:
8512         * text.C:
8513         * BufferView.C:
8514         * BufferView2.C: move LyXScreen into frontends/
8515
8516         * lyxlookup.h:
8517         * lyxlookup.C:
8518         * lyx_gui.C: move lyxlookup into frontends/xforms/
8519
8520 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8521
8522         * BufferView2.C:
8523         * BufferView_pimpl.C:
8524         * FontLoader.C:
8525         * LyXView.h:
8526         * LyXView.C:
8527         * Makefile.am:
8528         * WorkArea.C:
8529         * XFormsView.h:
8530         * XFormsView.C:
8531         * buffer.C:
8532         * bufferlist.C:
8533         * bufferview_funcs.C:
8534         * converter.C:
8535         * importer.C:
8536         * lyx_cb.C:
8537         * lyx_gui.C:
8538         * lyx_main.C:
8539         * lyx_find.C:
8540         * lyxfunc.C:
8541         * lyxvc.C:
8542         * minibuffer.C:
8543         * text.C:
8544         * text2.C:
8545         * trans.C:
8546         * vc-backend.C: move LyX/XFormsView into frontends/
8547
8548 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8549
8550         * Makefile.am:
8551         * PainterBase.C:
8552         * PainterBase.h:
8553         * Painter.C:
8554         * Painter.h:
8555         * WorkArea.C:
8556         * WorkArea.h:
8557         * screen.C:
8558         * tabular.C:
8559         * text.C:
8560         * text2.C: move Painter to frontends/
8561
8562 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8563
8564         * buffer.C: comment out some some code that depend upon lyx_format
8565         < 220
8566
8567         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8568         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8569
8570         * buffer.h (NO_COMPABILITY): turn off compability
8571
8572         * ColorHandler.C: include scoped_array.hpp
8573
8574         * font.C: Use more specific smart_ptr header.
8575         * Painter.C: ditto
8576         * gettext.C: ditto
8577         * ShareContainer.h: ditto
8578         * lyx_main.h: ditto
8579         * kbmap.h: ditto
8580         * FontInfo.h: ditto
8581         * BufferView_pimpl.h: ditto
8582         * ColorHandler.h: ditto
8583
8584         * kbmap.C (defkey): change call to shared_ptr::reset
8585
8586 2002-05-21  Juergen Vigna  <jug@sad.it>
8587
8588         * buffer.C (insertErtContents): fix to insert ert asis if it is
8589         non empty. Skip it completely if it contains only whitespaces.
8590
8591 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8592
8593         * BufferView_pimpl.C:
8594         * BufferView2.C: clear selection on paste (bug 393)
8595
8596 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8597
8598         * DepTable.C: include ctime
8599
8600 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8601
8602         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8603
8604 2002-05-14  Juergen Vigna  <jug@sad.it>
8605
8606         * text.C (breakParagraph): fixed function to honor the keepempty
8607         layout in the right maner and also to permit the right breaking
8608         algorithm on empty or non empyt keepempty paragraphs.
8609
8610         * paragraph.C (breakParagraph): we have to check also if the par
8611         is really empty (!size()) for isempty otherwise we do the wrong
8612         paragraph break.
8613
8614 2002-05-10  Juergen Vigna  <jug@sad.it>
8615
8616         * buffer.[Ch] : The following are only changes to the ert
8617         compatibility read reading old LaTeX layout and font stuff and
8618         convert it to ERTInsets.
8619
8620         * buffer.h: added isErtInset().
8621
8622         * buffer.C (struct ErtComp): add a fromlayout bool to check
8623         if we're inside a LaTeX layout.
8624         (isErtInset): new helper function.
8625         (insertErtContents): look for other ert insets before this one
8626         and insert the contents there, so that we don't have subsequent
8627         ERT insets with nothing between them. This way we create only one
8628         inset with multiple paragraphs. Also check if we don't insert only
8629         spaces ' ' as they are ignored anyway afterwards in the .tex file
8630         so if we have only spaces we will ignore this latex part in the
8631         new file.
8632         (parseSingleLyXformat2Token \\layout): better compatibility when
8633         reading layout-latex stuff.
8634         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8635         language tag.
8636         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8637         stuff after reading the inset only get the information back from
8638         the stack.
8639
8640 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8641
8642         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8643
8644         * LaTeXFeatures.C (getBabelOptions): New method.
8645
8646 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8647
8648         * BufferView_pimpl.C (Dispatch): work around missing argument for
8649         'layout'
8650
8651 2002-05-08  Juergen Vigna  <jug@sad.it>
8652
8653         * text.C (leftMargin): handle paragraph leftindent.
8654
8655         * paragraph.C (writeFile): write the new \\leftindent tag.
8656         (validate): handle leftindent code.
8657         (TeXEnvironment): handle paragraphleftindent code again.
8658
8659         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8660
8661         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8662         for paragrap_extra indent code and new token \\leftindent.
8663         (latexParagraphs): handle the leftindent as environment.
8664
8665         * ParameterStruct.h: added leftindent support.
8666
8667         * ParagraphParameters.C (leftIndent): added support functions for
8668         the paragraph left indent.
8669
8670         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8671         more appropriate.
8672
8673 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8674
8675         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8676         inside insetERT.
8677
8678         * text.C (computeBidiTables): No bidi in insetERT.
8679
8680         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8681         in RTL documents.
8682
8683 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8684
8685         * version.C.in: pre 5
8686
8687 2002-05-02  José Matos  <jamatos@fep.up.pt>
8688         * buffer.C (makeDocBookFile): white space changes, add newline to
8689         command styles.
8690         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8691
8692         * tabular.C (docBook): fix typo.
8693
8694 2002-05-03  Juergen Vigna  <jug@sad.it>
8695
8696         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8697         change in LyXText as we can not be sure it was not freed.
8698         (drawOneRow): remove unused code.
8699
8700         * text.C (drawInset): redo the calculation of the need_break_row as
8701         it could have a row which was already freed.
8702         (draw): look at the return value of drawInset and return false if
8703         it also returned false.
8704         (paintRowText): look at the return value of draw and return false if
8705         it also returned false.
8706
8707         * lyxtext.h: added bool return type to drawInset() and draw() so that
8708         if we have a change in the row so that the rowbreak has to be redone
8709         we abort drawing as it will be called again.
8710
8711 2002-05-02  Juergen Vigna  <jug@sad.it>
8712
8713         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8714         a change in the maintext also if we're inside an inset.
8715         (Dispatch): set the cursor again after a break line and after the
8716         screen has been updated as it could be we're in a different row.
8717
8718         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8719         to set the cursor behind the pargraph with > size().
8720         (setCursor): check also for the same paragraph when checking where
8721         to put the cursor if we have a NFR inset.
8722
8723         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8724         parts of layout read further up as it still was in the wrong
8725         position.
8726
8727 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8728
8729         * screen.C (drawFromTo): change sine fullRebreak always return
8730         true.
8731
8732         * buffer.C (parseSingleLyXformat2Token): reindent some
8733
8734         * BufferView_pimpl.C (update): change since fullRebreak always
8735         return true.
8736         (Dispatch): git rid of the last hardcoded "Standard"s.
8737
8738 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8739
8740         * text2.[Ch] (fullRebreak): make it return void now that we always
8741         returned true.
8742
8743 2002-04-30  Juergen Vigna  <jug@sad.it>
8744
8745         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8746         ert compatibility check for "latex" layout.
8747
8748 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8749
8750         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8751         minipages: use col% instead of p%, and also use the current font.
8752         (makeLaTeXFile): Fix use babel condition.
8753         (parseSingleLyXformat2Token): Correct font when reading old floats.
8754
8755 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8756
8757         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8758         inserting list of floats.
8759
8760 2002-04-25  Herbert Voss  <voss@lyx.org>
8761
8762         * MenuBackend.C (expand): don't add the graphics extensions to the
8763         export menu
8764
8765 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8766
8767         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8768         non-existing layout, do not complain if it was the default layout
8769         of the original class (bug #342)
8770
8771 2002-04-24  Juergen Vigna  <jug@sad.it>
8772
8773         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8774         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8775
8776 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8777
8778         * buffer.C (getBibkeyList): If using \bibliography, return the
8779         option field with the reference itself. Enables us to provide natbib
8780         support when using \bibliography.
8781
8782 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8783
8784         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8785
8786         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8787         natbib is provided by the LaTeX class.
8788
8789 2002-04-23  Juergen Vigna  <jug@sad.it>
8790
8791         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8792         Wakeup functions.
8793
8794         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8795
8796 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8797
8798         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8799
8800         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8801         ensuremath around textordmasculine, textordfeminine and
8802         textdegree.
8803
8804 2002-04-19  Juergen Vigna  <jug@sad.it>
8805
8806         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8807         reinitializing the buffer otherwise row-dimensions may be wrong.
8808         (update): reset also the selection cursors if they do exits otherwise
8809         their x/y positions may be wrong.
8810
8811         * text2.C (cursorDown): don't enter the inset if we came from a row
8812         above and are one row over the inset.
8813
8814         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8815         really leaving an inset.
8816
8817 2002-04-18  Juergen Vigna  <jug@sad.it>
8818
8819         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8820         of the selected paragraph does not have the selected layout also if
8821         the last one had!
8822
8823         * text2.C (setLayout): fixed bug which did not change last selected
8824         paragraph.
8825
8826         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8827         changed the read and substituted \\end_float with \\end_inset!
8828
8829         * BufferView_pimpl.C (cursorPrevious):
8830         (cursorNext): fixed to make it work with rows heigher than the work
8831         area without moving the cursor only the draw of the row.
8832         (workAreaMotionNotify): fix jumping over high rows.
8833
8834 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8835
8836         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8837         Ressler.
8838
8839 2002-04-16  Juergen Vigna  <jug@sad.it>
8840
8841         * text2.C (setCursor): set also the irow().
8842         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8843         (cursorUp):
8844         (cursorDown): support for locking an inset if the x_fix value goes
8845         inside it. That way I can transverse insets too with cursor up/down.
8846
8847         * lyxrow.h: added irow helper function same as other (i) functions.
8848
8849         * BufferView_pimpl.C (cursorPrevious):
8850         (cursorNext): fixed for insets!
8851
8852 2002-04-15  Juergen Vigna  <jug@sad.it>
8853
8854         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8855         position otherwise it is wrong in some cases.
8856
8857         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8858         inside the inset before the call.
8859
8860 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8861
8862         * buffer.[Ch] (getBibkeyList): make it const.
8863
8864 2002-04-12  Juergen Vigna  <jug@sad.it>
8865
8866         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8867
8868         * text2.C (getCursorX): new helper function
8869         (setCursor): compute also ix_
8870         (setCursorFromCoordinates): set also ix.
8871
8872         * lyxcursor.h: added ix_ and helper functions.
8873
8874         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8875
8876         * buffer.C (insertStringAsLines): dont break paragraph if the this
8877         paragraph is inside an inset which does not permit it!
8878
8879         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8880         also with no chars on this paragraph.
8881         (paintRowText): only paint stuff if it's inside the workarea!
8882
8883         * paragraph.C (breakParagraph): honor keepempty flag and break the
8884         paragraph always below not above.
8885
8886         * BufferView2.C (unlockInset): update the paragraph layout on inset
8887         unlock as we changed paragraph in such a case.
8888
8889         * lyxfind.C (LyXFind): clear the former selection if not found!
8890
8891         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8892         again called in insertChar().
8893
8894         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8895         an inset which uses the whole row!
8896         (rightMargin): ditto.
8897         (insertChar): force a rebreak if we inserted an inset!
8898
8899 2002-03-28  Herbert Voss  <voss@lyx.org>
8900
8901         * lyxlength.[Ch]: add inBP() to get the right PS-point
8902         units (BigPoint). With inPixels we have rounding errors
8903
8904 2002-04-11  Juergen Vigna  <jug@sad.it>
8905
8906         * text2.C (setCursorFromCoordinates): set iy to the right value.
8907         (setCursor): add check if row->previous exists!
8908
8909         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8910         an old float_type as this was the case in the old code!
8911
8912         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8913
8914         * BufferView2.C (showLockedInsetCursor): use iy
8915         (fitLockedInsetCursor): ditto
8916
8917         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8918         locked insets as there we have the right value now.
8919
8920         * lyxcursor.C: added iy_ variable and iy functions to set to the
8921         baseline of cursor-y of the locked inset.
8922
8923         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8924         (setCursor): fixed for insets which need a full row.
8925
8926         * text.C (rowLastPrintable): don't ignore the last space when before
8927         an inset which needs a full row.
8928         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8929         as last character of a row when before a inset which needs a full row.
8930
8931 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8932
8933         * version.C.in: update date
8934
8935         * text2.C (fullRebreak): try to always return true and see what
8936         happens...
8937
8938 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8939
8940         * MenuBackend.C (expand): use Floating::listName
8941
8942         * FloatList.C (FloatList): add listName argument to the built-in
8943         floats
8944
8945         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8946         text associated with the float.
8947
8948 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8949
8950         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8951
8952 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8953
8954         * ShareContainer.h: add a couple of missing typenames.
8955
8956 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8957
8958         * lyxrc.C (getDescription): use _() correctly rather than N_().
8959
8960 2002-03-28  Herbert Voss  <voss@lyx.org>
8961
8962         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8963         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8964
8965 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8966
8967         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8968         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8969
8970 2002-03-29  Juergen Vigna  <jug@sad.it>
8971
8972         * lyxfunc.C (dispatch): add a missing fitCursor call.
8973
8974         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8975         it was scrolled by a cursor move, so return the bool status.
8976
8977         * BufferView.C (fitCursor): return the bool flag also to the outside
8978         world as this is needed.
8979
8980         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8981
8982         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8983         call the edit() as it is not needed (and wrong) IMO.
8984         (workAreaButtonPress): set the screen_first variable before evt.
8985         unlock the inset as this may change screen_first and then we have
8986         a wrong y position for the click!
8987
8988 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8989
8990         * MenuBackend.C (expand): another translation that I missed
8991
8992 2002-03-28  Juergen Vigna  <jug@sad.it>
8993
8994         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8995
8996         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8997
8998 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8999
9000         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9001
9002         * MenuBackend.C (expand): fix export/view/update when there is no
9003         document open.
9004
9005 2002-03-27  Herbert Voss  <voss@lyx.org>
9006
9007         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9008         and text%
9009
9010 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9011
9012         * bufferview_funcs.C (currentState): only show paragraph number
9013         for is DEVEL_VERSION is set.
9014
9015         * lyxfunc.C (dispatch): put warning in INFO channel
9016
9017         * MenuBackend.C (expand): translate the name of floats
9018
9019         * FloatList.C (FloatList): mark the float names for translation
9020
9021         * converter.C (convert): use LibScriptSearch
9022
9023 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9024
9025         * MenuBackend.C (defaults): fix default menu (we might as well get
9026         rid of it...)
9027
9028 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9029
9030         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9031         directory.
9032
9033 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9034
9035         * lyxvc.C: reorder includes.
9036
9037 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9038
9039         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9040           properly
9041
9042 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9043
9044         * CutAndPaste.C: change layouts earlier on paste
9045           to avoid crashing when calling getFont()
9046
9047 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9048
9049         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9050         irritating #error.
9051
9052 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9053
9054         * WorkArea.C: remove 'Pending' debug message.
9055
9056         * most files: ws cleanup
9057
9058         * buffer.[Ch]: ws changes
9059
9060         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9061
9062 2002-03-21  Juergen Vigna  <jug@sad.it>
9063
9064         * tabular.C (SetMultiColumn): collapse also the contents of the
9065         cells and set the last border right. Added a Buffer const * param.
9066
9067 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9068
9069         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9070         linking or not.
9071
9072 2002-03-19  Juergen Vigna  <jug@sad.it>
9073
9074         * text2.C (clearSelection): reset also xsel_cache.
9075
9076         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9077         where it needs to be called (John tells us to do so too :)
9078         (selectionLost): reset sel_cache.
9079
9080         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9081
9082 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9083
9084         * text2.C (setCursorIntern): put debuging code in INSETS channel
9085
9086 2002-03-19  André Pönitz <poenitz@gmx.net>
9087
9088         * lyxfunc.C: tiny whitespace change
9089
9090 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9091
9092         * ToolbarDefaults.C (init):
9093         * LyXAction.C (init):
9094         * commandtags.h:
9095         * BufferView_pimpl.C (Dispatch):
9096         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9097
9098 2002-03-19  Allan Rae  <rae@lyx.org>
9099
9100         * exporter.C (Export): removeAutoInsets before doing anything else.
9101         While I've just introduced a dependency on BufferView this really is
9102         the best place to clean the buffer otherwise you need to cleanup in
9103         a dozen places before calling export or cleanup in a dozen functions
9104         that export calls.
9105
9106         * converter.C (runLaTeX):
9107         (scanLog): Better handling of removeAutoInsets and screen updates.
9108
9109         * lyxfunc.C (dispatch): small whitespace changes
9110
9111 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9112
9113         * WorkArea.C (C_WorkAreaEvent): return a value.
9114         (event_cb): return 1 if we handled the event, 0 otherwise.
9115
9116         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9117
9118 2002-03-18  Juergen Vigna  <jug@sad.it>
9119
9120         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9121         (GetAdditionalWidth): ditto.
9122         (RightLine): ditto.
9123         (LeftLine): ditto.
9124
9125         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9126         inset if we're there actually (probably not used right now but this
9127         is the direction to go for unifying code).
9128         (paste): disable code to clear the selection.
9129
9130         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9131         inside an InsetText and move the check further up as it is in the
9132         wrong place.
9133
9134         * text2.C (pasteSelection): set a selection over the pasted text.
9135
9136 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9137
9138         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9139         and libgraphics to build on Cygwin.
9140
9141 2002-03-15  Juergen Vigna  <jug@sad.it>
9142
9143         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9144         inserting an Inset into the paragraph. I know this is not the best
9145         fix but we already use current_view in CutAndPaste so we will remove
9146         all of it's using at the same time.
9147
9148         * buffer.C (sgmlError): deactivated function till it is rewritten in
9149         the right mode, now it can create problems.
9150
9151         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9152         before accessing it.
9153
9154 2002-03-14  Juergen Vigna  <jug@sad.it>
9155
9156         * undo_funcs.C (textHandleUndo): do the right thing when updating
9157         the inset after the undo/redo.
9158
9159         * text2.C (setCursor): just some testcode for #44 not ready yet.
9160
9161         * undo_funcs.C (textHandleUndo): set the next() and previous()
9162         pointers of the paragraph to 0 before deleting otherwise we have
9163         problems with the Paragraph::[destructor].
9164
9165         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9166         on a paragraph insertion.
9167
9168 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9169
9170         * buffer.C (asciiParagraph): use += operator for char append to
9171         string.
9172
9173         * paragraph.C (getFontSettings): compare >= not just >
9174         (highestFontInRange): ditto
9175         (setFont): ditto
9176
9177 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9178
9179         * paragraph.C: change several algorithm to be more appripriate for
9180         the problem domain. This is lookip in FontList and in the InsetList.
9181
9182 2002-03-13  André Pönitz <poenitz@gmx.net>
9183
9184         * commandtags.h:
9185         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9186
9187 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9188
9189         * commandtags.h:
9190         * LyXAction.C:
9191         * lyxfunc.C:
9192         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9193
9194 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9195
9196         * Painter.C (display): anon helper function, adjust code for this
9197         change.
9198         (pixmap): remove function.
9199
9200         * Painter.h: remove private display variable.
9201
9202         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9203
9204 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9205
9206         * WorkArea.[Ch]: remove figinset_canvas cruft.
9207
9208 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9209
9210         * lyxtextclass.C (operator): add one item cache optimization.
9211
9212         * bufferlist.h: doxy changes
9213
9214         * bufferlist.C: ws changes
9215
9216         * DepTable.[Ch] (ext_exist): place const in the right spot.
9217
9218         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9219         call resizeInsets.
9220         (workAreaExpose): call resizeInsets when the with BufferView changes.
9221         (Dispatch): adjust for protectedBlank removal
9222         (specialChar): call updateInset if the insert went ok.
9223
9224         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9225         specialChar instead.
9226
9227         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9228
9229         * BufferView.h: doxy change
9230
9231         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9232
9233         * lyxtextclass.C (operator[]): remove non-const version
9234         (defaultLayout): remove non-const version
9235
9236 2002-03-12  Juergen Vigna  <jug@sad.it>
9237
9238         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9239         did resize the LyXText too.
9240
9241         * buffer.C (readLyXformat2): set layout information on newly allocated
9242         paragraphs.
9243
9244         * tabular.C (OldFormatRead): set layout information on the paragraph.
9245
9246 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9247
9248         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9249
9250 2002-03-11  Juergen Vigna  <jug@sad.it>
9251
9252         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9253         plainly wrong.
9254         (resizeCurrentBuffer): force also the insets to resize themselfes.
9255         (moveCursorUpdate): fixed up for InsetText.
9256
9257 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9258
9259         * commandtags.h:
9260         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9261         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9262         value of Dialogs::tooltipsEnabled().
9263         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9264
9265 2002-03-08  Juergen Vigna  <jug@sad.it>
9266
9267         * BufferView_pimpl.C (updateInset): update inset inside inset also
9268         if it isn't inside theLockingInset().
9269
9270 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9271
9272         * buffer.C (asciiParagraph): redo some of the word and line length
9273         handling.
9274         (getLists): look for Caption instead of caption.
9275
9276 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9277
9278         * buffer.C (Buffer): initialize niceFile to true
9279         (makeLaTeXFile):
9280         (makeLinuxDocFile):
9281         (makeDocBookFile): make sure niceFile is true on exit
9282
9283 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9284
9285         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9286
9287 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9288
9289         * LyXSendto.C: remove.
9290         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9291         * lyx_gui.C: remove now-redundant comment.
9292         * ColorHandler.h: remove forward declaration of class WorkArea.
9293         * lyxfunc.C: remove #include "WorkArea.h".
9294
9295 2002-03-07  Juergen Vigna  <jug@sad.it>
9296
9297         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9298         got moved away with the DEPM and also set the inset_owner always
9299         right which before could have been omitted.
9300
9301 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9302
9303         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9304         wanted layout is not found.
9305
9306 2002-03-07  Juergen Vigna  <jug@sad.it>
9307
9308         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9309
9310 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9311
9312         * paragraph.C (breakParagraph): use default layout not layout of
9313         prev paragraph.
9314         (Paragraph): clear ParagraphParameters.
9315
9316 2002-03-06  Juergen Vigna  <jug@sad.it>
9317
9318         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9319         otherwise it would not be a valid lenght. Fixed a special case in
9320         the minipage compatibility read where we end the document with a
9321         minipage.
9322
9323         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9324         was set as it could be 0 for InsetTexts first entry.
9325
9326 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9327
9328         * paragraph.C (writeFile): if layout is empty write out
9329         defaultLayoutName().
9330
9331         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9332         file without named layout we set layout to defaultLayoutName().
9333
9334 2002-03-06  Juergen Vigna  <jug@sad.it>
9335
9336         * CutAndPaste.C (copySelection): set layout for new paragraph.
9337
9338         * text.C (prepareToPrint): leave ERT inset left aligned
9339         (leftMargin): don't indent paragraphs inside ERT insets
9340
9341 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9342
9343         * paragraph.C (breakParagraph): dont call clear do the work manually
9344
9345         * paragraph.[Ch] (clear): remove function
9346
9347 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9348
9349         * paragraph.C (Paragraph): dont call clear, the work has already
9350         been done.
9351
9352         * lyxtextclass.C (operator): assert if n is empty
9353
9354         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9355         work manually instead.
9356
9357 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9358
9359         * BufferView_pimpl.C: protect selectionLost against text == 0
9360
9361 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9362
9363         * text.C (breakParagraph): fix a setting layout to '0' problem.
9364
9365 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9366
9367         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9368         final location of file, for the included files, and graphics.
9369
9370 2002-03-05  Juergen Vigna  <jug@sad.it>
9371
9372         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9373
9374 2002-03-04  Juergen Vigna  <jug@sad.it>
9375
9376         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9377
9378         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9379         last column of multicolumn cells.
9380         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9381
9382 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9383
9384         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9385         file if it doesn't go to a temporary file.
9386
9387         * buffer.C (sgmlOpenTag):
9388         (sgmlCloseTag):  remove extra newline insertion.
9389
9390 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9391
9392         * text.C (getRowNearY): comment out debug msg
9393
9394 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9395
9396         * text2.C: first -> first_y
9397
9398         * text.C (getRowNearY): add some attemts at a possible
9399         optimization, not working.
9400
9401         * tabular.[Ch]: add BufferParams to several function so that newly
9402         created paragraph can be initialized to he default layotu for the
9403         buffers textclass.
9404
9405         * tabular-old.C (ReadOld): add buf->params to call of Init
9406
9407         * screen.C: rename text->first to text->first_y
9408
9409         * paragraph.C (breakParagraph): always set layout in the broken
9410         paragraph
9411
9412         * lyxtextclass.C (Read): remove lowercase
9413         (hasLayout): ditto
9414         (operator): ditto
9415         (delete_layout): ditto
9416
9417         * lyxtext.h: rename first -> first_y
9418
9419         * lyxlayout.C (Read): remove lowercase
9420         (name): ditto
9421         (setName): ditto
9422         (obsoleted_by): ditto
9423
9424         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9425
9426         * buffer.C (insertErtContents): add params are to InsetERT
9427         (parseSingleLyXformat2Token): add code to check if a paragraphs
9428         layout really exist.
9429         (parseSingleLyXformat2Token): add params to several inset
9430         constructors
9431         (asciiParagraph): remove lowercase, do the layout comparisons with
9432         no_case
9433
9434         * BufferView_pimpl.C (cursorNext): first -> first_y
9435         (resizeCurrentBuffer): first -> first_y
9436         (updateScrollbar): first -> first_y
9437         (scrollCB): first -> first_y
9438         (workAreaMotionNotify): first -> first_y
9439         (workAreaButtonPress): first -> first_y
9440         (checkInsetHit): first -> first_y
9441         (cursorPrevious): first -> first_y
9442         (cursorNext): first -> first_y
9443         (Dispatch): add buffer_->params to severl inset contructors
9444
9445 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9446
9447         * lyxlayout.C (Read): remove some debug info that I forgot.
9448
9449         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9450         clean up the code slightly.
9451         (makeLinuxDocFile): ditto
9452         (makeDocBookFile): ditto
9453
9454         * text2.C: layout as string
9455
9456         * text.C: layout as string
9457
9458         * paragraph_pimpl.C: layout as string
9459
9460         * paragraph.[Ch]: layout as string
9461
9462         * lyxtextclasslist.[Ch]: layout as string
9463
9464         * lyxtextclass.[Ch]: layout as string
9465
9466         * lyxtext.h: layout as string
9467
9468         * lyxlayout.[Ch]: layout as string
9469
9470         * lyx_cb.C: layout as string
9471
9472         * bufferview_funcs.C: layout as string
9473
9474         * bufferparams.C: layout as string
9475
9476         * buffer.C: layout as string
9477
9478         * LyXView.[Ch]: layout as string
9479
9480         * LaTeXFeatures.[Ch]: layout as string
9481
9482         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9483
9484         * BufferView_pimpl.C: change current_layout to string, remove
9485         lyx::layout_type.
9486         (Dispatch):
9487         (smartQuote):
9488         (insertInset):
9489         (workAreaButtonRelease): layout as string
9490
9491         * BufferView2.C (unlockInset): adjust
9492
9493         * vspace.C (asLatexCommand): use an explict temp variable.
9494
9495 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9496
9497         * Makefile.am: use FRONTEND_*
9498
9499 2002-03-01  Juergen Vigna  <jug@sad.it>
9500
9501         * tabular.C (SetWidthOfMulticolCell): changed to something better
9502         I hope but still work in progress.
9503         (recalculateMulticolumnsOfColumn): renamed function from
9504         recalculateMulticolCells as it is more appropriate now.
9505         (SetWidthOfCell): calculate multicols better.
9506
9507 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9508
9509         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9510
9511         * lyxfunc.C (processKeySym): print sequence also if it is
9512         `deleted' (complete)
9513
9514         * kbsequence.C (print): print sequence even if it is deleted
9515         (complete would be a better word, actually).
9516
9517         * lyxfunc.C (dispatch): print complete options after a prefix key
9518
9519         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9520
9521 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9522
9523         * text2.C (setCharFont): eliminate setCharFont code duplication.
9524
9525 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9526
9527         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9528         LFUN_TABULAR_FEATURE (bug #177)
9529
9530 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9531
9532         * Makefile.am: remove figure.h
9533
9534 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9535
9536         * Bufferview_pimpl.C:
9537         * CutAndPasteC:
9538         * LaTeX.C:
9539         * LyXSendto.C:
9540         * buffer.C:
9541         * bufferlist.C:
9542         * converter.C:
9543         * language.C:
9544         * lyxfunc.C:
9545         * lyxvc.C:
9546         * paragraph.C:
9547         * text.C:
9548         * text2.C: remove #include "lyx_gui_misc.h".
9549
9550         * LaTeX.C: added #include <cstdio>
9551
9552 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9553
9554         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9555         that the paragraph following this one can have.
9556
9557         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9558
9559         * vspace.C (asLatexCommand): fix bogus gcc warning
9560
9561         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9562
9563 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9564
9565         * text2.C (setLayout): get rid of redundant code
9566
9567 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9568
9569         * text2.C (incDepth): make sure depth cannot be increased beyond
9570         reasonable values.
9571
9572 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9573
9574         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9575         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9576
9577         * PainterBase.h (image):
9578         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9579         a LyXImage const *.
9580
9581 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9582
9583         * BufferView.C:
9584         * BufferView.h:
9585         * BufferView_pimpl.C:
9586         * BufferView_pimpl.h:
9587         * LaTeXFeatures.C:
9588         * LyXAction.C:
9589         * LyXView.C:
9590         * Makefile.am:
9591         * UpdateList.h:
9592         * UpdateList.C:
9593         * buffer.C:
9594         * figure.h:
9595         * figureForm.C:
9596         * figureForm.h:
9597         * figure_form.C:
9598         * figure_form.h:
9599         * lyx_cb.C:
9600         * lyx_gui.C:
9601         * lyx_gui_misc.C:
9602         * lyxfunc.C:
9603         * sp_base.h:
9604         * sp_ispell.h:
9605         * sp_pspell.h:
9606         * sp_spell.C: remove fig inset, and the crap house of
9607           cards that follows it
9608
9609 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9610
9611         * Makefile.am:
9612         * lyxserver.C:
9613         * os2_defines.h:
9614         * os2_errortable.h:
9615         * nt_defines.h: move .h into support/
9616
9617         * vms_defines.h: remove
9618
9619         * WorkArea.C: add space in debug output
9620
9621         * text2.C:
9622         * paragraph.C:
9623         * buffer.C: add WITH_WARNINGS
9624
9625         * vc-backend.h:
9626         * vc-backend.C:
9627         * bufferlist.C: s/retrive/retrieve/, add docs
9628
9629         * vspace.h:
9630         * vspace.C:
9631         * kbmap.h:
9632         * lyxlength.h:
9633         * lyxgluelength.h:
9634         * length_common.h:
9635         * chset.h:
9636         * chset.C: add docs
9637
9638         * lyxgui.C: add ID to X error handler
9639
9640         * lyxtestclass.c: fix typo
9641
9642 2002-02-26  Juergen Vigna  <jug@sad.it>
9643
9644         * tabular_funcs.C (write_attribute): changed so that some default
9645         attributes are not written at all.
9646         (getTokenValue): set default values before trying to read the
9647         value so we have the return value always set as default if we don't
9648         find the token we search for.
9649
9650         * tabular.C (Write): write bools as bools not as strings!
9651
9652 2002-02-22  Juergen Vigna  <jug@sad.it>
9653
9654         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9655         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9656
9657         * text.C (leftMargin): don't add an indent for paragraphs inside
9658         tabular cells (fix #208).
9659
9660 2002-02-21  José Matos  <jamatos@fep.up.pt>
9661
9662         * tabular.C (docBook): fixed support for long tables.
9663
9664 2002-02-20  Juergen Vigna  <jug@sad.it>
9665
9666         * text2.C (getFont): get the drawing font of the Inset if this
9667         paragraph is inside an inset (only important for InsetERT for now).
9668
9669         * buffer.C (insertErtContents): use new lanugage params in ERT
9670         constructor.
9671
9672         * CutAndPaste.C: commenting out seemingly uneeded code.
9673
9674 2002-02-19  Allan Rae  <rae@lyx.org>
9675
9676         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9677         Iterators might be simple to use but they also get invalidated.
9678         (removeAutoInsets): renamed saved cursor tracking variables and added
9679         some comments to clarify what everything does.
9680
9681 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9682
9683         * Chktex.C:
9684         * LaTeX.C:
9685         * LyXSendto.C:
9686         * converter.C:
9687         * lyx_cb.C:
9688         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9689         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9690
9691         * lyxfunc.C:
9692         * vc-backend.h: remove #include "support/syscall.h"
9693
9694         * LaTeX.C:
9695         * LyXSendto.C:
9696         * converter.C: rearrange #includes in Lars' approved fashion.
9697
9698         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9699         forward declare class Timeout in the header file.
9700
9701         * XFormsView.C: changes due to the above.
9702
9703         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9704         similar to LyXView.
9705
9706         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9707         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9708
9709 2002-02-18  José Matos  <jamatos@fep.up.pt>
9710
9711         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9712         insets contents.
9713
9714 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9715
9716         * a lot of small ws changes
9717         * add a lot of using std::XXX
9718         * use std construcs some places where approp.
9719         * use some exisint stuff from lyxfunctional where approp.
9720         * Make file changes to use partial linking (lets test this now...)
9721
9722 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9723
9724         * Chktex.C:
9725         * buffer.C:
9726         remove #include "support/syscontr.h" as it's redundant. Always has been.
9727
9728         * Chktex.C:
9729         * LaTeX.C:
9730         * LyXSendto.C:
9731         * converter.C:
9732         * lyx_cb.C:
9733         * vc-backend.C:
9734         change Systemcalls::System to Systemcalls::Wait and
9735         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9736         No change of functionality, just reflects the stripped down Systemcalls
9737         class.
9738
9739 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9740
9741         * debug.[Ch]: add a GRAPHICS type to the enum.
9742
9743 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9744
9745         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9746
9747         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9748         there is an inset.
9749
9750 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9751
9752         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9753         match the changes below.
9754
9755         * text2.C (toggleInset): if there is not editable inset at cursor
9756         position, try to see if cursor is _inside_ a collapsable inset
9757         and close it.
9758
9759 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9760
9761         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9762         document menu has a nice checkbox
9763
9764 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9765
9766         * lyxlength.C (asLatexString): change PW to output as percent of
9767         \textwidth.
9768
9769         * lengthcommon.C: change '%' to 't%'
9770
9771         * lyxfunc.C (dispatch): a few comments from Martin
9772
9773 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9774
9775         * WorkArea.h:
9776         * WorkArea.C:
9777         * BufferView_pimpl.h:
9778         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9779           the X selection.
9780
9781 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9782
9783         * vspace.C (inPixels): fix compiler warning
9784
9785 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9786
9787         * lyxfunc.C (getStatus): fix status message for disabled commands.
9788
9789 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9790
9791         * BufferView_pimpl.C: fix crash on close buffer
9792         during selection (#227)
9793
9794 2002-01-27  Herbert Voss  <voss@lyx.org>
9795
9796         * buffer.C: link old Figure to new graphic inset
9797
9798 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9799
9800         * FontLoader.C (getFontinfo): Change the latex font names in order
9801         to match the names of type1inst.
9802
9803 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9804
9805         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9806
9807         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9808         (extchanged): ditto
9809         (ext_exist): ditto
9810         (remove_files_with_extension): ditto
9811         (remove_file): ditto
9812         (write): ditto
9813
9814         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9815         document is smaller than the work area height. Do not initialize
9816         static variables to 0.
9817
9818 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9819
9820         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9821
9822         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9823         LFUN_LAYOUT_PARAGRAPHS.
9824
9825         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9826         tabular. It is possible to provide a possible cell, which will
9827         typically be the actcell from the corresponding insettabular
9828
9829         * lyxfunc.C (getStatus): small cleanup; disable
9830         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9831         true
9832
9833 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9834
9835         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9836
9837         * paragraph.C (startTeXParParams):
9838         (endTeXParParams): new methods. The LaTeX code to
9839         start/end paragraph formatting
9840         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9841         empty (fixes bug #200)
9842
9843         * vspace.C (inPixels): adapt to the change below
9844         (inPixels): [later] more cleanups (remove unused variables)
9845
9846         * lyxlength.C (inPixels): change to use a width and a height as
9847         parameter.
9848
9849 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9850
9851         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9852         Replaced with \paperwidth
9853
9854         * DepTable.C (insert): add std:: qualifier
9855
9856 2002-01-18  Allan Rae  <rae@lyx.org>
9857
9858         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9859         updated also?
9860
9861         * text.C (drawInset): Turned out I didn't know enough about how
9862         rebreaking worked.  This fixes most of the redraw problems.  I see
9863         an occasional cursor trail when a line is broken now and the cursor
9864         placement can seem out by a few pixels also after a rebreak.
9865
9866 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9867
9868         * buffer.C (parseSingleLyXformat2Token): update because minipage
9869         width is now a LyXLength
9870
9871         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9872
9873         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9874         math insets
9875
9876 2002-01-17  Juergen Vigna  <jug@sad.it>
9877
9878         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9879
9880         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9881         is set correctly and the inset is updated correctly.
9882
9883 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9884
9885         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9886         the beginning of the loop.
9887
9888 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9889
9890         * lyxrc.C: improve help for use_scalable_fonts
9891
9892 2002-01-17  Allan Rae  <rae@lyx.org>
9893
9894         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9895
9896 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9897
9898         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9899         make sure to set their inset_owner to the right value (bug #171)
9900
9901 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9902
9903         * DepTable.h
9904         * DepTable.C: Implement mtime checking to reduce time spent doing
9905         CRCs.
9906
9907 2002-01-16  Juergen Vigna  <jug@sad.it>
9908
9909         * tabular.C (GetAdditionalHeight): one of error fixed.
9910
9911         * lyxrc.C (output): small fix in writing use_pspell.
9912
9913 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9914
9915         * sp_base.h: #include LString.h
9916
9917 2002-01-16  Allan Rae  <rae@lyx.org>
9918
9919         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9920         Can someone check this please?
9921
9922         * text.C (drawInset): It was possible that p.row would be removed by
9923         breakAgainOneRow upsetting a few other settings.  There may be another
9924         small tweak possible by setting need_break_row = 0 when p.row has been
9925         removed but I don't know enough about the logic here.
9926
9927 2002-01-15  Allan Rae  <rae@lyx.org>
9928
9929         * text.C (insertChar): removed conditional truism.
9930
9931         * BufferView2.C (removeAutoInsets): More tweaks.
9932         cur_par_prev could be a stray pointer.  Check for trailing empty line
9933         in case last line was cur_par and only had an error inset on it.
9934
9935 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9936
9937         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9938         absolute
9939
9940         * vc-backend.C (most methods):
9941         * exporter.C (Export):
9942         * converter.C (convert):
9943         (runLaTeX):
9944         * LyXSendto.C (SendtoApplyCB):
9945         * lyxfunc.C (dispatch):
9946         (menuNew):
9947         (open):
9948         (doImport):
9949         * lyx_cb.C (AutoSave):
9950         (InsertAsciiFile):
9951         * BufferView_pimpl.C (MenuInsertLyXFile):
9952         * buffer.C (runChktex): use Buffer::filePath().
9953
9954         * buffer.h: rename filename to filename_; rename filepath to
9955         filepath_ and make it private
9956         (filePath): new method
9957
9958         * buffer.C (writeFile): use fileName()
9959         (getLatexName):
9960
9961         * lyx_main.C (init): fix starting  of LyX when the binary is a
9962         link from so,ewhere else.
9963
9964         * minibuffer.C: include <cctype> for isprint
9965
9966 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9967
9968         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9969         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9970         name clash with InsetCollapsable's width function.
9971
9972 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9973
9974         * lastfiles.C: include <iterator>
9975
9976 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9977
9978         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9979         std::count.
9980
9981         * buffer.C (makeLaTeXFile): ditto.
9982         Also make loop operation more transparent.
9983
9984 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9985
9986         * ToolbarDefaults.C: remove trailing comma closing namespace.
9987
9988         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9989
9990         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9991         as in WorkArea.
9992
9993         * trans.C (Load): comment out unused variable, allowed.
9994
9995 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9996
9997         * minibuffer.[Ch] (append_char): new method to recieve input from the
9998         drop-down completion browser. If a key was pressed, then recieve this
9999         char and append it to the existing string.
10000         (peek_event): modify the positioning data passed to the completion
10001         browser so that it can be placed above the minibuffer rather than below.
10002 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10003
10004         * LyXAction.C (init): alloe error-next for readonly documents.
10005
10006         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10007         count.
10008
10009 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10010
10011         * bufferlist.C (readFile): create the buffer _after_ checking that
10012         the file exists.
10013
10014         * lyxfunc.C (verboseDispatch): fix handling of arguments
10015
10016         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10017
10018         * lyxrc.C: use string::erase() instead of initializing to "".
10019
10020
10021 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10022
10023         * BufferView_pimpl.h:
10024         * BufferView_pimpl.C:
10025         * WorkArea.h:
10026         * WorkArea.C:
10027         * text2.C: tell X when we have made a selection for copying
10028
10029 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10030
10031         * BufferView_pimpl.C (MenuInsertLyXFile):
10032         * lyxfunc.C (menuNew):
10033         (open):
10034         (doImport): add shortcuts to directory buttons
10035
10036         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10037         open a float)
10038
10039         * lyxfunc.C (setStatusMessage):
10040         (getStatusMessage): new methods
10041         (getStatus):use setStatusMessage instead of setErrorMessage
10042         (dispatch): when function is disabled, set error message here
10043         [instead of in getStatus previously]
10044
10045         * BufferView_pimpl.C (workAreaButtonRelease): update
10046         toolbar/menubar here too.
10047
10048 2002-01-13  Allan Rae  <rae@lyx.org>
10049
10050         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10051         Now seems indestructible.  Remaining task is to audit all other
10052         code affected by deleteEmptyParagraphMechanism.  One small quirk
10053         left is that an empty document with an error in the preamble can
10054         be made to report an error but no error box appears.  I don't know
10055         where it goes.
10056         (removeAutoInsets): Improved comments.
10057
10058 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10059
10060         * Thesaurus.h:
10061         * Thesaurus.C: update for Aiksaurus 0.14
10062
10063 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10064
10065         * text2.C (firstParagraph): removed member function, all uses
10066         replaces with ownerParagraph
10067         (redoParagraphs): here
10068         (updateInset): here
10069         (toggleAppendix): here
10070         * BufferView2.C (insertErrors): here
10071         (setCursorFromRow): here
10072
10073 2002-01-13  Allan Rae  <rae@lyx.org>
10074
10075         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10076         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10077         There is still a way to segfault this although you may have to do this
10078         multiple times: Have an InsetERT with an unknown command in it.
10079         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10080         <down-arrow>, <Enter> again, View->DVI, BANG!
10081
10082         * text2.C (setCursor):
10083         (deleteEmptyParagraphMechanism):
10084         * lyxtext.h (setCursor):
10085         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10086         Making use of the return value may help fix other bugs.
10087
10088 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10089
10090         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10091
10092         * LyXView.C (updateMenubar): call MenuBar::update here
10093         (updateToolbar): but not here
10094         (showState): do not update toolbar/menubar
10095
10096         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10097         should need to care about that.
10098
10099         * lyxfunc.C (verboseDispatch): simplify a bit
10100         (getStatus): have a version which takes a pseudoaction, and
10101         another which requires a (kb_action,string).
10102
10103         * LyXAction.C (retrieveActionArg): make it work also when action
10104         is not a pseudo-action.
10105         (getActionName): simplify a bit
10106         (helpText):
10107
10108 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10109
10110         * lyxfunc.C (verboseDispatch): new families of methods with
10111         several ways to specify a command and a bool to indicate whether
10112         the command name and shortcut should be displayed in minibuffer
10113         (eventually, we could extend that to a finer bitmask like
10114         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10115         (dispatch): the pristine dispatch command which just, well,
10116         dispatchs! Note it still sets its result to minibuffer; I'm not
10117         sure we want that.
10118
10119         * lyxfunc.h: remove setHintMessage
10120
10121         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10122
10123 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10124
10125         * BufferView_pimpl.C (specialChar): delete new inset if we have
10126         not been able to insert it.
10127
10128         * kbmap.C: revert to using int instead of kb_action, since all we
10129         are dealing with is pseudo-actions.
10130
10131         * LyXAction.C (searchActionArg): change to return int instead of
10132         kb_action, since the result is a pseudoaction.
10133
10134 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10135
10136         * buffer.C (insertErtContents): Fix (partially) the font bug.
10137
10138 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10139
10140         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10141         as the other one is broken on my machine!
10142
10143 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10144
10145         * commandtags.h:
10146         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10147
10148 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10149
10150         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10151         reflect their actual use. Provide compatibility code for older lyxrc
10152         files.
10153
10154         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10155         FL_NORMAL_STYLE.
10156         change names of popup font variables in line with the changes to lyxrc.C
10157
10158 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10159
10160         * buffer.C (asciiParagraph): avoid outputing a word twice after
10161         an inset.
10162
10163         * lyxrc.C (getDescription): document that document_path and
10164         template_path can be empty.
10165
10166 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10167
10168         * LaTeXFeatures.C (getMacros):
10169         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10170
10171         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10172
10173         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10174         getPackages.
10175         (getPackages): rename feature "floats" to "float". Use an array to
10176         iterate over 'simple' features (i.e. just a \usepackage). Add
10177         handling of "amsmath" (renamed from "amsstyle").
10178
10179 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10180
10181         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10182         features list.
10183
10184 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10185
10186         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10187         FuncStaus::FuncStatus & FuncStaus::some_method().
10188
10189 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10190
10191         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10192         of the func_satus stuff. Edited and massaged in various ways by
10193         JMarc.
10194
10195         * lyxfunc.C (getStatus): use FuncStatus
10196
10197 2002-01-08  Juergen Vigna  <jug@sad.it>
10198
10199         * text.C (nextBreakPoint): use function Inset::isChar().
10200
10201         * paragraph.C (TeXOnePar): use function
10202         Inset::forceDefaultParagraphs.
10203
10204         * buffer.C (latexParagraphs): use function
10205         Inset::forceDefaultParagraphs.
10206
10207 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10208
10209         * lyx_gui.C (init): set the style of the menu popups to
10210         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10211
10212 2002-01-07  Juergen Vigna  <jug@sad.it>
10213
10214         * text.C (setHeightOfRow): small fix
10215         (prepareToPrint): don't look at alignment if we don't have the place
10216         for doing it.
10217
10218 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10219
10220         * box.C: New file. Move the Box methods and functions out of box.h,
10221         following Lars' suggestion.
10222
10223 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10224
10225         * box.h: #include "support/LOstream.h", needed for inlined function.
10226
10227         * lyxtextclass.C:
10228         * lyxtextclasslist.C: added some using std declarations.
10229
10230 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10231
10232         * box.h: make signed dimensions to allow insets wider than
10233           the screen (bug #162)
10234
10235         * BufferView_pimpl.C: add some insetHit debug
10236
10237 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10238
10239         * vc-backend.C: add FIXME
10240
10241 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10242
10243         * lyxfunc.C (getStatus): enable code for showing math font status
10244         in toolbar/menu.
10245
10246 2002-01-07  Juergen Vigna  <jug@sad.it>
10247
10248         * text.C (nextBreakPoint): removed debug output not needed anymore.
10249
10250 2002-01-06  Juergen Vigna  <jug@sad.it>
10251
10252         * text.C (nextBreakPoint): fixed up this function we had this bug
10253         since ever but now hopefully we break row better.
10254         (insertChar): we have to check if an inset is the next char as it
10255         could now happen that a large inset is causing a break.
10256
10257 2002-01-05  Juergen Vigna  <jug@sad.it>
10258
10259         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10260         if it doesn't like to be drawed.
10261
10262 2002-01-04  Juergen Vigna  <jug@sad.it>
10263
10264         * BufferView2.C (lockInset): forgot to set a cursor.
10265
10266         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10267
10268 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10269
10270         * FormMathsPanel.C:
10271         * FormMathsPanel.h
10272         * MathsSymbols.C:
10273         * form_maths_panel.C:
10274         * form_maths_panel.h:
10275         * form_maths_panel.fd: implemented sub- and super- buttons in math
10276         panel.
10277
10278         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10279         (or ^ space) to be used as in TeX (req'd by André).
10280
10281         * lyxfunc.C: Allow ^ and _ again to be used both as
10282         super/subscript (mathed) and as themselves (in text).
10283
10284 2002-01-03  Allan Rae  <rae@lyx.org>
10285
10286         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10287         "LyX" or the filename of the current buffer if it has one.  This is a
10288         modified form of John Levon's patch.
10289
10290         * XFormsView.C (setWindowTitle): also set icon title.
10291
10292         * LyXView.h (setWindowTitle): signature changed.
10293         * XFormsView.h (setWindowTitle): ditto.
10294
10295 2002-01-02  Juergen Vigna  <jug@sad.it>
10296
10297         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10298
10299 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10300
10301         * screen.C (topCursorVisible): introduce a temp var for
10302         text->cursor.row(), handle the case where this row is null. (kindo
10303         hachish)
10304
10305         * text2.C (setCursor): add a couple of asserts.
10306
10307         * paragraph.h (inset_iterator): add -> operator
10308
10309         * paragraph.[Ch] (autoDeleteInsets): remove member function
10310
10311         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10312         cursor pos correctly and handle inset deletion by itself.
10313         (insertErrors): move iterator declaration out of for expression
10314
10315         * lyxtextclass.C: add <algorithm>
10316
10317         * Makefile.am: added the new files to sources, removed layout.C
10318
10319         * layout.C: removed file
10320
10321         * layout.h: remove LYX_DUMMY_LAYOUT
10322
10323         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10324         layout.
10325
10326         * lyxlayout.[Ch]:
10327         * lyxtextclass.[Ch]:
10328         * lyxtextclasslist.[Ch]: new files
10329
10330         * include order changes to a lot of files, also changes because of
10331         the six new files.
10332
10333 2001-12-27  Juergen Vigna  <jug@sad.it>
10334
10335         * buffer.C (asciiParagraph): more fixes.
10336
10337         * tabular.C (ascii): make ascii export support export of only the
10338         data separated by a column-delimiter.
10339         (ascii): better support for ascii export.
10340
10341         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10342
10343 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10344
10345         * tabular_funcs.C: use a "using std::getline" instead of the
10346         previous fix from Angus (necessary for cxx + lyxstring)
10347
10348 2001-12-24  Juergen Vigna  <jug@sad.it>
10349
10350         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10351
10352         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10353         problems. First check a minipage also if we have some ert-contents
10354         (not only on par->size(), second set the right depth of the paragraph
10355         on the relink to the root-paragraph-list!
10356
10357         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10358         which then did not anymore update the main paragraphs on undo/redo!
10359
10360 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10361
10362         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10363         code. Support all font-changing funcs (even those which are not in
10364         menu currently). Support for reporting font settings in
10365         mathed (disabled until Andre provides a function on mathed's side).
10366
10367         * func_status.h (toggle): small helper function to set toggle
10368         state on a flag.
10369
10370 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10371
10372         * tabular_funcs.C: getline -> std::getline
10373
10374 2001-12-21  Juergen Vigna  <jug@sad.it>
10375
10376         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10377         accessed and could be 0 (I couldn't generate this but it seems
10378         Michael could!).
10379
10380 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10381
10382         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10383         * tabular_funcs.h: here and include iosfwd
10384
10385 2001-12-20  Juergen Vigna  <jug@sad.it>
10386
10387         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10388         inside inset but undo_par was.
10389
10390 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10391
10392         * Thesaurus.C: always include <config.h> in sources.
10393
10394         * Painter.h:
10395         * lyxlookup.h:
10396         * box.h: do not include <config.h> in header files
10397
10398         * text.C (paintLastRow): remove unused variable
10399
10400         * text.C (transformChar):
10401         (insertChar):
10402         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10403
10404         * Painter.C (text):
10405         * font.C (width): rewrite to use uppercase() instead of
10406         islower/toupper.
10407
10408         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10409
10410 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10411
10412         * lyxfind.C: clean up of find failure position change
10413
10414 2001-12-20  Juergen Vigna  <jug@sad.it>
10415
10416         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10417
10418         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10419         (TeXRow): added to LaTeX a single tabular row.
10420         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10421         (Latex): simplified and finally good LT-h/f support.
10422         (various_functions): just small adaptions for LT-h/f support.
10423
10424         * tabular_funcs.[hC]: added and moved here all not classfunctions
10425         of LyXTabular.
10426
10427 2001-12-19  Juergen Vigna  <jug@sad.it>
10428
10429         * tabular.[Ch]: better support for longtabular options (not finished
10430         yet!)
10431
10432 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10433
10434         * text.C (paintLastRow): use the label font instead of the font of
10435         the last character to compute the size of *_BOX. This makes more
10436         sense and avoids a crash with empty paragraphs.
10437         Use Painter::rectangle to draw EMPTY_BOX.
10438
10439 2001-12-19  Juergen Vigna  <jug@sad.it>
10440
10441         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10442         the paragraphs if the replaced paragraph is not the first one!
10443         Tried to delete not used paragraphs but does not work yet so for
10444         now it's inside #ifdef's and by default off!
10445
10446 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10447
10448         * MenuBackend.C: include "lyx_main.h" instead of declaring
10449         lastfiles (actually was declared as LastFiles* instead of a
10450         scoped_ptr).
10451
10452 2001-12-17  Juergen Vigna  <jug@sad.it>
10453
10454         * tabular.C (AppendColumn): applied John's fix
10455
10456 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10457
10458         * BufferView.h:
10459         * BufferView.C:
10460         * BufferView_pimpl.h:
10461         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10462
10463         * Makefile.am:
10464         * box.h: new start of class for above
10465
10466         * lyxfunc.C: ignore space-only minibuffer dispatches.
10467           Show the command name when it doesn't exist
10468
10469         * minibuffer.C: don't add empty lines to the history
10470
10471         * minibuffer.C: add a space on dropdown completion
10472
10473 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10474
10475         * text.C: fix line above/below drawing in insets
10476
10477 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10478
10479         * lyxlength.C (LyXLength): Initialize private variables.
10480
10481 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10482
10483         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10484         when inserting error insets.
10485
10486 2001-12-13  Juergen Vigna  <jug@sad.it>
10487
10488         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10489         actually sometimes the before-paragraph.
10490         (setUndo): don't clear the redostack if we're not actually undoing!
10491
10492 2001-12-06  Juergen Vigna  <jug@sad.it>
10493
10494         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10495         and fixed redoing of main paragraph, so we can use it now ;)
10496
10497         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10498
10499 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10500
10501         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10502         Juergen's request
10503
10504 2001-12-13  André Pönitz <poenitz@gmx.net>
10505
10506         * undostack.[Ch]:
10507         * undo_func.C: minor cleanup
10508
10509 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10510
10511         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10512         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10513         font in urw-fonts package which is marked as -urw-fontspecific and
10514         does not work (incidentally, changing the encoding in the
10515         fonts.dir of this package to -adobe-fontspecific fixes the
10516         problem).
10517
10518         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10519         is a crash when undoing first paragraph (Juergen, please take a
10520         look). THis does not mean the undo fix is wrong, just that it
10521         uncovers problems.
10522
10523         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10524         the (Paragraph*) version when needed instead of duplicating the
10525         code.
10526
10527         * text.C (workWidth): use Inset::parOwner to find out where the
10528         inset has been inserted. This is a huge performance gain for large
10529         documents with lots of insets. If Inset::parOwner is not set, fall
10530         back on the brute force method
10531
10532         * paragraph_pimpl.C (insertInset):
10533         * paragraph.C (Paragraph):
10534         (cutIntoMinibuffer): set parOwner of insets when
10535         inserting/removing them
10536
10537         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10538
10539 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10540
10541         * commandtags.h:
10542         * LyXAction.C:
10543         * lyx_main.C:
10544         * lyxfunc.C:
10545         * mathed/formulabase.C:
10546         * mathed/math_cursor.[Ch]:
10547         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10548
10549
10550 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10551
10552         * lyxlength.[Ch] (operator!=): new function
10553
10554 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10555
10556         * text.C (workWidth): use Inset::parOwner to find out where the
10557         inset has been inserted. This is a huge performance gain for large
10558         documents with lots of insets. If Inset::parOwner is not set, fall
10559         back on the brute force method
10560
10561         * paragraph_pimpl.C (insertInset):
10562         * paragraph.C (Paragraph):
10563         (cutIntoMinibuffer): set parOwner of insets when
10564         inserting/removing them
10565
10566         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10567
10568 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10569
10570         * tabular-old.C (getTokenValue):
10571         * tabular.C (getTokenValue):
10572         (write_attribute): new versions for LyXLength
10573         (everywhere): adjust the use of widths
10574
10575         * tabular.h: change the type of widths from string to LyXLength
10576
10577 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10578
10579         * paragraph.C: fixed missing line number count when exporting
10580         Environments to LaTeX file
10581
10582         * buffer.C: added informational message for checking line numbers.
10583
10584 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10585
10586         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10587         paragraph, do the 'double space' part, but not the 'empty
10588         paragraph' one.
10589
10590         * text.C (workWidth): small optimization
10591         (getLengthMarkerHeight): use minimal size for negative lengths.
10592
10593 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10594
10595         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10596
10597         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10598
10599 2001-12-11  André Pönitz <poenitz@gmx.net>
10600
10601         * FontLoader.C:
10602         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10603
10604 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10605
10606         * text2.C: keep selection on a setFont()
10607
10608 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10609
10610         * lyx_cb.C: another bv->text misuse, from insert label
10611
10612 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10613
10614         * kbsequence.h:
10615         * kbsequence.C: re-instate nmodifier mask
10616
10617 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10618
10619         * lyx_main.h: make lyxGUI private.
10620
10621 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10622
10623         * lyxfind.C: place the cursor correctly on failed search
10624
10625 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10626
10627         * text.C (getLengthMarkerHeight): for small heights, the arrows
10628         are not always on top/bottom of the text
10629         (drawLengthMarker): smaller arrows; take the left margin in
10630         account; draw also vfills.
10631         (paintFirstRow):
10632         (paintLastRow): remove special code for vfill and standard spaces,
10633         since everything is handled in drawLengthMarker now.
10634
10635 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10636
10637         * buffer.C (insertErtContents): try to handle font and language
10638         interaction a bit better.g
10639
10640         * ColorHandler.C (updateColor): change the hash to cover the whole
10641         LColor enum, ws cleanup
10642         (getGCLinepars): ditto
10643         (getGCLinepars): only lookup in the linecache once.
10644
10645 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10646
10647         * iterators.C (operator++): Make the iterator more robust
10648
10649         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10650         (John's patch)
10651         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10652
10653 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10654
10655         * lyxtext.h:
10656         * text.C: better added space drawing
10657
10658 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10659
10660         * LyXView.C:
10661         * BufferView2.C: fix layout combo update on inset unlock
10662
10663 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10664
10665         * Makefile.am: don't compile unused files
10666
10667 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10668
10669         * lyxfunc.C:
10670         * commandtags.h:
10671         * LyXAction.C: remove old LFUN_LAYOUTNO
10672
10673 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10674
10675         * paragraph_pimpl.h:
10676         * paragraph_pimpl.C: isTextAt() doesn't need font param
10677
10678 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10679
10680         * lyxlex.h:
10681         * lyxlex.C: little cleanup
10682
10683 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10684
10685         * BufferView_pimpl.C: fix insertAscii for insets
10686
10687 2001-12-05  Juergen Vigna  <jug@sad.it>
10688
10689         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10690         set the right font on the "multi" paragraph paste!
10691
10692 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10693
10694         * trans_decl.h:
10695         * trans_mgr.[Ch]:
10696         * trans.[Ch]:
10697         * lyxgluelength.C:
10698         * lyxlength.C: remove out-commented code.
10699
10700         * BufferView_pimpl:
10701         * CutAndPaste.C:
10702         * DepTable.C:
10703         * buffer.C:
10704         * chset.C:
10705         * lastfiles.C:
10706         * lyxlex.C:
10707         * lyxlex_pimpl.C:
10708         * lyxserver.C:
10709         * screen.C:
10710         * tabular-old.C:
10711         * tabular.C:
10712         * text.C:
10713         * trans_mgr.C:
10714         * vc-backend.C: change "while(" to "while ("
10715
10716         * lyxlength.[Ch]: add zero function to check if length is zero or
10717         not
10718         * lyxgluelength.C: use it
10719
10720 2001-12-05  Allan Rae  <rae@lyx.org>
10721
10722         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10723         Works for 2.95.3, from what I understand of Garst's reports this should
10724         work for other g++ versions.  We're screwed if the abs(int) definition
10725         changed between bugfix releases of gcc.
10726
10727 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10728
10729         * text.C: fix chapter label offset !
10730
10731 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10732
10733         * lyxtext.h:
10734         * text.C: fix hfill at end of line, clean up
10735
10736 2001-12-04  Juergen Vigna  <jug@sad.it>
10737
10738         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10739         that we force an update of the inset and it's owners if neccessary.
10740
10741 2001-12-03  Juergen Vigna  <jug@sad.it>
10742
10743         * text.C (rowLast): simplified code
10744
10745 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10746
10747         * lyxfunc.C: fix show options on timeout
10748
10749 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10750
10751         * screen.C (topCursorVisible): scroll half a page when the cursor
10752         reached top of bottom of screen
10753
10754 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10755
10756         * minibuffer.C: deactivate on loss of focus
10757
10758 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10759
10760         * vspace.[Ch] (operator!=): add operator.
10761
10762 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10763
10764         * BufferView_pimpl.C: refuse to open an inset when
10765         there's a selection.
10766
10767 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10768
10769         * BufferView_pimpl.C: allow to click on RHS of full row insets
10770
10771 2001-11-30  Juergen Vigna  <jug@sad.it>
10772
10773         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10774         insets for undo reasons.
10775
10776 2001-11-28  André Pönitz <poenitz@gmx.net>
10777
10778         * vspace.[Ch]: cosmetical changes
10779
10780 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10781
10782         * LyXAction.h:
10783         * LyXAction.C:
10784         * lyxfunc.h:
10785         * lyxfunc.C:
10786         * kbmap.h:
10787         * kbmap.C:
10788         * lyxrc.C:
10789         * kbsequence.h:
10790         * kbsequence.C: part re-write of old kb code
10791
10792         * Painter.C:
10793         * WorkArea.C: remove Lgb_bug_find_hack
10794
10795 2001-11-30  José Matos <jamatos@fep.up.pt>
10796
10797         * buffer.C (makeDocBookFile): add a comment to point a hack.
10798         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10799         Fixed a double write of labels.
10800
10801 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10802
10803         * LaTeX.C:
10804         * LaTeX.h Fixed bug in LaTeX class where it would not
10805         re-run latex if no depfiles were changed, but the .dvi was removed.
10806
10807 2001-11-28  André Pönitz <poenitz@gmx.net>
10808
10809         * all the files from the change on 2001/11/26:
10810         use lyx::layout_type instead of LyXTextClass::size_type
10811         use lyx::textclass_type instead of LyXTextClassList::size_type
10812
10813 2001-11-29  Juergen Vigna  <jug@sad.it>
10814
10815         * text.C: added support for paragraph::isFreeSpacing()
10816
10817         * buffer.C: same as above
10818
10819         * paragraph.h: inserted isFreeSpacing() function to enable
10820         FreeSpacing inside InsetERT.
10821
10822         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10823         of the paragraph's in the cut/copy buffer to 0!
10824
10825         * text2.C (removeRow): remove the assert as it can!
10826
10827         * lyxtext.h: added helper function firstRow returning firstrow and
10828         made firstrow private again.
10829
10830         * BufferView2.C (lockInset): don't relock if we're already locked!
10831
10832         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10833         the only paragraph.
10834         (removeRow): added Assert::(firstrow)
10835
10836         * debug.C: forgot to add INSETTEXT here.
10837
10838 2001-11-28  Juergen Vigna  <jug@sad.it>
10839
10840         * sp_spell.C (initialize): changed error text to more general
10841         spellchecker command use (not only ispell!)
10842
10843         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10844
10845         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10846
10847 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10848
10849         * vspace.C: initialise lyxgluelength on failure
10850
10851 2001-11-28  Allan Rae  <rae@lyx.org>
10852
10853         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10854         declaration & definition that looks like a function declaration.
10855
10856 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10857
10858         * BufferView2.C (copy):
10859         (copyEnvironment): do not clear the selection when doing a copy.
10860
10861         * text.C (paintFirstRow): compilation fix
10862
10863 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10864
10865         * tabular.C (Latex): correct line count when writing latex.
10866
10867 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10868
10869         * paragraph_pimpl.h:
10870         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10871           bug a bit
10872
10873 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10874
10875         * text.C:
10876         * LColor.h:
10877         * LColor.C: change vfillline->added_space
10878
10879         * text.C: add markers and text for added space
10880
10881         * vspace.C: fix comment
10882
10883 2001-11-28  André Pönitz <poenitz@gmx.net>
10884
10885         * paragraph.C: whitespace changes
10886         * all the other files from the change on 2001/11/26:
10887         change *::pos_type into lyx::pos_type
10888
10889 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10890
10891         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10892         language of the document when inserting error insets.
10893
10894 2001-11-26  André Pönitz <poenitz@gmx.net>
10895
10896         * BufferView_pimpl.[Ch]:
10897         *       CutAndPaste.C:
10898         * buffer.[Ch]:
10899         * lyxcursor.[Ch]:
10900         * lyxfind.C:
10901         * lyxfunc.C:
10902         * lyxrow.[Ch]:
10903         * paragraph.[Ch]:
10904         * paragraph_pimpl.[Ch]:
10905         * sp_spell.C:
10906         * text.C:
10907         * text2.C: reduce header dependencies, introduce type for positions
10908
10909 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10910
10911         * <various>: change to use Alert.h
10912
10913 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10914
10915         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10916         when encountering an unknown token.
10917         (readLyXformat2): Show an error message if there were unknown tokens.
10918
10919 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10920
10921         * BufferView2.C:
10922         * BufferView_pimpl.C:
10923         * buffer.C:
10924         * paragraph.h:
10925         * text.C:
10926         * text2.C: use par->isInset()
10927
10928 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10929
10930         * paragraph_pimpl.h:
10931         * paragraph_pimpl.C: cleanup
10932
10933 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10934
10935         * text2.C (removeRow):
10936         * text.C (setHeightOfRow): remove useless (and costly) call to
10937         getRow.
10938
10939 2001-11-20  Allan Rae  <rae@lyx.org>
10940
10941         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10942         Now need Inset*::checkInsertChar() to return true for appropriate
10943         cases so that the characters in the minibuffer will actually be
10944         inserted.
10945
10946 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10947
10948         * text.C: change the order of the includes.
10949         (workWidth): initialize it at once.
10950         (workWidth): make maxw unsigned
10951         (setHeightOfRow): remove unused variable (inset)
10952         (selectSelectedWord): remove unused variable (inset)
10953         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10954
10955 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10956
10957         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10958         server is not running.
10959         (openConnection):
10960         (closeConnection): add debug info when server is disabled.
10961
10962         * ColorHandler.C (getGCForeground): send debug message to GUI
10963         channel.
10964
10965         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10966
10967         * kbmap.C (bind): modify because return conventions of
10968         kb_sequence::parse have changed.
10969
10970         * kbsequence.C (parse): only ignore spaces and not any stupid
10971         control character. This avoids tests like s[i] <= ' ', which are
10972         guaranteed to fail with 8bit characters and signed chars.
10973         Change return code to string::npos when there have been no error
10974         (0 was a bad idea when error is at first character)
10975
10976 2001-11-14  José Matos  <jamatos@fep.up.pt>
10977
10978         * buffer.h:
10979         * buffer.C (simpleDocBookOnePar): removed unused argument.
10980
10981 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10982
10983         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10984         insets which are part of a word. Paragraph::isLetter takes care of
10985         that now. Use Paragraph::isInset to identify insets.
10986         (selectSelectedWord): do not test for hyphenation break.
10987
10988         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10989         that protected spaces are considered as spaces.
10990
10991         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10992         Inset::isLetter.
10993
10994 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10995
10996         * lyxserver.h:
10997         * lyxserver.C: fix it. and small cleanup.
10998
10999 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11000
11001         * BufferView_pimpl.C: use inline helpers
11002
11003         * LaTeXFeatures.h:
11004         * LaTeXFeatures.C: fix typos
11005
11006         * Spacing.h:
11007         * Spacing.C: move spacing_string into class
11008
11009         * ToolbarDefaults.C: move stuff into namespace anon
11010
11011         * layout.h: update enum
11012
11013         * lyxfunc.C: use better debug
11014
11015         * minibuffer.h: fix typo
11016
11017         * debug.h:
11018         * debug.C:
11019         * WorkArea.C: add and use Debug::WORKAREA
11020
11021         * lyxtext.h:
11022         * text.C:
11023         * text2.C: code re-organisation, inline helpers
11024
11025 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11026
11027         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11028         std::vector.empty().
11029
11030 2001-11-09  Allan Rae  <rae@lyx.org>
11031
11032         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11033         '\n's after tables.  Tabular and ERT inset work now makes this no
11034         longer necessary.
11035
11036 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11037
11038         * minibuffer.h:
11039         * minibuffer.C: fix crash, improve drop-down completion
11040
11041 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11042
11043         * lyxserver.h:
11044         * lyxserver.C: invalidate fd's when doing endPipe()
11045
11046 2001-11-08  José Matos  <jamatos@fep.up.pt>
11047
11048         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11049         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11050
11051         * paragraph.h:
11052         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11053
11054 2001-11-07  José Matos  <jamatos@fep.up.pt>
11055
11056         * buffer.h:
11057         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11058         const qualifier.
11059
11060         * buffer.C (sgmlOpenTag):
11061         * buffer.C (sgmlCloseTag): removed debug info.
11062
11063         * buffer.h (sgmlOpenTag):
11064         * buffer.h (sgmlCloseTag): made public.
11065
11066 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11067
11068         * buffer.C (saveParamsAsDefaults):
11069         * lyx_cb.C (MenuLayoutSave): remove
11070
11071         * LyXAction.C (init):
11072         * commandtags.h:
11073         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11074
11075 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11076
11077         * buffer.C (setPaperStuff): removed from here...
11078
11079         * bufferparams.C (setPaperStuff): ... and moved there.
11080
11081 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11082
11083         * minibuffer.h:
11084         * minibuffer.C:
11085         * XFormsView.C: add support for drop-down completion
11086
11087 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11088
11089         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11090         commands.
11091
11092 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11093
11094         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11095         disabled.
11096
11097 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11098
11099         * lyx_main.C: change ref to known bugs
11100
11101 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11102
11103         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11104         to work around older babel problems.
11105
11106 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11107
11108         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11109
11110 2001-10-24  Juergen Vigna  <jug@sad.it>
11111
11112         * tabular-old.C (ReadOld): below variable changes reflected.
11113
11114         * tabular.[Ch]: added ltType struct for longtable header/footer
11115         defines and changed all instances where they are used. Added
11116         future support for double top/bottom rows.
11117
11118 2001-10-24  José Matos  <jamatos@fep.up.pt>
11119
11120         * buffer.h (docbookHandleCaption):
11121         * buffer.C (docbookHandleCaption): removed unused function.
11122         (makeDocBookFile): moved docbook supported version to v4.1.
11123
11124 2001-10-24  José Matos  <jamatos@fep.up.pt>
11125
11126         * tabular.h:
11127         * tabular.C (docbookRow): new function to export docbook code of a row.
11128         (DocBook): now honors the longtable flags.
11129
11130 2001-10-23  José Matos  <jamatos@fep.up.pt>
11131
11132         * LaTeXFeatures.h:
11133         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11134         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11135
11136         * buffer.C (makeLinuxDocFile):
11137         (makeDocBookFile): reworked the preamble, more clean, and with
11138         support for lyx defined entities. Changed the document declaration
11139         to be more XML friendly.
11140
11141         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11142         if we need to output XML that should be done with a filter.
11143
11144 2001-10-22  Juergen Vigna  <jug@sad.it>
11145
11146         * sp_pspell.h (class PSpell): add alive function needed in the
11147         controller to see if the spellchecker could be started.
11148
11149 2001-10-22  Juergen Vigna  <jug@sad.it>
11150
11151         * buffer.C (insertStringAsLines): modify the font for inserting
11152         chars in certain conditions by calling checkInsertChar(font).
11153
11154 2001-10-19  Juergen Vigna  <jug@sad.it>
11155
11156         * text.C (workWidth): use getRow instead of wrong algorithm.
11157         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11158
11159 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11160
11161         * lyxserver.h:
11162         * lyxserver.C:
11163         * lyx_main.h:
11164         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11165
11166 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11167
11168         * text.C (workWidth): do not search for the exact row when
11169         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11170         optimization for big documents.
11171
11172 2001-10-18  Juergen Vigna  <jug@sad.it>
11173
11174         * text.C (workWidth): new function with added Inset * parameter.
11175
11176 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11177
11178         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11179
11180         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11181         change return type of getColumnNearX.
11182
11183
11184         * text.C (changeRegionCase): use uppercase/lowercase instead of
11185         toupper/tolower.
11186         (leftMargin):
11187         (rightMargin): simplify code by factoring out the uses of
11188         textclasslist.
11189         (labelFill):
11190         (numberOfHfills):
11191         (setHeightOfRow):
11192         (appendParagraph): use Paragraph::size_type
11193
11194 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11195
11196         * vspace.C (asLatexString): add a missing break
11197
11198 2001-10-15  Herbert Voss  <voss@perce.de>
11199
11200         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11201
11202 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11203
11204         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11205         is not available.
11206
11207 2001-10-10  André Pönitz <poenitz@gmx.net>
11208
11209         * lyxfunc.C: removed greek_kb_flag.
11210
11211 2001-10-10  Herbert Voss  <voss@perce.de>
11212
11213         * lyx_main.C: delete global string help_lyxdir.
11214
11215 2001-10-09  Herbert Voss  <voss@perce.de>
11216
11217         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11218
11219         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11220
11221         * lyx_main.C: added global string help_lyxdir.
11222
11223         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11224
11225 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11226
11227         * lyxrc.C (set_font_norm_type): support iso8859-4
11228
11229 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11230
11231         * LaTeX.C (deplog): add another regex for MikTeX
11232
11233 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11234
11235         * lyxrc.C (set_font_norm_type): support iso8859-3
11236
11237 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11238
11239         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11240
11241         * LaTeXFeatures.C: remove special case of french and index
11242
11243         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11244         before \begin{document}). This solves several incompatibilities.
11245
11246 2001-10-03  Garst Reese  <reese@isn.net>
11247
11248         * lyx_cb.C: change CheckTex error msg.
11249
11250 2001-10-03  José Matos  <jamatos@fep.up.pt>
11251
11252         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11253
11254 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11255
11256         * .cvsignore: update
11257
11258         * lyx_main.C (commandLineVersionInfo): use new style version info.
11259
11260         * buffer.C (writeFile):
11261         (makeLaTeXFile):
11262         (makeLinuxDocFile):
11263         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11264
11265         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11266
11267         * version.h: update to use stuff in version.C
11268
11269         * version.C.in: new file. Contains version information determined
11270         at compile time. This is a merging of version.h and
11271         version_info.h.in.
11272
11273 2001-10-03  Juergen Vigna  <jug@sad.it>
11274
11275         * BufferView_pimpl.C (update): don't change "dirty" status in
11276         updateInset call.
11277
11278 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11279
11280         * WorkArea.C (c-tor): re-position version string slightly.
11281
11282 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11283
11284         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11285         revert to previous code.
11286
11287         WorkArea.[Ch]: (show, destroySplash): methods removed.
11288
11289         WorkArea.C: rework code so that it's an amalgam of the codes before and
11290         after the splash screen was moved to WorkArea.
11291
11292 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11293
11294         * lyxrc.C (read):
11295         * vspace.C (inPixels):
11296         (lyx_advance):
11297         * kbmap.C (bind):
11298         * buffer.C (insertStringAsLines):
11299         (asciiParagraph): fix types to be large enough
11300
11301         * lyxlex_pimpl.h: change member status from short to int
11302
11303         * layout.h: fix type of endlabeltype
11304
11305         * kbmap.C (bind):
11306         * kbsequence.C (parse): change return type to string::size_type
11307
11308         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11309         variable
11310
11311         * Bullet.C (bulletSize):
11312         (bulletEntry): do not use short ints as parameters
11313
11314         * BufferView2.C (insertLyXFile): change a char to an int.
11315
11316         * WorkArea.C (WorkArea): remove unneeded floats in computation
11317
11318 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11319
11320         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11321
11322         * paragraph.C (asString): Do not ignore newline/hfill chars when
11323         copying to the clipboard.
11324
11325 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11326
11327         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11328         after a multi-line inset.
11329
11330 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11331
11332         * paragraph.C (validate): Set NeedLyXFootnoteCode
11333
11334 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11335
11336         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11337         and decrease-error to decrease.
11338
11339 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11340
11341         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11342         it more readable (should be equivalent)
11343
11344 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11345
11346         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11347
11348 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11349
11350         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11351         of a cursor (row, etc.) after a character has been deleted
11352         (deleteEmptyParagraphMechanism): call the method above on _all_
11353         cursors held by the LyXText when a double space has been
11354         detected/deleted.
11355
11356 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11357
11358         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11359         pixmap.
11360         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11361
11362         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11363         background. Use greyOut() and the new show() methods to toggle between
11364         the foreground and background. Add code to remove the splash after
11365         its initial showing.
11366
11367         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11368         (create_forms): no longer call Dialogs::showSplash.
11369
11370 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11371
11372         * .cvsignore: add version_info.h
11373
11374 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11375
11376         * version_info.h.in: new file
11377
11378         * Makefile.am: add version_info.h.in
11379
11380         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11381         version_info.h instead of VERSION_INFO
11382
11383 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11384
11385         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11386         The ERT inset now returns string().
11387
11388 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11389
11390         * lyxtext.h, text.C (selectNextWord): renamed as
11391         selectNextWordToSpellcheck.
11392
11393         * text.C (selectNextWordToSpellcheck): Modified to not select
11394         words inside an ERT inset.
11395
11396 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11397
11398         * lyx_cb.C (MenuLayoutSave): change a bit the question
11399
11400         * sp_base.h: include <sys/types.h>
11401
11402 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11403
11404         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11405
11406 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11407
11408         * several files: fix typos in user-visible strings
11409
11410 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11411
11412         * text2.C (pasteSelection): do not set the selection, since it
11413         will be cleared later. Actually, the intent was to fix the way the
11414         selection was set, but I figured rmoving the code was just as good.
11415
11416 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11417
11418         * FontLoader.C (available): Check if font is available without
11419         loading the font.
11420
11421 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11422
11423         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11424
11425 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11426
11427         * lyxrc.[Ch]: added display_graphics variable and associated code.
11428
11429 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11430
11431         * bufferparams.C (hasClassDefaults): new method. Returns true if
11432         the buffer parameters correspond to known class defaults
11433
11434 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11435
11436         * XFormsView.C (show): set minimum size to the main window.
11437
11438 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11439
11440         * text2.C (copySelection):
11441         (cutSelection):
11442         * lyxfind.C (LyXReplace):
11443         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11444         LyXText::selectionAsString.
11445
11446         * paragraph.C (asString): add "label" argument to the second form
11447
11448         * text2.C (selectionAsString): add "label" argument and pass it to
11449         Paragraph::asString.
11450
11451 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11452
11453         * lyx_main.C (commandLineHelp): remove version information
11454
11455 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11456
11457         * lyx_main.C: add -version commandline option
11458
11459 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11460
11461         * paragraph.h: make the optional constructor arg required instead.
11462         some modifications to other files because of this.
11463
11464         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11465
11466         * lyxserver.C (C_LyXComm_callback): make it static
11467
11468         * lyx_main.C (error_handler): make it static
11469
11470         * lyx_gui.C (LyX_XErrHandler): make it static
11471
11472         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11473
11474         * WorkArea.C: make the extern "C" methods static.
11475
11476         * Makefile.am (lyx_LDADD): simplify
11477
11478 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11479
11480         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11481         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11482
11483         * LyXAction.C (init):
11484         * lyxfunc.C (dispatch): associated code removal.
11485
11486 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11487
11488         * lyxfont.h (isSymbolFont): shut off warning
11489
11490         * text.C (setHeightOfRow):
11491         (getVisibleRow): fix crash with empty paragraphs which have a
11492         bottom line
11493
11494 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11495
11496         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11497         code.
11498
11499 2001-09-04  José Matos  <jamatos@fep.up.pt>
11500         * buffer.C
11501         * buffer.h
11502         * tabular.C (docbook): rename docBook method to docbook.
11503
11504 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11505
11506         * Makefile.am: add dependencies to main.o.
11507
11508 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11509
11510         * FontLoader.C (available): Return false if !lyxrc.use_gui
11511
11512 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11513
11514         * FontInfo.C (query):
11515         * converter.C (view):
11516         * importer.C (Import):
11517         * exporter.C (Export): Can not -> cannot.
11518
11519 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11520
11521         * BufferView_pimpl.C: allow to create index inset even if
11522           string is empty
11523
11524 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11525
11526         * buffer.C (getLists): replace boost::tie code with an explicit pair
11527         as boost::tie can break some compilers.
11528
11529         * iterators.h: Added a std:: declaration to the return type of
11530         ParIterator::size.
11531
11532 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11533
11534         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11535           case.
11536
11537 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11538
11539         * iterators.[Ch]: New files. Provide paragraph iterators.
11540
11541         * buffer.C (changeLanguage): Use paragraph iterators.
11542         (isMultiLingual): ditto
11543
11544         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11545
11546 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11547
11548         * FontLoader.C: Support for cmr font.
11549
11550 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11551
11552         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11553         (available): New method.
11554
11555         * FontInfo.C (getFontname): Use scalable fonts even when
11556         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11557         found.
11558
11559 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11560
11561         * converter.C (Formats::view): reverted! Incorrect fix.
11562
11563 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11564
11565         * converter.C (Formats::view): only output the -paper option
11566         if the dvi viewer is xdvi, thereby fixing bug #233429.
11567
11568 2001-08-23  Herbert Voss  <voss@perce>
11569
11570         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11571
11572 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11573
11574         * Spacing.h (Spacing): Set space to Default on in the default
11575         constructor.
11576
11577 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11578
11579         * vc-backend.h (RCS::versionString): add RCS to version
11580         (CVS::versionString): add CVS to version
11581
11582         * vc-backend.C (scanMaster): do not add CVS to version.
11583         (scanMaster): do not add RCS to version
11584
11585         * lyxvc.C (versionString): new method
11586
11587         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11588
11589 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11590
11591         * Spacing.C (set): initialize fval
11592
11593 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11594
11595         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11596         " or \.
11597
11598 2001-08-16  Juergen Vigna  <jug@sad.it>
11599
11600         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11601
11602 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11603
11604         * BufferView_pimpl.C:
11605         * figureForm.C:
11606         * lyxtext.h:
11607         * text2.C: setParagraph takes linespacing now
11608
11609 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11610
11611         * LyxAction.C: add internal LFUN_CITATION_INSERT
11612
11613         * LyXView.C: actually apply fix
11614
11615         * bufferlist.C: fix open non-existent file
11616
11617         * lyxfind.C: fix indentation
11618
11619         * lyxfunc.C: remove unneeded assert, fix typo
11620
11621 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11622
11623         * MenuBackend.C: use "Floatname List"
11624
11625 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11626
11627         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11628         when converting LaTeX layout to insetERT.
11629         Generate a non-collapsed float when reading old float
11630
11631 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11632
11633         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11634         ERT insets.
11635
11636 2001-08-13  Juergen Vigna  <jug@sad.it>
11637
11638         * text.C (fill): return 0 instead of 20 as this seems to be the more
11639         correct value.
11640
11641 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11642
11643         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11644         lyxrc.font_norm.
11645
11646 2001-08-13  Juergen Vigna  <jug@sad.it>
11647
11648         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11649         casesensitive off.
11650         (SearchBackward): comment out the unlocking of the inset_owner this
11651         should not be needed!
11652
11653 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11654
11655         * Many files: Remove inherit_language, and add latex_language
11656
11657         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11658         collapsible insets.
11659
11660 2001-08-10  Juergen Vigna  <jug@sad.it>
11661
11662         * text.C (prepareToPrint): fixed hfill-width in draw!
11663
11664         * BufferView2.C (selectLastWord): save the selection cursor as this
11665         now is cleared in the function LyXText::clearSelection!
11666
11667 2001-08-08  Juergen Vigna  <jug@sad.it>
11668
11669         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11670         BACKSPACE type functions.
11671
11672         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11673         is only cutted from the document but not put in the cut-buffer, where
11674         still the old stuff should be.
11675
11676         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11677
11678         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11679
11680         * tabular.C (SetWidthOfCell): fixed special case where the width
11681         was not updated!
11682         (LeftLine): handle '|' in align_special.
11683         (RightLine): ditto
11684         (LeftAlreadyDrawed): ditto
11685         (SetWidthOfCell): ditto
11686
11687 2001-08-07  Juergen Vigna  <jug@sad.it>
11688
11689         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11690
11691 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11692
11693         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11694         * lyxlex.[hC]: ditto
11695
11696 2001-08-06  Juergen Vigna  <jug@sad.it>
11697
11698         * text.C (getVisibleRow): fix up row clearing a bit.
11699
11700 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11701
11702         * minibuffer.C: make sure the X server sees the changes in the input.
11703
11704 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11705
11706         * paragraph.C (getFont): split into...
11707         (getLabelFont): this
11708         (getLayoutFont): and this
11709         * paragraph_pimpl.C (realizeFont): calling this
11710
11711         * text2.C (getFont): split into...
11712         (getLayoutFont): this
11713         (getLabelFont): and this
11714         (realizeFont): all three calling this
11715
11716         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11717         files where used.
11718
11719 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11720
11721         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11722
11723 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11724
11725         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11726         layouts from the Quote inset insertion.
11727
11728 2001-08-03  Juergen Vigna  <jug@sad.it>
11729
11730         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11731
11732         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11733         only if status not is already CHANGED_IN_DRAW (second level).
11734
11735         * text.C (draw): don't set the need_break_row when inside an
11736         InsetText LyXText.
11737
11738 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11739
11740         * buffer.C (parseSingleLyXformat2Token): handle more latex
11741         conversion cases.
11742
11743         * bufferview_funcs.[hC]: change function names to
11744         begin with small char, adjust other files.
11745
11746 2001-08-02  André Pönitz <poenitz@gmx.net>
11747
11748         * lyxfunc.C:
11749         BufferView_pimpl.C: remove broken special code for math-greek
11750
11751 2001-08-02  Juergen Vigna  <jug@sad.it>
11752
11753         * BufferView_pimpl.C (update): redone this function so that we
11754         update the text again if there was a CHANGE_IN_DRAW.
11755
11756         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11757         (drawFromTo): added a new internal bool which is used by draw() and
11758         redraw() function.
11759         (general): some cursor drawing problems fixed.
11760
11761 2001-08-01  Juergen Vigna  <jug@sad.it>
11762
11763         * lyxfind.C (LyXFind): fixed
11764         (SearchForward): ditto
11765         (SearchBackward): ditto
11766
11767         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11768         spurius drawing of the cursor in the main area.
11769
11770         * text2.C (status): small fix which could lead to a segfault!
11771         (clearSelection): remove unneeded BufferView param.
11772
11773 2001-08-01  André Pönitz <poenitz@gmx.net>
11774
11775         * lyxfunc.C: small change due to changed mathed interface
11776
11777 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11778
11779         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11780
11781 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11782
11783         * lyxfunc.c: fail gracefully if file doesn't exist
11784
11785         * LyXSendto.C:
11786         * buffer.C:
11787         * lyxfunc.C:
11788         * BufferView_pimpl.C: IsDirWriteable() proto changed
11789
11790         * LyXView.C: fix updateWindowTitle() to store the last title
11791
11792 2001-07-31  Juergen Vigna  <jug@sad.it>
11793
11794         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11795         the font (wrong since using of Paragraph::highestFontInRange).
11796
11797         * paragraph.C (highestFontInRange): added a default_size parameter.
11798
11799         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11800         (setHeightOfRow): reformat
11801
11802 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11803
11804         * converter.[hC] + affected files: move to (inital-char)lowercase
11805         function names.
11806
11807         * ParagraphParameters.C (ParagraphParameters): remove commented code
11808
11809         * PainterBase.[Ch]: remove commented code
11810
11811         * LaTeXFeatures.h: add "bool floats" for float.sty
11812
11813         * LaTeXFeatures.C (LaTeXFeatures): init floats
11814         (require): handle float
11815         (getPackages): do it with floats
11816
11817 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11818
11819         * BufferView_pimpl.C (Dispatch): improve handling of
11820         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11821
11822         * commandtags.h: #include lyxfont.h here temporarily to avoid
11823         keybinding bug.
11824
11825         * bufferlist.h: include LString.h here.
11826
11827 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11828
11829         * text2.C (getStringToIndex): new method.
11830
11831 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11832
11833         * *: Reduced header file dependencies all over.
11834
11835 2001-07-30  Baruch Even  <baruch@lyx.org>
11836
11837         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11838
11839 2001-07-29  Baruch Even  <baruch@lyx.org>
11840
11841         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11842
11843 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11844
11845         * ParameterStruct.h (endif): add a default constructor to make
11846         sure that all variables is initialized.
11847
11848         * ParagraphParameters.C (ParagraphParameters): adjust
11849
11850 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11851
11852         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11853         index; also, check that there is something to index, and that it
11854         does not span over several paragraphs.
11855         (doubleClick): use WHOLE_WORD_STRICT for double click.
11856
11857         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11858
11859         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11860         scheme.
11861
11862 2001-07-26  Baruch Even  <baruch@lyx.org>
11863
11864         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11865         an InsetFig figure, backwards compatible reading of old figure code.
11866
11867 2001-07-27  Juergen Vigna  <jug@sad.it>
11868
11869         * text2.C: font.realize function adaption.
11870
11871         * text.C (draw): add a warnings lyxerr text if needed.
11872
11873         * layout.C: font.realize function adaption.
11874
11875         * language.C: add inherit_language and implement it's handlings
11876
11877         * bufferview_funcs.C (StyleReset): remove language parameter from
11878         font creation (should be language_inherit now).
11879
11880         * bufferparams.C (writeFile): handle ignore_language.
11881
11882         * paragraph.C (getFontSettings): the language has to be resolved
11883         otherwise we have problems in LyXFont!
11884
11885         * lyxfont.C (lyxWriteChanges): added document_language parameter
11886         (update): removed unneeded language parameter
11887
11888         * paragraph.C (validate): fixed wrong output of color-package when
11889         using interface colors for certain fonts in certain environments,
11890         which should not seen as that on the final output.
11891
11892 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11893
11894         * BufferView_pimpl.C:
11895         * Thesaurus.h:
11896         * Thesaurus.C:
11897         * Makefile.am:
11898         * commandtags.h:
11899         * LyXAction.C: add thesaurus support
11900
11901         * lyxfind.h:
11902         * lyxfind.C: add "once" parameter, for thesaurus, to not
11903           move to the next match
11904
11905 2001-07-26  Juergen Vigna  <jug@sad.it>
11906
11907         * lyxfont.C (realize): honor ignore_language too!
11908         (resolved): ditto.
11909
11910         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11911
11912         * text.C (draw): one place more for ignore_language to not draw
11913         itself!
11914
11915 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11916
11917         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11918
11919 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11920
11921         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11922         the minipage conversion problem.
11923
11924 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11925
11926         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11927         insert an inset.
11928
11929 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11930
11931         * BufferView.h: don't forward declare WorkArea
11932
11933         * BufferView.C: don't include WorkArea.h
11934
11935 2001-07-25  André Pönitz <poenitz@gmx.net>
11936
11937         * commandtags.h:
11938         * LyXAction.C:
11939         * lyxfunc.C:  new LFUN 'math-space'
11940
11941         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11942
11943 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11944
11945         * text2.C (toggleInset): call open/close
11946
11947 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11948
11949         * lyxfunc.C (dispatch): add debug for the disabled case
11950
11951         * font.C (buttonText): make similar to rectText
11952
11953         * buffer.C (readInset): comment out parsing of insetlist and
11954         insttheorem
11955
11956         * PainterBase.C (rectText): small correction
11957
11958         * BufferView_pimpl.C: comment out insettheorem and insetlist
11959         * LyXAction.C: ditto
11960         * commandtags.h: ditto
11961
11962 2001-07-24  Juergen Vigna  <jug@sad.it>
11963
11964         * text.C (draw): honor the ignore_language.
11965
11966         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11967
11968 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11969
11970         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11971         char inset.
11972
11973 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11974
11975         * lyxtext.h: remove unused (and unimplemented) methods
11976
11977 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11978
11979         * text.C (getVisibleRow): honor background color
11980
11981         * PainterBase.h:
11982         * Painter.h: remove default color argument for fillRectangle
11983
11984         * text.C (backgroundColor): new method
11985
11986 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11987
11988         * text.C (getVisibleRow): adjust
11989
11990         * font.[Ch] (rectText): new method, metrics
11991         (buttonText): new method, metrics
11992
11993         * PainterBase.[hC]: make rectText and buttonText always draw and take
11994         fewer paramteres.
11995
11996 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11997
11998         * ToolbarDefaults.C (read):
11999         * MenuBackend.C (read): allow escaping in all strings
12000
12001         * BufferView_pimpl.C (insertAndEditInset): new method.
12002         (Dispatch): use insertAndEditInset whenever appropriate.
12003
12004         * BufferView_pimpl.C (insertNote): removed
12005
12006         * BufferView_pimpl.C (smartQuote): new method, moved from
12007         BufferView; if an insetquote cannot be inserted, insert a '"'
12008         character instead.
12009
12010         * BufferView2.C: remove insertCorrectQuote();
12011
12012         * lyxfunc.C (getStatus): Add support for all remaingin
12013         inset-insert lfuns.
12014
12015         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12016
12017         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12018         command (necessary to pass " as parameter of self-insert.
12019
12020         * text.C (selectWordWhenUnderCursor):
12021         (selectWord): add word_location parameter
12022         (selectWordWhenUnderCursor): same + remove special code for word
12023         boundary.
12024         (selectNextWord): use kind() to guess type of insetspecialchar,
12025         not latex().
12026
12027         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12028         (insertErtContents): create ert insets as collapsed.
12029         (readInset): better compatibility code for Info inset.
12030
12031 2001-07-20  Juergen Vigna  <jug@sad.it>
12032
12033         * lyxfunc.C (dispatch): use always LyXFind now!
12034
12035         * text2.C (init): add a reinit flag so that the LyXText can be
12036         reinited instead of deleted and reallocated (used in InsetText).
12037
12038         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12039
12040         * text.C: ditto
12041
12042         * text2.C: ditto
12043
12044 2001-07-18  Juergen Vigna  <jug@sad.it>
12045
12046         * text.C (selectNextWord): handle insets inside inset by calling
12047         always the bv->text functions so that we can go up the_locking_inset!
12048
12049         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12050         in strange locations when inside an inset!
12051
12052         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12053         handling to include insets.
12054
12055         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12056
12057 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12058
12059         * LyXAction.C (init):
12060         * commandtags.h:
12061         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12062         LIGATURE_BREAK, since the name is so stupid.
12063
12064 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12065
12066         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12067         InsetInfos.
12068
12069         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12070
12071         * sp_form.[Ch]: remove.
12072
12073         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12074
12075         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12076         InsetInfo.
12077
12078         * src/buffer.C (readInset): ditto.
12079
12080 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12081
12082         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12083         menuSeparator(), endOfSentenceDot(), ldots() and
12084         hyphenationPoint(), which are therefore removed.
12085         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12086
12087         * LyXAction.C (init):
12088         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12089
12090         * paragraph.C (getWord): removed.
12091
12092         * BufferView_pimpl.C (Dispatch): use last word or selection for
12093         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12094
12095         * lyx_main.C (queryUserLyXDir): do not ask before creating
12096         user_dir, except if it has been named explicitely.
12097
12098 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12099
12100         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12101         a document of zero size.
12102
12103 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12104
12105         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12106         approriately in the c-tor and in require().
12107         (getPackages): output the appropriate LaTeX for natbib support.
12108
12109         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12110         variables "use_natbib" and "use_numerical_citations" when reading the
12111         LyX file.
12112         (readInset): read the various natbib cite commands.
12113         (validate): white-space change.
12114
12115         * bufferparams.[Ch]: new variables "bool use_natbib" and
12116         "bool use_numerical_citations".
12117         (writeFile): output them in the LyX file.
12118
12119 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12120
12121         * lyxfunc.C (getStatus): add support for all the inset insertion
12122         commands.
12123
12124         * text2.C (insertInset):
12125         * paragraph.C (insetAllowed):
12126         * BufferView_pimpl.C (insertInset): update to take in account the
12127         renaming of insertInsetAllowed
12128
12129         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12130
12131         * text2.C (getInset): new method. returns inset at cursor position.
12132
12133         * BufferView_pimpl.C (Dispatch): changes because of this.
12134
12135         * LyXAction.C (init): rename open-stuff to inset-toggle.
12136
12137         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12138
12139         * text2.C (toggleInset): renamed from openStuff; use
12140         Inset::open().
12141
12142 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12143
12144         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12145
12146         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12147
12148 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12149
12150         * buffer.C (readLyXformat2): Add filename to the error dialog
12151
12152 2001-07-18  Juergen Vigna  <jug@sad.it>
12153
12154         * tabular.C (GetCellNumber): put an assert here instead of the check!
12155
12156 2001-07-17  Juergen Vigna  <jug@sad.it>
12157
12158         * BufferView_pimpl.C (toggleSelection): adapted too.
12159
12160         * text.C (selectNextWord): adapted for use with insets.
12161         (selectSelectedWord): ditto
12162
12163 2001-07-17  Juergen Vigna  <jug@sad.it>
12164
12165         * sp_spell.C (PSpell): fix initialitation order.
12166
12167 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12168
12169         * paragraph.C: spacing
12170
12171 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12172
12173         * sp_spell.C: repair language selection for pspell
12174
12175 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12176
12177         * lyxfunc.h: change more methods to begin with lower char.
12178
12179 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12180
12181         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12182         for unknown layouts.
12183
12184 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12185
12186         * buffer.C (readLyXformat2): Generate an error dialog if there are
12187         unknown layouts.
12188
12189 2001-07-16  Juergen Vigna  <jug@sad.it>
12190
12191         * sp_spell.C: always compile ISpell part.
12192
12193         * lyxrc.C: added use_pspell entry and it's handling.
12194
12195 2001-07-13  Juergen Vigna  <jug@sad.it>
12196
12197         * sp_spell.C: removed double includes.
12198
12199 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12200
12201         Consistent use of Lsstream.h:
12202         * Lsstream.h: added using std::stringstream for consistencies sake.
12203
12204         * buffer.C: removed using std::stringstream
12205
12206         * lyxfont.C (stateText):
12207         * paragraph.C (asString):
12208         * text.C (selectNextWord, selectSelectedWord):
12209         * text2.C (setCounter):
12210         * vspace.C (asString, asLatexString):
12211         std::ostringstream -> ostringstream.
12212
12213 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12214
12215         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12216         * commandtags.h: add LFUN_HELP_ABOUTLYX
12217         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12218
12219 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12220
12221         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12222         cursorToggle()
12223         * lyx_gui_misc.C: remove spellchecker
12224         * lyxfunc.C: showSpellchecker
12225         * sp_base.h: added
12226         * sp_ispell.h: added
12227         * sp_pspell.h: added
12228         * sp_spell.C: added
12229         * sp_form.[Ch]: removed
12230         * spellchecker.[Ch]: removed
12231
12232 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12233
12234         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12235         is set.
12236         (simpleTeXSpecialChars): Simply print the input character without
12237         any special translation if pass_thru is set.
12238
12239         * layout.h: Added bool pass_thru to layout class for being able to
12240         implement pass through of a paragraph for Literate Programming.
12241
12242         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12243         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12244         * layout.C (Read): add "passthru" to list of layout tags and add
12245         code to set the pass_thru boolean when it is read.
12246
12247 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12248
12249         * trans_decl.h: remove allowed from KmodInfo
12250
12251         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12252         remove allowed code
12253         (Load): adjust
12254
12255         * paragraph_pimpl.C (erase): use boost::prior
12256
12257         * Painter.C (text): use data() instead of c_str() when length is
12258         also provided.
12259         * WorkArea.C (putClipboard): ditto
12260         * font.h (width): ditto
12261
12262         * BufferView2.C: use it-> instead of (*it). for iterators
12263         * texrow.C: ditto
12264         * paragraph_pimpl.C: ditto
12265         * paragraph.C: ditto
12266         * minibuffer.C: ditto
12267         * language.C: ditto
12268         * kbmap.C: ditto
12269         * encoding.C: ditto
12270         * counters.C: ditto
12271         * converter.C: ditto
12272         * chset.C: ditto
12273         * Variables.C: ditto
12274         * TextCache.C: ditto
12275         * MenuBackend.C: ditto
12276         * LyXAction.C: ditto
12277         * LColor.C: ditto
12278         * FloatList.C: ditto
12279         * DepTable.C: ditto
12280         * ColorHandler.C (LyXColorHandler): ditto
12281
12282 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12283
12284         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12285
12286         * text2.C (openStuff): reintroduce this method (which had been
12287         nuked in NEW_INSETS frenzy).
12288
12289         * lyxfunc.C (Dispatch): when an action has not been handled, use
12290         its name in the error message, not its number.
12291
12292         * paragraph.C (inInset): change method name to begin with lowercase.
12293
12294         * undo_funcs.C:
12295         * text2.C: updates because of this.
12296
12297 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12298
12299         * ToolbarDefaults.C (add): add spaces in error message
12300
12301 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12302
12303         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12304         (readLyXformat2): rename return_par to first_par, use lyxlex's
12305         pushToken and remove the manual push handling.
12306         (parseSingleLyXformat2Token): add another ert comp. variable:
12307         in_tabular, rename return_par to first_par. handle newlines better
12308
12309 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12310
12311         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12312
12313 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12314
12315         * text2.C (getParFromID): removed
12316
12317         * buffer.C (getParFromID): new method moved form lyxtext.
12318         * BufferView2.C (insertErrors): adjust
12319         (setCursorFromRow): adjust
12320         * BufferView_pimpl.C (restorePosition): adjust
12321         * lyxfunc.C (Dispatch): adjust
12322         * undo_funcs.C (textUndo): adjust
12323         (textRedo): adjust
12324         (textHandleUndo): adjust
12325         (textHandleUndo): adjust
12326
12327 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12328
12329         * buffer.C: up' the LYX_FORMAT
12330
12331         * lyxfont.h: turn NO_LATEX on as default
12332
12333         * buffer.C (insertErtContents): new methods of tex style compability.
12334         (parseSingleLyXformat2Token): use it several places.
12335         * tabular.C (OldFormatRead): and here
12336
12337 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12338
12339         * text2.C: remove some commented code.
12340         reindent file.
12341
12342         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12343         * trans.C: changes because of the above.
12344
12345 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12346
12347         * text2.C (setCounter): Fix counters bug with bibliography layout.
12348
12349 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12350
12351         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12352         own member functions
12353         (simpleTeXSpecialChars): ditto
12354
12355 2001-07-06  Juergen Vigna  <jug@sad.it>
12356
12357         * a lot of files: changed the access to LyXText::status and the
12358         call of undo-functions.
12359
12360         * undo.[Ch]: added a inset_id to the undo informations.
12361
12362         * undo_funcs.[Ch]: added and moved here all undo functions.
12363
12364         * lyxtext.h: give the status enum a weight, made status_ a private
12365         variable and made accessor functions for it, removed the whole bunch
12366         of undo-functions as they are now in their own file, make some
12367         functions publically available. Added function ownerParagraph with
12368         int parameter.
12369
12370         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12371         made InInset() a const function, added getParFromID() function.
12372
12373         * buffer.[Ch]: added const version for inset_iterator functions,
12374         added getInsetFromID() function.
12375
12376         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12377         changed undo functions for new version.
12378
12379 2001-07-05  Juergen Vigna  <jug@sad.it>
12380
12381         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12382         unknow mechanism does not call the proper constructor but only this
12383         one also if I request the other!?
12384
12385 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12386
12387         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12388
12389         * text2.C (LyXText): use initialization lists.
12390
12391         * lyxtext.h (Selection): initialize set_ and mark_
12392         (init): remove method
12393
12394 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12395
12396         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12397
12398 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12399
12400         * screen.[Ch]: change method names to begin with lowercase
12401
12402         * BufferView_pimpl.C (updateScrollbar): simplify further and
12403         hopefully make it a bit faster.
12404
12405 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12406
12407         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12408         calling directly xforms functions.
12409
12410         * Painter.C (Painter):
12411         * lyx_cb.C (MenuWrite):
12412         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12413         fl_display.
12414
12415         * lyx_gui.C: remove bogus guiruntime extern declaration.
12416
12417 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12418
12419         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12420         in NEW_INSETS
12421         (redoDrawingOfParagraph): ditto
12422         (redoParagraphs): ditto
12423         (cutSelection): don't create a object for CutAndPaste use the
12424         static method directly
12425         (pasteSelection): ditto
12426
12427         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12428         LyXview (+ rename)
12429
12430 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12431
12432         * modifications to some other files because of this.
12433
12434         * Makefile.am (lyx_SOURCES): add XFormsView
12435
12436         * XFormsView.[Ch]: new files
12437
12438         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12439         the main window. Move the gui dependent stuff to XFormsView
12440
12441 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12442
12443         * tabular.C (GetCellInset): update cur_cell also in the row/col
12444         version of this function.
12445
12446         * lyxfunc.C: no need to include figure_form.h here.
12447
12448         * FontLoader.h:
12449         * lyxfunc.h:
12450         * lyxscreen.h:
12451         * text2.C:
12452         * lyxvc.C: no need to include forms.h here.
12453
12454 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12455
12456         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12457
12458         * lyxfunc.C (Dispatch):
12459         * Spacing.C (set):
12460         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12461         constructor argument.
12462
12463 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12464
12465         * paragraph.C (Paragraph): dont't clear, and just set layout.
12466         (makeSameLayout): use params's copy contructor.
12467
12468         * ParagraphParameters.[Ch] (makeSame): delete method
12469
12470 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12471
12472         * Variables.[Ch]: fix indentation, rename set to isSet
12473
12474 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12475
12476         * lyxfunc.C (Dispatch): fix typo
12477
12478 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12479
12480         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12481         upper_bound.
12482
12483         * bufferlist.C: include assert.h for emergencyWrite().
12484
12485 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12486
12487         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12488           give up at last (bug #425202) !
12489
12490 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12491
12492         * lyx_gui_misc.C:
12493         * sp_form.h:
12494         * sp_form.C:
12495         * spellchecker.h:
12496         * spellchecker.C: strip spellchecker options and bring up
12497           preferences tab instead
12498
12499 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12500
12501         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12502         the istringstream constructor
12503
12504 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12505
12506         * paragraph.C (getLayout): fix return value
12507
12508         * paragraph.h: do not declare getLayout as inline.
12509
12510         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12511
12512 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12513
12514         * lyxcursor.h (operator<): new func
12515         (operator>): new func
12516         (operator>=): new func
12517         (operator<=): new func
12518
12519         * text.C (changeCase): use selection.start and selection.end
12520         (changeRegionCase): require from to be <= to. Require par to be a
12521         valid paragraph.
12522
12523         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12524
12525 2001-06-27  Juergen Vigna  <jug@sad.it>
12526
12527         * text.C (cursorLeftOneWord): changed to return the cursor and added
12528         overlay with BufferView * parameter which calls this one.
12529         (getWord): added
12530         (selectWord): use new getWord function.
12531         (changeCase): renamed from changeWordCase as and extended to work
12532         also on selections.
12533
12534         * lyxtext.h: added enum word_location
12535
12536         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12537         changeCase as this operates now also on selections.
12538
12539 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12540
12541         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12542
12543         * many files: send debug output to Debug::INFO instead of
12544         Debug::ANY.
12545
12546         * converter.C (View):
12547         (Convert):
12548         (Move): send debug output to Debug::FILES instead of console.
12549
12550 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12551
12552         * lyxfunc.C (getStatus): use func_status
12553
12554         * func_status.h: new header, describing the results of
12555         LyXFunc::getStatus;
12556
12557         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12558         LFUN_MATH_HALIGN.
12559
12560 2001-06-25  The LyX Project  <jug@sad.it>
12561
12562         * buffer.C (sgmlOpenTag):
12563         (sgmlCloseTag):
12564         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12565
12566 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12567
12568         * text2.C: remove some dead code
12569
12570         * tabular.C (GetCellInset): store the last cell checked (gotten)
12571
12572         * tabular.h: add the helper for the speedup
12573
12574         * lyxtext.h: remove some dead code
12575
12576 2001-06-26  The LyX Project  <Asger>
12577
12578         * paragraph.C: Change export to LaTeX of alignment to
12579         \begin{center} and family for better roundtrip work with reLyX.
12580
12581         * Tune the math drawing a bit.
12582
12583 2001-06-25  The LyX Project  <Asger>
12584
12585         * LColor.C (LColor): New color for math background. New color
12586         for buttons.
12587
12588 2001-06-25  The LyX Project  <jug@sad.it>
12589
12590         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12591
12592         * lyxfunc.C (Open):
12593         * bufferlist.C (newFile): do not restrict to files ending with
12594         .lyx
12595
12596         * BufferView_pimpl.C (MenuInsertLyXFile):
12597
12598 2001-06-24  The LyX Project  <jug@sad.it>
12599
12600         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12601         of compare_no_case
12602
12603 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12604
12605         * lyxtext.h: rename most methods to begin with a small char.
12606         Lots of changes because of this.
12607
12608         * paragraph.C (Paragraph): do not call fitToSize
12609         (erase): call Pimpl::erase
12610         (insertChar): call Pimpl::insertChar
12611         (insertInset): call Pipl::insertInset
12612         (breakParagraph): do not call fitToSize
12613         (breakParagraphConservative): do not call fitToSize
12614         (fitToSize): remove method
12615
12616         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12617
12618 2001-06-24  The LyX Project  <Asger>
12619
12620         * Fix Qt compilation^2
12621
12622 2001-06-24  The LyX Project  <jug@sad.it>
12623
12624         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12625         depthHook(getDepth()-1).
12626
12627         * paragraph.h:
12628         * ParagraphParameters.h:
12629         * ParameterStruct.h: change type of depth to unsigned int ==
12630         depth_type. Many adaptations to other files before of that.
12631
12632 2001-06-24  The LyX Project  <Asger>
12633
12634         * Fix Qt compilation.
12635
12636 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12637
12638         * paragraph.h: renamed several methods to begin with small letter.
12639         several changes to many parts of the code because of this.
12640
12641 2001-06-23  The LyX Project  <jug@sad.it>
12642
12643         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12644         rewritten to discard all double spaces when KeepEmpty is off
12645         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12646         to only handle newlines but not fiddle with spaces and friends.
12647
12648         * lyxfunc.C (MenuNew): when doing 'new from template', use
12649         template_path as default directory
12650
12651 2001-06-23  The LyX Project  <Asger>
12652
12653         * Clean-up of header file includes all over
12654         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12655
12656 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12657
12658         * paragraph.h: renamed from lyxparagraph.h
12659
12660 2001-06-23  Asger  <lyx@violet.home.sad.it>
12661
12662         * Buffer.h: Removed Buffer::resize
12663         * BufferList.h: Removed BufferList::resize
12664         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12665         the document lazily when we change the width, or the font settings.
12666
12667 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12668
12669         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12670
12671 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12672
12673         * buffer.h: remove out of date comment
12674
12675 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12676
12677         * lyxscreen.h:
12678         * screen.C: fix "theoretical" GC leak
12679
12680 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12681
12682         * LaTeX.C (scanAuxFile):
12683         (deplog): remove trailing \r when reading stream (useful under
12684         win32)
12685
12686 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12687
12688         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12689         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12690         and BufferView::theLockingInset(Inset*), so should use them and not
12691         access bv_->text->the_locking_inset directly.
12692
12693         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12694
12695 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12696
12697         * Makefile.am:
12698         * tex-defs.h: remove old unused file
12699
12700 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12701
12702         * BufferView_pimpl.C: fix typo, remove minibuffer message
12703           when buffer has loaded
12704
12705 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12706
12707         * lyxfunc.C (Dispatch): use stringstream
12708         (MenuNew): use stringstream
12709         (Open): use stringstream
12710
12711         * importer.C (Import): use stringstream
12712
12713         * bufferview_funcs.C (CurrentState): use stringstream
12714
12715         * LaTeX.C (run): use stringstream
12716
12717         * BufferView_pimpl.C (savePosition): use stringstream
12718         (restorePosition): use stringstream
12719         (MenuInsertLyXFile): use stringstream
12720
12721 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12722
12723         * BufferView.C:
12724         * Bullet.C:
12725         * ColorHandler.C:
12726         * FontInfo.C:
12727         * FontLoader.C:
12728         * LColor.C:
12729         * LaTeXFeatures.C:
12730         * Painter.C:
12731         * gettext.C:
12732         * lyx_gui_misc.C:
12733         * lyxserver.C:
12734         * vspace.C: removed // -*- C++ -*- as first line.
12735
12736         * lyxfind.h:
12737         * version.h: added // -*- C++ -*- as first line.
12738
12739 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12740
12741         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12742
12743         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12744         of string
12745
12746 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12747
12748         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12749         of floats.
12750
12751 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12752
12753         * gettext.C: include LString.h even when --disable-nls is on.
12754
12755 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12756
12757         * converter.h (Get): changed argument type from int to
12758         FormatList::size_type to avoid unnecessary conversion.
12759
12760         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12761         before using it.
12762
12763 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12764
12765         * gettext.h: include LString.h even when --disable-nls is on.
12766
12767 2001-06-07  Juergen Vigna  <jug@sad.it>
12768
12769         * text.C (BreakAgain): subst spaces with tabs.
12770
12771         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12772         (resizeInsetsLyXText): set force on resizeLyXText.
12773
12774 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12775
12776         * gettext.h (gettext_init):
12777         (locale_init): use a real definition instead of a macro
12778
12779 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12780
12781         * Bufferview_pimpl.C:
12782         * LColor.h:
12783         * LColor.C: further lcolor tidies
12784
12785 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12786
12787         * BufferView_pimpl.C (updateScrollbar): simplify.
12788
12789         * BufferView2.C: don't include insets/insetinfo.h, change
12790         prototype for insertInset and call the Pimpl version. let
12791         updateInset call Pimpl version.
12792
12793         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12794         gotoInset to BufferView::Pimpl
12795
12796 2001-06-01  Juergen Vigna  <jug@sad.it>
12797
12798         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12799         inside a LockingInset (is the update needed at all?).
12800
12801 2001-05-31  Juergen Vigna  <jug@sad.it>
12802
12803         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12804         here not the old one otherwise how should we compare it afterwards
12805         if it's the same!
12806
12807 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12808
12809         * lyxfont.C:
12810         * tabular.C:
12811         * tabular-old.C:
12812         * FontInfo.C: bring C functions into global namespace when
12813         necessary
12814
12815 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12816
12817         * LString.h: make sure config.h has been loaded before LString.h.
12818
12819         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12820         (one for each char read by EatLine!).
12821
12822         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12823         variables.
12824
12825 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12826
12827         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12828         to the same as the par we break from
12829
12830 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12831
12832         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12833
12834         * MenuBackend.C (expand): also create menu entries for wide
12835         versions of the floats.
12836
12837         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12838
12839         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12840
12841         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12842         frontends/Makefile.am
12843
12844         * text2.C: adjust
12845         * text.C: adjust
12846
12847
12848         * tabular.C (getTokenValue): add std::
12849
12850         * tabular-old.C (getTokenValue): add std::
12851         (getTokenValue): ditto
12852         (getTokenValue): ditto
12853
12854         * screen.C (ToggleSelection): adjust
12855
12856         * lyxtext.h: put selection cursors inside a Selection struct.
12857
12858         * lyxfunc.C (moveCursorUpdate): adjust
12859
12860         * lyxfont.C (latexWriteStartChanges): add std::
12861
12862         * lyxfind.C: adjust
12863
12864         * font.h: delete with(char const *, LyXFont const &)
12865
12866         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12867
12868         * FontInfo.C (getFontname): add std::
12869
12870         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12871         (workAreaButtonPress): adjust
12872         (tripleClick): adjust
12873         (update): adjust
12874         (moveCursorUpdate): adjust
12875         (Dispatch): adjust
12876
12877         * BufferView2.C (gotoInset): adjust
12878
12879 2001-05-30  Juergen Vigna  <jug@sad.it>
12880
12881         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12882         to check pspell I add this as default as I now have new pspell
12883         libraries and they seem to use this.
12884
12885 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12886
12887         * text2.C (CutSelection): make the cursor valid before the call to
12888         ClearSelection.
12889
12890 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12891
12892         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12893         relied on 0 terminated strings and other horrors. Bug found due to
12894         the new assert in lyxstring!
12895
12896         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12897         KP_ keys.
12898
12899 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12900
12901         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12902         to latinkeys.bind.
12903
12904         * lyxfunc.C (processKeySym): change method of getting to the
12905         self-insert char.
12906
12907         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12908         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12909         * BufferView_pimpl.[Ch]: here as private methods.
12910
12911 2001-05-28  Juergen Vigna  <jug@sad.it>
12912
12913         * text.C (SetHeightOfRow): added the update() call again as it is
12914         needed to initialize inset dimensions!
12915
12916 2001-05-16  Juergen Vigna  <jug@sad.it>
12917
12918         * text2.C (SetCharFont): Add new function with BufferView * and
12919         bool toggleall parameters for setting insets internal fonts.
12920         (SetFont): Freeze the undo as we may change fonts in Insets and
12921         all this change should be inside only one Undo!
12922
12923         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12924         setting font's in insets as for them we have the SetFont function!
12925
12926 2001-05-15  Juergen Vigna  <jug@sad.it>
12927
12928         * text2.C (ClearSelection): to be sure we REALLY don't have any
12929         selection anymore!
12930
12931         * tabular.C (TeXCellPreamble): fixed the left border problem for
12932         multicolumn cells.
12933
12934 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12935
12936         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12937         dependancy file
12938
12939 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12940
12941         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12942         LFUN_BREAKPARAGRAPH.
12943
12944         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12945         help test to "internal only", similar for LFUN_INSERT_URL
12946
12947         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12948         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12949         auto_region_delete and deadkeys.
12950
12951 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12952
12953         * LColor.h:
12954         * LColor.C: remove some dead entries, tidy a little
12955
12956 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12957
12958         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12959         commented code.
12960         (Dispatch): implement LFUN_ESCAPE
12961
12962         * commandtags.h: add LFUN_ESCAPE
12963
12964         * LyXAction.C (init): add entry for LFUN_ESCAPE
12965
12966         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12967         Remove commented code.
12968         (insertNote): moved here
12969         (open_new_inset): moved here
12970
12971         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12972         BufferView_pimpl
12973
12974 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12975
12976         * kbmap.C (findbinding): clean it up and make it work correctly.
12977
12978         * lyx_main.C (init): do not pass argc and argv as parameters
12979
12980 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12981
12982         * buffer.C: fix path for OS/2 & Win32
12983
12984         * lyx_gui.C:
12985         * lyx_main:
12986         * lyx_main.C: Added os:: class.
12987
12988         * os2_defines.h: update
12989
12990 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12991
12992         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12993         better by trying again with reduced state.
12994
12995 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12996
12997         * lyxrc.C (read): print error about invalid key sequence only when
12998         debugging (because not all latinX keysyms are known to some X
12999         servers)
13000
13001         * kbsequence.C (getiso): add a few std:: qualifiers
13002         (getiso): comment out extra return statement.
13003
13004 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13005
13006         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13007         handling.
13008         (Dispatch): enhance the accent inset a bit. (not perfect)
13009
13010 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13011
13012         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13013
13014 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13015
13016         * bufferlist.C (emergencyWrite): fix assert() call
13017
13018 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13019
13020         * text.C (InsertChar): Added trivial patch to only send the "you
13021         can not do multiple spaces this way" message once during a
13022         session.
13023
13024 2001-05-08  Baruch Even  <baruch@lyx.org>
13025
13026         * Makefile.am: Changed order of libraries to get LyX to link properly
13027         with the gnome frontend.
13028
13029 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13030
13031         * LaTeXFeatures.h: add a std:: qualifier
13032
13033 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13034
13035         * paragraph.C (String): use stringstream
13036
13037 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13038
13039         * paragraph.C (writeFile): remove footflag arg
13040
13041         * buffer.C (makeLaTeXFile): use stringstream
13042         (latexParagraphs): remove footnot gurba
13043
13044         * LaTeXFeatures.C (getPackages): use stringstream
13045         (getMacros): likewise
13046         (getTClassPreamble): likewise
13047         (getFloatDefinitions): new method
13048
13049         * paragraph.C (writeFile): reindent
13050         (Erase): reindent
13051
13052         * WorkArea.h: revert the xpos + etc changes.
13053
13054         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13055
13056         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13057
13058         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13059         (pasteSelection): likewise
13060         * text2.C (CreateUndo): likewise
13061
13062 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13063
13064         * minibuffer.C (peek_event): temporarily reduce the functionality
13065         of the minibuffer (to allow args on lfuns)
13066
13067         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13068         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13069
13070         * buffer.C (readInset): add compability reading of old float
13071         lists, add reading of new style float list.
13072         (readInset): avoid reevaluation of inscmd.getCmdName()
13073         (getLists): reindent
13074
13075         * MenuBackend.C (MenuItem): implement parsing of
13076         md_floatlistinsert and md_floatinsert.
13077         (expand::LastFiles): move initalizaton of iterators out of loop,
13078         avoid reevaluation.
13079         (expand::Documents): introduce typdedef vector<string> Strings,
13080         and use it.
13081         (expand::ExportFormats): introduce typedef vector<Format const *>
13082         Formats, and use it.
13083         (expand): implement FloatListInsert and FloatInsert.
13084
13085         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13086         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13087         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13088
13089         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13090         handling.
13091         (Dispatch::LFUN_FLOAT_LIST): implement
13092
13093 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13094
13095         * LaTeX.C (run): Fix problem with --export code.
13096
13097 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13098
13099         * BufferView.[Ch] (workarea): removed.
13100         (getClipboard) new method; wrapper for workarea()->getClipboard()
13101
13102         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13103         bug.
13104
13105         * WorkArea.h (width, height, xpos, ypos): These methods all
13106         returned the dimensions of the work_area sub-area of WorkArea,
13107         resulting in a position error if the WorkArea were resized. Now
13108         return the dimensions of the entire WorkArea.
13109
13110         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13111
13112 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13113
13114         * LaTeX.C (deplog): correct the syntax of regex reg1
13115
13116 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13117
13118         * undo.C: remove !NEW_INSETS cruft
13119
13120 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13121
13122         * text2.C: remove !NEW_INSETS cruft
13123
13124         * text.C: remove !NEW_INSETS cruft
13125
13126         * tabular.C: remove !NEW_INSETS cruft
13127
13128         * spellchecker.C: remove !NEW_INSETS cruft
13129
13130         * lyxtext.h: remove !NEW_INSETS cruft
13131
13132         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13133
13134         * lyxfunc.C: remove !NEW_INSETS cruft
13135
13136         * lyxfind.C: remove !NEW_INSETS cruft
13137
13138         * lyx_cb.C: remove !NEW_INSETS cruft
13139
13140         * figureForm.C: remove  !NEW_INSETS cruft
13141
13142         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13143
13144         * buffer.[Ch]: remove !NEW_INSETS cruft
13145
13146         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13147
13148         * CutAndPaste.C: remove !NEW_INSETS cruft
13149
13150         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13151
13152         * BufferView2.C: remove !NEW_INSETS cruft
13153
13154         * BufferView.h: remove !NEW_INSETS cruft
13155
13156 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13157
13158         * Lsstream.h: include LString.h before the sstream headers to
13159         fix problem with gcc 2.95.3 and lyxstring
13160
13161 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13162
13163         * lyx_main.C: add using directives when needed for C functions
13164         declared in std:: namespace.
13165
13166 2001-04-27  Juergen Vigna  <jug@sad.it>
13167
13168         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13169         (SetHeightOfRow): comment out the update call should not be needed!
13170
13171 2001-04-13  Juergen Vigna  <jug@sad.it>
13172
13173         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13174         (LyXTabular): tried to minimize operator= operations (and realized
13175         hopfully Lars wish).
13176
13177 2001-04-27  Juergen Vigna  <jug@sad.it>
13178
13179         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13180
13181 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13182
13183         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13184
13185         * buffer.C (readInset): hack to make listof algorithm work
13186
13187         * BufferView_pimpl.C: hack to make listof algorithm work
13188
13189 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13190
13191         * LyXAction.C: removed all !NEW_INSETS cruft
13192         (init): moved lfun_item in method
13193
13194         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13195
13196 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13197
13198         * BufferView2.C (theLockingInset): white space.
13199
13200 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13201
13202         * minibuffer.C: include <iostream>
13203
13204         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13205
13206         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13207
13208         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13209
13210         * text.[Ch] (TransposeChars): new method
13211
13212 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13213
13214         * call message directly through LyXView instead of through LyXFunc
13215         * BufferView2.C: adjust
13216         * BufferView_pimpl.C: adjust
13217         * FontLoader.C: adjust
13218         * buffer.C: adjust
13219         * bufferview_funcs.C: adjust
13220         * converter.C: adjust
13221         * figureForm.C: adjust
13222         * importer.C: adjust
13223         * lyx_cb.C: adjust
13224         * lyx_gui_misc.C: adjust
13225         * lyxfunc.C: adjust
13226         * lyxvc.C: adjust
13227         * text2.C: adjust
13228         + more files in subdirs
13229
13230         * lyxparagraph.h (size): move up int file
13231         (GetLayout): ditto
13232
13233         * adjust all uses of Assert to lyx::Assert.
13234
13235         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13236         lyxfunctional in namespace lyx
13237         * layout.C (hasLayout): ditto
13238         (GetLayout): ditto
13239         (GetLayout): ditto
13240         (delete_layout): ditto
13241         (NumberOfClass): ditto
13242         * converter.C (GetFormat): ditto
13243         (GetNumber): ditto
13244         (Add): ditto
13245         (Delete): ditto
13246         (SetViewer): ditto
13247         * bufferlist.C (getFileNames): ditto
13248         (emergencyWriteAll): ditto
13249         (exists): ditto
13250         (getBuffer): ditto
13251         * MenuBackend.C (hasSubmenu): ditto
13252         (hasMenu): ditto
13253         (getMenu): ditto
13254         * BufferView_pimpl.C (getInsetByCode): ditto
13255
13256 2001-04-18  Juergen Vigna  <jug@sad.it>
13257
13258         * vspace.C (asLatexString): fixed the 100% problem.
13259
13260 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13261
13262         * lyxfunc.C (Dispatch):
13263         * minibuffer.C:
13264         * minibuffer.h: add a few std:: qualifiers
13265
13266 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13267
13268         * minibuffer.[Ch]: reimplement so that commands is initiated and
13269         run from lyxfunc, simplified som handling, and made the completion
13270         and history code for complete. wip.
13271
13272         * lyxfunc.C (processKeySym): call message
13273         (miniDispatch): new temporary method
13274         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13275         (LFUN_MESSAGE): implement
13276         (LFUN_MESSAGE_PUSH): implement
13277         (LFUN_MESSAGE_POP): implement
13278         (initMiniBuffer): the initial/defualt minibuffer message.
13279
13280         * lyxfont.[Ch]: inline some more getters
13281
13282         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13283
13284         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13285
13286         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13287         (AutoSave): use LFUN_MESSAGE
13288         (Reconfigure): ditto
13289
13290         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13291
13292         * figureForm.C: use LFUN_MESSAGE
13293
13294         * converter.C (runLaTeX): use LFUN_MESSAGE
13295
13296         * bufferview_funcs.C: use LFUN_MESSAGE
13297         (Melt): ditto
13298         (changeDepth): ditto
13299
13300         * bufferparams.h: use boost::
13301
13302         * bufferlist.h: inherit privately from noncopyable
13303
13304         * bufferlist.C (loadLyXFile): remove some commented code.
13305
13306         * buffer.C (runChktex): use LFUN_MESSAGE
13307
13308         * ShareContainer.h: inherit privately from noncopyable
13309
13310         * ParagraphParameters.[hC] (depth): inline it.
13311
13312         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13313         methods.
13314         (message): new method
13315         (messagePush): ditto
13316         (messagePop): ditto
13317         (show): init minibuffer
13318         (showState): direct call
13319
13320         * LaTeX.[Ch]: inherit privately from noncopyable
13321         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13322         instead of WriteStatus.
13323
13324         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13325
13326         * BufferView_pimpl.C (buffer): don't init minibuffer
13327         (workAreaButtonPress): use LFUN_MESSAGE
13328         (workAreaButtonRelease): ditto
13329         (savePosition): ditto
13330         (restorePosition): ditto
13331         (MenuInsertLyXFile): ditto
13332         (workAreaExpose): don't init minibuffer
13333         (update): remove commented code, simplify
13334
13335         * BufferView2.C (openStuff): use LFUN_MESSAGE
13336         (toggleFloat): ditto
13337         (menuUndo): ditto
13338         (menuRedo): ditto
13339         (copyEnvironment): ditto
13340         (pasteEnvironment): ditto
13341         (copy): ditto
13342         (cut): ditto
13343         (paste): ditto
13344         (gotoInset): ditto
13345         (updateInset): remove some commented code
13346
13347         * lastfiles.h: inherit privately from noncopyable
13348         * layout.h: ditto
13349         * lyx_gui.h: ditto
13350         * lyx_main.h: ditto
13351         * lyxlex.h: ditto
13352         * lyxlex_pimpl.h: ditto
13353
13354         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13355         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13356         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13357
13358         * LyXAction.h: inherit privately from noncopyable, add methods
13359         func_begin, func_end, returning iterators to the func map.
13360
13361         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13362         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13363         (func_begin): new method
13364         (func_end): new method
13365
13366         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13367         and not)
13368         (copySelection): ditto
13369         (pasteSelection): ditto
13370
13371         * BufferView.C: whitespace change
13372         * BufferView.h: inherit privately from noncopyable
13373
13374 2001-04-16  Allan Rae  <rae@lyx.org>
13375
13376         * tabular-old.C (l_getline):
13377         * spellchecker.C (sc_check_word):
13378         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13379         an unrecognised preprocessor directive.  So ensure they're wrapped.
13380
13381 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13382
13383         * src/exporter.C (Export): Give an error message when path to file
13384         contains spaces.
13385
13386 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13387
13388         * LaTeX.C (deplog): Always check that foundfile exists.
13389
13390 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13391
13392         * lyx_main.h:
13393         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13394
13395 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13396
13397         * tabular.[Ch] (getLabelList): implement new method
13398
13399         * minibuffer.h: comment ouf setTiimer
13400
13401         * minibuffer.C (ExecutingCB): constify res
13402         (peek_event): constify s
13403         (Set): constify ntext
13404         (Init): constify nicename
13405
13406         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13407
13408         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13409         (savePosition): use two params to Minibuffer::Set
13410         (restorePosition): ditto
13411
13412 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13413
13414         * lyx_main.C: include language.h
13415
13416         * Makefile.am (lyx_main.o): add language.h
13417
13418 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13419
13420         * exporter.C:
13421         * paragraph.C:
13422         * screen.C:
13423         * tabular.C:
13424         * CutAndPaste.C: include gettext.h
13425
13426         * lyxfont.h: remove old hack with ON and OFF.
13427
13428         * lyxparagraph.h:
13429         * lyxfont.h: do not include language.h...
13430
13431         * BufferView2.C:
13432         * LaTeXFeatures.C:
13433         * Painter.C:
13434         * bufferview_funcs.C:
13435         * font.C:
13436         * lyxfont.C:
13437         * text.C:
13438         * text2.C:
13439         * trans_mgr.C:
13440         * paragraph.C: ... but do it here instead
13441
13442 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13443
13444         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13445
13446         * tabular.C: small reformat
13447
13448         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13449         NEW_INSETS version
13450         (GetChar): ditto
13451         (BreakParagraph): ditto
13452         (SetOnlyLayout): ditto
13453         (SetLayout): ditto
13454
13455         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13456         with one arg less.
13457
13458         * lastfiles.C: removed most using decl, add std:: where needed
13459
13460         * buffer.C: ws changes
13461
13462         * MenuBackend.C (class compare_format): put into anon namespace
13463         (expand): constify label, names, action, action2
13464         (expand):
13465
13466         * text.C (SingleWidth): constify font
13467         (IsBoundary): constify rtl2
13468         (GetVisibleRow): constify ww
13469
13470         * LaTeX.C (deplog): constify logfile
13471
13472         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13473         start_x, end_x
13474         (workAreaExpose): constify widthChange, heightChange
13475
13476         * lyxrow.C (par): moved
13477         (height): moved
13478         (next): moved
13479         * lyxrow.h: as inlines here
13480
13481         * lyxfont.h (shape): moved from lyxfont.C
13482         (emph): moved from lyxfont.C
13483
13484         * lyxfont.C (LyXFont): use initialization list for all
13485         constructors
13486         (shape): move to lyxfont.h as inline
13487         (emph): move to lyxfont.h as inline
13488
13489
13490 2001-04-04  Juergen Vigna  <jug@sad.it>
13491
13492         * vspace.C: had to include stdio.h for use of sscanf
13493
13494 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13495
13496         * BufferView.h:
13497         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13498         independent of xforms.
13499
13500 2001-04-02  Juergen Vigna  <jug@sad.it>
13501
13502         * spellchecker.C: fixed namespace placing!
13503
13504 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13505
13506         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13507         the LyXParagraph * is 0.
13508
13509 2001-03-29  Juergen Vigna  <jug@sad.it>
13510
13511         * vspace.C: added support for %, c%, p%, l%.
13512         (stringFromUnit): added helper function.
13513         (asLatexString): changed to give right results for the %-values.
13514
13515         * buffer.C: convert the widthp in a width%.
13516
13517 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13518
13519         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13520         figureForm.[Ch].
13521
13522         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13523         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13524
13525         * lyx_cb.[Ch]: see above.
13526
13527         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13528         form1.[Ch].
13529
13530         * form1.[Ch]:
13531         * lyx.[Ch]: replaced by figure_form.[Ch].
13532
13533         * lyx_gui.C:
13534         * lyx_gui_misc.C:
13535         * lyxfunc.C: changed headers associated with above changes.
13536
13537 2001-03-27  Juergen Vigna  <jug@sad.it>
13538
13539         * BufferView_pimpl.C: set the temporary cursor right!
13540
13541 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13542
13543         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13544
13545 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13546
13547         * LString.h: removed "using std::getline"!
13548
13549         * BufferView_pimpl.C (Dispatch): changes due to changes in
13550         InsetInclude::Params.
13551
13552         * buffer.C (tag_name): removed redundant break statements as they were
13553         producing lots of warnings with my compiler.
13554
13555 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13556
13557         * LString.h: add "using std::getline" when using the real <string>.
13558
13559 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13560
13561         * buffer.C: removed bitset usage.
13562         PAR_TAG moved to an anonymous name space.
13563         (tag_name): new funtion, also in the anonymous namespace.
13564         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13565         (makeDocBookFile): clean code. Completed transition from string arrays
13566         to string vectors.
13567         (SimpleDocBookOnePar): code clean.
13568
13569 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13570
13571         * tabular.C: add some comments.
13572
13573 2001-03-22  Juergen Vigna  <jug@sad.it>
13574
13575         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13576         compatibility read a bit and fixed bug with minipage in different
13577         depth.
13578
13579 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13580
13581         * buffer.C (pop_tag): removed.
13582         (push_tag): removed.
13583         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13584         array replaced with vector. Added support for CDATA sections.
13585         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13586         at any nest level.
13587         (makeDocBookFile): XML conformant declaration of CDATA section,
13588         fixed bug related to <emphasis> in the first paragraph char.
13589         (sgmlOpenTag): exclude empty tags.
13590         (sgmlCloseTag): ditto.
13591
13592         * buffer.h (pop_tag): removed.
13593         (push_tag): removed.
13594
13595 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13596
13597         * language.h (Languages): added size_type and size().
13598
13599 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13600
13601         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13602         response on compability reading of minipages. One probliem is that
13603         the old usage of minipages was «flertydig»
13604
13605         * several files here and in subdirs: don't use static at file
13606         scope use anon namespaces instead.
13607
13608 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13609
13610         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13611         LaTeX output. This is necessary for Literate document
13612         processing.
13613
13614 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13615
13616         * buffer.C: insert hfill when needed.
13617
13618         * tabular.C (l_getline): use string::erase, small whitespace change.
13619
13620         * BufferView_pimpl.C: try the anon namespace.
13621         * WorkArea.C: ditto
13622
13623 2001-03-16  Juergen Vigna  <jug@sad.it>
13624
13625         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13626         otherwise it won't open options-dialogs.
13627
13628         * buffer.C: honor pextraWidth(p) on converting minipages.
13629
13630         * tabular.C (l_getline): changed the functions to strip trailing \r.
13631
13632 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13633
13634         * BufferView_pimpl.C:
13635         * minibuffer..C: added "using SigC::slot" declaration.
13636
13637 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13638
13639         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13640
13641         * text2.C: ditto
13642
13643         * text.C: ditto
13644
13645         * paragraph.C: ditto
13646
13647         * lyxtext.h: NO_PEXTRA
13648
13649         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13650
13651         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13652         * ParameterStruct.h: ditto
13653         * ParagraphParameters.h: ditto
13654         * lyxparagraph.h: ditto
13655
13656 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13657
13658         * buffer.C: add compability for minipage alignment.
13659         (latexParagraphs): remove unwanted pextra check.
13660
13661         * several files: remove CXX_WORKING_NAMESPACES
13662
13663         * buffer.C (pop_tag): tie is in namespace boost
13664
13665         * BufferView.h: noncopyable is in namespace boost
13666         * lyxlex.h: ditto
13667         * lyx_main.h: ditto
13668         * lyx_gui.h: ditto
13669         * layout.h: ditto
13670         * lastfiles.h: ditto
13671         * bufferlist.h: ditto
13672         * ShareContainer.h: ditto
13673         * LyXView.h: ditto
13674         * LyXAction.h: ditto
13675         * LaTeX.h: ditto
13676
13677 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13678
13679         * Merging changes from BRANCH_MVC back into HEAD.
13680
13681         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13682
13683 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13684
13685         * BufferView_pimpl.C: change from intl.C
13686
13687         * combox.h:
13688         * combox.C:
13689         * Makefile.am: move combox.*
13690
13691         * form1.h:
13692         * form1.C:
13693         * lyx_gui.C:
13694         * intl.h:
13695         * intl.C: remove dialog (covered by prefs)
13696
13697 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13698
13699         * lyxfunc.C (Dispatch): removed redundant break statement.
13700
13701 2001-03-14  Juergen Vigna  <jug@sad.it>
13702
13703         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13704
13705 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13706
13707         * buffer.C: add hack to fix compability reading of minipages.
13708
13709 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13710
13711         * buffer.C (getLists): Cleanup.
13712
13713 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13714
13715         * lyxfont.C (update): don't honor toggleall on font size.
13716
13717 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13718
13719         * bmtable.c:
13720         * bmtable.h:
13721         * Makefile.am: moved to frontends/xforms/
13722
13723         * lyx_gui_misc.C:
13724         * lyxfunc.C:
13725         * BufferView_pimpl.C: changes for moved mathpanel
13726
13727 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13728
13729         * gettext.h: fix gettext_init() in --disable-nls
13730
13731 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13732
13733         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13734
13735 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13736
13737         * lyx.C:
13738         * lyx.h: strip external form
13739
13740 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13741
13742         * BufferView_pimpl.C: add comment, destroySplash()
13743
13744 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13745
13746         * BufferView_pimpl.C:
13747         * LyXAction.C:
13748         * buffer.C:
13749         * commandtags.h:
13750         * lyxfunc.C: use re-worked insetinclude
13751
13752 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13753
13754         * buffer.C: add using std::stringstream.
13755
13756         * lyx_cb.C: readd using std::ios.
13757
13758         * buffer.C: add using std::map.
13759
13760         * BufferView_pimpl.C: add using std::vector.
13761
13762         * ShareContainer.h: add std:: to swap.
13763
13764         * buffer.h: add some typedefs
13765         * buffer.C (getLists): use them
13766         (getLists): renamed from getTocList.
13767         add a counter for the different float types and use it in the
13768         generated string.
13769         (getLists): use the same counter for the NEW_INSETS and the "non"
13770         NEW_INSETS
13771
13772         * lyx_cb.h: remove unused items, includes, using etc.
13773
13774         * ShareContainer.h: remove some commented code, add more comments
13775         and "documentation".
13776
13777 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13778
13779         * buffer.C (getTocList): make the list also when NEW_INSETS is
13780         defined.
13781
13782         * buffer.h: remove TocType
13783
13784         * buffer.C (getTocList): change to return a map<string,
13785         vector<TocItem> >, implement for dynamic number of list.
13786
13787         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13788         * text2.C (PasteSelection): adjust
13789         * CutAndPaste.C (pasteSelection): adjust
13790
13791         * FloatList.C (FloatList): update from the new_insets branch.
13792         * Floating.[Ch]: ditto
13793         * LaTeXFeatures.C: ditto
13794         * buffer.C: ditto
13795         * lyxlex_pimpl.C: ditto
13796
13797         * paragraph.C (Last): remove when NEW_INSETS is defined.
13798
13799         * other file: changes because of the above.
13800
13801 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13802
13803         * lyxparagraph.h: rename next to next_, previous to previous_,
13804         make them private for NEW_INSETS. Rename Next() to next(),
13805         Previous() to previous().
13806
13807         * other files: changes because of the above.
13808
13809 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13810
13811         * BufferView.h:
13812         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13813         problem.
13814
13815 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13816
13817         * main.C (main): pass lyx_localedir to gettext_init().
13818
13819         * gettext.h: remove locale_init and gettext_init macros
13820
13821         * gettext.C (locale_init): new function
13822         (gettext_init): new function
13823
13824         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13825         setlocale().
13826
13827 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13828
13829         * Moved credits to frontends:
13830         * credits.[Ch]: removed
13831         * credits_form.[Ch]: removed
13832         * lyx_gui_misc.C: remove credits stuff
13833         * Makefile.am:
13834
13835 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13836
13837         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13838
13839         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13840         unneeded destructor.
13841
13842         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13843         a standalone pointer again.
13844
13845         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13846
13847 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13848
13849         * Makefile.am:
13850         * filedlg.h:
13851         * filedlg.C:
13852         * LyXAction.C:
13853         * ToolbarDefaults.C:
13854         * bufferlist.C:
13855         * commandtags.h:
13856         * form1.C:
13857         * form1.h:
13858         * lyx_cb.C:
13859         * lyx_cb.h:
13860         * lyxfunc.h:
13861         * lyxfunc.C:
13862         * BufferView_pimpl.C: use new file dialog in GUII
13863
13864         * lyx_cb.h:
13865         * lyx_cb.C: remove LayoutsCB to Toolbar
13866
13867 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13868
13869         * ShareContainer.h (get): add std:: qualifier
13870
13871 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13872
13873         * ShareContainer.h: define a proper ShareContainer::value_type
13874         type (and use typename to please compaq cxx)
13875
13876 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13877
13878         * lyxparagraph.h: move serveral local vars to
13879         ParameterStruct/ParagraphParameters., use ShareContainer in
13880         FontTable., make vars in FontTable private and add getter and
13881         setter.
13882
13883         * paragraph.C: changes because of the above.
13884
13885         * lyxfont.h: remove copy constructor and copy assignment. (the
13886         default ones is ok), move number inside FontBits. move inlines to
13887         lyxfont.C
13888
13889         * lyxfont.C: add number to initializaton of statics, move several
13890         inlines here. constify several local vars. some whitespace
13891         cleanup. Dont hide outerscope variables.
13892
13893         * Spacing.h: add two new constructors to match the set methods.
13894
13895         * ShareContainer.h: new file, will perhaps be moved to support
13896
13897         * ParameterStruct.h: new file
13898
13899         * ParagraphParameters.h: new file
13900
13901         * ParagraphParameters.C: new file
13902
13903         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13904         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13905
13906         * BufferView_pimpl.C: ParagraphParameter changes.
13907         * buffer.C: Likewise.
13908         * bufferview_funcs.C: Likewise.
13909         * text.C: Likewise.
13910         * text2.C: Likewise.
13911
13912 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13913
13914         * lyxfind.C (LyXReplace): do not redefine default argument in
13915         implementation.
13916         (IsStringInText): ditto
13917         (SearchForward): ditto
13918         (SearchBackward): ditto
13919
13920 2001-03-06  Juergen Vigna  <jug@sad.it>
13921
13922         * lyxfind.C (IsStringInText): put parentes around expressions.
13923
13924 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13925
13926         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13927
13928 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13929
13930         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13931
13932         * stl_string_fwd.h: add comment
13933
13934         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13935
13936         * tabular.h:
13937         * tabular.C: remove unused DocBook methods
13938
13939         * intl.C:
13940         * language.C:
13941         * paragraph.C:
13942         * buffer.C:
13943         killed DO_USE_DEFAULT_LANGUAGE
13944
13945 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13946
13947         * lyx_gui.C: do not include language.h.
13948
13949         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13950         arguments in function implementation.
13951
13952 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13953
13954         * BufferView_pimpl.C: add <ctime>
13955
13956 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13957
13958         * BufferView_pimpl.C: add using std::find_if
13959
13960 2001-02-27  José Matos  <jamatos@fep.up.pt>
13961
13962         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13963         by OnlyPath.
13964
13965 2001-02-11  José Matos  <jamatos@fep.up.pt>
13966
13967         * buffer.C (makeDocBookFile): command styles now have a parameter as
13968         "title" by default.
13969
13970 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13971
13972         * layout_forms.[Ch]: removed
13973         * lyx_cb.[Ch]: out character
13974         * lyx_gui.C: out character
13975         * lyx_gui_misc.C: out character
13976         * bufferview_funcs.C: : out character,
13977         added toggleall as parameter in ToggleAndShow
13978
13979 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13980
13981         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13982
13983         * text2.C (SetCurrentFont): Disable number property at boundary.
13984
13985 2001-02-26  Juergen Vigna  <jug@sad.it>
13986
13987         * lyxfunc.C (getStatus): added a string argument override function so
13988         that this is correctly called from LyXFunc::Dispatch if it contains a
13989         do_not_use_argument which is used!
13990         (Dispatch): added check for "custom" export and call appropriate func.
13991
13992 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13993
13994         * lyxrc.C: Add language_command_local, language_use_babel and
13995         language_global_options.
13996
13997         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13998
13999         * buffer.C (makeLaTeXFile): Use language_use_babel and
14000         language_global_options.
14001
14002 2001-02-23  Juergen Vigna  <jug@sad.it>
14003
14004         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14005         which works with LyXText and putted it inside BufferView. Here now we
14006         only call for that part the BufferView::Dispatch() function.
14007
14008         * BufferView.C (Dispatch): added.
14009
14010         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14011         functions which needs to use a LyXText over from LyXFunc.
14012         (MenuInsertLyXFile): added
14013         (getInsetByCode): added
14014         (moveCursorUpdate): added
14015         (static TEXT): added
14016
14017 2001-02-22  Juergen Vigna  <jug@sad.it>
14018
14019         * BufferView_pimpl.C (update): call a status update to see if LyXText
14020         needs it.
14021
14022 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14023
14024         * vc-backend.C (revert): implement for CVS
14025         (getLog): implement for CVS
14026
14027 2001-02-20  Juergen Vigna  <jug@sad.it>
14028
14029         * text2.C (ClearSelection): added BufferView param for inset_owner call
14030
14031         * lyxfunc.C (TEXT): added this function and use it instead of
14032         directly owner->view()-text of getLyXText().
14033
14034 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14035
14036         * src/layout_forms.C: out preamble
14037         * src/layout_forms.h: out preamble
14038         * src/lyx_cb.C: out preamble
14039         * src/lyx_cb.h: out preamble
14040         * src/lyx_gui.C: out preamble
14041         * src/lyx_gui_misc.C: out preamble
14042         * src/lyxfunc.C: connect with guii preamble
14043
14044 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14045
14046         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14047
14048 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14049
14050         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14051         whether to run bibtex.
14052
14053 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14054
14055         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14056
14057 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14058
14059         * Makefile.am (lyx_SOURCES): removed bibforms.h
14060
14061         * vspace.h: doxygen
14062
14063         * text.C (GetVisibleRow): make several local vars const
14064
14065         * tabular.C: small cleanup.
14066
14067         * lyxserver.C (callback): use compare instead of strncmp
14068
14069         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14070         inlines to after class or to paragraph.C
14071
14072         * lyxfont.h: remove friend operator!=
14073
14074         * converter.h: move friend bool operator< to non friend and after
14075         class def.
14076
14077         * combox.h: small cleanup
14078
14079         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14080         to inlines after class def.
14081
14082         * buffer.C (pop_tag): use string operations instead of strcmp
14083
14084         * bmtable.c: doxygen, small cleanup
14085
14086         * LaTeX.h: remove friend operator==
14087
14088 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14089
14090         * screen.C:
14091         * lyxrc.[Ch]:
14092         * lyxfunc.C:
14093         * lyxfont.[Ch]:
14094         * lyx_cb.C:
14095         * intl.[Ch]:
14096         * commandtags.h:
14097         * buffer.C:
14098         * WorkArea.[Ch]:
14099         * LyXAction.C:
14100         * BufferView_pimpl.C:
14101         * BufferView.[Ch]: remove cruft
14102
14103 2001-02-14  Juergen Vigna  <jug@sad.it>
14104
14105         * lyxfunc.C: removed #if 0 unused code
14106
14107         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14108
14109         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14110
14111         * text2.C (SetSelection): added a BufferView * parameter
14112
14113 2001-02-13  Juergen Vigna  <jug@sad.it>
14114
14115         * lyxfunc.C (Dispatch): fixed protected blank problem.
14116         * BufferView2.C (protectedBlank): added LyxText * parameter.
14117
14118         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14119         (AppendColumn): same as above for column_info.
14120
14121         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14122         (moveCursorUpdate): use a LyXText param for support of InsetText.
14123
14124         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14125         (tripleClick): ditto
14126
14127         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14128
14129         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14130
14131         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14132
14133         * text2.C (SetSelection): set correct update status if inset_owner
14134         (ToggleFree): ditto
14135
14136 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14137
14138         * tabular.C: remove some commented code.
14139
14140 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14141
14142         * BufferView_pimpl.C: call hideSplash()
14143
14144         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14145
14146         * include_form.h:
14147         * bibforms.h: remove
14148
14149         * lyxfunc.C:
14150         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14151           add LFUN_CHILD_CREATE
14152
14153         * counters.h: fix tiny typo
14154
14155         * lyx_cb.C:
14156         * lyx.h:
14157         * lyx_gui.C:
14158         * lyx.C: move splash to frontends/xforms/
14159
14160         * lyx_gui_misc.C: move Include and Bibform to frontends
14161
14162         * lyxvc.h: clarify comment
14163
14164         * vspace.C: tiny housekeeping
14165
14166 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14167
14168         * text.C (PrepareToPrint): RTL Fix.
14169
14170         * paragraph.C (GetUChar): New method.
14171         (String):  Use GetUChar.
14172
14173         * buffer.C (asciiParagraph): Use GetUChar.
14174
14175 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14176
14177         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14178
14179 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14180
14181         * buffer.h:
14182         * buffer.C: rename to getLogName(), handle
14183           build log / latex log nicely
14184
14185 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14186
14187         * MenuBackend.C:
14188         * MenuBackend.h: remove support for reference menuitem type.
14189
14190 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14191
14192         * BufferView_pimpl.C: housekeeping
14193         * BufferView_pimpl.h:
14194         * LyXView.h:
14195         * Makefile.am:
14196         * Timeout.C:
14197         * Timeout.h:
14198         * minibuffer.h: move Timeout GUI-I
14199
14200 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14201
14202         * lyxrc.C (read): Update converters data-structures.
14203
14204 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14205
14206         * LaTeX.h (operator!=): add operator != for Aux_Info
14207
14208 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14209
14210         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14211
14212         * LaTeXLog.C: deleted, useful code moved to Buffer
14213
14214         * buffer.h:
14215         * buffer.C: new function getLatexLogName()
14216
14217         * lyx_gui_misc.C:
14218         * lyx_gui.C:
14219         * lyxvc.C:
14220         * lyxvc.h:
14221         * lyxfunc.C: use frontends for LaTeX and VC logs
14222
14223 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14224
14225         * LaTeX.h: yet another std:: that Allan forgot.
14226
14227         * Variables.C (set): renamed from isset(), because this clashes
14228         with some HP-UX macros (grr).
14229
14230 2001-02-06  Allan Rae  <rae@lyx.org>
14231
14232         * LaTeX.h: Another bug fix.  Missing std:: this time.
14233
14234 2001-02-04  Allan Rae  <rae@lyx.org>
14235
14236         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14237         floats problem. I've left it commented out because it's not quite
14238         correct.  It should also test that the current object is a table or
14239         figure inset.  But I haven't gotten around to figuring out how to do
14240         that.  I *think* it'll be something like: "table" == inset.type()
14241
14242         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14243         bool.
14244
14245 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14246
14247         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14248         all the citation/databases/styles in the auxilary file.
14249         (run): Rerun latex if there was a babel language error.
14250
14251 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14252
14253         * text.C (Backspace): Preserve the font when changing newline char
14254         with a space.
14255         (BreakParagraph): If the cursor is before a space, delete the space.
14256
14257         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14258
14259 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14260
14261         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14262         new argument (code).
14263         (ChangeCitationsIfUnique): New method.
14264
14265         * paragraph.C (GetPositionOfInset): Handle bibkey.
14266
14267 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14268
14269         * BufferView_pimpl.h: change type of Position::par_pos to
14270         LyXParagraph::size_type.
14271
14272 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14273
14274         * BufferView_pimpl.C (savePosition, restorePosition): Write
14275         messages to minibuffer.
14276
14277 2001-01-28  José Matos  <jamatos@fep.up.pt>
14278
14279         * buffer.C (makeDocBookFile): adds support for document language.
14280         A silly restriction on the name of LatexCommand types where removed.
14281         Added support for CDATA sections, allows to chars unescaped, used
14282         among others in code, to avoid escape < and >.
14283
14284 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14285
14286         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14287         saved positions instrad of a stack. Furthermore, a position is
14288         stored using paragraph id/paragraph position.
14289
14290         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14291         Remove LFUN_REF_BACK.
14292
14293 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14294
14295         * converter.C (dvipdfm_options): New method.
14296
14297 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14298
14299         * vspace.C (isValidLength): Fix for empty input string.
14300
14301 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14302
14303         * LyXAction.C (init): change description of LFUN_FIGURE to
14304         "Insert Graphics"
14305
14306 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14307
14308         * LaTeX.C: add using directive
14309
14310 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14311
14312         * MenuBackend.C (expand): Fix the sorting of the formats.
14313
14314 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14315
14316         * lyx_main.C: tiny error message fix
14317
14318 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14319
14320         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14321         calling fl_initialize(). This fixes the problem with ',' as
14322         decimal separator in text files.
14323
14324 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14325
14326         * trans.C (process): Fix the keymap bug.
14327
14328 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14329
14330         * LaTeX.C (scanAuxFiles): New method. Provides support for
14331         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14332         (scanLogFile) Scan for "run BibTeX" messages.
14333
14334         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14335         OT1 font encoding. Also, load the aecompl package if the ae
14336         package is loaded.
14337
14338         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14339
14340 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14341
14342         * texrow.C (increasePos): turn two error messages into debug
14343         messages.
14344
14345 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14346
14347         * LaTeX.C (scanAux): Handle the \@input macro.
14348         (runBibTeX): Use scanAux().
14349
14350         * language.C (latex_options_): New field.
14351
14352         * LaTeXFeatures.C (getMacros): Add language macros.
14353
14354         * buffer.C (makeLaTeXFile): Small fix.
14355
14356 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14357
14358         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14359
14360         * text2.C: add a using directive.
14361
14362 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14363
14364         * BufferView2.C:
14365         * lyx_gui_misc.h:
14366         * lyxfr1.C:
14367         * lyxfunc.C: kill LyXBell.
14368
14369 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14370
14371         * text.C (IsBoundary): Remove the error message
14372
14373         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14374
14375         * lyxrc.C (setDefaults): Correct initialization value for
14376         font_norm_type.
14377
14378 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14379
14380         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14381         gotoError().
14382
14383         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14384         and GotoNextNote().
14385
14386         * src/LyXAction.C: Added reference-next.
14387
14388         * text.C (InsertChar): Use contains instead of strchr.
14389
14390         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14391
14392 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14393
14394         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14395         alignment commands (when needed).
14396
14397         * text.C (InsertChar): Add ':' to number separator chars.