]> git.lyx.org Git - features.git/blob - src/ChangeLog
Make some functors adaptable and related small stuff.
[features.git] / src / ChangeLog
1 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * ShareContainer.h: make isEqual and isUnique adaptable
4
5         * CutAndPaste.C: make resetOwnerAndChanges adaptable
6
7 2004-01-07  Angus Leeming  <leeming@lyx.org>
8
9         * LyXAction.C:
10         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
11
12         * BufferView_pimpl.C (dispatch): act on these LFUNs.
13
14         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
15         functions replacing find, replace and replaceAll.
16
17         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
18         LFUN_WORDFIND(FORWARD|BACKWARD).
19
20 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
21
22         * text.C (breakParagraph): remove an outdated #warning
23
24 2004-01-07  André Pönitz  <poenitz@gmx.net>
25
26         * lyxfind.C: somewhat clearer logic
27
28         * text.C: prevent crash in cursorX on unitialized row cache
29
30 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
31
32         * lyxcursor.[Ch] (operator>): add
33         * textcursor.C (selStart, selEnd): use std::min and std::max
34
35 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
36
37         * Chktex.C: include boost/format.hpp
38
39 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
40
41         * InsetList.C: replace functor MathcIt with adaptable functor
42         InsetTablePosLess
43         (insetIterator): modify accordingly
44
45         * BranchList.h: move the BranchNamesEqual functor here from...
46         * BranchList.C: ... to here
47
48         * BranchList.C: new BranchListEqual fuctor, use it. Remove
49         SameName and match.
50         (add): replace a finding loop with std::find_if.
51
52 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
53
54         * output_docbook.C: moving LatexParam functionality into
55         .layout files
56
57 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
58
59         * buffer.C: increment format to 229.
60
61 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
62
63         * LaTeXFeatures.C:
64         * lyx_sty.[Ch]: remove minipageindent_def
65
66         * LyXAction.C:
67         * factory.C:
68         * lfuns.h:
69         * lyxfunc.C:
70         * text3.C: remove LFUN_INSET_MINIPAGE
71
72 2003-12-28  Angus Leeming  <leeming@lyx.org>
73
74         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
75
76 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
77
78         * text2.C (setParagraph): fix off-by-one crash
79
80 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
81
82         * output_docbook.C: header stuff for AGU
83
84 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
85
86         * text2.C (redoCursor): remove
87         * text.C:
88         * text3.C:
89         * BufferView_pimpl.C: remove calls to redoCursor and
90         setCursor(cursor.par(), cursor.pos()) all around
91
92 2003-12-15  Angus Leeming  <leeming@lyx.org>
93
94         * buffer.C: up the format to 228.
95
96 2003-12-15  André Pönitz  <poenitz@gmx.net>
97
98         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
99         slices
100
101         * Makefile.am:
102
103         * BufferView_pimpl.C:
104         * cursor.[Ch]:
105         * lyxcursor.[Ch]:
106         * rowpainter.[Ch]:
107         * lyxtext.h:
108         * text.C:
109         * text2.C:
110         * text3.C: adjust
111
112 2003-12-15  Angus Leeming  <leeming@lyx.org>
113
114         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
115         than getFromGUIName to manipulate the color.
116
117 2003-12-14  Angus Leeming  <leeming@lyx.org>
118
119         * BranchList.[Ch]: minimize the API.
120         (Branch::getBranch, getColor): now return a 'const &'.
121         (Branch::setSelected) now returns a bool set to true if the
122         selection status changes.
123         (BranchList::clear, size, getColor, setColor, setSelected,
124         allBranches, allSelected, separator): removed.
125         (BranchList::find): new functions, returning the Branch with
126         the given name.
127         (BranchList::add, remove): return a bool indicating that
128         the operation was successful.
129
130         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
131         new InsetBranch::isBranchSlected member function.
132
133         * LColor.[Ch]: mimimize the API.
134         (fill): renamed as addColor and made private.
135         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
136         versions of these functions taking a string arg have been removed.
137
138         * bufferparams.C (readToken):
139         * lyxfunc.C (dispatch):
140         * lyxrc.C (read): changes due to the altered BranchList and
141         LColor APIs.
142
143         * factory.C (createInset, readInset): changes due to altered
144         InsetBranch c-tor.
145
146 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
147
148         * factory.C:
149         * lyxfunc.C: remove insetminipage. "minipage-insert"
150         now produces a frameless minipage box inset.
151
152 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
153
154         * textcursor.[Ch] (selStart,selEnd): add new methods
155         remove selection::start, end, use LyXCursor::operator<
156         * lyxcursor.[Ch] (operator<): add
157         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
158         * BufferView.[Ch] (unsetXSel): add
159         * text2.C (clearSelection): use unsetXSel,adjust
160         * text.C: adjust
161         * text3.C: adjust
162         * rowpainter.C: adjust
163         * bufferview_funcs.C (put_selection_at): adjust
164
165 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
166
167         * BufferView_pimpl.C: small coord. correction
168
169 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
170
171         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
172         dragging over the splash screen.
173
174 2003-12-11  Angus Leeming  <leeming@lyx.org>
175
176         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
177         as it is now handled in LyXText::dispatch.
178
179         * text3.C (doInsertInset): remove a level of nesting.
180
181 2003-12-11  Angus Leeming  <leeming@lyx.org>
182
183         * factory.C (createInset): changes due to the changed interface to
184         InsetCommandMailer::string2params.
185
186 2003-12-10  Angus Leeming  <leeming@lyx.org>
187
188         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
189         'dialog-show-new-inset <inset name>'
190
191 2003-12-10  Angus Leeming  <leeming@lyx.org>
192
193         * buffer.C: up the format to 227.
194
195         * factory.C: the box inset is now identified simply by 'Box'.
196
197 2003-12-10  Angus Leeming  <leeming@lyx.org>
198
199         * buffer.C: up the format to 226.
200
201         * factory.C: the note inset is now identified simply by 'Note'.
202
203 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
204
205         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
206         when a pit is enough. Standarize a couple of loops.
207
208 2003-12-05  Angus Leeming  <leeming@lyx.org>
209
210         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
211         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
212         data to the re-worked "log" dialog.
213
214 2003-12-03  André Pönitz  <poenitz@gmx.net>
215
216         * PosIterator.C:
217         * iterators.C:
218         * lyxtext.h:
219         * output_latex.C:
220         * paragraph_funcs.C:
221         * text.C:
222         * text2.C: use Inset::getText instead of Inset::getParagraph
223
224 2003-12-03  André Pönitz  <poenitz@gmx.net>
225
226         * buffer.[Ch]:
227         * lyxtext.h:
228         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
229         InsetText::read() as LyXText::read()
230
231 2003-12-02  Angus Leeming  <leeming@lyx.org>
232
233         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
234         type. Add a comment in the implementation that the function uses
235         the stream's bad() function rather than fail() as the std::streams
236         would do.
237
238 2003-12-02  André Pönitz  <poenitz@gmx.net>
239
240         * lyxlex.[Ch]: make interface more similar to std::stream
241
242         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
243
244 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
245
246         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
247
248 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
249
250         * vspace.[Ch]: remove VSpace::NONE
251
252 2003-12-01  André Pönitz  <poenitz@gmx.net>
253
254         * buffer.[Ch]:
255         * lyxtext.h: move ParagraphList member to LyXText
256         rename LyXText::ownerParagraphs to LyXText::paragraph
257
258         * CutAndPaste.C:
259         * bufferview_funcs.C:
260         * iterators.[Ch]:
261         * lyx_cb.C:
262         * paragraph.C:
263         * rowpainter.C:
264         * tabular.C:
265         * text.C:
266         * text2.C:
267         * text3.C: adjust
268
269         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
270
271         * undo.C: fix cursor positioning
272
273 2003-12-01  John Levon  <levon@movementarian.org>
274
275         * BufferView_pimpl.C: fix a crash on exit with
276         a buffer open
277
278 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
279
280         * BranchList.C: fix setSelected() method.
281
282 2003-11-28  André Pönitz  <poenitz@gmx.net>
283
284         * ParagraphParameters.[Ch]:
285         * ParameterStruct.h: remove space above/below from Paragraph to
286          InsetVSpace
287
288         * BufferView_pimpl.C:
289         * factory.C:
290         * lyxfunc.C:
291         * lyxtext.h:
292         * output_latex.C:
293         * paragraph.C:
294         * paragraph_funcs.C:
295         * rowpainter.[Ch]:
296         * text.C:
297         * text2.C:
298         * text3.C: adjust
299
300 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
301
302         * factory.C: Syntax change for CharStyles
303
304 2003-11-28  André Pönitz  <poenitz@gmx.net>
305
306         * BufferView.[Ch]:
307         * BufferView.[Ch]:
308         * buffer.[Ch]:
309         * buffer.[Ch]: move LyXText member
310
311 2003-11-28  André Pönitz  <poenitz@gmx.net>
312
313         * BufferView.[Ch]: make LyXText * text a private member
314
315         * BufferView_pimpl.C:
316         * cursor.C:
317         * iterators.C:
318         * lyx_cb.C:
319         * lyxfind.C:
320         * lyxtext.h:
321         * rowpainter.[Ch]:
322         * text.C:
323         * text2.C:
324         * undo.C: adjust
325
326         * output_plaintext.C: cleanup
327
328 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
329
330         * buffer.C:
331         * lyxtextclass.[Ch]: parametrize SGML document header
332
333 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
334
335         * converter.[Ch]:
336         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
337         getFlavor().
338
339 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
340
341         * text2.C (setFont): rework using PosIterator (no more recursive)
342         (setCharFont): no more needed
343         (setLayout): no more selection cursors fiddling (done by redoCursor)
344         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
345         destroy remaining ones)
346
347 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
348
349         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
350         * lyxtext.h: ditto
351         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
352         selection cursors
353         * lyxfunc.C: adjust
354         * text3.C: adjust + re-allow multi par depth changes
355         * textcursor.C: simplify a bit
356
357 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
358
359         * src/buffer.C:
360         * src/lyxlayout.C:
361         * src/lyxlayout.h:
362         * src/lyxtext.h:
363         * src/output_docbook.C:
364         * src/output_latex.C:
365         * src/paragraph.C:
366         * src/paragraph.h:
367         * src/sgml.C:
368         * src/sgml.h:
369         * src/text2.C: Introducing a number of tags parametrizing various
370         XML formats that we may want to support
371
372 2003-11-25  André Pönitz  <poenitz@gmx.net>
373
374         * InsetList.[Ch] (begein, end): inline as suggested by profiler
375
376         * lyxtext.h (leftMargin/rightMargin): simplify interface
377
378         * rowpainter.C:
379         * text.C:
380         * text2.C:
381         * text3.C: adjust
382
383 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
384
385         * lyxfunc.C (dispatch): propogate the bibtex databases from the
386         master file to any child files. Fixes bug 546.
387
388 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
389
390         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
391
392 2003-11-24  André Pönitz  <poenitz@gmx.net>
393
394         * rowpainter.C: simplification
395
396         * text2.C (updateCounters): remove call to redoParagraph on
397         changed labels as this is far too expensive.
398
399 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
400
401         * converter.C (convert): fix a crash: this function gets
402         called with buffer == 0 from importer code.
403
404 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
405
406         * text3.C (cursorPrevious): make sure that we do not compare
407         iterators form different containers.
408         (cursorNext): ditto
409
410         * rowpainter.C (paintSelection): make sure that we do not compare
411         iterators from different containers.
412
413         * text3.C (dispatch): [PRIOR] make sure that we do not compare
414         iterators from different ParagraphList containers.
415         [NEXT] ditto
416
417         * text2.C (LyXText): change order of initialization slightly
418         (operator=): new function. copy all variables except cache_par_
419         (moveUp): make sure that we do not compare iterators from
420         different ParagraphList constainers.
421         (moveDown): ditto
422
423         * text.C (firstPar): new function
424         (lastPar): new function
425         (endPar): new function
426
427         * lyxtext.h: move things around and group public functions, public
428         variables, private functions, private variables
429
430 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
431
432         * factory.C: change call to InsetERT constructor to avoid
433         additional invocation of method status
434         * text2.C (toggleInset): remove redundant update() call
435         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
436         instead of a Bufferview pointer
437
438 2003-11-21  André Pönitz  <poenitz@gmx.net>
439
440         * rowpainter.C: simplification
441
442 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
443
444         * text3.C (dispatch): make possible to extend a word/row selection
445         with the mouse
446
447 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
448
449         * lyxtext.h: x0_,y0_ -> xo_,yo_
450         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
451         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
452         * rowpainter.C (paintRows): paint full paragraphs
453
454 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
455
456         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
457         screen coordinates)
458
459 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
460
461         * lyxtext.h: add x0_, y0_
462         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
463         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
464
465 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
466
467         * text2.C (setCursorIntern): move the x_target update here *
468         * text3.C: change some bv() to true/false in calls to
469         cursorUp/Down/Right/Left
470         * cursor.C: use helper function.
471
472 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
473
474         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
475         * paragraph_funcs.[Ch]: correct comment
476         * rowpainter.C: do not paint selections away from bv->cursor()
477         Fix a long standing selection painting bug.
478         * text3.C: generalize mouse-selection code to LyXTexts other that
479         top one
480         * textcursor.C: do not use y coords if we can use par offsets
481
482 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
483
484         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
485         cursor position after e.g. inset insert)
486
487 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
488
489         * lyxfind.C (replace): adjust to locking removal + some
490         code simplification
491
492 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
493
494         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
495         of the path
496
497 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
498
499         * lyxlayout.[Ch]:
500         * output_docbook.C: XML sanitation: new layout
501         parameters InnerTag and CommandDepth
502
503 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
504
505         * BufferView_pimpl.C:
506         * factory.C:
507         * text3.C: Fix the insertion and modification of button-style
508         insets
509
510 2003-11-13  André Pönitz  <poenitz@gmx.net>
511
512         * InsetList.[Ch]: remove deleteLyXText
513
514         * paragraph.[Ch]: cache beginOfBody position
515
516         * Bidi.C:
517         * text.C:
518         * text2.C:
519         * text3.C: remove superfluous update() calls
520
521         * vspace.C: cleanup
522
523 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
524
525         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
526         * BufferView.C (fitLockedInsetCursor): remove
527         * cursor.[Ch] (getDim): add
528         * text.C (getRowNearY): add faster version
529         * text3.C: remove some update calls
530
531 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
532
533         * LaTeXFeatures.C:
534         * LyXAction.C:
535         * MenuBackend.C:
536         * MenuBackend.h:
537         * dispatchresult.h:
538         * factory.C:
539         * lfuns.h:
540         * lyxfunc.C:
541         * lyxtextclass.C:
542         * lyxtextclass.h:
543         * text3.C: The Character Style /XML short element patch.
544
545 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
546
547         * text3.C:
548         * factory.C: Small step to solving 'unable to insert some insets'
549         problem
550
551 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
552
553         * cursor.[Ch] (updatePos): new function for updating the y
554         position of the tip inset
555         * bufferview_funcs.C (put_selection_at):
556         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
557
558 2003-11-11  André Pönitz  <poenitz@gmx.net>
559
560         * text.C: remove big comment on invalid Paragraph pointers as it is
561         not valid anymore
562
563 2003-11-11  André Pönitz  <poenitz@gmx.net>
564
565         * text_funcs.[Ch]: merge with ...
566
567         * text.C: ... this
568
569         * lyxtext.h:
570         * text2.C:
571         * text3.C: adjust
572
573         * Makefile.am: remove text_funcs.[Ch]
574
575 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
576
577         * cursor.C (getPos): return absolute cached y coord
578
579         * BufferView_pimpl.C (fitCursor): new simplistic code
580         (workAreaDispatch): add a fitCursor call
581
582 2003-11-10  André Pönitz  <poenitz@gmx.net>
583
584         * BufferView.[Ch]:
585         * BufferView_pimpl.[Ch]: merge update() and updateInset()
586
587 2003-11-10  André Pönitz  <poenitz@gmx.net>
588
589         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
590         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
591         indicate that the cursor needs to leave an inset
592
593         * lyxtext.h: remove inset locking
594
595         * cursor.[Ch]: re-implement functionality provided by inset locking
596
597         * BufferView.[Ch]:
598         * BufferView_pimpl.[Ch]:
599         * LyXAction.C:
600         * bufferview_funcs.[Ch]:
601         * factory.C:
602         * funcrequest.[Ch]:
603         * iterators.C:
604         * lyx_cb.C:
605         * lyxfind.C:
606         * lyxfunc.C:
607         * text.C:
608         * text2.C:
609         * text3.C:
610         * undo.C: adjust
611
612 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
613
614         * PosIterator.[Ch]: replace the stack with a vector, add inset
615         accesor
616         * iterators.[C]: adjust
617
618 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
619
620         * lyxfind.C (replaceAll): mark the buffer dirty if something was
621         replaced
622         * paragraph_funcs.C (readParToken): put the correct id in the
623         error item, not the id of the top paragraph
624
625 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
626
627         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
628         * bufferview_funcs.C (put_selection_at): use the above
629
630 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
631
632         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
633
634 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
635
636         * output_linuxdoc.h:
637         * output_plaintext.h:
638         * output.h:
639         * output_docbook.h: add #include statements
640
641 2003-11-05  José Matos  <jamatos@lyx.org>
642
643         * output_docbook.[Ch]:
644         * output_latex.[Ch]:
645         * output_linuxdoc.[Ch]:
646         * output_plaintext.[Ch]: New files for output formats.
647         * output.[Ch]: New file for helper functions.
648
649         * buffer.[Ch]:
650         * paragraph_funcs.[Ch]: output functions moved to new files.
651
652         * outputparams.h: rename of latexrunparams.h
653
654         * LaTeX.[Ch]:
655         * buffer.[Ch]:
656         * bufferlist.[Ch]:
657         * converter.[Ch]:
658         * exporter.C:
659         * paragraph.[Ch]:
660         * paragraph_funcs.[Ch]:
661         * paragraph_pimpl.[Ch]:
662         * tabular.[Ch]: rename ascii to plaintext
663         and LatexRunParams to OutputParams.
664
665 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
666
667         * iterators.[Ch] (text): require bv argument
668         * undo.C (recordUndo):
669         * lyxfunc.C (dispatch):
670         * bufferview_funcs.C (put_selection_at): adjust
671
672 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
673
674         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
675
676 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
677
678         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
679         nestings
680
681 2003-11-04  André Pönitz  <poenitz@gmx.net>
682
683         * cursor.[Ch]: restructure
684
685         * BufferView.[Ch]:
686         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
687
688         * iterators.[Ch] (asCursor): remove
689
690         * lfuns.h: remove LFUN_INSET_EDIT
691
692         * lyxfunc.C:
693         * tabular.C:
694         * text.C:
695         * text2.C:
696         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
697
698 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
699
700         * lyxfind.[Ch]: complete overhaul
701         * BufferView_pimpl.C:
702         * lyxfunc.C: adjust
703         * paragraph.[Ch] (insert): add
704
705 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
706
707         * BufferView.[Ch]:
708         * lyxtext.h:
709         * text.C: remove dead spellcheck code
710
711 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
712
713         * dispatchresult.h: add a val setter
714
715         * cursor.C (dispatch): use a tempvar for data_[i]
716
717 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
718
719         * PosIterator.[Ch]: compile fix
720
721 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
722
723         * text.C (cursorPar): deactivate the cursor cache
724
725 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
726
727         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
728
729 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
730
731         * text3.C (dispatch): adjust for new DisptchResult semantics.
732
733         * lyxfunc.C (dispatch): handle update when return from
734         Cursor::dispatch, adjust for new DispatchResult semantics.
735
736         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
737         DispatchResult(true) mean to not update. Add class functions for
738         setting dispatched and update, as well as reading.
739
740         * cursor.C (dispatch): don't handle update here
741
742 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
743
744         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
745         * trans_mgr.C: adjust
746
747         * paragraph_funcs.C (readParToken): exception safety
748
749         * lyxvc.h: store the vcs pointer in a scoped_ptr
750         * lyxvc.C: adjust
751
752         * lyxsocket.C (serverCallback): exception safety
753
754         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
755
756         * ispell.C (clone): make it return a auto_ptr
757
758         * factory.C (createInset): exception safety
759         (readInset): exception safety
760
761         * bufferlist.C (newBuffer): exception safety
762
763         * Thesaurus.C (Thesaurus): use initialization for aik_
764
765         * MenuBackend.C (expandToc): exception safety.
766
767 2003-11-03  André Pönitz  <poenitz@gmx.net>
768
769         * buffer.C:
770         * buffer.h:
771         * bufferview_funcs.C: remove getInsetFromId()
772
773         * lyxcursor.[Ch]:
774         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
775
776         * lyxfunc.C:
777         * text2.C:
778         * text3.C: adjust
779
780 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
781
782         * PosIterator.C (distance, advance): new
783         * bufferview_funcs.[Ch] (put_selection_at): new
784         * iterators.[Ch] (lockPath): new
785
786 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
787
788         * iterators.[Ch] (asPosIterator): added
789         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
790         * PosIterator.[Ch]: added
791
792 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
793
794         * text3.C:
795         * lyxfunc.C:
796         * cursor.C (dispatch):
797         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
798
799         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
800         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
801         contructor, add a class function dispatched. Remove operator>=
802
803 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
804
805         * debug.C: only use the default constructor for debugstream
806         (lyxerr) here.
807
808         * main.C (main): include debug.h and setup the lyxerr streambuf
809         here.
810
811 2003-10-31  José Matos  <jamatos@lyx.org>
812
813         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
814
815         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
816         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
817         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
818         * paragraph_pimpl.C (simpleTeXSpecialC):
819         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
820         add LatexRunParams argument.
821
822         * exporter.C (Export): change call accordingly.
823
824         * latexrunparams.h: add new member to take care of the other backends.
825 2003-10-30  José Matos  <jamatos@lyx.org>
826
827         * buffer.C (makeLinuxDocFile, makeDocBookFile):
828         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
829         factorise code for paragraph output.
830         * buffer.[Ch]:
831         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
832         move functions.
833
834 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
835
836         * text3.C (dispatch):
837         * lyxfunc.C (dispatch):
838         * cursor.C (dispatch):
839         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
840
841         * dispatchresult.h: make the dispatch_result_t ctor explicit
842
843 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
844
845         * sgml.[Ch]:
846         * buffer.C: small refactoring of docbook stuff
847
848 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
849
850         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
851         meaning.
852
853 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
854
855         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
856         operator dispatch_result_t, and operators for == != and >=
857
858         * cursor.C (dispatch): adjust for operator dispatch_result_t
859         removal. comment out call to update
860
861         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
862
863 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
864
865         * text3.C:
866         * text2.C:
867         * text.C:
868         * lyxtext.h:
869         * lyxfunc.C:
870         * cursor.C:
871         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
872         (dispatch):
873
874         * dispatchresult.h: new file, DispatchResult broken out of
875         insets/insetbase.h
876
877         * Makefile.am (lyx_SOURCES): add dispatchresult.h
878
879 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
880
881         * text.C (rowBreakPoint): put a hack inside #if 0
882
883 2003-10-28  André Pönitz  <poenitz@gmx.net>
884
885         * lyxtext.h:
886         * metricsinfo.C:
887         * paragraph_funcs.C:
888         * rowpainter.C:
889         * text.C:
890         * text2.C: general cleanup (lots of small stuff)
891
892 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
893
894         * text2.C (cursorEnd): simple fix to the "end key goes to one
895         before the end on last row" bug
896
897 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
898
899         * text.C (backspace): fix the "zombie characters"
900
901 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
902
903         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
904
905 2003-10-27  André Pönitz  <poenitz@gmx.net>
906
907         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
908
909         * factory.C: handle new InsetPagebreak, InsetLine
910
911         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
912         and move handling into new InsetPagebreak, InsetLine
913
914         * BufferView_pimpl.C:
915         * LyXAction.C:
916         * ParagraphParameters.C:
917         * ParameterStruct.h:
918         * lyxfunc.C:
919         * lyxtext.h:
920         * paragraph.C:
921         * paragraph.h:
922         * paragraph_funcs.C:
923         * paragraph_pimpl.C:
924         * rowpainter.C:
925         * text.C:
926         * text2.C:
927         * text3.C: adjust
928
929 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
930
931         * text.C:
932         * lyxrow_funcs.[Ch]:
933         * Bidi.C:
934         * paragraph.C:
935         * lyxtext.h:
936         * rowpainter.C:
937         * text2.C:
938         * text3.C: remove lastPos uses in favour of Row::endpos
939
940 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
941
942         * undo.C (performUndoOrRedo): fix two crashes by setting a
943         cursor by hand and reordering some calls. Use bv->lockInset instead
944         of inset->edit because the latter loses cursor information
945
946 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
947
948         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
949         by Martin
950         (rowBreakPoint): fix width. change point to point + 1.
951         Add a missing check.
952
953 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
954
955         * MenuBackend.C:
956         * lyxfunc.C: fix (at least partly) the problems
957         with the Nav menu and headers inside branch insets
958         reported by Kayvan
959
960 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
961
962         * paragraph.C (getChar): add strong asserts
963
964         * lyxrow_funcs.C (lastPos): remove hideous hack
965
966         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
967         (fill): adjust to that (avoid an infinite loop)
968
969 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
970
971         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
972
973 2003-10-23  André Pönitz  <poenitz@gmx.net>
974
975         * RowList_fwd.h: change list<> to vector<> to gain speed
976         after suggestion from Alfredo
977
978 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
979
980         * lyxtext.h: move the bidi stuff from here...
981         * text.C: and here
982         * text2.C: and here
983         * Bidi.[Ch]: ... to here
984
985 2003-10-23  André Pönitz  <poenitz@gmx.net>
986
987         * lyxtext.h:
988         * text.C (isLastRow, isFirstRow): new functions
989
990         * paragraph.h: new width cache member
991
992         * rowpainter.C: replace RowList::iterator with Row & where possible
993
994         * lyxfunc.C: replace several view()->text with a single call
995
996         * toc.C: fix 'unused' warning
997
998 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
999
1000         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1001         when woring with stream::pos_type
1002         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1003
1004 2003-10-22  André Pönitz  <poenitz@gmx.net>
1005
1006         * lyxtext.h:
1007         * text.C: use Row & instead of RowList::iterator
1008
1009         * lyxrow.h: rename end() to endpos()
1010
1011         * rowpainter.C:
1012         * text.C:
1013         * text2.C: adjust
1014
1015 2003-10-22  Angus Leeming  <leeming@lyx.org>
1016
1017         * buffer.[Ch] (fully_loaded): new member function, returning true
1018         only when the file has been loaded fully.
1019         Used to prevent the premature generation of previews and by the
1020         citation inset to prevent computation of the natbib-style label.
1021
1022         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1023         templates are all set up.
1024
1025         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1026
1027 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1028
1029         * text.C: fixed an "oops" in the "is a bit silly"
1030         bug fix
1031
1032 2003-10-21  André Pönitz  <poenitz@gmx.net>
1033
1034         * FuncStatus.[Ch]: small stuff, whitespace
1035
1036         * lyxfont.[Ch]: operator<<() for debug reasons
1037
1038         * lyxfunc.C:
1039         * lyxrow_funcs.C:
1040         * lyxtext.h: whitespace, spelling
1041
1042         * paragraph.C: naming of variables
1043
1044         * text.C:
1045         * text2.C: small stuff
1046
1047
1048 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1049
1050         * text.C: (1) finish off the inset display() work;
1051         (2) fix the "is a bit silly" bug (accessing char
1052         past end of par).
1053
1054 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1055
1056         * text.C: re-introduce display() for insets, fixing the
1057         various bugs (stretch of line above, math inset
1058         positioning, ...)
1059
1060 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1061
1062         * text.C (rightMargin): remove spurious semicolon
1063
1064         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1065         1415)
1066
1067 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1068
1069         * text3.C: fix one crash due to wrong cursor def
1070
1071 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1072
1073         * vc-backend.C (scanMaster): make the regex static
1074
1075         * LaTeX.C (scanAuxFile): make the regexs static
1076
1077         * text3.C (doInsertInset, dispatch, dispatch):
1078         * text2.C (cursorUp, cursorDown):
1079         * text.C (selectNextWordToSpellcheck):
1080         * BufferView_pimpl.C (dispatch):
1081         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1082
1083 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1084
1085         * lyxsocket.C: include <cerrno>
1086
1087 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1088
1089         * lyxfunc.C (dispatch): remove textcache stuff
1090
1091         * bufferlist.C (release): remove textcache stuff
1092         (closeAll): ditto
1093
1094         * TextCache.C: delete file
1095         * TextCache.h: delete file
1096
1097         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1098
1099         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1100         delete of the bv_->text.
1101         (resizeCurrentBuffer): remove texcache stuff
1102         (workAreaResize): ditto
1103
1104 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1105
1106         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1107         action.
1108
1109 2003-10-16  André Pönitz  <poenitz@gmx.net>
1110
1111         * lyxrow.[Ch]:
1112         * paragraph.h:
1113         * rowpainter.C:
1114         * text.C:
1115         * text2.C:
1116         * text3.C: speed up by storing y positions per paragraph plus per-row
1117         offset instead of having a 'full' y position in the row.
1118
1119 2003-10-15  André Pönitz  <poenitz@gmx.net>
1120
1121         * iterators.[Ch]:
1122         * iterators.[Ch]:
1123         * undo.[Ch]: make undo aware of inner insets
1124
1125 2003-10-14  Angus Leeming  <leeming@lyx.org>
1126
1127         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1128         static member functions LyX::ref() and LyX::cref.
1129         (lastfiles): new accessor functions for the new lastfiles_ member var.
1130         (addLyXView, views_): add a new LyXView to the list of views_.
1131         (updateInset): loop over all LyXViews to call their own updateInset
1132         member function, returning a pointer to the Buffer owning the inset.
1133
1134         * BufferView_pimpl.C (loadLyXFile):
1135         * MenuBackend.C (expandLastfiles):
1136         * bufferlist.C (MenuWrite, QuitLyX):
1137         lastfiles is no longer a global variable.
1138         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1139
1140         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1141         static function. Access through LyX::cref().emergencyCleanup().
1142
1143 2003-10-14  André Pönitz  <poenitz@gmx.net>
1144
1145         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1146
1147         * undo.[Ch]: restoring part of 'undo in insets'
1148
1149         * Makefile.am:
1150         * undo_funcs.[Ch]: merge with undo.[Ch]
1151
1152         * tabular.C: small cleansing stuff
1153
1154 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1155
1156         * paragraph_funcs.C (readParToken): report unknown insets as error
1157         boxes. Use the outer paragraph as location (also for unknown
1158         tokens).
1159
1160         * factory.C (readInset): do not abort on reading an unknown inset.
1161         Eat it and return 0.
1162
1163 2003-10-13  Angus Leeming  <leeming@lyx.org>
1164
1165         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1166
1167         * lyxrc.C: displayTranslator is now a function,
1168         declared in GraphicsTypes.h.
1169
1170 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1171
1172         * format.C: new placeholder $$a to pass the socket address.
1173
1174         * bufferlist.[Ch]: new function getBufferFromTmp.
1175
1176         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1177           files in the temporary dir.
1178
1179 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1180
1181         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1182
1183         * Makefile.am: add lyxsocket.[Ch].
1184
1185         * lyx_main.C (error_handler): handle SIGPIPE.
1186
1187 2003-10-13  André Pönitz  <poenitz@gmx.net>
1188
1189         * BufferView_pimpl.C:
1190         * lyxtext.h:
1191         * text.C:
1192         * text2.C:
1193         * text3.C:
1194         * undo_funcs.[Ch]: use paroffset_type instead of
1195           ParagraphList::iterators to prevent multiple conversion
1196           (and get a more robust interface)
1197
1198 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1199
1200         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1201         * lyxtext.h: ditto
1202         * text3.C (dispatch): ditto
1203
1204 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1205
1206         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1207         move the onlyfile, use onlyfile instead of foundfile in a couple
1208         of places.
1209
1210         * DepTable.C (update): flush the error stream a bit more
1211
1212 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1213
1214         * lyxserver.C (callback): adjust
1215
1216         * lyxfunc.C (getStatus): add a missing brace in commented code
1217         (ensureBufferClean): reindent
1218         (dispatch): delete version taking a string
1219
1220 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1221
1222         * LaTeX.C (deplog): move found file handlig from here...
1223         (handleFoundFile): .. to new function here.
1224         (deplog): make sure to discover several files mentioned on the
1225         same log line.
1226
1227 2003-10-10  André Pönitz  <poenitz@gmx.net>
1228
1229         * lyxfunc.C:
1230         * lyxtext.h:
1231         * tabular.C:
1232         * text.C:
1233         * text2.C:
1234         * text3.C: fix some of the tabular crashes
1235
1236 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1237
1238         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1239
1240         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1241
1242 2003-10-09  André Pönitz  <poenitz@gmx.net>
1243
1244         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1245
1246         * BufferView.C:
1247         * BufferView_pimpl.C:
1248         * bufferview_funcs.C:
1249         * lyx_cb.C:
1250         * lyxcursor.C:
1251         * lyxfind.C:
1252         * lyxfunc.C:
1253         * lyxtext.h:
1254         * text.C:
1255         * text2.C:
1256         * text3.C:
1257         * text_funcs.[Ch]:
1258         * textcursor.[Ch]:
1259         * undo_funcs.C: adjust
1260
1261 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1262
1263         * text2.C (incrementItemDepth): new function, use a backtracking
1264         algorithm to discover the correct item depth.
1265         (resetEnumCounterIfNeeded): new function, use a backtracking
1266         algorithm to discover if counter reset is needed.
1267         (setCounter): use them. Simplify a bit. Add different labels for
1268         different item depths for itemize.
1269
1270         * paragraph.C (Paragraph): remove initialization of enumdepth
1271         (operator=): ditto
1272
1273         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1274         enumerate and itemize. Change the type of itemdepth to signed char.
1275
1276 2003-10-08  André Pönitz  <poenitz@gmx.net>
1277
1278         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1279           thing assignable.
1280         * text.C:
1281         * text2.C: adjust
1282
1283         * tabular.[Ch]: fix crash after 'row-insert'
1284
1285 2003-10-08  Angus Leeming  <leeming@lyx.org>
1286
1287         Fix doxygen warnings.
1288
1289         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1290         Remove CutAndPaste:: prefix from header file declaration.
1291
1292         * LColor.h (fill): remove LColor:: prefix from declaration.
1293
1294         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1295         use lyx::depth_type rather than Paragraph::depth_type so that
1296         header file and .C file match.
1297
1298         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1299
1300         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1301         * aspell.C: \file aspell_local.C -> \file aspell.C
1302         * gettext.C: \file gettext.C -> \file src/gettext.C
1303         * gettext.h: \file gettext.h -> \file src/gettext.h
1304         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1305         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1306         * text.C: \file text.C -> \file src/text.C
1307
1308         * toc.C: move comment so that doxygen is not confused.
1309
1310 2003-10-07  Angus Leeming  <leeming@lyx.org>
1311
1312         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1313
1314 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1315
1316         * aspell.C:
1317         * aspell_local.h: add forgotten std::string's.
1318
1319 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1320
1321         * LaTeXFeatures.C:
1322         * LyXAction.C:
1323         * factory.C:
1324         * lfuns.h:
1325         * lyxfunc.C:
1326         * text3.C: The Box patch. Fancybox support, minipage, parbox
1327
1328 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1329
1330         * CutAndPaste.h:
1331         * DepTable.h:
1332         * FloatList.h:
1333         * LaTeXFeatures.h:
1334         * ParagraphParameters.h:
1335         * TextCache.h:
1336         * Thesaurus.h:
1337         * bufferlist.h:
1338         * exporter.h:
1339         * importer.h:
1340         * lastfiles.h:
1341         * lyxfind.h:
1342         * lyxfont.h:
1343         * lyxlex.h:
1344         * lyxtextclasslist.h:
1345         * messages.h:
1346         * paragraph.h:
1347         * paragraph_pimpl.C:
1348         * textcursor.h: add <string> and other small fixes to make Lars'
1349         std::string patch compile with STLport.
1350
1351 2003-10-06  Angus Leeming  <leeming@lyx.org>
1352
1353         * LColor.h: Add missing #include <string>.
1354
1355 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1356
1357         * All most all file in all subdirs: Make <string> be the prefered
1358         way of getting to std::string, add using declarations.
1359
1360 2003-10-06  André Pönitz  <poenitz@gmx.net>
1361
1362         * metricsinfo.C: initialize LyXFont before changing attribute.
1363         (fixes the 'math in \emph is upright' bug)
1364
1365 2003-10-06  André Pönitz  <poenitz@gmx.net>
1366
1367         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1368
1369 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1370
1371         * graph.C:
1372         * paragraph_pimpl.C: Small fixes to build using STLport
1373
1374 2003-10-02  André Pönitz  <poenitz@gmx.net>
1375
1376         * lyxfunc.C:
1377         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1378
1379 2003-10-01  André Pönitz  <poenitz@gmx.net>
1380
1381         * factory.C: assert early
1382
1383 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1384
1385         * lyx_main.C: remove the global debug object
1386
1387         * debug.h: adjust for new debugstream
1388
1389         * debug.C: adjust for new debugstream and keep the global debug
1390         object here.
1391
1392 2003-09-22  Angus Leeming  <leeming@lyx.org>
1393
1394         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1395         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1396         an incomplete class LyXFont.
1397
1398 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1399
1400         * factory.C: bug fix in branches
1401
1402 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1403
1404         * lyxfunc.C (processKeySym): adjust
1405         (dispatch): adjust
1406         (dispatch): change arg name from ev to func, adjust
1407         (sendDispatchMessage): ditto
1408
1409         * lyx_main.C (defaultKeyBindings): adjust keybindings
1410         (deadKeyBindings): ditto
1411
1412         * kbsequence.C (addkey): return a FuncRequest
1413
1414         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1415
1416         * kbmap.C (bind): take a FuncRequest as arg, adjust
1417         (read): adjust
1418         (lookup): adjust
1419         (defkey): change to take a FuncRequest as arg, adjust
1420         (findbinding): take a FuncRequest as arg, adjust.
1421
1422         * funcrequest.h (operator=): added
1423
1424         * funcrequest.C (FuncRequest): default kb_action changed from
1425         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1426
1427         * buffer.C (dispatch): simplify
1428         (dispatch): adjust to take a FuncRequest as arg, adjust
1429
1430         * boost.C (assertion_failed): change assertion message slightly
1431
1432         * ToolbarBackend.C (read): simplify
1433
1434         * MenuBackend.C (binding): adjust call to findbinding, add a
1435         message if no binding is found.
1436         (read): simplify
1437         (expandToc): correct by adding a empty FuncRequest
1438
1439         * LyXAction.C: include <boost/assert.hpp>
1440         (isPseudoAction): delete function
1441         (LookupFunc): change name to...
1442         (lookupFunc): this. change return type to FuncRequest.
1443         (getActionName): take kb_action as arg, simplify
1444         (funcHasFlag): add an assert, simplify.
1445
1446 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1447
1448         * toc.C (action): return a FuncRequest, simplify
1449
1450         * lyxfunc.C (processKeySym): adjust
1451         (getStatus): delete version that takes an int.
1452         (getStatus): adjust
1453         (dispatch): delete version that takes action as int
1454         (dispatch): adjust
1455         (sendDispatchMessage): simplify and adjust
1456
1457         * funcrequest.C (getArg): take unsigned int as arg
1458
1459         * ToolbarBackend.C (read): adjust
1460         (add): delete version that takes func as a string.
1461         (getIton): take a FuncRequest as arg
1462
1463         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1464         action.
1465
1466         * MenuBackend.C (MenuItem): add a new construct that only takes a
1467         Kind, simplify the constructor use for submenus.
1468         (add): adjust
1469         (expandLastfiles): adjust
1470         (expandDocuments): adjust
1471         (expandFormats): adjust
1472         (expandFloatListInsert): adjust
1473         (expandFloatInsert): adjust
1474         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1475
1476         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1477         Remove class variables lyx_pseudo_map and lyx_arg_map
1478
1479         * LyXAction.C (searchActionArg): delete function
1480         (getPseudoAction): delete function
1481         (retrieveActionArg): delete function
1482         (LookupFunc): make it return kb_action, simplify.
1483         (getActionName): simplify
1484
1485         * factory.C (createInset): fix new bug
1486
1487 2003-09-19  Angus Leeming  <leeming@lyx.org>
1488
1489         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1490         masterFilename_ parameter in the include inset.
1491
1492         * factory.C (createInset): changes due to the changes to InsetInclude.
1493
1494 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1495
1496         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1497
1498 2003-09-18  Angus Leeming  <leeming@lyx.org>
1499
1500         * buffer.C:
1501         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1502         Inset::fillWithBibKeys.
1503         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1504
1505 2003-09-18  Angus Leeming  <leeming@lyx.org>
1506
1507         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1508         variables.
1509         (ctor): pass and store a 'Buffer const &'
1510         (buffer): new member function.
1511
1512         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1513         '*this' to the LaTeXFeatures ctor.
1514
1515 2003-09-18  Angus Leeming  <leeming@lyx.org>
1516
1517         * LColor.h:
1518         * lyxfont.C:
1519         * lyxfont.h:
1520         * lyxtext.h:
1521         * text.C: rename EnumLColor as LColor_color.
1522
1523 2003-09-18  Angus Leeming  <leeming@lyx.org>
1524
1525         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1526         remove #include "insets/insetbase.h" from cursor.h.
1527
1528 2003-09-18  Angus Leeming  <leeming@lyx.org>
1529
1530         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1531         InsetOld_code to remove #include "inset.h".
1532
1533         * iterators.C: add #include "insets/inset.h"
1534
1535 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1536
1537         * BufferView.C: remove more locking stuff that apparently doesn't
1538         do anything sensible.
1539
1540 2003-09-16  André Pönitz  <poenitz@gmx.net>
1541
1542         * paragraph.[Ch]:
1543         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1544           performance boost.
1545
1546 2003-09-16  Angus Leeming  <leeming@lyx.org>
1547
1548         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1549
1550         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1551         arg/return type.
1552
1553         * paragraph.h: remove #include "lyxfont.h". Forward declare
1554         LyXFont_size.
1555
1556 2003-09-16  Angus Leeming  <leeming@lyx.org>
1557
1558         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1559         of support/textutils.h.
1560         (isWord): move the contents of support/textutils.h's IsWordChar here.
1561
1562         * buffer.C:
1563         * lyxfind.C:
1564         * rowpainter.C:
1565         * text.C:
1566         * text2.C: add #include "paragraph.h".
1567
1568         * rowpainter.C:
1569         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1570
1571 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1572
1573         * main.C:
1574         * lyx_main.C:
1575         * lyx_cb.C:
1576         * buffer.C:
1577         * LaTeX.C: use namespace alias for lyx::support::os
1578
1579 2003-09-16  Angus Leeming  <leeming@lyx.org>
1580
1581         * bufferparams.C:
1582         * bufferview_funcs.C:
1583         * factory.C:
1584         * lyxfunc.C:
1585         * paragraph_pimpl.C:
1586         * rowpainter.C:
1587         * text.C: add #include "LColor.h".
1588
1589 2003-09-16  Angus Leeming  <leeming@lyx.org>
1590
1591         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1592         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1593         return LyXFont &.
1594         Store the FontBits::color variable as an int rather than as an
1595         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1596         file.
1597
1598         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1599         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1600         string calls together.
1601
1602         * lyxrc.C: add #include "LColor.h".
1603
1604 2003-09-15  Angus Leeming  <leeming@lyx.org>
1605
1606         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1607         a cow_ptr.
1608
1609 2003-09-15  Angus Leeming  <leeming@lyx.org>
1610
1611         * LColor.h: add an EnumLColor wrapper for LColor::color.
1612
1613         * lyxfont.[Ch] (color, setColor, realColor):
1614         * lyxtext.h, text.C (backgroundColor):
1615         pass EnumLColor args to/from the functions, rather than LColor::color
1616         ones.
1617
1618         * lyxfont.h:
1619         * lyxtext.h: forward declare EnumLColor.
1620
1621         * lyx_main.C: add #include "LColor.h".
1622
1623 2003-09-15  Angus Leeming  <leeming@lyx.org>
1624
1625         * .cvsignore: add lyx-gtk.
1626
1627 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1628
1629         * Chktex.C
1630         * LaTeX.C
1631         * LaTeXFeatures.C
1632         * ParagraphParameters.C
1633         * Spacing.C
1634         * buffer.C
1635         * bufferparams.C
1636         * bufferview_funcs.C
1637         * chset.C
1638         * counters.C
1639         * funcrequest.C
1640         * lyxfont.C
1641         * lyxgluelength.C
1642         * lyxlength.C
1643         * paragraph.C
1644         * paragraph_funcs.C
1645         * text3.C
1646         * vc-backend.C: remove usage of STRCONV
1647
1648 2003-09-15  Angus Leeming  <leeming@lyx.org>
1649
1650         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1651         explicitly define the color passed to the painter.
1652
1653 2003-09-15  Angus Leeming  <leeming@lyx.org>
1654
1655         * bufferparams.C (BufferParams): reorder member initializers to avoid
1656         compiler warning.
1657
1658 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1659
1660         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1661         * text.C (updateRowPositions): remove an unusual nop
1662
1663 2003-09-12  André Pönitz  <poenitz@gmx.net>
1664
1665         * BufferView_pimpl.C:
1666         * Bullet.C:
1667         * layout.h:
1668         * lyxfunc.C:
1669         * lyxlayout.[Ch]:
1670         * lyxtextclass.C:
1671         * rowpainter.C:
1672         * text.C:
1673         * text2.C:
1674         * Counters.[Ch]: finish the 'automatic counters' job
1675
1676 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1677
1678         * aspell.C: include <boost/assert.cpp> (compile fix)
1679
1680 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1681
1682         * boost.C (assertion_failed): use lyx::support::abort instead of
1683         assert.
1684
1685 2003-09-10  Angus Leeming  <leeming@lyx.org>
1686
1687         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1688         with their _fwd progeny.
1689
1690 2003-09-09  Angus Leeming  <leeming@lyx.org>
1691
1692         134 files throughtout the source tree: replace 'using namespace abc;'
1693         directives with the appropriate 'using abc::xyz;' declarations.
1694
1695 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1696
1697         * boost.C (emergencyCleanup): moved here from LAssert.c
1698         (assertion_failed): new function, called by BOOST_ASSERT
1699
1700         * several files: change Assert to BOOST_ASSERT
1701
1702 2003-09-09  Angus Leeming  <leeming@lyx.org>
1703
1704         * buffer.[Ch]: Add an Impl class and move Buffer's member
1705         variables into it. As a result move several header files out of
1706         buffer.h.
1707
1708         Add header files to lots of .C files all over the tree as a result.
1709
1710 2003-09-09  Angus Leeming  <leeming@lyx.org>
1711
1712         * buffer.[Ch]: make Buffer's member variables private. Add
1713         accessor functions.
1714
1715         Lots of changes all over the tree as a result.
1716
1717 2003-09-08  Angus Leeming  <leeming@lyx.org>
1718
1719         * graph.C: #include <config.h>.
1720
1721 2003-09-08  Angus Leeming  <leeming@lyx.org>
1722
1723         * BranchList.C:
1724         * BufferView.C:
1725         * BufferView_pimpl.C:
1726         * CutAndPaste.C:
1727         * DepTable.C:
1728         * LaTeX.C:
1729         * LaTeXFeatures.C:
1730         * LyXAction.C:
1731         * MenuBackend.C:
1732         * TextCache.C:
1733         * aspell.C:
1734         * buffer.C:
1735         * bufferlist.C:
1736         * changes.C:
1737         * chset.C:
1738         * converter.C:
1739         * counters.C:
1740         * debug.C:
1741         * graph.C:
1742         * ispell.C:
1743         * lyx_cb.C:
1744         * lyxfind.C:
1745         * lyxfunc.C:
1746         * lyxlex_pimpl.C:
1747         * lyxrc.C:
1748         * lyxrow.C:
1749         * paragraph.C:
1750         * rowpainter.C:
1751         * texrow.C:
1752         * text.C:
1753         * text2.C:
1754         * toc.C: remove redundant using directives.
1755
1756 2003-09-07  Angus Leeming  <leeming@lyx.org>
1757
1758         * LaTeXFeatures.h: remove #include "support/types.h".
1759         * ToolbarBackend.h: remove #include <algorithm>.
1760         * changes.h: remove #include <ctime>.
1761         * debug.h: remove #include <iosfwd>.
1762         * graph.h: remove #include "support/std_string.h".
1763         * lyx_main.h: remove #include <csignal>.
1764         * lyxlex_pimpl.h: remove #include <fstream>.
1765         * sgml.h: remove #include <algorithm>, <utility>.
1766         * toc.h: remove #include "support/std_ostream.h".
1767         Add #include <iosfwd>.
1768
1769 2003-09-07  Angus Leeming  <leeming@lyx.org>
1770
1771         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1772
1773         * converter.h: forward declare LatexRunParams.
1774         * encoding.h: remove #include "lyxrc.h".
1775         * lyxtext.h: remove #include "LColor.h".
1776         * lyxtextclass.h: remove #include "support/types.h".
1777         * trans.h: remove #include "tex-accent.h".
1778         * trans_mgr.h: remove #include "tex-accent.h".
1779         * insets/inset.h: remove #include "support/types.h", <vector>.
1780         * insets/insetcollapsable.h: remove #include "LColor.h".
1781         * insets/insetinclude.h: remove #include "dimension.h".
1782         * insets/insetlatexaccent.h: remove #include "dimension.h".
1783         * insets/insetoptarg.h:: remove #include "insettext.h".
1784         * insets/insettext.h: remove #include "dimension.h",
1785         <boost/shared_ptr.hpp>
1786
1787         * insets/renderers.h: add #include "dimension.h".
1788         * insets/updatableinset.h: add #include "support/types.h".
1789
1790         * many .C files: Associated changes.
1791
1792 2003-09-06  Angus Leeming  <leeming@lyx.org>
1793
1794         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1795         one, inside testInvariant.
1796
1797         * PrinterParams.C: new file.
1798         * PrinterParams.[Ch]: move the function bodies out of line.
1799
1800 2003-09-06  Angus Leeming  <leeming@lyx.org>
1801
1802         * ParagraphParameters.h: forward declare ParameterStruct rather than
1803         including its header file.
1804         (depth): moved out-of-line.
1805
1806 2003-09-06  Angus Leeming  <leeming@lyx.org>
1807
1808         * BufferView_pimpl.h:
1809         * kbmap.h:
1810         * kbsequence.h:
1811         * lyxfunc.h: forward declare LyXKeySym rather than
1812         #include "frontends/LyXKeySym.h".
1813
1814         * BufferView_pimpl.C:
1815         * kbmap.C:
1816         * kbsequence.C:
1817         * lyxfunc.C: associated changes.
1818
1819 2003-09-06  Angus Leeming  <leeming@lyx.org>
1820
1821         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1822         As a result, can remove the #include "insets/inset.h" from BufferView.h
1823
1824 2003-09-06  Angus Leeming  <leeming@lyx.org>
1825
1826         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1827         As a result, can remove the #include "insets/inset.h" from BufferView.h
1828
1829 2003-09-06  Angus Leeming  <leeming@lyx.org>
1830
1831         * buffer_funcs.C:
1832         * buffer.h:
1833         * bufferlist.C:
1834         * BufferView.C:
1835         * bufferview_funcs.C:
1836         * BufferView_pimpl.C:
1837         * CutAndPaste.C:
1838         * lyx_cb.C:
1839         * lyxfunc.C:
1840         * paragraph.h:
1841         * ParagraphParameters.C:
1842         * tabular.C:
1843         * text3.C:
1844         * toc.C:
1845         * undo_funcs.C:
1846         * frontends/controllers/ControlDocument.C:
1847         * insets/insetcaption.C: rearrange the #includes into some sort of
1848         coherent order.
1849
1850         * buffer.h: remove #includes ErrorList.h, undo.h
1851
1852 2003-09-06  Angus Leeming  <leeming@lyx.org>
1853
1854         * support/types.h: add a 'depth_type' typedef, used to store the
1855         nesting depth of a paragraph.
1856
1857         * paragraph.h:
1858         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1859         defining explicitly.
1860
1861         * buffer.h:
1862         * paragraph_funcs.h:
1863         * ParagraphParameters.h:
1864         * sgml.h: use lyx::depth_type rather than Paragraph or
1865         ParameterStruct's depth_type.
1866
1867         * buffer.h
1868         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1869
1870         * BufferView.C:
1871         * BufferView_pimpl.C:
1872         * CutAndPaste.C:
1873         * ParagraphParameters.C:
1874         * buffer_funcs.C:
1875         * bufferlist.C:
1876         * bufferview_funcs.C:
1877         * lyx_cb.C:
1878         * lyxfunc.C:
1879         * tabular.C:
1880         * text3.C:
1881         * toc.C:
1882         * undo_funcs.C:
1883         * frontends/LyXView.C:
1884         * frontends/controllers/ControlDocument.C:
1885         * frontends/controllers/ControlErrorList.C:
1886         * insets/insetbibitem.C:
1887         * insets/insetbranch.C:
1888         * insets/insetcaption.C:
1889         * insets/insetcollapsable.C:
1890         * insets/insetenv.C:
1891         * insets/insetert.C:
1892         * insets/insetfloat.C:
1893         * insets/insetfoot.C:
1894         * insets/insetfootlike.C:
1895         * insets/insetnewline.C:
1896         * insets/insetquotes.C:
1897         * insets/insettabular.C:
1898         * insets/insettext.C:
1899         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1900
1901         * frontends/controllers/ControlChanges.C: #include "changes.h".
1902
1903 2003-09-06  Angus Leeming  <leeming@lyx.org>
1904
1905         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1906         than #including paragraph.h.
1907
1908         * ParagraphList.h:
1909         * RowList.h: deleted. Superfluous.
1910
1911         * CutAndPaste.h:
1912         * iterators.h:
1913         * lyxcursor.h:
1914         * lyxtext.h:
1915         * text_funcs.h:
1916         * undo.h:
1917         * undo_funcs.h:
1918         * insets/inset.h:
1919         * insets/insettext.h: use ParagraphList_fwd.h rather than
1920         ParagraphList.h.
1921
1922         * paragraph.h: don't forward declare ParagraphList.
1923
1924         * buffer.h:
1925         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1926         rather than ParagraphList.h. paragraph.h is still needed for the
1927         Paragraph::depth_type parameters.
1928
1929         * textcursor.h: enable it to compile stand-alone in light of the
1930         above changes.
1931
1932         * bufferview_funcs.C:
1933         * iterators.C:
1934         * lyxfunc.C:
1935         * lyxrow_funcs.C:
1936         * paragraph.C:
1937         * rowpainter.C:
1938         * text.C:
1939         * text2.C:
1940         * text3.C:
1941         * text_funcs.C:
1942         * textcursor.C:
1943         * undo.C:
1944         * frontends/controllers/ControlParagraph.C:
1945         * frontends/controllers/ControlTabular.C:
1946         * insets/insetmarginal.C:
1947         * insets/insetminipage.C:
1948         * insets/insetnote.C:
1949         * insets/insetoptarg.C: add header files needed to compile again.
1950
1951 2003-09-06  Angus Leeming  <leeming@lyx.org>
1952
1953         * RowList_fwd.h: new file, forward-declaring Row rather than
1954         #including lyxrow.h.
1955
1956         * lyxrow_funcs.h:
1957         * lyxtext.h:
1958         * paragraph.h:
1959         * insets/insettext.h: use it instead of RowList.h
1960
1961         * bufferview_funcs.C:
1962         * lyxfunc.C:
1963         * lyxrow_funcs.C:
1964         * paragraph.C:
1965         * rowpainter.C:
1966         * text.C:
1967         * text2.C:
1968         * text3.C: #include "RowList.h".
1969
1970 2003-09-05  Angus Leeming  <leeming@lyx.org>
1971
1972         * factory.C (createInset):
1973         * vspace.C (c-tor): replace sscanf call with an istringstream.
1974         * ispell.C: re-add missing HP/UX headers.
1975         * lyxserver.C: re-add missing  os2 headers.
1976
1977 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1978
1979         * BranchList.C:
1980         * graph.C:
1981         * ispell.C:
1982         * lastfiles.C:
1983         * lyx_cb.C:
1984         * lyxserver.C:
1985         * texrow.C:
1986         * text3.C: re-add missing system headers, needed for 2.95.2.
1987
1988 2003-09-05  Angus Leeming  <leeming@lyx.org>
1989
1990         Changes most place everywhere due to the removal of using directives
1991         from support/std_sstream.h.
1992
1993 2003-09-05  Angus Leeming  <leeming@lyx.org>
1994
1995         Replace LString.h with support/std_string.h,
1996         Lsstream.h with support/std_sstream.h,
1997         support/LIstream.h with support/std_istream.h,
1998         support/LOstream.h with support/std_ostream.h.
1999
2000         Changes resulting throughout the tree.
2001
2002 2003-09-05  Angus Leeming  <leeming@lyx.org>
2003
2004         * sgml.h: ensure that the header file can be compiled stand-alone.
2005         * *.C: strip out redundant #includes. (320 in total.)
2006
2007 2003-09-04  Angus Leeming  <leeming@lyx.org>
2008
2009         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2010         here (from getPackages).
2011
2012         * debug.[Ch]: add a new EXTERNAL tag.
2013
2014 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2015
2016         * text2.C (cursorEnd): simplify
2017         (setCursor): adjust
2018         (getColumnNearX): adjust
2019
2020         * text.C (computeBidiTables): adjust
2021         (fill): adjust
2022
2023         * rowpainter.C (paintChars): adjust
2024         (paintSelection): adjust
2025         (paintChangeBar): adjust
2026         (paintText): adjust
2027
2028         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2029         lastPos instead.
2030         (numberOfSeparators): adjust
2031
2032 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2033
2034         * LyXAction.C:
2035         * box.[Ch]:
2036         * lfuns.h:
2037         * lyxfunc.C:
2038         * text3.C: Restricts the mouse click functionality
2039         of insets like bibtex, include, toc and floatlist to the visible
2040         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2041         up the dialogs. Cursor has to be in front of the inset (i.e.
2042         start of row) for this to function.
2043
2044 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2045
2046         * bufferview_funcs.C (currentState): output row information
2047
2048 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2049
2050         * bufferview_funcs.C (currentState): output paragraph position
2051
2052 2003-09-04  Angus Leeming  <leeming@lyx.org>
2053
2054         * FloatList.h: move out #include "Floating.h".
2055         * LaTeX.h: move out #include "DepTable.h".
2056         * LyXAction.h: move out #include "funcrequest.h".
2057         * buffer.h: move out #include "author.h", "iterators.h".
2058         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2059         * lyx_main.h: move out #include "errorlist.h".
2060         * lyxfunc.h: move out #include "FuncStatus.h".
2061         * lyxtext: move out #include "lyxcursor.h".
2062         * paragraph_pimpl.h: move out #include "counters.h".
2063
2064 2003-09-03  Angus Leeming  <leeming@lyx.org>
2065
2066         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2067         preamble_snippets list, enabling us to add snippets to the preamble
2068         only if the snippet was not there already.
2069
2070 2003-09-04  Angus Leeming  <leeming@lyx.org>
2071
2072         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2073
2074 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2075
2076         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2077         update
2078
2079 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2080
2081         * BranchList.C: point fix, earlier forgotten
2082
2083 2003-09-02  Angus Leeming  <leeming@lyx.org>
2084
2085         * box.C (contains): renamed from 'contained' after a fantastic
2086         amount of hot air.
2087
2088 2003-09-02  John Levon  <levon@movementarian.org>
2089
2090         * BufferView.C:
2091         * lyxcursor.h:
2092         * lyxcursor.C:
2093         * lyxfunc.C:
2094         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2095
2096 2003-09-02  John Levon  <levon@movementarian.org>
2097
2098         * text2.C: simplification of cursorEnd(), including partial
2099         fix for bug 1376
2100
2101 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2102
2103         * buffer.C (readFile): add a space
2104
2105 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2106
2107         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2108
2109 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2110
2111         * buffer.C (readFile): new function, take a filename and a
2112         ParagraphList::iterator
2113         (readFile): adjust
2114         (readFile): adjust, make it private. don't use setStream, make
2115         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2116         always contain the filename.
2117
2118         * BufferView.C (insertLyXFile): simplify and make it work for
2119         gzipped files.
2120
2121 2003-08-30  John Levon  <levon@movementarian.org>
2122
2123         * Makefile.am: fix dist (from Kayvan)
2124
2125 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2126
2127         * most files: change to use const Buffer refs
2128
2129 2003-08-27  André Pönitz  <poenitz@gmx.net>
2130
2131         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2132         on top of ownerPar().
2133
2134 2003-08-27  John Levon  <levon@movementarian.org>
2135
2136         * funcrequest.C: properly initialise POD members
2137
2138 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2139
2140         * lyxtext.h (top_y): move top_y from here
2141         * text.C:
2142         * text2.C:
2143         * text3.C:
2144         * BufferView.[Ch]:
2145         * BufferView_pimpl.[Ch]: to here
2146         * frontends/screen.C:
2147         * insets/insettabular.C:
2148         * insets/insettext.C: adjust
2149         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2150
2151 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2152
2153         * BufferView.[Ch]:
2154         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2155
2156 2003-08-26  André Pönitz  <poenitz@gmx.net>
2157
2158         * paragraph_func.[Ch] (outerPar): new function
2159
2160         * paragraph.C:
2161         * paragraph_funcs.C:
2162         * paragraph_funcs.h:
2163         * paragraph_pimpl.C:
2164         * text2.C: remove Inset::par_owner
2165
2166 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2167
2168         * lyxrow_funcs.C:
2169         * lyxtext.h:
2170         * text.C:
2171         * text2.C: eliminates the needFullRow/display() stuff
2172         altogether, putting the logic in metrics/draw in the insets.
2173
2174 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2175
2176         * text2.C (redoParagraphInternal, redoParagraphs):
2177         * text.C (redoParagraph): add a call to updateRowPositions at the
2178         end of each 'metrics-like' call. Remove all others.
2179         (getRow): remove the 'y-computing' version.
2180         (getRowNearY): do not compute nor return the real y. Solve the
2181         'y < 0' problem and simplify.
2182
2183 2003-08-22  Angus Leeming  <leeming@lyx.org>
2184
2185         * *.[Ch]: clean-up of licence and author blurbs.
2186         Also move config.h out of a few .h files and into a few .C files.
2187
2188 2003-08-22  André Pönitz  <poenitz@gmx.net>
2189
2190         * lyxrow.[Ch]: add x_ and *fill_ members
2191
2192         * lyxtext.h:
2193         * text.C:
2194         * rowpainter.C:
2195         * text2.C: adjust/remove prepareToPrint() calls
2196
2197 2003-08-22  André Pönitz  <poenitz@gmx.net>
2198
2199         * lyxrow.[Ch]: add  end_ member
2200
2201         * lyxrow_funcs.C: use LyXRow::end_
2202
2203         * lyxtext.h (singleWidth): add LyXFont parameter
2204
2205         * rowpainter.C:
2206         * text2.C: adjust LyXText::singleWidth() calls
2207
2208         * text.C (redoParagraph): simplify row breaking logic
2209
2210
2211 2003-08-19  André Pönitz  <poenitz@gmx.net>
2212
2213         * funcrequest.C: initialize button_ member
2214
2215         * text3.C:
2216         * rowpainter.[Ch]: interface consolidation
2217
2218 2003-08-18  André Pönitz  <poenitz@gmx.net>
2219
2220         * BufferView.C:
2221         * BufferView_pimpl.C:
2222         * lyxfind.C:
2223         * paragraph_funcs.C:
2224         * rowpainter.C:
2225         * text3.C: remove LyXScreen::draw() and fitCursor calls
2226
2227         * BranchList.h: remove spurious semicolons
2228
2229         * MenuBackend.C: fix branchlist related crash
2230
2231 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2232
2233         * BranchList.[Ch]:
2234         * InsetList.[Ch]:
2235         * LColor.[Ch]:
2236         * LyXAction.C:
2237         * Makefile.am:
2238         * MenuBackend.[Ch]:
2239         * bufferparams.[Ch]:
2240         * factory.C:
2241         * lfuns.h:
2242         * lyxfunc.C:
2243         * text3.C: implements the 'branch inset'
2244         idea. This allows the output of various versions of a document
2245         from a single source version, selectively outputing or suppressing
2246         output of parts of the text.
2247         This implementation contains a 'branch list editor' in a separate
2248         tab of the document settings dialog. Branches are user definable
2249         and have a "display colour" to distinguish them on-screen.
2250
2251         ColorHandler was somewhat cleaned up.
2252         (1) make possible a dynamically growing LColor list by allowing
2253         the graphic context cache to grow along (vector);
2254         (2) eliminate an IMHO unnecessary step in colour allocation.
2255
2256 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2257
2258         * BufferView_pimpl.C: compile fix
2259
2260 2003-08-15  André Pönitz  <poenitz@gmx.net>
2261
2262         * rowpainter.C: remove extra metrics calls
2263
2264         * lyxtext.h: merge the two constructors into a single one,
2265           pass reference to owner's par list
2266
2267         * BufferView_pimpl.C:
2268         * text.C:
2269         * text2.C: adjust
2270
2271 2003-08-15  André Pönitz  <poenitz@gmx.net>
2272
2273         * lyxrow_funcs.[Ch]:
2274         * lyxtext.h:
2275         * paragraph.h:
2276         * paragraph_funcs.C:
2277         * rowpainter.C:
2278         * text.C:
2279         * text2.C:
2280         * text3.C:
2281         * text_funcs.C: split LyXText::rowlist_ into individual
2282         Paragraph::rows_ chunks
2283
2284         * BufferView.[Ch]:
2285         * BufferView_pimpl.[Ch]:
2286         * lyxfind.C:
2287         * lyxtext.h:
2288         * text3.C: remove toggleSelection()
2289
2290 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2291
2292         * bufferlist.C: beautify two alerts (shorter text of buttons)
2293         * buffer.C: Remove redundant ' ' from message
2294         * tabular.h:
2295         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2296         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2297         rename VALIGN_CENTER to VALIGN_MIDDLE
2298
2299 2003-08-11  André Pönitz  <poenitz@gmx.net>
2300
2301         * lyxtext.h (getPar):
2302         * text.C: new function
2303
2304 2003-08-11  André Pönitz  <poenitz@gmx.net>
2305
2306         * Makefile.am:
2307         * tracer.[Ch]: remove unneeded files
2308
2309         * InsetList.[Ch]: remove resizeInsetsLyXText()
2310
2311         * lyxtext.h:
2312         * text.C:
2313         * text2.C:
2314         * text3.C: merge insertParagraphs() and appendParagraph()
2315         remove breakAgain(), update()
2316
2317         * BufferView_pimpl.[Ch]:
2318         * bufferview_funcs.[Ch]:
2319         * lyxfunc.C:
2320         * paragraph.[Ch]:
2321         * rowpainter.C:
2322         * tabular.C: adjust after text & InsetList changes.
2323
2324 2003-08-08  André Pönitz  <poenitz@gmx.net>
2325
2326         * text.C (insertChar, backspace): replace rowlist fiddling
2327         with rebreak of full par
2328
2329         * lyxtext.h:
2330         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2331         checkParagraph, updateInset): removed
2332
2333 2003-08-07  André Pönitz  <poenitz@gmx.net>
2334
2335         * paragraph.C:
2336         * text3.C: merge some LFUN handlers, remove dead code
2337
2338 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2339
2340         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2341
2342 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2343
2344         * text2.C (DEPM): fix part of bug 1255 and 1256
2345
2346 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2347
2348         * BufferView_pimpl.C (workAreaDispatch): change to use
2349         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2350         that are no mouse related.
2351
2352 2003-08-05  André Pönitz  <poenitz@gmx.net>
2353
2354         * BufferView.[Ch]:
2355         * BufferView_pimpl.[Ch]:
2356         * bufferview_funcs.C:
2357         * text2.C:
2358         * text3.C: rip out "deep update"
2359
2360         * textcursor.[Ch] (last_sel_cursor): remove unused member
2361
2362 2003-08-04  André Pönitz  <poenitz@gmx.net>
2363
2364         * BufferView.[Ch]:
2365         * BufferView_pimpl.[Ch]:
2366         * ParagraphParameters.C:
2367         * bufferview_funcs.C:
2368         * lyx_cb.C:
2369         * lyxfind.C:
2370         * lyxfunc.C:
2371         * text.C:
2372         * text2.C:
2373         * text3.C: replace "complicated" BufferView::update(...) calls with
2374         simpler ones.
2375
2376         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2377
2378 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2379
2380         * Makefile.am (lyx_SOURCES): add paper.h
2381
2382 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2383
2384         * Makefile.am: move things around so that both lyx-qt and
2385         lyx-xforms can be built (according to --with-frontend). Then lyx
2386         is a symbolic link to lyx-[firstfrontend]
2387
2388 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2389
2390         * Always use std::endl with lyxerr
2391
2392 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2393
2394         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2395
2396 2003-08-01  André Pönitz  <poenitz@gmx.net>
2397
2398         * BufferView.[Ch]:
2399         * BufferView_pimpl.[Ch]:
2400         * lyxfunc.C:
2401         * text3.C: merge BufferView::repaint() and BufferView::update()
2402
2403 2003-08-01  José Matos  <jamatos@lyx.org>
2404
2405         * buffer.[Ch]: file_format is no longer a buffer data element.
2406
2407 2003-08-01  André Pönitz  <poenitz@gmx.net>
2408
2409         * BufferView.C:
2410         * lyxtext.h:
2411         * text.C:
2412         * text2.C: make redoParagraph more independent of current cursor
2413
2414         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2415         * text.C:
2416         * text2.C: remove unneeded members
2417
2418 2003-07-30  André Pönitz  <poenitz@gmx.net>
2419
2420         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2421
2422         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2423           create a single function...
2424
2425         * paragraph_funcs.C (moveItem): ... here.
2426
2427         * text.C:
2428           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2429
2430 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2431
2432         * LColor.[Ch]: Add comment and greyedout logical colors.
2433
2434 2003-07-30  André Pönitz  <poenitz@gmx.net>
2435
2436         * tabular.C: don't use Assert too heavily. This crashes where it
2437           shouldn't
2438
2439 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2440
2441         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2442         is disabled (bug 1232)
2443
2444 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2445
2446         * factory.C: limited 'arg' scope
2447
2448 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2449
2450         * factory.C: fixed Note submenu issues
2451
2452 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2453
2454         * factory.C: submenu for Note/Comment/Greyedout
2455
2456 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2457
2458         * lyx_main.C (LyX):
2459         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2460
2461 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2462
2463         * LaTeXFeatures.C:
2464         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2465         greyedout. Patch provided by Jürgen Spitzmüller.
2466
2467 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2468
2469         * kbmap.C (read): fix error message when reading bind files
2470
2471 2003-07-29  Angus Leeming  <leeming@lyx.org>
2472
2473         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2474         certainly does not do what it purports to do. I am doing it, and
2475         us, a favour by killing it.
2476
2477 2003-07-28  José Matos  <jamatos@lyx.org>
2478
2479         * buffer.C (readBody, do_writeFile):
2480         * paragraph.C(readParagraph): \end_document replaces \the_end.
2481
2482 2003-07-29  André Pönitz  <poenitz@gmx.net>
2483
2484         * BufferView.[Ch]:
2485         * BufferView_pimpl.[Ch]:
2486         * lyxfunc.C:
2487         * text2.C:
2488         * text3.C:
2489         * textcursor.[Ch]: remove toggleToggle & Co
2490
2491 2003-07-28  José Matos  <jamatos@fep.up.pt>
2492
2493         * buffer.C (readParagraph):
2494         * params_func (readParToken, readParagraph):
2495         * paragraph.C (write): \layout -> \begin_layout.
2496
2497 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2498
2499         * lyxlex_pimpl.C (setFile): clean up slightly.
2500
2501         * bufferparams.h: add compressed var
2502
2503         * buffer_funcs.C (readFile): adjust for LyXLex change
2504         (newFile): ditto + simplify
2505
2506         * buffer.C (writeFile): handle writing of compressed files
2507
2508         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2509         Check if the file is compressed and set a bufferparm if so.
2510
2511         * Makefile.am (lyx_LDADD): remove explicit -lz
2512
2513 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2514
2515         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2516         makeDocBookFile): put the real LyX version in the first line of
2517         the file
2518
2519         * version.h:
2520         * version.C.in: remove lyx_docversion
2521
2522         * tabular.C (write_attribute): add a template-based version to
2523         write enums properly
2524
2525 2003-07-28  André Pönitz  <poenitz@gmx.net>
2526
2527         * lyxtext.h:
2528         * text.C:
2529         * text2.C:
2530         * text3.C: use doubles again for x-coordinates. They are needed.
2531
2532 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2533
2534         * messages.C (getLocaleDir): use lyx_localedir()
2535
2536         * lyxlex_pimpl.C (setFile): compress stuff
2537
2538         * buffer.C (writeFile): add some compression stuff
2539         (do_writeFile): new func, dont call expliti close... will this
2540         breake anything?
2541
2542         * Makefile.am (lyx_LDADD): add -lz
2543
2544 2003-07-28  José Matos  <jamatos@fep.up.pt>
2545
2546         * buffer.C: increment file format.
2547         * paragraph_funcs (readParagraph, readParToken):
2548         * paragraph.C (readParagraph): add \end_layout.
2549
2550 2003-07-27  Angus Leeming  <leeming@lyx.org>
2551
2552         * Makefile.am: remove special casing for configure-time setting of
2553         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2554
2555         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2556         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2557
2558 2003-07-26  André Pönitz  <poenitz@gmx.net>
2559
2560         * paragraph_func.[Ch]:
2561         * paragraph.C (realizeFont): inline it whereever it is used
2562
2563         * rowpainter.C:
2564         * text.C:
2565         * text2.C:
2566         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2567
2568
2569 2003-07-26  André Pönitz  <poenitz@gmx.net>
2570
2571         *       lyxtext.h:
2572         * text.C:
2573         * text2.C: get rid of LyXText::need_break_row
2574
2575 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2576
2577         * toc.[Ch]: put namespace toc inside namespace lyx
2578
2579         * MenuBackend.C (expandToc2): adjust for lyx::toc
2580         (expandToc): ditto
2581
2582         * lyxfunc.C (dispatch): adjust for lyx::find
2583
2584         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2585         lyx::find instead. Reorganize a bit.
2586         (LyXReplace): rename to replace
2587         (LyXFind): rename to find
2588
2589         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2590         (dispatch): ditto
2591
2592 2003-07-26  André Pönitz  <poenitz@gmx.net>
2593
2594         * text.C (setHeightOfRow): restrict scope of temporary variable
2595
2596         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2597           code (never has been used?)
2598
2599 2003-07-27  Asger Alstrup  <alstrup@local>
2600
2601         * text.C (fill): Optimise algorithm to exploit that we can reuse
2602         the LyXFont for many characters.
2603         (setHeightOfRow): Same thing.
2604         (rowBreakPoint): Same thing.
2605
2606 2003-07-26  Asger Alstrup  <alstrup@local>
2607
2608         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2609
2610         * text.C (singleWidth): Spurious font copying in hot-spot
2611         singleWidth avoided. Reorder tests for arabic for efficiency.
2612
2613         * text.C (fill): handle empty paragraphs better.
2614
2615 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2616
2617         * ispell.C:
2618         * encoding.h: add includes
2619
2620         * lyxrc.C: remove reading of bind files
2621
2622         * lyx_main.C (init): setup bindings and menus only if we have a
2623         gui.
2624
2625         * kbmap.C (read): new method. Do the actual reading of bind
2626         files.
2627
2628         * converter.C (dvipdfm_options):
2629         * bufferparams.C:
2630         * lyxrc.C (read):
2631         (output): adapt PAPER_* enums.
2632
2633         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2634
2635         * bufferparams.h: remove paper-related enums from there
2636
2637         * paper.h: New file. A trivial header file to hold paper-related
2638         enums. It should later expand to contain many paper-related
2639         horrors access.
2640
2641         * lyxrc.C: declare extern displayTranslator
2642
2643 2003-07-27  José Matos  <jamatos@fep.up.pt>
2644
2645         * tabular.[Ch] (linuxdoc): add support for tables and figures
2646         (linuxdoc).
2647
2648 2003-07-27  José Matos  <jamatos@fep.up.pt>
2649
2650         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2651         consistency in both functions.
2652         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2653
2654 2003-07-26  Asger Alstrup  <alstrup@local>
2655
2656         * rowpainter.C (paintRows): Change algorithm to work directly on
2657         the insets rather than asking every character in the document
2658         whether its an inset.
2659
2660 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2661
2662         * buffer.C (openFileWrite): factorize some code
2663
2664 2003-07-26  Angus Leeming  <leeming@lyx.org>
2665
2666         * lyx_cb.C:
2667         * lyx_main.[Ch]: replace occurances of system_tempdir with
2668         os::getTmpDir().
2669
2670 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2671
2672         * rename Inset to InsetOld
2673
2674 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2675
2676         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2677         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2678         which I think is a bit clearer. EDIT is gone, since it was
2679         premature optimisation, and broken for mathed anyway.
2680         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2681         with cursor positioning in insets as well (math insets still do not
2682         work, but that's a different story anyway.) It mysteriously
2683         crashes sometimes with undo in the first paragraph, but I'm fairly
2684         confident that this is a compiler bug.
2685
2686 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2687
2688         * paragraph.C (Paragraph): adjust for new clone return type
2689         (operator==): ditto
2690         (copyIntoMinibuffer): ditto
2691
2692 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2693
2694         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2695         by not having a special case, and always doing a full rebreak of
2696         the document after undo.
2697
2698 2003-07-23  Angus Leeming  <leeming@lyx.org>
2699
2700         * factory.C (createInset): InsetExternal::setParams now takes a
2701         Buffer const * arg.
2702
2703 2003-07-23  Angus Leeming  <leeming@lyx.org>
2704
2705         * factory.C (createInset): changed interface to the external and
2706         graphics mailers' string2params functions.
2707
2708 2003-07-23  Angus Leeming  <leeming@lyx.org>
2709
2710         * factory.C (createInset): pass a
2711         Buffer const * parameter to InsetExternalMailer's string2params.
2712
2713 2003-07-22  John Levon  <levon@movementarian.org>
2714
2715         * Thesaurus.h: include the right aiksaurus header
2716
2717 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2718
2719         * MenuBackend.C (expand): check menu shortcuts unconditionally
2720
2721 2003-07-21  Angus Leeming  <leeming@lyx.org>
2722
2723         * factory.C (createInset): pass a
2724         buffer_path parameter to InsetGraphicsMailer's string2params.
2725
2726 2003-07-21  Angus Leeming  <leeming@lyx.org>
2727
2728         * BufferView_pimpl.C (buffer):
2729         * buffer.C (d-tor):
2730         * lyx_main.C (LyX):
2731         * lyxfunc.C (dispatch):
2732         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2733         rather than the grfx shortcut.
2734
2735 2003-07-21  André Pönitz  <poenitz@gmx.net>
2736
2737         * rowpainter.C: remove unused variables
2738
2739         * tabular_funcs.C:
2740         * tabular_funcs.h: move to tabular.C
2741         * Makefile.am: adjust
2742
2743         * tabular.[Ch]: basic optical cleaning
2744
2745         * author.h: pass references, not values
2746
2747 2003-07-18  André Pönitz  <poenitz@gmx.net>
2748
2749         * lyxtext.h:
2750         * metricsinfo.C:
2751         * metricsinfo.h:
2752         * rowpainter.C:
2753         * text.C:
2754         * text2.C:
2755         * text3.C: two-phase drawing for InsetText and InsetTabular
2756         some float -> int changes.
2757
2758 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2759
2760         * lyx_main.C: fix the fix
2761
2762 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2763
2764         * lyx_main.C: fix a crash in batch mode if no files specified
2765         * converter.C: ws
2766
2767 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2768
2769         * format.[Ch] (papersize): moved to BufferParams
2770         * converter.[Ch] (dvips_options): moved to BufferParams
2771         (dvipdfm_options): moved to anon namespace
2772         * bufferparams.[Ch]: added above functions.
2773
2774 2003-07-17  André Pönitz  <poenitz@gmx.net>
2775
2776         * lyxtext.h:
2777         * rowpainter.C:
2778         * text2.C: don't call inset->update() anymore
2779
2780         * metricsinfo.[Ch]: add convenience constructor
2781
2782 2003-07-16  André Pönitz  <poenitz@gmx.net>
2783
2784         * lyxcursor.[Ch]:
2785         * lyxfunc.[Ch]:
2786         * text.C:
2787         * text2.C: replace the LyXCursor::irow_ member with
2788          on-demand computation of the value
2789
2790 2003-07-16  John Levon  <levon@movementarian.org>
2791
2792         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2793
2794 2003-07-15  André Pönitz  <poenitz@gmx.net>
2795
2796         * text.C:
2797         * text2.C: remove no more needed refresh_row
2798
2799 2003-07-15  André Pönitz  <poenitz@gmx.net>
2800
2801         * lyxtext.h:
2802         * rowpainter.C:
2803         * text2.C:
2804         * text3.C: refresh_status tristate -> need_update bool
2805
2806 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2807
2808         * lyxtext.h (init): remove reinit argument (act as if always true)
2809         * text2.C: adjust to that
2810
2811 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2812
2813         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2814         * text3.C: use it to delete selections in some cases
2815         (bugs 441, 673, 702, 954).
2816
2817 2003-07-14  André Pönitz  <poenitz@gmx.net>
2818
2819         * rowpainter.[Ch]: reduce interface
2820
2821 2003-07-14  André Pönitz  <poenitz@gmx.net>
2822
2823         * BufferView_pimpl.C:
2824         * text2.C: adjust after removing unused BufferView * argument
2825
2826 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2827
2828         * text2.C (init): fix a crash fired on resize
2829
2830 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2831
2832         * buffer.[Ch]: added new closing signal
2833         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2834         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2835         BufferView::Pimpl via the closing the signal
2836
2837 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2838
2839         * buffer.[Ch]: take out all bv-related from buffer
2840         * BufferView.C:
2841         * BufferView_pimpl.[Ch]: connect to new signals
2842         * CutAndPaste.C: removed useless asserts
2843         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2844         * lyxvc.[Ch]:
2845         * vc-backend.[Ch]:
2846         * lyxfunc.C: moved view-related funciontality from vc here
2847         * paragraph.C: removed outdated comments
2848         * text.C: ws
2849
2850 2003-07-10  André Pönitz  <poenitz@gmx.net>
2851
2852         * BufferView_pimpl.C:
2853         * tabular.h:
2854         * tabular_funcs.C:
2855         * text.C:
2856         * text2.C: remove InsetText::InnerCache, clean up consequences
2857
2858 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2859
2860         * ispell.C: fix two typos in error messages
2861
2862 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2863
2864         * Extend Note inset to other forms of annotation like Comment
2865         and Greyedout. Right button click gives dialog.
2866
2867         Files modified or added (+):
2868
2869         * insetnote.[Ch]
2870         * FormNote.[Ch]      +
2871         * ControlNote.[Ch]   +
2872         * form_note.fd       +
2873         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2874         frontends/controllers
2875         * xforms/Dialogs.C
2876         * factory.C
2877
2878 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2879
2880         * aspell.C: add missing namespace lyx::support
2881
2882 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2883
2884         * BufferView.[Ch] (newFile): Add
2885         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2886         * LaTeX.[Ch] (message): added this signal and use it
2887         * buffer.[Ch] (busy, message): added these signals and use them
2888         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2889         * converter.C:
2890         * exporter.C:
2891         * format.C:
2892         * importer.C: use buffer signals instead of direct bv calling
2893         * lyx_cb.[Ch] (ShowMessage): removed
2894         * lyx_main.C:
2895         * lyxfunc.C:
2896         * paragraph_funcs.C:
2897         * text2.C: use buffer signals
2898
2899 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2900
2901         * introduce namespace lyx::graphics
2902
2903 2003-07-02  André Pönitz  <poenitz@gmx.net>
2904
2905         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2906
2907 2003-07-01  André Pönitz  <poenitz@gmx.net>
2908
2909         * text.C:
2910         * text2.C:
2911         * text3.C:
2912         * text_funcs.[Ch]:
2913         * textcursor.h:
2914         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2915           text*.C to text_func.C
2916
2917 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2918
2919         * introduce namespace lyx::support
2920
2921 2003-06-30  André Pönitz  <poenitz@gmx.net>
2922
2923         * Chktex.C:
2924         * funcrequest.C:
2925         * lyxtext.h:
2926         * text.C: re-enable --with-included-string
2927
2928 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2929
2930         * textcursor.C: add <config.h>
2931
2932         * text.C (getWord): remove const from word_location arg
2933
2934         * lyxvc.C (getLogFile): fix const type order
2935
2936         * lyxtext.h: remove const from word_location arg, add arg name
2937
2938         * lyxlayout.h: currect type on labeltype.
2939
2940         * importer.C: correct \file
2941
2942         * converter.C (intToFormat): use std:: on ret val, ws changes
2943
2944         * bufferlist.h: correct \file
2945
2946         * buffer.C (makeLinuxDocFile): fix const type order
2947         (makeDocBookFile): ditto
2948         (fillWithBibKeys): use std:: on stdlib args.
2949
2950         * CutAndPaste.C: fix authors.
2951         (availableSelections): use std:: on return vector
2952
2953 2003-06-27  André Pönitz  <poenitz@gmx.net>
2954
2955         * BufferView_pimpl.C:
2956         * bufferview_funcs.C:
2957         * lyxcursor.C:
2958         * lyxcursor.h:
2959         * lyxfunc.C:
2960         * lyxtext.h:
2961         * rowpainter.C:
2962         * text.C:
2963         * text2.C:
2964         * text3.C: remove LyXCursor::row_ member
2965
2966         * lyxtext.h:
2967         * text.C: rename fullRebreak() to partialRebreak() and implement
2968           a fullRebreak() that really bereks fully
2969
2970         * textcursor.h: new struct for cursor-related data
2971
2972 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2973
2974         * lyx_main.C (LyX): get full path of document loaded on the
2975         command line
2976
2977 2003-06-26  André Pönitz  <poenitz@gmx.net>
2978
2979         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2980           remove unused/broken operator>,<,>=.
2981
2982         *       text.C: remove only use of broken operator<= in an Assert().
2983
2984 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2985
2986         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2987         moved errorlist_.clear to showErrorList
2988
2989 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2990
2991         * converter.C (scanLog, runLaTeX):
2992         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2993         move the bv->showErrorList call to the callers
2994         * lyxfunc.C: i.e. here...
2995         * text2.C: and here
2996         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2997         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2998         namespace, the second to...
2999         * buffer_funcs (BufferFormat, parseErrors): added
3000         * errorlist.C (ErrorList(TeXErrors const &)): removed
3001
3002 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3003
3004         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3005
3006 2003-06-24  "Garst R. Reese" <reese@isn.net>
3007
3008         * debug.C: fix typo
3009
3010 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3011
3012         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3013
3014         * version.C.in: change docversion to 1.4
3015
3016 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3017
3018         * buffer.C: fix a bug just introduced
3019
3020 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3021
3022         * buffer.[Ch]: added the parseError signal and use it, removed
3023         sgmlError
3024         * BufferView.[Ch] (addError): moved to ...
3025         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3026         to the Buffer::parseError signal to catch (guess what) parse errors
3027         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3028
3029 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3030
3031         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3032         ability to create a buffer and to return an existing one from
3033         the list. Moved these functions to...
3034         * buffer_funcs.[Ch]: added
3035         * BufferView.[Ch] (loadLyXFile): added
3036         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3037         job removed from bufferlist::loadLyXFile.
3038         * buffer.C (setReadOnly): make it work without view
3039         (i.e added an if (users))
3040
3041 2003-06-19  Angus Leeming  <leeming@lyx.org>
3042
3043         * lfuns.h:
3044         * LyXAction.C (init):
3045         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3046         with LFUN_DIALOG_SHOW <name> <data>.
3047
3048 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3049
3050         * CutAndPaste.C (availableSelections): small compilation fix for
3051         ancient (gcc 2.9x) compilers
3052
3053 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3054
3055         * text3.C (cursorNext): add tmp var
3056
3057         * text2.C (updateCounters): for function calling out of for clause
3058         (replaceSelectionWithString): ditto
3059         (insertStringAsParagraphs): ditto
3060         (getColumnNearX): add tmp var
3061         (setCursorFromCoordinates): add tmp var
3062         (cursorDownParagraph): add tmp var
3063         (deleteEmptyParagraphMechanism): add tmp var
3064
3065         * text.C (insertChar): add tmp var
3066
3067         * rowpainter.C (paintDepthBar): add tmp var
3068
3069         * CutAndPaste.C (availableSelections): potentially check all
3070         paragraphs in a cut to fill the shown strings.
3071
3072 2003-06-18  André Pönitz  <poenitz@gmx.net>
3073
3074         * kbmap.[Ch]: use vector<> instead of list<>
3075
3076 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3077
3078         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3079         pasteSelection with index
3080
3081         * text2.C (pasteSelection): modify, call pasteSelection with index
3082
3083         * paragraph.C (asString): reimplement version with no interval to
3084         call the one with interval.
3085
3086         * lyxtext.h: add index arg to pasteSelection
3087
3088         * MenuBackend.C (MenuItem): handle PasteRecent
3089         (Menu::read::Menutags): add md_pasterecent
3090         (read): handle it
3091         (expandPasteRecent): new function
3092         (expand): use it
3093
3094         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3095
3096         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3097         the limited stack
3098         (availableSelections): new function
3099
3100 2003-06-17  Angus Leeming  <leeming@lyx.org>
3101
3102         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3103
3104 2003-06-17  Angus Leeming  <leeming@lyx.org>
3105
3106         * lfuns.h:
3107         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3108
3109         * lyxfunc.C (dispatch): invoke it.
3110
3111 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3112
3113         * iterators.C (operator++, ParPosition): reintroduce some
3114         const_cast for the benefit of older compilers.
3115
3116 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3117
3118         * text3.C (dispatch): do not modify clipboard when doing
3119         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3120         LFUN_DELETE_SKIP on a selection selection
3121
3122 2003-06-16  André Pönitz  <poenitz@gmx.net>
3123
3124         * BufferView.C:
3125         * buffer.C:
3126         * buffer.h:
3127         * paragraph.C:
3128         * tabular.[Ch]: IU of clone() and getLabelList();
3129
3130 2003-06-13  André Pönitz  <poenitz@gmx.net>
3131
3132         * tabular.h: compactification
3133
3134 2003-06-12  André Pönitz  <poenitz@gmx.net>
3135
3136         * tabular.C:
3137         * tabular.h:
3138         * tabular_funcs.h: some renaming plus whitespace
3139
3140 2003-06-12  André Pönitz  <poenitz@gmx.net>
3141
3142         * BufferView.C:
3143         * BufferView_pimpl.C:
3144         * CutAndPaste.C:
3145         * buffer.C:
3146         * iterators.[Ch]:
3147         * lyxfunc.C:
3148         * text.C:
3149         * toc.C: Return a Paragraph & for ParIterator::operator*()
3150
3151 2003-06-11  John Levon  <levon@movementarian.org>
3152
3153         * lyx_main.C:
3154         * ToolbarBackend.h:
3155         * ToolbarBackend.C: add "Toolbars" section and
3156         put the flags there
3157
3158 2003-06-10  Angus Leeming  <leeming@lyx.org>
3159
3160         * lfuns.h:
3161         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3162
3163         * lyxfunc.C (dispatch): invoke it.
3164
3165 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3166
3167         * main.C: protect <ios> with HAVE_IOS
3168         (main): protect sync_with_stdio with HAVE_IOS
3169
3170 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3171
3172         * text2.C (cutSelection): adjust
3173         (pasteSelection): adjust
3174
3175         * messages.C: handle get of empty string
3176
3177         * main.C (main): use sync_with_stdio(false)
3178
3179         * lyxfunc.C (dispatch): adjust
3180
3181         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3182         (WriteAs): remove unneeded BufferView arg.
3183
3184         * bufferparams.h: use correct types on papersize, papersize2 and
3185         paperpackage.
3186
3187         * bufferparams.C (readToken): adjust for type
3188         (writeLaTeX): add missing cases to switch.
3189
3190         * bufferlist.C (quitWriteBuffer): adjust
3191         (close): adjust
3192
3193         * buffer.C (asciiParagraph): remove some commented code.
3194
3195         * CutAndPaste.C: remove current_view extern variable.
3196         (cutSelection): add BufferParams arg.
3197         (eraseSelection): add BufferParams arg.
3198         (pasteSelection): add Buffer const & arg
3199
3200 2003-06-07  John Levon  <levon@movementarian.org>
3201
3202         * buffer.C:
3203         * paragraph_funcs.C:
3204         * paragraph_pimpl.C:
3205         * text.C:
3206         * text2.C:
3207         * paragraph.h:
3208         * paragraph.C: allow InsetERT to freely space lines,
3209         and some consolidation of code
3210
3211 2003-06-06  José Matos  <jamatos@fep.up.pt>
3212
3213         * buffer.C (makeDocBookFile): fix bug #821
3214
3215 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3216
3217         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3218
3219 2003-06-04  Angus Leeming  <leeming@lyx.org>
3220
3221         * buffer.C: bump format to 224.
3222
3223 2003-06-05  André Pönitz  <poenitz@gmx.net>
3224
3225         * text2.C (redoParagraphs): remove two const_cast<>
3226
3227 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3228
3229         * ParagraphList.h: remove last remnants of NO_STD_LIST
3230
3231 2003-06-03  Angus Leeming  <leeming@lyx.org>
3232
3233         * factory.C (createInset): small change to the way InsetExternal's params
3234         are set.
3235
3236 2003-06-04  André Pönitz  <poenitz@gmx.net>
3237
3238         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3239
3240         * paragraph_pimpl.h:
3241         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3242
3243         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3244
3245         * undo_funcs.C: make some simple cases of undo work again
3246
3247 2003-06-03  John Levon  <levon@movementarian.org>
3248
3249         * ispell.C: HPUX doesn't have sys/select.h
3250         (from Albert Chin)
3251
3252 2003-06-03  John Levon  <levon@movementarian.org>
3253
3254         * CutAndPaste.C: update tabular and include inset
3255         buffer references
3256
3257         * buffer.h:
3258         * paragraph.h:
3259         * paragraph.C: remove owningBuffer(), don't pass Buffer
3260         to clone()
3261
3262         * factory.C: insetGraphicsParams changed
3263
3264 2003-06-02  John Levon  <levon@movementarian.org>
3265
3266         * LyXAction.C:
3267         * factory.C:
3268         * lfuns.h:
3269         * lyxfunc.C:
3270         * text3.C: remove insetparent
3271
3272 2003-06-02  John Levon  <levon@movementarian.org>
3273
3274         * buffer.h:
3275         * buffer.C: fix inset_iterator.end(), move out of line
3276         (bug 1149)
3277
3278 2003-06-01  John Levon  <levon@movementarian.org>
3279
3280         * text3.C: use a proper cut/paste when doing inset
3281         insert (from Jürgen Spitzmüller)
3282
3283 2003-06-01  John Levon  <levon@movementarian.org>
3284
3285         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3286
3287 2003-05-30  André Pönitz  <poenitz@gmx.net>
3288
3289         * rowpainter.C: unify second drawing phase
3290
3291 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3292
3293         * trans_mgr.C: remove one case of current_view
3294
3295         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3296
3297         * paragraph_funcs.h: remove paragraph.h include
3298
3299         * paragraph.h: delete NO_STD_LIST stuff
3300
3301         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3302
3303         * buffer.h: remove paragraph.h include
3304
3305         * ParagraphList.C: delete file
3306
3307         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3308
3309         * toc.C (getTocList): adjust
3310
3311         * paragraph_pimpl.C (validate): adjust
3312
3313         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3314
3315         * paragraph.C (Paragraph): adjust
3316         (getPositionOfInset): use const_iterator, adjust
3317         (bibitem): use const_iterator, adjust
3318         (setInsetOwner): adjust
3319
3320         * iterators.C (operator++): adjust
3321
3322         * InsetList.[Ch]: Replace selfmade iterator with standard
3323         vector::iterator also introduce const_iterator. Remove getPos,
3324         getInset and setInset from InsetTable. Adjust accordingly.
3325
3326         * BufferView.C (lockInset): adjust
3327         (ChangeInsets): adjust
3328
3329         * tabular.[Ch]: delete commented same_id functions
3330
3331 2003-05-28  John Levon  <levon@movementarian.org>
3332
3333         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3334
3335 2003-05-28  André Pönitz  <poenitz@gmx.net>
3336
3337         * metricsinfo.[Ch]: remove 'fullredraw' member
3338
3339 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3340
3341         * lyxtextclass.C (operator): remove caching.
3342
3343 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3344
3345         * text3.C: adjust
3346
3347         * text2.C (cursorBottom): adjust
3348         (setCounter): use ParagraphList::find, adjust
3349
3350         * text.C (workWidth): use ParagraphList::find, adjust
3351
3352         * lyxcursor.C (LyXCursor): adjust
3353
3354         * buffer.C (inset_iterator): adjust
3355
3356         * ParagraphList.h: make iterator(value_type) private, make
3357         ParagraphList a friend of iterator.
3358
3359         * ParagraphList.C (find): new function
3360
3361         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3362
3363 2003-05-27  André Pönitz  <poenitz@gmx.net>
3364
3365         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3366
3367 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3368
3369         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3370
3371 2003-05-26  John Levon  <levon@movementarian.org>
3372
3373         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3374
3375 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3376
3377         * remove same_id from function signatures, adjust.
3378
3379 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3380
3381         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3382
3383         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3384
3385         * paragraph.C (Paragraph): get rid of same_ids parameter
3386
3387         * ParagraphList.C (insert): adjust
3388         (push_back): adjust
3389
3390 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3391
3392         * paragraph_funcs.C (breakParagraph): adjust
3393         (breakParagraphConservative): adjust
3394
3395         * buffer.C (readParagraph): adjust
3396
3397         * ParagraphList.C (insert): take a reference instead of a pointer
3398         (insert): adjust
3399
3400         * paragraph.[Ch] (id): new function
3401
3402         * bufferlist.C (newFile): adjust
3403
3404         * ParagraphList.C (ParagraphList): adjust
3405         (assign): adjust
3406         (push_back): take a reference instead of a pointer.
3407
3408         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3409
3410         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3411         instead.
3412
3413         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3414         set else use old code.
3415
3416         * ParagraphList.C: remove all NO_NEXT code and only compile this
3417         code of NO_STD_LIST is set.
3418
3419 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3420
3421         * BufferView_pimpl.C:
3422         * TextCache.C:
3423         * TextCache.h:
3424         * bufferlist.C:
3425         * errorlist.h:
3426         * format.C:
3427         * format.h:
3428         * graph.C:
3429         * lyxfunc.C:
3430         * lyxrc.C:
3431         * graphics/GraphicsConverter.C:
3432         * graphics/PreviewLoader.C: header adjustment
3433
3434 2003-05-23  Angus Leeming  <leeming@lyx.org>
3435
3436         * LaTeXFeatures.[Ch] (useBabel): new method.
3437         * bufferparams.C (writeLaTeX): use it.
3438
3439 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3440
3441         * ParagraphList.h (set): remove unused function.
3442
3443 2003-05-23  André Pönitz  <poenitz@gmx.net>
3444
3445         * BufferView.C:
3446         * BufferView_pimpl.C:
3447         * buffer.C:
3448         * buffer.h:
3449         * lyxfunc.C:
3450         * undo_funcs.C: setUndo reworked
3451
3452         * iterators.[Ch]: add access to topmost ParagraphList
3453
3454         * lyxtext.[Ch] (workWidth): add a const
3455
3456 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3457
3458         * texrow.[Ch] (increasePos): remove function
3459         * exporter.C (export): removed unused var and outdated comment
3460
3461 2003-05-23  Angus Leeming  <leeming@lyx.org>
3462
3463         * latexrunparams.h: rename fragile as moving_arg.
3464         * paragraph.C (simpleTeXOnePar): ditto.
3465         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3466
3467 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3468
3469         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3470         (createUndo): ditto
3471         (textUndoOrRedo): comment out a currently unused var.
3472
3473         * paragraph.h (NO_NEXT): enable NO_NEXT
3474
3475         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3476
3477         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3478
3479         * exporter.C (Export): adjust for removeAutoInsets removal.
3480
3481         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3482
3483         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3484
3485         * BufferView.[Ch] (removeAutoInsets): delete function
3486
3487 2003-05-22  Angus Leeming  <leeming@lyx.org>
3488
3489         * latexrunparams.h: add a free_spacing variable.
3490
3491         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3492         to pass moving_arg, as the data is stored in runparams.fragile.
3493
3494         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3495         to Inset::latexOptional or to simpleTeXOnePar.
3496
3497         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3498         free_spacing arg to Inset::latexOptional.
3499
3500         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3501         free_spacing arg.
3502
3503 2003-05-22  Angus Leeming  <leeming@lyx.org>
3504
3505         * latexrunparams.h: add fragile and use_babel variables.
3506
3507         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3508         * buffer.C (makeLaTeXFile): store this returned value in
3509         runparams.use_babel, thus passing it to the inset::latex methods.
3510
3511         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3512         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3513
3514         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3515         longer has a fragile arg, as it is stored in runparams.fragile.
3516
3517         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3518         moving_arg parameter as the data is stored in runparams.fragile.
3519
3520         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3521         a fragile parameter as the data is stored in runparams.fragile.
3522
3523 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3524
3525         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3526
3527 2003-05-22  Angus Leeming  <leeming@lyx.org>
3528
3529         * latexrunparams.h: add a 'bool nice' which defaults to false.
3530
3531         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3532         now encapsulated within runparams.
3533
3534         * bufferlist.C (updateIncludedTeXfiles):
3535         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3536
3537 2003-05-22  Angus Leeming  <leeming@lyx.org>
3538
3539         * latexrunparams.h: new file containing struct LatexRunParams.
3540         * Makefile.am: add new file.
3541
3542         * LaTeX.[Ch] (c-tor, run):
3543         * buffer.[Ch] (makeLaTeXFile):
3544         * bufferlist.[Ch] (updateIncludedTeXfiles):
3545         * converter.C (convert, scanLog):
3546         * converter.[Ch] (runLaTeX):
3547         * exporter.C (Export):
3548         * paragraph.[Ch] (simpleTeXOnePar):
3549         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3550         * paragraph_funcs.[Ch] (latexParagraphs):
3551         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3552         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3553         pass around a LatexRunParams parameter.
3554
3555 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3556
3557         * paragraph.[Ch]: remove unused constructor
3558
3559         * ParagraphList.C (erase): new function, taking two iterators
3560
3561 2003-05-22  André Pönitz  <poenitz@gmx.net>
3562
3563         * undo_funcs.C: remove duplicated code
3564
3565         * iterator.[Ch]: operator=
3566
3567 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3568
3569         * tabular.C (SetMultiColumn): ws changes
3570
3571         * rowpainter.C (paintFirst): get rid of a ->previous
3572
3573         * lyx_cb.C (getPossibleLabel): parlist simplification
3574
3575         * BufferView.C (ChangeInsets): simplify slightly.
3576
3577 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3578
3579         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3580         * lfuns.h: new LFUN_SPACE
3581         * lyxfunc.C: protected space has a new lfun
3582         * paragraph_funcs.C: read new space insets
3583         * text3.C:
3584         * factory.C: handle new space insets
3585
3586 2003-05-22  André Pönitz  <poenitz@gmx.net>
3587
3588         * BufferView.C:
3589         * BufferView_pimpl.C:
3590         * buffer.[Ch]:
3591         * lyxfunc.C:
3592         * undo_funcs.C: return a ParIterator from getParFromID.
3593
3594         * iterators.[Ch]: add two const's
3595
3596 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3597
3598         * toc.C (getTocList): adjust
3599
3600         * iterators.[Ch]: rework for parlist
3601
3602         * buffer.C (par_iterator_begin): adjust
3603         (par_iterator_end): adjust
3604
3605         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3606
3607         * BufferView.C (removeAutoInsets): adjust
3608         (ChangeInsets): adjust
3609
3610 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3611
3612         * text.C (top_y): fix bug 1110
3613
3614 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3615
3616         * errorlist.[Ch]: added
3617         * buffer.C:
3618         * BufferView.[Ch]:
3619         * BufferView_pimpl.C:
3620         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3621         instead
3622
3623 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3624
3625         * Makefile.am: ensure that lyx is relinked upon changes to the
3626         various "convenience" libs.
3627
3628 2003-05-20  Angus Leeming  <leeming@lyx.org>
3629
3630         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3631         files are compiled in alphabetical order again.
3632
3633         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3634
3635 2003-05-19  Angus Leeming  <leeming@lyx.org>
3636
3637         * gettext.[Ch]: remove "char const * _(char const *)".
3638
3639 2003-05-19  André Pönitz  <poenitz@gmx.net>
3640
3641         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3642
3643         * Makefile.am:
3644         * BufferView.C:
3645         * DepTable.h:
3646         * LaTeXFeatures.C:
3647         * buffer.C:
3648         * lyxfont.C:
3649         * lyxlex.h:
3650         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3651
3652 2003-05-19  André Pönitz  <poenitz@gmx.net>
3653
3654         * buffer.C:
3655         * lyxlayout.[Ch]:
3656         * lyxtextclass.[Ch]:
3657         * paragraph.C:
3658         * paragraph_funcs.[Ch]:
3659         * text2.C:
3660         * text3.C: more insetenv work
3661
3662 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3663
3664         * ParagraphParameters.C (params2string): small bug fixed
3665
3666 2003-05-16  André Pönitz  <poenitz@gmx.net>
3667
3668         * debug.C:
3669         * bufferview_funcs.C: patch from Kornel Benko to prevent
3670           crash when _(...) is called twice in a statement
3671
3672 2003-05-16  André Pönitz  <poenitz@gmx.net>
3673
3674         * BufferView.C:
3675         * lyxfunc.C:
3676         * text.C:
3677         * text2.C:
3678         * text3.C:
3679         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3680
3681 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3682
3683         * lyx_main.C (init): remove spurious static_cast
3684
3685 2003-05-14  André Pönitz  <poenitz@gmx.net>
3686
3687         * BufferView.C: fix format string
3688
3689 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3690
3691         * BufferView.[Ch] (insertErrors): removed
3692         * BufferView.[Ch] (showErrorList): added
3693         * buffer.C (runChkTeX):
3694         * converter.C (scanLog): call showErrorList instead of inserterrors
3695
3696 2003-05-13  André Pönitz  <poenitz@gmx.net>
3697
3698         * BufferView_pimpl.C:
3699         * buffer.C:
3700         * bufferview_func.C:
3701         * MenuBackend.C:
3702         * lyxfunc.C:
3703         * lyxrc.C:
3704         * tex-accent.C:
3705         * text3.C:
3706         * toc.C:
3707         * tabular_funcs.h: tostr() from its own header
3708
3709         * ParagraphParameters.C:
3710         * ToolbarBackend.C:
3711         * bufferparams.C:
3712         * format.C:
3713         * lyxlex_pimpl.C:
3714         * text3.C: STRCONV()
3715
3716 2003-05-12  André Pönitz  <poenitz@gmx.net>
3717
3718         * BufferView.C:
3719         * BufferView_pimpl.C:
3720         * CutAndPaste.C:
3721         * LaTeX.C:
3722         * LaTeXFeatures.C:
3723         * ParagraphParameters.C:
3724         * buffer.C:
3725         * bufferlist.C:
3726         * bufferparams.C:
3727         * bufferview_funcs.C:
3728         * converter.C:
3729         * counters.C:
3730         * debug.C:
3731         * exporter.C:
3732         * format.C:
3733         * importer.C:
3734         * lyx_cb.C:
3735         * lyx_main.C:
3736         * lyxfont.C:
3737         * lyxfunc.C:
3738         * lyxvc.C:
3739         * paragraph.C:
3740         * paragraph_funcs.C:
3741         * tabular.C:
3742         * tabular_funcs.C:
3743         * text2.C:
3744         * text3.C:  boost::format -> bformat  all over the place
3745
3746
3747 2003-05-09  André Pönitz  <poenitz@gmx.net>
3748
3749         * LColor.[Ch]: Pimpl the #include <map> away
3750
3751 2003-05-09  John Levon  <levon@movementarian.org>
3752
3753         * bufferlist.C: never remove emergency saves
3754
3755 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3756
3757         * Makefile.am: better lib building
3758
3759 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3760
3761         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3762         instead.
3763         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3764         (simpleTeXSpecialChars): adjust
3765         (simpleTeXSpecialChars): adjust
3766         * paragraph.C (simpleTeXOnePar): adjust
3767         * buffer.C (makeLaTeXFile): adjust
3768
3769         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3770
3771         * text2.C (changeDepth): parlist cleanup
3772         (getColumnNearX): ditto
3773
3774         * rowpainter.C (getLabelFont): parlist cleanup
3775
3776         * bufferlist.C (newFile): parlist cleanup
3777
3778         * CutAndPaste.C (eraseSelection): parlist cleanup
3779
3780         * BufferView_pimpl.C (trackChanges): parlist cleanup
3781         (dispatch): ditto
3782
3783         * BufferView.C (lockInset): parlist cleanup.
3784         (ChangeInsets): ditto
3785
3786 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3787
3788         * CutAndPaste.h: Update file header.
3789
3790         * CutAndPaste.C: Update file header.
3791         Store the parts cut out of the Document in a limited_stack.
3792         (copySelection): adjust
3793         (pasteSelection): new function, takes the index in the limited stack.
3794         (nrOfParagraphs): adjust
3795         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3796         simplify error inset insertion.
3797         (checkPastePossible): adjust
3798
3799 2003-05-06  John Levon  <levon@movementarian.org>
3800
3801         * text2.C: don't cast wrap inset to float
3802
3803 2003-05-05  André Pönitz  <poenitz@gmx.net>
3804
3805         * iterator.C:
3806         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3807
3808         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3809           few naked Paragraph *.
3810
3811 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3812
3813         * bufferparams.C: Output warning if a document with missing
3814         TeX document class is loaded
3815         * exporter.C: Disable TeX exports if the document class is missing
3816         * lyxtextclass.C:
3817         * lyxtextclass.h:
3818         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3819         isTeXClassAvailable()
3820
3821 2003-05-03  John Levon  <levon@movementarian.org>
3822
3823         * BufferView.h:
3824         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3825         explicit cursor show/hide
3826
3827         * BufferView_pimpl.h:
3828         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3829         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3830
3831         * lyxfunc.C: hide cursor before dispatching.
3832
3833         * lyx_cb.C:
3834         * lyxfind.C:
3835         * text.C:
3836         * text3.C: remove explicit cursor hides
3837
3838 2003-05-02  André Pönitz  <poenitz@gmx.net>
3839
3840         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3841
3842         * undo_funcs.C:
3843         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3844           linked lists
3845
3846         * text2.C: tiny whitespace
3847
3848 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3849
3850         * undo_funcs.C: almost only ws changes.
3851
3852         * ParagraphList.C (splice): just return if pl is empty.
3853
3854 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3855
3856         * ParagraphList.C (splice): new function.
3857
3858         * CutAndPaste.C (pasteSelection): use it
3859
3860 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3861
3862         * CutAndPaste.C (pasteSelection): remove the last next and
3863         previous from this file.
3864
3865 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3866
3867         * CutAndPaste.C (pasteSelection): more clean up, user proper
3868         ParagraphList functions for pasteing.
3869
3870         * ParagraphList.C (insert): new function, three arg insert
3871
3872 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3873
3874         * ParagraphList.C (insert): new function, three arg insert
3875
3876         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3877         not on paragraphs.
3878
3879 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3880
3881         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3882
3883 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3884
3885         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3886
3887 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3888
3889         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3890         (copySelection): clean up a bit.
3891         (pasteSelection): use make_pair
3892
3893         * ParagraphList.C (ParagraphList): implement copy constructor
3894         (operator=): implement, base on copy constructor.
3895         (assign): new func
3896
3897         * paragraph.C (erase): return a bool
3898
3899         * paragraph_pimpl.C (erasePos): remove function, move contents...
3900         (erase): ... here. Return a bool.
3901         (erase): call erase instead of erasePos.
3902
3903 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3904
3905         * ParagraphList.h: define PitPosPair
3906         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3907         ParagraphList, fix a bug on pasting multiple pars
3908         * text2.C: change interface to C&P
3909
3910 2003-04-30  André Pönitz  <poenitz@gmx.net>
3911
3912         * undo_func.C: revert part of yesterday's patch 2
3913
3914 2003-04-30  John Levon  <levon@movementarian.org>
3915
3916         * LColor.C: s/tabular/table/
3917
3918 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3919
3920         * text3.C (dispatch): do not convert iterator -> pointer
3921         * undo_funcs.C (setCursorParUndo): ditto
3922         * text_funcs.C (transposeChars): ditto
3923
3924         * text2.C (setLayout): ws changes only
3925
3926         * text.C (breakParagraph): do not convert iterator -> pointer
3927         (insertChar): ditto
3928         (acceptChange): ditto
3929         (rejectChange): ditto
3930         (changeCase): ditto
3931         (Delete): ditto
3932         (backspace): ditto
3933
3934         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3935         pointer
3936
3937 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3938
3939         * text3.C (gotoInset): YABG (yet another bad getChar)
3940
3941 2003-04-29  André Pönitz  <poenitz@gmx.net>
3942
3943         * paragraph.h: make operator= private unimplemented as long as
3944           it is unusable
3945
3946         * ParagraphList.C: whitespace
3947
3948         * paragraph.[Ch]:
3949         * paragraph_pimpl.[Ch]:
3950         * paragraph_funcs.C:
3951         * CutAndPaste.C:
3952         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3953
3954         * text2.C:
3955           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3956
3957 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3958
3959         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3960         * paragraph.[Ch] (erase):
3961         * paragraph_pimpl.[Ch] (erase): change return type and value
3962         * text2.C (cutSelection): some rework
3963
3964 2003-04-28  John Levon  <levon@movementarian.org>
3965
3966         * bufferlist.C: changes for unsaved changes dialog
3967
3968 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3969
3970         * bufferlist.C (newFile): set language (messages_) for new
3971         documents also.
3972
3973         * buffer.C (readFile): ws changes only.
3974
3975 2003-04-28  André Pönitz  <poenitz@gmx.net>
3976
3977         * undo_funcs.C:
3978         * lyxfunc.C:
3979         * buffer.[Ch]:
3980         * BufferView_pimpl.C:
3981         * BufferView.C: getParFromID related ParagraphList::iterator changes
3982
3983 2003-04-28  André Pönitz  <poenitz@gmx.net>
3984
3985         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3986           Changes
3987
3988 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3989
3990         * messages.C: remove one more localedir class variable.
3991
3992 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3993
3994         * messages.C (getLocaleDir): singleton generation function
3995         (Pimpl): use it.
3996         (Messages): add a default constructor.
3997
3998         * main.C (main): do not setup localedir here, do not call
3999         gettext_init.
4000
4001         * gettext.C (_): use it.
4002         (gettext_init): delete funciton
4003
4004 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4005
4006         * gettext.C (getLyXMessages): new singleton generating function.
4007
4008         * buffer.C (updateDocLang): adjust
4009
4010         * Makefile.am (messages.o): add target
4011         (main.o): remove target
4012
4013 2003-04-27  John Levon  <levon@movementarian.org>
4014
4015         * bufferlist.C:
4016         * lyx_cb.C:
4017         * lyxfunc.C:
4018         * lyxvc.C: specify cancel button in Alert::prompt
4019
4020 2003-04-26  John Levon  <levon@movementarian.org>
4021
4022         * text3.C:
4023         * lyxfunc.C:
4024         * lfuns.h:
4025         * LyXAction.C: add LFUN_INSET_SETTINGS
4026
4027         * lyxfunc.C: don't enable tabular-feature when there's
4028         just any locking inset
4029
4030 2003-04-26  John Levon  <levon@movementarian.org>
4031
4032         * bufferlist.C: re-add Cancel to buffer close question
4033
4034         * lyxfunc.C: fix import UI a bit
4035
4036 2003-04-25  John Levon  <levon@movementarian.org>
4037
4038         * gettext.C: remove the broken asserts for now
4039
4040 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4041
4042         * messages.C: make case where setlocale cannot comply work better.
4043
4044         * buffer.C (updateDocLang): new function
4045         (changeLanguage): use it
4046         (readFile): use it
4047
4048         * text2.C (setCounter): use B_ a bit.
4049
4050         * lyxlayout.C (Read): be sure to trim the label strings.
4051
4052         * messages.C (Messages): fix typo in comment
4053
4054         * buffer.C (readFile): set message_ after file is loaded.
4055         (makeDocBookFile): remove double return
4056         (changeLanguage): reset message_ upon language change.
4057         (B_): new func, use this to get translated buffer strings.
4058
4059         * main.C: add myself and Jean Marc as authors.
4060
4061 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4062
4063         * messages.[hC]: pimplify Messages, and three different pimpls to be
4064         used in different circumstances.
4065
4066         * gettext.[Ch]: change for use with new message code.
4067
4068 2003-04-24 André Pönitz <poenitz@gmx.net>
4069
4070         * factory.C: support for eqref
4071
4072 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4073
4074         * messages.[Ch]: add missing char
4075
4076         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4077
4078         * messages.[Ch]: New files
4079
4080 2003-04-18  John Levon  <levon@movementarian.org>
4081
4082         * BufferView.h:
4083         * BufferView.C:
4084         * BufferView_pimpl.C:
4085         * lfuns.h:
4086         * LyXAction.C:
4087         * lyxtext.h:
4088         * text2.C: remove layout-copy/paste (bug 778)
4089
4090 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4091
4092         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4093
4094 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4095
4096         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4097         if they succeed. Act accordingly.
4098
4099 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4100
4101         * text2.C (setCharFont): adjust
4102         (setCounter): adjust
4103         (insertStringAsLines): adjust
4104
4105         * text.C (leftMargin): adjust
4106         (setHeightOfRow): adjust
4107
4108         * rowpainter.C (paintFirst): adjust
4109         (paintLast): adjust
4110
4111         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4112         (outerHook): ditto
4113         (isFirstInSequence): ditto
4114         (getEndLabel): ditto
4115         (outerFont): adjust
4116
4117         * paragraph.C (getParLanguage): comment out some hard stuff.
4118
4119         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4120         (sgmlError): ditto
4121         (simpleDocBookOnePar): ditto
4122         (makeDocBookFile): use ParagraphList::iterator
4123
4124         * CutAndPaste.C (pasteSelection): adjust
4125
4126 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4127
4128         * text2.C (getFont): adjust
4129         (getLayoutFont): adjust
4130         (getLabelFont): adjust
4131
4132         * paragraph_funcs.C (TeXOnePar): adjust
4133
4134         * buffer.C (simpleLinuxDocOnePar): adjust
4135         (simpleDocBookOnePar): adjust
4136
4137         * CutAndPaste.C (pasteSelection): adjust
4138
4139         * BufferView.C (getEncoding): adjust
4140
4141         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4142
4143 2003-04-16  John Levon  <levon@movementarian.org>
4144
4145         * lyxfind.C: use parlist stuff for search/changes
4146
4147 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4148
4149         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4150
4151         * text2.C (deleteEmptyParagraphMechanism): adjust
4152
4153         * text2.[Ch] (ownerParagraph): delete func (both of them
4154
4155 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4156
4157         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4158
4159 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4160
4161         * ParagraphList.C: prepare for NO_NEXT
4162
4163 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4164
4165         * text2.C (getFont): adjust
4166         (getLayoutFont): adjust
4167         (getLabelFont): adjust
4168
4169         * paragraph.C (getFont): adjust
4170         (getLabelFont): adjust
4171         (getLayoutFont): adjust
4172
4173         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4174
4175 2003-04-15  John Levon  <levon@movementarian.org>
4176
4177         From Angus Leeming
4178
4179         * lyx_main.C: handle Include in .ui files
4180
4181 2003-04-15  John Levon  <levon@movementarian.org>
4182
4183         * MenuBackend.C: make the doc files length shorter
4184
4185         * ToolbarBackend.h:
4186         * ToolbarBackend.C: handle toolbar placement flags,
4187         Minibuffer
4188
4189 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4190
4191         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4192         adjust
4193
4194         * paragraph_funcs.C (TeXOnePar): adjust
4195
4196         * paragraph.C (getLabelFont): add outerfont arg, adjust
4197         (getLayoutFont): ditto
4198         (simpleTeXOnePar): adjust
4199
4200         * paragraph_pimpl.C (realizeFont): delete func
4201
4202 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4203
4204         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4205         row argument, constify cur argument.
4206
4207 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4208
4209         * text2.C (getFont): adjust
4210         (getLayoutFont): adjust
4211         (getLabelFont): adjust
4212
4213         * paragraph_funcs.C (TeXOnePar): adjust
4214         (outerFont): new func...
4215         (realizeFont): ...moved out from here, changed this to facilitate
4216         transition
4217
4218         * paragraph.C (getFont): take outerfont as arg, adjust
4219         (simpleTeXOnePar): add outerfont arg, adjust
4220
4221         * buffer.C (simpleLinuxDocOnePar): adjust
4222         (simpleDocBookOnePar): adjust
4223
4224         * CutAndPaste.C (pasteSelection): adjust
4225
4226         * BufferView.C (getEncoding): adjust
4227
4228 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4229
4230         * text2.C (setCharFont): adjust
4231         (setCounter): adjust
4232
4233         * text.C (leftMargin): adjust
4234         (setHeightOfRow): adjust
4235
4236         * rowpainter.C (paintFirst): adjust
4237         (paintLast): adjust
4238
4239         * paragraph_pimpl.C (realizeFont): adjust
4240
4241         * paragraph.C (isFirstInSequence): move from here...
4242         * paragraph_funcs.C (isFirstInSequence): ...to here
4243
4244         * paragraph.C (outerHook): move from here...
4245         * paragraph_funcs.C (outerHook): ...to here
4246
4247         * paragraph.C (depthHook): move from here...
4248         * paragraph_funcs.C (depthHook): ...to here
4249
4250         * paragraph.C (getEndLabel): move from here...
4251         * paragraph_funcs.C (getEndLabel): ...to here
4252
4253         * text2.C (realizeFont): move from here...
4254         * paragraph_funcs.C (realizeFont): ...to here
4255
4256 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4257
4258         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4259
4260 2003-04-14  Angus Leeming  <leeming@lyx.org>
4261
4262         * LColor.[Ch]: scrap LColor mathcursor.
4263
4264 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4265
4266         * lyxlex.[Ch] (text): delete function
4267         * trans.C (Load): adjust
4268         * paragraph_funcs.C (readParToken): adjust
4269
4270 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4271
4272         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4273         vector<char> instead of a char[].
4274
4275         * lyxlex_pimpl.C (getString): adjust
4276         (next): adjust
4277         (lex): use getString
4278         (eatLine): adjust
4279         (nextToken): adjust
4280
4281         * lyxlex.C (text): use pimpl_->getString()
4282         (getBool): ditto
4283         (findToken): ditto
4284
4285 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4286
4287         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4288         (makeFontEntriesLayoutSpecific): temp var for par.size()
4289         (setLayout): temp var for ownerParagraphs().end()
4290         (fullRebreak): temp var for rows().end()
4291         (selectionAsString): temp var for boost::next(startpit), realize
4292         that the while really is a regular for loop.
4293         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4294         setCursor in one place.
4295         (setParagraph): temp vr for ownerParagraphs().end()
4296         (updateCounters): make the while loop a for loop
4297         (cutSelection): temp var for ownerParagraphs().end()
4298         (updateInset): make the do {} while() a regular for loop
4299         (getCursorX): use temp vars
4300         (setCurrentFont): use temp vars
4301         (getColumnNearX): use temp vars
4302
4303 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4304
4305         * text.C (transformChar): use temp var for getChar
4306         (computeBidiTables): use temp var for row->par()
4307         (fill): move temp vars for row->par() and pit->layout() earlier in
4308         the function.
4309         (labelFill): use temp var for row->par()
4310         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4311         asc and desc, realize that pit never changes and that firstpit is
4312         just a duplicate and not needed. Exchange rit->par() with pit in a
4313         lot of places.
4314         (breakAgain): use a temp var for boost::next(rit)
4315         (breakAgainOneRow): ditto
4316         (breakParagraph): use a temp var for rows().begin()
4317         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4318         (cursorRightOneWord): use temp var for cursor.par() and
4319         cursor.pos(), remove usage of tmpcursor.
4320         (cursorLeftOneWord): use temp var for cursor.par() and
4321         cursor.pos() only set cur at end of function.
4322
4323 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4324
4325         * text.C, text2.C: exchange all usage of Paragraph::next with
4326         boost::next(ParagraphList::iterator)
4327
4328         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4329
4330         * text2.C (cursorTop): simplify implementation
4331         (cursorBottom): ditto
4332         (setParagraph): use ParagraphList::iterator
4333         (setCurrentFont): adjust
4334         (getColumnNearX): adjust
4335         (cursorRight): adjust
4336         (cursorLeft): remove usage of Paragraph::previous
4337         (cursorUpParagraph): ditto
4338         (deleteEmptyParagraphMechanism): slight cleanup
4339
4340         * text.C (isBoundary): take a Paragraph const & instead of a
4341         pointer as arg.
4342         (addressBreakPoint): ditto
4343         (leftMargin): remove usage of Paragraph::previous.
4344         (setHeightOfRow): ditto
4345         (cursorLeftOneWord): ditto
4346         (selectNextWordToSpellcheck): ditto
4347         (Delete): ditto
4348         (backspace): ditto
4349         (breakParagraph): remove one usage of Paragraph::next
4350         (redoParagraph): ditto
4351         (acceptChange): ditto
4352         (insertChar): adjust
4353         (rowBreakPoint): adjust
4354
4355         * bufferview_funcs.C (toggleAndShow): adjust
4356
4357 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4358
4359         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4360         methods to access it.
4361         * lyxtext.h:
4362         * text.C: Added updateRowPositions to compute all row positions.
4363         Make top_y and getRowNearY() to use the cached y position
4364
4365 2003-04-11  John Levon  <levon@movementarian.org>
4366
4367         * text.C (rowBreakPoint): reintroduce the labelEnd
4368         checks, code copied from the row fill stuff. Deep voodoo.
4369
4370         * text.C (fill): add a comment and debugging for the
4371         next poor soul.
4372
4373 2003-04-11  John Levon  <levon@movementarian.org>
4374
4375         * text.C: make sure fullrow insets get wrapped to the next line,
4376         even when they're in a manual label
4377
4378 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4379
4380         * text2.C (insertParagraph): make it take ParagraphList::iterator
4381         as arg.
4382         (setLayout): make it return ParagraphList::iterator
4383         (redoParagraphs): ditto
4384         (setCounter): ditto
4385         (checkParagraph): ditto
4386
4387         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4388
4389         * text2.C: adjust several funcs.
4390         (realizeFont): take a ParagraphList::iterator as arg.
4391         (getLayoutFont): ditto
4392         (getLabelFont): ditto
4393         (setCharFont): ditto
4394
4395         * text.C: adjust several funcs.
4396
4397 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4398
4399         * text.C (selectNextWordToSpellcheck): don't accidentally
4400         skip insets
4401
4402 2003-04-10  John Levon  <levon@movementarian.org>
4403
4404         * ToolbarBackend.C (getIcon): special handling for
4405         LFUN_MATH_DELIM
4406
4407 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4408
4409         * text2.C (cursorRight): a getChar assert fixed
4410
4411 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4412
4413         * text2.C (getFont): change to take a ParagraphList::iterator
4414         instead of Paragraph*
4415         Adjust several functions.
4416
4417         * text.C (transformChar): change to take a ParagraphList::iterator
4418         instead of Paragraph*
4419         (singleWidth): ditto
4420         Adjust several functions.
4421
4422         * rowpainter.C: adjust several functions
4423         * rowpainter.h:store a ParagraphList::iterator and not a
4424         Paragraph&.
4425
4426
4427 2003-04-09  John Levon  <levon@movementarian.org>
4428
4429         * lyxfunc.C:
4430         * lfuns.h:
4431         * LyXAction.h:
4432         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4433         and the "help" bits as well
4434
4435 2003-04-09  John Levon  <levon@movementarian.org>
4436
4437         * ToolbarBackend.h:
4438         * ToolbarBackend.C: allow multiple toolbars
4439
4440 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4441
4442         * undo_funcs.C (setCursorParUndo): adjust
4443
4444         * text_funcs.C (transposeChars): adjust
4445
4446         * text3.C (gotoNextInset): adjust
4447         (dispatch): adjust
4448
4449         * text2.C (setLayout): adjust
4450         (changeDepth): adjust
4451         (setFont): adjust
4452         (redoParagraphs): adjust
4453         (selectionAsString): adjust
4454         (setParagraph): adjust
4455         (insertInset): adjust
4456         (cutSelection): adjust
4457         (copySelection): adjust
4458         (pasteSelection): adjust
4459         (insertStringAsLines): adjust
4460         (updateInset): adjust
4461         (setCursor): change to take a ParagraphList::iterator parameter
4462         (setCursorIntern): change to take a ParagraphList::iterator parameter
4463         (setCurrentFont): adjust
4464         (cursorLeft): adjust
4465         (cursorRight): adjust
4466         (deleteEmptyParagraphMechanism): adjust
4467
4468         * text.C (breakParagraph): adjust
4469         (insertChar): adjust
4470         (acceptChange): adjust
4471         (rejectChange): adjust
4472         (selectNextWordToSpellcheck): adjust
4473         (changeCase): adjust
4474         (Delete): adjust
4475         (backspace): adjust
4476
4477         * lyxfind.C (SearchForward): adjust
4478         (SearchBackward): adjust
4479         (nextChange): adjust
4480
4481         * lyxcursor.C (par): adjust
4482
4483         * lyxcursor.h: store a ParagraphList::iterator instead of a
4484         Paragraph*
4485
4486         * lyx_cb.C (getPossibleLabel): adjust
4487
4488         * bufferview_funcs.C (toggleAndShow): adjust
4489
4490         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4491         (dispatch): adjust
4492
4493         * BufferView.C (removeAutoInsets): adjust
4494         (lockedInsetStoreUndo): adjust
4495
4496 2003-04-09  John Levon  <levon@movementarian.org>
4497
4498         * ToolbarBackend.C: try icon without argument
4499         if with argument fails
4500
4501 2003-04-08  John Levon  <levon@movementarian.org>
4502
4503         * ToolbarBackend.h:
4504         * ToolbarBackend.C: add getIcon(), handle tooltip,
4505         and change from "Icon" to "Item".
4506
4507 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4508
4509         * BufferView.C (lockInset): another bad getchar crunched
4510
4511 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4512
4513         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4514         again)
4515
4516 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4517
4518         * lyxfind.C (searchForward, searchBackwards): bug 782
4519
4520 2003-04-07  John Levon  <levon@movementarian.org>
4521
4522         * paragraph.C: remove dead comment
4523
4524         * text.C: remove troublesome depth-fiddling code
4525         in leftMargin() and rightMargin() (bug 1017)
4526
4527         * text.C: fix breaking of rows in nested lists
4528         (bug 1004)
4529
4530         * text2.C (updateCounters): fix up depth values
4531         (bug 1013)
4532
4533 2003-04-07  John Levon  <levon@movementarian.org>
4534
4535         * BufferView_pimpl.C: clear message when doc finishes resizing,
4536         and after a mouse event
4537
4538         * lyxfunc.C: clear message after exiting inset
4539
4540 2003-04-07  John Levon  <levon@movementarian.org>
4541
4542         * bufferview_funcs.C: show math status not outside
4543         status in the statusbar
4544
4545 2003-04-07  John Levon  <levon@movementarian.org>
4546
4547         * lyxfunc.C: note status changed after a depth change
4548
4549 2003-04-04  Angus Leeming  <leeming@lyx.org>
4550
4551         * LaTeX.h: move AuxInfo operator==, != out of line.
4552         Remove LaTeX virtual destructor; nothing derives from it.
4553         Move operator()() out of public area and rename it startscript().
4554         Change protected for private.
4555
4556 2003-04-04  Angus Leeming  <leeming@lyx.org>
4557
4558         * lyxfunc.C:
4559         * text2.C: remove unneeded #includes.
4560
4561 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4562
4563         * text2.C (dEPM): fix the heigth of the next row
4564
4565 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4566
4567         * text.C: squashed an invalid getChar requester + some ws changes
4568
4569 2003-04-03  John Levon  <levon@movementarian.org>
4570
4571         * bufferview_funcs.h:
4572         * bufferview_funcs.C:
4573         * lyxfunc.C:
4574         * lyxtext.h:
4575         * text2.C: make getStatus work for the env depth lfuns
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: parlistize decDepth(), by merging it with incDepth()
4584
4585 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4586
4587         * lyxrow.h: store a ParagraphList::iterator instead of a
4588         Paragraph* and adjust other class functions to suit.
4589
4590         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4591         above.
4592
4593 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4594
4595         * text2.C (setCursor): do not anchor to cursor row for the time being
4596
4597 2003-04-02  John Levon  <levon@movementarian.org>
4598
4599         * LyXAction.C:
4600         * lfuns.h:
4601         * lyx_main.C:
4602         * lyxtext.h:
4603         * text.C:
4604         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4605
4606 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4607
4608         * paragraph.h: make ParagraphList and ParagraphList::iterator
4609         friends of Paragraph.
4610
4611         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4612
4613         * ParagraphList.C: Use the private next_ and previous_ from
4614         Paragraph.
4615
4616 2003-04-01  John Levon  <levon@movementarian.org>
4617
4618         * ToolbarBackend.h:
4619         * ToolbarBackend.C:
4620         * Makefile.am: rename, remove defaults gunk
4621
4622         * MenuBackend.h:
4623         * MenuBackend.C: remove defaults gunk
4624
4625         * Languages.h:
4626         * Languages.C: remove defaults gunk
4627
4628         * lyx_main.h:
4629         * lyx_main.C: error out if files couldn't be found.
4630
4631 2003-04-02  John Levon  <levon@movementarian.org>
4632
4633         * text2.C: make incDepth() use parlist
4634
4635 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4636
4637         * undo_funcs.C (firstUndoParagraph): adjust
4638
4639         * text3.C (gotoInset): adjust
4640         (dispatch): adjust, and rewrite loop.
4641
4642         * text2.C (init): adjust, and rewrite loop.
4643         (redoParagraphs): adjust
4644         (updateInset): adjust, and rewrite loop.
4645         (deleteEmptyParagraphMechanism): adjust
4646
4647         * tabular.C (LyXTabular): adjust
4648         (SetMultiColumn): adjust
4649         (TeXRow): adjust
4650
4651         * lyxtext.[Ch] (ownerParagraph): delete function
4652         (ownerParagraphs): new function returns a ParagraphList.
4653
4654         * BufferView.C (removeAutoInsets): adjust
4655         (insertErrors): adjust
4656         (setCursorFromRow): adjust
4657
4658 2003-04-01  Angus Leeming  <leeming@lyx.org>
4659
4660         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4661         in the frontends.
4662
4663 2003-04-02  John Levon  <levon@movementarian.org>
4664
4665         * lyxtext.h:
4666         * text.C:
4667         * Makefile.am:
4668         * text_funcs.h:
4669         * text_funcs.C: make transposeChars a free function
4670
4671         * lyxrow_funcs.C: remove wrong comment
4672
4673 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4674
4675         * lyxtext.h: adjust
4676         * rowpainter.C: adjust
4677         * text.C: adjust
4678         * text2.C: adjust
4679         * text3.C: adjust
4680
4681         * lyxrow_funcs. [Ch]: new files
4682
4683         * lyxrow.[Ch]: remove next and previous pointers
4684         (next,previous): remove accessor functions
4685         (isParEnd): move to lyxrow_funcs
4686         (lastPos): move to lyxrow_funcs
4687         (nextRowIsAllInset): move to lyxrow_funcs
4688         (lastPrintablePos): move to lyxrow_funcs
4689         (numberOfSeparators): move to lyxrow_funcs
4690         (numberOfHfills): move to lyxrow_funcs
4691         (numberOfLabelHfills): move to lyxrow_funcs
4692         (hfillExpansion): move to lyxrow_funcs
4693
4694         * lyxfunc.C: adjust
4695
4696         * bufferview_funcs.C (toggleAndShow): adjust
4697
4698         * RowList.h: Remove class RowList from file leave just a
4699         std::list<Row>.
4700
4701         * RowList.C: delete file
4702
4703         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4704         and lyxrow_funcs.h
4705
4706 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4707
4708         * text3.C (cursorPrevious): adjust
4709         (cursorNext): adjust
4710         (dispatch): adjust
4711
4712         * text2.C (redoHeightOfParagraph): adjust
4713         (redoDrawingOfParagraph): adjust
4714         (setCursor): adjust
4715
4716         * text.C (breakParagraph): adjust
4717         (insertChar): adjust
4718         (backspace): adjust
4719
4720         * rowpainter.C (RowPainter): adjust
4721         (leftMargin): simplify and adjust
4722         (most rowpainter functions): adjust.
4723
4724         * rowpainter.h: store the row as RowList::iterator not as Row*
4725
4726         * lyxcursor.C (row): taka RowList::iterator as arg
4727         (irow): ditto
4728
4729         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4730         of Row*.
4731
4732 2003-04-01  Angus Leeming  <leeming@lyx.org>
4733
4734         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4735         stuff like bool Bool.
4736
4737 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4738
4739         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4740         rewrite a loop
4741
4742 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4743
4744         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4745         RowList::iterator.
4746
4747         * lyxtext.h (rows): drop one version and leve a const variant that
4748         returns a RowList::iterator.
4749
4750 2003-03-31  Angus Leeming  <leeming@lyx.org>
4751
4752         * text.C (fill): ensure that the signature is the same as that in the
4753         header file.
4754
4755 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4756
4757         * text2.C (redoParagraphs): adjust
4758         (updateCounters): adjust
4759         (checkParagraph): adjust
4760         (getColumnNearX): adjust and reformat a bit.
4761
4762         * text.C (top_y): adjust
4763         (workWidth): adjust
4764         (leftMargin): adjust
4765         (prepareToPrint): adjust
4766         (getRow): adjust
4767         (getRowNearY): adjust
4768
4769         * lyxtext.h: make rowlist_ mutable.
4770
4771         * RowList.h: add const_iterator
4772         * RowList.C: adjust for RowList::const_iterator.
4773
4774         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4775         adjust.
4776
4777 2003-03-31  John Levon  <levon@movementarian.org>
4778
4779         * lyxrc.h:
4780         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4781
4782         * lyx_main.C: set default fonts from using lyx_gui funcs
4783
4784         * exporter.C: pdf_mode moved from lyxrc
4785
4786         * lyx_cb.C:
4787         * lyxfunc.C: changes from above
4788
4789 2003-03-31  John Levon  <levon@movementarian.org>
4790
4791         * lyx_main.C: fix to the last fix
4792
4793 2003-03-31  John Levon  <levon@movementarian.org>
4794
4795         * bufferlist.C: "Load original" -> "Load Original"
4796
4797         * converter.C:
4798         * exporter.C:
4799         * importer.C:
4800         * lyx_main.C:
4801         * format.C: more Alert cleanups
4802
4803 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4804
4805         * text2.C (removeParagraph): make it take a RowList::iterator as
4806         arg, adjust.
4807         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4808         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4809
4810         * text.C (anchor_row): make it take a RowList::iterator as arg,
4811         adjust.
4812         (computeBidiTables): make it take a const reference to Row instead
4813         of Row pointer, adjust.
4814         (leftMargin): make it take a RowList::iterator as arg, adjust.
4815         (rowBreakPoint): adjust
4816         (breakAgainOneRow): make it take a RowList::iterator as arg,
4817         adjust.
4818         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4819
4820         * bufferview_funcs.C (toggleAndShow): adjust
4821
4822 2003-03-30  John Levon  <levon@movementarian.org>
4823
4824         * Makefile.am:
4825         * BoostFormat.h:
4826         * boost-inst.C: moved to support
4827
4828         * several files: changes as a result
4829
4830 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4831
4832         * text2.C (LyXText): adjust.
4833         (init): adjust
4834         (removeRow): make it take a RowList::iterator as arg, adjust.
4835         (fullRebreak): adjust
4836         (deleteEmptyParagraphMechanism): adjust
4837         (clearPaint): adjust
4838         (postPaint): adjust
4839
4840         * text.C (top_y): adjust
4841         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4842         (breakAgain): make it take a RowList::iterator as arg, adjust.
4843         (breakParagraph): adjust
4844         (insertChar): adjust
4845         (backspace): adjust
4846
4847         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4848         need_break_row, and refresh_row.
4849
4850         * text3.C (dispatch): adjust
4851
4852         * text2.C (checkParagraph): adjust
4853         (setCursor): adjust
4854         (setCursorFromCoordinates): adjust
4855
4856         * text.C (top_y): adjust
4857         (workWidth): adjust
4858         (getRow): make it return a RowList::iterator, adjust
4859         (getRowNearY): make it return a RowList::iterator, adjust
4860
4861         * text2.C (init): adjust
4862         (insertRow): remove function
4863         (insertParagraph): adjust
4864         (redoParagraphs): adjust
4865         (fullRebreak): adjust
4866         (updateCounters): adjust
4867
4868         * text.C (top_y): rewrite to use RowList iterators.
4869         (top_y): adjust
4870         (setHeightOfRow): rewrite to sue RowList iterators.
4871         (appendParagraph): adjust
4872         (breakAgain): adjust
4873         (breakAgainOneRow): adjust
4874         (breakParagraph): adjust
4875         (getRow): adjust
4876         (getRowNearY): adjust, and remove commented code.
4877
4878         * lyxtext.h (firstRow): delete function
4879         (lastRow): delete function
4880         (rows): new function (const and non-const versions.)
4881         (insertRow): delete function
4882
4883         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4884
4885 2003-03-29  John Levon  <levon@movementarian.org>
4886
4887         * BufferView_pimpl.C: always update scrollbar top
4888         because pasting text when we're anchored could mean we
4889         miss an update altogether
4890
4891 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4892
4893         * text2.C (init): use rowlist_.end() and not 0.
4894         (insertRow): change to take a RowList::iterator as arg, adjust
4895         for this.
4896         (insertParagraph): change to take a RowList::iterator as arg,
4897         adjust for this.
4898         (redoParagraphs): remove some debug msgs.
4899
4900         * text.C (appendParagraph): change to take a RowList::iterator
4901         arg, adjust for this.
4902         (breakAgain): add an assert
4903         (breakAgainOneRow): ditto
4904
4905 2003-03-29  John Levon  <levon@movementarian.org>
4906
4907         * text2.C: do not clear selection after inc/decDepth
4908         (bug 550)
4909
4910 2003-03-29  John Levon  <levon@movementarian.org>
4911
4912         * BufferView.C:
4913         * buffer.C: fix broken strerrors according to Lars
4914
4915 2003-03-29  John Levon  <levon@movementarian.org>
4916
4917         * converters.C: more Alert cleanups
4918
4919 2003-03-29  John Levon  <levon@movementarian.org>
4920
4921         * bufferview_funcs.C: remove pointless Alert
4922
4923         * buffer.C: fix confusing error message when
4924         a template is chmoded 000
4925
4926 2003-03-29  John Levon  <levon@movementarian.org>
4927
4928         * BufferView.C:
4929         * BufferView.h:
4930         * BufferView_pimpl.C: Alert fixes
4931
4932         * Makefile.am:
4933         * tabular.C:
4934         * tabular-old.C: remove unused table compat reading
4935
4936 2003-03-29  John Levon  <levon@movementarian.org>
4937
4938         * BufferView.C:
4939         * buffer.C:
4940         * lyx_cb.h:
4941         * lyx_cb.C: more Alert cleanups
4942
4943         * lyxfunc.C: don't allow chktex if not latex document
4944
4945 2003-03-29  John Levon  <levon@movementarian.org>
4946
4947         * lyx_cb.C:
4948         * BufferView.C:
4949         * buffer.C: warnings pushed down from support/,
4950         kill err_alert
4951
4952 2003-03-29  John Levon  <levon@movementarian.org>
4953
4954         * lyxfunc.C: safety check for C-r (revert)
4955
4956 2003-03-29  John Levon  <levon@movementarian.org>
4957
4958         * bufferlist.h:
4959         * bufferlist.C: several UI fixes using Alert::prompt.
4960         Fix the pointless looping quit code. Fix stupid revert
4961         behaviour (bug 938)
4962
4963         * lyxvc.h:
4964         * lyxvc.C:
4965         * lyx_cb.C: use Alert::prompt
4966
4967         * lyx_main.C: remove a silly question
4968
4969         * lyxfunc.C: remove a couple of silly questions,
4970         use Alert::prompt
4971
4972 2003-03-28  John Levon  <levon@movementarian.org>
4973
4974         * text2.C: fix bug 974 (End on empty par)
4975
4976 2003-03-28  John Levon  <levon@movementarian.org>
4977
4978         * BufferView_pimpl.C:
4979         * LyXAction.C:
4980         * lfuns.h: remove do-nothing math greek lfuns
4981
4982 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4983
4984         * lyxgluelength.h (isValidGlueLength): add default arg on
4985         parameter 2. Remove default arg from friend in class.
4986
4987         * lyxlength.h (isValidLength): add default arg on parameter 2.
4988         Remove default arg from friend in class.
4989
4990         * text2.C (LyXText): adjust, initialize refresh_row.
4991         (init): adjust
4992         (removeRow): adjust
4993         (insertRow): adjust
4994         (insertParagraph): adjst
4995         (redoParagraphs): adjust
4996         (fullRebreak): adjust
4997         (updateCounters): adjust
4998         (deleteEmptyParagraphMechanism): first attempt at fixing a
4999         crashing bug.
5000
5001         * text.C (top_y): adjust
5002         (setHeightOfRow): adjust
5003         (getRow): adjust
5004         (getRowNearY): adjust
5005
5006         * lyxtext.h: include RowList.h
5007         (~LyXText): not needed anymore, deleted.
5008         (firstRow): modify for RowList
5009         (lastRow): new function
5010         Delete firstrow and lastrow class variables, add a Rowlist
5011         rowlist_ class variable.
5012
5013         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5014         paragraph is empty.
5015
5016         * RowList.C (insert): fix case where it == begin().
5017
5018 2003-03-26  Angus Leeming  <leeming@lyx.org>
5019
5020         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5021         the thesaurus dialog.
5022
5023 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5024
5025         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5026
5027         * RowList.[Ch]: new files
5028
5029         * ParagraphList.C (erase): handle the case where it == begin
5030         correctly.
5031
5032 2003-03-25  John Levon  <levon@movementarian.org>
5033
5034         * Makefile.am:
5035         * aspell_local.h:
5036         * aspell.C: add new aspell support
5037
5038         * lyxrc.h:
5039         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5040         have it accessible.
5041
5042 2003-03-25  Angus Leeming  <leeming@lyx.org>
5043
5044         * lfuns.h:
5045         * LyXAction.C (init): new LFUN_INSET_INSERT.
5046
5047         * BufferView_pimpl.C (dispatch): split out part of the
5048         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5049
5050         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5051         LFUN_INSET_APPLY.
5052
5053 2003-03-25  Angus Leeming  <leeming@lyx.org>
5054
5055         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5056
5057 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5058
5059         * text2.C:
5060         * text3.C: remove useless row->height(0)
5061
5062 2003-03-25  John Levon  <levon@movementarian.org>
5063
5064         * lyxtext.h:
5065         * text2.C:
5066         * text3.C: rename the refreshing stuff to better names
5067
5068 2003-03-24  John Levon  <levon@movementarian.org>
5069
5070         * BufferView_pimpl.h:
5071         * BufferView_pimpl.C: update layout choice on a mouse
5072         press/release
5073
5074 2003-03-23  John Levon  <levon@movementarian.org>
5075
5076         * Makefile.am: fix commandtags.h reference
5077
5078 2003-03-22  John Levon  <levon@movementarian.org>
5079
5080         * BufferView_pimpl.C:
5081         * lyxtext.h:
5082         * rowpainter.C:
5083         * rowpainter.h:
5084         * text.C:
5085         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5086
5087 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5088
5089         * lyxtext.h:
5090         * text.C: take the rtl methods out of line
5091
5092 2003-03-21 André Pönitz <poenitz@gmx.net>
5093
5094         * metricsinfo.[Ch]: new files containing structures to be passed around
5095         during the two-phase-drawing...
5096
5097 2003-03-21 André Pönitz <poenitz@gmx.net>
5098
5099         * lyxtextclass.C: read 'environment' tag.
5100
5101 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5102
5103         * text2.C (removeRow): fix bug 964
5104
5105 2003-03-20  John Levon  <levon@movementarian.org>
5106
5107         * rowpainter.C:
5108         * text.C:
5109         * text2.C: paint cleanups. Inset::update() dropped font
5110         parameter
5111
5112 2003-03-19  John Levon  <levon@movementarian.org>
5113
5114         * lyxfunc.C: only fitcursor/markDirty if available()
5115
5116 2003-03-19  John Levon  <levon@movementarian.org>
5117
5118         * commandtags.h: rename to ...
5119
5120         * lfuns.h: ... this, and renumber / cleanup
5121
5122 2003-03-19  John Levon  <levon@movementarian.org>
5123
5124         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5125         fit the cursor after an lfun
5126
5127         * BufferView.h:
5128         * BufferView.C:
5129         * BufferView_pimpl.h:
5130         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5131
5132         * LyXAction.C: layout-character should have ReadOnly
5133
5134         * ParagraphParameters.C:
5135         * buffer.C:
5136         * bufferview_funcs.C:
5137         * lyx_cb.C:
5138         * lyxfind.C:
5139         * lyxtext.h:
5140         * text.C:
5141         * text2.C:
5142         * text3.C:
5143         * undo_funcs.C: changes from above
5144
5145 2003-03-18  John Levon  <levon@movementarian.org>
5146
5147         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5148         remove it from update()
5149
5150         * lyxfunc.C: update layout choice after an lfun
5151
5152         * text3.C: remove extra updateLayoutChoice()s
5153
5154 2003-03-18  John Levon  <levon@movementarian.org>
5155
5156         * text.C: top_y change means full repaint, fix
5157         a drawing bug with cursor movement
5158
5159 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5160
5161         * lyxtext.h:
5162         * text.C:
5163         * text2.C: anchor row on setCursor
5164
5165 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5166
5167         * lyxtext.h: remove almost all mutable keywords
5168         * text.C:
5169         * text2.C:
5170         * text3.C: remove const keywords accordingly
5171
5172 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5173
5174         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5175         anon namespace
5176         (TeXEnvironment): ditto
5177         (TeXOnePar): ditto
5178
5179 2003-03-17  John Levon  <levon@movementarian.org>
5180
5181         * text.C (rowBreakPoint): remove attempt to fix displayed
5182         math insets inside a manual label
5183
5184 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5185
5186         * lyxtext.h: remove BufferView* as first arg from almost all class
5187         functions.
5188         * other files: adjust.
5189
5190 2003-03-17  John Levon  <levon@movementarian.org>
5191
5192         * lyxtext.h:
5193         * undo_funcs.C:
5194         * text2.C: more paint cleanups
5195
5196         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5197
5198         * rowpainter.h:
5199         * rowpainter.C: remove "smart" background painting code
5200
5201 2003-03-16  John Levon  <levon@movementarian.org>
5202
5203         * lyxtext.h:
5204         * text.C:
5205         * text2.C:
5206         * text3.C: add helper functions for setting refresh_row/y
5207
5208 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5209
5210         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5211         newline inset which *can* get inserted in the pass_thru layouts.
5212         This is primarily for literate documents.
5213
5214 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5215
5216         * buffer.C: increment LYX_FORMAT to 223
5217
5218 2003-03-14 André Pönitz <poenitz@gmx.net>
5219
5220         * textclass.h: prepare for environment handling, ws changes
5221         * lyxlayout.C: read latexheader and latexfooter tags
5222
5223 2003-03-14  John Levon  <levon@movementarian.org>
5224
5225         * text2.C: rewrite ::status() a bit
5226
5227 2003-03-13  John Levon  <levon@movementarian.org>
5228
5229         * lyxtext.h: add some docs
5230
5231 2003-03-13  John Levon  <levon@movementarian.org>
5232
5233         * lyxtext.h:
5234         * text.C:
5235         * text2.C:
5236         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5237
5238 2003-03-13  John Levon  <levon@movementarian.org>
5239
5240         * text3.C: fix appendix redrawing
5241
5242 2003-03-13  John Levon  <levon@movementarian.org>
5243
5244         * text.C (setHeightOfRow):
5245         * rowpainter.h:
5246         * rowpainter.C: make appendix mark have the text
5247           "Appendix" so the user knows what it is
5248
5249         * LColor.h:
5250         * LColor.C: s/appendixline/appendix/ from above
5251
5252 2003-03-13  John Levon  <levon@movementarian.org>
5253
5254         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5255
5256         * text.C: fix a getChar(pos) bug properly
5257
5258 2003-03-13  Angus Leeming  <leeming@lyx.org>
5259
5260         * commandtags.h:
5261         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5262         Probably only temporary. Let's see how things pan out.
5263
5264         * BufferView.C (unlockInset):
5265         * BufferView_pimpl.C (fitCursor):
5266         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5267
5268         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5269         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5270
5271         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5272         new functions that convert ParagraphParameters to and from a string.
5273
5274         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5275         BufferView::Pimpl's dispatch.
5276         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5277
5278 2003-03-13 André Pönitz <poenitz@gmx.net>
5279
5280         * lyxfunc.C:
5281         * text3.C:
5282         * factory.C: make it aware of InsetEnv
5283
5284 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5285
5286         * text2.C (setCursor): never ask for one past last
5287         (setCursor): add some debugging messages.
5288
5289         * text.C (singleWidth): never ask for one past last
5290         (singleWidth): ditto
5291         (leftMargin): ditto
5292         (rightMargin): ditto
5293         (rowBreakPoint): ditto
5294         (setHeightOfRow): ditto
5295         (prepareToPrint): ditto
5296
5297         * rowpainter.C (paintBackground): never ask for one past last
5298         (paintText): never ask for one past last
5299
5300         * paragraph_pimpl.C (getChar): make the assert stricter, never
5301         allow the one past last pos to be taken
5302
5303         * paragraph.C (getChar): ws changes only
5304
5305         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5306         (numberOfSeparators): ditto
5307         (numberOfHfills): ditto
5308
5309 2003-03-12  John Levon  <levon@movementarian.org>
5310
5311         * author.h:
5312         * author.C:
5313         * bufferparams.h:
5314         * bufferparams.C:
5315         * paragraph_funcs.C: fix per-buffer authorlists
5316
5317 2003-03-12  John Levon  <levon@movementarian.org>
5318
5319         * text.C: fix newline in right address
5320
5321 2003-03-12  Angus Leeming  <leeming@lyx.org>
5322
5323         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5324         duplicate those in LyXFunc::dispatch.
5325
5326         * commandtags.h:
5327         * LyXAction.C:
5328         * ToolbarDefaults.C:
5329         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5330         Add LFUN_FONTFREE_UPDATE.
5331
5332         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5333         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5334
5335         * bufferview_func.[Ch]: several new functions to facilliate
5336         transfer of data to and from the character dialog.
5337
5338 2003-03-12  John Levon  <levon@movementarian.org>
5339
5340         * buffer.C:
5341         * paragraph.h:
5342         * paragraph.C:
5343         * paragraph_funcs.C:
5344         * paragraph_pimpl.C:
5345         * sgml.C:
5346         * tabular.C:
5347         * text.C:
5348         * text3.C: remove META_NEWLINE in favour of an inset
5349
5350         * rowpainter.h:
5351         * rowpainter.C: remove paintNewline (done by inset)
5352
5353 2003-03-12  John Levon  <levon@movementarian.org>
5354
5355         * paragraph_pimpl.C: complain about bad getChar()s
5356         for a while at least
5357
5358 2003-03-12  John Levon  <levon@movementarian.org>
5359
5360         * buffer.h:
5361         * buffer.C: move paragraph read into a separate function,
5362         a little renaming to reflect that.
5363
5364         * bufferparams.h:
5365         * bufferparams.C: remove the author_ids map, not necessary now
5366
5367         * factory.h:
5368         * factory.C: moved Buffer::readInset to here
5369
5370         * paragraph_funcs.h:
5371         * paragraph_funcs.C: readParagraph free function moved from
5372         buffer.C
5373
5374         * tabular.C: name change
5375
5376 2003-03-12  John Levon  <levon@movementarian.org>
5377
5378         * buffer.C:
5379         * ParagraphParameters.C: move par params input to
5380         a read() method
5381
5382         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5383         behave like a normal read from the stream wrt reading
5384         a line vs. a \\token
5385
5386 2003-03-12  John Levon  <levon@movementarian.org>
5387
5388         * paragraph.C:
5389         * ParagraphParameters.h:
5390         * ParagraphParameters.C: move output code to a
5391         ::write() method
5392
5393 2003-03-12  John Levon  <levon@movementarian.org>
5394
5395         * BufferView.C (insertLyXFile):
5396         * buffer.h:
5397         * buffer.C:
5398         * tabular.C: use a parlist iterator for creating the
5399           document.
5400
5401 2003-03-12  John Levon  <levon@movementarian.org>
5402
5403         * buffer.C: make current_change static local not
5404           static file-scope
5405
5406 2003-03-12  John Levon  <levon@movementarian.org>
5407
5408         * buffer.C: fix insertStringAsLines for change tracking
5409
5410 2003-03-12  John Levon  <levon@movementarian.org>
5411
5412         * BufferView.C:
5413         * tabular.C:
5414         * buffer.h:
5415         * buffer.C:
5416         * bufferparams.h:
5417         * bufferparams.C: move author list into params. Rename some
5418           functions. Move the header reading into a separate token
5419           loop. Move the header token reading into BufferParams.
5420
5421 2003-03-12  John Levon  <levon@movementarian.org>
5422
5423         * changes.C: put debug inside lyxerr.debugging() checks
5424
5425 2003-03-11 André Pönitz <poenitz@gmx.net>
5426
5427         * factory.C: make it aware of InsetHFill
5428
5429 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5430
5431         * buffer.C (latexParagraphs): move function from here...
5432         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5433         args.
5434
5435 2003-03-10  Angus Leeming  <leeming@lyx.org>
5436
5437         * LyXAction.C (init): fix bug in poplating array with multiple entries
5438         with the same LFUN (spotted by JMarc).
5439
5440 2003-03-10  John Levon  <levon@movementarian.org>
5441
5442         * text.C:
5443         * text2.C: move getColumnNearX() near its
5444         only call site
5445
5446 2003-03-10  John Levon  <levon@movementarian.org>
5447
5448         * text.C: fix break before a minipage
5449
5450 2003-03-10  John Levon  <levon@movementarian.org>
5451
5452         * text.C: fix the last commit
5453
5454 2003-03-09  John Levon  <levon@movementarian.org>
5455
5456         * lyxtext.h:
5457         * text.C:
5458         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5459         bug 365 (don't break before insets unless needed). Don't
5460         return a value > last under any circumstances.
5461
5462 2003-03-09  Angus Leeming  <leeming@lyx.org>
5463
5464         * BufferView_pimpl.C (trackChanges, dispatch): call
5465         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5466
5467 2003-03-09  Angus Leeming  <leeming@lyx.org>
5468
5469         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5470         than Dialogs::showAboutlyx().
5471
5472 2003-03-09  Angus Leeming  <leeming@lyx.org>
5473
5474         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5475         than Dialogs::showTabularCreate().
5476
5477 2003-03-09  John Levon  <levon@movementarian.org>
5478
5479         * lyxtext.h:
5480         * text.C:
5481         * text2.C: 3rd arg to nextBreakPoint was always the same.
5482           Use references.
5483
5484 2003-03-08  John Levon  <levon@movementarian.org>
5485
5486         * lyxrow.C:
5487         * paragraph.C:
5488         * paragraph.h:
5489         * rowpainter.C:
5490         * text.C:
5491         * text2.C: Remove the "main" bit from the "main body"
5492           notion.
5493
5494 2003-03-08  John Levon  <levon@movementarian.org>
5495
5496         * text.C (leftMargin): The left margin of an empty
5497         manual label paragraph should not include the label width
5498         string length.
5499
5500         * text.C (prepareToPrint): don't attempt to measure hfills
5501         for empty manual label paragraphs - the answer should be 0
5502
5503 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5504
5505         * CutAndPaste.C: remove commented code and reindent.
5506
5507 2003-03-08  John Levon  <levon@movementarian.org>
5508
5509         * lyxfunc.h:
5510         * lyxfunc.C: move reloadBuffer()
5511
5512         * BufferView.h:
5513         * BufferView.C: to here
5514
5515         * lyxvc.C: add comment
5516
5517         * vc-backend.h:
5518         * vc-backend.C: call bv->reload() to avoid
5519           getStatus() check on MENURELOAD
5520
5521 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5522
5523         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5524         to an old format .dep file.
5525
5526 2003-03-07  Angus Leeming  <leeming@lyx.org>
5527
5528         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5529         when the LFUN_MOUSE_RELEASE should have been handled by
5530         inset->localDispatch.
5531
5532 2003-03-07  Angus Leeming  <leeming@lyx.org>
5533
5534         * BufferView_pimpl.C (dispatch):
5535         * LyXAction.C (init):
5536         * ToolbarDefaults.C (init):
5537         * commandtags.h:
5538         * lyxfunc.C (getStatus):
5539         remove LFUN_INSET_GRAPHICS.
5540
5541         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5542
5543 2003-03-07  Angus Leeming  <leeming@lyx.org>
5544
5545         * commandtags.h:
5546         * LyXAction.C (init):
5547         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5548
5549         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5550
5551         * commandtags.h:
5552         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5553
5554         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5555         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5556
5557 2003-03-07  Angus Leeming  <leeming@lyx.org>
5558
5559         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5560         remove "ert".
5561
5562 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5563
5564         * ParagraphList.C (front): new function
5565         (back): implement
5566
5567 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5568
5569         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5570         and top_row_offset_. removed var first_y.
5571         * text.C (top_y):
5572         * text2.C (LyXText, removeRow):
5573         * text3.C:
5574         * BufferView_pimpl.C:
5575         use these methods instead of using first_y
5576
5577 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5578
5579         * text2.C (pasteSelection): adjust for checkPastePossible
5580
5581         * CutAndPaste.C: remove Paragraph * buf and replace with
5582         ParagraphList paragraphs.
5583         (DeleteBuffer): delete
5584         (cutSelection): change the tc type to textclass_type
5585         (copySelection): change the tc type to textclass_type
5586         (copySelection): adjust for ParagraphList
5587         (pasteSelection): change the tc type to textclass_type
5588         (pasteSelection): adjust for Paragraphlist
5589         (nrOfParagraphs): simplify for ParagraphList
5590         (checkPastePossible): simplify for ParagraphList
5591         (checkPastePossible): remove unused arg
5592
5593         * ParagraphList.C (insert): handle the case where there are no
5594         paragraphs yet.
5595
5596         * CutAndPaste.h: make CutAndPaste a namespace.
5597
5598         * text3.C (dispatch): adjust
5599
5600         * text.C (breakParagraph): add a ParagraphList as arg
5601
5602         * paragraph_funcs.C (breakParagraph): change to take a
5603         BufferParams and a ParagraphList as args.
5604         (breakParagraphConservative): ditto
5605         (mergeParagraph): ditto
5606         (TeXDeeper): add a ParagraphList arg
5607         (TeXEnvironment): ditto
5608         (TeXOnePar): ditto
5609
5610         * buffer.C (readLyXformat2): adjust
5611         (insertStringAsLines): adjust
5612         (latexParagraphs): adjust
5613
5614         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5615         (cutSelection): adjust
5616         (pasteSelection): adjust
5617
5618         * BufferView_pimpl.C (insertInset): adjust
5619
5620 2003-03-05  Angus Leeming  <leeming@lyx.org>
5621
5622         * commandtags.h:
5623         * LyXAction.C (init):
5624         * BufferView_pimpl.C (dispatch):
5625         * lyxfunc.C (getStatus):
5626         remove LFUN_CHILD_INSERT.
5627
5628         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5629
5630 2003-03-05  Angus Leeming  <leeming@lyx.org>
5631
5632         * commandtags.h:
5633         * LyXAction.C (init):
5634         * src/factory.C (createInset):
5635         * lyxfunc.C (getStatus):
5636         * text3.C (dispatch):
5637         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5638
5639         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5640
5641 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5642
5643         * ParagraphList.C (insert): handle insert right before end()
5644         (erase): fix cases where it can be first or last paragraph.
5645
5646 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5647
5648         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5649         Paragraph::next and Paragraph::previous
5650         (TeXOnePar): ditto
5651
5652         * text.C (breakParagraph): adjust
5653
5654         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5655         BufferParams& as arg.
5656         (breakParagraph): use ParagraphList::insert
5657         (breakParagraphConservative): take a Buffer* instead of a
5658         BufferParams& as arg.
5659         (breakParagraphConservative): use ParagraphList::insert.
5660
5661         * buffer.C (insertStringAsLines): un-const it
5662         (insertStringAsLines): adjust
5663
5664         * ParagraphList.C (insert): new function
5665
5666         * CutAndPaste.C (pasteSelection): adjust
5667
5668         * text.C (backspace): adjust
5669
5670         * tabular.C (SetMultiColumn): adjust
5671
5672         * CutAndPaste.C (cutSelection): adjust
5673         (pasteSelection): adjust
5674
5675         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5676         Buffer const * as arg
5677
5678         * ParagraphList.C (erase): new function
5679         * paragraph_funcs.C (mergeParagraph): use it
5680         (mergeParagraph): make it take a Buffer* instead of a
5681         BufferParams* as arg
5682
5683         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5684         as arg
5685         (breakParagraphConservative): ditto
5686
5687         * paragraph.h: remove the breakParagraph friend
5688
5689         * paragraph.C (eraseIntern): new function
5690         (setChange): new function
5691
5692         * paragraph_funcs.C (mergeParagraph): make it take a
5693         ParagraphList::iterator instead of a Paragraph *, adjust
5694         accordingly.
5695
5696         * paragraph.h: move an #endif so that the change tracking stuff
5697         also works in the NO_NEXT case.
5698
5699 2003-03-04  Angus Leeming  <leeming@lyx.org>
5700
5701         * commandtags.h:
5702         * LyXAction.C: new LFUN_INSET_MODIFY.
5703
5704         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5705         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5706
5707 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5708
5709         * several files: ws changes only
5710
5711         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5712         (TeXEnvironment): ditto
5713         (TeXDeeper): ditto
5714
5715         * buffer.C (makeLaTeXFile): adjust
5716         (latexParagraphs): make it take ParagraphList::iterator as args
5717
5718 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5719
5720         * buffer.C (latexParagraphs): adjust
5721
5722         * paragraph.C (TeXOnePar): move function...
5723         (optArgInset): move function...
5724         (TeXEnvironment): move function...
5725         * paragraph_pimpl.C (TeXDeeper): move function...
5726         * paragraph_funcs.C: ...here
5727
5728         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5729
5730 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5731
5732         * buffer.C (readInset): remove compability code for old Figure and
5733         InsetInfo insets
5734
5735 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5736
5737         * buffer.C: ws changes
5738         (readInset):
5739
5740         * BufferView_pimpl.C: ditto
5741         * author.C: ditto
5742         * buffer.h: ditto
5743         * bufferlist.h: ditto
5744         * changes.h: ditto
5745         * lyxfunc.C: ditto
5746
5747 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5748
5749         * converter.[Ch]: split into itself +
5750         * graph.[Ch]
5751         * format.[Ch]
5752         * Makefile.am: += graph.[Ch] + format.[Ch]
5753         * MenuBackend.C
5754         * buffer.C
5755         * exporter.C
5756         * importer.C
5757         * lyx_main.C
5758         * lyxfunc.C
5759         * lyxrc.C: added #include "format.h"
5760
5761 2003-02-27  Angus Leeming  <leeming@lyx.org>
5762
5763         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5764           a label.
5765
5766         * factory.C (createInset): add "label" to the factory.
5767
5768         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5769           string and do no more.
5770
5771 2003-02-27  Angus Leeming  <leeming@lyx.org>
5772
5773         * commandtags.h:
5774         * LyXAction.C (init):
5775         * factory.C (createInset):
5776         * BufferView_pimpl.C (dispatch):
5777           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5778
5779         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5780
5781         * lyxfunc.C (dispatch):
5782         * text3.C (dispatch): pass name to params2string.
5783
5784 2003-02-26  Angus Leeming  <leeming@lyx.org>
5785
5786         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5787           blocks together.
5788           Rearrange the ~includes. Strip out the unnecessary ones.
5789
5790         * factory.C (createInset): reformat.
5791           create new insets for the various LFUN_XYZ_APPLY lfuns.
5792
5793 2003-02-26  John Levon  <levon@movementarian.org>
5794
5795         * lyxrow.h:
5796         * lyxrow.C: add isParStart,isParEnd helpers
5797
5798         * paragraph.h: make isInserted/DeletedText take refs
5799
5800         * paragraph_funcs.h:
5801         * paragraph_funcs.C: remove #if 0'd code
5802
5803         * lyxtext.h:
5804         * text3.C:
5805         * text2.C:
5806         * text.C: use lyxrow helpers above.
5807           Move draw and paint routines to RowPainter.
5808           Make several methods use refs not pointers.
5809           Make backgroundColor() const.
5810           Add markChangeInDraw(), isInInset().
5811           Merge changeRegionCase into changeCase.
5812           Make workWidth() shouldn't-happen code into an Assert.
5813
5814         * rowpainter.h:
5815         * rowpainter.C: new class for painting a row.
5816
5817         * vspace.h:
5818         * vspace.C: make inPixels take a ref
5819
5820 2003-02-26  Angus Leeming  <leeming@lyx.org>
5821
5822         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5823         LFUN_REF_APPLY.
5824
5825 2003-02-25  John Levon  <levon@movementarian.org>
5826
5827         * ispell.C: give the forked command a more accurate name
5828
5829 2003-02-22  John Levon  <levon@movementarian.org>
5830
5831         * toc.h:
5832         * toc.C: make TocItem store an id not a Paragraph *
5833           (bug #913)
5834
5835 2003-02-21  Angus Leeming  <leeming@lyx.org>
5836
5837         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5838           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5839           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5840           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5841           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5842           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5843
5844         * BufferView_pimpl.C (dispatch):
5845         * LyXAction.C (init):
5846         * factory.C (createInset):
5847         * lyxfunc.C (getStatus, dispatch):
5848         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5849
5850 2003-02-21  Angus Leeming  <leeming@lyx.org>
5851
5852         * BufferView_pimpl.C (MenuInsertLyXFile):
5853         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5854         * lyxfunc.C (menuNew, open, doImport):
5855           no longer pass a LyXView & to fileDlg.
5856
5857 2003-02-21  Angus Leeming  <leeming@lyx.org>
5858
5859         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5860         * LyXAction.C: change, BIBKEY to BIBITEM.
5861         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5862         Change InsetBibKey to InsetBibitem.
5863         Change BIBKEY_CODE to BIBITEM_CODE.
5864         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5865         * factory.C: replace insetbib.h with insetbibitem.h.
5866         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5867         * paragraph.C: replace insetbib.h with insetbibitem.h.
5868         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5869         Change bibkey() to bibitem().
5870         * text.C: remove insetbib.h.
5871         * text2.C: replace insetbib.h with insetbibitem.h.
5872         change bibkey() to bibitem().
5873         * text3.C: remove insetbib.h.
5874         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5875
5876 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5877
5878         * lyxrc.C (output): enclose user email in quotes (in case there are
5879         several words)
5880
5881 2003-02-18  John Levon  <levon@movementarian.org>
5882
5883         * buffer.h: add std::
5884
5885 2003-02-17  John Levon  <levon@movementarian.org>
5886
5887         * SpellBase.h:
5888         * ispell.h:
5889         * ispell.C:
5890         * pspell.h:
5891         * pspell.C: reworking. Especially in ispell, a large
5892           number of clean ups and bug fixes.
5893
5894         * lyxfunc.C: fix revert to behave sensibly
5895
5896 2003-02-17 André Pönitz <poenitz@gmx.net>
5897
5898         * LyXAction.C:
5899         * commandtags.h: new LFUN_INSERT_BIBKEY
5900
5901         * layout.h:
5902         * lyxlayout.C:
5903         * buffer.C:
5904         * factory.C:
5905         * text.C:
5906         * text2.C:
5907         * text3.C:
5908         * paragraph.[Ch]:
5909         * paragraph_func.C: remove special bibkey handling
5910
5911 2003-02-17  John Levon  <levon@movementarian.org>
5912
5913         * text.C (Delete): fix case where delete at the end of
5914           the very first paragraph would not merge the pars
5915
5916 2003-02-17  John Levon  <levon@movementarian.org>
5917
5918         * lyxrow.C: fix lastPrintablePos()
5919
5920 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5921
5922         * bufferparams.C (writeLaTeX): add a std:here
5923
5924         * buffer.C: and remove a using directive there
5925
5926 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5927
5928         * buffer.C (makeLaTeXFile): move the code that generates the
5929           preamble...
5930
5931         * bufferparams.C (writeLaTeX): ... in this new method
5932
5933         * LaTeXFeatures.C (getEncodingSet): make const
5934           (getLanguages): make const
5935
5936         * MenuBackend.C (binding): returns the binding associated to this
5937           action
5938           (add): sets the status of each item by calling getStatus. Adds
5939           some intelligence.
5940           (read): add support for OptSubMenu
5941           (expand): remove extra separator at the end of expanded menu
5942
5943 2003-02-15  John Levon  <levon@movementarian.org>
5944
5945         * BufferView.C:
5946         * BufferView_pimpl.C:
5947         * bufferlist.h:
5948         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5949           inset code that had no actual effect. Remove unneeded status
5950           code.
5951
5952 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5953
5954         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5955           in preamble
5956
5957 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5958
5959         * text.C (drawLengthMarker): also draw an arrow marker for
5960           symbolic lengths (medskip...)
5961
5962 2003-02-14  John Levon  <levon@movementarian.org>
5963
5964         * tabular.h:
5965         * tabular.C: better method names
5966
5967 2003-02-14  John Levon  <levon@movementarian.org>
5968
5969         * BufferView_pimpl.C:
5970         * bufferlist.C:
5971         * buffer.C:
5972         * converter.C:
5973         * lyx_cb.C:
5974         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5975           it's a more accurate name. Remove some pointless uses.
5976
5977 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5978
5979         * text2.C (LyXText): change order of initilizers to shut off
5980           warnings
5981
5982 2003-02-14  John Levon  <levon@movementarian.org>
5983
5984         * buffer.C: use ParIterator for getParFromID()
5985
5986         * paragraph.h:
5987         * paragraph.C:
5988         * paragraph_pimpl.h:
5989         * paragraph_pimpl.C: remove unused getParFromID()
5990
5991 2003-02-14  John Levon  <levon@movementarian.org>
5992
5993         * buffer.C: remove some very old #if 0'd parse code
5994
5995 2003-02-13  John Levon  <levon@movementarian.org>
5996
5997         * text.h:
5998         * text.C:
5999         * text2.C: move hfillExpansion(), numberOfSeparators(),
6000           rowLast(), rowLastPrintable(), numberofHfills(),
6001           numberOfLabelHfills() ...
6002
6003         * lyxrow.h:
6004         * lyxrow.C: ... to member functions here.
6005
6006         * paragraph.h:
6007         * paragraph.C:
6008         * lyxtext.h:
6009         * text.C: remove LyXText::beginningOfMainBody(), and call
6010           p->beginningOfMainBody() directly. Move the check for
6011           LABEL_MANUAL into the latter.
6012
6013         * text.h:
6014         * text.C:
6015         * text2.C:
6016         * vspace.C:
6017         * BufferView.h:
6018         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6019
6020         * text.h:
6021         * text.C:
6022         * text2.C:
6023         * text3.C:
6024         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6025           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6026
6027 2003-02-13  John Levon  <levon@movementarian.org>
6028
6029         * CutAndPaste.C: remove debug
6030
6031 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6032
6033         * paragraph.C (asString): remove two unused variables
6034
6035         * lyxtextclass.C (readTitleType):
6036           (Read):
6037           (LyXTextClass): handle new members titletype_ and titlename_
6038
6039         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6040
6041 2003-02-09  John Levon  <levon@movementarian.org>
6042
6043         * buffer.h:
6044         * buffer.C: replace hand-coded list with a map for the dep clean
6045
6046 2003-02-08  John Levon  <levon@movementarian.org>
6047
6048         * LaTeX.C: consolidate code into showRunMessage() helper
6049
6050 2003-02-08  John Levon  <levon@movementarian.org>
6051
6052         * lyxfind.C:
6053         * lyxtext.h:
6054         * text2.C:
6055         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6056           and pass the size in explicitly
6057
6058         * BufferView_pimpl.h:
6059         * BufferView_pimpl.C:
6060         * BufferView.h:
6061         * BufferView.C: add getCurrentChange()
6062
6063         * BufferView_pimpl.h:
6064         * BufferView_pimpl.C: handle change lfuns
6065
6066         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6067           for changes. Mark pasted paragraphs as new.
6068
6069         * support/lyxtime.h:
6070         * support/lyxtime.C:
6071         * DepTable.C: abstract time_t as lyx::time_type
6072
6073         * LColor.h:
6074         * LColor.C: add colours for new text, deleted text, changebars
6075
6076         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6077           package use "usenames" option.
6078
6079         * commandtags.h:
6080         * lyxfunc.C:
6081         * LyXAction.C: add change lfuns
6082
6083         * Makefile.am:
6084         * author.h:
6085         * author.C: author handling
6086
6087         * buffer.h:
6088         * buffer.C: add a per-buffer author list, with first entry as
6089           current author. Handle new .lyx tokens for change tracking. Output
6090           author list to .lyx file. Output dvipost stuff to .tex preamble.
6091           Bump lyx format to 222.
6092
6093         * bufferlist.h:
6094         * bufferlist.C: add setCurrentAuthor() to reset current author details
6095           in all buffers.
6096
6097         * bufferparams.h:
6098         * bufferparams.C: add param for tracking
6099
6100         * bufferview_funcs.C: output change info in minibuffer
6101
6102         * Makefile.am:
6103         * changes.h:
6104         * changes.C: add change-tracking structure
6105
6106         * debug.h:
6107         * debug.C: add CHANGES debug flag
6108
6109         * lyxfind.h:
6110         * lyxfind.C: add code for finding the next change piece
6111
6112         * lyxrc.h:
6113         * lyxrc.C: add user_name and user_email
6114
6115         * lyxrow.h:
6116         * lyxrow.C: add a metric for the top of the text line
6117
6118         * lyxtext.h:
6119         * text.C: implement accept/rejectChange()
6120
6121         * lyxtext.h:
6122         * text.C: paint changebars. Paint new/deleted text in the chosen
6123         colours. Strike through deleted text.
6124
6125         * paragraph.h:
6126         * paragraph.C:
6127         * paragraph_pimpl.h:
6128         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6129           in the current change to the insert functions. Rework erase to
6130           mark text as deleted, adding an eraseIntern() and a range-based
6131           erase(). Implement per-paragraph change lookup and
6132           accept/reject.
6133
6134         * paragraph_funcs.C: Fixup paste for change tracking.
6135
6136         * tabular.C: mark added row/columns as new.
6137
6138         * text.C: fix rowLast() to never return -1. Don't allow
6139           spellchecking of deleted text. Track transpose changes. Don't
6140           allow paragraph break or merge where appropriate.
6141
6142         * text2.C: leave cursor at end of selection after a cut.
6143
6144 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6145
6146         * text.C (getLengthMarkerHeight):
6147         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6148         visible on screen too.
6149
6150 2003-02-07  John Levon  <levon@movementarian.org>
6151
6152         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6153
6154 2003-02-05  Angus Leeming  <leeming@lyx.org>
6155
6156         * lyxserver.C (read_ready): revert my patch of 11 September last year
6157         as it sends PC cpu through the roof. Presumably this means that
6158         the lyxserver will no longer run on an Alpha...
6159
6160 2003-01-30  Angus Leeming  <leeming@lyx.org>
6161
6162         * factory.C (createInset): create an InsetCommandParam of type "index"
6163         and use it to 'do the right thing'.
6164
6165         * text2.C (getStringToIndex): ensure that cursor position is always
6166         reset to the reset_cursor position.
6167
6168 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6169
6170         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6171         disabled.
6172
6173 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6174
6175         * bufferview.C:
6176         * lyxcb.C:
6177         * lyxfunc.C: Output messages with identical spelling, punctuation,
6178         and spaces
6179
6180 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6181
6182         * MenuBackend.C (expandFormats): List only viewable export formats
6183         in "View" menu
6184
6185         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6186         message
6187
6188         * lyxfunc.C (getStatus): Make sure that formats other than
6189         "fax" can also be disabled
6190
6191 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6192
6193         * text3.C (dispatch): put the lfuns that insert insets in 3
6194         groups, and call doInsertInset with appropriate arguments.
6195         (doInsertInset): new function, that creates an inset and inserts
6196         it according to some boolean parameters.
6197
6198 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6199
6200         * buffer.C (readFile): remember to pass on 'par' when calling
6201         readFile recursively.
6202
6203 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6204
6205         * MenuBackend.C (expandFormats): add "..." to import formats.
6206
6207 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6208
6209         * paragraph.C (asString): Remove XForms RTL hacks.
6210
6211 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6212         * buffer.C: fix typo
6213
6214 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6215
6216         * Makefile.am (LIBS): delete var
6217         (lyx_LDADD): add @LIBS@ here instead.
6218
6219 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6220
6221         * Clarify the meaning of "wheel mouse jump"
6222
6223 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6224
6225         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6226         tabular in a float
6227
6228 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6229
6230         * importer.C (Loaders): do not preallocate 3 elements in the
6231         vector, since one ends up with 6 elements otherwise
6232
6233 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6234
6235         * DepTable.C (write): write the file name as last element of the
6236         .dep file (because it may contain spaces)
6237         (read): read info in the right order
6238
6239 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6240
6241         * paragraph_pimpl.C (simpleTeXBlanks):
6242         (simpleTeXSpecialChars):
6243         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6244
6245         * tabular.C (latex): add some missing case statements. Reindent.
6246
6247         * MenuBackend.C (expandToc): remove unused variable.
6248
6249 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6250
6251         * LColor.C:
6252         * LaTeX.C:
6253         * LyXAction.C:
6254         * MenuBackend.C:
6255         * buffer.C:
6256         * exporter.C:
6257         * lyxfunc.C:
6258         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6259         and the like.
6260
6261 2003-01-05  John Levon  <levon@movementarian.org>
6262
6263         * BufferView.h:
6264         * BufferView.C: add getEncoding()
6265
6266         * kbsequence.h:
6267         * kbsequence.C: do not store last keypress
6268
6269         * lyxfunc.h:
6270         * lyxfunc.C: store last keypress here instead. Pass encoding
6271           to getISOEncoded()
6272
6273 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6274
6275         * lyx_main.C (init): remove annoying error message when following
6276         symbolic links (bug #780)
6277
6278 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6279
6280         * text.C (insertChar):
6281         * lyxrc.C (getDescription): remove extra spaces
6282
6283 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6284
6285         * lyxrc.C (getDescription): remove extra spaces
6286
6287 2002-12-20  John Levon  <levon@movementarian.org>
6288
6289         * text3.C: hack fix for page up/down across tall rows
6290
6291 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6292
6293         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6294         not been invoked
6295
6296 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6297
6298         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6299         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6300         thesaurus is not compiled in
6301
6302 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6303
6304         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6305
6306 2002-12-16  Angus Leeming  <leeming@lyx.org>
6307
6308         * lyxrc.[Ch]:
6309         * lyx_main.C (init): remove override_x_deadkeys stuff.
6310
6311 2002-12-12  John Levon  <levon@movementarian.org>
6312
6313         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6314           insert. Only remove shift modifier under strict
6315           circumstances.
6316
6317 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6318
6319         * MenuBackend.C (expandToc): fix crash.
6320
6321 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6322
6323         * MenuBackend.C (expandToc): gettext on float names.
6324
6325 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6326
6327         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6328         implement bool empty() [bug 490]
6329
6330 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6331
6332         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6333
6334 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6335
6336         * several files: ws changes
6337
6338 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6339
6340         * text2.C (setCounter): clean up a bit, use boost.format.
6341         (updateCounters): initialize par upon declaration.
6342
6343         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6344         if the layout exists. We do not just store the layout any more.
6345         (SwitchLayoutsBetweenClasses): use boost.format
6346
6347 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6348
6349         * converter.C (convert): if from and to files are the same, use a
6350         temporary files as intermediary
6351
6352 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6353
6354         * commandtags.h:
6355         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6356
6357 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6358
6359         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6360
6361 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6362
6363         * tabular.C (asciiPrintCell): use string(size, char) instead of
6364         explicit loop.
6365
6366         * sgml.C (openTag): fix order of arguments to string constructor
6367         (closeTag): ditto
6368
6369         * lyxfunc.C (dispatch): use boost.format
6370
6371         * lots of files: change "c" -> 'c'
6372
6373 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6374
6375         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6376
6377 2002-11-25  Angus Leeming  <leeming@lyx.org>
6378
6379         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6380
6381         * lyx_main.C (init): compile fix.
6382
6383 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6384
6385         * lyx_cb.C (start): boost.formatify
6386         do not include <iostream>
6387
6388         * lengthcommon.C: ws only
6389
6390         * boost-inst.C,BoostFormat.h: add more explict instantations
6391
6392 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6393
6394         * lots of files: handle USE_BOOST_FORMAT
6395
6396 2002-11-21  John Levon  <levon@movementarian.org>
6397
6398         * pspell.C: fix compile
6399
6400 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6401
6402         * lyxfunc.C (dispatch): use boost::format
6403         (open): ditto
6404         (doImport): ditto
6405
6406         * lyxfont.C (stateText): use boost::format
6407
6408         * lyx_main.C (LyX): use boost::format
6409         (init): ditto
6410         (queryUserLyXDir): ditto
6411         (readRcFile): ditto
6412         (parse_dbg): ditto
6413         (typedef boost::function): use the recommened syntax.
6414
6415         * importer.C (Import): use boost::format
6416
6417         * debug.C (showLevel): use boost::format
6418
6419         * converter.C (view): use boost::format
6420         (convert): ditto
6421         (move): ditto
6422         (scanLog): ditto
6423
6424         * bufferview_funcs.C (currentState): use boost::format
6425
6426         * bufferlist.C (emergencyWrite): use boost::format
6427
6428         * buffer.C (readLyXformat2): use boost::format
6429         (parseSingleLyXformat2Token): ditto
6430
6431         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6432
6433         * LaTeX.C (run): use boost::format
6434
6435         * Chktex.C (scanLogFile): use boost::format
6436
6437         * BufferView_pimpl.C (savePosition): use boost::format
6438         (restorePosition): ditto
6439         (MenuInsertLyXFile): ditto
6440
6441         * BoostFormat.h: help file for explicit instation.
6442
6443 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6444
6445         * tabular.C (latex): Support for block alignment in fixed width
6446         columns.
6447
6448 2002-11-17  John Levon  <levon@movementarian.org>
6449
6450         * BufferView_pimpl.C:
6451         * lyx_cb.C:
6452         * lyxfunc.C: split filedialog into open/save
6453
6454 2002-11-08  Juergen Vigna  <jug@sad.it>
6455
6456         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6457         by my last patch (hopefully).
6458
6459 2002-11-08  John Levon  <levon@movementarian.org>
6460
6461         * iterators.h:
6462         * iterators.C:
6463         * buffer.h:
6464         * buffer.C:
6465         * paragraph.h:
6466         * paragraph.C:
6467         * toc.h:
6468         * toc.C: ParConstIterator, and use it (from Lars)
6469
6470 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6471
6472         * lyxtextclass.[Ch]: revise and add doxygen comments
6473
6474 2002-11-07  John Levon  <levon@movementarian.org>
6475
6476         * text.C: fix progress value for spellchecker
6477
6478         * toc.C: fix navigate menu for insetwrap inside minipage
6479
6480         * paragraph_funcs.C: added FIXME for suspect code
6481
6482 2002-11-07  John Levon  <levon@movementarian.org>
6483
6484         * BufferView_pimpl.C: fix redrawing of insets
6485           on buffer switch
6486
6487 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6488
6489         * text2.C (updateCounters): fix bug 668
6490
6491 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6492
6493         * text3.C (dispatch): Do not make the buffer dirty when moving the
6494         cursor.
6495
6496 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6497
6498         * vc-backend.C: STRCONV
6499         (scanMaster): ditto
6500
6501         * text2.C (setCounter): STRCONV
6502
6503         * paragraph.C (asString): STRCONV
6504
6505         * lyxlength.C (asString): STRCONV
6506         (asLatexString): ditto
6507
6508         * lyxgluelength.C (asString): STRCONV
6509         (asLatexString): ditto
6510
6511         * lyxfunc.C (dispatch): STRCONV
6512         (open): ditto
6513
6514         * lyxfont.C (stateText): STRCONV
6515
6516         * importer.C (Import): STRCONV
6517
6518         * counters.C (labelItem): STRCONV
6519         (numberLabel): ditto
6520         (numberLabel): remove unused ostringstream o
6521
6522         * chset.C: STRCONV
6523         (loadFile): ditto
6524
6525         * bufferview_funcs.C (currentState): STRCONV
6526
6527         * buffer.C (readFile): STRCONV
6528         (asciiParagraph): ditto
6529         (makeLaTeXFile): ditto
6530
6531         * Spacing.C (writeEnvirBegin): STRCONV
6532
6533         * LaTeXFeatures.C (getLanguages): STRCONV
6534         (getPackages): ditto
6535         (getMacros): ditto
6536         (getBabelOptions): ditto
6537         (getTClassPreamble): ditto
6538         (getLyXSGMLEntities): ditto
6539         (getIncludedFiles): ditto
6540
6541         * LaTeX.C: STRCONV
6542         (run): ditto
6543         (scanAuxFile): ditto
6544         (deplog): ditto
6545
6546         * LString.h: add the STRCONV macros
6547
6548         * BufferView_pimpl.C (savePosition): STRCONV
6549         (restorePosition): ditto
6550         (MenuInsertLyXFile): ditto
6551
6552         * vc-backend.C (scanMaster): change from submatch[...] to
6553         submatch.str(...)
6554
6555         * funcrequest.C: include config.h
6556
6557         * factory.C: include config.h
6558
6559         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6560
6561         * box.C: include config.h
6562
6563         * LaTeX.C (scanAuxFile): change from submatch[...] to
6564         submatch.str(...)
6565         (deplog): ditto
6566
6567 2002-10-25  Angus Leeming  <leeming@lyx.org>
6568
6569         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6570
6571         * ispell.[Ch] (setError): new method.
6572         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6573         Use setError() insetead of goto END.
6574
6575         * lyx_cb.C (AutoSave): move out child process into new class
6576         AutoSaveBuffer.
6577
6578 2002-10-30  John Levon  <levon@movementarian.org>
6579
6580         * text3.C: make start appendix undoable
6581
6582 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6583
6584         * lyxlength.C (inPixels): Fix returned value.
6585
6586         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6587         environment.
6588
6589 2002-10-24  Angus Leeming  <leeming@lyx.org>
6590
6591         * lyxgluelength.h: no need to forward declare BufferParams
6592         or BufferView, so don't.
6593
6594 2002-10-21  John Levon  <levon@movementarian.org>
6595
6596         * BufferView.C: menuUndo ->undo, redo
6597
6598         * BufferView.h: document, remove dead, make some methods private
6599
6600         * paragraph_funcs.h:
6601         * paragraph_funcs.C:
6602         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6603
6604         * buffer.h:
6605         * buffer.C:
6606         * sgml.h:
6607         * sgml.C: move sgml open/close tag into sgml.C
6608
6609         * bufferview_funcs.h: unused prototype
6610
6611         * lyxfunc.h:
6612         * lyxfunc.C: remove unused
6613
6614         * lyxtext.h:
6615         * text.C: remove unused
6616
6617 2002-10-21  John Levon  <levon@movementarian.org>
6618
6619         * BufferView.h:
6620         * BufferView.C:
6621         * BufferView_pimpl.h:
6622         * BufferView_pimpl.C: fix mouse wheel handling based on
6623           patch from Darren Freeman
6624
6625 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6626
6627         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6628
6629 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6630
6631         * lyxlength.C (inPixels): Fix hanfling of negative length.
6632         Fix LyXLength::MU case.
6633
6634 2002-10-16  John Levon  <levon@movementarian.org>
6635
6636         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6637
6638 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6639
6640         * converter.C (view): add support for $$i (file name) and $$p
6641         (file path) for the viewer command. If $$i is not specified, then
6642         it is appended to the command (for compatibility with old syntax)
6643
6644 2002-10-14  Juergen Vigna  <jug@sad.it>
6645
6646         * undo_funcs.C (textHandleUndo): alter the order in which the
6647         new undopar is added to the LyXText, as we have to set first
6648         the right prev/next and then add it as otherwise the rebuild of
6649         LyXText is not correct. Also reset the cursor to the right paragraph,
6650         with this IMO we could remove the hack in "redoParagraphs()".
6651
6652 2002-10-09  Angus Leeming  <leeming@lyx.org>
6653
6654         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6655         to turn off an optimisation if a new inset is to be inserted.
6656
6657 2002-10-11 André Pönitz <poenitz@gmx.net>
6658
6659         * lyxtext.h: make some functions public to allow access
6660         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6661
6662 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6663
6664         * text3.C (dispatch): when changing layout, avoid an infinite loop
6665         [bug #652]
6666
6667 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6668
6669         * lyxrc.C (read): treat a viewer or converter command of "none" as
6670         if it were empty.
6671
6672         * MenuBackend.C (expandFormats): for an update, also allow the
6673         formats that are not viewable
6674
6675         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6676         script if it is newer than the lyxrc.defaults in user directory
6677
6678 2002-10-07 André Pönitz <poenitz@gmx.net>
6679
6680         * text.C: Vitaly Lipatov's small i18n fix
6681
6682 2002-09-25  Angus Leeming  <leeming@lyx.org>
6683
6684         * ispell.h: doxygen fix.
6685
6686 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6687
6688         * buffer.h (readFile): Add a new argument to the method, to allow
6689         reading of old-format templates.
6690
6691 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6692
6693         * toc.C (getTocList): Get TOC from InsetWrap.
6694
6695 2002-09-16  John Levon  <levon@movementarian.org>
6696
6697         * lyxfunc.C: check tabular for cut/copy too
6698
6699 2002-09-12  John Levon  <levon@movementarian.org>
6700
6701         * LyXAction.C: tidy
6702
6703         * factory.h:
6704         * factory.C: add header
6705
6706         * paragraph_funcs.h:
6707         * paragraph_funcs.C: cleanup
6708
6709 2002-09-11  John Levon  <levon@movementarian.org>
6710
6711         * PrinterParams.h: odd/even default to true
6712
6713 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6714
6715         * PrinterParams.h: update printer parameters for new xforms dialog
6716
6717 2002-09-11  Angus Leeming  <leeming@lyx.org>
6718
6719         * lyxserver.C (read_ready): re-write to make it more transparent
6720         and to make it work in coherent fashion under Tru64 Unix.
6721
6722 2002-09-11  André Pönitz <poenitz@gmx.net>
6723
6724         * commandtags.h:
6725         * LyXAction.C:
6726         * text3.C: implement LFUN_WORDSEL
6727
6728 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6729
6730         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6731         make floatlist_ a boost::shared_ptr<FloatList>
6732
6733         * lyxtextclass.C: include FloatList.h
6734         (LyXTextClass): initialize floatlist_
6735         (TextClassTags): add TC_NOFLOAT
6736         (Read): match "nofloat" to TC_NOFLOAT and use it.
6737         (readFloat): modify call to floatlist_
6738         (floats): ditto
6739         (floats): ditto
6740
6741         * FloatList.[Ch] (FloatList): remove commented out float
6742         initialization.
6743         (erase): new function
6744
6745 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6746
6747         * MenuBackend.C (expandToc): fix crash when there is no document
6748         open
6749
6750 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6751
6752         * many files: Add insetwrap.
6753
6754 2002-09-09  John Levon  <levon@movementarian.org>
6755
6756         * text2.C: remove confusing and awkward depth wraparound
6757
6758 2002-09-09  John Levon  <levon@movementarian.org>
6759
6760         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6761
6762         * buffer.h:
6763         * buffer.C: remove getIncludeonlyList()
6764
6765         * paragraph.C:
6766         * lyxfunc.C: remove headers
6767
6768 2002-09-09  Juergen Vigna  <jug@sad.it>
6769
6770         * text.C (getColumnNearX): fix form Michael this is most
6771         probably a cut&paste bug.
6772
6773 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6774
6775         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6776
6777         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6778         references, ws changes.
6779
6780         * text2.C (init): update counters after init
6781         (insertParagraph): no need to set counter on idividual paragraphs.
6782         (setCounter): access the counters object in the textclass object
6783         on in the buffer object.
6784         (updateCounters): ditto
6785
6786         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6787         shared_ptr<Counters> to avoid loading counters.h in all
6788         compilation units.
6789         (LyXTextClass): initialize ctrs_
6790         (TextClassTags): add TC_COUNTER, and ...
6791         (Read): use it here.
6792         (CounterTags): new tags
6793         (readCounter): new function
6794         (counters): new funtion
6795         (defaultLayoutName): return a const reference
6796
6797         * counters.C (Counters): remove contructor
6798         (newCounter): remove a couple of unneeded statements.
6799         (newCounter): simplify a bit.
6800         (numberLabel): some small formatting changes.
6801
6802         * buffer.[Ch]: remove all traces of counters, move the Counters
6803         object to the LyXTextClass.
6804
6805 2002-09-06  Alain Castera  <castera@in2p3.fr>
6806
6807         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6808         package to set the horizontal alignment on fixed width columns.
6809
6810         * lyx_sty.C:
6811         * lyx_sty.h: added tabularnewline macro def.
6812
6813         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6814
6815 2002-09-06  John Levon  <levon@movementarian.org>
6816
6817         * LyXAction.C: tooltips for sub/superscript
6818
6819         * MenuBackend.C: a bit more verbose
6820
6821         * lyxfunc.C: tiny clean
6822
6823         * undo_funcs.C: document undo_frozen
6824
6825 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6826
6827         * counters.C (Counters): add missing algorithm counter.
6828
6829         * text2.C (setCounter): lookup the counter with layouts latexname
6830         instead of by section number.
6831         (setCounter): use a hackish way to lookup the correct enum
6832         counter.
6833         a float name->type change
6834         reset enum couners with counter name directly instead of depth value.
6835
6836         * counters.C (Counters): remove the push_backs, change to use the
6837         float type not the float name.
6838         (labelItem): remove unused string, float name->type change
6839
6840         * counters.h: don't include vector, loose the enums and sects vectors
6841
6842 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6843
6844         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6845         (Read): add float->TC_FLOAT to textclassTags
6846         (Read): and handle it in the switch
6847         (readFloat): new function
6848
6849         * FloatList.C (FloatList): comment out the hardcoded float
6850         definitions.
6851
6852         * lyxlayout.h: ws change.
6853
6854 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6855
6856         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6857
6858 2002-09-03  Angus Leeming  <leeming@lyx.org>
6859
6860         * BufferView_pimpl.h: qualified name is not allowed in member
6861         declaration: WorkArea & Pimpl::workarea() const;
6862
6863         * factory.C: added using std::endl directive.
6864
6865         * text3.C: added using std::find and std::vector directives.
6866
6867 2002-08-29  André Pönitz <poenitz@gmx.net>
6868
6869         * lyxtext.h:
6870         * text2.C: remove unused member number_of_rows
6871
6872         * Makefile.am:
6873         * BufferView2.C: remove file, move contents to...
6874         * BufferView.C: ... here
6875
6876         * BufferView_pimpl.C:
6877         * factory.C: move more inset creation to factory
6878
6879         * vspace.C: avoid direct usage of LyXText, ws changes
6880
6881         * BufferView.[Ch]:
6882                 don't provide direct access to WorkArea, use two simple
6883                 acessors haveSelction() and workHeight() instead
6884
6885
6886 2002-08-29  John Levon  <levon@movementarian.org>
6887
6888         * BufferView_pimpl.C (dispatch): do not continue when
6889           no buffer
6890
6891 2002-08-28  André Pönitz <poenitz@gmx.net>
6892
6893         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6894
6895         * BufferView.h:
6896         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6897
6898 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6899
6900         * buffer.C: increment LYX_FORMAT to 221
6901
6902         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6903         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6904
6905         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6906
6907         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6908
6909 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6910
6911         * factory.C (createInset): use LyXTextClass::floats
6912
6913         * MenuBackend.C (expandFloatListInsert):
6914         (expandFloatInsert):
6915         (expandToc):
6916
6917         * text2.C (setCounter):
6918
6919         * LaTeXFeatures.C (useFloat):
6920         (getFloatDefinitions):
6921
6922         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6923
6924         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6925         floatlist_, with accessor floats().
6926
6927         * FloatList.h: remove global FloatList
6928
6929 2002-08-26  André Pönitz <poenitz@gmx.net>
6930
6931         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6932
6933         * BufferView.h:
6934         * BufferView2.C:
6935         * BufferView_pimpl.C:
6936         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6937
6938 2002-08-25  John Levon  <levon@movementarian.org>
6939
6940         * LyXAction.C: fix margin note description
6941
6942 2002-08-24  John Levon  <levon@movementarian.org>
6943
6944         * buffer.C:
6945         * bufferlist.C:
6946         * bufferview_funcs.C:
6947         * lyxfont.C:
6948         * undo_funcs.C: cleanups
6949
6950         * lyxfunc.C: disable CUT/COPY when no selection
6951
6952 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6953
6954         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6955         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6956
6957         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6958         Add backward compatibility to "mono", "gray" and "no".
6959
6960 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6961
6962         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6963         (and file_format >= 200).
6964
6965 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6966
6967         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6968
6969 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6970
6971         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6972
6973 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6974
6975         * BufferView_pimpl.C:
6976         * LyXAction.C:
6977         * buffer.C:
6978         * commandtags.h:
6979         * lyxfunc.C:
6980         * paragraph.[Ch]:
6981         * text2.C:
6982         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6983         inset and code to make it  work with the paragraph code. The inset
6984         can be anywhere in the paragraph, but will only do the expected
6985         thing in LaTeX if the layout file contains the parameter line
6986                         OptionalArgs    1
6987         (or more generally, a nonzero value) for that layout.
6988
6989 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6990
6991         * paragraph.h: remove the declaration of undefined counters class
6992         function.
6993
6994 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6995
6996         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6997         Dr. Richard Hawkins.
6998
6999 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7000
7001         * paragraph_funcs.h: remove some unneeded includes
7002
7003         * text.C (backspace): pasteParagraph now in global scipe
7004
7005         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7006         (pasteSelection): ditto
7007
7008         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7009         * paragraph_funcs.C (pasteParagraph): ... here
7010
7011 2002-08-20  André Pönitz <poenitz@gmx.net>
7012
7013         * commandtags.h: new LFUNs for swapping/copying table row/colums
7014
7015         * LyXAction.C:
7016         * lyxfunc.C: support for new lfuns
7017
7018 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7019
7020         * tabular.C:
7021         * buffer.[Ch]: remove NO_COMPABILITY stuff
7022
7023 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7024
7025         * boost.C (throw_exception): new file, with helper function for
7026         boost compiled without exceptions.
7027
7028         * paragraph.h:
7029         * lyxlength.C:
7030         * buffer.C:
7031         * ParameterStruct.h:
7032         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7033
7034         * bufferlist.C (emergencyWriteAll): use boost bind
7035
7036         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7037
7038         * text.C: include paragraph_funcs.h
7039         (breakParagraph): breakParagraph is now in global scope
7040
7041         * paragraph_funcs.[Ch]: new files
7042
7043         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7044         global scope
7045
7046         * buffer.C: include paragraph_funcs.h
7047         (insertStringAsLines): breakParagraph is now in global scope
7048
7049         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7050         paragraph_funcs.C
7051
7052         * CutAndPaste.C: include paragraph_funcs.h
7053         (cutSelection): breakParagraphConservative is now in global scope
7054         (pasteSelection): ditto
7055
7056         * buffer.h: declare oprator== and operator!= for
7057         Buffer::inset_iterator
7058
7059         * bufferlist.C (emergencyWrite): don't use fmt(...)
7060
7061         * text3.C: add using std::endl
7062
7063         * BufferView.C (moveCursorUpdate): remove default arg
7064
7065 2002-08-20  André Pönitz <poenitz@gmx.net>
7066
7067         * buffer.[Ch]: move inline functions to .C
7068
7069         * BufferView2.C:
7070         * BufferView_pimpl.C:
7071         * text.C:
7072         * buffer.[Ch]: use improved inset_iterator
7073
7074         * buffer.C:
7075         * paragraph.[Ch]: write one paragraph at a time
7076
7077 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7078
7079         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7080         style if style is not specified.
7081
7082 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7083
7084         * text2.C (setCounter): when searching for right label for a
7085         caption, make sure to recurse to parent insets (so that a caption
7086         in a minipage in a figure float works) (bug #568)
7087
7088 2002-08-20  André Pönitz <poenitz@gmx.net>
7089
7090         * text3.C: new file for LyXText::dispatch() and helpers
7091
7092         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7093
7094         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7095
7096 2002-08-19  André Pönitz <poenitz@gmx.net>
7097
7098         * lyxtext.h:
7099         * text.C: new LyXText::dispatch()
7100
7101         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7102
7103 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7104
7105         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7106
7107         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7108         Hebrew text.
7109
7110 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7111
7112         * Makefile.am: use $(variables) instead of @substitutions@
7113
7114 2002-08-15  André Pönitz <poenitz@gmx.net>
7115
7116         * lyxfunc.C:
7117         * BufferView_pimpl.C: streamlining mathed <-> outer world
7118         interaction
7119
7120         * commandtags.h:
7121         * LyXAction.C: remove unused LFUN_MATH
7122
7123 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7124
7125         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7126
7127 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7128
7129         * paragraph.C (Paragraph): reformat a bit
7130         (cutIntoMinibuffer): use builtin InsetList function instad of
7131         doing it manually.
7132         (getInset): ditto
7133
7134         * buffer.C: include boost/bind.hpp, add using std::for_each
7135         (writeFileAscii): use ParagraphList iterators
7136         (validate): use for_each for validate traversal of paragraphs
7137         (getBibkeyList): use ParagraphList iterators
7138         (resizeInsets): use for_each to resizeInsetsLyXText for all
7139         paragraphs.
7140         (getParFromID): use ParagraphList iterators
7141
7142         * BufferView2.C (lockInset): use paragraph list and iterators
7143
7144 2002-08-14  John Levon  <levon@movementarian.org>
7145
7146         * lyxserver.C: remove spurious xforms include
7147
7148 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7149
7150         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7151
7152 2002-08-13  André Pönitz <poenitz@gmx.net>
7153
7154         * LyXAction.[Ch]:
7155         * lyxfunc.C: further cleaning
7156
7157 2002-08-13  André Pönitz <poenitz@gmx.net>
7158
7159         * funcrequest.h: new constructor
7160
7161         * funcrequest.C: move stuff here from .h
7162
7163         * Makefile.am:
7164         * BufferView_pimpl.C:
7165         * LyXAction.C:
7166         * toc.C:
7167         * lyxfunc.C: subsequent changes
7168
7169         * lyxfunc.h: new view() member function
7170
7171         * lyxfunc.C: subsequent changes
7172
7173 2002-08-13  Angus Leeming  <leeming@lyx.org>
7174
7175         * BufferView2.C:
7176         * BufferView_pimpl.C:
7177         * buffer.C:
7178         * converter.C:
7179         * importer.C:
7180         * lyxfunc.C:
7181         * lyxvc.C:
7182         * toc.C:
7183         * vc-backend.C:
7184         changes due to the changed LyXView interface that now returns references
7185         to member variables not pointers.
7186
7187 2002-08-13  Angus Leeming  <leeming@lyx.org>
7188
7189         * WordLangTuple (word, lang_code): return references to strings,
7190         not strings.
7191
7192         * BufferView.h:
7193         * SpellBase.h:
7194         * lyxtext.h: forward-declare WordLangTuple.
7195
7196         * BufferView2.C:
7197         * ispell.C:
7198         * pspell.C:
7199         * text.C: #include "WordLangTuple.h".
7200
7201         * lyxtext.h:
7202         * text.C: (selectNextWordToSpellcheck): constify return type.
7203
7204 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7205
7206         * buffer.C:
7207         * buffer.h:
7208         * lyxtext.h:
7209         * paragraph.C:
7210         * paragraph_pimpl.h:
7211         * text.C:
7212         * text2.C:
7213         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7214         suggested by Angus.
7215         Made updateCounter always count from start of buffer, and removed
7216         second argument (par).
7217         Reverted floats number display to '#'. Perhaps I'll try again when the
7218         code base is sanitized a bit.
7219
7220 2002-08-12  Angus Leeming  <leeming@lyx.org>
7221
7222         * buffer.[Ch] (getLabelList): constify.
7223
7224 2002-08-07  André Pönitz <poenitz@gmx.net>
7225
7226         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7227
7228         * funcrequest.h: extension to keep mouse (x,y) position
7229
7230 2002-08-12  Juergen Vigna  <jug@sad.it>
7231
7232         * BufferView2.C (insertErrors): forbid undo when inserting error
7233         insets.
7234
7235         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7236
7237 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7238
7239         * ParagraphList.[Ch]: new files
7240
7241         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7242
7243         * BufferView2.C (lockInset): ParagraphList changes
7244         * toc.C: ditto
7245         * text2.C: ditto
7246         * bufferlist.C: ditto
7247         * buffer.h: ditto
7248         * buffer.C: ditto
7249
7250 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7251
7252         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7253         unused class variable counter_,
7254
7255         * paragraph.[Ch] (getFirstCounter): delete unused function
7256
7257         * counters.C: include LAssert.h
7258         (reset): add a new function with no arg, change other version to
7259         not have def. arg and to not allow empty arg.
7260
7261         * text2.C (setCounter): remove empty arg from call to Counters::reset
7262
7263 2002-08-11  John Levon  <levon@movementarian.org>
7264
7265         * Makefile.am: add WordLangTuple.h
7266
7267 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7268
7269         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7270         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7271
7272         * insets/insettext.C: InsetList changes
7273
7274         * graphics/GraphicsSupport.C (operator()): InsetList changes
7275
7276         * toc.C (getTocList): InsetList changes
7277
7278         * paragraph_pimpl.[Ch]: InsetList changes
7279
7280         * paragraph.[Ch]: InsetList changes
7281
7282         * buffer.C (inset_iterator): InsetList changes
7283         (setParagraph): ditto
7284         * buffer.h (inset_iterator): ditto
7285         * iterators.C (operator++): ditto
7286         * iterators.h: ditto
7287
7288         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7289
7290         * InsetList.[Ch]: new files, most InsetList handling moved out of
7291         paragraph.C.
7292
7293         * BufferView2.C (removeAutoInsets): InsetList changes
7294         (lockInset): ditto
7295         (ChangeInsets): ditto
7296
7297 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7298
7299         * paragraph_pimpl.h (empty): new function
7300
7301         * paragraph.[Ch] (empty): new function
7302
7303         * other files: use the new Paragraph::empty function
7304
7305 2002-08-09  John Levon  <levon@movementarian.org>
7306
7307         * lyxtext.h: remove unused refresh_height
7308
7309 2002-08-09  John Levon  <levon@movementarian.org>
7310
7311         * Makefile.am:
7312         * sgml.h:
7313         * sgml.C:
7314         * buffer.C:
7315         * paragraph.h:
7316         * paragraph.C: move sgml char escaping out of paragraph
7317
7318         * paragraph.h:
7319         * paragraph.C: remove id setter
7320
7321         * buffer.C:
7322         * paragraph.C:
7323         * paragraph_pimpl.C: remove dead tex_code_break_column
7324
7325         * bufferview_funcs.C: small cleanup
7326
7327         * lyxfunc.C: remove dead proto
7328
7329         * lyxtext.h: make some stuff private. Remove some dead stuff.
7330
7331         * lyxgluelength.C: make as[LyX]String() readable
7332
7333 2002-08-08  John Levon  <levon@movementarian.org>
7334
7335         * LyXAction.h:
7336         * LyXAction.C:
7337         * MenuBackend.C:
7338         * ToolbarDefaults.C:
7339         * lyxfunc.C:
7340         * lyxrc.C:
7341         * toc.C: lyxaction cleanup
7342
7343 2002-08-08  John Levon  <levon@movementarian.org>
7344
7345         * BufferView2.C: small cleanup
7346
7347         * lyxfind.h:
7348         * lyxfind.C: move unnecessary header into the .C
7349
7350 2002-08-08  John Levon  <levon@movementarian.org>
7351
7352         * funcrequest.h: just tedious nonsense
7353
7354         * lyx_main.h:
7355         * lyx_main.C: cleanups
7356
7357         * buffer.C:
7358         * vspace.C: remove dead header lyx_main.h
7359
7360 2002-08-07  Angus Leeming  <leeming@lyx.org>
7361
7362         * Paragraph.[Ch]:
7363         * paragraph_pimpl.h:
7364         Forward declare class Counters in paragraph.h by moving the ctrs member
7365         variable into Paragraph::Pimpl.
7366         (counters): new method, returning a reference to pimpl_->ctrs.
7367
7368         * text2.C: ensuing changes.
7369
7370 2002-08-07  John Levon  <levon@movementarian.org>
7371
7372         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7373
7374         * BufferView_pimpl.C: announce X selection on double/triple
7375           click
7376
7377         * lyx_main.C: use correct bool in batch dispatch
7378
7379         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7380
7381 2002-08-07  André Pönitz <poenitz@gmx.net>
7382
7383         * funcrequest.h: new class to wrap a kb_action and its argument
7384
7385         * BufferView.[Ch]:
7386         * BufferView_pimpl[Ch]:
7387         * LaTeX.C:
7388         * LyXAction.[Ch]:
7389         * lyxfunc.[Ch]:
7390         * lyxrc.C: subsequent changes
7391
7392
7393 2002-08-07  John Levon  <levon@movementarian.org>
7394
7395         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7396           document options change.
7397
7398 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7399
7400         * counters.[Ch]
7401         * text2.C
7402         * paragraph.[Ch]
7403         * makefile.am: move counters functionality over from
7404         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7405
7406 2002-08-06  John Levon  <levon@movementarian.org>
7407
7408         * WordLangTuple.h: new file for word + language code tuple
7409
7410         * SpellBase.h:
7411         * pspell.h:
7412         * pspell.C:
7413         * ispell.h:
7414         * ispell.C:
7415         * lyxtext.h:
7416         * text.C:
7417         * text2.C:
7418         * BufferView.h:
7419         * BufferView2.C: use WordLangTuple
7420
7421         * layout.h:
7422         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7423
7424 2002-08-06  John Levon  <levon@movementarian.org>
7425
7426         * lyx_main.C: fix cmdline batch handling
7427
7428 2002-08-06  André Pönitz <poenitz@gmx.net>
7429
7430         * lyxrc.C: set default for show_banner to true
7431
7432 2002-08-06  John Levon  <levon@movementarian.org>
7433
7434         * pspell.C: fix a crash, and allow new aspell to work
7435
7436 2002-08-06  John Levon  <levon@movementarian.org>
7437
7438         * lyxfunc.C:
7439         * kbmap.C: small cleanup
7440
7441         * vspace.h:
7442         * vspace.C: add const
7443
7444 2002-08-05  John Levon  <levon@movementarian.org>
7445
7446         * LyXAction.C: back to tabular-insert
7447
7448 2002-08-04  John Levon  <levon@movementarian.org>
7449
7450         * BufferView.h:
7451         * BufferView.C: cosmetic change
7452
7453         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7454
7455         * bufferlist.C:
7456         * buffer.h:
7457         * buffer.C:
7458         * lyxcb.h:
7459         * lyxcb.C:
7460         * lyxserver.C:
7461         * lyxvc.C:
7462         * vc-backend.C:
7463         * BufferView2.C: purge all "Lyx" not "LyX" strings
7464
7465         * lyxcursor.h:
7466         * lyxcursor.C: attempt to add some documentation
7467
7468         * lyxfunc.C:
7469         * commandtags.h:
7470         * LyXAction.C:
7471         * ToolbarDefaults.C:
7472         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7473           merge with LFUN_TABULAR_INSERT
7474
7475         * Makefile.am:
7476         * SpellBase.h:
7477         * ispell.h:
7478         * ispell.C:
7479         * pspell.h:
7480         * pspell.C: split up i/pspell implementations into separate
7481           files, many cleanups
7482
7483         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7484
7485         * text2.C: some cleanup
7486
7487         * lyxfunc.C: don't check for isp_command == "none" any more, it
7488           didn't make any sense
7489
7490 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7491
7492         * counters.[Ch]
7493         * text2.C
7494         * paragraph.[Ch]
7495         * makefile.am: move counters functionality over
7496         from text2.C/paragraph.[Ch] to counters.[Ch], and
7497         make proper C++.
7498 2002-08-02  John Levon  <levon@movementarian.org>
7499
7500         * buffer.C: s/lyxconvert/lyx2lyx/
7501
7502 2002-08-02  Angus Leeming  <leeming@lyx.org>
7503
7504         * lyxlex.C: revert John's change as it breaks reading of the user
7505         preamble.
7506
7507 2002-08-02  Angus Leeming  <leeming@lyx.org>
7508
7509         * importer.C (Import):
7510         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7511         changes due to LyXView::view() now returning a boost::shared_ptr.
7512
7513 2002-08-02  John Levon  <levon@movementarian.org>
7514
7515         * lyxlex.C: small cleanup
7516
7517 2002-08-02  John Levon  <levon@movementarian.org>
7518
7519         * text2.C (status): small cleanup, no logic change
7520
7521 2002-08-01  John Levon  <levon@movementarian.org>
7522
7523         * buffer.h:
7524         * buffer.C (writeFile): don't output alerts, caller
7525           handles this
7526
7527         * bufferlist.C:
7528         * lyx_cb.C: from above
7529
7530         * lyxfunc.C: allow to open non-existent files
7531
7532 2002-07-31  John Levon  <levon@movementarian.org>
7533
7534         * lyxserver.C: don't let incidental errors get
7535           in the way (errno)
7536
7537 2002-07-30  John Levon  <levon@movementarian.org>
7538
7539         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7540
7541 2002-07-30  John Levon  <levon@movementarian.org>
7542
7543         * lyxserver.h:
7544         * lyxserver.C: remove I/O callback too
7545
7546 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7547
7548         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7549         log.
7550
7551 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7552
7553         * many files: strip,frontStrip -> trim,ltrim,rtrim
7554
7555 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7556
7557         * PrinterParams.h: remove extern containsOnly, and include
7558         support/lstrings.h instead.
7559
7560         * LaTeX.C (scanAuxFile): modify because of strip changes
7561         (deplog): ditto
7562         * buffer.C (makeLaTeXFile): ditto
7563         * bufferparams.C (writeFile): ditt
7564         * lyxfont.C (stateText): ditto
7565         * lyxserver.C (read_ready): ditto
7566         * vc-backend.C (scanMaster): ditto
7567
7568         * BufferView_pimpl.h: ws changes
7569
7570         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7571
7572 2002-07-26  André Pönitz <poenitz@gmx.net>
7573
7574         * kb_sequence.C: remove unnedred usings
7575
7576 2002-07-26  Juergen Vigna  <jug@sad.it>
7577
7578         * lyxfind.C (LyXReplace): we have to check better if the returned
7579         text is not of theLockingInset()->getLockingInset().
7580
7581 2002-07-25  Juergen Vigna  <jug@sad.it>
7582
7583         * lyxfind.C (LyXReplace): don't replace if we don't get the
7584         right LyXText.
7585
7586         * undo_funcs.C (createUndo): remove debugging code.
7587
7588 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7589
7590         * buffer.C (parseSingleLyXformat2Token): Use default placement
7591         when reading old floats.
7592
7593         * FloatList.C (FloatList): Change the default placement of figure
7594         and tables to "tbp".
7595
7596 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7597
7598         * MenuBackend.C: using std::max
7599
7600 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7601
7602         * MenuBackend.C (expandToc):
7603         (expandToc2): code moved from xforms menu frontend. It is now
7604         generic and TOCs are transparent to menu frontends.
7605
7606 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7607
7608         * toc.C (getTocList): protect against buf=0
7609
7610         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7611         Menu as first parameter. Now, this calls itself recursively to
7612         expand a whole tree (this will be useful for TOC handling)
7613         (expandFloatInsert): remove 'wide' version of floats
7614
7615         * MenuBackend.h (submenuname): returns the name of the submenu.
7616         (submenu): returns the submenu itself, provided it has been
7617         created by MenuBackend::expand
7618
7619 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7620
7621         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7622         insets which have noFontChange == true. (bug #172)
7623
7624 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7625
7626         * BufferView_pimpl.C: add connection objects and use them...
7627         (Pimpl): here.
7628
7629 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7630
7631         * MenuBackend.C (expandLastfiles):
7632         (expandDocuments):
7633         (expandFormats):
7634         (expandFloatListInsert):
7635         (expandFloatInsert):
7636         (expand): split expand in parts
7637
7638 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7639
7640         * lyx_gui.C: use lyx_gui::exit()
7641
7642 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7643
7644         * LyXAction.C: show the failing pseudo action
7645
7646 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7647
7648         * buffer.C (readFile): Run the lyxconvert script in order to read
7649         old files.
7650
7651 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7652
7653         * LyXAction.C:
7654         * commandtags.h:
7655         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7656
7657 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7658
7659         * LyXAction.C:
7660         * commandtags.h:
7661         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7662
7663 2002-07-22  Herbert Voss  <voss@lyx.org>
7664
7665         * lengthcommon.C:
7666         * lyxlength.[Ch]: add support for the vertical lengths
7667
7668 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7669
7670         * toc.[Ch]: std:: fixes
7671
7672 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7673
7674         * lyxrc.C: do not include lyx_main.h
7675
7676         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7677         for layouts
7678
7679         * lyxrc.C:
7680         * encoding.C:
7681         * bufferlist.C:
7682         * BufferView2.C: include "lyxlex.h"
7683
7684         * tabular.h:
7685         * bufferparams.h: do not #include "lyxlex.h"
7686
7687         * lyxtextclasslist.C (Add): remove method
7688         (classlist): renamed to classlist_
7689
7690         * paragraph_pimpl.C:
7691         * paragraph.C:
7692         * text2.C:
7693         * CutAndPaste.C:
7694         * bufferview_funcs.C:
7695         * bufferlist.C:
7696         * text.C:
7697         * LaTeXFeatures.C:
7698         * buffer.C:
7699         * toc.C (getTocList): use BufferParams::getLyXTextClass
7700
7701         * toc.C (getTocList): use InsetFloat::addToToc
7702
7703         * toc.[Ch]: new files, containing helper functions to handle table
7704         of contents
7705
7706         * lyxfunc.C (dispatch): no need to remove spaces around command
7707         given as a string
7708         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7709         first command of the sequence; it is not very clever, but I do not
7710         have a better idea, actually
7711
7712         * LyXAction.C (LookupFunc): make sure to remove space at the
7713         beginning and end of the command
7714
7715 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7716
7717         * MenuBackend.C (getMenubar): new method: return the menubar of
7718         this menu set
7719         (read): treat differently reading of menu and menubar (in
7720         particular, the menubar has no name now)
7721         (Menu::menubar): remove
7722
7723         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7724         saving is finished
7725
7726 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7727
7728         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7729         a bibitem inset in a RTL paragraph.
7730
7731 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7732
7733         * paragraph_pimpl.C: constify
7734
7735         * BufferView_pimpl.C:
7736         * LaTeX.C:
7737         * lyxfunc.C: fix dispatch in a nicer way
7738
7739 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7740
7741         * lyxfunc.C (dispatch):
7742         * BufferView_pimpl.C:
7743         * BufferView_pimpl.h:
7744         * BufferView.C:
7745         * BufferView.h: rename Dispatch() to dispatch()
7746
7747         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7748
7749         * lyxlayout.C (Read): honor DependsOn tag
7750
7751         * lyxlayout.[Ch] (depends_on): new method
7752
7753         * version.C.in: update lyx_docversion
7754
7755         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7756
7757         * paragraph.C (validate): remove from here...
7758         * paragraph_pimpl.C (validate): ... and move here
7759         (isTextAt): make it const
7760
7761         * buffer.C (getLists): ws cleanup
7762
7763 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7764
7765         * language.C (read): Use iso8859-1 encoding in latex_lang
7766         (this prevents LyX from crashing when using iso10646-1 encoding).
7767
7768 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7769
7770         * text2.C (toggleInset): if cursor is inside an inset, close the
7771         inset and leave cursor _after_ it
7772
7773 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7774
7775         * lyxfunc.C: move minibuffer completion handling out of here
7776
7777 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7778
7779         * BufferView_pimpl.C:
7780         * LaTeX.C: fix dispatch calls
7781
7782 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7783
7784         * text.C (drawChars): Fix Arabic text rendering.
7785
7786 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7787
7788         * LyXAction.C:
7789         * commandtags.h:
7790         * lyxfunc.C: remove message-push/pop
7791
7792         * lyxserver.C:
7793         * lyxfunc.h:
7794         * lyxfunc.C: rationalise some code by removing verboseDispatch
7795           in favour of a bool argument to dispatch()
7796
7797 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7798
7799         * lyx_main.C (init): make sure to read symlinks as absolute paths
7800
7801 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7802
7803         * lyxfunc.h:
7804         * lyxfunc.C: no need for commandshortcut to be a member
7805
7806 2002-07-15  André Pönitz <poenitz@gmx.net>
7807
7808         * converter.C: add support for $$s (scripts from lib/scripts dir)
7809         * lyx_main.C: white space
7810
7811 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7812
7813         * bufferlist.C:
7814         * lyxrc.h:
7815         * lyxrc.C: remove second exit confirmation
7816
7817 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7818
7819         * BufferView.h:
7820         * BufferView.C:
7821         * BufferView2.C:
7822         * BufferView_pimpl.h:
7823         * BufferView_pimpl.C:
7824         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7825
7826 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7827
7828         * MenuBackend.C (expand): add numeric shortcuts to document menu
7829
7830         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7831
7832 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7833
7834         * lyxfont.C (setLyXFamily):
7835         (setLyXSeries):
7836         (setLyXShape):
7837         (setLyXSize):
7838         (setLyXMisc):
7839         (lyxRead):
7840         * debug.C (value):
7841         * buffer.C (asciiParagraph): use ascii_lowercase
7842
7843 2002-07-15  Mike Fabian  <mfabian@suse.de>
7844
7845         * lyxlex_pimpl.C (search_kw):
7846         * lyxlex.C (getLongString):
7847         * converter.h (operator<):
7848         * converter.C (operator<):
7849         * buffer.C (parseSingleLyXformat2Token):
7850         (asciiParagraph):
7851         * ToolbarDefaults.C (read):
7852         * MenuBackend.C (checkShortcuts):
7853         (read):
7854         * LColor.C (getFromGUIName):
7855         (getFromLyXName): use the compare_ascii_no_case instead of
7856         compare_no_case, because in turkish, 'i' is not the lowercase
7857         version of 'I', and thus turkish locale breaks parsing of tags.
7858
7859 2002-07-16  Angus Leeming  <leeming@lyx.org>
7860
7861         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7862         now takes a Buffer const & argument.
7863
7864 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7865
7866         * BufferView.C (resize): check there's a buffer to resize
7867
7868 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7869
7870         * lyxfunc.C: remove dead code
7871
7872         * lyxserver.h:
7873         * lyxserver.C: use lyx_guii::set_read_callback
7874
7875 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7876
7877         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7878         an inset in a RTL paragraph.
7879
7880 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7881
7882         * lyxfunc.C: repaint after a font size update
7883
7884 2002-07-15  André Pönitz <poenitz@gmx.net>
7885
7886         * lyxlength.C: inBP should be able to return negative values
7887
7888 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7889
7890         * lyxfunc.C: use lyx_gui::update_fonts()
7891
7892 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7893
7894         * lyxfunc.C: use lyx_gui::update_color()
7895
7896 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7897
7898         * bufferlist.C:
7899         * lyxfunc.h:
7900         * lyxfunc.C:
7901         * lyxrc.h:
7902         * lyxrc.C: remove file->new asks for name option, and let
7903           buffer-new take an argument
7904
7905 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7906
7907         * BufferView_pimpl.C: remove unneeded extra repaint()
7908
7909 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7910
7911         * LyXAction.C: allow command-sequence with NoBuffer
7912
7913         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7914
7915 2002-07-10  Angus Leeming  <leeming@lyx.org>
7916
7917         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7918
7919 2002-07-09  Angus Leeming  <leeming@lyx.org>
7920
7921         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7922
7923 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7924
7925         * lengthcommon.h: whitespace
7926
7927         * lyxfunc.C: update scrollbar after goto paragraph
7928
7929         * lyxtext.h: factor out page break drawing, and fix it so
7930           page break/added space paints as selected nicely
7931
7932 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7933
7934         * BufferView_pimpl.C: add FIXMEs, clean up a little
7935
7936 2002-07-09  André Pönitz <poenitz@gmx.net>
7937
7938         * lyxfont.[Ch]: support for wasy symbols
7939
7940 2002-07-08  André Pönitz <poenitz@gmx.net>
7941
7942         * BufferView_pimpl.C: apply John's patch for #93.
7943
7944 2002-07-05  Angus Leeming  <leeming@lyx.org>
7945
7946         * BufferView_pimpl.C (buffer): generate previews if desired.
7947
7948         * LColor.h: add "preview" to the color enum.
7949
7950         * LColor.C (LColor): add a corresponding entry to the items array.
7951
7952         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7953         with this buffer.
7954
7955 2002-07-05  Angus Leeming  <leeming@lyx.org>
7956
7957         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7958         The body of the code is now in the method that is passed an ostream &
7959         rather than a file name.
7960         Pass an additional only_preamble parameter, useful for the forthcoming
7961         preview stuff.
7962
7963 2002-07-03  André Pönitz <poenitz@gmx.net>
7964
7965         * lyxfunc.C: simplify getStatus() a bit for math stuff
7966
7967 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7968
7969         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7970
7971 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7972
7973         * text.C (changeRegionCase): do not change case of all the
7974         document when region ends at paragraph end (bug #461)
7975
7976 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7977
7978         * paragraph.C (startTeXParParams):
7979         (endTeXParParams): add \protect when necessary
7980
7981 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7982
7983         * BufferView_pimpl.C (workAreaExpose): remove warning
7984
7985 2002-06-27  Angus Leeming  <leeming@lyx.org>
7986
7987         * Makefile.am: add lyxlayout_ptr_fwd.h.
7988
7989 2002-06-26  André Pönitz <poenitz@gmx.net>
7990
7991         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7992
7993 2002-06-25  Angus Leeming  <leeming@lyx.org>
7994
7995         * lyxfunc.C (dispatch): Comment out the call to
7996         grfx::GCache::changeDisplay. The method no longer exists now that the
7997         pixmap generation part of the graphics loader has been moved into
7998         InsetGraphics.
7999
8000 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8001
8002         * text2.C: layout as layout
8003
8004         * text.C: layout as layout
8005
8006         * tabular.C (OldFormatRead): layout as layout
8007
8008         * paragraph_pimpl.C (TeXDeeper): layout as layout
8009         (realizeFont): layout as layout
8010
8011         * paragraph.C (writeFile): layout as layout
8012         (validate): layout as layout
8013         (getFont): layout as layout
8014         (getLabelFont): layout as layout
8015         (getLayoutFont): layout as layout
8016         (breakParagraph): layout as layout
8017         (stripLeadingSpaces): layout as layout
8018         (getEndLabel): layout as layout
8019         (getMaxDepthAfter): layout as layout
8020         (applyLayout): layout as layout
8021         (TeXOnePar): layout as layout
8022         (simpleTeXOnePar): layout as layout
8023         (TeXEnvironment): layout as layout
8024         (layout): layout as layout
8025         (layout): layout as layout
8026
8027         * lyxtextclass.C (compare_name): new functor to work with
8028         shared_ptr, layout as layout
8029         (Read): layout as layout
8030         (hasLayout): layout as layout
8031         (operator): layout as layout
8032         (delete_layout): layout as layout
8033         (defaultLayout): layout as layout
8034
8035         * lyxlayout_ptr_fwd.h: new file
8036
8037         * lyxlayout.C (Read): layout as layout
8038
8039         * lyx_cb.C (MenuInsertLabel): layout as layout
8040
8041         * bufferlist.C (newFile): layout as layout
8042
8043         * buffer.C (readLyXformat2): layout as layout
8044         (parseSingleLyXformat2Token): layout as layout
8045         (insertStringAsLines): layout as layout
8046         (asciiParagraph): layout as layout
8047         (latexParagraphs): layout as layout
8048         (makeLinuxDocFile): layout as layout
8049         (simpleLinuxDocOnePar): layout as layout
8050         (makeDocBookFile): layout as layout
8051         (simpleDocBookOnePar): layout as layout
8052         (getLists): layout as layout
8053
8054         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8055
8056         * CutAndPaste.C (cutSelection): layout as layout
8057         (pasteSelection): layout as layout
8058         (SwitchLayoutsBetweenClasses): layout as layout
8059
8060         * BufferView_pimpl.C (Dispatch): layout as layout
8061         (smartQuote): layout as layout
8062
8063         * BufferView2.C (unlockInset): layout as layout
8064
8065 2002-06-24  André Pönitz <poenitz@gmx.net>
8066
8067         * lyxfunc.C: fix #487
8068
8069 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8070
8071         * lyxrc.h:
8072         * lyxrc.C:
8073         * lyxfunc.C: remove display_shortcuts, show_banner
8074
8075 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8076
8077         * Buffer_pimpl.C: oops, update on resize
8078
8079 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8080
8081         * buffer.C:
8082         * converter.C:
8083         * exporter.C:
8084         * lyxfunc.C:
8085         * BufferView.h:
8086         * BufferView.C: use repaint()
8087
8088         * BufferView_pimpl.h:
8089         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8090           as it's a clearer description. Remove superfluous
8091           redraws.
8092
8093 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8094
8095         * text.C: fix bug 488. Not ideal, but getting
8096           getWord() to work properly for the insets that
8097           matter is more difficult ...
8098
8099 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8100
8101         * BufferView_pimpl.C:
8102         * LyXAction.C:
8103         * commandtags.h:
8104         * lyxfunc.C: remove the six million index lyxfuncs to just
8105           one, and DTRT (bug 458)
8106
8107 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8108
8109         * BufferView.h:
8110         * BufferView.C:
8111         * BufferView_pimpl.h:
8112         * BufferView_pimpl.C: clean up resize() stuff,
8113           and unnecessary updateScreen()s
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:
8121         * lyxfind.h:
8122         * lyxfind.C:
8123         * minibuffer.C: remove focus management of workarea,
8124           not needed. Use screen's greyOut()
8125
8126 2002-06-17  Herbert Voss  <voss@lyx.org>
8127
8128         * converter.C: (convert) do not post a message, when converting
8129         fails, let the calling function decide what to do in this case
8130
8131 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8132
8133         * lyxfunc.C: tidy up a little
8134
8135 2002-06-16    <alstrup@diku.dk>
8136
8137         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8138         Got rid of FORMS_H_LOCATION include. Now we are
8139         GUII.
8140
8141 2002-06-15  LyX Development team  <lyx@rilke>
8142
8143         * buffer.[Ch] (sgmlOpenTag):
8144         (sgmlCloseTag): Added support for avoiding pernicious mixed
8145         content. Return number of lines written.
8146
8147         (makeLinuxDocFile):
8148         (makeDocBookFile): Fixed calls to sgml*Tag.
8149         Simple white space clean.
8150
8151         (simpleDocBookOnePar): Simple white space clean.
8152
8153         * tabular.[Ch] (docBook): Renamed to docbook and got another
8154         argument to related with the pernicious mixed content.
8155
8156         (docbookRow): Fixed calls for docbook inset method.
8157
8158 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8159
8160         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8161         so it's X11 independent.
8162
8163         * kb*.[Ch]: ditto.
8164
8165         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8166
8167 2002-06-15  Lyx Development team  <lyx@electronia>
8168
8169         * intl.h: Renamed getTrans to getTransManager.
8170
8171 2002-06-14  Angus Leeming  <leeming@lyx.org>
8172
8173         * Makefile.am: nuke forgotten stl_string_fwd.h.
8174
8175 2002-06-12  Angus Leeming  <leeming@lyx.org>
8176
8177         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8178
8179 2002-06-13  Angus Leeming  <leeming@lyx.org>
8180
8181         * LaTeX.C:
8182         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8183
8184 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8185
8186         * kbmap.C (getiso): add support for cyrillic and greek
8187
8188 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8189
8190         * BufferView.h:
8191         * BufferView.C:
8192         * BufferView_pimpl.h:
8193         * BufferView_pimpl.C: move bogus scrolling logic
8194           to xforms
8195
8196 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8197
8198         * lyxfunc.C:
8199         * BufferView_pimpl.C: view->resize() change
8200
8201 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8202
8203         * BufferView_pimpl.C: topCursorVisible
8204           prototype change
8205
8206 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8207
8208         * Makefile.am:
8209         * lyx_gui.h:
8210         * lyx_gui.C: move to frontends/
8211
8212         * main.C:
8213         * lyx_main.h:
8214         * lyx_main.C: changes from above
8215
8216 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8217
8218         * intl.C:
8219         * intl.h:
8220         * kbmap.C:
8221         * kbsequence.C:
8222         * lyx_cb.C:
8223         * lyx_main.C: minor tidy
8224
8225 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8226
8227         * BufferView_pimpl.h:
8228         * BufferView_pimpl.C:
8229         * BufferView.h:
8230         * BufferView.C: make painter() const,
8231           remove dead code
8232
8233         * BufferView2.C: use screen() accessor
8234
8235         * lyx_main.h:
8236         * lyx_main.C: some minor cleanup
8237
8238 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8239
8240         * BufferView_pimpl.h:
8241         * BufferView_pimpl.C: remove enter/leaveView,
8242           use workHeight()
8243
8244 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8245
8246         * BufferView.h:
8247         * BufferView.C:
8248         * BufferView2.C:
8249         * BufferView_pimpl.h:
8250         * BufferView_pimpl.C: only construct screen once,
8251           rename
8252
8253         * lyxrc.C: remove pointless comment
8254
8255 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8256
8257         * BufferView.h:
8258         * BufferView.C: remove active() and belowMouse()
8259
8260         * BufferView_pimpl.h:
8261         * BufferView_pimpl.C: use workarea() not workarea_,
8262           and make it use a scoped_ptr instead
8263
8264 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8265
8266         * lyx_gui.C: add debug message on BadWindow
8267
8268 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8269
8270         * sp_spell.C: fdopen is not part of the C++ standard.
8271
8272         * paragraph.C (InsetIterator): use >= instead of ==
8273
8274 2002-06-07  Angus Leeming  <leeming@lyx.org>
8275
8276         Fixes needed to compile with Compaq cxx 6.5.
8277         * BufferView_pimpl.C:
8278         * DepTable.C:
8279         * buffer.C:
8280         * converter.C:
8281         * encoding.C:
8282         * lyx_gui.C:
8283         * lyx_main.C:
8284         * lyxtextclasslist.C:
8285         * minibuffer.C:
8286         * sp_spell.C:
8287         * tabular_funcs.C:
8288         * vc-backend.C:
8289         all c-library variables have been moved into namespace std. Wrap
8290         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8291
8292         * lyxlength.C:
8293         * tabular-old.C:
8294         * tabular.C:
8295         Add a using std::abs declaration.
8296
8297         * kbmap.h (modifier_pair):
8298         * paragraph.h (InsetTable, InsetList):
8299         * lyxfont.h (FontBits):
8300         type definition made public.
8301
8302         * bufferlist.C (emergencyWriteAll): the compiler complains that
8303         there is more than one possible lyx::class_fun template to choose from.
8304         I re-named the void specialisation as lyx::void_class_fun.
8305
8306         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8307
8308         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8309         the compiler is is unable to find tostr in write_attribute.
8310
8311 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8312
8313         * buffer.C (sgmlError): hide #warning
8314
8315 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8316
8317         * xtl/*: get rid of xtl, which is not in use anyway
8318
8319         * LyXAction.C (init):
8320         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8321         were unimplemented xtl experimentation
8322
8323 2002-06-04  André Pönitz <poenitz@gmx.net>
8324
8325         * lyxfunc.C: disable array operation on simple formulae
8326
8327 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8328
8329         * converter.C: constify a bit
8330
8331 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8332
8333         * lyx_gui.C: check xforms version correctly
8334
8335 2002-04-30  Herbert Voss  <voss@lyx.org>
8336
8337         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8338         "keep" option
8339
8340 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8341
8342         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8343           attempt to register it with a VCS)
8344
8345 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8346
8347         * lyx_main.C (init): honor variables LYX_DIR_13x and
8348         LYX_USERDIR_13x
8349
8350 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8351
8352         * buffer.h:
8353         * buffer.C:
8354         * lyx_main.C: fix a crash on bad command line,
8355           and give a useful exit status on error
8356
8357         * lyxfunc.C (doImport): allow -i lyx to work
8358
8359 2002-03-30  André Pönitz <poenitz@gmx.net>
8360
8361         * lyxfunc.C: mathed font changes
8362
8363 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8364
8365         * LaTeX.C:
8366         * importer.h:
8367         * importer.C:
8368         * lyx_sty.h:
8369         * lyx_sty.C:
8370         * lyxlex.C:
8371         * lyxrow.h:
8372         * lyxtext.h:
8373         * paragraph.h:
8374         * paragraph.C:
8375         * texrow.h:
8376         * texrow.C:
8377         * text.C:
8378         * trans_mgr.h: srcdocs, and some minor cleanups
8379
8380 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8381
8382         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8383         call getFont all the time)
8384
8385 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8386
8387         * switch from SigC signals to boost::signals
8388
8389 2002-05-29  André Pönitz <poenitz@gmx.net>
8390
8391         * paragraph_pimpl.C (getChar): don't call size() too often...
8392
8393 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8394
8395         * paragraph_pimpl.C (insertChar): do not try to update tables when
8396         appending (pos == size())
8397
8398         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8399         in order to reduce drastically the number of comparisons needed to
8400         parse a large document
8401
8402 2002-05-29  André Pönitz <poenitz@gmx.net>
8403
8404         * text.C:
8405         * text2.C:
8406         * lyxtextclass.C:
8407         * sp_pspell.h:
8408         * textclasslist.[Ch]:
8409         * sp_ispell.h: whitespace change
8410
8411 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8412
8413         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8414         lyxaction directly now.
8415
8416 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8417
8418         * trans.C:
8419         * lyxfont.C:
8420         * lyxvc.C: remove unused headers
8421
8422 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8423
8424         * Makefile.am:
8425         * buffer.h:
8426         * undostack.h:
8427         * undostack.C:
8428         * undo_funcs.h:
8429         * undo_funcs.C: some cleanups. Use shared_ptr
8430           and a template for the undo stacks.
8431
8432 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8433
8434         * BufferView_pimpl.h:
8435         * BufferView_pimpl.C:
8436         * kbmap.h:
8437         * kbmap.C:
8438         * kbsequence.h:
8439         * kbsequence.C:
8440         * lyxfunc.h:
8441         * lyxfunc.C:
8442         * text2.C: use key_state/mouse_state
8443
8444 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8445
8446         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8447         and LSubstring
8448
8449         * chset.C: change include order
8450         (loadFile): use boost regex and get rid of LRegex and LSubstring
8451
8452         * Makefile.am (BOOST_LIBS): new variable
8453         (lyx_LDADD): use it
8454
8455         * LaTeX.C: change include order.
8456         (scanAuxFile): use boost regex and get rid of LRegex and
8457         LSubstring
8458         (deplog): ditto
8459
8460 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8461
8462         * ColorHandler.h:
8463         * ColorHandler.C:
8464         * FontInfo.h:
8465         * FontInfo.C: moved to frontends/xforms/
8466
8467         * FontLoader.h:
8468         * FontLoader.C: moved into frontends for GUIIzation
8469
8470         * Makefile.am:
8471         * lyx_gui.C:
8472         * lyxfont.C:
8473         * lyxfunc.C: changes from above
8474
8475 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8476
8477         * LColor.C: remove spurious X include
8478
8479         * BufferView_pimpl.C:
8480         * Makefile.am:
8481         * font.h:
8482         * font.C:
8483         * text.C:
8484         * text2.C: move font metrics to frontends/
8485
8486 2002-05-24  Juergen Vigna  <jug@sad.it>
8487
8488         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8489         setting the undo_cursor.
8490
8491         * ParagraphParameters.h: include local includes first.
8492
8493 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8494
8495         * BufferView_pimpl.C:
8496         * BufferView_pimpl.h:
8497         * Makefile.am:
8498         * WorkArea.h:
8499         * WorkArea.C:
8500         * screen.C: move WorkArea into frontends/
8501
8502         * lyxscreen.h:
8503         * screen.C:
8504         * text.C:
8505         * BufferView.C:
8506         * BufferView2.C: move LyXScreen into frontends/
8507
8508         * lyxlookup.h:
8509         * lyxlookup.C:
8510         * lyx_gui.C: move lyxlookup into frontends/xforms/
8511
8512 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8513
8514         * BufferView2.C:
8515         * BufferView_pimpl.C:
8516         * FontLoader.C:
8517         * LyXView.h:
8518         * LyXView.C:
8519         * Makefile.am:
8520         * WorkArea.C:
8521         * XFormsView.h:
8522         * XFormsView.C:
8523         * buffer.C:
8524         * bufferlist.C:
8525         * bufferview_funcs.C:
8526         * converter.C:
8527         * importer.C:
8528         * lyx_cb.C:
8529         * lyx_gui.C:
8530         * lyx_main.C:
8531         * lyx_find.C:
8532         * lyxfunc.C:
8533         * lyxvc.C:
8534         * minibuffer.C:
8535         * text.C:
8536         * text2.C:
8537         * trans.C:
8538         * vc-backend.C: move LyX/XFormsView into frontends/
8539
8540 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8541
8542         * Makefile.am:
8543         * PainterBase.C:
8544         * PainterBase.h:
8545         * Painter.C:
8546         * Painter.h:
8547         * WorkArea.C:
8548         * WorkArea.h:
8549         * screen.C:
8550         * tabular.C:
8551         * text.C:
8552         * text2.C: move Painter to frontends/
8553
8554 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8555
8556         * buffer.C: comment out some some code that depend upon lyx_format
8557         < 220
8558
8559         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8560         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8561
8562         * buffer.h (NO_COMPABILITY): turn off compability
8563
8564         * ColorHandler.C: include scoped_array.hpp
8565
8566         * font.C: Use more specific smart_ptr header.
8567         * Painter.C: ditto
8568         * gettext.C: ditto
8569         * ShareContainer.h: ditto
8570         * lyx_main.h: ditto
8571         * kbmap.h: ditto
8572         * FontInfo.h: ditto
8573         * BufferView_pimpl.h: ditto
8574         * ColorHandler.h: ditto
8575
8576         * kbmap.C (defkey): change call to shared_ptr::reset
8577
8578 2002-05-21  Juergen Vigna  <jug@sad.it>
8579
8580         * buffer.C (insertErtContents): fix to insert ert asis if it is
8581         non empty. Skip it completely if it contains only whitespaces.
8582
8583 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8584
8585         * BufferView_pimpl.C:
8586         * BufferView2.C: clear selection on paste (bug 393)
8587
8588 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8589
8590         * DepTable.C: include ctime
8591
8592 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8593
8594         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8595
8596 2002-05-14  Juergen Vigna  <jug@sad.it>
8597
8598         * text.C (breakParagraph): fixed function to honor the keepempty
8599         layout in the right maner and also to permit the right breaking
8600         algorithm on empty or non empyt keepempty paragraphs.
8601
8602         * paragraph.C (breakParagraph): we have to check also if the par
8603         is really empty (!size()) for isempty otherwise we do the wrong
8604         paragraph break.
8605
8606 2002-05-10  Juergen Vigna  <jug@sad.it>
8607
8608         * buffer.[Ch] : The following are only changes to the ert
8609         compatibility read reading old LaTeX layout and font stuff and
8610         convert it to ERTInsets.
8611
8612         * buffer.h: added isErtInset().
8613
8614         * buffer.C (struct ErtComp): add a fromlayout bool to check
8615         if we're inside a LaTeX layout.
8616         (isErtInset): new helper function.
8617         (insertErtContents): look for other ert insets before this one
8618         and insert the contents there, so that we don't have subsequent
8619         ERT insets with nothing between them. This way we create only one
8620         inset with multiple paragraphs. Also check if we don't insert only
8621         spaces ' ' as they are ignored anyway afterwards in the .tex file
8622         so if we have only spaces we will ignore this latex part in the
8623         new file.
8624         (parseSingleLyXformat2Token \\layout): better compatibility when
8625         reading layout-latex stuff.
8626         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8627         language tag.
8628         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8629         stuff after reading the inset only get the information back from
8630         the stack.
8631
8632 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8633
8634         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8635
8636         * LaTeXFeatures.C (getBabelOptions): New method.
8637
8638 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8639
8640         * BufferView_pimpl.C (Dispatch): work around missing argument for
8641         'layout'
8642
8643 2002-05-08  Juergen Vigna  <jug@sad.it>
8644
8645         * text.C (leftMargin): handle paragraph leftindent.
8646
8647         * paragraph.C (writeFile): write the new \\leftindent tag.
8648         (validate): handle leftindent code.
8649         (TeXEnvironment): handle paragraphleftindent code again.
8650
8651         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8652
8653         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8654         for paragrap_extra indent code and new token \\leftindent.
8655         (latexParagraphs): handle the leftindent as environment.
8656
8657         * ParameterStruct.h: added leftindent support.
8658
8659         * ParagraphParameters.C (leftIndent): added support functions for
8660         the paragraph left indent.
8661
8662         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8663         more appropriate.
8664
8665 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8666
8667         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8668         inside insetERT.
8669
8670         * text.C (computeBidiTables): No bidi in insetERT.
8671
8672         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8673         in RTL documents.
8674
8675 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8676
8677         * version.C.in: pre 5
8678
8679 2002-05-02  José Matos  <jamatos@fep.up.pt>
8680         * buffer.C (makeDocBookFile): white space changes, add newline to
8681         command styles.
8682         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8683
8684         * tabular.C (docBook): fix typo.
8685
8686 2002-05-03  Juergen Vigna  <jug@sad.it>
8687
8688         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8689         change in LyXText as we can not be sure it was not freed.
8690         (drawOneRow): remove unused code.
8691
8692         * text.C (drawInset): redo the calculation of the need_break_row as
8693         it could have a row which was already freed.
8694         (draw): look at the return value of drawInset and return false if
8695         it also returned false.
8696         (paintRowText): look at the return value of draw and return false if
8697         it also returned false.
8698
8699         * lyxtext.h: added bool return type to drawInset() and draw() so that
8700         if we have a change in the row so that the rowbreak has to be redone
8701         we abort drawing as it will be called again.
8702
8703 2002-05-02  Juergen Vigna  <jug@sad.it>
8704
8705         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8706         a change in the maintext also if we're inside an inset.
8707         (Dispatch): set the cursor again after a break line and after the
8708         screen has been updated as it could be we're in a different row.
8709
8710         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8711         to set the cursor behind the pargraph with > size().
8712         (setCursor): check also for the same paragraph when checking where
8713         to put the cursor if we have a NFR inset.
8714
8715         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8716         parts of layout read further up as it still was in the wrong
8717         position.
8718
8719 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8720
8721         * screen.C (drawFromTo): change sine fullRebreak always return
8722         true.
8723
8724         * buffer.C (parseSingleLyXformat2Token): reindent some
8725
8726         * BufferView_pimpl.C (update): change since fullRebreak always
8727         return true.
8728         (Dispatch): git rid of the last hardcoded "Standard"s.
8729
8730 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8731
8732         * text2.[Ch] (fullRebreak): make it return void now that we always
8733         returned true.
8734
8735 2002-04-30  Juergen Vigna  <jug@sad.it>
8736
8737         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8738         ert compatibility check for "latex" layout.
8739
8740 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8741
8742         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8743         minipages: use col% instead of p%, and also use the current font.
8744         (makeLaTeXFile): Fix use babel condition.
8745         (parseSingleLyXformat2Token): Correct font when reading old floats.
8746
8747 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8748
8749         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8750         inserting list of floats.
8751
8752 2002-04-25  Herbert Voss  <voss@lyx.org>
8753
8754         * MenuBackend.C (expand): don't add the graphics extensions to the
8755         export menu
8756
8757 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8758
8759         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8760         non-existing layout, do not complain if it was the default layout
8761         of the original class (bug #342)
8762
8763 2002-04-24  Juergen Vigna  <jug@sad.it>
8764
8765         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8766         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8767
8768 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8769
8770         * buffer.C (getBibkeyList): If using \bibliography, return the
8771         option field with the reference itself. Enables us to provide natbib
8772         support when using \bibliography.
8773
8774 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8775
8776         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8777
8778         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8779         natbib is provided by the LaTeX class.
8780
8781 2002-04-23  Juergen Vigna  <jug@sad.it>
8782
8783         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8784         Wakeup functions.
8785
8786         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8787
8788 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8789
8790         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8791
8792         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8793         ensuremath around textordmasculine, textordfeminine and
8794         textdegree.
8795
8796 2002-04-19  Juergen Vigna  <jug@sad.it>
8797
8798         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8799         reinitializing the buffer otherwise row-dimensions may be wrong.
8800         (update): reset also the selection cursors if they do exits otherwise
8801         their x/y positions may be wrong.
8802
8803         * text2.C (cursorDown): don't enter the inset if we came from a row
8804         above and are one row over the inset.
8805
8806         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8807         really leaving an inset.
8808
8809 2002-04-18  Juergen Vigna  <jug@sad.it>
8810
8811         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8812         of the selected paragraph does not have the selected layout also if
8813         the last one had!
8814
8815         * text2.C (setLayout): fixed bug which did not change last selected
8816         paragraph.
8817
8818         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8819         changed the read and substituted \\end_float with \\end_inset!
8820
8821         * BufferView_pimpl.C (cursorPrevious):
8822         (cursorNext): fixed to make it work with rows heigher than the work
8823         area without moving the cursor only the draw of the row.
8824         (workAreaMotionNotify): fix jumping over high rows.
8825
8826 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8827
8828         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8829         Ressler.
8830
8831 2002-04-16  Juergen Vigna  <jug@sad.it>
8832
8833         * text2.C (setCursor): set also the irow().
8834         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8835         (cursorUp):
8836         (cursorDown): support for locking an inset if the x_fix value goes
8837         inside it. That way I can transverse insets too with cursor up/down.
8838
8839         * lyxrow.h: added irow helper function same as other (i) functions.
8840
8841         * BufferView_pimpl.C (cursorPrevious):
8842         (cursorNext): fixed for insets!
8843
8844 2002-04-15  Juergen Vigna  <jug@sad.it>
8845
8846         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8847         position otherwise it is wrong in some cases.
8848
8849         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8850         inside the inset before the call.
8851
8852 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8853
8854         * buffer.[Ch] (getBibkeyList): make it const.
8855
8856 2002-04-12  Juergen Vigna  <jug@sad.it>
8857
8858         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8859
8860         * text2.C (getCursorX): new helper function
8861         (setCursor): compute also ix_
8862         (setCursorFromCoordinates): set also ix.
8863
8864         * lyxcursor.h: added ix_ and helper functions.
8865
8866         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8867
8868         * buffer.C (insertStringAsLines): dont break paragraph if the this
8869         paragraph is inside an inset which does not permit it!
8870
8871         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8872         also with no chars on this paragraph.
8873         (paintRowText): only paint stuff if it's inside the workarea!
8874
8875         * paragraph.C (breakParagraph): honor keepempty flag and break the
8876         paragraph always below not above.
8877
8878         * BufferView2.C (unlockInset): update the paragraph layout on inset
8879         unlock as we changed paragraph in such a case.
8880
8881         * lyxfind.C (LyXFind): clear the former selection if not found!
8882
8883         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8884         again called in insertChar().
8885
8886         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8887         an inset which uses the whole row!
8888         (rightMargin): ditto.
8889         (insertChar): force a rebreak if we inserted an inset!
8890
8891 2002-03-28  Herbert Voss  <voss@lyx.org>
8892
8893         * lyxlength.[Ch]: add inBP() to get the right PS-point
8894         units (BigPoint). With inPixels we have rounding errors
8895
8896 2002-04-11  Juergen Vigna  <jug@sad.it>
8897
8898         * text2.C (setCursorFromCoordinates): set iy to the right value.
8899         (setCursor): add check if row->previous exists!
8900
8901         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8902         an old float_type as this was the case in the old code!
8903
8904         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8905
8906         * BufferView2.C (showLockedInsetCursor): use iy
8907         (fitLockedInsetCursor): ditto
8908
8909         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8910         locked insets as there we have the right value now.
8911
8912         * lyxcursor.C: added iy_ variable and iy functions to set to the
8913         baseline of cursor-y of the locked inset.
8914
8915         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8916         (setCursor): fixed for insets which need a full row.
8917
8918         * text.C (rowLastPrintable): don't ignore the last space when before
8919         an inset which needs a full row.
8920         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8921         as last character of a row when before a inset which needs a full row.
8922
8923 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8924
8925         * version.C.in: update date
8926
8927         * text2.C (fullRebreak): try to always return true and see what
8928         happens...
8929
8930 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8931
8932         * MenuBackend.C (expand): use Floating::listName
8933
8934         * FloatList.C (FloatList): add listName argument to the built-in
8935         floats
8936
8937         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8938         text associated with the float.
8939
8940 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8941
8942         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8943
8944 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8945
8946         * ShareContainer.h: add a couple of missing typenames.
8947
8948 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8949
8950         * lyxrc.C (getDescription): use _() correctly rather than N_().
8951
8952 2002-03-28  Herbert Voss  <voss@lyx.org>
8953
8954         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8955         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8956
8957 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8958
8959         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8960         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8961
8962 2002-03-29  Juergen Vigna  <jug@sad.it>
8963
8964         * lyxfunc.C (dispatch): add a missing fitCursor call.
8965
8966         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8967         it was scrolled by a cursor move, so return the bool status.
8968
8969         * BufferView.C (fitCursor): return the bool flag also to the outside
8970         world as this is needed.
8971
8972         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8973
8974         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8975         call the edit() as it is not needed (and wrong) IMO.
8976         (workAreaButtonPress): set the screen_first variable before evt.
8977         unlock the inset as this may change screen_first and then we have
8978         a wrong y position for the click!
8979
8980 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8981
8982         * MenuBackend.C (expand): another translation that I missed
8983
8984 2002-03-28  Juergen Vigna  <jug@sad.it>
8985
8986         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8987
8988         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8989
8990 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8991
8992         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8993
8994         * MenuBackend.C (expand): fix export/view/update when there is no
8995         document open.
8996
8997 2002-03-27  Herbert Voss  <voss@lyx.org>
8998
8999         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9000         and text%
9001
9002 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9003
9004         * bufferview_funcs.C (currentState): only show paragraph number
9005         for is DEVEL_VERSION is set.
9006
9007         * lyxfunc.C (dispatch): put warning in INFO channel
9008
9009         * MenuBackend.C (expand): translate the name of floats
9010
9011         * FloatList.C (FloatList): mark the float names for translation
9012
9013         * converter.C (convert): use LibScriptSearch
9014
9015 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9016
9017         * MenuBackend.C (defaults): fix default menu (we might as well get
9018         rid of it...)
9019
9020 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9021
9022         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9023         directory.
9024
9025 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9026
9027         * lyxvc.C: reorder includes.
9028
9029 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9030
9031         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9032           properly
9033
9034 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9035
9036         * CutAndPaste.C: change layouts earlier on paste
9037           to avoid crashing when calling getFont()
9038
9039 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9040
9041         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9042         irritating #error.
9043
9044 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9045
9046         * WorkArea.C: remove 'Pending' debug message.
9047
9048         * most files: ws cleanup
9049
9050         * buffer.[Ch]: ws changes
9051
9052         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9053
9054 2002-03-21  Juergen Vigna  <jug@sad.it>
9055
9056         * tabular.C (SetMultiColumn): collapse also the contents of the
9057         cells and set the last border right. Added a Buffer const * param.
9058
9059 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9060
9061         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9062         linking or not.
9063
9064 2002-03-19  Juergen Vigna  <jug@sad.it>
9065
9066         * text2.C (clearSelection): reset also xsel_cache.
9067
9068         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9069         where it needs to be called (John tells us to do so too :)
9070         (selectionLost): reset sel_cache.
9071
9072         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9073
9074 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9075
9076         * text2.C (setCursorIntern): put debuging code in INSETS channel
9077
9078 2002-03-19  André Pönitz <poenitz@gmx.net>
9079
9080         * lyxfunc.C: tiny whitespace change
9081
9082 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9083
9084         * ToolbarDefaults.C (init):
9085         * LyXAction.C (init):
9086         * commandtags.h:
9087         * BufferView_pimpl.C (Dispatch):
9088         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9089
9090 2002-03-19  Allan Rae  <rae@lyx.org>
9091
9092         * exporter.C (Export): removeAutoInsets before doing anything else.
9093         While I've just introduced a dependency on BufferView this really is
9094         the best place to clean the buffer otherwise you need to cleanup in
9095         a dozen places before calling export or cleanup in a dozen functions
9096         that export calls.
9097
9098         * converter.C (runLaTeX):
9099         (scanLog): Better handling of removeAutoInsets and screen updates.
9100
9101         * lyxfunc.C (dispatch): small whitespace changes
9102
9103 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9104
9105         * WorkArea.C (C_WorkAreaEvent): return a value.
9106         (event_cb): return 1 if we handled the event, 0 otherwise.
9107
9108         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9109
9110 2002-03-18  Juergen Vigna  <jug@sad.it>
9111
9112         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9113         (GetAdditionalWidth): ditto.
9114         (RightLine): ditto.
9115         (LeftLine): ditto.
9116
9117         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9118         inset if we're there actually (probably not used right now but this
9119         is the direction to go for unifying code).
9120         (paste): disable code to clear the selection.
9121
9122         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9123         inside an InsetText and move the check further up as it is in the
9124         wrong place.
9125
9126         * text2.C (pasteSelection): set a selection over the pasted text.
9127
9128 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9129
9130         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9131         and libgraphics to build on Cygwin.
9132
9133 2002-03-15  Juergen Vigna  <jug@sad.it>
9134
9135         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9136         inserting an Inset into the paragraph. I know this is not the best
9137         fix but we already use current_view in CutAndPaste so we will remove
9138         all of it's using at the same time.
9139
9140         * buffer.C (sgmlError): deactivated function till it is rewritten in
9141         the right mode, now it can create problems.
9142
9143         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9144         before accessing it.
9145
9146 2002-03-14  Juergen Vigna  <jug@sad.it>
9147
9148         * undo_funcs.C (textHandleUndo): do the right thing when updating
9149         the inset after the undo/redo.
9150
9151         * text2.C (setCursor): just some testcode for #44 not ready yet.
9152
9153         * undo_funcs.C (textHandleUndo): set the next() and previous()
9154         pointers of the paragraph to 0 before deleting otherwise we have
9155         problems with the Paragraph::[destructor].
9156
9157         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9158         on a paragraph insertion.
9159
9160 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9161
9162         * buffer.C (asciiParagraph): use += operator for char append to
9163         string.
9164
9165         * paragraph.C (getFontSettings): compare >= not just >
9166         (highestFontInRange): ditto
9167         (setFont): ditto
9168
9169 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9170
9171         * paragraph.C: change several algorithm to be more appripriate for
9172         the problem domain. This is lookip in FontList and in the InsetList.
9173
9174 2002-03-13  André Pönitz <poenitz@gmx.net>
9175
9176         * commandtags.h:
9177         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9178
9179 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9180
9181         * commandtags.h:
9182         * LyXAction.C:
9183         * lyxfunc.C:
9184         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9185
9186 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9187
9188         * Painter.C (display): anon helper function, adjust code for this
9189         change.
9190         (pixmap): remove function.
9191
9192         * Painter.h: remove private display variable.
9193
9194         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9195
9196 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9197
9198         * WorkArea.[Ch]: remove figinset_canvas cruft.
9199
9200 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9201
9202         * lyxtextclass.C (operator): add one item cache optimization.
9203
9204         * bufferlist.h: doxy changes
9205
9206         * bufferlist.C: ws changes
9207
9208         * DepTable.[Ch] (ext_exist): place const in the right spot.
9209
9210         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9211         call resizeInsets.
9212         (workAreaExpose): call resizeInsets when the with BufferView changes.
9213         (Dispatch): adjust for protectedBlank removal
9214         (specialChar): call updateInset if the insert went ok.
9215
9216         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9217         specialChar instead.
9218
9219         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9220
9221         * BufferView.h: doxy change
9222
9223         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9224
9225         * lyxtextclass.C (operator[]): remove non-const version
9226         (defaultLayout): remove non-const version
9227
9228 2002-03-12  Juergen Vigna  <jug@sad.it>
9229
9230         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9231         did resize the LyXText too.
9232
9233         * buffer.C (readLyXformat2): set layout information on newly allocated
9234         paragraphs.
9235
9236         * tabular.C (OldFormatRead): set layout information on the paragraph.
9237
9238 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9239
9240         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9241
9242 2002-03-11  Juergen Vigna  <jug@sad.it>
9243
9244         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9245         plainly wrong.
9246         (resizeCurrentBuffer): force also the insets to resize themselfes.
9247         (moveCursorUpdate): fixed up for InsetText.
9248
9249 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9250
9251         * commandtags.h:
9252         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9253         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9254         value of Dialogs::tooltipsEnabled().
9255         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9256
9257 2002-03-08  Juergen Vigna  <jug@sad.it>
9258
9259         * BufferView_pimpl.C (updateInset): update inset inside inset also
9260         if it isn't inside theLockingInset().
9261
9262 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9263
9264         * buffer.C (asciiParagraph): redo some of the word and line length
9265         handling.
9266         (getLists): look for Caption instead of caption.
9267
9268 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9269
9270         * buffer.C (Buffer): initialize niceFile to true
9271         (makeLaTeXFile):
9272         (makeLinuxDocFile):
9273         (makeDocBookFile): make sure niceFile is true on exit
9274
9275 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9276
9277         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9278
9279 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9280
9281         * LyXSendto.C: remove.
9282         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9283         * lyx_gui.C: remove now-redundant comment.
9284         * ColorHandler.h: remove forward declaration of class WorkArea.
9285         * lyxfunc.C: remove #include "WorkArea.h".
9286
9287 2002-03-07  Juergen Vigna  <jug@sad.it>
9288
9289         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9290         got moved away with the DEPM and also set the inset_owner always
9291         right which before could have been omitted.
9292
9293 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9294
9295         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9296         wanted layout is not found.
9297
9298 2002-03-07  Juergen Vigna  <jug@sad.it>
9299
9300         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9301
9302 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9303
9304         * paragraph.C (breakParagraph): use default layout not layout of
9305         prev paragraph.
9306         (Paragraph): clear ParagraphParameters.
9307
9308 2002-03-06  Juergen Vigna  <jug@sad.it>
9309
9310         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9311         otherwise it would not be a valid lenght. Fixed a special case in
9312         the minipage compatibility read where we end the document with a
9313         minipage.
9314
9315         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9316         was set as it could be 0 for InsetTexts first entry.
9317
9318 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9319
9320         * paragraph.C (writeFile): if layout is empty write out
9321         defaultLayoutName().
9322
9323         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9324         file without named layout we set layout to defaultLayoutName().
9325
9326 2002-03-06  Juergen Vigna  <jug@sad.it>
9327
9328         * CutAndPaste.C (copySelection): set layout for new paragraph.
9329
9330         * text.C (prepareToPrint): leave ERT inset left aligned
9331         (leftMargin): don't indent paragraphs inside ERT insets
9332
9333 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9334
9335         * paragraph.C (breakParagraph): dont call clear do the work manually
9336
9337         * paragraph.[Ch] (clear): remove function
9338
9339 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9340
9341         * paragraph.C (Paragraph): dont call clear, the work has already
9342         been done.
9343
9344         * lyxtextclass.C (operator): assert if n is empty
9345
9346         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9347         work manually instead.
9348
9349 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9350
9351         * BufferView_pimpl.C: protect selectionLost against text == 0
9352
9353 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9354
9355         * text.C (breakParagraph): fix a setting layout to '0' problem.
9356
9357 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9358
9359         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9360         final location of file, for the included files, and graphics.
9361
9362 2002-03-05  Juergen Vigna  <jug@sad.it>
9363
9364         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9365
9366 2002-03-04  Juergen Vigna  <jug@sad.it>
9367
9368         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9369
9370         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9371         last column of multicolumn cells.
9372         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9373
9374 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9375
9376         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9377         file if it doesn't go to a temporary file.
9378
9379         * buffer.C (sgmlOpenTag):
9380         (sgmlCloseTag):  remove extra newline insertion.
9381
9382 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9383
9384         * text.C (getRowNearY): comment out debug msg
9385
9386 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9387
9388         * text2.C: first -> first_y
9389
9390         * text.C (getRowNearY): add some attemts at a possible
9391         optimization, not working.
9392
9393         * tabular.[Ch]: add BufferParams to several function so that newly
9394         created paragraph can be initialized to he default layotu for the
9395         buffers textclass.
9396
9397         * tabular-old.C (ReadOld): add buf->params to call of Init
9398
9399         * screen.C: rename text->first to text->first_y
9400
9401         * paragraph.C (breakParagraph): always set layout in the broken
9402         paragraph
9403
9404         * lyxtextclass.C (Read): remove lowercase
9405         (hasLayout): ditto
9406         (operator): ditto
9407         (delete_layout): ditto
9408
9409         * lyxtext.h: rename first -> first_y
9410
9411         * lyxlayout.C (Read): remove lowercase
9412         (name): ditto
9413         (setName): ditto
9414         (obsoleted_by): ditto
9415
9416         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9417
9418         * buffer.C (insertErtContents): add params are to InsetERT
9419         (parseSingleLyXformat2Token): add code to check if a paragraphs
9420         layout really exist.
9421         (parseSingleLyXformat2Token): add params to several inset
9422         constructors
9423         (asciiParagraph): remove lowercase, do the layout comparisons with
9424         no_case
9425
9426         * BufferView_pimpl.C (cursorNext): first -> first_y
9427         (resizeCurrentBuffer): first -> first_y
9428         (updateScrollbar): first -> first_y
9429         (scrollCB): first -> first_y
9430         (workAreaMotionNotify): first -> first_y
9431         (workAreaButtonPress): first -> first_y
9432         (checkInsetHit): first -> first_y
9433         (cursorPrevious): first -> first_y
9434         (cursorNext): first -> first_y
9435         (Dispatch): add buffer_->params to severl inset contructors
9436
9437 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9438
9439         * lyxlayout.C (Read): remove some debug info that I forgot.
9440
9441         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9442         clean up the code slightly.
9443         (makeLinuxDocFile): ditto
9444         (makeDocBookFile): ditto
9445
9446         * text2.C: layout as string
9447
9448         * text.C: layout as string
9449
9450         * paragraph_pimpl.C: layout as string
9451
9452         * paragraph.[Ch]: layout as string
9453
9454         * lyxtextclasslist.[Ch]: layout as string
9455
9456         * lyxtextclass.[Ch]: layout as string
9457
9458         * lyxtext.h: layout as string
9459
9460         * lyxlayout.[Ch]: layout as string
9461
9462         * lyx_cb.C: layout as string
9463
9464         * bufferview_funcs.C: layout as string
9465
9466         * bufferparams.C: layout as string
9467
9468         * buffer.C: layout as string
9469
9470         * LyXView.[Ch]: layout as string
9471
9472         * LaTeXFeatures.[Ch]: layout as string
9473
9474         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9475
9476         * BufferView_pimpl.C: change current_layout to string, remove
9477         lyx::layout_type.
9478         (Dispatch):
9479         (smartQuote):
9480         (insertInset):
9481         (workAreaButtonRelease): layout as string
9482
9483         * BufferView2.C (unlockInset): adjust
9484
9485         * vspace.C (asLatexCommand): use an explict temp variable.
9486
9487 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9488
9489         * Makefile.am: use FRONTEND_*
9490
9491 2002-03-01  Juergen Vigna  <jug@sad.it>
9492
9493         * tabular.C (SetWidthOfMulticolCell): changed to something better
9494         I hope but still work in progress.
9495         (recalculateMulticolumnsOfColumn): renamed function from
9496         recalculateMulticolCells as it is more appropriate now.
9497         (SetWidthOfCell): calculate multicols better.
9498
9499 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9500
9501         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9502
9503         * lyxfunc.C (processKeySym): print sequence also if it is
9504         `deleted' (complete)
9505
9506         * kbsequence.C (print): print sequence even if it is deleted
9507         (complete would be a better word, actually).
9508
9509         * lyxfunc.C (dispatch): print complete options after a prefix key
9510
9511         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9512
9513 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9514
9515         * text2.C (setCharFont): eliminate setCharFont code duplication.
9516
9517 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9518
9519         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9520         LFUN_TABULAR_FEATURE (bug #177)
9521
9522 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9523
9524         * Makefile.am: remove figure.h
9525
9526 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9527
9528         * Bufferview_pimpl.C:
9529         * CutAndPasteC:
9530         * LaTeX.C:
9531         * LyXSendto.C:
9532         * buffer.C:
9533         * bufferlist.C:
9534         * converter.C:
9535         * language.C:
9536         * lyxfunc.C:
9537         * lyxvc.C:
9538         * paragraph.C:
9539         * text.C:
9540         * text2.C: remove #include "lyx_gui_misc.h".
9541
9542         * LaTeX.C: added #include <cstdio>
9543
9544 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9545
9546         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9547         that the paragraph following this one can have.
9548
9549         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9550
9551         * vspace.C (asLatexCommand): fix bogus gcc warning
9552
9553         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9554
9555 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9556
9557         * text2.C (setLayout): get rid of redundant code
9558
9559 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9560
9561         * text2.C (incDepth): make sure depth cannot be increased beyond
9562         reasonable values.
9563
9564 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9565
9566         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9567         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9568
9569         * PainterBase.h (image):
9570         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9571         a LyXImage const *.
9572
9573 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9574
9575         * BufferView.C:
9576         * BufferView.h:
9577         * BufferView_pimpl.C:
9578         * BufferView_pimpl.h:
9579         * LaTeXFeatures.C:
9580         * LyXAction.C:
9581         * LyXView.C:
9582         * Makefile.am:
9583         * UpdateList.h:
9584         * UpdateList.C:
9585         * buffer.C:
9586         * figure.h:
9587         * figureForm.C:
9588         * figureForm.h:
9589         * figure_form.C:
9590         * figure_form.h:
9591         * lyx_cb.C:
9592         * lyx_gui.C:
9593         * lyx_gui_misc.C:
9594         * lyxfunc.C:
9595         * sp_base.h:
9596         * sp_ispell.h:
9597         * sp_pspell.h:
9598         * sp_spell.C: remove fig inset, and the crap house of
9599           cards that follows it
9600
9601 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9602
9603         * Makefile.am:
9604         * lyxserver.C:
9605         * os2_defines.h:
9606         * os2_errortable.h:
9607         * nt_defines.h: move .h into support/
9608
9609         * vms_defines.h: remove
9610
9611         * WorkArea.C: add space in debug output
9612
9613         * text2.C:
9614         * paragraph.C:
9615         * buffer.C: add WITH_WARNINGS
9616
9617         * vc-backend.h:
9618         * vc-backend.C:
9619         * bufferlist.C: s/retrive/retrieve/, add docs
9620
9621         * vspace.h:
9622         * vspace.C:
9623         * kbmap.h:
9624         * lyxlength.h:
9625         * lyxgluelength.h:
9626         * length_common.h:
9627         * chset.h:
9628         * chset.C: add docs
9629
9630         * lyxgui.C: add ID to X error handler
9631
9632         * lyxtestclass.c: fix typo
9633
9634 2002-02-26  Juergen Vigna  <jug@sad.it>
9635
9636         * tabular_funcs.C (write_attribute): changed so that some default
9637         attributes are not written at all.
9638         (getTokenValue): set default values before trying to read the
9639         value so we have the return value always set as default if we don't
9640         find the token we search for.
9641
9642         * tabular.C (Write): write bools as bools not as strings!
9643
9644 2002-02-22  Juergen Vigna  <jug@sad.it>
9645
9646         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9647         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9648
9649         * text.C (leftMargin): don't add an indent for paragraphs inside
9650         tabular cells (fix #208).
9651
9652 2002-02-21  José Matos  <jamatos@fep.up.pt>
9653
9654         * tabular.C (docBook): fixed support for long tables.
9655
9656 2002-02-20  Juergen Vigna  <jug@sad.it>
9657
9658         * text2.C (getFont): get the drawing font of the Inset if this
9659         paragraph is inside an inset (only important for InsetERT for now).
9660
9661         * buffer.C (insertErtContents): use new lanugage params in ERT
9662         constructor.
9663
9664         * CutAndPaste.C: commenting out seemingly uneeded code.
9665
9666 2002-02-19  Allan Rae  <rae@lyx.org>
9667
9668         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9669         Iterators might be simple to use but they also get invalidated.
9670         (removeAutoInsets): renamed saved cursor tracking variables and added
9671         some comments to clarify what everything does.
9672
9673 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9674
9675         * Chktex.C:
9676         * LaTeX.C:
9677         * LyXSendto.C:
9678         * converter.C:
9679         * lyx_cb.C:
9680         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9681         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9682
9683         * lyxfunc.C:
9684         * vc-backend.h: remove #include "support/syscall.h"
9685
9686         * LaTeX.C:
9687         * LyXSendto.C:
9688         * converter.C: rearrange #includes in Lars' approved fashion.
9689
9690         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9691         forward declare class Timeout in the header file.
9692
9693         * XFormsView.C: changes due to the above.
9694
9695         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9696         similar to LyXView.
9697
9698         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9699         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9700
9701 2002-02-18  José Matos  <jamatos@fep.up.pt>
9702
9703         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9704         insets contents.
9705
9706 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9707
9708         * a lot of small ws changes
9709         * add a lot of using std::XXX
9710         * use std construcs some places where approp.
9711         * use some exisint stuff from lyxfunctional where approp.
9712         * Make file changes to use partial linking (lets test this now...)
9713
9714 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9715
9716         * Chktex.C:
9717         * buffer.C:
9718         remove #include "support/syscontr.h" as it's redundant. Always has been.
9719
9720         * Chktex.C:
9721         * LaTeX.C:
9722         * LyXSendto.C:
9723         * converter.C:
9724         * lyx_cb.C:
9725         * vc-backend.C:
9726         change Systemcalls::System to Systemcalls::Wait and
9727         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9728         No change of functionality, just reflects the stripped down Systemcalls
9729         class.
9730
9731 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9732
9733         * debug.[Ch]: add a GRAPHICS type to the enum.
9734
9735 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9736
9737         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9738
9739         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9740         there is an inset.
9741
9742 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9743
9744         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9745         match the changes below.
9746
9747         * text2.C (toggleInset): if there is not editable inset at cursor
9748         position, try to see if cursor is _inside_ a collapsable inset
9749         and close it.
9750
9751 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9752
9753         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9754         document menu has a nice checkbox
9755
9756 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9757
9758         * lyxlength.C (asLatexString): change PW to output as percent of
9759         \textwidth.
9760
9761         * lengthcommon.C: change '%' to 't%'
9762
9763         * lyxfunc.C (dispatch): a few comments from Martin
9764
9765 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9766
9767         * WorkArea.h:
9768         * WorkArea.C:
9769         * BufferView_pimpl.h:
9770         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9771           the X selection.
9772
9773 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9774
9775         * vspace.C (inPixels): fix compiler warning
9776
9777 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9778
9779         * lyxfunc.C (getStatus): fix status message for disabled commands.
9780
9781 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9782
9783         * BufferView_pimpl.C: fix crash on close buffer
9784         during selection (#227)
9785
9786 2002-01-27  Herbert Voss  <voss@lyx.org>
9787
9788         * buffer.C: link old Figure to new graphic inset
9789
9790 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9791
9792         * FontLoader.C (getFontinfo): Change the latex font names in order
9793         to match the names of type1inst.
9794
9795 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9796
9797         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9798
9799         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9800         (extchanged): ditto
9801         (ext_exist): ditto
9802         (remove_files_with_extension): ditto
9803         (remove_file): ditto
9804         (write): ditto
9805
9806         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9807         document is smaller than the work area height. Do not initialize
9808         static variables to 0.
9809
9810 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9811
9812         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9813
9814         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9815         LFUN_LAYOUT_PARAGRAPHS.
9816
9817         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9818         tabular. It is possible to provide a possible cell, which will
9819         typically be the actcell from the corresponding insettabular
9820
9821         * lyxfunc.C (getStatus): small cleanup; disable
9822         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9823         true
9824
9825 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9826
9827         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9828
9829         * paragraph.C (startTeXParParams):
9830         (endTeXParParams): new methods. The LaTeX code to
9831         start/end paragraph formatting
9832         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9833         empty (fixes bug #200)
9834
9835         * vspace.C (inPixels): adapt to the change below
9836         (inPixels): [later] more cleanups (remove unused variables)
9837
9838         * lyxlength.C (inPixels): change to use a width and a height as
9839         parameter.
9840
9841 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9842
9843         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9844         Replaced with \paperwidth
9845
9846         * DepTable.C (insert): add std:: qualifier
9847
9848 2002-01-18  Allan Rae  <rae@lyx.org>
9849
9850         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9851         updated also?
9852
9853         * text.C (drawInset): Turned out I didn't know enough about how
9854         rebreaking worked.  This fixes most of the redraw problems.  I see
9855         an occasional cursor trail when a line is broken now and the cursor
9856         placement can seem out by a few pixels also after a rebreak.
9857
9858 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9859
9860         * buffer.C (parseSingleLyXformat2Token): update because minipage
9861         width is now a LyXLength
9862
9863         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9864
9865         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9866         math insets
9867
9868 2002-01-17  Juergen Vigna  <jug@sad.it>
9869
9870         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9871
9872         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9873         is set correctly and the inset is updated correctly.
9874
9875 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9876
9877         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9878         the beginning of the loop.
9879
9880 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9881
9882         * lyxrc.C: improve help for use_scalable_fonts
9883
9884 2002-01-17  Allan Rae  <rae@lyx.org>
9885
9886         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9887
9888 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9889
9890         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9891         make sure to set their inset_owner to the right value (bug #171)
9892
9893 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9894
9895         * DepTable.h
9896         * DepTable.C: Implement mtime checking to reduce time spent doing
9897         CRCs.
9898
9899 2002-01-16  Juergen Vigna  <jug@sad.it>
9900
9901         * tabular.C (GetAdditionalHeight): one of error fixed.
9902
9903         * lyxrc.C (output): small fix in writing use_pspell.
9904
9905 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9906
9907         * sp_base.h: #include LString.h
9908
9909 2002-01-16  Allan Rae  <rae@lyx.org>
9910
9911         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9912         Can someone check this please?
9913
9914         * text.C (drawInset): It was possible that p.row would be removed by
9915         breakAgainOneRow upsetting a few other settings.  There may be another
9916         small tweak possible by setting need_break_row = 0 when p.row has been
9917         removed but I don't know enough about the logic here.
9918
9919 2002-01-15  Allan Rae  <rae@lyx.org>
9920
9921         * text.C (insertChar): removed conditional truism.
9922
9923         * BufferView2.C (removeAutoInsets): More tweaks.
9924         cur_par_prev could be a stray pointer.  Check for trailing empty line
9925         in case last line was cur_par and only had an error inset on it.
9926
9927 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9928
9929         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9930         absolute
9931
9932         * vc-backend.C (most methods):
9933         * exporter.C (Export):
9934         * converter.C (convert):
9935         (runLaTeX):
9936         * LyXSendto.C (SendtoApplyCB):
9937         * lyxfunc.C (dispatch):
9938         (menuNew):
9939         (open):
9940         (doImport):
9941         * lyx_cb.C (AutoSave):
9942         (InsertAsciiFile):
9943         * BufferView_pimpl.C (MenuInsertLyXFile):
9944         * buffer.C (runChktex): use Buffer::filePath().
9945
9946         * buffer.h: rename filename to filename_; rename filepath to
9947         filepath_ and make it private
9948         (filePath): new method
9949
9950         * buffer.C (writeFile): use fileName()
9951         (getLatexName):
9952
9953         * lyx_main.C (init): fix starting  of LyX when the binary is a
9954         link from so,ewhere else.
9955
9956         * minibuffer.C: include <cctype> for isprint
9957
9958 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9959
9960         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9961         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9962         name clash with InsetCollapsable's width function.
9963
9964 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9965
9966         * lastfiles.C: include <iterator>
9967
9968 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9969
9970         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9971         std::count.
9972
9973         * buffer.C (makeLaTeXFile): ditto.
9974         Also make loop operation more transparent.
9975
9976 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9977
9978         * ToolbarDefaults.C: remove trailing comma closing namespace.
9979
9980         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9981
9982         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9983         as in WorkArea.
9984
9985         * trans.C (Load): comment out unused variable, allowed.
9986
9987 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9988
9989         * minibuffer.[Ch] (append_char): new method to recieve input from the
9990         drop-down completion browser. If a key was pressed, then recieve this
9991         char and append it to the existing string.
9992         (peek_event): modify the positioning data passed to the completion
9993         browser so that it can be placed above the minibuffer rather than below.
9994 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9995
9996         * LyXAction.C (init): alloe error-next for readonly documents.
9997
9998         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9999         count.
10000
10001 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10002
10003         * bufferlist.C (readFile): create the buffer _after_ checking that
10004         the file exists.
10005
10006         * lyxfunc.C (verboseDispatch): fix handling of arguments
10007
10008         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10009
10010         * lyxrc.C: use string::erase() instead of initializing to "".
10011
10012
10013 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10014
10015         * BufferView_pimpl.h:
10016         * BufferView_pimpl.C:
10017         * WorkArea.h:
10018         * WorkArea.C:
10019         * text2.C: tell X when we have made a selection for copying
10020
10021 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10022
10023         * BufferView_pimpl.C (MenuInsertLyXFile):
10024         * lyxfunc.C (menuNew):
10025         (open):
10026         (doImport): add shortcuts to directory buttons
10027
10028         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10029         open a float)
10030
10031         * lyxfunc.C (setStatusMessage):
10032         (getStatusMessage): new methods
10033         (getStatus):use setStatusMessage instead of setErrorMessage
10034         (dispatch): when function is disabled, set error message here
10035         [instead of in getStatus previously]
10036
10037         * BufferView_pimpl.C (workAreaButtonRelease): update
10038         toolbar/menubar here too.
10039
10040 2002-01-13  Allan Rae  <rae@lyx.org>
10041
10042         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10043         Now seems indestructible.  Remaining task is to audit all other
10044         code affected by deleteEmptyParagraphMechanism.  One small quirk
10045         left is that an empty document with an error in the preamble can
10046         be made to report an error but no error box appears.  I don't know
10047         where it goes.
10048         (removeAutoInsets): Improved comments.
10049
10050 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10051
10052         * Thesaurus.h:
10053         * Thesaurus.C: update for Aiksaurus 0.14
10054
10055 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10056
10057         * text2.C (firstParagraph): removed member function, all uses
10058         replaces with ownerParagraph
10059         (redoParagraphs): here
10060         (updateInset): here
10061         (toggleAppendix): here
10062         * BufferView2.C (insertErrors): here
10063         (setCursorFromRow): here
10064
10065 2002-01-13  Allan Rae  <rae@lyx.org>
10066
10067         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10068         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10069         There is still a way to segfault this although you may have to do this
10070         multiple times: Have an InsetERT with an unknown command in it.
10071         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10072         <down-arrow>, <Enter> again, View->DVI, BANG!
10073
10074         * text2.C (setCursor):
10075         (deleteEmptyParagraphMechanism):
10076         * lyxtext.h (setCursor):
10077         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10078         Making use of the return value may help fix other bugs.
10079
10080 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10081
10082         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10083
10084         * LyXView.C (updateMenubar): call MenuBar::update here
10085         (updateToolbar): but not here
10086         (showState): do not update toolbar/menubar
10087
10088         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10089         should need to care about that.
10090
10091         * lyxfunc.C (verboseDispatch): simplify a bit
10092         (getStatus): have a version which takes a pseudoaction, and
10093         another which requires a (kb_action,string).
10094
10095         * LyXAction.C (retrieveActionArg): make it work also when action
10096         is not a pseudo-action.
10097         (getActionName): simplify a bit
10098         (helpText):
10099
10100 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10101
10102         * lyxfunc.C (verboseDispatch): new families of methods with
10103         several ways to specify a command and a bool to indicate whether
10104         the command name and shortcut should be displayed in minibuffer
10105         (eventually, we could extend that to a finer bitmask like
10106         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10107         (dispatch): the pristine dispatch command which just, well,
10108         dispatchs! Note it still sets its result to minibuffer; I'm not
10109         sure we want that.
10110
10111         * lyxfunc.h: remove setHintMessage
10112
10113         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10114
10115 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10116
10117         * BufferView_pimpl.C (specialChar): delete new inset if we have
10118         not been able to insert it.
10119
10120         * kbmap.C: revert to using int instead of kb_action, since all we
10121         are dealing with is pseudo-actions.
10122
10123         * LyXAction.C (searchActionArg): change to return int instead of
10124         kb_action, since the result is a pseudoaction.
10125
10126 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10127
10128         * buffer.C (insertErtContents): Fix (partially) the font bug.
10129
10130 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10131
10132         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10133         as the other one is broken on my machine!
10134
10135 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10136
10137         * commandtags.h:
10138         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10139
10140 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10141
10142         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10143         reflect their actual use. Provide compatibility code for older lyxrc
10144         files.
10145
10146         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10147         FL_NORMAL_STYLE.
10148         change names of popup font variables in line with the changes to lyxrc.C
10149
10150 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10151
10152         * buffer.C (asciiParagraph): avoid outputing a word twice after
10153         an inset.
10154
10155         * lyxrc.C (getDescription): document that document_path and
10156         template_path can be empty.
10157
10158 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10159
10160         * LaTeXFeatures.C (getMacros):
10161         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10162
10163         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10164
10165         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10166         getPackages.
10167         (getPackages): rename feature "floats" to "float". Use an array to
10168         iterate over 'simple' features (i.e. just a \usepackage). Add
10169         handling of "amsmath" (renamed from "amsstyle").
10170
10171 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10172
10173         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10174         features list.
10175
10176 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10177
10178         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10179         FuncStaus::FuncStatus & FuncStaus::some_method().
10180
10181 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10182
10183         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10184         of the func_satus stuff. Edited and massaged in various ways by
10185         JMarc.
10186
10187         * lyxfunc.C (getStatus): use FuncStatus
10188
10189 2002-01-08  Juergen Vigna  <jug@sad.it>
10190
10191         * text.C (nextBreakPoint): use function Inset::isChar().
10192
10193         * paragraph.C (TeXOnePar): use function
10194         Inset::forceDefaultParagraphs.
10195
10196         * buffer.C (latexParagraphs): use function
10197         Inset::forceDefaultParagraphs.
10198
10199 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10200
10201         * lyx_gui.C (init): set the style of the menu popups to
10202         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10203
10204 2002-01-07  Juergen Vigna  <jug@sad.it>
10205
10206         * text.C (setHeightOfRow): small fix
10207         (prepareToPrint): don't look at alignment if we don't have the place
10208         for doing it.
10209
10210 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10211
10212         * box.C: New file. Move the Box methods and functions out of box.h,
10213         following Lars' suggestion.
10214
10215 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10216
10217         * box.h: #include "support/LOstream.h", needed for inlined function.
10218
10219         * lyxtextclass.C:
10220         * lyxtextclasslist.C: added some using std declarations.
10221
10222 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10223
10224         * box.h: make signed dimensions to allow insets wider than
10225           the screen (bug #162)
10226
10227         * BufferView_pimpl.C: add some insetHit debug
10228
10229 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10230
10231         * vc-backend.C: add FIXME
10232
10233 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10234
10235         * lyxfunc.C (getStatus): enable code for showing math font status
10236         in toolbar/menu.
10237
10238 2002-01-07  Juergen Vigna  <jug@sad.it>
10239
10240         * text.C (nextBreakPoint): removed debug output not needed anymore.
10241
10242 2002-01-06  Juergen Vigna  <jug@sad.it>
10243
10244         * text.C (nextBreakPoint): fixed up this function we had this bug
10245         since ever but now hopefully we break row better.
10246         (insertChar): we have to check if an inset is the next char as it
10247         could now happen that a large inset is causing a break.
10248
10249 2002-01-05  Juergen Vigna  <jug@sad.it>
10250
10251         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10252         if it doesn't like to be drawed.
10253
10254 2002-01-04  Juergen Vigna  <jug@sad.it>
10255
10256         * BufferView2.C (lockInset): forgot to set a cursor.
10257
10258         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10259
10260 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10261
10262         * FormMathsPanel.C:
10263         * FormMathsPanel.h
10264         * MathsSymbols.C:
10265         * form_maths_panel.C:
10266         * form_maths_panel.h:
10267         * form_maths_panel.fd: implemented sub- and super- buttons in math
10268         panel.
10269
10270         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10271         (or ^ space) to be used as in TeX (req'd by André).
10272
10273         * lyxfunc.C: Allow ^ and _ again to be used both as
10274         super/subscript (mathed) and as themselves (in text).
10275
10276 2002-01-03  Allan Rae  <rae@lyx.org>
10277
10278         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10279         "LyX" or the filename of the current buffer if it has one.  This is a
10280         modified form of John Levon's patch.
10281
10282         * XFormsView.C (setWindowTitle): also set icon title.
10283
10284         * LyXView.h (setWindowTitle): signature changed.
10285         * XFormsView.h (setWindowTitle): ditto.
10286
10287 2002-01-02  Juergen Vigna  <jug@sad.it>
10288
10289         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10290
10291 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10292
10293         * screen.C (topCursorVisible): introduce a temp var for
10294         text->cursor.row(), handle the case where this row is null. (kindo
10295         hachish)
10296
10297         * text2.C (setCursor): add a couple of asserts.
10298
10299         * paragraph.h (inset_iterator): add -> operator
10300
10301         * paragraph.[Ch] (autoDeleteInsets): remove member function
10302
10303         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10304         cursor pos correctly and handle inset deletion by itself.
10305         (insertErrors): move iterator declaration out of for expression
10306
10307         * lyxtextclass.C: add <algorithm>
10308
10309         * Makefile.am: added the new files to sources, removed layout.C
10310
10311         * layout.C: removed file
10312
10313         * layout.h: remove LYX_DUMMY_LAYOUT
10314
10315         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10316         layout.
10317
10318         * lyxlayout.[Ch]:
10319         * lyxtextclass.[Ch]:
10320         * lyxtextclasslist.[Ch]: new files
10321
10322         * include order changes to a lot of files, also changes because of
10323         the six new files.
10324
10325 2001-12-27  Juergen Vigna  <jug@sad.it>
10326
10327         * buffer.C (asciiParagraph): more fixes.
10328
10329         * tabular.C (ascii): make ascii export support export of only the
10330         data separated by a column-delimiter.
10331         (ascii): better support for ascii export.
10332
10333         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10334
10335 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10336
10337         * tabular_funcs.C: use a "using std::getline" instead of the
10338         previous fix from Angus (necessary for cxx + lyxstring)
10339
10340 2001-12-24  Juergen Vigna  <jug@sad.it>
10341
10342         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10343
10344         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10345         problems. First check a minipage also if we have some ert-contents
10346         (not only on par->size(), second set the right depth of the paragraph
10347         on the relink to the root-paragraph-list!
10348
10349         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10350         which then did not anymore update the main paragraphs on undo/redo!
10351
10352 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10353
10354         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10355         code. Support all font-changing funcs (even those which are not in
10356         menu currently). Support for reporting font settings in
10357         mathed (disabled until Andre provides a function on mathed's side).
10358
10359         * func_status.h (toggle): small helper function to set toggle
10360         state on a flag.
10361
10362 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10363
10364         * tabular_funcs.C: getline -> std::getline
10365
10366 2001-12-21  Juergen Vigna  <jug@sad.it>
10367
10368         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10369         accessed and could be 0 (I couldn't generate this but it seems
10370         Michael could!).
10371
10372 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10373
10374         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10375         * tabular_funcs.h: here and include iosfwd
10376
10377 2001-12-20  Juergen Vigna  <jug@sad.it>
10378
10379         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10380         inside inset but undo_par was.
10381
10382 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10383
10384         * Thesaurus.C: always include <config.h> in sources.
10385
10386         * Painter.h:
10387         * lyxlookup.h:
10388         * box.h: do not include <config.h> in header files
10389
10390         * text.C (paintLastRow): remove unused variable
10391
10392         * text.C (transformChar):
10393         (insertChar):
10394         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10395
10396         * Painter.C (text):
10397         * font.C (width): rewrite to use uppercase() instead of
10398         islower/toupper.
10399
10400         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10401
10402 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10403
10404         * lyxfind.C: clean up of find failure position change
10405
10406 2001-12-20  Juergen Vigna  <jug@sad.it>
10407
10408         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10409
10410         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10411         (TeXRow): added to LaTeX a single tabular row.
10412         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10413         (Latex): simplified and finally good LT-h/f support.
10414         (various_functions): just small adaptions for LT-h/f support.
10415
10416         * tabular_funcs.[hC]: added and moved here all not classfunctions
10417         of LyXTabular.
10418
10419 2001-12-19  Juergen Vigna  <jug@sad.it>
10420
10421         * tabular.[Ch]: better support for longtabular options (not finished
10422         yet!)
10423
10424 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10425
10426         * text.C (paintLastRow): use the label font instead of the font of
10427         the last character to compute the size of *_BOX. This makes more
10428         sense and avoids a crash with empty paragraphs.
10429         Use Painter::rectangle to draw EMPTY_BOX.
10430
10431 2001-12-19  Juergen Vigna  <jug@sad.it>
10432
10433         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10434         the paragraphs if the replaced paragraph is not the first one!
10435         Tried to delete not used paragraphs but does not work yet so for
10436         now it's inside #ifdef's and by default off!
10437
10438 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10439
10440         * MenuBackend.C: include "lyx_main.h" instead of declaring
10441         lastfiles (actually was declared as LastFiles* instead of a
10442         scoped_ptr).
10443
10444 2001-12-17  Juergen Vigna  <jug@sad.it>
10445
10446         * tabular.C (AppendColumn): applied John's fix
10447
10448 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10449
10450         * BufferView.h:
10451         * BufferView.C:
10452         * BufferView_pimpl.h:
10453         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10454
10455         * Makefile.am:
10456         * box.h: new start of class for above
10457
10458         * lyxfunc.C: ignore space-only minibuffer dispatches.
10459           Show the command name when it doesn't exist
10460
10461         * minibuffer.C: don't add empty lines to the history
10462
10463         * minibuffer.C: add a space on dropdown completion
10464
10465 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10466
10467         * text.C: fix line above/below drawing in insets
10468
10469 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10470
10471         * lyxlength.C (LyXLength): Initialize private variables.
10472
10473 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10474
10475         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10476         when inserting error insets.
10477
10478 2001-12-13  Juergen Vigna  <jug@sad.it>
10479
10480         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10481         actually sometimes the before-paragraph.
10482         (setUndo): don't clear the redostack if we're not actually undoing!
10483
10484 2001-12-06  Juergen Vigna  <jug@sad.it>
10485
10486         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10487         and fixed redoing of main paragraph, so we can use it now ;)
10488
10489         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10490
10491 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10492
10493         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10494         Juergen's request
10495
10496 2001-12-13  André Pönitz <poenitz@gmx.net>
10497
10498         * undostack.[Ch]:
10499         * undo_func.C: minor cleanup
10500
10501 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10502
10503         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10504         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10505         font in urw-fonts package which is marked as -urw-fontspecific and
10506         does not work (incidentally, changing the encoding in the
10507         fonts.dir of this package to -adobe-fontspecific fixes the
10508         problem).
10509
10510         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10511         is a crash when undoing first paragraph (Juergen, please take a
10512         look). THis does not mean the undo fix is wrong, just that it
10513         uncovers problems.
10514
10515         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10516         the (Paragraph*) version when needed instead of duplicating the
10517         code.
10518
10519         * text.C (workWidth): use Inset::parOwner to find out where the
10520         inset has been inserted. This is a huge performance gain for large
10521         documents with lots of insets. If Inset::parOwner is not set, fall
10522         back on the brute force method
10523
10524         * paragraph_pimpl.C (insertInset):
10525         * paragraph.C (Paragraph):
10526         (cutIntoMinibuffer): set parOwner of insets when
10527         inserting/removing them
10528
10529         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10530
10531 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10532
10533         * commandtags.h:
10534         * LyXAction.C:
10535         * lyx_main.C:
10536         * lyxfunc.C:
10537         * mathed/formulabase.C:
10538         * mathed/math_cursor.[Ch]:
10539         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10540
10541
10542 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10543
10544         * lyxlength.[Ch] (operator!=): new function
10545
10546 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10547
10548         * text.C (workWidth): use Inset::parOwner to find out where the
10549         inset has been inserted. This is a huge performance gain for large
10550         documents with lots of insets. If Inset::parOwner is not set, fall
10551         back on the brute force method
10552
10553         * paragraph_pimpl.C (insertInset):
10554         * paragraph.C (Paragraph):
10555         (cutIntoMinibuffer): set parOwner of insets when
10556         inserting/removing them
10557
10558         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10559
10560 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10561
10562         * tabular-old.C (getTokenValue):
10563         * tabular.C (getTokenValue):
10564         (write_attribute): new versions for LyXLength
10565         (everywhere): adjust the use of widths
10566
10567         * tabular.h: change the type of widths from string to LyXLength
10568
10569 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10570
10571         * paragraph.C: fixed missing line number count when exporting
10572         Environments to LaTeX file
10573
10574         * buffer.C: added informational message for checking line numbers.
10575
10576 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10577
10578         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10579         paragraph, do the 'double space' part, but not the 'empty
10580         paragraph' one.
10581
10582         * text.C (workWidth): small optimization
10583         (getLengthMarkerHeight): use minimal size for negative lengths.
10584
10585 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10586
10587         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10588
10589         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10590
10591 2001-12-11  André Pönitz <poenitz@gmx.net>
10592
10593         * FontLoader.C:
10594         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10595
10596 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10597
10598         * text2.C: keep selection on a setFont()
10599
10600 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10601
10602         * lyx_cb.C: another bv->text misuse, from insert label
10603
10604 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10605
10606         * kbsequence.h:
10607         * kbsequence.C: re-instate nmodifier mask
10608
10609 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10610
10611         * lyx_main.h: make lyxGUI private.
10612
10613 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10614
10615         * lyxfind.C: place the cursor correctly on failed search
10616
10617 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10618
10619         * text.C (getLengthMarkerHeight): for small heights, the arrows
10620         are not always on top/bottom of the text
10621         (drawLengthMarker): smaller arrows; take the left margin in
10622         account; draw also vfills.
10623         (paintFirstRow):
10624         (paintLastRow): remove special code for vfill and standard spaces,
10625         since everything is handled in drawLengthMarker now.
10626
10627 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10628
10629         * buffer.C (insertErtContents): try to handle font and language
10630         interaction a bit better.g
10631
10632         * ColorHandler.C (updateColor): change the hash to cover the whole
10633         LColor enum, ws cleanup
10634         (getGCLinepars): ditto
10635         (getGCLinepars): only lookup in the linecache once.
10636
10637 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10638
10639         * iterators.C (operator++): Make the iterator more robust
10640
10641         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10642         (John's patch)
10643         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10644
10645 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10646
10647         * lyxtext.h:
10648         * text.C: better added space drawing
10649
10650 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10651
10652         * LyXView.C:
10653         * BufferView2.C: fix layout combo update on inset unlock
10654
10655 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10656
10657         * Makefile.am: don't compile unused files
10658
10659 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10660
10661         * lyxfunc.C:
10662         * commandtags.h:
10663         * LyXAction.C: remove old LFUN_LAYOUTNO
10664
10665 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10666
10667         * paragraph_pimpl.h:
10668         * paragraph_pimpl.C: isTextAt() doesn't need font param
10669
10670 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10671
10672         * lyxlex.h:
10673         * lyxlex.C: little cleanup
10674
10675 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10676
10677         * BufferView_pimpl.C: fix insertAscii for insets
10678
10679 2001-12-05  Juergen Vigna  <jug@sad.it>
10680
10681         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10682         set the right font on the "multi" paragraph paste!
10683
10684 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10685
10686         * trans_decl.h:
10687         * trans_mgr.[Ch]:
10688         * trans.[Ch]:
10689         * lyxgluelength.C:
10690         * lyxlength.C: remove out-commented code.
10691
10692         * BufferView_pimpl:
10693         * CutAndPaste.C:
10694         * DepTable.C:
10695         * buffer.C:
10696         * chset.C:
10697         * lastfiles.C:
10698         * lyxlex.C:
10699         * lyxlex_pimpl.C:
10700         * lyxserver.C:
10701         * screen.C:
10702         * tabular-old.C:
10703         * tabular.C:
10704         * text.C:
10705         * trans_mgr.C:
10706         * vc-backend.C: change "while(" to "while ("
10707
10708         * lyxlength.[Ch]: add zero function to check if length is zero or
10709         not
10710         * lyxgluelength.C: use it
10711
10712 2001-12-05  Allan Rae  <rae@lyx.org>
10713
10714         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10715         Works for 2.95.3, from what I understand of Garst's reports this should
10716         work for other g++ versions.  We're screwed if the abs(int) definition
10717         changed between bugfix releases of gcc.
10718
10719 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10720
10721         * text.C: fix chapter label offset !
10722
10723 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10724
10725         * lyxtext.h:
10726         * text.C: fix hfill at end of line, clean up
10727
10728 2001-12-04  Juergen Vigna  <jug@sad.it>
10729
10730         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10731         that we force an update of the inset and it's owners if neccessary.
10732
10733 2001-12-03  Juergen Vigna  <jug@sad.it>
10734
10735         * text.C (rowLast): simplified code
10736
10737 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10738
10739         * lyxfunc.C: fix show options on timeout
10740
10741 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10742
10743         * screen.C (topCursorVisible): scroll half a page when the cursor
10744         reached top of bottom of screen
10745
10746 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10747
10748         * minibuffer.C: deactivate on loss of focus
10749
10750 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10751
10752         * vspace.[Ch] (operator!=): add operator.
10753
10754 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10755
10756         * BufferView_pimpl.C: refuse to open an inset when
10757         there's a selection.
10758
10759 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10760
10761         * BufferView_pimpl.C: allow to click on RHS of full row insets
10762
10763 2001-11-30  Juergen Vigna  <jug@sad.it>
10764
10765         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10766         insets for undo reasons.
10767
10768 2001-11-28  André Pönitz <poenitz@gmx.net>
10769
10770         * vspace.[Ch]: cosmetical changes
10771
10772 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10773
10774         * LyXAction.h:
10775         * LyXAction.C:
10776         * lyxfunc.h:
10777         * lyxfunc.C:
10778         * kbmap.h:
10779         * kbmap.C:
10780         * lyxrc.C:
10781         * kbsequence.h:
10782         * kbsequence.C: part re-write of old kb code
10783
10784         * Painter.C:
10785         * WorkArea.C: remove Lgb_bug_find_hack
10786
10787 2001-11-30  José Matos <jamatos@fep.up.pt>
10788
10789         * buffer.C (makeDocBookFile): add a comment to point a hack.
10790         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10791         Fixed a double write of labels.
10792
10793 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10794
10795         * LaTeX.C:
10796         * LaTeX.h Fixed bug in LaTeX class where it would not
10797         re-run latex if no depfiles were changed, but the .dvi was removed.
10798
10799 2001-11-28  André Pönitz <poenitz@gmx.net>
10800
10801         * all the files from the change on 2001/11/26:
10802         use lyx::layout_type instead of LyXTextClass::size_type
10803         use lyx::textclass_type instead of LyXTextClassList::size_type
10804
10805 2001-11-29  Juergen Vigna  <jug@sad.it>
10806
10807         * text.C: added support for paragraph::isFreeSpacing()
10808
10809         * buffer.C: same as above
10810
10811         * paragraph.h: inserted isFreeSpacing() function to enable
10812         FreeSpacing inside InsetERT.
10813
10814         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10815         of the paragraph's in the cut/copy buffer to 0!
10816
10817         * text2.C (removeRow): remove the assert as it can!
10818
10819         * lyxtext.h: added helper function firstRow returning firstrow and
10820         made firstrow private again.
10821
10822         * BufferView2.C (lockInset): don't relock if we're already locked!
10823
10824         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10825         the only paragraph.
10826         (removeRow): added Assert::(firstrow)
10827
10828         * debug.C: forgot to add INSETTEXT here.
10829
10830 2001-11-28  Juergen Vigna  <jug@sad.it>
10831
10832         * sp_spell.C (initialize): changed error text to more general
10833         spellchecker command use (not only ispell!)
10834
10835         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10836
10837         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10838
10839 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10840
10841         * vspace.C: initialise lyxgluelength on failure
10842
10843 2001-11-28  Allan Rae  <rae@lyx.org>
10844
10845         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10846         declaration & definition that looks like a function declaration.
10847
10848 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10849
10850         * BufferView2.C (copy):
10851         (copyEnvironment): do not clear the selection when doing a copy.
10852
10853         * text.C (paintFirstRow): compilation fix
10854
10855 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10856
10857         * tabular.C (Latex): correct line count when writing latex.
10858
10859 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10860
10861         * paragraph_pimpl.h:
10862         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10863           bug a bit
10864
10865 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10866
10867         * text.C:
10868         * LColor.h:
10869         * LColor.C: change vfillline->added_space
10870
10871         * text.C: add markers and text for added space
10872
10873         * vspace.C: fix comment
10874
10875 2001-11-28  André Pönitz <poenitz@gmx.net>
10876
10877         * paragraph.C: whitespace changes
10878         * all the other files from the change on 2001/11/26:
10879         change *::pos_type into lyx::pos_type
10880
10881 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10882
10883         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10884         language of the document when inserting error insets.
10885
10886 2001-11-26  André Pönitz <poenitz@gmx.net>
10887
10888         * BufferView_pimpl.[Ch]:
10889         *       CutAndPaste.C:
10890         * buffer.[Ch]:
10891         * lyxcursor.[Ch]:
10892         * lyxfind.C:
10893         * lyxfunc.C:
10894         * lyxrow.[Ch]:
10895         * paragraph.[Ch]:
10896         * paragraph_pimpl.[Ch]:
10897         * sp_spell.C:
10898         * text.C:
10899         * text2.C: reduce header dependencies, introduce type for positions
10900
10901 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10902
10903         * <various>: change to use Alert.h
10904
10905 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10906
10907         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10908         when encountering an unknown token.
10909         (readLyXformat2): Show an error message if there were unknown tokens.
10910
10911 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10912
10913         * BufferView2.C:
10914         * BufferView_pimpl.C:
10915         * buffer.C:
10916         * paragraph.h:
10917         * text.C:
10918         * text2.C: use par->isInset()
10919
10920 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10921
10922         * paragraph_pimpl.h:
10923         * paragraph_pimpl.C: cleanup
10924
10925 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10926
10927         * text2.C (removeRow):
10928         * text.C (setHeightOfRow): remove useless (and costly) call to
10929         getRow.
10930
10931 2001-11-20  Allan Rae  <rae@lyx.org>
10932
10933         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10934         Now need Inset*::checkInsertChar() to return true for appropriate
10935         cases so that the characters in the minibuffer will actually be
10936         inserted.
10937
10938 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10939
10940         * text.C: change the order of the includes.
10941         (workWidth): initialize it at once.
10942         (workWidth): make maxw unsigned
10943         (setHeightOfRow): remove unused variable (inset)
10944         (selectSelectedWord): remove unused variable (inset)
10945         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10946
10947 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10948
10949         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10950         server is not running.
10951         (openConnection):
10952         (closeConnection): add debug info when server is disabled.
10953
10954         * ColorHandler.C (getGCForeground): send debug message to GUI
10955         channel.
10956
10957         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10958
10959         * kbmap.C (bind): modify because return conventions of
10960         kb_sequence::parse have changed.
10961
10962         * kbsequence.C (parse): only ignore spaces and not any stupid
10963         control character. This avoids tests like s[i] <= ' ', which are
10964         guaranteed to fail with 8bit characters and signed chars.
10965         Change return code to string::npos when there have been no error
10966         (0 was a bad idea when error is at first character)
10967
10968 2001-11-14  José Matos  <jamatos@fep.up.pt>
10969
10970         * buffer.h:
10971         * buffer.C (simpleDocBookOnePar): removed unused argument.
10972
10973 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10974
10975         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10976         insets which are part of a word. Paragraph::isLetter takes care of
10977         that now. Use Paragraph::isInset to identify insets.
10978         (selectSelectedWord): do not test for hyphenation break.
10979
10980         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10981         that protected spaces are considered as spaces.
10982
10983         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10984         Inset::isLetter.
10985
10986 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10987
10988         * lyxserver.h:
10989         * lyxserver.C: fix it. and small cleanup.
10990
10991 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10992
10993         * BufferView_pimpl.C: use inline helpers
10994
10995         * LaTeXFeatures.h:
10996         * LaTeXFeatures.C: fix typos
10997
10998         * Spacing.h:
10999         * Spacing.C: move spacing_string into class
11000
11001         * ToolbarDefaults.C: move stuff into namespace anon
11002
11003         * layout.h: update enum
11004
11005         * lyxfunc.C: use better debug
11006
11007         * minibuffer.h: fix typo
11008
11009         * debug.h:
11010         * debug.C:
11011         * WorkArea.C: add and use Debug::WORKAREA
11012
11013         * lyxtext.h:
11014         * text.C:
11015         * text2.C: code re-organisation, inline helpers
11016
11017 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11018
11019         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11020         std::vector.empty().
11021
11022 2001-11-09  Allan Rae  <rae@lyx.org>
11023
11024         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11025         '\n's after tables.  Tabular and ERT inset work now makes this no
11026         longer necessary.
11027
11028 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11029
11030         * minibuffer.h:
11031         * minibuffer.C: fix crash, improve drop-down completion
11032
11033 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11034
11035         * lyxserver.h:
11036         * lyxserver.C: invalidate fd's when doing endPipe()
11037
11038 2001-11-08  José Matos  <jamatos@fep.up.pt>
11039
11040         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11041         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11042
11043         * paragraph.h:
11044         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11045
11046 2001-11-07  José Matos  <jamatos@fep.up.pt>
11047
11048         * buffer.h:
11049         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11050         const qualifier.
11051
11052         * buffer.C (sgmlOpenTag):
11053         * buffer.C (sgmlCloseTag): removed debug info.
11054
11055         * buffer.h (sgmlOpenTag):
11056         * buffer.h (sgmlCloseTag): made public.
11057
11058 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11059
11060         * buffer.C (saveParamsAsDefaults):
11061         * lyx_cb.C (MenuLayoutSave): remove
11062
11063         * LyXAction.C (init):
11064         * commandtags.h:
11065         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11066
11067 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11068
11069         * buffer.C (setPaperStuff): removed from here...
11070
11071         * bufferparams.C (setPaperStuff): ... and moved there.
11072
11073 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11074
11075         * minibuffer.h:
11076         * minibuffer.C:
11077         * XFormsView.C: add support for drop-down completion
11078
11079 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11080
11081         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11082         commands.
11083
11084 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11085
11086         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11087         disabled.
11088
11089 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11090
11091         * lyx_main.C: change ref to known bugs
11092
11093 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11094
11095         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11096         to work around older babel problems.
11097
11098 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11099
11100         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11101
11102 2001-10-24  Juergen Vigna  <jug@sad.it>
11103
11104         * tabular-old.C (ReadOld): below variable changes reflected.
11105
11106         * tabular.[Ch]: added ltType struct for longtable header/footer
11107         defines and changed all instances where they are used. Added
11108         future support for double top/bottom rows.
11109
11110 2001-10-24  José Matos  <jamatos@fep.up.pt>
11111
11112         * buffer.h (docbookHandleCaption):
11113         * buffer.C (docbookHandleCaption): removed unused function.
11114         (makeDocBookFile): moved docbook supported version to v4.1.
11115
11116 2001-10-24  José Matos  <jamatos@fep.up.pt>
11117
11118         * tabular.h:
11119         * tabular.C (docbookRow): new function to export docbook code of a row.
11120         (DocBook): now honors the longtable flags.
11121
11122 2001-10-23  José Matos  <jamatos@fep.up.pt>
11123
11124         * LaTeXFeatures.h:
11125         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11126         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11127
11128         * buffer.C (makeLinuxDocFile):
11129         (makeDocBookFile): reworked the preamble, more clean, and with
11130         support for lyx defined entities. Changed the document declaration
11131         to be more XML friendly.
11132
11133         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11134         if we need to output XML that should be done with a filter.
11135
11136 2001-10-22  Juergen Vigna  <jug@sad.it>
11137
11138         * sp_pspell.h (class PSpell): add alive function needed in the
11139         controller to see if the spellchecker could be started.
11140
11141 2001-10-22  Juergen Vigna  <jug@sad.it>
11142
11143         * buffer.C (insertStringAsLines): modify the font for inserting
11144         chars in certain conditions by calling checkInsertChar(font).
11145
11146 2001-10-19  Juergen Vigna  <jug@sad.it>
11147
11148         * text.C (workWidth): use getRow instead of wrong algorithm.
11149         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11150
11151 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11152
11153         * lyxserver.h:
11154         * lyxserver.C:
11155         * lyx_main.h:
11156         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11157
11158 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11159
11160         * text.C (workWidth): do not search for the exact row when
11161         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11162         optimization for big documents.
11163
11164 2001-10-18  Juergen Vigna  <jug@sad.it>
11165
11166         * text.C (workWidth): new function with added Inset * parameter.
11167
11168 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11169
11170         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11171
11172         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11173         change return type of getColumnNearX.
11174
11175
11176         * text.C (changeRegionCase): use uppercase/lowercase instead of
11177         toupper/tolower.
11178         (leftMargin):
11179         (rightMargin): simplify code by factoring out the uses of
11180         textclasslist.
11181         (labelFill):
11182         (numberOfHfills):
11183         (setHeightOfRow):
11184         (appendParagraph): use Paragraph::size_type
11185
11186 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11187
11188         * vspace.C (asLatexString): add a missing break
11189
11190 2001-10-15  Herbert Voss  <voss@perce.de>
11191
11192         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11193
11194 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11195
11196         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11197         is not available.
11198
11199 2001-10-10  André Pönitz <poenitz@gmx.net>
11200
11201         * lyxfunc.C: removed greek_kb_flag.
11202
11203 2001-10-10  Herbert Voss  <voss@perce.de>
11204
11205         * lyx_main.C: delete global string help_lyxdir.
11206
11207 2001-10-09  Herbert Voss  <voss@perce.de>
11208
11209         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11210
11211         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11212
11213         * lyx_main.C: added global string help_lyxdir.
11214
11215         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11216
11217 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11218
11219         * lyxrc.C (set_font_norm_type): support iso8859-4
11220
11221 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11222
11223         * LaTeX.C (deplog): add another regex for MikTeX
11224
11225 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11226
11227         * lyxrc.C (set_font_norm_type): support iso8859-3
11228
11229 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11230
11231         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11232
11233         * LaTeXFeatures.C: remove special case of french and index
11234
11235         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11236         before \begin{document}). This solves several incompatibilities.
11237
11238 2001-10-03  Garst Reese  <reese@isn.net>
11239
11240         * lyx_cb.C: change CheckTex error msg.
11241
11242 2001-10-03  José Matos  <jamatos@fep.up.pt>
11243
11244         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11245
11246 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11247
11248         * .cvsignore: update
11249
11250         * lyx_main.C (commandLineVersionInfo): use new style version info.
11251
11252         * buffer.C (writeFile):
11253         (makeLaTeXFile):
11254         (makeLinuxDocFile):
11255         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11256
11257         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11258
11259         * version.h: update to use stuff in version.C
11260
11261         * version.C.in: new file. Contains version information determined
11262         at compile time. This is a merging of version.h and
11263         version_info.h.in.
11264
11265 2001-10-03  Juergen Vigna  <jug@sad.it>
11266
11267         * BufferView_pimpl.C (update): don't change "dirty" status in
11268         updateInset call.
11269
11270 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11271
11272         * WorkArea.C (c-tor): re-position version string slightly.
11273
11274 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11275
11276         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11277         revert to previous code.
11278
11279         WorkArea.[Ch]: (show, destroySplash): methods removed.
11280
11281         WorkArea.C: rework code so that it's an amalgam of the codes before and
11282         after the splash screen was moved to WorkArea.
11283
11284 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11285
11286         * lyxrc.C (read):
11287         * vspace.C (inPixels):
11288         (lyx_advance):
11289         * kbmap.C (bind):
11290         * buffer.C (insertStringAsLines):
11291         (asciiParagraph): fix types to be large enough
11292
11293         * lyxlex_pimpl.h: change member status from short to int
11294
11295         * layout.h: fix type of endlabeltype
11296
11297         * kbmap.C (bind):
11298         * kbsequence.C (parse): change return type to string::size_type
11299
11300         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11301         variable
11302
11303         * Bullet.C (bulletSize):
11304         (bulletEntry): do not use short ints as parameters
11305
11306         * BufferView2.C (insertLyXFile): change a char to an int.
11307
11308         * WorkArea.C (WorkArea): remove unneeded floats in computation
11309
11310 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11311
11312         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11313
11314         * paragraph.C (asString): Do not ignore newline/hfill chars when
11315         copying to the clipboard.
11316
11317 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11318
11319         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11320         after a multi-line inset.
11321
11322 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11323
11324         * paragraph.C (validate): Set NeedLyXFootnoteCode
11325
11326 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11327
11328         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11329         and decrease-error to decrease.
11330
11331 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11332
11333         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11334         it more readable (should be equivalent)
11335
11336 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11337
11338         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11339
11340 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11341
11342         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11343         of a cursor (row, etc.) after a character has been deleted
11344         (deleteEmptyParagraphMechanism): call the method above on _all_
11345         cursors held by the LyXText when a double space has been
11346         detected/deleted.
11347
11348 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11349
11350         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11351         pixmap.
11352         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11353
11354         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11355         background. Use greyOut() and the new show() methods to toggle between
11356         the foreground and background. Add code to remove the splash after
11357         its initial showing.
11358
11359         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11360         (create_forms): no longer call Dialogs::showSplash.
11361
11362 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11363
11364         * .cvsignore: add version_info.h
11365
11366 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11367
11368         * version_info.h.in: new file
11369
11370         * Makefile.am: add version_info.h.in
11371
11372         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11373         version_info.h instead of VERSION_INFO
11374
11375 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11376
11377         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11378         The ERT inset now returns string().
11379
11380 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11381
11382         * lyxtext.h, text.C (selectNextWord): renamed as
11383         selectNextWordToSpellcheck.
11384
11385         * text.C (selectNextWordToSpellcheck): Modified to not select
11386         words inside an ERT inset.
11387
11388 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11389
11390         * lyx_cb.C (MenuLayoutSave): change a bit the question
11391
11392         * sp_base.h: include <sys/types.h>
11393
11394 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11395
11396         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11397
11398 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11399
11400         * several files: fix typos in user-visible strings
11401
11402 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11403
11404         * text2.C (pasteSelection): do not set the selection, since it
11405         will be cleared later. Actually, the intent was to fix the way the
11406         selection was set, but I figured rmoving the code was just as good.
11407
11408 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11409
11410         * FontLoader.C (available): Check if font is available without
11411         loading the font.
11412
11413 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11414
11415         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11416
11417 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11418
11419         * lyxrc.[Ch]: added display_graphics variable and associated code.
11420
11421 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11422
11423         * bufferparams.C (hasClassDefaults): new method. Returns true if
11424         the buffer parameters correspond to known class defaults
11425
11426 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11427
11428         * XFormsView.C (show): set minimum size to the main window.
11429
11430 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11431
11432         * text2.C (copySelection):
11433         (cutSelection):
11434         * lyxfind.C (LyXReplace):
11435         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11436         LyXText::selectionAsString.
11437
11438         * paragraph.C (asString): add "label" argument to the second form
11439
11440         * text2.C (selectionAsString): add "label" argument and pass it to
11441         Paragraph::asString.
11442
11443 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11444
11445         * lyx_main.C (commandLineHelp): remove version information
11446
11447 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11448
11449         * lyx_main.C: add -version commandline option
11450
11451 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11452
11453         * paragraph.h: make the optional constructor arg required instead.
11454         some modifications to other files because of this.
11455
11456         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11457
11458         * lyxserver.C (C_LyXComm_callback): make it static
11459
11460         * lyx_main.C (error_handler): make it static
11461
11462         * lyx_gui.C (LyX_XErrHandler): make it static
11463
11464         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11465
11466         * WorkArea.C: make the extern "C" methods static.
11467
11468         * Makefile.am (lyx_LDADD): simplify
11469
11470 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11471
11472         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11473         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11474
11475         * LyXAction.C (init):
11476         * lyxfunc.C (dispatch): associated code removal.
11477
11478 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11479
11480         * lyxfont.h (isSymbolFont): shut off warning
11481
11482         * text.C (setHeightOfRow):
11483         (getVisibleRow): fix crash with empty paragraphs which have a
11484         bottom line
11485
11486 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11487
11488         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11489         code.
11490
11491 2001-09-04  José Matos  <jamatos@fep.up.pt>
11492         * buffer.C
11493         * buffer.h
11494         * tabular.C (docbook): rename docBook method to docbook.
11495
11496 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11497
11498         * Makefile.am: add dependencies to main.o.
11499
11500 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11501
11502         * FontLoader.C (available): Return false if !lyxrc.use_gui
11503
11504 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11505
11506         * FontInfo.C (query):
11507         * converter.C (view):
11508         * importer.C (Import):
11509         * exporter.C (Export): Can not -> cannot.
11510
11511 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11512
11513         * BufferView_pimpl.C: allow to create index inset even if
11514           string is empty
11515
11516 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11517
11518         * buffer.C (getLists): replace boost::tie code with an explicit pair
11519         as boost::tie can break some compilers.
11520
11521         * iterators.h: Added a std:: declaration to the return type of
11522         ParIterator::size.
11523
11524 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11525
11526         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11527           case.
11528
11529 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11530
11531         * iterators.[Ch]: New files. Provide paragraph iterators.
11532
11533         * buffer.C (changeLanguage): Use paragraph iterators.
11534         (isMultiLingual): ditto
11535
11536         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11537
11538 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11539
11540         * FontLoader.C: Support for cmr font.
11541
11542 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11543
11544         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11545         (available): New method.
11546
11547         * FontInfo.C (getFontname): Use scalable fonts even when
11548         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11549         found.
11550
11551 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11552
11553         * converter.C (Formats::view): reverted! Incorrect fix.
11554
11555 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11556
11557         * converter.C (Formats::view): only output the -paper option
11558         if the dvi viewer is xdvi, thereby fixing bug #233429.
11559
11560 2001-08-23  Herbert Voss  <voss@perce>
11561
11562         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11563
11564 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11565
11566         * Spacing.h (Spacing): Set space to Default on in the default
11567         constructor.
11568
11569 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11570
11571         * vc-backend.h (RCS::versionString): add RCS to version
11572         (CVS::versionString): add CVS to version
11573
11574         * vc-backend.C (scanMaster): do not add CVS to version.
11575         (scanMaster): do not add RCS to version
11576
11577         * lyxvc.C (versionString): new method
11578
11579         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11580
11581 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11582
11583         * Spacing.C (set): initialize fval
11584
11585 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11586
11587         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11588         " or \.
11589
11590 2001-08-16  Juergen Vigna  <jug@sad.it>
11591
11592         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11593
11594 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11595
11596         * BufferView_pimpl.C:
11597         * figureForm.C:
11598         * lyxtext.h:
11599         * text2.C: setParagraph takes linespacing now
11600
11601 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11602
11603         * LyxAction.C: add internal LFUN_CITATION_INSERT
11604
11605         * LyXView.C: actually apply fix
11606
11607         * bufferlist.C: fix open non-existent file
11608
11609         * lyxfind.C: fix indentation
11610
11611         * lyxfunc.C: remove unneeded assert, fix typo
11612
11613 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11614
11615         * MenuBackend.C: use "Floatname List"
11616
11617 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11618
11619         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11620         when converting LaTeX layout to insetERT.
11621         Generate a non-collapsed float when reading old float
11622
11623 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11624
11625         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11626         ERT insets.
11627
11628 2001-08-13  Juergen Vigna  <jug@sad.it>
11629
11630         * text.C (fill): return 0 instead of 20 as this seems to be the more
11631         correct value.
11632
11633 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11634
11635         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11636         lyxrc.font_norm.
11637
11638 2001-08-13  Juergen Vigna  <jug@sad.it>
11639
11640         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11641         casesensitive off.
11642         (SearchBackward): comment out the unlocking of the inset_owner this
11643         should not be needed!
11644
11645 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11646
11647         * Many files: Remove inherit_language, and add latex_language
11648
11649         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11650         collapsible insets.
11651
11652 2001-08-10  Juergen Vigna  <jug@sad.it>
11653
11654         * text.C (prepareToPrint): fixed hfill-width in draw!
11655
11656         * BufferView2.C (selectLastWord): save the selection cursor as this
11657         now is cleared in the function LyXText::clearSelection!
11658
11659 2001-08-08  Juergen Vigna  <jug@sad.it>
11660
11661         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11662         BACKSPACE type functions.
11663
11664         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11665         is only cutted from the document but not put in the cut-buffer, where
11666         still the old stuff should be.
11667
11668         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11669
11670         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11671
11672         * tabular.C (SetWidthOfCell): fixed special case where the width
11673         was not updated!
11674         (LeftLine): handle '|' in align_special.
11675         (RightLine): ditto
11676         (LeftAlreadyDrawed): ditto
11677         (SetWidthOfCell): ditto
11678
11679 2001-08-07  Juergen Vigna  <jug@sad.it>
11680
11681         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11682
11683 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11684
11685         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11686         * lyxlex.[hC]: ditto
11687
11688 2001-08-06  Juergen Vigna  <jug@sad.it>
11689
11690         * text.C (getVisibleRow): fix up row clearing a bit.
11691
11692 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11693
11694         * minibuffer.C: make sure the X server sees the changes in the input.
11695
11696 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11697
11698         * paragraph.C (getFont): split into...
11699         (getLabelFont): this
11700         (getLayoutFont): and this
11701         * paragraph_pimpl.C (realizeFont): calling this
11702
11703         * text2.C (getFont): split into...
11704         (getLayoutFont): this
11705         (getLabelFont): and this
11706         (realizeFont): all three calling this
11707
11708         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11709         files where used.
11710
11711 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11712
11713         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11714
11715 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11716
11717         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11718         layouts from the Quote inset insertion.
11719
11720 2001-08-03  Juergen Vigna  <jug@sad.it>
11721
11722         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11723
11724         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11725         only if status not is already CHANGED_IN_DRAW (second level).
11726
11727         * text.C (draw): don't set the need_break_row when inside an
11728         InsetText LyXText.
11729
11730 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11731
11732         * buffer.C (parseSingleLyXformat2Token): handle more latex
11733         conversion cases.
11734
11735         * bufferview_funcs.[hC]: change function names to
11736         begin with small char, adjust other files.
11737
11738 2001-08-02  André Pönitz <poenitz@gmx.net>
11739
11740         * lyxfunc.C:
11741         BufferView_pimpl.C: remove broken special code for math-greek
11742
11743 2001-08-02  Juergen Vigna  <jug@sad.it>
11744
11745         * BufferView_pimpl.C (update): redone this function so that we
11746         update the text again if there was a CHANGE_IN_DRAW.
11747
11748         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11749         (drawFromTo): added a new internal bool which is used by draw() and
11750         redraw() function.
11751         (general): some cursor drawing problems fixed.
11752
11753 2001-08-01  Juergen Vigna  <jug@sad.it>
11754
11755         * lyxfind.C (LyXFind): fixed
11756         (SearchForward): ditto
11757         (SearchBackward): ditto
11758
11759         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11760         spurius drawing of the cursor in the main area.
11761
11762         * text2.C (status): small fix which could lead to a segfault!
11763         (clearSelection): remove unneeded BufferView param.
11764
11765 2001-08-01  André Pönitz <poenitz@gmx.net>
11766
11767         * lyxfunc.C: small change due to changed mathed interface
11768
11769 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11770
11771         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11772
11773 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11774
11775         * lyxfunc.c: fail gracefully if file doesn't exist
11776
11777         * LyXSendto.C:
11778         * buffer.C:
11779         * lyxfunc.C:
11780         * BufferView_pimpl.C: IsDirWriteable() proto changed
11781
11782         * LyXView.C: fix updateWindowTitle() to store the last title
11783
11784 2001-07-31  Juergen Vigna  <jug@sad.it>
11785
11786         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11787         the font (wrong since using of Paragraph::highestFontInRange).
11788
11789         * paragraph.C (highestFontInRange): added a default_size parameter.
11790
11791         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11792         (setHeightOfRow): reformat
11793
11794 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11795
11796         * converter.[hC] + affected files: move to (inital-char)lowercase
11797         function names.
11798
11799         * ParagraphParameters.C (ParagraphParameters): remove commented code
11800
11801         * PainterBase.[Ch]: remove commented code
11802
11803         * LaTeXFeatures.h: add "bool floats" for float.sty
11804
11805         * LaTeXFeatures.C (LaTeXFeatures): init floats
11806         (require): handle float
11807         (getPackages): do it with floats
11808
11809 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11810
11811         * BufferView_pimpl.C (Dispatch): improve handling of
11812         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11813
11814         * commandtags.h: #include lyxfont.h here temporarily to avoid
11815         keybinding bug.
11816
11817         * bufferlist.h: include LString.h here.
11818
11819 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11820
11821         * text2.C (getStringToIndex): new method.
11822
11823 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11824
11825         * *: Reduced header file dependencies all over.
11826
11827 2001-07-30  Baruch Even  <baruch@lyx.org>
11828
11829         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11830
11831 2001-07-29  Baruch Even  <baruch@lyx.org>
11832
11833         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11834
11835 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11836
11837         * ParameterStruct.h (endif): add a default constructor to make
11838         sure that all variables is initialized.
11839
11840         * ParagraphParameters.C (ParagraphParameters): adjust
11841
11842 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11843
11844         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11845         index; also, check that there is something to index, and that it
11846         does not span over several paragraphs.
11847         (doubleClick): use WHOLE_WORD_STRICT for double click.
11848
11849         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11850
11851         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11852         scheme.
11853
11854 2001-07-26  Baruch Even  <baruch@lyx.org>
11855
11856         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11857         an InsetFig figure, backwards compatible reading of old figure code.
11858
11859 2001-07-27  Juergen Vigna  <jug@sad.it>
11860
11861         * text2.C: font.realize function adaption.
11862
11863         * text.C (draw): add a warnings lyxerr text if needed.
11864
11865         * layout.C: font.realize function adaption.
11866
11867         * language.C: add inherit_language and implement it's handlings
11868
11869         * bufferview_funcs.C (StyleReset): remove language parameter from
11870         font creation (should be language_inherit now).
11871
11872         * bufferparams.C (writeFile): handle ignore_language.
11873
11874         * paragraph.C (getFontSettings): the language has to be resolved
11875         otherwise we have problems in LyXFont!
11876
11877         * lyxfont.C (lyxWriteChanges): added document_language parameter
11878         (update): removed unneeded language parameter
11879
11880         * paragraph.C (validate): fixed wrong output of color-package when
11881         using interface colors for certain fonts in certain environments,
11882         which should not seen as that on the final output.
11883
11884 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11885
11886         * BufferView_pimpl.C:
11887         * Thesaurus.h:
11888         * Thesaurus.C:
11889         * Makefile.am:
11890         * commandtags.h:
11891         * LyXAction.C: add thesaurus support
11892
11893         * lyxfind.h:
11894         * lyxfind.C: add "once" parameter, for thesaurus, to not
11895           move to the next match
11896
11897 2001-07-26  Juergen Vigna  <jug@sad.it>
11898
11899         * lyxfont.C (realize): honor ignore_language too!
11900         (resolved): ditto.
11901
11902         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11903
11904         * text.C (draw): one place more for ignore_language to not draw
11905         itself!
11906
11907 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11908
11909         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11910
11911 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11912
11913         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11914         the minipage conversion problem.
11915
11916 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11917
11918         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11919         insert an inset.
11920
11921 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11922
11923         * BufferView.h: don't forward declare WorkArea
11924
11925         * BufferView.C: don't include WorkArea.h
11926
11927 2001-07-25  André Pönitz <poenitz@gmx.net>
11928
11929         * commandtags.h:
11930         * LyXAction.C:
11931         * lyxfunc.C:  new LFUN 'math-space'
11932
11933         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11934
11935 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11936
11937         * text2.C (toggleInset): call open/close
11938
11939 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11940
11941         * lyxfunc.C (dispatch): add debug for the disabled case
11942
11943         * font.C (buttonText): make similar to rectText
11944
11945         * buffer.C (readInset): comment out parsing of insetlist and
11946         insttheorem
11947
11948         * PainterBase.C (rectText): small correction
11949
11950         * BufferView_pimpl.C: comment out insettheorem and insetlist
11951         * LyXAction.C: ditto
11952         * commandtags.h: ditto
11953
11954 2001-07-24  Juergen Vigna  <jug@sad.it>
11955
11956         * text.C (draw): honor the ignore_language.
11957
11958         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11959
11960 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11961
11962         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11963         char inset.
11964
11965 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11966
11967         * lyxtext.h: remove unused (and unimplemented) methods
11968
11969 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11970
11971         * text.C (getVisibleRow): honor background color
11972
11973         * PainterBase.h:
11974         * Painter.h: remove default color argument for fillRectangle
11975
11976         * text.C (backgroundColor): new method
11977
11978 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11979
11980         * text.C (getVisibleRow): adjust
11981
11982         * font.[Ch] (rectText): new method, metrics
11983         (buttonText): new method, metrics
11984
11985         * PainterBase.[hC]: make rectText and buttonText always draw and take
11986         fewer paramteres.
11987
11988 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11989
11990         * ToolbarDefaults.C (read):
11991         * MenuBackend.C (read): allow escaping in all strings
11992
11993         * BufferView_pimpl.C (insertAndEditInset): new method.
11994         (Dispatch): use insertAndEditInset whenever appropriate.
11995
11996         * BufferView_pimpl.C (insertNote): removed
11997
11998         * BufferView_pimpl.C (smartQuote): new method, moved from
11999         BufferView; if an insetquote cannot be inserted, insert a '"'
12000         character instead.
12001
12002         * BufferView2.C: remove insertCorrectQuote();
12003
12004         * lyxfunc.C (getStatus): Add support for all remaingin
12005         inset-insert lfuns.
12006
12007         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12008
12009         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12010         command (necessary to pass " as parameter of self-insert.
12011
12012         * text.C (selectWordWhenUnderCursor):
12013         (selectWord): add word_location parameter
12014         (selectWordWhenUnderCursor): same + remove special code for word
12015         boundary.
12016         (selectNextWord): use kind() to guess type of insetspecialchar,
12017         not latex().
12018
12019         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12020         (insertErtContents): create ert insets as collapsed.
12021         (readInset): better compatibility code for Info inset.
12022
12023 2001-07-20  Juergen Vigna  <jug@sad.it>
12024
12025         * lyxfunc.C (dispatch): use always LyXFind now!
12026
12027         * text2.C (init): add a reinit flag so that the LyXText can be
12028         reinited instead of deleted and reallocated (used in InsetText).
12029
12030         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12031
12032         * text.C: ditto
12033
12034         * text2.C: ditto
12035
12036 2001-07-18  Juergen Vigna  <jug@sad.it>
12037
12038         * text.C (selectNextWord): handle insets inside inset by calling
12039         always the bv->text functions so that we can go up the_locking_inset!
12040
12041         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12042         in strange locations when inside an inset!
12043
12044         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12045         handling to include insets.
12046
12047         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12048
12049 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12050
12051         * LyXAction.C (init):
12052         * commandtags.h:
12053         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12054         LIGATURE_BREAK, since the name is so stupid.
12055
12056 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12057
12058         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12059         InsetInfos.
12060
12061         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12062
12063         * sp_form.[Ch]: remove.
12064
12065         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12066
12067         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12068         InsetInfo.
12069
12070         * src/buffer.C (readInset): ditto.
12071
12072 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12073
12074         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12075         menuSeparator(), endOfSentenceDot(), ldots() and
12076         hyphenationPoint(), which are therefore removed.
12077         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12078
12079         * LyXAction.C (init):
12080         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12081
12082         * paragraph.C (getWord): removed.
12083
12084         * BufferView_pimpl.C (Dispatch): use last word or selection for
12085         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12086
12087         * lyx_main.C (queryUserLyXDir): do not ask before creating
12088         user_dir, except if it has been named explicitely.
12089
12090 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12091
12092         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12093         a document of zero size.
12094
12095 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12096
12097         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12098         approriately in the c-tor and in require().
12099         (getPackages): output the appropriate LaTeX for natbib support.
12100
12101         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12102         variables "use_natbib" and "use_numerical_citations" when reading the
12103         LyX file.
12104         (readInset): read the various natbib cite commands.
12105         (validate): white-space change.
12106
12107         * bufferparams.[Ch]: new variables "bool use_natbib" and
12108         "bool use_numerical_citations".
12109         (writeFile): output them in the LyX file.
12110
12111 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12112
12113         * lyxfunc.C (getStatus): add support for all the inset insertion
12114         commands.
12115
12116         * text2.C (insertInset):
12117         * paragraph.C (insetAllowed):
12118         * BufferView_pimpl.C (insertInset): update to take in account the
12119         renaming of insertInsetAllowed
12120
12121         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12122
12123         * text2.C (getInset): new method. returns inset at cursor position.
12124
12125         * BufferView_pimpl.C (Dispatch): changes because of this.
12126
12127         * LyXAction.C (init): rename open-stuff to inset-toggle.
12128
12129         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12130
12131         * text2.C (toggleInset): renamed from openStuff; use
12132         Inset::open().
12133
12134 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12135
12136         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12137
12138         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12139
12140 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12141
12142         * buffer.C (readLyXformat2): Add filename to the error dialog
12143
12144 2001-07-18  Juergen Vigna  <jug@sad.it>
12145
12146         * tabular.C (GetCellNumber): put an assert here instead of the check!
12147
12148 2001-07-17  Juergen Vigna  <jug@sad.it>
12149
12150         * BufferView_pimpl.C (toggleSelection): adapted too.
12151
12152         * text.C (selectNextWord): adapted for use with insets.
12153         (selectSelectedWord): ditto
12154
12155 2001-07-17  Juergen Vigna  <jug@sad.it>
12156
12157         * sp_spell.C (PSpell): fix initialitation order.
12158
12159 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12160
12161         * paragraph.C: spacing
12162
12163 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12164
12165         * sp_spell.C: repair language selection for pspell
12166
12167 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12168
12169         * lyxfunc.h: change more methods to begin with lower char.
12170
12171 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12172
12173         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12174         for unknown layouts.
12175
12176 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12177
12178         * buffer.C (readLyXformat2): Generate an error dialog if there are
12179         unknown layouts.
12180
12181 2001-07-16  Juergen Vigna  <jug@sad.it>
12182
12183         * sp_spell.C: always compile ISpell part.
12184
12185         * lyxrc.C: added use_pspell entry and it's handling.
12186
12187 2001-07-13  Juergen Vigna  <jug@sad.it>
12188
12189         * sp_spell.C: removed double includes.
12190
12191 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12192
12193         Consistent use of Lsstream.h:
12194         * Lsstream.h: added using std::stringstream for consistencies sake.
12195
12196         * buffer.C: removed using std::stringstream
12197
12198         * lyxfont.C (stateText):
12199         * paragraph.C (asString):
12200         * text.C (selectNextWord, selectSelectedWord):
12201         * text2.C (setCounter):
12202         * vspace.C (asString, asLatexString):
12203         std::ostringstream -> ostringstream.
12204
12205 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12206
12207         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12208         * commandtags.h: add LFUN_HELP_ABOUTLYX
12209         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12210
12211 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12212
12213         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12214         cursorToggle()
12215         * lyx_gui_misc.C: remove spellchecker
12216         * lyxfunc.C: showSpellchecker
12217         * sp_base.h: added
12218         * sp_ispell.h: added
12219         * sp_pspell.h: added
12220         * sp_spell.C: added
12221         * sp_form.[Ch]: removed
12222         * spellchecker.[Ch]: removed
12223
12224 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12225
12226         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12227         is set.
12228         (simpleTeXSpecialChars): Simply print the input character without
12229         any special translation if pass_thru is set.
12230
12231         * layout.h: Added bool pass_thru to layout class for being able to
12232         implement pass through of a paragraph for Literate Programming.
12233
12234         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12235         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12236         * layout.C (Read): add "passthru" to list of layout tags and add
12237         code to set the pass_thru boolean when it is read.
12238
12239 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12240
12241         * trans_decl.h: remove allowed from KmodInfo
12242
12243         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12244         remove allowed code
12245         (Load): adjust
12246
12247         * paragraph_pimpl.C (erase): use boost::prior
12248
12249         * Painter.C (text): use data() instead of c_str() when length is
12250         also provided.
12251         * WorkArea.C (putClipboard): ditto
12252         * font.h (width): ditto
12253
12254         * BufferView2.C: use it-> instead of (*it). for iterators
12255         * texrow.C: ditto
12256         * paragraph_pimpl.C: ditto
12257         * paragraph.C: ditto
12258         * minibuffer.C: ditto
12259         * language.C: ditto
12260         * kbmap.C: ditto
12261         * encoding.C: ditto
12262         * counters.C: ditto
12263         * converter.C: ditto
12264         * chset.C: ditto
12265         * Variables.C: ditto
12266         * TextCache.C: ditto
12267         * MenuBackend.C: ditto
12268         * LyXAction.C: ditto
12269         * LColor.C: ditto
12270         * FloatList.C: ditto
12271         * DepTable.C: ditto
12272         * ColorHandler.C (LyXColorHandler): ditto
12273
12274 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12275
12276         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12277
12278         * text2.C (openStuff): reintroduce this method (which had been
12279         nuked in NEW_INSETS frenzy).
12280
12281         * lyxfunc.C (Dispatch): when an action has not been handled, use
12282         its name in the error message, not its number.
12283
12284         * paragraph.C (inInset): change method name to begin with lowercase.
12285
12286         * undo_funcs.C:
12287         * text2.C: updates because of this.
12288
12289 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12290
12291         * ToolbarDefaults.C (add): add spaces in error message
12292
12293 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12294
12295         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12296         (readLyXformat2): rename return_par to first_par, use lyxlex's
12297         pushToken and remove the manual push handling.
12298         (parseSingleLyXformat2Token): add another ert comp. variable:
12299         in_tabular, rename return_par to first_par. handle newlines better
12300
12301 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12302
12303         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12304
12305 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12306
12307         * text2.C (getParFromID): removed
12308
12309         * buffer.C (getParFromID): new method moved form lyxtext.
12310         * BufferView2.C (insertErrors): adjust
12311         (setCursorFromRow): adjust
12312         * BufferView_pimpl.C (restorePosition): adjust
12313         * lyxfunc.C (Dispatch): adjust
12314         * undo_funcs.C (textUndo): adjust
12315         (textRedo): adjust
12316         (textHandleUndo): adjust
12317         (textHandleUndo): adjust
12318
12319 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12320
12321         * buffer.C: up' the LYX_FORMAT
12322
12323         * lyxfont.h: turn NO_LATEX on as default
12324
12325         * buffer.C (insertErtContents): new methods of tex style compability.
12326         (parseSingleLyXformat2Token): use it several places.
12327         * tabular.C (OldFormatRead): and here
12328
12329 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12330
12331         * text2.C: remove some commented code.
12332         reindent file.
12333
12334         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12335         * trans.C: changes because of the above.
12336
12337 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12338
12339         * text2.C (setCounter): Fix counters bug with bibliography layout.
12340
12341 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12342
12343         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12344         own member functions
12345         (simpleTeXSpecialChars): ditto
12346
12347 2001-07-06  Juergen Vigna  <jug@sad.it>
12348
12349         * a lot of files: changed the access to LyXText::status and the
12350         call of undo-functions.
12351
12352         * undo.[Ch]: added a inset_id to the undo informations.
12353
12354         * undo_funcs.[Ch]: added and moved here all undo functions.
12355
12356         * lyxtext.h: give the status enum a weight, made status_ a private
12357         variable and made accessor functions for it, removed the whole bunch
12358         of undo-functions as they are now in their own file, make some
12359         functions publically available. Added function ownerParagraph with
12360         int parameter.
12361
12362         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12363         made InInset() a const function, added getParFromID() function.
12364
12365         * buffer.[Ch]: added const version for inset_iterator functions,
12366         added getInsetFromID() function.
12367
12368         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12369         changed undo functions for new version.
12370
12371 2001-07-05  Juergen Vigna  <jug@sad.it>
12372
12373         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12374         unknow mechanism does not call the proper constructor but only this
12375         one also if I request the other!?
12376
12377 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12378
12379         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12380
12381         * text2.C (LyXText): use initialization lists.
12382
12383         * lyxtext.h (Selection): initialize set_ and mark_
12384         (init): remove method
12385
12386 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12387
12388         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12389
12390 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12391
12392         * screen.[Ch]: change method names to begin with lowercase
12393
12394         * BufferView_pimpl.C (updateScrollbar): simplify further and
12395         hopefully make it a bit faster.
12396
12397 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12398
12399         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12400         calling directly xforms functions.
12401
12402         * Painter.C (Painter):
12403         * lyx_cb.C (MenuWrite):
12404         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12405         fl_display.
12406
12407         * lyx_gui.C: remove bogus guiruntime extern declaration.
12408
12409 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12410
12411         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12412         in NEW_INSETS
12413         (redoDrawingOfParagraph): ditto
12414         (redoParagraphs): ditto
12415         (cutSelection): don't create a object for CutAndPaste use the
12416         static method directly
12417         (pasteSelection): ditto
12418
12419         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12420         LyXview (+ rename)
12421
12422 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12423
12424         * modifications to some other files because of this.
12425
12426         * Makefile.am (lyx_SOURCES): add XFormsView
12427
12428         * XFormsView.[Ch]: new files
12429
12430         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12431         the main window. Move the gui dependent stuff to XFormsView
12432
12433 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12434
12435         * tabular.C (GetCellInset): update cur_cell also in the row/col
12436         version of this function.
12437
12438         * lyxfunc.C: no need to include figure_form.h here.
12439
12440         * FontLoader.h:
12441         * lyxfunc.h:
12442         * lyxscreen.h:
12443         * text2.C:
12444         * lyxvc.C: no need to include forms.h here.
12445
12446 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12447
12448         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12449
12450         * lyxfunc.C (Dispatch):
12451         * Spacing.C (set):
12452         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12453         constructor argument.
12454
12455 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12456
12457         * paragraph.C (Paragraph): dont't clear, and just set layout.
12458         (makeSameLayout): use params's copy contructor.
12459
12460         * ParagraphParameters.[Ch] (makeSame): delete method
12461
12462 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12463
12464         * Variables.[Ch]: fix indentation, rename set to isSet
12465
12466 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12467
12468         * lyxfunc.C (Dispatch): fix typo
12469
12470 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12471
12472         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12473         upper_bound.
12474
12475         * bufferlist.C: include assert.h for emergencyWrite().
12476
12477 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12478
12479         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12480           give up at last (bug #425202) !
12481
12482 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12483
12484         * lyx_gui_misc.C:
12485         * sp_form.h:
12486         * sp_form.C:
12487         * spellchecker.h:
12488         * spellchecker.C: strip spellchecker options and bring up
12489           preferences tab instead
12490
12491 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12492
12493         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12494         the istringstream constructor
12495
12496 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12497
12498         * paragraph.C (getLayout): fix return value
12499
12500         * paragraph.h: do not declare getLayout as inline.
12501
12502         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12503
12504 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12505
12506         * lyxcursor.h (operator<): new func
12507         (operator>): new func
12508         (operator>=): new func
12509         (operator<=): new func
12510
12511         * text.C (changeCase): use selection.start and selection.end
12512         (changeRegionCase): require from to be <= to. Require par to be a
12513         valid paragraph.
12514
12515         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12516
12517 2001-06-27  Juergen Vigna  <jug@sad.it>
12518
12519         * text.C (cursorLeftOneWord): changed to return the cursor and added
12520         overlay with BufferView * parameter which calls this one.
12521         (getWord): added
12522         (selectWord): use new getWord function.
12523         (changeCase): renamed from changeWordCase as and extended to work
12524         also on selections.
12525
12526         * lyxtext.h: added enum word_location
12527
12528         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12529         changeCase as this operates now also on selections.
12530
12531 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12532
12533         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12534
12535         * many files: send debug output to Debug::INFO instead of
12536         Debug::ANY.
12537
12538         * converter.C (View):
12539         (Convert):
12540         (Move): send debug output to Debug::FILES instead of console.
12541
12542 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12543
12544         * lyxfunc.C (getStatus): use func_status
12545
12546         * func_status.h: new header, describing the results of
12547         LyXFunc::getStatus;
12548
12549         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12550         LFUN_MATH_HALIGN.
12551
12552 2001-06-25  The LyX Project  <jug@sad.it>
12553
12554         * buffer.C (sgmlOpenTag):
12555         (sgmlCloseTag):
12556         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12557
12558 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12559
12560         * text2.C: remove some dead code
12561
12562         * tabular.C (GetCellInset): store the last cell checked (gotten)
12563
12564         * tabular.h: add the helper for the speedup
12565
12566         * lyxtext.h: remove some dead code
12567
12568 2001-06-26  The LyX Project  <Asger>
12569
12570         * paragraph.C: Change export to LaTeX of alignment to
12571         \begin{center} and family for better roundtrip work with reLyX.
12572
12573         * Tune the math drawing a bit.
12574
12575 2001-06-25  The LyX Project  <Asger>
12576
12577         * LColor.C (LColor): New color for math background. New color
12578         for buttons.
12579
12580 2001-06-25  The LyX Project  <jug@sad.it>
12581
12582         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12583
12584         * lyxfunc.C (Open):
12585         * bufferlist.C (newFile): do not restrict to files ending with
12586         .lyx
12587
12588         * BufferView_pimpl.C (MenuInsertLyXFile):
12589
12590 2001-06-24  The LyX Project  <jug@sad.it>
12591
12592         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12593         of compare_no_case
12594
12595 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12596
12597         * lyxtext.h: rename most methods to begin with a small char.
12598         Lots of changes because of this.
12599
12600         * paragraph.C (Paragraph): do not call fitToSize
12601         (erase): call Pimpl::erase
12602         (insertChar): call Pimpl::insertChar
12603         (insertInset): call Pipl::insertInset
12604         (breakParagraph): do not call fitToSize
12605         (breakParagraphConservative): do not call fitToSize
12606         (fitToSize): remove method
12607
12608         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12609
12610 2001-06-24  The LyX Project  <Asger>
12611
12612         * Fix Qt compilation^2
12613
12614 2001-06-24  The LyX Project  <jug@sad.it>
12615
12616         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12617         depthHook(getDepth()-1).
12618
12619         * paragraph.h:
12620         * ParagraphParameters.h:
12621         * ParameterStruct.h: change type of depth to unsigned int ==
12622         depth_type. Many adaptations to other files before of that.
12623
12624 2001-06-24  The LyX Project  <Asger>
12625
12626         * Fix Qt compilation.
12627
12628 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12629
12630         * paragraph.h: renamed several methods to begin with small letter.
12631         several changes to many parts of the code because of this.
12632
12633 2001-06-23  The LyX Project  <jug@sad.it>
12634
12635         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12636         rewritten to discard all double spaces when KeepEmpty is off
12637         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12638         to only handle newlines but not fiddle with spaces and friends.
12639
12640         * lyxfunc.C (MenuNew): when doing 'new from template', use
12641         template_path as default directory
12642
12643 2001-06-23  The LyX Project  <Asger>
12644
12645         * Clean-up of header file includes all over
12646         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12647
12648 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12649
12650         * paragraph.h: renamed from lyxparagraph.h
12651
12652 2001-06-23  Asger  <lyx@violet.home.sad.it>
12653
12654         * Buffer.h: Removed Buffer::resize
12655         * BufferList.h: Removed BufferList::resize
12656         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12657         the document lazily when we change the width, or the font settings.
12658
12659 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12660
12661         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12662
12663 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12664
12665         * buffer.h: remove out of date comment
12666
12667 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12668
12669         * lyxscreen.h:
12670         * screen.C: fix "theoretical" GC leak
12671
12672 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12673
12674         * LaTeX.C (scanAuxFile):
12675         (deplog): remove trailing \r when reading stream (useful under
12676         win32)
12677
12678 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12679
12680         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12681         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12682         and BufferView::theLockingInset(Inset*), so should use them and not
12683         access bv_->text->the_locking_inset directly.
12684
12685         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12686
12687 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12688
12689         * Makefile.am:
12690         * tex-defs.h: remove old unused file
12691
12692 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12693
12694         * BufferView_pimpl.C: fix typo, remove minibuffer message
12695           when buffer has loaded
12696
12697 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12698
12699         * lyxfunc.C (Dispatch): use stringstream
12700         (MenuNew): use stringstream
12701         (Open): use stringstream
12702
12703         * importer.C (Import): use stringstream
12704
12705         * bufferview_funcs.C (CurrentState): use stringstream
12706
12707         * LaTeX.C (run): use stringstream
12708
12709         * BufferView_pimpl.C (savePosition): use stringstream
12710         (restorePosition): use stringstream
12711         (MenuInsertLyXFile): use stringstream
12712
12713 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12714
12715         * BufferView.C:
12716         * Bullet.C:
12717         * ColorHandler.C:
12718         * FontInfo.C:
12719         * FontLoader.C:
12720         * LColor.C:
12721         * LaTeXFeatures.C:
12722         * Painter.C:
12723         * gettext.C:
12724         * lyx_gui_misc.C:
12725         * lyxserver.C:
12726         * vspace.C: removed // -*- C++ -*- as first line.
12727
12728         * lyxfind.h:
12729         * version.h: added // -*- C++ -*- as first line.
12730
12731 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12732
12733         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12734
12735         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12736         of string
12737
12738 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12739
12740         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12741         of floats.
12742
12743 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12744
12745         * gettext.C: include LString.h even when --disable-nls is on.
12746
12747 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12748
12749         * converter.h (Get): changed argument type from int to
12750         FormatList::size_type to avoid unnecessary conversion.
12751
12752         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12753         before using it.
12754
12755 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12756
12757         * gettext.h: include LString.h even when --disable-nls is on.
12758
12759 2001-06-07  Juergen Vigna  <jug@sad.it>
12760
12761         * text.C (BreakAgain): subst spaces with tabs.
12762
12763         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12764         (resizeInsetsLyXText): set force on resizeLyXText.
12765
12766 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12767
12768         * gettext.h (gettext_init):
12769         (locale_init): use a real definition instead of a macro
12770
12771 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12772
12773         * Bufferview_pimpl.C:
12774         * LColor.h:
12775         * LColor.C: further lcolor tidies
12776
12777 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12778
12779         * BufferView_pimpl.C (updateScrollbar): simplify.
12780
12781         * BufferView2.C: don't include insets/insetinfo.h, change
12782         prototype for insertInset and call the Pimpl version. let
12783         updateInset call Pimpl version.
12784
12785         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12786         gotoInset to BufferView::Pimpl
12787
12788 2001-06-01  Juergen Vigna  <jug@sad.it>
12789
12790         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12791         inside a LockingInset (is the update needed at all?).
12792
12793 2001-05-31  Juergen Vigna  <jug@sad.it>
12794
12795         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12796         here not the old one otherwise how should we compare it afterwards
12797         if it's the same!
12798
12799 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12800
12801         * lyxfont.C:
12802         * tabular.C:
12803         * tabular-old.C:
12804         * FontInfo.C: bring C functions into global namespace when
12805         necessary
12806
12807 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12808
12809         * LString.h: make sure config.h has been loaded before LString.h.
12810
12811         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12812         (one for each char read by EatLine!).
12813
12814         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12815         variables.
12816
12817 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12818
12819         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12820         to the same as the par we break from
12821
12822 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12823
12824         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12825
12826         * MenuBackend.C (expand): also create menu entries for wide
12827         versions of the floats.
12828
12829         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12830
12831         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12832
12833         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12834         frontends/Makefile.am
12835
12836         * text2.C: adjust
12837         * text.C: adjust
12838
12839
12840         * tabular.C (getTokenValue): add std::
12841
12842         * tabular-old.C (getTokenValue): add std::
12843         (getTokenValue): ditto
12844         (getTokenValue): ditto
12845
12846         * screen.C (ToggleSelection): adjust
12847
12848         * lyxtext.h: put selection cursors inside a Selection struct.
12849
12850         * lyxfunc.C (moveCursorUpdate): adjust
12851
12852         * lyxfont.C (latexWriteStartChanges): add std::
12853
12854         * lyxfind.C: adjust
12855
12856         * font.h: delete with(char const *, LyXFont const &)
12857
12858         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12859
12860         * FontInfo.C (getFontname): add std::
12861
12862         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12863         (workAreaButtonPress): adjust
12864         (tripleClick): adjust
12865         (update): adjust
12866         (moveCursorUpdate): adjust
12867         (Dispatch): adjust
12868
12869         * BufferView2.C (gotoInset): adjust
12870
12871 2001-05-30  Juergen Vigna  <jug@sad.it>
12872
12873         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12874         to check pspell I add this as default as I now have new pspell
12875         libraries and they seem to use this.
12876
12877 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12878
12879         * text2.C (CutSelection): make the cursor valid before the call to
12880         ClearSelection.
12881
12882 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12883
12884         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12885         relied on 0 terminated strings and other horrors. Bug found due to
12886         the new assert in lyxstring!
12887
12888         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12889         KP_ keys.
12890
12891 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12892
12893         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12894         to latinkeys.bind.
12895
12896         * lyxfunc.C (processKeySym): change method of getting to the
12897         self-insert char.
12898
12899         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12900         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12901         * BufferView_pimpl.[Ch]: here as private methods.
12902
12903 2001-05-28  Juergen Vigna  <jug@sad.it>
12904
12905         * text.C (SetHeightOfRow): added the update() call again as it is
12906         needed to initialize inset dimensions!
12907
12908 2001-05-16  Juergen Vigna  <jug@sad.it>
12909
12910         * text2.C (SetCharFont): Add new function with BufferView * and
12911         bool toggleall parameters for setting insets internal fonts.
12912         (SetFont): Freeze the undo as we may change fonts in Insets and
12913         all this change should be inside only one Undo!
12914
12915         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12916         setting font's in insets as for them we have the SetFont function!
12917
12918 2001-05-15  Juergen Vigna  <jug@sad.it>
12919
12920         * text2.C (ClearSelection): to be sure we REALLY don't have any
12921         selection anymore!
12922
12923         * tabular.C (TeXCellPreamble): fixed the left border problem for
12924         multicolumn cells.
12925
12926 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12927
12928         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12929         dependancy file
12930
12931 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12932
12933         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12934         LFUN_BREAKPARAGRAPH.
12935
12936         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12937         help test to "internal only", similar for LFUN_INSERT_URL
12938
12939         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12940         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12941         auto_region_delete and deadkeys.
12942
12943 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12944
12945         * LColor.h:
12946         * LColor.C: remove some dead entries, tidy a little
12947
12948 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12949
12950         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12951         commented code.
12952         (Dispatch): implement LFUN_ESCAPE
12953
12954         * commandtags.h: add LFUN_ESCAPE
12955
12956         * LyXAction.C (init): add entry for LFUN_ESCAPE
12957
12958         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12959         Remove commented code.
12960         (insertNote): moved here
12961         (open_new_inset): moved here
12962
12963         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12964         BufferView_pimpl
12965
12966 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12967
12968         * kbmap.C (findbinding): clean it up and make it work correctly.
12969
12970         * lyx_main.C (init): do not pass argc and argv as parameters
12971
12972 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12973
12974         * buffer.C: fix path for OS/2 & Win32
12975
12976         * lyx_gui.C:
12977         * lyx_main:
12978         * lyx_main.C: Added os:: class.
12979
12980         * os2_defines.h: update
12981
12982 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12983
12984         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12985         better by trying again with reduced state.
12986
12987 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12988
12989         * lyxrc.C (read): print error about invalid key sequence only when
12990         debugging (because not all latinX keysyms are known to some X
12991         servers)
12992
12993         * kbsequence.C (getiso): add a few std:: qualifiers
12994         (getiso): comment out extra return statement.
12995
12996 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12997
12998         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12999         handling.
13000         (Dispatch): enhance the accent inset a bit. (not perfect)
13001
13002 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13003
13004         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13005
13006 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13007
13008         * bufferlist.C (emergencyWrite): fix assert() call
13009
13010 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13011
13012         * text.C (InsertChar): Added trivial patch to only send the "you
13013         can not do multiple spaces this way" message once during a
13014         session.
13015
13016 2001-05-08  Baruch Even  <baruch@lyx.org>
13017
13018         * Makefile.am: Changed order of libraries to get LyX to link properly
13019         with the gnome frontend.
13020
13021 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13022
13023         * LaTeXFeatures.h: add a std:: qualifier
13024
13025 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13026
13027         * paragraph.C (String): use stringstream
13028
13029 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13030
13031         * paragraph.C (writeFile): remove footflag arg
13032
13033         * buffer.C (makeLaTeXFile): use stringstream
13034         (latexParagraphs): remove footnot gurba
13035
13036         * LaTeXFeatures.C (getPackages): use stringstream
13037         (getMacros): likewise
13038         (getTClassPreamble): likewise
13039         (getFloatDefinitions): new method
13040
13041         * paragraph.C (writeFile): reindent
13042         (Erase): reindent
13043
13044         * WorkArea.h: revert the xpos + etc changes.
13045
13046         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13047
13048         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13049
13050         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13051         (pasteSelection): likewise
13052         * text2.C (CreateUndo): likewise
13053
13054 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13055
13056         * minibuffer.C (peek_event): temporarily reduce the functionality
13057         of the minibuffer (to allow args on lfuns)
13058
13059         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13060         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13061
13062         * buffer.C (readInset): add compability reading of old float
13063         lists, add reading of new style float list.
13064         (readInset): avoid reevaluation of inscmd.getCmdName()
13065         (getLists): reindent
13066
13067         * MenuBackend.C (MenuItem): implement parsing of
13068         md_floatlistinsert and md_floatinsert.
13069         (expand::LastFiles): move initalizaton of iterators out of loop,
13070         avoid reevaluation.
13071         (expand::Documents): introduce typdedef vector<string> Strings,
13072         and use it.
13073         (expand::ExportFormats): introduce typedef vector<Format const *>
13074         Formats, and use it.
13075         (expand): implement FloatListInsert and FloatInsert.
13076
13077         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13078         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13079         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13080
13081         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13082         handling.
13083         (Dispatch::LFUN_FLOAT_LIST): implement
13084
13085 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13086
13087         * LaTeX.C (run): Fix problem with --export code.
13088
13089 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13090
13091         * BufferView.[Ch] (workarea): removed.
13092         (getClipboard) new method; wrapper for workarea()->getClipboard()
13093
13094         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13095         bug.
13096
13097         * WorkArea.h (width, height, xpos, ypos): These methods all
13098         returned the dimensions of the work_area sub-area of WorkArea,
13099         resulting in a position error if the WorkArea were resized. Now
13100         return the dimensions of the entire WorkArea.
13101
13102         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13103
13104 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13105
13106         * LaTeX.C (deplog): correct the syntax of regex reg1
13107
13108 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13109
13110         * undo.C: remove !NEW_INSETS cruft
13111
13112 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13113
13114         * text2.C: remove !NEW_INSETS cruft
13115
13116         * text.C: remove !NEW_INSETS cruft
13117
13118         * tabular.C: remove !NEW_INSETS cruft
13119
13120         * spellchecker.C: remove !NEW_INSETS cruft
13121
13122         * lyxtext.h: remove !NEW_INSETS cruft
13123
13124         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13125
13126         * lyxfunc.C: remove !NEW_INSETS cruft
13127
13128         * lyxfind.C: remove !NEW_INSETS cruft
13129
13130         * lyx_cb.C: remove !NEW_INSETS cruft
13131
13132         * figureForm.C: remove  !NEW_INSETS cruft
13133
13134         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13135
13136         * buffer.[Ch]: remove !NEW_INSETS cruft
13137
13138         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13139
13140         * CutAndPaste.C: remove !NEW_INSETS cruft
13141
13142         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13143
13144         * BufferView2.C: remove !NEW_INSETS cruft
13145
13146         * BufferView.h: remove !NEW_INSETS cruft
13147
13148 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13149
13150         * Lsstream.h: include LString.h before the sstream headers to
13151         fix problem with gcc 2.95.3 and lyxstring
13152
13153 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13154
13155         * lyx_main.C: add using directives when needed for C functions
13156         declared in std:: namespace.
13157
13158 2001-04-27  Juergen Vigna  <jug@sad.it>
13159
13160         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13161         (SetHeightOfRow): comment out the update call should not be needed!
13162
13163 2001-04-13  Juergen Vigna  <jug@sad.it>
13164
13165         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13166         (LyXTabular): tried to minimize operator= operations (and realized
13167         hopfully Lars wish).
13168
13169 2001-04-27  Juergen Vigna  <jug@sad.it>
13170
13171         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13172
13173 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13174
13175         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13176
13177         * buffer.C (readInset): hack to make listof algorithm work
13178
13179         * BufferView_pimpl.C: hack to make listof algorithm work
13180
13181 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13182
13183         * LyXAction.C: removed all !NEW_INSETS cruft
13184         (init): moved lfun_item in method
13185
13186         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13187
13188 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13189
13190         * BufferView2.C (theLockingInset): white space.
13191
13192 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13193
13194         * minibuffer.C: include <iostream>
13195
13196         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13197
13198         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13199
13200         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13201
13202         * text.[Ch] (TransposeChars): new method
13203
13204 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13205
13206         * call message directly through LyXView instead of through LyXFunc
13207         * BufferView2.C: adjust
13208         * BufferView_pimpl.C: adjust
13209         * FontLoader.C: adjust
13210         * buffer.C: adjust
13211         * bufferview_funcs.C: adjust
13212         * converter.C: adjust
13213         * figureForm.C: adjust
13214         * importer.C: adjust
13215         * lyx_cb.C: adjust
13216         * lyx_gui_misc.C: adjust
13217         * lyxfunc.C: adjust
13218         * lyxvc.C: adjust
13219         * text2.C: adjust
13220         + more files in subdirs
13221
13222         * lyxparagraph.h (size): move up int file
13223         (GetLayout): ditto
13224
13225         * adjust all uses of Assert to lyx::Assert.
13226
13227         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13228         lyxfunctional in namespace lyx
13229         * layout.C (hasLayout): ditto
13230         (GetLayout): ditto
13231         (GetLayout): ditto
13232         (delete_layout): ditto
13233         (NumberOfClass): ditto
13234         * converter.C (GetFormat): ditto
13235         (GetNumber): ditto
13236         (Add): ditto
13237         (Delete): ditto
13238         (SetViewer): ditto
13239         * bufferlist.C (getFileNames): ditto
13240         (emergencyWriteAll): ditto
13241         (exists): ditto
13242         (getBuffer): ditto
13243         * MenuBackend.C (hasSubmenu): ditto
13244         (hasMenu): ditto
13245         (getMenu): ditto
13246         * BufferView_pimpl.C (getInsetByCode): ditto
13247
13248 2001-04-18  Juergen Vigna  <jug@sad.it>
13249
13250         * vspace.C (asLatexString): fixed the 100% problem.
13251
13252 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13253
13254         * lyxfunc.C (Dispatch):
13255         * minibuffer.C:
13256         * minibuffer.h: add a few std:: qualifiers
13257
13258 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13259
13260         * minibuffer.[Ch]: reimplement so that commands is initiated and
13261         run from lyxfunc, simplified som handling, and made the completion
13262         and history code for complete. wip.
13263
13264         * lyxfunc.C (processKeySym): call message
13265         (miniDispatch): new temporary method
13266         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13267         (LFUN_MESSAGE): implement
13268         (LFUN_MESSAGE_PUSH): implement
13269         (LFUN_MESSAGE_POP): implement
13270         (initMiniBuffer): the initial/defualt minibuffer message.
13271
13272         * lyxfont.[Ch]: inline some more getters
13273
13274         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13275
13276         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13277
13278         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13279         (AutoSave): use LFUN_MESSAGE
13280         (Reconfigure): ditto
13281
13282         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13283
13284         * figureForm.C: use LFUN_MESSAGE
13285
13286         * converter.C (runLaTeX): use LFUN_MESSAGE
13287
13288         * bufferview_funcs.C: use LFUN_MESSAGE
13289         (Melt): ditto
13290         (changeDepth): ditto
13291
13292         * bufferparams.h: use boost::
13293
13294         * bufferlist.h: inherit privately from noncopyable
13295
13296         * bufferlist.C (loadLyXFile): remove some commented code.
13297
13298         * buffer.C (runChktex): use LFUN_MESSAGE
13299
13300         * ShareContainer.h: inherit privately from noncopyable
13301
13302         * ParagraphParameters.[hC] (depth): inline it.
13303
13304         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13305         methods.
13306         (message): new method
13307         (messagePush): ditto
13308         (messagePop): ditto
13309         (show): init minibuffer
13310         (showState): direct call
13311
13312         * LaTeX.[Ch]: inherit privately from noncopyable
13313         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13314         instead of WriteStatus.
13315
13316         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13317
13318         * BufferView_pimpl.C (buffer): don't init minibuffer
13319         (workAreaButtonPress): use LFUN_MESSAGE
13320         (workAreaButtonRelease): ditto
13321         (savePosition): ditto
13322         (restorePosition): ditto
13323         (MenuInsertLyXFile): ditto
13324         (workAreaExpose): don't init minibuffer
13325         (update): remove commented code, simplify
13326
13327         * BufferView2.C (openStuff): use LFUN_MESSAGE
13328         (toggleFloat): ditto
13329         (menuUndo): ditto
13330         (menuRedo): ditto
13331         (copyEnvironment): ditto
13332         (pasteEnvironment): ditto
13333         (copy): ditto
13334         (cut): ditto
13335         (paste): ditto
13336         (gotoInset): ditto
13337         (updateInset): remove some commented code
13338
13339         * lastfiles.h: inherit privately from noncopyable
13340         * layout.h: ditto
13341         * lyx_gui.h: ditto
13342         * lyx_main.h: ditto
13343         * lyxlex.h: ditto
13344         * lyxlex_pimpl.h: ditto
13345
13346         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13347         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13348         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13349
13350         * LyXAction.h: inherit privately from noncopyable, add methods
13351         func_begin, func_end, returning iterators to the func map.
13352
13353         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13354         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13355         (func_begin): new method
13356         (func_end): new method
13357
13358         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13359         and not)
13360         (copySelection): ditto
13361         (pasteSelection): ditto
13362
13363         * BufferView.C: whitespace change
13364         * BufferView.h: inherit privately from noncopyable
13365
13366 2001-04-16  Allan Rae  <rae@lyx.org>
13367
13368         * tabular-old.C (l_getline):
13369         * spellchecker.C (sc_check_word):
13370         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13371         an unrecognised preprocessor directive.  So ensure they're wrapped.
13372
13373 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13374
13375         * src/exporter.C (Export): Give an error message when path to file
13376         contains spaces.
13377
13378 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13379
13380         * LaTeX.C (deplog): Always check that foundfile exists.
13381
13382 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13383
13384         * lyx_main.h:
13385         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13386
13387 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13388
13389         * tabular.[Ch] (getLabelList): implement new method
13390
13391         * minibuffer.h: comment ouf setTiimer
13392
13393         * minibuffer.C (ExecutingCB): constify res
13394         (peek_event): constify s
13395         (Set): constify ntext
13396         (Init): constify nicename
13397
13398         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13399
13400         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13401         (savePosition): use two params to Minibuffer::Set
13402         (restorePosition): ditto
13403
13404 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13405
13406         * lyx_main.C: include language.h
13407
13408         * Makefile.am (lyx_main.o): add language.h
13409
13410 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13411
13412         * exporter.C:
13413         * paragraph.C:
13414         * screen.C:
13415         * tabular.C:
13416         * CutAndPaste.C: include gettext.h
13417
13418         * lyxfont.h: remove old hack with ON and OFF.
13419
13420         * lyxparagraph.h:
13421         * lyxfont.h: do not include language.h...
13422
13423         * BufferView2.C:
13424         * LaTeXFeatures.C:
13425         * Painter.C:
13426         * bufferview_funcs.C:
13427         * font.C:
13428         * lyxfont.C:
13429         * text.C:
13430         * text2.C:
13431         * trans_mgr.C:
13432         * paragraph.C: ... but do it here instead
13433
13434 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13435
13436         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13437
13438         * tabular.C: small reformat
13439
13440         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13441         NEW_INSETS version
13442         (GetChar): ditto
13443         (BreakParagraph): ditto
13444         (SetOnlyLayout): ditto
13445         (SetLayout): ditto
13446
13447         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13448         with one arg less.
13449
13450         * lastfiles.C: removed most using decl, add std:: where needed
13451
13452         * buffer.C: ws changes
13453
13454         * MenuBackend.C (class compare_format): put into anon namespace
13455         (expand): constify label, names, action, action2
13456         (expand):
13457
13458         * text.C (SingleWidth): constify font
13459         (IsBoundary): constify rtl2
13460         (GetVisibleRow): constify ww
13461
13462         * LaTeX.C (deplog): constify logfile
13463
13464         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13465         start_x, end_x
13466         (workAreaExpose): constify widthChange, heightChange
13467
13468         * lyxrow.C (par): moved
13469         (height): moved
13470         (next): moved
13471         * lyxrow.h: as inlines here
13472
13473         * lyxfont.h (shape): moved from lyxfont.C
13474         (emph): moved from lyxfont.C
13475
13476         * lyxfont.C (LyXFont): use initialization list for all
13477         constructors
13478         (shape): move to lyxfont.h as inline
13479         (emph): move to lyxfont.h as inline
13480
13481
13482 2001-04-04  Juergen Vigna  <jug@sad.it>
13483
13484         * vspace.C: had to include stdio.h for use of sscanf
13485
13486 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13487
13488         * BufferView.h:
13489         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13490         independent of xforms.
13491
13492 2001-04-02  Juergen Vigna  <jug@sad.it>
13493
13494         * spellchecker.C: fixed namespace placing!
13495
13496 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13497
13498         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13499         the LyXParagraph * is 0.
13500
13501 2001-03-29  Juergen Vigna  <jug@sad.it>
13502
13503         * vspace.C: added support for %, c%, p%, l%.
13504         (stringFromUnit): added helper function.
13505         (asLatexString): changed to give right results for the %-values.
13506
13507         * buffer.C: convert the widthp in a width%.
13508
13509 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13510
13511         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13512         figureForm.[Ch].
13513
13514         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13515         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13516
13517         * lyx_cb.[Ch]: see above.
13518
13519         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13520         form1.[Ch].
13521
13522         * form1.[Ch]:
13523         * lyx.[Ch]: replaced by figure_form.[Ch].
13524
13525         * lyx_gui.C:
13526         * lyx_gui_misc.C:
13527         * lyxfunc.C: changed headers associated with above changes.
13528
13529 2001-03-27  Juergen Vigna  <jug@sad.it>
13530
13531         * BufferView_pimpl.C: set the temporary cursor right!
13532
13533 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13534
13535         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13536
13537 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13538
13539         * LString.h: removed "using std::getline"!
13540
13541         * BufferView_pimpl.C (Dispatch): changes due to changes in
13542         InsetInclude::Params.
13543
13544         * buffer.C (tag_name): removed redundant break statements as they were
13545         producing lots of warnings with my compiler.
13546
13547 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13548
13549         * LString.h: add "using std::getline" when using the real <string>.
13550
13551 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13552
13553         * buffer.C: removed bitset usage.
13554         PAR_TAG moved to an anonymous name space.
13555         (tag_name): new funtion, also in the anonymous namespace.
13556         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13557         (makeDocBookFile): clean code. Completed transition from string arrays
13558         to string vectors.
13559         (SimpleDocBookOnePar): code clean.
13560
13561 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13562
13563         * tabular.C: add some comments.
13564
13565 2001-03-22  Juergen Vigna  <jug@sad.it>
13566
13567         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13568         compatibility read a bit and fixed bug with minipage in different
13569         depth.
13570
13571 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13572
13573         * buffer.C (pop_tag): removed.
13574         (push_tag): removed.
13575         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13576         array replaced with vector. Added support for CDATA sections.
13577         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13578         at any nest level.
13579         (makeDocBookFile): XML conformant declaration of CDATA section,
13580         fixed bug related to <emphasis> in the first paragraph char.
13581         (sgmlOpenTag): exclude empty tags.
13582         (sgmlCloseTag): ditto.
13583
13584         * buffer.h (pop_tag): removed.
13585         (push_tag): removed.
13586
13587 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13588
13589         * language.h (Languages): added size_type and size().
13590
13591 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13592
13593         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13594         response on compability reading of minipages. One probliem is that
13595         the old usage of minipages was «flertydig»
13596
13597         * several files here and in subdirs: don't use static at file
13598         scope use anon namespaces instead.
13599
13600 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13601
13602         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13603         LaTeX output. This is necessary for Literate document
13604         processing.
13605
13606 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13607
13608         * buffer.C: insert hfill when needed.
13609
13610         * tabular.C (l_getline): use string::erase, small whitespace change.
13611
13612         * BufferView_pimpl.C: try the anon namespace.
13613         * WorkArea.C: ditto
13614
13615 2001-03-16  Juergen Vigna  <jug@sad.it>
13616
13617         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13618         otherwise it won't open options-dialogs.
13619
13620         * buffer.C: honor pextraWidth(p) on converting minipages.
13621
13622         * tabular.C (l_getline): changed the functions to strip trailing \r.
13623
13624 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13625
13626         * BufferView_pimpl.C:
13627         * minibuffer..C: added "using SigC::slot" declaration.
13628
13629 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13630
13631         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13632
13633         * text2.C: ditto
13634
13635         * text.C: ditto
13636
13637         * paragraph.C: ditto
13638
13639         * lyxtext.h: NO_PEXTRA
13640
13641         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13642
13643         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13644         * ParameterStruct.h: ditto
13645         * ParagraphParameters.h: ditto
13646         * lyxparagraph.h: ditto
13647
13648 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13649
13650         * buffer.C: add compability for minipage alignment.
13651         (latexParagraphs): remove unwanted pextra check.
13652
13653         * several files: remove CXX_WORKING_NAMESPACES
13654
13655         * buffer.C (pop_tag): tie is in namespace boost
13656
13657         * BufferView.h: noncopyable is in namespace boost
13658         * lyxlex.h: ditto
13659         * lyx_main.h: ditto
13660         * lyx_gui.h: ditto
13661         * layout.h: ditto
13662         * lastfiles.h: ditto
13663         * bufferlist.h: ditto
13664         * ShareContainer.h: ditto
13665         * LyXView.h: ditto
13666         * LyXAction.h: ditto
13667         * LaTeX.h: ditto
13668
13669 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13670
13671         * Merging changes from BRANCH_MVC back into HEAD.
13672
13673         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13674
13675 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13676
13677         * BufferView_pimpl.C: change from intl.C
13678
13679         * combox.h:
13680         * combox.C:
13681         * Makefile.am: move combox.*
13682
13683         * form1.h:
13684         * form1.C:
13685         * lyx_gui.C:
13686         * intl.h:
13687         * intl.C: remove dialog (covered by prefs)
13688
13689 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13690
13691         * lyxfunc.C (Dispatch): removed redundant break statement.
13692
13693 2001-03-14  Juergen Vigna  <jug@sad.it>
13694
13695         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13696
13697 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13698
13699         * buffer.C: add hack to fix compability reading of minipages.
13700
13701 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13702
13703         * buffer.C (getLists): Cleanup.
13704
13705 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13706
13707         * lyxfont.C (update): don't honor toggleall on font size.
13708
13709 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13710
13711         * bmtable.c:
13712         * bmtable.h:
13713         * Makefile.am: moved to frontends/xforms/
13714
13715         * lyx_gui_misc.C:
13716         * lyxfunc.C:
13717         * BufferView_pimpl.C: changes for moved mathpanel
13718
13719 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13720
13721         * gettext.h: fix gettext_init() in --disable-nls
13722
13723 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13724
13725         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13726
13727 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13728
13729         * lyx.C:
13730         * lyx.h: strip external form
13731
13732 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13733
13734         * BufferView_pimpl.C: add comment, destroySplash()
13735
13736 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13737
13738         * BufferView_pimpl.C:
13739         * LyXAction.C:
13740         * buffer.C:
13741         * commandtags.h:
13742         * lyxfunc.C: use re-worked insetinclude
13743
13744 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13745
13746         * buffer.C: add using std::stringstream.
13747
13748         * lyx_cb.C: readd using std::ios.
13749
13750         * buffer.C: add using std::map.
13751
13752         * BufferView_pimpl.C: add using std::vector.
13753
13754         * ShareContainer.h: add std:: to swap.
13755
13756         * buffer.h: add some typedefs
13757         * buffer.C (getLists): use them
13758         (getLists): renamed from getTocList.
13759         add a counter for the different float types and use it in the
13760         generated string.
13761         (getLists): use the same counter for the NEW_INSETS and the "non"
13762         NEW_INSETS
13763
13764         * lyx_cb.h: remove unused items, includes, using etc.
13765
13766         * ShareContainer.h: remove some commented code, add more comments
13767         and "documentation".
13768
13769 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13770
13771         * buffer.C (getTocList): make the list also when NEW_INSETS is
13772         defined.
13773
13774         * buffer.h: remove TocType
13775
13776         * buffer.C (getTocList): change to return a map<string,
13777         vector<TocItem> >, implement for dynamic number of list.
13778
13779         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13780         * text2.C (PasteSelection): adjust
13781         * CutAndPaste.C (pasteSelection): adjust
13782
13783         * FloatList.C (FloatList): update from the new_insets branch.
13784         * Floating.[Ch]: ditto
13785         * LaTeXFeatures.C: ditto
13786         * buffer.C: ditto
13787         * lyxlex_pimpl.C: ditto
13788
13789         * paragraph.C (Last): remove when NEW_INSETS is defined.
13790
13791         * other file: changes because of the above.
13792
13793 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13794
13795         * lyxparagraph.h: rename next to next_, previous to previous_,
13796         make them private for NEW_INSETS. Rename Next() to next(),
13797         Previous() to previous().
13798
13799         * other files: changes because of the above.
13800
13801 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13802
13803         * BufferView.h:
13804         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13805         problem.
13806
13807 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13808
13809         * main.C (main): pass lyx_localedir to gettext_init().
13810
13811         * gettext.h: remove locale_init and gettext_init macros
13812
13813         * gettext.C (locale_init): new function
13814         (gettext_init): new function
13815
13816         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13817         setlocale().
13818
13819 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13820
13821         * Moved credits to frontends:
13822         * credits.[Ch]: removed
13823         * credits_form.[Ch]: removed
13824         * lyx_gui_misc.C: remove credits stuff
13825         * Makefile.am:
13826
13827 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13828
13829         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13830
13831         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13832         unneeded destructor.
13833
13834         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13835         a standalone pointer again.
13836
13837         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13838
13839 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13840
13841         * Makefile.am:
13842         * filedlg.h:
13843         * filedlg.C:
13844         * LyXAction.C:
13845         * ToolbarDefaults.C:
13846         * bufferlist.C:
13847         * commandtags.h:
13848         * form1.C:
13849         * form1.h:
13850         * lyx_cb.C:
13851         * lyx_cb.h:
13852         * lyxfunc.h:
13853         * lyxfunc.C:
13854         * BufferView_pimpl.C: use new file dialog in GUII
13855
13856         * lyx_cb.h:
13857         * lyx_cb.C: remove LayoutsCB to Toolbar
13858
13859 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13860
13861         * ShareContainer.h (get): add std:: qualifier
13862
13863 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13864
13865         * ShareContainer.h: define a proper ShareContainer::value_type
13866         type (and use typename to please compaq cxx)
13867
13868 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13869
13870         * lyxparagraph.h: move serveral local vars to
13871         ParameterStruct/ParagraphParameters., use ShareContainer in
13872         FontTable., make vars in FontTable private and add getter and
13873         setter.
13874
13875         * paragraph.C: changes because of the above.
13876
13877         * lyxfont.h: remove copy constructor and copy assignment. (the
13878         default ones is ok), move number inside FontBits. move inlines to
13879         lyxfont.C
13880
13881         * lyxfont.C: add number to initializaton of statics, move several
13882         inlines here. constify several local vars. some whitespace
13883         cleanup. Dont hide outerscope variables.
13884
13885         * Spacing.h: add two new constructors to match the set methods.
13886
13887         * ShareContainer.h: new file, will perhaps be moved to support
13888
13889         * ParameterStruct.h: new file
13890
13891         * ParagraphParameters.h: new file
13892
13893         * ParagraphParameters.C: new file
13894
13895         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13896         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13897
13898         * BufferView_pimpl.C: ParagraphParameter changes.
13899         * buffer.C: Likewise.
13900         * bufferview_funcs.C: Likewise.
13901         * text.C: Likewise.
13902         * text2.C: Likewise.
13903
13904 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13905
13906         * lyxfind.C (LyXReplace): do not redefine default argument in
13907         implementation.
13908         (IsStringInText): ditto
13909         (SearchForward): ditto
13910         (SearchBackward): ditto
13911
13912 2001-03-06  Juergen Vigna  <jug@sad.it>
13913
13914         * lyxfind.C (IsStringInText): put parentes around expressions.
13915
13916 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13917
13918         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13919
13920 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13921
13922         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13923
13924         * stl_string_fwd.h: add comment
13925
13926         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13927
13928         * tabular.h:
13929         * tabular.C: remove unused DocBook methods
13930
13931         * intl.C:
13932         * language.C:
13933         * paragraph.C:
13934         * buffer.C:
13935         killed DO_USE_DEFAULT_LANGUAGE
13936
13937 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13938
13939         * lyx_gui.C: do not include language.h.
13940
13941         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13942         arguments in function implementation.
13943
13944 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13945
13946         * BufferView_pimpl.C: add <ctime>
13947
13948 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13949
13950         * BufferView_pimpl.C: add using std::find_if
13951
13952 2001-02-27  José Matos  <jamatos@fep.up.pt>
13953
13954         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13955         by OnlyPath.
13956
13957 2001-02-11  José Matos  <jamatos@fep.up.pt>
13958
13959         * buffer.C (makeDocBookFile): command styles now have a parameter as
13960         "title" by default.
13961
13962 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13963
13964         * layout_forms.[Ch]: removed
13965         * lyx_cb.[Ch]: out character
13966         * lyx_gui.C: out character
13967         * lyx_gui_misc.C: out character
13968         * bufferview_funcs.C: : out character,
13969         added toggleall as parameter in ToggleAndShow
13970
13971 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13972
13973         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13974
13975         * text2.C (SetCurrentFont): Disable number property at boundary.
13976
13977 2001-02-26  Juergen Vigna  <jug@sad.it>
13978
13979         * lyxfunc.C (getStatus): added a string argument override function so
13980         that this is correctly called from LyXFunc::Dispatch if it contains a
13981         do_not_use_argument which is used!
13982         (Dispatch): added check for "custom" export and call appropriate func.
13983
13984 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13985
13986         * lyxrc.C: Add language_command_local, language_use_babel and
13987         language_global_options.
13988
13989         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13990
13991         * buffer.C (makeLaTeXFile): Use language_use_babel and
13992         language_global_options.
13993
13994 2001-02-23  Juergen Vigna  <jug@sad.it>
13995
13996         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13997         which works with LyXText and putted it inside BufferView. Here now we
13998         only call for that part the BufferView::Dispatch() function.
13999
14000         * BufferView.C (Dispatch): added.
14001
14002         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14003         functions which needs to use a LyXText over from LyXFunc.
14004         (MenuInsertLyXFile): added
14005         (getInsetByCode): added
14006         (moveCursorUpdate): added
14007         (static TEXT): added
14008
14009 2001-02-22  Juergen Vigna  <jug@sad.it>
14010
14011         * BufferView_pimpl.C (update): call a status update to see if LyXText
14012         needs it.
14013
14014 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14015
14016         * vc-backend.C (revert): implement for CVS
14017         (getLog): implement for CVS
14018
14019 2001-02-20  Juergen Vigna  <jug@sad.it>
14020
14021         * text2.C (ClearSelection): added BufferView param for inset_owner call
14022
14023         * lyxfunc.C (TEXT): added this function and use it instead of
14024         directly owner->view()-text of getLyXText().
14025
14026 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14027
14028         * src/layout_forms.C: out preamble
14029         * src/layout_forms.h: out preamble
14030         * src/lyx_cb.C: out preamble
14031         * src/lyx_cb.h: out preamble
14032         * src/lyx_gui.C: out preamble
14033         * src/lyx_gui_misc.C: out preamble
14034         * src/lyxfunc.C: connect with guii preamble
14035
14036 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14037
14038         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14039
14040 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14041
14042         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14043         whether to run bibtex.
14044
14045 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14046
14047         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14048
14049 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14050
14051         * Makefile.am (lyx_SOURCES): removed bibforms.h
14052
14053         * vspace.h: doxygen
14054
14055         * text.C (GetVisibleRow): make several local vars const
14056
14057         * tabular.C: small cleanup.
14058
14059         * lyxserver.C (callback): use compare instead of strncmp
14060
14061         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14062         inlines to after class or to paragraph.C
14063
14064         * lyxfont.h: remove friend operator!=
14065
14066         * converter.h: move friend bool operator< to non friend and after
14067         class def.
14068
14069         * combox.h: small cleanup
14070
14071         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14072         to inlines after class def.
14073
14074         * buffer.C (pop_tag): use string operations instead of strcmp
14075
14076         * bmtable.c: doxygen, small cleanup
14077
14078         * LaTeX.h: remove friend operator==
14079
14080 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14081
14082         * screen.C:
14083         * lyxrc.[Ch]:
14084         * lyxfunc.C:
14085         * lyxfont.[Ch]:
14086         * lyx_cb.C:
14087         * intl.[Ch]:
14088         * commandtags.h:
14089         * buffer.C:
14090         * WorkArea.[Ch]:
14091         * LyXAction.C:
14092         * BufferView_pimpl.C:
14093         * BufferView.[Ch]: remove cruft
14094
14095 2001-02-14  Juergen Vigna  <jug@sad.it>
14096
14097         * lyxfunc.C: removed #if 0 unused code
14098
14099         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14100
14101         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14102
14103         * text2.C (SetSelection): added a BufferView * parameter
14104
14105 2001-02-13  Juergen Vigna  <jug@sad.it>
14106
14107         * lyxfunc.C (Dispatch): fixed protected blank problem.
14108         * BufferView2.C (protectedBlank): added LyxText * parameter.
14109
14110         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14111         (AppendColumn): same as above for column_info.
14112
14113         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14114         (moveCursorUpdate): use a LyXText param for support of InsetText.
14115
14116         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14117         (tripleClick): ditto
14118
14119         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14120
14121         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14122
14123         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14124
14125         * text2.C (SetSelection): set correct update status if inset_owner
14126         (ToggleFree): ditto
14127
14128 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14129
14130         * tabular.C: remove some commented code.
14131
14132 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14133
14134         * BufferView_pimpl.C: call hideSplash()
14135
14136         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14137
14138         * include_form.h:
14139         * bibforms.h: remove
14140
14141         * lyxfunc.C:
14142         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14143           add LFUN_CHILD_CREATE
14144
14145         * counters.h: fix tiny typo
14146
14147         * lyx_cb.C:
14148         * lyx.h:
14149         * lyx_gui.C:
14150         * lyx.C: move splash to frontends/xforms/
14151
14152         * lyx_gui_misc.C: move Include and Bibform to frontends
14153
14154         * lyxvc.h: clarify comment
14155
14156         * vspace.C: tiny housekeeping
14157
14158 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14159
14160         * text.C (PrepareToPrint): RTL Fix.
14161
14162         * paragraph.C (GetUChar): New method.
14163         (String):  Use GetUChar.
14164
14165         * buffer.C (asciiParagraph): Use GetUChar.
14166
14167 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14168
14169         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14170
14171 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14172
14173         * buffer.h:
14174         * buffer.C: rename to getLogName(), handle
14175           build log / latex log nicely
14176
14177 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14178
14179         * MenuBackend.C:
14180         * MenuBackend.h: remove support for reference menuitem type.
14181
14182 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14183
14184         * BufferView_pimpl.C: housekeeping
14185         * BufferView_pimpl.h:
14186         * LyXView.h:
14187         * Makefile.am:
14188         * Timeout.C:
14189         * Timeout.h:
14190         * minibuffer.h: move Timeout GUI-I
14191
14192 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14193
14194         * lyxrc.C (read): Update converters data-structures.
14195
14196 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14197
14198         * LaTeX.h (operator!=): add operator != for Aux_Info
14199
14200 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14201
14202         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14203
14204         * LaTeXLog.C: deleted, useful code moved to Buffer
14205
14206         * buffer.h:
14207         * buffer.C: new function getLatexLogName()
14208
14209         * lyx_gui_misc.C:
14210         * lyx_gui.C:
14211         * lyxvc.C:
14212         * lyxvc.h:
14213         * lyxfunc.C: use frontends for LaTeX and VC logs
14214
14215 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14216
14217         * LaTeX.h: yet another std:: that Allan forgot.
14218
14219         * Variables.C (set): renamed from isset(), because this clashes
14220         with some HP-UX macros (grr).
14221
14222 2001-02-06  Allan Rae  <rae@lyx.org>
14223
14224         * LaTeX.h: Another bug fix.  Missing std:: this time.
14225
14226 2001-02-04  Allan Rae  <rae@lyx.org>
14227
14228         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14229         floats problem. I've left it commented out because it's not quite
14230         correct.  It should also test that the current object is a table or
14231         figure inset.  But I haven't gotten around to figuring out how to do
14232         that.  I *think* it'll be something like: "table" == inset.type()
14233
14234         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14235         bool.
14236
14237 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14238
14239         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14240         all the citation/databases/styles in the auxilary file.
14241         (run): Rerun latex if there was a babel language error.
14242
14243 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14244
14245         * text.C (Backspace): Preserve the font when changing newline char
14246         with a space.
14247         (BreakParagraph): If the cursor is before a space, delete the space.
14248
14249         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14250
14251 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14252
14253         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14254         new argument (code).
14255         (ChangeCitationsIfUnique): New method.
14256
14257         * paragraph.C (GetPositionOfInset): Handle bibkey.
14258
14259 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14260
14261         * BufferView_pimpl.h: change type of Position::par_pos to
14262         LyXParagraph::size_type.
14263
14264 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14265
14266         * BufferView_pimpl.C (savePosition, restorePosition): Write
14267         messages to minibuffer.
14268
14269 2001-01-28  José Matos  <jamatos@fep.up.pt>
14270
14271         * buffer.C (makeDocBookFile): adds support for document language.
14272         A silly restriction on the name of LatexCommand types where removed.
14273         Added support for CDATA sections, allows to chars unescaped, used
14274         among others in code, to avoid escape < and >.
14275
14276 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14277
14278         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14279         saved positions instrad of a stack. Furthermore, a position is
14280         stored using paragraph id/paragraph position.
14281
14282         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14283         Remove LFUN_REF_BACK.
14284
14285 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14286
14287         * converter.C (dvipdfm_options): New method.
14288
14289 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14290
14291         * vspace.C (isValidLength): Fix for empty input string.
14292
14293 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14294
14295         * LyXAction.C (init): change description of LFUN_FIGURE to
14296         "Insert Graphics"
14297
14298 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14299
14300         * LaTeX.C: add using directive
14301
14302 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14303
14304         * MenuBackend.C (expand): Fix the sorting of the formats.
14305
14306 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14307
14308         * lyx_main.C: tiny error message fix
14309
14310 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14311
14312         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14313         calling fl_initialize(). This fixes the problem with ',' as
14314         decimal separator in text files.
14315
14316 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14317
14318         * trans.C (process): Fix the keymap bug.
14319
14320 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14321
14322         * LaTeX.C (scanAuxFiles): New method. Provides support for
14323         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14324         (scanLogFile) Scan for "run BibTeX" messages.
14325
14326         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14327         OT1 font encoding. Also, load the aecompl package if the ae
14328         package is loaded.
14329
14330         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14331
14332 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14333
14334         * texrow.C (increasePos): turn two error messages into debug
14335         messages.
14336
14337 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14338
14339         * LaTeX.C (scanAux): Handle the \@input macro.
14340         (runBibTeX): Use scanAux().
14341
14342         * language.C (latex_options_): New field.
14343
14344         * LaTeXFeatures.C (getMacros): Add language macros.
14345
14346         * buffer.C (makeLaTeXFile): Small fix.
14347
14348 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14349
14350         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14351
14352         * text2.C: add a using directive.
14353
14354 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14355
14356         * BufferView2.C:
14357         * lyx_gui_misc.h:
14358         * lyxfr1.C:
14359         * lyxfunc.C: kill LyXBell.
14360
14361 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14362
14363         * text.C (IsBoundary): Remove the error message
14364
14365         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14366
14367         * lyxrc.C (setDefaults): Correct initialization value for
14368         font_norm_type.
14369
14370 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14371
14372         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14373         gotoError().
14374
14375         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14376         and GotoNextNote().
14377
14378         * src/LyXAction.C: Added reference-next.
14379
14380         * text.C (InsertChar): Use contains instead of strchr.
14381
14382         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14383
14384 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14385
14386         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14387         alignment commands (when needed).
14388
14389         * text.C (InsertChar): Add ':' to number separator chars.