]> git.lyx.org Git - features.git/blob - src/ChangeLog
e720b6e67fa42d57fdbfd55e3dd4805ca327a51f
[features.git] / src / ChangeLog
1 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2
3         * text.C (breakParagraph): remove an outdated #warning
4
5 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
6
7         * lyxcursor.[Ch] (operator>): add
8         * textcursor.C (selStart, selEnd): use std::min and std::max
9
10 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
11
12         * Chktex.C: include boost/format.hpp
13
14 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
15
16         * InsetList.C: replace functor MathcIt with adaptable functor
17         InsetTablePosLess
18         (insetIterator): modify accordingly
19
20         * BranchList.h: move the BranchNamesEqual functor here from...
21         * BranchList.C: ... to here
22
23         * BranchList.C: new BranchListEqual fuctor, use it. Remove
24         SameName and match.
25         (add): replace a finding loop with std::find_if.
26
27 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
28
29         * output_docbook.C: moving LatexParam functionality into
30         .layout files
31
32 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
33
34         * buffer.C: increment format to 229.
35
36 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
37
38         * LaTeXFeatures.C:
39         * lyx_sty.[Ch]: remove minipageindent_def
40
41         * LyXAction.C:
42         * factory.C:
43         * lfuns.h:
44         * lyxfunc.C:
45         * text3.C: remove LFUN_INSET_MINIPAGE
46
47 2003-12-28  Angus Leeming  <leeming@lyx.org>
48
49         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
50
51 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
52
53         * text2.C (setParagraph): fix off-by-one crash
54
55 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
56
57         * output_docbook.C: header stuff for AGU
58
59 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
60
61         * text2.C (redoCursor): remove
62         * text.C:
63         * text3.C:
64         * BufferView_pimpl.C: remove calls to redoCursor and
65         setCursor(cursor.par(), cursor.pos()) all around
66
67 2003-12-15  Angus Leeming  <leeming@lyx.org>
68
69         * buffer.C: up the format to 228.
70
71 2003-12-15  André Pönitz  <poenitz@gmx.net>
72
73         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
74         slices
75
76         * Makefile.am:
77
78         * BufferView_pimpl.C:
79         * cursor.[Ch]:
80         * lyxcursor.[Ch]:
81         * rowpainter.[Ch]:
82         * lyxtext.h:
83         * text.C:
84         * text2.C:
85         * text3.C: adjust
86
87 2003-12-15  Angus Leeming  <leeming@lyx.org>
88
89         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
90         than getFromGUIName to manipulate the color.
91
92 2003-12-14  Angus Leeming  <leeming@lyx.org>
93
94         * BranchList.[Ch]: minimize the API.
95         (Branch::getBranch, getColor): now return a 'const &'.
96         (Branch::setSelected) now returns a bool set to true if the
97         selection status changes.
98         (BranchList::clear, size, getColor, setColor, setSelected,
99         allBranches, allSelected, separator): removed.
100         (BranchList::find): new functions, returning the Branch with
101         the given name.
102         (BranchList::add, remove): return a bool indicating that
103         the operation was successful.
104
105         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
106         new InsetBranch::isBranchSlected member function.
107
108         * LColor.[Ch]: mimimize the API.
109         (fill): renamed as addColor and made private.
110         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
111         versions of these functions taking a string arg have been removed.
112
113         * bufferparams.C (readToken):
114         * lyxfunc.C (dispatch):
115         * lyxrc.C (read): changes due to the altered BranchList and
116         LColor APIs.
117
118         * factory.C (createInset, readInset): changes due to altered
119         InsetBranch c-tor.
120
121 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
122
123         * factory.C:
124         * lyxfunc.C: remove insetminipage. "minipage-insert"
125         now produces a frameless minipage box inset.
126
127 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
128
129         * textcursor.[Ch] (selStart,selEnd): add new methods
130         remove selection::start, end, use LyXCursor::operator<
131         * lyxcursor.[Ch] (operator<): add
132         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
133         * BufferView.[Ch] (unsetXSel): add
134         * text2.C (clearSelection): use unsetXSel,adjust
135         * text.C: adjust
136         * text3.C: adjust
137         * rowpainter.C: adjust
138         * bufferview_funcs.C (put_selection_at): adjust
139
140 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
141
142         * BufferView_pimpl.C: small coord. correction
143
144 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
145
146         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
147         dragging over the splash screen.
148
149 2003-12-11  Angus Leeming  <leeming@lyx.org>
150
151         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
152         as it is now handled in LyXText::dispatch.
153
154         * text3.C (doInsertInset): remove a level of nesting.
155
156 2003-12-11  Angus Leeming  <leeming@lyx.org>
157
158         * factory.C (createInset): changes due to the changed interface to
159         InsetCommandMailer::string2params.
160
161 2003-12-10  Angus Leeming  <leeming@lyx.org>
162
163         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
164         'dialog-show-new-inset <inset name>'
165
166 2003-12-10  Angus Leeming  <leeming@lyx.org>
167
168         * buffer.C: up the format to 227.
169
170         * factory.C: the box inset is now identified simply by 'Box'.
171
172 2003-12-10  Angus Leeming  <leeming@lyx.org>
173
174         * buffer.C: up the format to 226.
175
176         * factory.C: the note inset is now identified simply by 'Note'.
177
178 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
179
180         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
181         when a pit is enough. Standarize a couple of loops.
182
183 2003-12-05  Angus Leeming  <leeming@lyx.org>
184
185         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
186         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
187         data to the re-worked "log" dialog.
188
189 2003-12-03  André Pönitz  <poenitz@gmx.net>
190
191         * PosIterator.C:
192         * iterators.C:
193         * lyxtext.h:
194         * output_latex.C:
195         * paragraph_funcs.C:
196         * text.C:
197         * text2.C: use Inset::getText instead of Inset::getParagraph
198
199 2003-12-03  André Pönitz  <poenitz@gmx.net>
200
201         * buffer.[Ch]:
202         * lyxtext.h:
203         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
204         InsetText::read() as LyXText::read()
205
206 2003-12-02  Angus Leeming  <leeming@lyx.org>
207
208         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
209         type. Add a comment in the implementation that the function uses
210         the stream's bad() function rather than fail() as the std::streams
211         would do.
212
213 2003-12-02  André Pönitz  <poenitz@gmx.net>
214
215         * lyxlex.[Ch]: make interface more similar to std::stream
216
217         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
218
219 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
220
221         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
222
223 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
224
225         * vspace.[Ch]: remove VSpace::NONE
226
227 2003-12-01  André Pönitz  <poenitz@gmx.net>
228
229         * buffer.[Ch]:
230         * lyxtext.h: move ParagraphList member to LyXText
231         rename LyXText::ownerParagraphs to LyXText::paragraph
232
233         * CutAndPaste.C:
234         * bufferview_funcs.C:
235         * iterators.[Ch]:
236         * lyx_cb.C:
237         * paragraph.C:
238         * rowpainter.C:
239         * tabular.C:
240         * text.C:
241         * text2.C:
242         * text3.C: adjust
243
244         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
245
246         * undo.C: fix cursor positioning
247
248 2003-12-01  John Levon  <levon@movementarian.org>
249
250         * BufferView_pimpl.C: fix a crash on exit with
251         a buffer open
252
253 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
254
255         * BranchList.C: fix setSelected() method.
256
257 2003-11-28  André Pönitz  <poenitz@gmx.net>
258
259         * ParagraphParameters.[Ch]:
260         * ParameterStruct.h: remove space above/below from Paragraph to
261          InsetVSpace
262
263         * BufferView_pimpl.C:
264         * factory.C:
265         * lyxfunc.C:
266         * lyxtext.h:
267         * output_latex.C:
268         * paragraph.C:
269         * paragraph_funcs.C:
270         * rowpainter.[Ch]:
271         * text.C:
272         * text2.C:
273         * text3.C: adjust
274
275 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
276
277         * factory.C: Syntax change for CharStyles
278
279 2003-11-28  André Pönitz  <poenitz@gmx.net>
280
281         * BufferView.[Ch]:
282         * BufferView.[Ch]:
283         * buffer.[Ch]:
284         * buffer.[Ch]: move LyXText member
285
286 2003-11-28  André Pönitz  <poenitz@gmx.net>
287
288         * BufferView.[Ch]: make LyXText * text a private member
289
290         * BufferView_pimpl.C:
291         * cursor.C:
292         * iterators.C:
293         * lyx_cb.C:
294         * lyxfind.C:
295         * lyxtext.h:
296         * rowpainter.[Ch]:
297         * text.C:
298         * text2.C:
299         * undo.C: adjust
300
301         * output_plaintext.C: cleanup
302
303 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
304
305         * buffer.C:
306         * lyxtextclass.[Ch]: parametrize SGML document header
307
308 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
309
310         * converter.[Ch]:
311         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
312         getFlavor().
313
314 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
315
316         * text2.C (setFont): rework using PosIterator (no more recursive)
317         (setCharFont): no more needed
318         (setLayout): no more selection cursors fiddling (done by redoCursor)
319         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
320         destroy remaining ones)
321
322 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
323
324         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
325         * lyxtext.h: ditto
326         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
327         selection cursors
328         * lyxfunc.C: adjust
329         * text3.C: adjust + re-allow multi par depth changes
330         * textcursor.C: simplify a bit
331
332 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
333
334         * src/buffer.C:
335         * src/lyxlayout.C:
336         * src/lyxlayout.h:
337         * src/lyxtext.h:
338         * src/output_docbook.C:
339         * src/output_latex.C:
340         * src/paragraph.C:
341         * src/paragraph.h:
342         * src/sgml.C:
343         * src/sgml.h:
344         * src/text2.C: Introducing a number of tags parametrizing various
345         XML formats that we may want to support
346
347 2003-11-25  André Pönitz  <poenitz@gmx.net>
348
349         * InsetList.[Ch] (begein, end): inline as suggested by profiler
350
351         * lyxtext.h (leftMargin/rightMargin): simplify interface
352
353         * rowpainter.C:
354         * text.C:
355         * text2.C:
356         * text3.C: adjust
357
358 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
359
360         * lyxfunc.C (dispatch): propogate the bibtex databases from the
361         master file to any child files. Fixes bug 546.
362
363 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
364
365         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
366
367 2003-11-24  André Pönitz  <poenitz@gmx.net>
368
369         * rowpainter.C: simplification
370
371         * text2.C (updateCounters): remove call to redoParagraph on
372         changed labels as this is far too expensive.
373
374 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
375
376         * converter.C (convert): fix a crash: this function gets
377         called with buffer == 0 from importer code.
378
379 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
380
381         * text3.C (cursorPrevious): make sure that we do not compare
382         iterators form different containers.
383         (cursorNext): ditto
384
385         * rowpainter.C (paintSelection): make sure that we do not compare
386         iterators from different containers.
387
388         * text3.C (dispatch): [PRIOR] make sure that we do not compare
389         iterators from different ParagraphList containers.
390         [NEXT] ditto
391
392         * text2.C (LyXText): change order of initialization slightly
393         (operator=): new function. copy all variables except cache_par_
394         (moveUp): make sure that we do not compare iterators from
395         different ParagraphList constainers.
396         (moveDown): ditto
397
398         * text.C (firstPar): new function
399         (lastPar): new function
400         (endPar): new function
401
402         * lyxtext.h: move things around and group public functions, public
403         variables, private functions, private variables
404
405 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
406
407         * factory.C: change call to InsetERT constructor to avoid
408         additional invocation of method status
409         * text2.C (toggleInset): remove redundant update() call
410         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
411         instead of a Bufferview pointer
412
413 2003-11-21  André Pönitz  <poenitz@gmx.net>
414
415         * rowpainter.C: simplification
416
417 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
418
419         * text3.C (dispatch): make possible to extend a word/row selection
420         with the mouse
421
422 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
423
424         * lyxtext.h: x0_,y0_ -> xo_,yo_
425         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
426         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
427         * rowpainter.C (paintRows): paint full paragraphs
428
429 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
430
431         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
432         screen coordinates)
433
434 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
435
436         * lyxtext.h: add x0_, y0_
437         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
438         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
439
440 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
441
442         * text2.C (setCursorIntern): move the x_target update here *
443         * text3.C: change some bv() to true/false in calls to
444         cursorUp/Down/Right/Left
445         * cursor.C: use helper function.
446
447 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
448
449         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
450         * paragraph_funcs.[Ch]: correct comment
451         * rowpainter.C: do not paint selections away from bv->cursor()
452         Fix a long standing selection painting bug.
453         * text3.C: generalize mouse-selection code to LyXTexts other that
454         top one
455         * textcursor.C: do not use y coords if we can use par offsets
456
457 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
458
459         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
460         cursor position after e.g. inset insert)
461
462 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
463
464         * lyxfind.C (replace): adjust to locking removal + some
465         code simplification
466
467 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
468
469         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
470         of the path
471
472 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
473
474         * lyxlayout.[Ch]:
475         * output_docbook.C: XML sanitation: new layout
476         parameters InnerTag and CommandDepth
477
478 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
479
480         * BufferView_pimpl.C:
481         * factory.C:
482         * text3.C: Fix the insertion and modification of button-style
483         insets
484
485 2003-11-13  André Pönitz  <poenitz@gmx.net>
486
487         * InsetList.[Ch]: remove deleteLyXText
488
489         * paragraph.[Ch]: cache beginOfBody position
490
491         * Bidi.C:
492         * text.C:
493         * text2.C:
494         * text3.C: remove superfluous update() calls
495
496         * vspace.C: cleanup
497
498 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
499
500         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
501         * BufferView.C (fitLockedInsetCursor): remove
502         * cursor.[Ch] (getDim): add
503         * text.C (getRowNearY): add faster version
504         * text3.C: remove some update calls
505
506 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
507
508         * LaTeXFeatures.C:
509         * LyXAction.C:
510         * MenuBackend.C:
511         * MenuBackend.h:
512         * dispatchresult.h:
513         * factory.C:
514         * lfuns.h:
515         * lyxfunc.C:
516         * lyxtextclass.C:
517         * lyxtextclass.h:
518         * text3.C: The Character Style /XML short element patch.
519
520 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
521
522         * text3.C:
523         * factory.C: Small step to solving 'unable to insert some insets'
524         problem
525
526 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
527
528         * cursor.[Ch] (updatePos): new function for updating the y
529         position of the tip inset
530         * bufferview_funcs.C (put_selection_at):
531         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
532
533 2003-11-11  André Pönitz  <poenitz@gmx.net>
534
535         * text.C: remove big comment on invalid Paragraph pointers as it is
536         not valid anymore
537
538 2003-11-11  André Pönitz  <poenitz@gmx.net>
539
540         * text_funcs.[Ch]: merge with ...
541
542         * text.C: ... this
543
544         * lyxtext.h:
545         * text2.C:
546         * text3.C: adjust
547
548         * Makefile.am: remove text_funcs.[Ch]
549
550 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
551
552         * cursor.C (getPos): return absolute cached y coord
553
554         * BufferView_pimpl.C (fitCursor): new simplistic code
555         (workAreaDispatch): add a fitCursor call
556
557 2003-11-10  André Pönitz  <poenitz@gmx.net>
558
559         * BufferView.[Ch]:
560         * BufferView_pimpl.[Ch]: merge update() and updateInset()
561
562 2003-11-10  André Pönitz  <poenitz@gmx.net>
563
564         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
565         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
566         indicate that the cursor needs to leave an inset
567
568         * lyxtext.h: remove inset locking
569
570         * cursor.[Ch]: re-implement functionality provided by inset locking
571
572         * BufferView.[Ch]:
573         * BufferView_pimpl.[Ch]:
574         * LyXAction.C:
575         * bufferview_funcs.[Ch]:
576         * factory.C:
577         * funcrequest.[Ch]:
578         * iterators.C:
579         * lyx_cb.C:
580         * lyxfind.C:
581         * lyxfunc.C:
582         * text.C:
583         * text2.C:
584         * text3.C:
585         * undo.C: adjust
586
587 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
588
589         * PosIterator.[Ch]: replace the stack with a vector, add inset
590         accesor
591         * iterators.[C]: adjust
592
593 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
594
595         * lyxfind.C (replaceAll): mark the buffer dirty if something was
596         replaced
597         * paragraph_funcs.C (readParToken): put the correct id in the
598         error item, not the id of the top paragraph
599
600 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
601
602         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
603         * bufferview_funcs.C (put_selection_at): use the above
604
605 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
606
607         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
608
609 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
610
611         * output_linuxdoc.h:
612         * output_plaintext.h:
613         * output.h:
614         * output_docbook.h: add #include statements
615
616 2003-11-05  José Matos  <jamatos@lyx.org>
617
618         * output_docbook.[Ch]:
619         * output_latex.[Ch]:
620         * output_linuxdoc.[Ch]:
621         * output_plaintext.[Ch]: New files for output formats.
622         * output.[Ch]: New file for helper functions.
623
624         * buffer.[Ch]:
625         * paragraph_funcs.[Ch]: output functions moved to new files.
626
627         * outputparams.h: rename of latexrunparams.h
628
629         * LaTeX.[Ch]:
630         * buffer.[Ch]:
631         * bufferlist.[Ch]:
632         * converter.[Ch]:
633         * exporter.C:
634         * paragraph.[Ch]:
635         * paragraph_funcs.[Ch]:
636         * paragraph_pimpl.[Ch]:
637         * tabular.[Ch]: rename ascii to plaintext
638         and LatexRunParams to OutputParams.
639
640 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
641
642         * iterators.[Ch] (text): require bv argument
643         * undo.C (recordUndo):
644         * lyxfunc.C (dispatch):
645         * bufferview_funcs.C (put_selection_at): adjust
646
647 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
648
649         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
650
651 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
652
653         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
654         nestings
655
656 2003-11-04  André Pönitz  <poenitz@gmx.net>
657
658         * cursor.[Ch]: restructure
659
660         * BufferView.[Ch]:
661         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
662
663         * iterators.[Ch] (asCursor): remove
664
665         * lfuns.h: remove LFUN_INSET_EDIT
666
667         * lyxfunc.C:
668         * tabular.C:
669         * text.C:
670         * text2.C:
671         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
672
673 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
674
675         * lyxfind.[Ch]: complete overhaul
676         * BufferView_pimpl.C:
677         * lyxfunc.C: adjust
678         * paragraph.[Ch] (insert): add
679
680 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
681
682         * BufferView.[Ch]:
683         * lyxtext.h:
684         * text.C: remove dead spellcheck code
685
686 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
687
688         * dispatchresult.h: add a val setter
689
690         * cursor.C (dispatch): use a tempvar for data_[i]
691
692 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
693
694         * PosIterator.[Ch]: compile fix
695
696 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
697
698         * text.C (cursorPar): deactivate the cursor cache
699
700 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
701
702         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
703
704 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
705
706         * text3.C (dispatch): adjust for new DisptchResult semantics.
707
708         * lyxfunc.C (dispatch): handle update when return from
709         Cursor::dispatch, adjust for new DispatchResult semantics.
710
711         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
712         DispatchResult(true) mean to not update. Add class functions for
713         setting dispatched and update, as well as reading.
714
715         * cursor.C (dispatch): don't handle update here
716
717 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
718
719         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
720         * trans_mgr.C: adjust
721
722         * paragraph_funcs.C (readParToken): exception safety
723
724         * lyxvc.h: store the vcs pointer in a scoped_ptr
725         * lyxvc.C: adjust
726
727         * lyxsocket.C (serverCallback): exception safety
728
729         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
730
731         * ispell.C (clone): make it return a auto_ptr
732
733         * factory.C (createInset): exception safety
734         (readInset): exception safety
735
736         * bufferlist.C (newBuffer): exception safety
737
738         * Thesaurus.C (Thesaurus): use initialization for aik_
739
740         * MenuBackend.C (expandToc): exception safety.
741
742 2003-11-03  André Pönitz  <poenitz@gmx.net>
743
744         * buffer.C:
745         * buffer.h:
746         * bufferview_funcs.C: remove getInsetFromId()
747
748         * lyxcursor.[Ch]:
749         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
750
751         * lyxfunc.C:
752         * text2.C:
753         * text3.C: adjust
754
755 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
756
757         * PosIterator.C (distance, advance): new
758         * bufferview_funcs.[Ch] (put_selection_at): new
759         * iterators.[Ch] (lockPath): new
760
761 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
762
763         * iterators.[Ch] (asPosIterator): added
764         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
765         * PosIterator.[Ch]: added
766
767 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
768
769         * text3.C:
770         * lyxfunc.C:
771         * cursor.C (dispatch):
772         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
773
774         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
775         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
776         contructor, add a class function dispatched. Remove operator>=
777
778 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
779
780         * debug.C: only use the default constructor for debugstream
781         (lyxerr) here.
782
783         * main.C (main): include debug.h and setup the lyxerr streambuf
784         here.
785
786 2003-10-31  José Matos  <jamatos@lyx.org>
787
788         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
789
790         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
791         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
792         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
793         * paragraph_pimpl.C (simpleTeXSpecialC):
794         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
795         add LatexRunParams argument.
796
797         * exporter.C (Export): change call accordingly.
798
799         * latexrunparams.h: add new member to take care of the other backends.
800 2003-10-30  José Matos  <jamatos@lyx.org>
801
802         * buffer.C (makeLinuxDocFile, makeDocBookFile):
803         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
804         factorise code for paragraph output.
805         * buffer.[Ch]:
806         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
807         move functions.
808
809 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
810
811         * text3.C (dispatch):
812         * lyxfunc.C (dispatch):
813         * cursor.C (dispatch):
814         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
815
816         * dispatchresult.h: make the dispatch_result_t ctor explicit
817
818 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
819
820         * sgml.[Ch]:
821         * buffer.C: small refactoring of docbook stuff
822
823 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
824
825         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
826         meaning.
827
828 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
829
830         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
831         operator dispatch_result_t, and operators for == != and >=
832
833         * cursor.C (dispatch): adjust for operator dispatch_result_t
834         removal. comment out call to update
835
836         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
837
838 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
839
840         * text3.C:
841         * text2.C:
842         * text.C:
843         * lyxtext.h:
844         * lyxfunc.C:
845         * cursor.C:
846         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
847         (dispatch):
848
849         * dispatchresult.h: new file, DispatchResult broken out of
850         insets/insetbase.h
851
852         * Makefile.am (lyx_SOURCES): add dispatchresult.h
853
854 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
855
856         * text.C (rowBreakPoint): put a hack inside #if 0
857
858 2003-10-28  André Pönitz  <poenitz@gmx.net>
859
860         * lyxtext.h:
861         * metricsinfo.C:
862         * paragraph_funcs.C:
863         * rowpainter.C:
864         * text.C:
865         * text2.C: general cleanup (lots of small stuff)
866
867 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
868
869         * text2.C (cursorEnd): simple fix to the "end key goes to one
870         before the end on last row" bug
871
872 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
873
874         * text.C (backspace): fix the "zombie characters"
875
876 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
877
878         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
879
880 2003-10-27  André Pönitz  <poenitz@gmx.net>
881
882         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
883
884         * factory.C: handle new InsetPagebreak, InsetLine
885
886         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
887         and move handling into new InsetPagebreak, InsetLine
888
889         * BufferView_pimpl.C:
890         * LyXAction.C:
891         * ParagraphParameters.C:
892         * ParameterStruct.h:
893         * lyxfunc.C:
894         * lyxtext.h:
895         * paragraph.C:
896         * paragraph.h:
897         * paragraph_funcs.C:
898         * paragraph_pimpl.C:
899         * rowpainter.C:
900         * text.C:
901         * text2.C:
902         * text3.C: adjust
903
904 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
905
906         * text.C:
907         * lyxrow_funcs.[Ch]:
908         * Bidi.C:
909         * paragraph.C:
910         * lyxtext.h:
911         * rowpainter.C:
912         * text2.C:
913         * text3.C: remove lastPos uses in favour of Row::endpos
914
915 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
916
917         * undo.C (performUndoOrRedo): fix two crashes by setting a
918         cursor by hand and reordering some calls. Use bv->lockInset instead
919         of inset->edit because the latter loses cursor information
920
921 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
922
923         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
924         by Martin
925         (rowBreakPoint): fix width. change point to point + 1.
926         Add a missing check.
927
928 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
929
930         * MenuBackend.C:
931         * lyxfunc.C: fix (at least partly) the problems
932         with the Nav menu and headers inside branch insets
933         reported by Kayvan
934
935 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
936
937         * paragraph.C (getChar): add strong asserts
938
939         * lyxrow_funcs.C (lastPos): remove hideous hack
940
941         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
942         (fill): adjust to that (avoid an infinite loop)
943
944 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
945
946         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
947
948 2003-10-23  André Pönitz  <poenitz@gmx.net>
949
950         * RowList_fwd.h: change list<> to vector<> to gain speed
951         after suggestion from Alfredo
952
953 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
954
955         * lyxtext.h: move the bidi stuff from here...
956         * text.C: and here
957         * text2.C: and here
958         * Bidi.[Ch]: ... to here
959
960 2003-10-23  André Pönitz  <poenitz@gmx.net>
961
962         * lyxtext.h:
963         * text.C (isLastRow, isFirstRow): new functions
964
965         * paragraph.h: new width cache member
966
967         * rowpainter.C: replace RowList::iterator with Row & where possible
968
969         * lyxfunc.C: replace several view()->text with a single call
970
971         * toc.C: fix 'unused' warning
972
973 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
974
975         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
976         when woring with stream::pos_type
977         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
978
979 2003-10-22  André Pönitz  <poenitz@gmx.net>
980
981         * lyxtext.h:
982         * text.C: use Row & instead of RowList::iterator
983
984         * lyxrow.h: rename end() to endpos()
985
986         * rowpainter.C:
987         * text.C:
988         * text2.C: adjust
989
990 2003-10-22  Angus Leeming  <leeming@lyx.org>
991
992         * buffer.[Ch] (fully_loaded): new member function, returning true
993         only when the file has been loaded fully.
994         Used to prevent the premature generation of previews and by the
995         citation inset to prevent computation of the natbib-style label.
996
997         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
998         templates are all set up.
999
1000         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1001
1002 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1003
1004         * text.C: fixed an "oops" in the "is a bit silly"
1005         bug fix
1006
1007 2003-10-21  André Pönitz  <poenitz@gmx.net>
1008
1009         * FuncStatus.[Ch]: small stuff, whitespace
1010
1011         * lyxfont.[Ch]: operator<<() for debug reasons
1012
1013         * lyxfunc.C:
1014         * lyxrow_funcs.C:
1015         * lyxtext.h: whitespace, spelling
1016
1017         * paragraph.C: naming of variables
1018
1019         * text.C:
1020         * text2.C: small stuff
1021
1022
1023 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1024
1025         * text.C: (1) finish off the inset display() work;
1026         (2) fix the "is a bit silly" bug (accessing char
1027         past end of par).
1028
1029 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1030
1031         * text.C: re-introduce display() for insets, fixing the
1032         various bugs (stretch of line above, math inset
1033         positioning, ...)
1034
1035 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1036
1037         * text.C (rightMargin): remove spurious semicolon
1038
1039         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1040         1415)
1041
1042 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1043
1044         * text3.C: fix one crash due to wrong cursor def
1045
1046 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1047
1048         * vc-backend.C (scanMaster): make the regex static
1049
1050         * LaTeX.C (scanAuxFile): make the regexs static
1051
1052         * text3.C (doInsertInset, dispatch, dispatch):
1053         * text2.C (cursorUp, cursorDown):
1054         * text.C (selectNextWordToSpellcheck):
1055         * BufferView_pimpl.C (dispatch):
1056         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1057
1058 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1059
1060         * lyxsocket.C: include <cerrno>
1061
1062 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1063
1064         * lyxfunc.C (dispatch): remove textcache stuff
1065
1066         * bufferlist.C (release): remove textcache stuff
1067         (closeAll): ditto
1068
1069         * TextCache.C: delete file
1070         * TextCache.h: delete file
1071
1072         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1073
1074         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1075         delete of the bv_->text.
1076         (resizeCurrentBuffer): remove texcache stuff
1077         (workAreaResize): ditto
1078
1079 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1080
1081         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1082         action.
1083
1084 2003-10-16  André Pönitz  <poenitz@gmx.net>
1085
1086         * lyxrow.[Ch]:
1087         * paragraph.h:
1088         * rowpainter.C:
1089         * text.C:
1090         * text2.C:
1091         * text3.C: speed up by storing y positions per paragraph plus per-row
1092         offset instead of having a 'full' y position in the row.
1093
1094 2003-10-15  André Pönitz  <poenitz@gmx.net>
1095
1096         * iterators.[Ch]:
1097         * iterators.[Ch]:
1098         * undo.[Ch]: make undo aware of inner insets
1099
1100 2003-10-14  Angus Leeming  <leeming@lyx.org>
1101
1102         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1103         static member functions LyX::ref() and LyX::cref.
1104         (lastfiles): new accessor functions for the new lastfiles_ member var.
1105         (addLyXView, views_): add a new LyXView to the list of views_.
1106         (updateInset): loop over all LyXViews to call their own updateInset
1107         member function, returning a pointer to the Buffer owning the inset.
1108
1109         * BufferView_pimpl.C (loadLyXFile):
1110         * MenuBackend.C (expandLastfiles):
1111         * bufferlist.C (MenuWrite, QuitLyX):
1112         lastfiles is no longer a global variable.
1113         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1114
1115         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1116         static function. Access through LyX::cref().emergencyCleanup().
1117
1118 2003-10-14  André Pönitz  <poenitz@gmx.net>
1119
1120         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1121
1122         * undo.[Ch]: restoring part of 'undo in insets'
1123
1124         * Makefile.am:
1125         * undo_funcs.[Ch]: merge with undo.[Ch]
1126
1127         * tabular.C: small cleansing stuff
1128
1129 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1130
1131         * paragraph_funcs.C (readParToken): report unknown insets as error
1132         boxes. Use the outer paragraph as location (also for unknown
1133         tokens).
1134
1135         * factory.C (readInset): do not abort on reading an unknown inset.
1136         Eat it and return 0.
1137
1138 2003-10-13  Angus Leeming  <leeming@lyx.org>
1139
1140         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1141
1142         * lyxrc.C: displayTranslator is now a function,
1143         declared in GraphicsTypes.h.
1144
1145 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1146
1147         * format.C: new placeholder $$a to pass the socket address.
1148
1149         * bufferlist.[Ch]: new function getBufferFromTmp.
1150
1151         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1152           files in the temporary dir.
1153
1154 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1155
1156         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1157
1158         * Makefile.am: add lyxsocket.[Ch].
1159
1160         * lyx_main.C (error_handler): handle SIGPIPE.
1161
1162 2003-10-13  André Pönitz  <poenitz@gmx.net>
1163
1164         * BufferView_pimpl.C:
1165         * lyxtext.h:
1166         * text.C:
1167         * text2.C:
1168         * text3.C:
1169         * undo_funcs.[Ch]: use paroffset_type instead of
1170           ParagraphList::iterators to prevent multiple conversion
1171           (and get a more robust interface)
1172
1173 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1174
1175         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1176         * lyxtext.h: ditto
1177         * text3.C (dispatch): ditto
1178
1179 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1180
1181         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1182         move the onlyfile, use onlyfile instead of foundfile in a couple
1183         of places.
1184
1185         * DepTable.C (update): flush the error stream a bit more
1186
1187 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1188
1189         * lyxserver.C (callback): adjust
1190
1191         * lyxfunc.C (getStatus): add a missing brace in commented code
1192         (ensureBufferClean): reindent
1193         (dispatch): delete version taking a string
1194
1195 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1196
1197         * LaTeX.C (deplog): move found file handlig from here...
1198         (handleFoundFile): .. to new function here.
1199         (deplog): make sure to discover several files mentioned on the
1200         same log line.
1201
1202 2003-10-10  André Pönitz  <poenitz@gmx.net>
1203
1204         * lyxfunc.C:
1205         * lyxtext.h:
1206         * tabular.C:
1207         * text.C:
1208         * text2.C:
1209         * text3.C: fix some of the tabular crashes
1210
1211 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1212
1213         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1214
1215         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1216
1217 2003-10-09  André Pönitz  <poenitz@gmx.net>
1218
1219         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1220
1221         * BufferView.C:
1222         * BufferView_pimpl.C:
1223         * bufferview_funcs.C:
1224         * lyx_cb.C:
1225         * lyxcursor.C:
1226         * lyxfind.C:
1227         * lyxfunc.C:
1228         * lyxtext.h:
1229         * text.C:
1230         * text2.C:
1231         * text3.C:
1232         * text_funcs.[Ch]:
1233         * textcursor.[Ch]:
1234         * undo_funcs.C: adjust
1235
1236 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1237
1238         * text2.C (incrementItemDepth): new function, use a backtracking
1239         algorithm to discover the correct item depth.
1240         (resetEnumCounterIfNeeded): new function, use a backtracking
1241         algorithm to discover if counter reset is needed.
1242         (setCounter): use them. Simplify a bit. Add different labels for
1243         different item depths for itemize.
1244
1245         * paragraph.C (Paragraph): remove initialization of enumdepth
1246         (operator=): ditto
1247
1248         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1249         enumerate and itemize. Change the type of itemdepth to signed char.
1250
1251 2003-10-08  André Pönitz  <poenitz@gmx.net>
1252
1253         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1254           thing assignable.
1255         * text.C:
1256         * text2.C: adjust
1257
1258         * tabular.[Ch]: fix crash after 'row-insert'
1259
1260 2003-10-08  Angus Leeming  <leeming@lyx.org>
1261
1262         Fix doxygen warnings.
1263
1264         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1265         Remove CutAndPaste:: prefix from header file declaration.
1266
1267         * LColor.h (fill): remove LColor:: prefix from declaration.
1268
1269         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1270         use lyx::depth_type rather than Paragraph::depth_type so that
1271         header file and .C file match.
1272
1273         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1274
1275         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1276         * aspell.C: \file aspell_local.C -> \file aspell.C
1277         * gettext.C: \file gettext.C -> \file src/gettext.C
1278         * gettext.h: \file gettext.h -> \file src/gettext.h
1279         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1280         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1281         * text.C: \file text.C -> \file src/text.C
1282
1283         * toc.C: move comment so that doxygen is not confused.
1284
1285 2003-10-07  Angus Leeming  <leeming@lyx.org>
1286
1287         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1288
1289 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1290
1291         * aspell.C:
1292         * aspell_local.h: add forgotten std::string's.
1293
1294 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1295
1296         * LaTeXFeatures.C:
1297         * LyXAction.C:
1298         * factory.C:
1299         * lfuns.h:
1300         * lyxfunc.C:
1301         * text3.C: The Box patch. Fancybox support, minipage, parbox
1302
1303 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1304
1305         * CutAndPaste.h:
1306         * DepTable.h:
1307         * FloatList.h:
1308         * LaTeXFeatures.h:
1309         * ParagraphParameters.h:
1310         * TextCache.h:
1311         * Thesaurus.h:
1312         * bufferlist.h:
1313         * exporter.h:
1314         * importer.h:
1315         * lastfiles.h:
1316         * lyxfind.h:
1317         * lyxfont.h:
1318         * lyxlex.h:
1319         * lyxtextclasslist.h:
1320         * messages.h:
1321         * paragraph.h:
1322         * paragraph_pimpl.C:
1323         * textcursor.h: add <string> and other small fixes to make Lars'
1324         std::string patch compile with STLport.
1325
1326 2003-10-06  Angus Leeming  <leeming@lyx.org>
1327
1328         * LColor.h: Add missing #include <string>.
1329
1330 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1331
1332         * All most all file in all subdirs: Make <string> be the prefered
1333         way of getting to std::string, add using declarations.
1334
1335 2003-10-06  André Pönitz  <poenitz@gmx.net>
1336
1337         * metricsinfo.C: initialize LyXFont before changing attribute.
1338         (fixes the 'math in \emph is upright' bug)
1339
1340 2003-10-06  André Pönitz  <poenitz@gmx.net>
1341
1342         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1343
1344 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1345
1346         * graph.C:
1347         * paragraph_pimpl.C: Small fixes to build using STLport
1348
1349 2003-10-02  André Pönitz  <poenitz@gmx.net>
1350
1351         * lyxfunc.C:
1352         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1353
1354 2003-10-01  André Pönitz  <poenitz@gmx.net>
1355
1356         * factory.C: assert early
1357
1358 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1359
1360         * lyx_main.C: remove the global debug object
1361
1362         * debug.h: adjust for new debugstream
1363
1364         * debug.C: adjust for new debugstream and keep the global debug
1365         object here.
1366
1367 2003-09-22  Angus Leeming  <leeming@lyx.org>
1368
1369         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1370         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1371         an incomplete class LyXFont.
1372
1373 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1374
1375         * factory.C: bug fix in branches
1376
1377 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1378
1379         * lyxfunc.C (processKeySym): adjust
1380         (dispatch): adjust
1381         (dispatch): change arg name from ev to func, adjust
1382         (sendDispatchMessage): ditto
1383
1384         * lyx_main.C (defaultKeyBindings): adjust keybindings
1385         (deadKeyBindings): ditto
1386
1387         * kbsequence.C (addkey): return a FuncRequest
1388
1389         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1390
1391         * kbmap.C (bind): take a FuncRequest as arg, adjust
1392         (read): adjust
1393         (lookup): adjust
1394         (defkey): change to take a FuncRequest as arg, adjust
1395         (findbinding): take a FuncRequest as arg, adjust.
1396
1397         * funcrequest.h (operator=): added
1398
1399         * funcrequest.C (FuncRequest): default kb_action changed from
1400         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1401
1402         * buffer.C (dispatch): simplify
1403         (dispatch): adjust to take a FuncRequest as arg, adjust
1404
1405         * boost.C (assertion_failed): change assertion message slightly
1406
1407         * ToolbarBackend.C (read): simplify
1408
1409         * MenuBackend.C (binding): adjust call to findbinding, add a
1410         message if no binding is found.
1411         (read): simplify
1412         (expandToc): correct by adding a empty FuncRequest
1413
1414         * LyXAction.C: include <boost/assert.hpp>
1415         (isPseudoAction): delete function
1416         (LookupFunc): change name to...
1417         (lookupFunc): this. change return type to FuncRequest.
1418         (getActionName): take kb_action as arg, simplify
1419         (funcHasFlag): add an assert, simplify.
1420
1421 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1422
1423         * toc.C (action): return a FuncRequest, simplify
1424
1425         * lyxfunc.C (processKeySym): adjust
1426         (getStatus): delete version that takes an int.
1427         (getStatus): adjust
1428         (dispatch): delete version that takes action as int
1429         (dispatch): adjust
1430         (sendDispatchMessage): simplify and adjust
1431
1432         * funcrequest.C (getArg): take unsigned int as arg
1433
1434         * ToolbarBackend.C (read): adjust
1435         (add): delete version that takes func as a string.
1436         (getIton): take a FuncRequest as arg
1437
1438         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1439         action.
1440
1441         * MenuBackend.C (MenuItem): add a new construct that only takes a
1442         Kind, simplify the constructor use for submenus.
1443         (add): adjust
1444         (expandLastfiles): adjust
1445         (expandDocuments): adjust
1446         (expandFormats): adjust
1447         (expandFloatListInsert): adjust
1448         (expandFloatInsert): adjust
1449         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1450
1451         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1452         Remove class variables lyx_pseudo_map and lyx_arg_map
1453
1454         * LyXAction.C (searchActionArg): delete function
1455         (getPseudoAction): delete function
1456         (retrieveActionArg): delete function
1457         (LookupFunc): make it return kb_action, simplify.
1458         (getActionName): simplify
1459
1460         * factory.C (createInset): fix new bug
1461
1462 2003-09-19  Angus Leeming  <leeming@lyx.org>
1463
1464         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1465         masterFilename_ parameter in the include inset.
1466
1467         * factory.C (createInset): changes due to the changes to InsetInclude.
1468
1469 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1470
1471         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1472
1473 2003-09-18  Angus Leeming  <leeming@lyx.org>
1474
1475         * buffer.C:
1476         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1477         Inset::fillWithBibKeys.
1478         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1479
1480 2003-09-18  Angus Leeming  <leeming@lyx.org>
1481
1482         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1483         variables.
1484         (ctor): pass and store a 'Buffer const &'
1485         (buffer): new member function.
1486
1487         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1488         '*this' to the LaTeXFeatures ctor.
1489
1490 2003-09-18  Angus Leeming  <leeming@lyx.org>
1491
1492         * LColor.h:
1493         * lyxfont.C:
1494         * lyxfont.h:
1495         * lyxtext.h:
1496         * text.C: rename EnumLColor as LColor_color.
1497
1498 2003-09-18  Angus Leeming  <leeming@lyx.org>
1499
1500         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1501         remove #include "insets/insetbase.h" from cursor.h.
1502
1503 2003-09-18  Angus Leeming  <leeming@lyx.org>
1504
1505         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1506         InsetOld_code to remove #include "inset.h".
1507
1508         * iterators.C: add #include "insets/inset.h"
1509
1510 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1511
1512         * BufferView.C: remove more locking stuff that apparently doesn't
1513         do anything sensible.
1514
1515 2003-09-16  André Pönitz  <poenitz@gmx.net>
1516
1517         * paragraph.[Ch]:
1518         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1519           performance boost.
1520
1521 2003-09-16  Angus Leeming  <leeming@lyx.org>
1522
1523         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1524
1525         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1526         arg/return type.
1527
1528         * paragraph.h: remove #include "lyxfont.h". Forward declare
1529         LyXFont_size.
1530
1531 2003-09-16  Angus Leeming  <leeming@lyx.org>
1532
1533         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1534         of support/textutils.h.
1535         (isWord): move the contents of support/textutils.h's IsWordChar here.
1536
1537         * buffer.C:
1538         * lyxfind.C:
1539         * rowpainter.C:
1540         * text.C:
1541         * text2.C: add #include "paragraph.h".
1542
1543         * rowpainter.C:
1544         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1545
1546 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1547
1548         * main.C:
1549         * lyx_main.C:
1550         * lyx_cb.C:
1551         * buffer.C:
1552         * LaTeX.C: use namespace alias for lyx::support::os
1553
1554 2003-09-16  Angus Leeming  <leeming@lyx.org>
1555
1556         * bufferparams.C:
1557         * bufferview_funcs.C:
1558         * factory.C:
1559         * lyxfunc.C:
1560         * paragraph_pimpl.C:
1561         * rowpainter.C:
1562         * text.C: add #include "LColor.h".
1563
1564 2003-09-16  Angus Leeming  <leeming@lyx.org>
1565
1566         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1567         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1568         return LyXFont &.
1569         Store the FontBits::color variable as an int rather than as an
1570         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1571         file.
1572
1573         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1574         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1575         string calls together.
1576
1577         * lyxrc.C: add #include "LColor.h".
1578
1579 2003-09-15  Angus Leeming  <leeming@lyx.org>
1580
1581         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1582         a cow_ptr.
1583
1584 2003-09-15  Angus Leeming  <leeming@lyx.org>
1585
1586         * LColor.h: add an EnumLColor wrapper for LColor::color.
1587
1588         * lyxfont.[Ch] (color, setColor, realColor):
1589         * lyxtext.h, text.C (backgroundColor):
1590         pass EnumLColor args to/from the functions, rather than LColor::color
1591         ones.
1592
1593         * lyxfont.h:
1594         * lyxtext.h: forward declare EnumLColor.
1595
1596         * lyx_main.C: add #include "LColor.h".
1597
1598 2003-09-15  Angus Leeming  <leeming@lyx.org>
1599
1600         * .cvsignore: add lyx-gtk.
1601
1602 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1603
1604         * Chktex.C
1605         * LaTeX.C
1606         * LaTeXFeatures.C
1607         * ParagraphParameters.C
1608         * Spacing.C
1609         * buffer.C
1610         * bufferparams.C
1611         * bufferview_funcs.C
1612         * chset.C
1613         * counters.C
1614         * funcrequest.C
1615         * lyxfont.C
1616         * lyxgluelength.C
1617         * lyxlength.C
1618         * paragraph.C
1619         * paragraph_funcs.C
1620         * text3.C
1621         * vc-backend.C: remove usage of STRCONV
1622
1623 2003-09-15  Angus Leeming  <leeming@lyx.org>
1624
1625         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1626         explicitly define the color passed to the painter.
1627
1628 2003-09-15  Angus Leeming  <leeming@lyx.org>
1629
1630         * bufferparams.C (BufferParams): reorder member initializers to avoid
1631         compiler warning.
1632
1633 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1634
1635         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1636         * text.C (updateRowPositions): remove an unusual nop
1637
1638 2003-09-12  André Pönitz  <poenitz@gmx.net>
1639
1640         * BufferView_pimpl.C:
1641         * Bullet.C:
1642         * layout.h:
1643         * lyxfunc.C:
1644         * lyxlayout.[Ch]:
1645         * lyxtextclass.C:
1646         * rowpainter.C:
1647         * text.C:
1648         * text2.C:
1649         * Counters.[Ch]: finish the 'automatic counters' job
1650
1651 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1652
1653         * aspell.C: include <boost/assert.cpp> (compile fix)
1654
1655 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1656
1657         * boost.C (assertion_failed): use lyx::support::abort instead of
1658         assert.
1659
1660 2003-09-10  Angus Leeming  <leeming@lyx.org>
1661
1662         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1663         with their _fwd progeny.
1664
1665 2003-09-09  Angus Leeming  <leeming@lyx.org>
1666
1667         134 files throughtout the source tree: replace 'using namespace abc;'
1668         directives with the appropriate 'using abc::xyz;' declarations.
1669
1670 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1671
1672         * boost.C (emergencyCleanup): moved here from LAssert.c
1673         (assertion_failed): new function, called by BOOST_ASSERT
1674
1675         * several files: change Assert to BOOST_ASSERT
1676
1677 2003-09-09  Angus Leeming  <leeming@lyx.org>
1678
1679         * buffer.[Ch]: Add an Impl class and move Buffer's member
1680         variables into it. As a result move several header files out of
1681         buffer.h.
1682
1683         Add header files to lots of .C files all over the tree as a result.
1684
1685 2003-09-09  Angus Leeming  <leeming@lyx.org>
1686
1687         * buffer.[Ch]: make Buffer's member variables private. Add
1688         accessor functions.
1689
1690         Lots of changes all over the tree as a result.
1691
1692 2003-09-08  Angus Leeming  <leeming@lyx.org>
1693
1694         * graph.C: #include <config.h>.
1695
1696 2003-09-08  Angus Leeming  <leeming@lyx.org>
1697
1698         * BranchList.C:
1699         * BufferView.C:
1700         * BufferView_pimpl.C:
1701         * CutAndPaste.C:
1702         * DepTable.C:
1703         * LaTeX.C:
1704         * LaTeXFeatures.C:
1705         * LyXAction.C:
1706         * MenuBackend.C:
1707         * TextCache.C:
1708         * aspell.C:
1709         * buffer.C:
1710         * bufferlist.C:
1711         * changes.C:
1712         * chset.C:
1713         * converter.C:
1714         * counters.C:
1715         * debug.C:
1716         * graph.C:
1717         * ispell.C:
1718         * lyx_cb.C:
1719         * lyxfind.C:
1720         * lyxfunc.C:
1721         * lyxlex_pimpl.C:
1722         * lyxrc.C:
1723         * lyxrow.C:
1724         * paragraph.C:
1725         * rowpainter.C:
1726         * texrow.C:
1727         * text.C:
1728         * text2.C:
1729         * toc.C: remove redundant using directives.
1730
1731 2003-09-07  Angus Leeming  <leeming@lyx.org>
1732
1733         * LaTeXFeatures.h: remove #include "support/types.h".
1734         * ToolbarBackend.h: remove #include <algorithm>.
1735         * changes.h: remove #include <ctime>.
1736         * debug.h: remove #include <iosfwd>.
1737         * graph.h: remove #include "support/std_string.h".
1738         * lyx_main.h: remove #include <csignal>.
1739         * lyxlex_pimpl.h: remove #include <fstream>.
1740         * sgml.h: remove #include <algorithm>, <utility>.
1741         * toc.h: remove #include "support/std_ostream.h".
1742         Add #include <iosfwd>.
1743
1744 2003-09-07  Angus Leeming  <leeming@lyx.org>
1745
1746         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1747
1748         * converter.h: forward declare LatexRunParams.
1749         * encoding.h: remove #include "lyxrc.h".
1750         * lyxtext.h: remove #include "LColor.h".
1751         * lyxtextclass.h: remove #include "support/types.h".
1752         * trans.h: remove #include "tex-accent.h".
1753         * trans_mgr.h: remove #include "tex-accent.h".
1754         * insets/inset.h: remove #include "support/types.h", <vector>.
1755         * insets/insetcollapsable.h: remove #include "LColor.h".
1756         * insets/insetinclude.h: remove #include "dimension.h".
1757         * insets/insetlatexaccent.h: remove #include "dimension.h".
1758         * insets/insetoptarg.h:: remove #include "insettext.h".
1759         * insets/insettext.h: remove #include "dimension.h",
1760         <boost/shared_ptr.hpp>
1761
1762         * insets/renderers.h: add #include "dimension.h".
1763         * insets/updatableinset.h: add #include "support/types.h".
1764
1765         * many .C files: Associated changes.
1766
1767 2003-09-06  Angus Leeming  <leeming@lyx.org>
1768
1769         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1770         one, inside testInvariant.
1771
1772         * PrinterParams.C: new file.
1773         * PrinterParams.[Ch]: move the function bodies out of line.
1774
1775 2003-09-06  Angus Leeming  <leeming@lyx.org>
1776
1777         * ParagraphParameters.h: forward declare ParameterStruct rather than
1778         including its header file.
1779         (depth): moved out-of-line.
1780
1781 2003-09-06  Angus Leeming  <leeming@lyx.org>
1782
1783         * BufferView_pimpl.h:
1784         * kbmap.h:
1785         * kbsequence.h:
1786         * lyxfunc.h: forward declare LyXKeySym rather than
1787         #include "frontends/LyXKeySym.h".
1788
1789         * BufferView_pimpl.C:
1790         * kbmap.C:
1791         * kbsequence.C:
1792         * lyxfunc.C: associated changes.
1793
1794 2003-09-06  Angus Leeming  <leeming@lyx.org>
1795
1796         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1797         As a result, can remove the #include "insets/inset.h" from BufferView.h
1798
1799 2003-09-06  Angus Leeming  <leeming@lyx.org>
1800
1801         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1802         As a result, can remove the #include "insets/inset.h" from BufferView.h
1803
1804 2003-09-06  Angus Leeming  <leeming@lyx.org>
1805
1806         * buffer_funcs.C:
1807         * buffer.h:
1808         * bufferlist.C:
1809         * BufferView.C:
1810         * bufferview_funcs.C:
1811         * BufferView_pimpl.C:
1812         * CutAndPaste.C:
1813         * lyx_cb.C:
1814         * lyxfunc.C:
1815         * paragraph.h:
1816         * ParagraphParameters.C:
1817         * tabular.C:
1818         * text3.C:
1819         * toc.C:
1820         * undo_funcs.C:
1821         * frontends/controllers/ControlDocument.C:
1822         * insets/insetcaption.C: rearrange the #includes into some sort of
1823         coherent order.
1824
1825         * buffer.h: remove #includes ErrorList.h, undo.h
1826
1827 2003-09-06  Angus Leeming  <leeming@lyx.org>
1828
1829         * support/types.h: add a 'depth_type' typedef, used to store the
1830         nesting depth of a paragraph.
1831
1832         * paragraph.h:
1833         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1834         defining explicitly.
1835
1836         * buffer.h:
1837         * paragraph_funcs.h:
1838         * ParagraphParameters.h:
1839         * sgml.h: use lyx::depth_type rather than Paragraph or
1840         ParameterStruct's depth_type.
1841
1842         * buffer.h
1843         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1844
1845         * BufferView.C:
1846         * BufferView_pimpl.C:
1847         * CutAndPaste.C:
1848         * ParagraphParameters.C:
1849         * buffer_funcs.C:
1850         * bufferlist.C:
1851         * bufferview_funcs.C:
1852         * lyx_cb.C:
1853         * lyxfunc.C:
1854         * tabular.C:
1855         * text3.C:
1856         * toc.C:
1857         * undo_funcs.C:
1858         * frontends/LyXView.C:
1859         * frontends/controllers/ControlDocument.C:
1860         * frontends/controllers/ControlErrorList.C:
1861         * insets/insetbibitem.C:
1862         * insets/insetbranch.C:
1863         * insets/insetcaption.C:
1864         * insets/insetcollapsable.C:
1865         * insets/insetenv.C:
1866         * insets/insetert.C:
1867         * insets/insetfloat.C:
1868         * insets/insetfoot.C:
1869         * insets/insetfootlike.C:
1870         * insets/insetnewline.C:
1871         * insets/insetquotes.C:
1872         * insets/insettabular.C:
1873         * insets/insettext.C:
1874         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1875
1876         * frontends/controllers/ControlChanges.C: #include "changes.h".
1877
1878 2003-09-06  Angus Leeming  <leeming@lyx.org>
1879
1880         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1881         than #including paragraph.h.
1882
1883         * ParagraphList.h:
1884         * RowList.h: deleted. Superfluous.
1885
1886         * CutAndPaste.h:
1887         * iterators.h:
1888         * lyxcursor.h:
1889         * lyxtext.h:
1890         * text_funcs.h:
1891         * undo.h:
1892         * undo_funcs.h:
1893         * insets/inset.h:
1894         * insets/insettext.h: use ParagraphList_fwd.h rather than
1895         ParagraphList.h.
1896
1897         * paragraph.h: don't forward declare ParagraphList.
1898
1899         * buffer.h:
1900         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1901         rather than ParagraphList.h. paragraph.h is still needed for the
1902         Paragraph::depth_type parameters.
1903
1904         * textcursor.h: enable it to compile stand-alone in light of the
1905         above changes.
1906
1907         * bufferview_funcs.C:
1908         * iterators.C:
1909         * lyxfunc.C:
1910         * lyxrow_funcs.C:
1911         * paragraph.C:
1912         * rowpainter.C:
1913         * text.C:
1914         * text2.C:
1915         * text3.C:
1916         * text_funcs.C:
1917         * textcursor.C:
1918         * undo.C:
1919         * frontends/controllers/ControlParagraph.C:
1920         * frontends/controllers/ControlTabular.C:
1921         * insets/insetmarginal.C:
1922         * insets/insetminipage.C:
1923         * insets/insetnote.C:
1924         * insets/insetoptarg.C: add header files needed to compile again.
1925
1926 2003-09-06  Angus Leeming  <leeming@lyx.org>
1927
1928         * RowList_fwd.h: new file, forward-declaring Row rather than
1929         #including lyxrow.h.
1930
1931         * lyxrow_funcs.h:
1932         * lyxtext.h:
1933         * paragraph.h:
1934         * insets/insettext.h: use it instead of RowList.h
1935
1936         * bufferview_funcs.C:
1937         * lyxfunc.C:
1938         * lyxrow_funcs.C:
1939         * paragraph.C:
1940         * rowpainter.C:
1941         * text.C:
1942         * text2.C:
1943         * text3.C: #include "RowList.h".
1944
1945 2003-09-05  Angus Leeming  <leeming@lyx.org>
1946
1947         * factory.C (createInset):
1948         * vspace.C (c-tor): replace sscanf call with an istringstream.
1949         * ispell.C: re-add missing HP/UX headers.
1950         * lyxserver.C: re-add missing  os2 headers.
1951
1952 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1953
1954         * BranchList.C:
1955         * graph.C:
1956         * ispell.C:
1957         * lastfiles.C:
1958         * lyx_cb.C:
1959         * lyxserver.C:
1960         * texrow.C:
1961         * text3.C: re-add missing system headers, needed for 2.95.2.
1962
1963 2003-09-05  Angus Leeming  <leeming@lyx.org>
1964
1965         Changes most place everywhere due to the removal of using directives
1966         from support/std_sstream.h.
1967
1968 2003-09-05  Angus Leeming  <leeming@lyx.org>
1969
1970         Replace LString.h with support/std_string.h,
1971         Lsstream.h with support/std_sstream.h,
1972         support/LIstream.h with support/std_istream.h,
1973         support/LOstream.h with support/std_ostream.h.
1974
1975         Changes resulting throughout the tree.
1976
1977 2003-09-05  Angus Leeming  <leeming@lyx.org>
1978
1979         * sgml.h: ensure that the header file can be compiled stand-alone.
1980         * *.C: strip out redundant #includes. (320 in total.)
1981
1982 2003-09-04  Angus Leeming  <leeming@lyx.org>
1983
1984         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1985         here (from getPackages).
1986
1987         * debug.[Ch]: add a new EXTERNAL tag.
1988
1989 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1990
1991         * text2.C (cursorEnd): simplify
1992         (setCursor): adjust
1993         (getColumnNearX): adjust
1994
1995         * text.C (computeBidiTables): adjust
1996         (fill): adjust
1997
1998         * rowpainter.C (paintChars): adjust
1999         (paintSelection): adjust
2000         (paintChangeBar): adjust
2001         (paintText): adjust
2002
2003         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2004         lastPos instead.
2005         (numberOfSeparators): adjust
2006
2007 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2008
2009         * LyXAction.C:
2010         * box.[Ch]:
2011         * lfuns.h:
2012         * lyxfunc.C:
2013         * text3.C: Restricts the mouse click functionality
2014         of insets like bibtex, include, toc and floatlist to the visible
2015         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2016         up the dialogs. Cursor has to be in front of the inset (i.e.
2017         start of row) for this to function.
2018
2019 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2020
2021         * bufferview_funcs.C (currentState): output row information
2022
2023 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2024
2025         * bufferview_funcs.C (currentState): output paragraph position
2026
2027 2003-09-04  Angus Leeming  <leeming@lyx.org>
2028
2029         * FloatList.h: move out #include "Floating.h".
2030         * LaTeX.h: move out #include "DepTable.h".
2031         * LyXAction.h: move out #include "funcrequest.h".
2032         * buffer.h: move out #include "author.h", "iterators.h".
2033         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2034         * lyx_main.h: move out #include "errorlist.h".
2035         * lyxfunc.h: move out #include "FuncStatus.h".
2036         * lyxtext: move out #include "lyxcursor.h".
2037         * paragraph_pimpl.h: move out #include "counters.h".
2038
2039 2003-09-03  Angus Leeming  <leeming@lyx.org>
2040
2041         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2042         preamble_snippets list, enabling us to add snippets to the preamble
2043         only if the snippet was not there already.
2044
2045 2003-09-04  Angus Leeming  <leeming@lyx.org>
2046
2047         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2048
2049 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2050
2051         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2052         update
2053
2054 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2055
2056         * BranchList.C: point fix, earlier forgotten
2057
2058 2003-09-02  Angus Leeming  <leeming@lyx.org>
2059
2060         * box.C (contains): renamed from 'contained' after a fantastic
2061         amount of hot air.
2062
2063 2003-09-02  John Levon  <levon@movementarian.org>
2064
2065         * BufferView.C:
2066         * lyxcursor.h:
2067         * lyxcursor.C:
2068         * lyxfunc.C:
2069         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2070
2071 2003-09-02  John Levon  <levon@movementarian.org>
2072
2073         * text2.C: simplification of cursorEnd(), including partial
2074         fix for bug 1376
2075
2076 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2077
2078         * buffer.C (readFile): add a space
2079
2080 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2081
2082         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2083
2084 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2085
2086         * buffer.C (readFile): new function, take a filename and a
2087         ParagraphList::iterator
2088         (readFile): adjust
2089         (readFile): adjust, make it private. don't use setStream, make
2090         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2091         always contain the filename.
2092
2093         * BufferView.C (insertLyXFile): simplify and make it work for
2094         gzipped files.
2095
2096 2003-08-30  John Levon  <levon@movementarian.org>
2097
2098         * Makefile.am: fix dist (from Kayvan)
2099
2100 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2101
2102         * most files: change to use const Buffer refs
2103
2104 2003-08-27  André Pönitz  <poenitz@gmx.net>
2105
2106         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2107         on top of ownerPar().
2108
2109 2003-08-27  John Levon  <levon@movementarian.org>
2110
2111         * funcrequest.C: properly initialise POD members
2112
2113 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2114
2115         * lyxtext.h (top_y): move top_y from here
2116         * text.C:
2117         * text2.C:
2118         * text3.C:
2119         * BufferView.[Ch]:
2120         * BufferView_pimpl.[Ch]: to here
2121         * frontends/screen.C:
2122         * insets/insettabular.C:
2123         * insets/insettext.C: adjust
2124         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2125
2126 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2127
2128         * BufferView.[Ch]:
2129         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2130
2131 2003-08-26  André Pönitz  <poenitz@gmx.net>
2132
2133         * paragraph_func.[Ch] (outerPar): new function
2134
2135         * paragraph.C:
2136         * paragraph_funcs.C:
2137         * paragraph_funcs.h:
2138         * paragraph_pimpl.C:
2139         * text2.C: remove Inset::par_owner
2140
2141 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2142
2143         * lyxrow_funcs.C:
2144         * lyxtext.h:
2145         * text.C:
2146         * text2.C: eliminates the needFullRow/display() stuff
2147         altogether, putting the logic in metrics/draw in the insets.
2148
2149 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2150
2151         * text2.C (redoParagraphInternal, redoParagraphs):
2152         * text.C (redoParagraph): add a call to updateRowPositions at the
2153         end of each 'metrics-like' call. Remove all others.
2154         (getRow): remove the 'y-computing' version.
2155         (getRowNearY): do not compute nor return the real y. Solve the
2156         'y < 0' problem and simplify.
2157
2158 2003-08-22  Angus Leeming  <leeming@lyx.org>
2159
2160         * *.[Ch]: clean-up of licence and author blurbs.
2161         Also move config.h out of a few .h files and into a few .C files.
2162
2163 2003-08-22  André Pönitz  <poenitz@gmx.net>
2164
2165         * lyxrow.[Ch]: add x_ and *fill_ members
2166
2167         * lyxtext.h:
2168         * text.C:
2169         * rowpainter.C:
2170         * text2.C: adjust/remove prepareToPrint() calls
2171
2172 2003-08-22  André Pönitz  <poenitz@gmx.net>
2173
2174         * lyxrow.[Ch]: add  end_ member
2175
2176         * lyxrow_funcs.C: use LyXRow::end_
2177
2178         * lyxtext.h (singleWidth): add LyXFont parameter
2179
2180         * rowpainter.C:
2181         * text2.C: adjust LyXText::singleWidth() calls
2182
2183         * text.C (redoParagraph): simplify row breaking logic
2184
2185
2186 2003-08-19  André Pönitz  <poenitz@gmx.net>
2187
2188         * funcrequest.C: initialize button_ member
2189
2190         * text3.C:
2191         * rowpainter.[Ch]: interface consolidation
2192
2193 2003-08-18  André Pönitz  <poenitz@gmx.net>
2194
2195         * BufferView.C:
2196         * BufferView_pimpl.C:
2197         * lyxfind.C:
2198         * paragraph_funcs.C:
2199         * rowpainter.C:
2200         * text3.C: remove LyXScreen::draw() and fitCursor calls
2201
2202         * BranchList.h: remove spurious semicolons
2203
2204         * MenuBackend.C: fix branchlist related crash
2205
2206 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2207
2208         * BranchList.[Ch]:
2209         * InsetList.[Ch]:
2210         * LColor.[Ch]:
2211         * LyXAction.C:
2212         * Makefile.am:
2213         * MenuBackend.[Ch]:
2214         * bufferparams.[Ch]:
2215         * factory.C:
2216         * lfuns.h:
2217         * lyxfunc.C:
2218         * text3.C: implements the 'branch inset'
2219         idea. This allows the output of various versions of a document
2220         from a single source version, selectively outputing or suppressing
2221         output of parts of the text.
2222         This implementation contains a 'branch list editor' in a separate
2223         tab of the document settings dialog. Branches are user definable
2224         and have a "display colour" to distinguish them on-screen.
2225
2226         ColorHandler was somewhat cleaned up.
2227         (1) make possible a dynamically growing LColor list by allowing
2228         the graphic context cache to grow along (vector);
2229         (2) eliminate an IMHO unnecessary step in colour allocation.
2230
2231 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2232
2233         * BufferView_pimpl.C: compile fix
2234
2235 2003-08-15  André Pönitz  <poenitz@gmx.net>
2236
2237         * rowpainter.C: remove extra metrics calls
2238
2239         * lyxtext.h: merge the two constructors into a single one,
2240           pass reference to owner's par list
2241
2242         * BufferView_pimpl.C:
2243         * text.C:
2244         * text2.C: adjust
2245
2246 2003-08-15  André Pönitz  <poenitz@gmx.net>
2247
2248         * lyxrow_funcs.[Ch]:
2249         * lyxtext.h:
2250         * paragraph.h:
2251         * paragraph_funcs.C:
2252         * rowpainter.C:
2253         * text.C:
2254         * text2.C:
2255         * text3.C:
2256         * text_funcs.C: split LyXText::rowlist_ into individual
2257         Paragraph::rows_ chunks
2258
2259         * BufferView.[Ch]:
2260         * BufferView_pimpl.[Ch]:
2261         * lyxfind.C:
2262         * lyxtext.h:
2263         * text3.C: remove toggleSelection()
2264
2265 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2266
2267         * bufferlist.C: beautify two alerts (shorter text of buttons)
2268         * buffer.C: Remove redundant ' ' from message
2269         * tabular.h:
2270         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2271         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2272         rename VALIGN_CENTER to VALIGN_MIDDLE
2273
2274 2003-08-11  André Pönitz  <poenitz@gmx.net>
2275
2276         * lyxtext.h (getPar):
2277         * text.C: new function
2278
2279 2003-08-11  André Pönitz  <poenitz@gmx.net>
2280
2281         * Makefile.am:
2282         * tracer.[Ch]: remove unneeded files
2283
2284         * InsetList.[Ch]: remove resizeInsetsLyXText()
2285
2286         * lyxtext.h:
2287         * text.C:
2288         * text2.C:
2289         * text3.C: merge insertParagraphs() and appendParagraph()
2290         remove breakAgain(), update()
2291
2292         * BufferView_pimpl.[Ch]:
2293         * bufferview_funcs.[Ch]:
2294         * lyxfunc.C:
2295         * paragraph.[Ch]:
2296         * rowpainter.C:
2297         * tabular.C: adjust after text & InsetList changes.
2298
2299 2003-08-08  André Pönitz  <poenitz@gmx.net>
2300
2301         * text.C (insertChar, backspace): replace rowlist fiddling
2302         with rebreak of full par
2303
2304         * lyxtext.h:
2305         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2306         checkParagraph, updateInset): removed
2307
2308 2003-08-07  André Pönitz  <poenitz@gmx.net>
2309
2310         * paragraph.C:
2311         * text3.C: merge some LFUN handlers, remove dead code
2312
2313 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2314
2315         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2316
2317 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2318
2319         * text2.C (DEPM): fix part of bug 1255 and 1256
2320
2321 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2322
2323         * BufferView_pimpl.C (workAreaDispatch): change to use
2324         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2325         that are no mouse related.
2326
2327 2003-08-05  André Pönitz  <poenitz@gmx.net>
2328
2329         * BufferView.[Ch]:
2330         * BufferView_pimpl.[Ch]:
2331         * bufferview_funcs.C:
2332         * text2.C:
2333         * text3.C: rip out "deep update"
2334
2335         * textcursor.[Ch] (last_sel_cursor): remove unused member
2336
2337 2003-08-04  André Pönitz  <poenitz@gmx.net>
2338
2339         * BufferView.[Ch]:
2340         * BufferView_pimpl.[Ch]:
2341         * ParagraphParameters.C:
2342         * bufferview_funcs.C:
2343         * lyx_cb.C:
2344         * lyxfind.C:
2345         * lyxfunc.C:
2346         * text.C:
2347         * text2.C:
2348         * text3.C: replace "complicated" BufferView::update(...) calls with
2349         simpler ones.
2350
2351         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2352
2353 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2354
2355         * Makefile.am (lyx_SOURCES): add paper.h
2356
2357 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2358
2359         * Makefile.am: move things around so that both lyx-qt and
2360         lyx-xforms can be built (according to --with-frontend). Then lyx
2361         is a symbolic link to lyx-[firstfrontend]
2362
2363 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2364
2365         * Always use std::endl with lyxerr
2366
2367 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2368
2369         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2370
2371 2003-08-01  André Pönitz  <poenitz@gmx.net>
2372
2373         * BufferView.[Ch]:
2374         * BufferView_pimpl.[Ch]:
2375         * lyxfunc.C:
2376         * text3.C: merge BufferView::repaint() and BufferView::update()
2377
2378 2003-08-01  José Matos  <jamatos@lyx.org>
2379
2380         * buffer.[Ch]: file_format is no longer a buffer data element.
2381
2382 2003-08-01  André Pönitz  <poenitz@gmx.net>
2383
2384         * BufferView.C:
2385         * lyxtext.h:
2386         * text.C:
2387         * text2.C: make redoParagraph more independent of current cursor
2388
2389         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2390         * text.C:
2391         * text2.C: remove unneeded members
2392
2393 2003-07-30  André Pönitz  <poenitz@gmx.net>
2394
2395         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2396
2397         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2398           create a single function...
2399
2400         * paragraph_funcs.C (moveItem): ... here.
2401
2402         * text.C:
2403           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2404
2405 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2406
2407         * LColor.[Ch]: Add comment and greyedout logical colors.
2408
2409 2003-07-30  André Pönitz  <poenitz@gmx.net>
2410
2411         * tabular.C: don't use Assert too heavily. This crashes where it
2412           shouldn't
2413
2414 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2415
2416         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2417         is disabled (bug 1232)
2418
2419 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2420
2421         * factory.C: limited 'arg' scope
2422
2423 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2424
2425         * factory.C: fixed Note submenu issues
2426
2427 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2428
2429         * factory.C: submenu for Note/Comment/Greyedout
2430
2431 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2432
2433         * lyx_main.C (LyX):
2434         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2435
2436 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2437
2438         * LaTeXFeatures.C:
2439         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2440         greyedout. Patch provided by Jürgen Spitzmüller.
2441
2442 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2443
2444         * kbmap.C (read): fix error message when reading bind files
2445
2446 2003-07-29  Angus Leeming  <leeming@lyx.org>
2447
2448         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2449         certainly does not do what it purports to do. I am doing it, and
2450         us, a favour by killing it.
2451
2452 2003-07-28  José Matos  <jamatos@lyx.org>
2453
2454         * buffer.C (readBody, do_writeFile):
2455         * paragraph.C(readParagraph): \end_document replaces \the_end.
2456
2457 2003-07-29  André Pönitz  <poenitz@gmx.net>
2458
2459         * BufferView.[Ch]:
2460         * BufferView_pimpl.[Ch]:
2461         * lyxfunc.C:
2462         * text2.C:
2463         * text3.C:
2464         * textcursor.[Ch]: remove toggleToggle & Co
2465
2466 2003-07-28  José Matos  <jamatos@fep.up.pt>
2467
2468         * buffer.C (readParagraph):
2469         * params_func (readParToken, readParagraph):
2470         * paragraph.C (write): \layout -> \begin_layout.
2471
2472 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2473
2474         * lyxlex_pimpl.C (setFile): clean up slightly.
2475
2476         * bufferparams.h: add compressed var
2477
2478         * buffer_funcs.C (readFile): adjust for LyXLex change
2479         (newFile): ditto + simplify
2480
2481         * buffer.C (writeFile): handle writing of compressed files
2482
2483         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2484         Check if the file is compressed and set a bufferparm if so.
2485
2486         * Makefile.am (lyx_LDADD): remove explicit -lz
2487
2488 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2489
2490         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2491         makeDocBookFile): put the real LyX version in the first line of
2492         the file
2493
2494         * version.h:
2495         * version.C.in: remove lyx_docversion
2496
2497         * tabular.C (write_attribute): add a template-based version to
2498         write enums properly
2499
2500 2003-07-28  André Pönitz  <poenitz@gmx.net>
2501
2502         * lyxtext.h:
2503         * text.C:
2504         * text2.C:
2505         * text3.C: use doubles again for x-coordinates. They are needed.
2506
2507 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2508
2509         * messages.C (getLocaleDir): use lyx_localedir()
2510
2511         * lyxlex_pimpl.C (setFile): compress stuff
2512
2513         * buffer.C (writeFile): add some compression stuff
2514         (do_writeFile): new func, dont call expliti close... will this
2515         breake anything?
2516
2517         * Makefile.am (lyx_LDADD): add -lz
2518
2519 2003-07-28  José Matos  <jamatos@fep.up.pt>
2520
2521         * buffer.C: increment file format.
2522         * paragraph_funcs (readParagraph, readParToken):
2523         * paragraph.C (readParagraph): add \end_layout.
2524
2525 2003-07-27  Angus Leeming  <leeming@lyx.org>
2526
2527         * Makefile.am: remove special casing for configure-time setting of
2528         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2529
2530         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2531         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2532
2533 2003-07-26  André Pönitz  <poenitz@gmx.net>
2534
2535         * paragraph_func.[Ch]:
2536         * paragraph.C (realizeFont): inline it whereever it is used
2537
2538         * rowpainter.C:
2539         * text.C:
2540         * text2.C:
2541         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2542
2543
2544 2003-07-26  André Pönitz  <poenitz@gmx.net>
2545
2546         *       lyxtext.h:
2547         * text.C:
2548         * text2.C: get rid of LyXText::need_break_row
2549
2550 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2551
2552         * toc.[Ch]: put namespace toc inside namespace lyx
2553
2554         * MenuBackend.C (expandToc2): adjust for lyx::toc
2555         (expandToc): ditto
2556
2557         * lyxfunc.C (dispatch): adjust for lyx::find
2558
2559         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2560         lyx::find instead. Reorganize a bit.
2561         (LyXReplace): rename to replace
2562         (LyXFind): rename to find
2563
2564         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2565         (dispatch): ditto
2566
2567 2003-07-26  André Pönitz  <poenitz@gmx.net>
2568
2569         * text.C (setHeightOfRow): restrict scope of temporary variable
2570
2571         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2572           code (never has been used?)
2573
2574 2003-07-27  Asger Alstrup  <alstrup@local>
2575
2576         * text.C (fill): Optimise algorithm to exploit that we can reuse
2577         the LyXFont for many characters.
2578         (setHeightOfRow): Same thing.
2579         (rowBreakPoint): Same thing.
2580
2581 2003-07-26  Asger Alstrup  <alstrup@local>
2582
2583         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2584
2585         * text.C (singleWidth): Spurious font copying in hot-spot
2586         singleWidth avoided. Reorder tests for arabic for efficiency.
2587
2588         * text.C (fill): handle empty paragraphs better.
2589
2590 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2591
2592         * ispell.C:
2593         * encoding.h: add includes
2594
2595         * lyxrc.C: remove reading of bind files
2596
2597         * lyx_main.C (init): setup bindings and menus only if we have a
2598         gui.
2599
2600         * kbmap.C (read): new method. Do the actual reading of bind
2601         files.
2602
2603         * converter.C (dvipdfm_options):
2604         * bufferparams.C:
2605         * lyxrc.C (read):
2606         (output): adapt PAPER_* enums.
2607
2608         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2609
2610         * bufferparams.h: remove paper-related enums from there
2611
2612         * paper.h: New file. A trivial header file to hold paper-related
2613         enums. It should later expand to contain many paper-related
2614         horrors access.
2615
2616         * lyxrc.C: declare extern displayTranslator
2617
2618 2003-07-27  José Matos  <jamatos@fep.up.pt>
2619
2620         * tabular.[Ch] (linuxdoc): add support for tables and figures
2621         (linuxdoc).
2622
2623 2003-07-27  José Matos  <jamatos@fep.up.pt>
2624
2625         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2626         consistency in both functions.
2627         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2628
2629 2003-07-26  Asger Alstrup  <alstrup@local>
2630
2631         * rowpainter.C (paintRows): Change algorithm to work directly on
2632         the insets rather than asking every character in the document
2633         whether its an inset.
2634
2635 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2636
2637         * buffer.C (openFileWrite): factorize some code
2638
2639 2003-07-26  Angus Leeming  <leeming@lyx.org>
2640
2641         * lyx_cb.C:
2642         * lyx_main.[Ch]: replace occurances of system_tempdir with
2643         os::getTmpDir().
2644
2645 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2646
2647         * rename Inset to InsetOld
2648
2649 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2650
2651         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2652         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2653         which I think is a bit clearer. EDIT is gone, since it was
2654         premature optimisation, and broken for mathed anyway.
2655         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2656         with cursor positioning in insets as well (math insets still do not
2657         work, but that's a different story anyway.) It mysteriously
2658         crashes sometimes with undo in the first paragraph, but I'm fairly
2659         confident that this is a compiler bug.
2660
2661 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2662
2663         * paragraph.C (Paragraph): adjust for new clone return type
2664         (operator==): ditto
2665         (copyIntoMinibuffer): ditto
2666
2667 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2668
2669         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2670         by not having a special case, and always doing a full rebreak of
2671         the document after undo.
2672
2673 2003-07-23  Angus Leeming  <leeming@lyx.org>
2674
2675         * factory.C (createInset): InsetExternal::setParams now takes a
2676         Buffer const * arg.
2677
2678 2003-07-23  Angus Leeming  <leeming@lyx.org>
2679
2680         * factory.C (createInset): changed interface to the external and
2681         graphics mailers' string2params functions.
2682
2683 2003-07-23  Angus Leeming  <leeming@lyx.org>
2684
2685         * factory.C (createInset): pass a
2686         Buffer const * parameter to InsetExternalMailer's string2params.
2687
2688 2003-07-22  John Levon  <levon@movementarian.org>
2689
2690         * Thesaurus.h: include the right aiksaurus header
2691
2692 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2693
2694         * MenuBackend.C (expand): check menu shortcuts unconditionally
2695
2696 2003-07-21  Angus Leeming  <leeming@lyx.org>
2697
2698         * factory.C (createInset): pass a
2699         buffer_path parameter to InsetGraphicsMailer's string2params.
2700
2701 2003-07-21  Angus Leeming  <leeming@lyx.org>
2702
2703         * BufferView_pimpl.C (buffer):
2704         * buffer.C (d-tor):
2705         * lyx_main.C (LyX):
2706         * lyxfunc.C (dispatch):
2707         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2708         rather than the grfx shortcut.
2709
2710 2003-07-21  André Pönitz  <poenitz@gmx.net>
2711
2712         * rowpainter.C: remove unused variables
2713
2714         * tabular_funcs.C:
2715         * tabular_funcs.h: move to tabular.C
2716         * Makefile.am: adjust
2717
2718         * tabular.[Ch]: basic optical cleaning
2719
2720         * author.h: pass references, not values
2721
2722 2003-07-18  André Pönitz  <poenitz@gmx.net>
2723
2724         * lyxtext.h:
2725         * metricsinfo.C:
2726         * metricsinfo.h:
2727         * rowpainter.C:
2728         * text.C:
2729         * text2.C:
2730         * text3.C: two-phase drawing for InsetText and InsetTabular
2731         some float -> int changes.
2732
2733 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2734
2735         * lyx_main.C: fix the fix
2736
2737 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2738
2739         * lyx_main.C: fix a crash in batch mode if no files specified
2740         * converter.C: ws
2741
2742 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2743
2744         * format.[Ch] (papersize): moved to BufferParams
2745         * converter.[Ch] (dvips_options): moved to BufferParams
2746         (dvipdfm_options): moved to anon namespace
2747         * bufferparams.[Ch]: added above functions.
2748
2749 2003-07-17  André Pönitz  <poenitz@gmx.net>
2750
2751         * lyxtext.h:
2752         * rowpainter.C:
2753         * text2.C: don't call inset->update() anymore
2754
2755         * metricsinfo.[Ch]: add convenience constructor
2756
2757 2003-07-16  André Pönitz  <poenitz@gmx.net>
2758
2759         * lyxcursor.[Ch]:
2760         * lyxfunc.[Ch]:
2761         * text.C:
2762         * text2.C: replace the LyXCursor::irow_ member with
2763          on-demand computation of the value
2764
2765 2003-07-16  John Levon  <levon@movementarian.org>
2766
2767         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2768
2769 2003-07-15  André Pönitz  <poenitz@gmx.net>
2770
2771         * text.C:
2772         * text2.C: remove no more needed refresh_row
2773
2774 2003-07-15  André Pönitz  <poenitz@gmx.net>
2775
2776         * lyxtext.h:
2777         * rowpainter.C:
2778         * text2.C:
2779         * text3.C: refresh_status tristate -> need_update bool
2780
2781 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2782
2783         * lyxtext.h (init): remove reinit argument (act as if always true)
2784         * text2.C: adjust to that
2785
2786 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2787
2788         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2789         * text3.C: use it to delete selections in some cases
2790         (bugs 441, 673, 702, 954).
2791
2792 2003-07-14  André Pönitz  <poenitz@gmx.net>
2793
2794         * rowpainter.[Ch]: reduce interface
2795
2796 2003-07-14  André Pönitz  <poenitz@gmx.net>
2797
2798         * BufferView_pimpl.C:
2799         * text2.C: adjust after removing unused BufferView * argument
2800
2801 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2802
2803         * text2.C (init): fix a crash fired on resize
2804
2805 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2806
2807         * buffer.[Ch]: added new closing signal
2808         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2809         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2810         BufferView::Pimpl via the closing the signal
2811
2812 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2813
2814         * buffer.[Ch]: take out all bv-related from buffer
2815         * BufferView.C:
2816         * BufferView_pimpl.[Ch]: connect to new signals
2817         * CutAndPaste.C: removed useless asserts
2818         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2819         * lyxvc.[Ch]:
2820         * vc-backend.[Ch]:
2821         * lyxfunc.C: moved view-related funciontality from vc here
2822         * paragraph.C: removed outdated comments
2823         * text.C: ws
2824
2825 2003-07-10  André Pönitz  <poenitz@gmx.net>
2826
2827         * BufferView_pimpl.C:
2828         * tabular.h:
2829         * tabular_funcs.C:
2830         * text.C:
2831         * text2.C: remove InsetText::InnerCache, clean up consequences
2832
2833 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2834
2835         * ispell.C: fix two typos in error messages
2836
2837 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2838
2839         * Extend Note inset to other forms of annotation like Comment
2840         and Greyedout. Right button click gives dialog.
2841
2842         Files modified or added (+):
2843
2844         * insetnote.[Ch]
2845         * FormNote.[Ch]      +
2846         * ControlNote.[Ch]   +
2847         * form_note.fd       +
2848         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2849         frontends/controllers
2850         * xforms/Dialogs.C
2851         * factory.C
2852
2853 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2854
2855         * aspell.C: add missing namespace lyx::support
2856
2857 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2858
2859         * BufferView.[Ch] (newFile): Add
2860         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2861         * LaTeX.[Ch] (message): added this signal and use it
2862         * buffer.[Ch] (busy, message): added these signals and use them
2863         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2864         * converter.C:
2865         * exporter.C:
2866         * format.C:
2867         * importer.C: use buffer signals instead of direct bv calling
2868         * lyx_cb.[Ch] (ShowMessage): removed
2869         * lyx_main.C:
2870         * lyxfunc.C:
2871         * paragraph_funcs.C:
2872         * text2.C: use buffer signals
2873
2874 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2875
2876         * introduce namespace lyx::graphics
2877
2878 2003-07-02  André Pönitz  <poenitz@gmx.net>
2879
2880         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2881
2882 2003-07-01  André Pönitz  <poenitz@gmx.net>
2883
2884         * text.C:
2885         * text2.C:
2886         * text3.C:
2887         * text_funcs.[Ch]:
2888         * textcursor.h:
2889         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2890           text*.C to text_func.C
2891
2892 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2893
2894         * introduce namespace lyx::support
2895
2896 2003-06-30  André Pönitz  <poenitz@gmx.net>
2897
2898         * Chktex.C:
2899         * funcrequest.C:
2900         * lyxtext.h:
2901         * text.C: re-enable --with-included-string
2902
2903 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2904
2905         * textcursor.C: add <config.h>
2906
2907         * text.C (getWord): remove const from word_location arg
2908
2909         * lyxvc.C (getLogFile): fix const type order
2910
2911         * lyxtext.h: remove const from word_location arg, add arg name
2912
2913         * lyxlayout.h: currect type on labeltype.
2914
2915         * importer.C: correct \file
2916
2917         * converter.C (intToFormat): use std:: on ret val, ws changes
2918
2919         * bufferlist.h: correct \file
2920
2921         * buffer.C (makeLinuxDocFile): fix const type order
2922         (makeDocBookFile): ditto
2923         (fillWithBibKeys): use std:: on stdlib args.
2924
2925         * CutAndPaste.C: fix authors.
2926         (availableSelections): use std:: on return vector
2927
2928 2003-06-27  André Pönitz  <poenitz@gmx.net>
2929
2930         * BufferView_pimpl.C:
2931         * bufferview_funcs.C:
2932         * lyxcursor.C:
2933         * lyxcursor.h:
2934         * lyxfunc.C:
2935         * lyxtext.h:
2936         * rowpainter.C:
2937         * text.C:
2938         * text2.C:
2939         * text3.C: remove LyXCursor::row_ member
2940
2941         * lyxtext.h:
2942         * text.C: rename fullRebreak() to partialRebreak() and implement
2943           a fullRebreak() that really bereks fully
2944
2945         * textcursor.h: new struct for cursor-related data
2946
2947 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2948
2949         * lyx_main.C (LyX): get full path of document loaded on the
2950         command line
2951
2952 2003-06-26  André Pönitz  <poenitz@gmx.net>
2953
2954         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2955           remove unused/broken operator>,<,>=.
2956
2957         *       text.C: remove only use of broken operator<= in an Assert().
2958
2959 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2960
2961         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2962         moved errorlist_.clear to showErrorList
2963
2964 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2965
2966         * converter.C (scanLog, runLaTeX):
2967         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2968         move the bv->showErrorList call to the callers
2969         * lyxfunc.C: i.e. here...
2970         * text2.C: and here
2971         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2972         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2973         namespace, the second to...
2974         * buffer_funcs (BufferFormat, parseErrors): added
2975         * errorlist.C (ErrorList(TeXErrors const &)): removed
2976
2977 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2978
2979         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2980
2981 2003-06-24  "Garst R. Reese" <reese@isn.net>
2982
2983         * debug.C: fix typo
2984
2985 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2986
2987         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2988
2989         * version.C.in: change docversion to 1.4
2990
2991 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2992
2993         * buffer.C: fix a bug just introduced
2994
2995 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2996
2997         * buffer.[Ch]: added the parseError signal and use it, removed
2998         sgmlError
2999         * BufferView.[Ch] (addError): moved to ...
3000         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3001         to the Buffer::parseError signal to catch (guess what) parse errors
3002         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3003
3004 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3005
3006         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3007         ability to create a buffer and to return an existing one from
3008         the list. Moved these functions to...
3009         * buffer_funcs.[Ch]: added
3010         * BufferView.[Ch] (loadLyXFile): added
3011         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3012         job removed from bufferlist::loadLyXFile.
3013         * buffer.C (setReadOnly): make it work without view
3014         (i.e added an if (users))
3015
3016 2003-06-19  Angus Leeming  <leeming@lyx.org>
3017
3018         * lfuns.h:
3019         * LyXAction.C (init):
3020         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3021         with LFUN_DIALOG_SHOW <name> <data>.
3022
3023 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3024
3025         * CutAndPaste.C (availableSelections): small compilation fix for
3026         ancient (gcc 2.9x) compilers
3027
3028 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3029
3030         * text3.C (cursorNext): add tmp var
3031
3032         * text2.C (updateCounters): for function calling out of for clause
3033         (replaceSelectionWithString): ditto
3034         (insertStringAsParagraphs): ditto
3035         (getColumnNearX): add tmp var
3036         (setCursorFromCoordinates): add tmp var
3037         (cursorDownParagraph): add tmp var
3038         (deleteEmptyParagraphMechanism): add tmp var
3039
3040         * text.C (insertChar): add tmp var
3041
3042         * rowpainter.C (paintDepthBar): add tmp var
3043
3044         * CutAndPaste.C (availableSelections): potentially check all
3045         paragraphs in a cut to fill the shown strings.
3046
3047 2003-06-18  André Pönitz  <poenitz@gmx.net>
3048
3049         * kbmap.[Ch]: use vector<> instead of list<>
3050
3051 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3052
3053         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3054         pasteSelection with index
3055
3056         * text2.C (pasteSelection): modify, call pasteSelection with index
3057
3058         * paragraph.C (asString): reimplement version with no interval to
3059         call the one with interval.
3060
3061         * lyxtext.h: add index arg to pasteSelection
3062
3063         * MenuBackend.C (MenuItem): handle PasteRecent
3064         (Menu::read::Menutags): add md_pasterecent
3065         (read): handle it
3066         (expandPasteRecent): new function
3067         (expand): use it
3068
3069         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3070
3071         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3072         the limited stack
3073         (availableSelections): new function
3074
3075 2003-06-17  Angus Leeming  <leeming@lyx.org>
3076
3077         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3078
3079 2003-06-17  Angus Leeming  <leeming@lyx.org>
3080
3081         * lfuns.h:
3082         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3083
3084         * lyxfunc.C (dispatch): invoke it.
3085
3086 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3087
3088         * iterators.C (operator++, ParPosition): reintroduce some
3089         const_cast for the benefit of older compilers.
3090
3091 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3092
3093         * text3.C (dispatch): do not modify clipboard when doing
3094         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3095         LFUN_DELETE_SKIP on a selection selection
3096
3097 2003-06-16  André Pönitz  <poenitz@gmx.net>
3098
3099         * BufferView.C:
3100         * buffer.C:
3101         * buffer.h:
3102         * paragraph.C:
3103         * tabular.[Ch]: IU of clone() and getLabelList();
3104
3105 2003-06-13  André Pönitz  <poenitz@gmx.net>
3106
3107         * tabular.h: compactification
3108
3109 2003-06-12  André Pönitz  <poenitz@gmx.net>
3110
3111         * tabular.C:
3112         * tabular.h:
3113         * tabular_funcs.h: some renaming plus whitespace
3114
3115 2003-06-12  André Pönitz  <poenitz@gmx.net>
3116
3117         * BufferView.C:
3118         * BufferView_pimpl.C:
3119         * CutAndPaste.C:
3120         * buffer.C:
3121         * iterators.[Ch]:
3122         * lyxfunc.C:
3123         * text.C:
3124         * toc.C: Return a Paragraph & for ParIterator::operator*()
3125
3126 2003-06-11  John Levon  <levon@movementarian.org>
3127
3128         * lyx_main.C:
3129         * ToolbarBackend.h:
3130         * ToolbarBackend.C: add "Toolbars" section and
3131         put the flags there
3132
3133 2003-06-10  Angus Leeming  <leeming@lyx.org>
3134
3135         * lfuns.h:
3136         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3137
3138         * lyxfunc.C (dispatch): invoke it.
3139
3140 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3141
3142         * main.C: protect <ios> with HAVE_IOS
3143         (main): protect sync_with_stdio with HAVE_IOS
3144
3145 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3146
3147         * text2.C (cutSelection): adjust
3148         (pasteSelection): adjust
3149
3150         * messages.C: handle get of empty string
3151
3152         * main.C (main): use sync_with_stdio(false)
3153
3154         * lyxfunc.C (dispatch): adjust
3155
3156         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3157         (WriteAs): remove unneeded BufferView arg.
3158
3159         * bufferparams.h: use correct types on papersize, papersize2 and
3160         paperpackage.
3161
3162         * bufferparams.C (readToken): adjust for type
3163         (writeLaTeX): add missing cases to switch.
3164
3165         * bufferlist.C (quitWriteBuffer): adjust
3166         (close): adjust
3167
3168         * buffer.C (asciiParagraph): remove some commented code.
3169
3170         * CutAndPaste.C: remove current_view extern variable.
3171         (cutSelection): add BufferParams arg.
3172         (eraseSelection): add BufferParams arg.
3173         (pasteSelection): add Buffer const & arg
3174
3175 2003-06-07  John Levon  <levon@movementarian.org>
3176
3177         * buffer.C:
3178         * paragraph_funcs.C:
3179         * paragraph_pimpl.C:
3180         * text.C:
3181         * text2.C:
3182         * paragraph.h:
3183         * paragraph.C: allow InsetERT to freely space lines,
3184         and some consolidation of code
3185
3186 2003-06-06  José Matos  <jamatos@fep.up.pt>
3187
3188         * buffer.C (makeDocBookFile): fix bug #821
3189
3190 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3191
3192         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3193
3194 2003-06-04  Angus Leeming  <leeming@lyx.org>
3195
3196         * buffer.C: bump format to 224.
3197
3198 2003-06-05  André Pönitz  <poenitz@gmx.net>
3199
3200         * text2.C (redoParagraphs): remove two const_cast<>
3201
3202 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3203
3204         * ParagraphList.h: remove last remnants of NO_STD_LIST
3205
3206 2003-06-03  Angus Leeming  <leeming@lyx.org>
3207
3208         * factory.C (createInset): small change to the way InsetExternal's params
3209         are set.
3210
3211 2003-06-04  André Pönitz  <poenitz@gmx.net>
3212
3213         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3214
3215         * paragraph_pimpl.h:
3216         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3217
3218         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3219
3220         * undo_funcs.C: make some simple cases of undo work again
3221
3222 2003-06-03  John Levon  <levon@movementarian.org>
3223
3224         * ispell.C: HPUX doesn't have sys/select.h
3225         (from Albert Chin)
3226
3227 2003-06-03  John Levon  <levon@movementarian.org>
3228
3229         * CutAndPaste.C: update tabular and include inset
3230         buffer references
3231
3232         * buffer.h:
3233         * paragraph.h:
3234         * paragraph.C: remove owningBuffer(), don't pass Buffer
3235         to clone()
3236
3237         * factory.C: insetGraphicsParams changed
3238
3239 2003-06-02  John Levon  <levon@movementarian.org>
3240
3241         * LyXAction.C:
3242         * factory.C:
3243         * lfuns.h:
3244         * lyxfunc.C:
3245         * text3.C: remove insetparent
3246
3247 2003-06-02  John Levon  <levon@movementarian.org>
3248
3249         * buffer.h:
3250         * buffer.C: fix inset_iterator.end(), move out of line
3251         (bug 1149)
3252
3253 2003-06-01  John Levon  <levon@movementarian.org>
3254
3255         * text3.C: use a proper cut/paste when doing inset
3256         insert (from Jürgen Spitzmüller)
3257
3258 2003-06-01  John Levon  <levon@movementarian.org>
3259
3260         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3261
3262 2003-05-30  André Pönitz  <poenitz@gmx.net>
3263
3264         * rowpainter.C: unify second drawing phase
3265
3266 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3267
3268         * trans_mgr.C: remove one case of current_view
3269
3270         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3271
3272         * paragraph_funcs.h: remove paragraph.h include
3273
3274         * paragraph.h: delete NO_STD_LIST stuff
3275
3276         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3277
3278         * buffer.h: remove paragraph.h include
3279
3280         * ParagraphList.C: delete file
3281
3282         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3283
3284         * toc.C (getTocList): adjust
3285
3286         * paragraph_pimpl.C (validate): adjust
3287
3288         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3289
3290         * paragraph.C (Paragraph): adjust
3291         (getPositionOfInset): use const_iterator, adjust
3292         (bibitem): use const_iterator, adjust
3293         (setInsetOwner): adjust
3294
3295         * iterators.C (operator++): adjust
3296
3297         * InsetList.[Ch]: Replace selfmade iterator with standard
3298         vector::iterator also introduce const_iterator. Remove getPos,
3299         getInset and setInset from InsetTable. Adjust accordingly.
3300
3301         * BufferView.C (lockInset): adjust
3302         (ChangeInsets): adjust
3303
3304         * tabular.[Ch]: delete commented same_id functions
3305
3306 2003-05-28  John Levon  <levon@movementarian.org>
3307
3308         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3309
3310 2003-05-28  André Pönitz  <poenitz@gmx.net>
3311
3312         * metricsinfo.[Ch]: remove 'fullredraw' member
3313
3314 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3315
3316         * lyxtextclass.C (operator): remove caching.
3317
3318 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3319
3320         * text3.C: adjust
3321
3322         * text2.C (cursorBottom): adjust
3323         (setCounter): use ParagraphList::find, adjust
3324
3325         * text.C (workWidth): use ParagraphList::find, adjust
3326
3327         * lyxcursor.C (LyXCursor): adjust
3328
3329         * buffer.C (inset_iterator): adjust
3330
3331         * ParagraphList.h: make iterator(value_type) private, make
3332         ParagraphList a friend of iterator.
3333
3334         * ParagraphList.C (find): new function
3335
3336         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3337
3338 2003-05-27  André Pönitz  <poenitz@gmx.net>
3339
3340         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3341
3342 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3343
3344         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3345
3346 2003-05-26  John Levon  <levon@movementarian.org>
3347
3348         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3349
3350 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3351
3352         * remove same_id from function signatures, adjust.
3353
3354 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3355
3356         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3357
3358         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3359
3360         * paragraph.C (Paragraph): get rid of same_ids parameter
3361
3362         * ParagraphList.C (insert): adjust
3363         (push_back): adjust
3364
3365 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3366
3367         * paragraph_funcs.C (breakParagraph): adjust
3368         (breakParagraphConservative): adjust
3369
3370         * buffer.C (readParagraph): adjust
3371
3372         * ParagraphList.C (insert): take a reference instead of a pointer
3373         (insert): adjust
3374
3375         * paragraph.[Ch] (id): new function
3376
3377         * bufferlist.C (newFile): adjust
3378
3379         * ParagraphList.C (ParagraphList): adjust
3380         (assign): adjust
3381         (push_back): take a reference instead of a pointer.
3382
3383         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3384
3385         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3386         instead.
3387
3388         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3389         set else use old code.
3390
3391         * ParagraphList.C: remove all NO_NEXT code and only compile this
3392         code of NO_STD_LIST is set.
3393
3394 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3395
3396         * BufferView_pimpl.C:
3397         * TextCache.C:
3398         * TextCache.h:
3399         * bufferlist.C:
3400         * errorlist.h:
3401         * format.C:
3402         * format.h:
3403         * graph.C:
3404         * lyxfunc.C:
3405         * lyxrc.C:
3406         * graphics/GraphicsConverter.C:
3407         * graphics/PreviewLoader.C: header adjustment
3408
3409 2003-05-23  Angus Leeming  <leeming@lyx.org>
3410
3411         * LaTeXFeatures.[Ch] (useBabel): new method.
3412         * bufferparams.C (writeLaTeX): use it.
3413
3414 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3415
3416         * ParagraphList.h (set): remove unused function.
3417
3418 2003-05-23  André Pönitz  <poenitz@gmx.net>
3419
3420         * BufferView.C:
3421         * BufferView_pimpl.C:
3422         * buffer.C:
3423         * buffer.h:
3424         * lyxfunc.C:
3425         * undo_funcs.C: setUndo reworked
3426
3427         * iterators.[Ch]: add access to topmost ParagraphList
3428
3429         * lyxtext.[Ch] (workWidth): add a const
3430
3431 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3432
3433         * texrow.[Ch] (increasePos): remove function
3434         * exporter.C (export): removed unused var and outdated comment
3435
3436 2003-05-23  Angus Leeming  <leeming@lyx.org>
3437
3438         * latexrunparams.h: rename fragile as moving_arg.
3439         * paragraph.C (simpleTeXOnePar): ditto.
3440         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3441
3442 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3443
3444         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3445         (createUndo): ditto
3446         (textUndoOrRedo): comment out a currently unused var.
3447
3448         * paragraph.h (NO_NEXT): enable NO_NEXT
3449
3450         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3451
3452         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3453
3454         * exporter.C (Export): adjust for removeAutoInsets removal.
3455
3456         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3457
3458         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3459
3460         * BufferView.[Ch] (removeAutoInsets): delete function
3461
3462 2003-05-22  Angus Leeming  <leeming@lyx.org>
3463
3464         * latexrunparams.h: add a free_spacing variable.
3465
3466         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3467         to pass moving_arg, as the data is stored in runparams.fragile.
3468
3469         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3470         to Inset::latexOptional or to simpleTeXOnePar.
3471
3472         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3473         free_spacing arg to Inset::latexOptional.
3474
3475         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3476         free_spacing arg.
3477
3478 2003-05-22  Angus Leeming  <leeming@lyx.org>
3479
3480         * latexrunparams.h: add fragile and use_babel variables.
3481
3482         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3483         * buffer.C (makeLaTeXFile): store this returned value in
3484         runparams.use_babel, thus passing it to the inset::latex methods.
3485
3486         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3487         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3488
3489         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3490         longer has a fragile arg, as it is stored in runparams.fragile.
3491
3492         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3493         moving_arg parameter as the data is stored in runparams.fragile.
3494
3495         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3496         a fragile parameter as the data is stored in runparams.fragile.
3497
3498 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3499
3500         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3501
3502 2003-05-22  Angus Leeming  <leeming@lyx.org>
3503
3504         * latexrunparams.h: add a 'bool nice' which defaults to false.
3505
3506         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3507         now encapsulated within runparams.
3508
3509         * bufferlist.C (updateIncludedTeXfiles):
3510         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3511
3512 2003-05-22  Angus Leeming  <leeming@lyx.org>
3513
3514         * latexrunparams.h: new file containing struct LatexRunParams.
3515         * Makefile.am: add new file.
3516
3517         * LaTeX.[Ch] (c-tor, run):
3518         * buffer.[Ch] (makeLaTeXFile):
3519         * bufferlist.[Ch] (updateIncludedTeXfiles):
3520         * converter.C (convert, scanLog):
3521         * converter.[Ch] (runLaTeX):
3522         * exporter.C (Export):
3523         * paragraph.[Ch] (simpleTeXOnePar):
3524         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3525         * paragraph_funcs.[Ch] (latexParagraphs):
3526         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3527         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3528         pass around a LatexRunParams parameter.
3529
3530 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3531
3532         * paragraph.[Ch]: remove unused constructor
3533
3534         * ParagraphList.C (erase): new function, taking two iterators
3535
3536 2003-05-22  André Pönitz  <poenitz@gmx.net>
3537
3538         * undo_funcs.C: remove duplicated code
3539
3540         * iterator.[Ch]: operator=
3541
3542 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3543
3544         * tabular.C (SetMultiColumn): ws changes
3545
3546         * rowpainter.C (paintFirst): get rid of a ->previous
3547
3548         * lyx_cb.C (getPossibleLabel): parlist simplification
3549
3550         * BufferView.C (ChangeInsets): simplify slightly.
3551
3552 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3553
3554         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3555         * lfuns.h: new LFUN_SPACE
3556         * lyxfunc.C: protected space has a new lfun
3557         * paragraph_funcs.C: read new space insets
3558         * text3.C:
3559         * factory.C: handle new space insets
3560
3561 2003-05-22  André Pönitz  <poenitz@gmx.net>
3562
3563         * BufferView.C:
3564         * BufferView_pimpl.C:
3565         * buffer.[Ch]:
3566         * lyxfunc.C:
3567         * undo_funcs.C: return a ParIterator from getParFromID.
3568
3569         * iterators.[Ch]: add two const's
3570
3571 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3572
3573         * toc.C (getTocList): adjust
3574
3575         * iterators.[Ch]: rework for parlist
3576
3577         * buffer.C (par_iterator_begin): adjust
3578         (par_iterator_end): adjust
3579
3580         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3581
3582         * BufferView.C (removeAutoInsets): adjust
3583         (ChangeInsets): adjust
3584
3585 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3586
3587         * text.C (top_y): fix bug 1110
3588
3589 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3590
3591         * errorlist.[Ch]: added
3592         * buffer.C:
3593         * BufferView.[Ch]:
3594         * BufferView_pimpl.C:
3595         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3596         instead
3597
3598 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3599
3600         * Makefile.am: ensure that lyx is relinked upon changes to the
3601         various "convenience" libs.
3602
3603 2003-05-20  Angus Leeming  <leeming@lyx.org>
3604
3605         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3606         files are compiled in alphabetical order again.
3607
3608         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3609
3610 2003-05-19  Angus Leeming  <leeming@lyx.org>
3611
3612         * gettext.[Ch]: remove "char const * _(char const *)".
3613
3614 2003-05-19  André Pönitz  <poenitz@gmx.net>
3615
3616         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3617
3618         * Makefile.am:
3619         * BufferView.C:
3620         * DepTable.h:
3621         * LaTeXFeatures.C:
3622         * buffer.C:
3623         * lyxfont.C:
3624         * lyxlex.h:
3625         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3626
3627 2003-05-19  André Pönitz  <poenitz@gmx.net>
3628
3629         * buffer.C:
3630         * lyxlayout.[Ch]:
3631         * lyxtextclass.[Ch]:
3632         * paragraph.C:
3633         * paragraph_funcs.[Ch]:
3634         * text2.C:
3635         * text3.C: more insetenv work
3636
3637 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3638
3639         * ParagraphParameters.C (params2string): small bug fixed
3640
3641 2003-05-16  André Pönitz  <poenitz@gmx.net>
3642
3643         * debug.C:
3644         * bufferview_funcs.C: patch from Kornel Benko to prevent
3645           crash when _(...) is called twice in a statement
3646
3647 2003-05-16  André Pönitz  <poenitz@gmx.net>
3648
3649         * BufferView.C:
3650         * lyxfunc.C:
3651         * text.C:
3652         * text2.C:
3653         * text3.C:
3654         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3655
3656 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3657
3658         * lyx_main.C (init): remove spurious static_cast
3659
3660 2003-05-14  André Pönitz  <poenitz@gmx.net>
3661
3662         * BufferView.C: fix format string
3663
3664 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3665
3666         * BufferView.[Ch] (insertErrors): removed
3667         * BufferView.[Ch] (showErrorList): added
3668         * buffer.C (runChkTeX):
3669         * converter.C (scanLog): call showErrorList instead of inserterrors
3670
3671 2003-05-13  André Pönitz  <poenitz@gmx.net>
3672
3673         * BufferView_pimpl.C:
3674         * buffer.C:
3675         * bufferview_func.C:
3676         * MenuBackend.C:
3677         * lyxfunc.C:
3678         * lyxrc.C:
3679         * tex-accent.C:
3680         * text3.C:
3681         * toc.C:
3682         * tabular_funcs.h: tostr() from its own header
3683
3684         * ParagraphParameters.C:
3685         * ToolbarBackend.C:
3686         * bufferparams.C:
3687         * format.C:
3688         * lyxlex_pimpl.C:
3689         * text3.C: STRCONV()
3690
3691 2003-05-12  André Pönitz  <poenitz@gmx.net>
3692
3693         * BufferView.C:
3694         * BufferView_pimpl.C:
3695         * CutAndPaste.C:
3696         * LaTeX.C:
3697         * LaTeXFeatures.C:
3698         * ParagraphParameters.C:
3699         * buffer.C:
3700         * bufferlist.C:
3701         * bufferparams.C:
3702         * bufferview_funcs.C:
3703         * converter.C:
3704         * counters.C:
3705         * debug.C:
3706         * exporter.C:
3707         * format.C:
3708         * importer.C:
3709         * lyx_cb.C:
3710         * lyx_main.C:
3711         * lyxfont.C:
3712         * lyxfunc.C:
3713         * lyxvc.C:
3714         * paragraph.C:
3715         * paragraph_funcs.C:
3716         * tabular.C:
3717         * tabular_funcs.C:
3718         * text2.C:
3719         * text3.C:  boost::format -> bformat  all over the place
3720
3721
3722 2003-05-09  André Pönitz  <poenitz@gmx.net>
3723
3724         * LColor.[Ch]: Pimpl the #include <map> away
3725
3726 2003-05-09  John Levon  <levon@movementarian.org>
3727
3728         * bufferlist.C: never remove emergency saves
3729
3730 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3731
3732         * Makefile.am: better lib building
3733
3734 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3735
3736         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3737         instead.
3738         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3739         (simpleTeXSpecialChars): adjust
3740         (simpleTeXSpecialChars): adjust
3741         * paragraph.C (simpleTeXOnePar): adjust
3742         * buffer.C (makeLaTeXFile): adjust
3743
3744         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3745
3746         * text2.C (changeDepth): parlist cleanup
3747         (getColumnNearX): ditto
3748
3749         * rowpainter.C (getLabelFont): parlist cleanup
3750
3751         * bufferlist.C (newFile): parlist cleanup
3752
3753         * CutAndPaste.C (eraseSelection): parlist cleanup
3754
3755         * BufferView_pimpl.C (trackChanges): parlist cleanup
3756         (dispatch): ditto
3757
3758         * BufferView.C (lockInset): parlist cleanup.
3759         (ChangeInsets): ditto
3760
3761 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3762
3763         * CutAndPaste.h: Update file header.
3764
3765         * CutAndPaste.C: Update file header.
3766         Store the parts cut out of the Document in a limited_stack.
3767         (copySelection): adjust
3768         (pasteSelection): new function, takes the index in the limited stack.
3769         (nrOfParagraphs): adjust
3770         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3771         simplify error inset insertion.
3772         (checkPastePossible): adjust
3773
3774 2003-05-06  John Levon  <levon@movementarian.org>
3775
3776         * text2.C: don't cast wrap inset to float
3777
3778 2003-05-05  André Pönitz  <poenitz@gmx.net>
3779
3780         * iterator.C:
3781         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3782
3783         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3784           few naked Paragraph *.
3785
3786 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3787
3788         * bufferparams.C: Output warning if a document with missing
3789         TeX document class is loaded
3790         * exporter.C: Disable TeX exports if the document class is missing
3791         * lyxtextclass.C:
3792         * lyxtextclass.h:
3793         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3794         isTeXClassAvailable()
3795
3796 2003-05-03  John Levon  <levon@movementarian.org>
3797
3798         * BufferView.h:
3799         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3800         explicit cursor show/hide
3801
3802         * BufferView_pimpl.h:
3803         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3804         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3805
3806         * lyxfunc.C: hide cursor before dispatching.
3807
3808         * lyx_cb.C:
3809         * lyxfind.C:
3810         * text.C:
3811         * text3.C: remove explicit cursor hides
3812
3813 2003-05-02  André Pönitz  <poenitz@gmx.net>
3814
3815         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3816
3817         * undo_funcs.C:
3818         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3819           linked lists
3820
3821         * text2.C: tiny whitespace
3822
3823 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3824
3825         * undo_funcs.C: almost only ws changes.
3826
3827         * ParagraphList.C (splice): just return if pl is empty.
3828
3829 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3830
3831         * ParagraphList.C (splice): new function.
3832
3833         * CutAndPaste.C (pasteSelection): use it
3834
3835 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3836
3837         * CutAndPaste.C (pasteSelection): remove the last next and
3838         previous from this file.
3839
3840 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3841
3842         * CutAndPaste.C (pasteSelection): more clean up, user proper
3843         ParagraphList functions for pasteing.
3844
3845         * ParagraphList.C (insert): new function, three arg insert
3846
3847 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3848
3849         * ParagraphList.C (insert): new function, three arg insert
3850
3851         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3852         not on paragraphs.
3853
3854 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3855
3856         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3857
3858 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3859
3860         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3861
3862 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3863
3864         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3865         (copySelection): clean up a bit.
3866         (pasteSelection): use make_pair
3867
3868         * ParagraphList.C (ParagraphList): implement copy constructor
3869         (operator=): implement, base on copy constructor.
3870         (assign): new func
3871
3872         * paragraph.C (erase): return a bool
3873
3874         * paragraph_pimpl.C (erasePos): remove function, move contents...
3875         (erase): ... here. Return a bool.
3876         (erase): call erase instead of erasePos.
3877
3878 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3879
3880         * ParagraphList.h: define PitPosPair
3881         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3882         ParagraphList, fix a bug on pasting multiple pars
3883         * text2.C: change interface to C&P
3884
3885 2003-04-30  André Pönitz  <poenitz@gmx.net>
3886
3887         * undo_func.C: revert part of yesterday's patch 2
3888
3889 2003-04-30  John Levon  <levon@movementarian.org>
3890
3891         * LColor.C: s/tabular/table/
3892
3893 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3894
3895         * text3.C (dispatch): do not convert iterator -> pointer
3896         * undo_funcs.C (setCursorParUndo): ditto
3897         * text_funcs.C (transposeChars): ditto
3898
3899         * text2.C (setLayout): ws changes only
3900
3901         * text.C (breakParagraph): do not convert iterator -> pointer
3902         (insertChar): ditto
3903         (acceptChange): ditto
3904         (rejectChange): ditto
3905         (changeCase): ditto
3906         (Delete): ditto
3907         (backspace): ditto
3908
3909         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3910         pointer
3911
3912 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3913
3914         * text3.C (gotoInset): YABG (yet another bad getChar)
3915
3916 2003-04-29  André Pönitz  <poenitz@gmx.net>
3917
3918         * paragraph.h: make operator= private unimplemented as long as
3919           it is unusable
3920
3921         * ParagraphList.C: whitespace
3922
3923         * paragraph.[Ch]:
3924         * paragraph_pimpl.[Ch]:
3925         * paragraph_funcs.C:
3926         * CutAndPaste.C:
3927         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3928
3929         * text2.C:
3930           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3931
3932 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3933
3934         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3935         * paragraph.[Ch] (erase):
3936         * paragraph_pimpl.[Ch] (erase): change return type and value
3937         * text2.C (cutSelection): some rework
3938
3939 2003-04-28  John Levon  <levon@movementarian.org>
3940
3941         * bufferlist.C: changes for unsaved changes dialog
3942
3943 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3944
3945         * bufferlist.C (newFile): set language (messages_) for new
3946         documents also.
3947
3948         * buffer.C (readFile): ws changes only.
3949
3950 2003-04-28  André Pönitz  <poenitz@gmx.net>
3951
3952         * undo_funcs.C:
3953         * lyxfunc.C:
3954         * buffer.[Ch]:
3955         * BufferView_pimpl.C:
3956         * BufferView.C: getParFromID related ParagraphList::iterator changes
3957
3958 2003-04-28  André Pönitz  <poenitz@gmx.net>
3959
3960         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3961           Changes
3962
3963 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3964
3965         * messages.C: remove one more localedir class variable.
3966
3967 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3968
3969         * messages.C (getLocaleDir): singleton generation function
3970         (Pimpl): use it.
3971         (Messages): add a default constructor.
3972
3973         * main.C (main): do not setup localedir here, do not call
3974         gettext_init.
3975
3976         * gettext.C (_): use it.
3977         (gettext_init): delete funciton
3978
3979 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3980
3981         * gettext.C (getLyXMessages): new singleton generating function.
3982
3983         * buffer.C (updateDocLang): adjust
3984
3985         * Makefile.am (messages.o): add target
3986         (main.o): remove target
3987
3988 2003-04-27  John Levon  <levon@movementarian.org>
3989
3990         * bufferlist.C:
3991         * lyx_cb.C:
3992         * lyxfunc.C:
3993         * lyxvc.C: specify cancel button in Alert::prompt
3994
3995 2003-04-26  John Levon  <levon@movementarian.org>
3996
3997         * text3.C:
3998         * lyxfunc.C:
3999         * lfuns.h:
4000         * LyXAction.C: add LFUN_INSET_SETTINGS
4001
4002         * lyxfunc.C: don't enable tabular-feature when there's
4003         just any locking inset
4004
4005 2003-04-26  John Levon  <levon@movementarian.org>
4006
4007         * bufferlist.C: re-add Cancel to buffer close question
4008
4009         * lyxfunc.C: fix import UI a bit
4010
4011 2003-04-25  John Levon  <levon@movementarian.org>
4012
4013         * gettext.C: remove the broken asserts for now
4014
4015 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4016
4017         * messages.C: make case where setlocale cannot comply work better.
4018
4019         * buffer.C (updateDocLang): new function
4020         (changeLanguage): use it
4021         (readFile): use it
4022
4023         * text2.C (setCounter): use B_ a bit.
4024
4025         * lyxlayout.C (Read): be sure to trim the label strings.
4026
4027         * messages.C (Messages): fix typo in comment
4028
4029         * buffer.C (readFile): set message_ after file is loaded.
4030         (makeDocBookFile): remove double return
4031         (changeLanguage): reset message_ upon language change.
4032         (B_): new func, use this to get translated buffer strings.
4033
4034         * main.C: add myself and Jean Marc as authors.
4035
4036 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4037
4038         * messages.[hC]: pimplify Messages, and three different pimpls to be
4039         used in different circumstances.
4040
4041         * gettext.[Ch]: change for use with new message code.
4042
4043 2003-04-24 André Pönitz <poenitz@gmx.net>
4044
4045         * factory.C: support for eqref
4046
4047 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4048
4049         * messages.[Ch]: add missing char
4050
4051         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4052
4053         * messages.[Ch]: New files
4054
4055 2003-04-18  John Levon  <levon@movementarian.org>
4056
4057         * BufferView.h:
4058         * BufferView.C:
4059         * BufferView_pimpl.C:
4060         * lfuns.h:
4061         * LyXAction.C:
4062         * lyxtext.h:
4063         * text2.C: remove layout-copy/paste (bug 778)
4064
4065 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4066
4067         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4068
4069 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4070
4071         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4072         if they succeed. Act accordingly.
4073
4074 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4075
4076         * text2.C (setCharFont): adjust
4077         (setCounter): adjust
4078         (insertStringAsLines): adjust
4079
4080         * text.C (leftMargin): adjust
4081         (setHeightOfRow): adjust
4082
4083         * rowpainter.C (paintFirst): adjust
4084         (paintLast): adjust
4085
4086         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4087         (outerHook): ditto
4088         (isFirstInSequence): ditto
4089         (getEndLabel): ditto
4090         (outerFont): adjust
4091
4092         * paragraph.C (getParLanguage): comment out some hard stuff.
4093
4094         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4095         (sgmlError): ditto
4096         (simpleDocBookOnePar): ditto
4097         (makeDocBookFile): use ParagraphList::iterator
4098
4099         * CutAndPaste.C (pasteSelection): adjust
4100
4101 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4102
4103         * text2.C (getFont): adjust
4104         (getLayoutFont): adjust
4105         (getLabelFont): adjust
4106
4107         * paragraph_funcs.C (TeXOnePar): adjust
4108
4109         * buffer.C (simpleLinuxDocOnePar): adjust
4110         (simpleDocBookOnePar): adjust
4111
4112         * CutAndPaste.C (pasteSelection): adjust
4113
4114         * BufferView.C (getEncoding): adjust
4115
4116         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4117
4118 2003-04-16  John Levon  <levon@movementarian.org>
4119
4120         * lyxfind.C: use parlist stuff for search/changes
4121
4122 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4123
4124         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4125
4126         * text2.C (deleteEmptyParagraphMechanism): adjust
4127
4128         * text2.[Ch] (ownerParagraph): delete func (both of them
4129
4130 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4131
4132         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4133
4134 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4135
4136         * ParagraphList.C: prepare for NO_NEXT
4137
4138 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4139
4140         * text2.C (getFont): adjust
4141         (getLayoutFont): adjust
4142         (getLabelFont): adjust
4143
4144         * paragraph.C (getFont): adjust
4145         (getLabelFont): adjust
4146         (getLayoutFont): adjust
4147
4148         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4149
4150 2003-04-15  John Levon  <levon@movementarian.org>
4151
4152         From Angus Leeming
4153
4154         * lyx_main.C: handle Include in .ui files
4155
4156 2003-04-15  John Levon  <levon@movementarian.org>
4157
4158         * MenuBackend.C: make the doc files length shorter
4159
4160         * ToolbarBackend.h:
4161         * ToolbarBackend.C: handle toolbar placement flags,
4162         Minibuffer
4163
4164 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4165
4166         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4167         adjust
4168
4169         * paragraph_funcs.C (TeXOnePar): adjust
4170
4171         * paragraph.C (getLabelFont): add outerfont arg, adjust
4172         (getLayoutFont): ditto
4173         (simpleTeXOnePar): adjust
4174
4175         * paragraph_pimpl.C (realizeFont): delete func
4176
4177 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4178
4179         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4180         row argument, constify cur argument.
4181
4182 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4183
4184         * text2.C (getFont): adjust
4185         (getLayoutFont): adjust
4186         (getLabelFont): adjust
4187
4188         * paragraph_funcs.C (TeXOnePar): adjust
4189         (outerFont): new func...
4190         (realizeFont): ...moved out from here, changed this to facilitate
4191         transition
4192
4193         * paragraph.C (getFont): take outerfont as arg, adjust
4194         (simpleTeXOnePar): add outerfont arg, adjust
4195
4196         * buffer.C (simpleLinuxDocOnePar): adjust
4197         (simpleDocBookOnePar): adjust
4198
4199         * CutAndPaste.C (pasteSelection): adjust
4200
4201         * BufferView.C (getEncoding): adjust
4202
4203 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4204
4205         * text2.C (setCharFont): adjust
4206         (setCounter): adjust
4207
4208         * text.C (leftMargin): adjust
4209         (setHeightOfRow): adjust
4210
4211         * rowpainter.C (paintFirst): adjust
4212         (paintLast): adjust
4213
4214         * paragraph_pimpl.C (realizeFont): adjust
4215
4216         * paragraph.C (isFirstInSequence): move from here...
4217         * paragraph_funcs.C (isFirstInSequence): ...to here
4218
4219         * paragraph.C (outerHook): move from here...
4220         * paragraph_funcs.C (outerHook): ...to here
4221
4222         * paragraph.C (depthHook): move from here...
4223         * paragraph_funcs.C (depthHook): ...to here
4224
4225         * paragraph.C (getEndLabel): move from here...
4226         * paragraph_funcs.C (getEndLabel): ...to here
4227
4228         * text2.C (realizeFont): move from here...
4229         * paragraph_funcs.C (realizeFont): ...to here
4230
4231 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4232
4233         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4234
4235 2003-04-14  Angus Leeming  <leeming@lyx.org>
4236
4237         * LColor.[Ch]: scrap LColor mathcursor.
4238
4239 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4240
4241         * lyxlex.[Ch] (text): delete function
4242         * trans.C (Load): adjust
4243         * paragraph_funcs.C (readParToken): adjust
4244
4245 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4246
4247         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4248         vector<char> instead of a char[].
4249
4250         * lyxlex_pimpl.C (getString): adjust
4251         (next): adjust
4252         (lex): use getString
4253         (eatLine): adjust
4254         (nextToken): adjust
4255
4256         * lyxlex.C (text): use pimpl_->getString()
4257         (getBool): ditto
4258         (findToken): ditto
4259
4260 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4261
4262         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4263         (makeFontEntriesLayoutSpecific): temp var for par.size()
4264         (setLayout): temp var for ownerParagraphs().end()
4265         (fullRebreak): temp var for rows().end()
4266         (selectionAsString): temp var for boost::next(startpit), realize
4267         that the while really is a regular for loop.
4268         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4269         setCursor in one place.
4270         (setParagraph): temp vr for ownerParagraphs().end()
4271         (updateCounters): make the while loop a for loop
4272         (cutSelection): temp var for ownerParagraphs().end()
4273         (updateInset): make the do {} while() a regular for loop
4274         (getCursorX): use temp vars
4275         (setCurrentFont): use temp vars
4276         (getColumnNearX): use temp vars
4277
4278 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4279
4280         * text.C (transformChar): use temp var for getChar
4281         (computeBidiTables): use temp var for row->par()
4282         (fill): move temp vars for row->par() and pit->layout() earlier in
4283         the function.
4284         (labelFill): use temp var for row->par()
4285         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4286         asc and desc, realize that pit never changes and that firstpit is
4287         just a duplicate and not needed. Exchange rit->par() with pit in a
4288         lot of places.
4289         (breakAgain): use a temp var for boost::next(rit)
4290         (breakAgainOneRow): ditto
4291         (breakParagraph): use a temp var for rows().begin()
4292         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4293         (cursorRightOneWord): use temp var for cursor.par() and
4294         cursor.pos(), remove usage of tmpcursor.
4295         (cursorLeftOneWord): use temp var for cursor.par() and
4296         cursor.pos() only set cur at end of function.
4297
4298 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4299
4300         * text.C, text2.C: exchange all usage of Paragraph::next with
4301         boost::next(ParagraphList::iterator)
4302
4303         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4304
4305         * text2.C (cursorTop): simplify implementation
4306         (cursorBottom): ditto
4307         (setParagraph): use ParagraphList::iterator
4308         (setCurrentFont): adjust
4309         (getColumnNearX): adjust
4310         (cursorRight): adjust
4311         (cursorLeft): remove usage of Paragraph::previous
4312         (cursorUpParagraph): ditto
4313         (deleteEmptyParagraphMechanism): slight cleanup
4314
4315         * text.C (isBoundary): take a Paragraph const & instead of a
4316         pointer as arg.
4317         (addressBreakPoint): ditto
4318         (leftMargin): remove usage of Paragraph::previous.
4319         (setHeightOfRow): ditto
4320         (cursorLeftOneWord): ditto
4321         (selectNextWordToSpellcheck): ditto
4322         (Delete): ditto
4323         (backspace): ditto
4324         (breakParagraph): remove one usage of Paragraph::next
4325         (redoParagraph): ditto
4326         (acceptChange): ditto
4327         (insertChar): adjust
4328         (rowBreakPoint): adjust
4329
4330         * bufferview_funcs.C (toggleAndShow): adjust
4331
4332 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4333
4334         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4335         methods to access it.
4336         * lyxtext.h:
4337         * text.C: Added updateRowPositions to compute all row positions.
4338         Make top_y and getRowNearY() to use the cached y position
4339
4340 2003-04-11  John Levon  <levon@movementarian.org>
4341
4342         * text.C (rowBreakPoint): reintroduce the labelEnd
4343         checks, code copied from the row fill stuff. Deep voodoo.
4344
4345         * text.C (fill): add a comment and debugging for the
4346         next poor soul.
4347
4348 2003-04-11  John Levon  <levon@movementarian.org>
4349
4350         * text.C: make sure fullrow insets get wrapped to the next line,
4351         even when they're in a manual label
4352
4353 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4354
4355         * text2.C (insertParagraph): make it take ParagraphList::iterator
4356         as arg.
4357         (setLayout): make it return ParagraphList::iterator
4358         (redoParagraphs): ditto
4359         (setCounter): ditto
4360         (checkParagraph): ditto
4361
4362         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4363
4364         * text2.C: adjust several funcs.
4365         (realizeFont): take a ParagraphList::iterator as arg.
4366         (getLayoutFont): ditto
4367         (getLabelFont): ditto
4368         (setCharFont): ditto
4369
4370         * text.C: adjust several funcs.
4371
4372 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4373
4374         * text.C (selectNextWordToSpellcheck): don't accidentally
4375         skip insets
4376
4377 2003-04-10  John Levon  <levon@movementarian.org>
4378
4379         * ToolbarBackend.C (getIcon): special handling for
4380         LFUN_MATH_DELIM
4381
4382 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4383
4384         * text2.C (cursorRight): a getChar assert fixed
4385
4386 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4387
4388         * text2.C (getFont): change to take a ParagraphList::iterator
4389         instead of Paragraph*
4390         Adjust several functions.
4391
4392         * text.C (transformChar): change to take a ParagraphList::iterator
4393         instead of Paragraph*
4394         (singleWidth): ditto
4395         Adjust several functions.
4396
4397         * rowpainter.C: adjust several functions
4398         * rowpainter.h:store a ParagraphList::iterator and not a
4399         Paragraph&.
4400
4401
4402 2003-04-09  John Levon  <levon@movementarian.org>
4403
4404         * lyxfunc.C:
4405         * lfuns.h:
4406         * LyXAction.h:
4407         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4408         and the "help" bits as well
4409
4410 2003-04-09  John Levon  <levon@movementarian.org>
4411
4412         * ToolbarBackend.h:
4413         * ToolbarBackend.C: allow multiple toolbars
4414
4415 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4416
4417         * undo_funcs.C (setCursorParUndo): adjust
4418
4419         * text_funcs.C (transposeChars): adjust
4420
4421         * text3.C (gotoNextInset): adjust
4422         (dispatch): adjust
4423
4424         * text2.C (setLayout): adjust
4425         (changeDepth): adjust
4426         (setFont): adjust
4427         (redoParagraphs): adjust
4428         (selectionAsString): adjust
4429         (setParagraph): adjust
4430         (insertInset): adjust
4431         (cutSelection): adjust
4432         (copySelection): adjust
4433         (pasteSelection): adjust
4434         (insertStringAsLines): adjust
4435         (updateInset): adjust
4436         (setCursor): change to take a ParagraphList::iterator parameter
4437         (setCursorIntern): change to take a ParagraphList::iterator parameter
4438         (setCurrentFont): adjust
4439         (cursorLeft): adjust
4440         (cursorRight): adjust
4441         (deleteEmptyParagraphMechanism): adjust
4442
4443         * text.C (breakParagraph): adjust
4444         (insertChar): adjust
4445         (acceptChange): adjust
4446         (rejectChange): adjust
4447         (selectNextWordToSpellcheck): adjust
4448         (changeCase): adjust
4449         (Delete): adjust
4450         (backspace): adjust
4451
4452         * lyxfind.C (SearchForward): adjust
4453         (SearchBackward): adjust
4454         (nextChange): adjust
4455
4456         * lyxcursor.C (par): adjust
4457
4458         * lyxcursor.h: store a ParagraphList::iterator instead of a
4459         Paragraph*
4460
4461         * lyx_cb.C (getPossibleLabel): adjust
4462
4463         * bufferview_funcs.C (toggleAndShow): adjust
4464
4465         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4466         (dispatch): adjust
4467
4468         * BufferView.C (removeAutoInsets): adjust
4469         (lockedInsetStoreUndo): adjust
4470
4471 2003-04-09  John Levon  <levon@movementarian.org>
4472
4473         * ToolbarBackend.C: try icon without argument
4474         if with argument fails
4475
4476 2003-04-08  John Levon  <levon@movementarian.org>
4477
4478         * ToolbarBackend.h:
4479         * ToolbarBackend.C: add getIcon(), handle tooltip,
4480         and change from "Icon" to "Item".
4481
4482 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4483
4484         * BufferView.C (lockInset): another bad getchar crunched
4485
4486 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4487
4488         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4489         again)
4490
4491 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4492
4493         * lyxfind.C (searchForward, searchBackwards): bug 782
4494
4495 2003-04-07  John Levon  <levon@movementarian.org>
4496
4497         * paragraph.C: remove dead comment
4498
4499         * text.C: remove troublesome depth-fiddling code
4500         in leftMargin() and rightMargin() (bug 1017)
4501
4502         * text.C: fix breaking of rows in nested lists
4503         (bug 1004)
4504
4505         * text2.C (updateCounters): fix up depth values
4506         (bug 1013)
4507
4508 2003-04-07  John Levon  <levon@movementarian.org>
4509
4510         * BufferView_pimpl.C: clear message when doc finishes resizing,
4511         and after a mouse event
4512
4513         * lyxfunc.C: clear message after exiting inset
4514
4515 2003-04-07  John Levon  <levon@movementarian.org>
4516
4517         * bufferview_funcs.C: show math status not outside
4518         status in the statusbar
4519
4520 2003-04-07  John Levon  <levon@movementarian.org>
4521
4522         * lyxfunc.C: note status changed after a depth change
4523
4524 2003-04-04  Angus Leeming  <leeming@lyx.org>
4525
4526         * LaTeX.h: move AuxInfo operator==, != out of line.
4527         Remove LaTeX virtual destructor; nothing derives from it.
4528         Move operator()() out of public area and rename it startscript().
4529         Change protected for private.
4530
4531 2003-04-04  Angus Leeming  <leeming@lyx.org>
4532
4533         * lyxfunc.C:
4534         * text2.C: remove unneeded #includes.
4535
4536 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4537
4538         * text2.C (dEPM): fix the heigth of the next row
4539
4540 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4541
4542         * text.C: squashed an invalid getChar requester + some ws changes
4543
4544 2003-04-03  John Levon  <levon@movementarian.org>
4545
4546         * bufferview_funcs.h:
4547         * bufferview_funcs.C:
4548         * lyxfunc.C:
4549         * lyxtext.h:
4550         * text2.C: make getStatus work for the env depth lfuns
4551
4552 2003-04-03  John Levon  <levon@movementarian.org>
4553
4554         * bufferview_funcs.h:
4555         * bufferview_funcs.C:
4556         * lyxfunc.C:
4557         * lyxtext.h:
4558         * text2.C: parlistize decDepth(), by merging it with incDepth()
4559
4560 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4561
4562         * lyxrow.h: store a ParagraphList::iterator instead of a
4563         Paragraph* and adjust other class functions to suit.
4564
4565         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4566         above.
4567
4568 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4569
4570         * text2.C (setCursor): do not anchor to cursor row for the time being
4571
4572 2003-04-02  John Levon  <levon@movementarian.org>
4573
4574         * LyXAction.C:
4575         * lfuns.h:
4576         * lyx_main.C:
4577         * lyxtext.h:
4578         * text.C:
4579         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4580
4581 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4582
4583         * paragraph.h: make ParagraphList and ParagraphList::iterator
4584         friends of Paragraph.
4585
4586         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4587
4588         * ParagraphList.C: Use the private next_ and previous_ from
4589         Paragraph.
4590
4591 2003-04-01  John Levon  <levon@movementarian.org>
4592
4593         * ToolbarBackend.h:
4594         * ToolbarBackend.C:
4595         * Makefile.am: rename, remove defaults gunk
4596
4597         * MenuBackend.h:
4598         * MenuBackend.C: remove defaults gunk
4599
4600         * Languages.h:
4601         * Languages.C: remove defaults gunk
4602
4603         * lyx_main.h:
4604         * lyx_main.C: error out if files couldn't be found.
4605
4606 2003-04-02  John Levon  <levon@movementarian.org>
4607
4608         * text2.C: make incDepth() use parlist
4609
4610 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4611
4612         * undo_funcs.C (firstUndoParagraph): adjust
4613
4614         * text3.C (gotoInset): adjust
4615         (dispatch): adjust, and rewrite loop.
4616
4617         * text2.C (init): adjust, and rewrite loop.
4618         (redoParagraphs): adjust
4619         (updateInset): adjust, and rewrite loop.
4620         (deleteEmptyParagraphMechanism): adjust
4621
4622         * tabular.C (LyXTabular): adjust
4623         (SetMultiColumn): adjust
4624         (TeXRow): adjust
4625
4626         * lyxtext.[Ch] (ownerParagraph): delete function
4627         (ownerParagraphs): new function returns a ParagraphList.
4628
4629         * BufferView.C (removeAutoInsets): adjust
4630         (insertErrors): adjust
4631         (setCursorFromRow): adjust
4632
4633 2003-04-01  Angus Leeming  <leeming@lyx.org>
4634
4635         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4636         in the frontends.
4637
4638 2003-04-02  John Levon  <levon@movementarian.org>
4639
4640         * lyxtext.h:
4641         * text.C:
4642         * Makefile.am:
4643         * text_funcs.h:
4644         * text_funcs.C: make transposeChars a free function
4645
4646         * lyxrow_funcs.C: remove wrong comment
4647
4648 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4649
4650         * lyxtext.h: adjust
4651         * rowpainter.C: adjust
4652         * text.C: adjust
4653         * text2.C: adjust
4654         * text3.C: adjust
4655
4656         * lyxrow_funcs. [Ch]: new files
4657
4658         * lyxrow.[Ch]: remove next and previous pointers
4659         (next,previous): remove accessor functions
4660         (isParEnd): move to lyxrow_funcs
4661         (lastPos): move to lyxrow_funcs
4662         (nextRowIsAllInset): move to lyxrow_funcs
4663         (lastPrintablePos): move to lyxrow_funcs
4664         (numberOfSeparators): move to lyxrow_funcs
4665         (numberOfHfills): move to lyxrow_funcs
4666         (numberOfLabelHfills): move to lyxrow_funcs
4667         (hfillExpansion): move to lyxrow_funcs
4668
4669         * lyxfunc.C: adjust
4670
4671         * bufferview_funcs.C (toggleAndShow): adjust
4672
4673         * RowList.h: Remove class RowList from file leave just a
4674         std::list<Row>.
4675
4676         * RowList.C: delete file
4677
4678         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4679         and lyxrow_funcs.h
4680
4681 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4682
4683         * text3.C (cursorPrevious): adjust
4684         (cursorNext): adjust
4685         (dispatch): adjust
4686
4687         * text2.C (redoHeightOfParagraph): adjust
4688         (redoDrawingOfParagraph): adjust
4689         (setCursor): adjust
4690
4691         * text.C (breakParagraph): adjust
4692         (insertChar): adjust
4693         (backspace): adjust
4694
4695         * rowpainter.C (RowPainter): adjust
4696         (leftMargin): simplify and adjust
4697         (most rowpainter functions): adjust.
4698
4699         * rowpainter.h: store the row as RowList::iterator not as Row*
4700
4701         * lyxcursor.C (row): taka RowList::iterator as arg
4702         (irow): ditto
4703
4704         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4705         of Row*.
4706
4707 2003-04-01  Angus Leeming  <leeming@lyx.org>
4708
4709         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4710         stuff like bool Bool.
4711
4712 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4713
4714         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4715         rewrite a loop
4716
4717 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4718
4719         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4720         RowList::iterator.
4721
4722         * lyxtext.h (rows): drop one version and leve a const variant that
4723         returns a RowList::iterator.
4724
4725 2003-03-31  Angus Leeming  <leeming@lyx.org>
4726
4727         * text.C (fill): ensure that the signature is the same as that in the
4728         header file.
4729
4730 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4731
4732         * text2.C (redoParagraphs): adjust
4733         (updateCounters): adjust
4734         (checkParagraph): adjust
4735         (getColumnNearX): adjust and reformat a bit.
4736
4737         * text.C (top_y): adjust
4738         (workWidth): adjust
4739         (leftMargin): adjust
4740         (prepareToPrint): adjust
4741         (getRow): adjust
4742         (getRowNearY): adjust
4743
4744         * lyxtext.h: make rowlist_ mutable.
4745
4746         * RowList.h: add const_iterator
4747         * RowList.C: adjust for RowList::const_iterator.
4748
4749         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4750         adjust.
4751
4752 2003-03-31  John Levon  <levon@movementarian.org>
4753
4754         * lyxrc.h:
4755         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4756
4757         * lyx_main.C: set default fonts from using lyx_gui funcs
4758
4759         * exporter.C: pdf_mode moved from lyxrc
4760
4761         * lyx_cb.C:
4762         * lyxfunc.C: changes from above
4763
4764 2003-03-31  John Levon  <levon@movementarian.org>
4765
4766         * lyx_main.C: fix to the last fix
4767
4768 2003-03-31  John Levon  <levon@movementarian.org>
4769
4770         * bufferlist.C: "Load original" -> "Load Original"
4771
4772         * converter.C:
4773         * exporter.C:
4774         * importer.C:
4775         * lyx_main.C:
4776         * format.C: more Alert cleanups
4777
4778 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4779
4780         * text2.C (removeParagraph): make it take a RowList::iterator as
4781         arg, adjust.
4782         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4783         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4784
4785         * text.C (anchor_row): make it take a RowList::iterator as arg,
4786         adjust.
4787         (computeBidiTables): make it take a const reference to Row instead
4788         of Row pointer, adjust.
4789         (leftMargin): make it take a RowList::iterator as arg, adjust.
4790         (rowBreakPoint): adjust
4791         (breakAgainOneRow): make it take a RowList::iterator as arg,
4792         adjust.
4793         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4794
4795         * bufferview_funcs.C (toggleAndShow): adjust
4796
4797 2003-03-30  John Levon  <levon@movementarian.org>
4798
4799         * Makefile.am:
4800         * BoostFormat.h:
4801         * boost-inst.C: moved to support
4802
4803         * several files: changes as a result
4804
4805 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4806
4807         * text2.C (LyXText): adjust.
4808         (init): adjust
4809         (removeRow): make it take a RowList::iterator as arg, adjust.
4810         (fullRebreak): adjust
4811         (deleteEmptyParagraphMechanism): adjust
4812         (clearPaint): adjust
4813         (postPaint): adjust
4814
4815         * text.C (top_y): adjust
4816         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4817         (breakAgain): make it take a RowList::iterator as arg, adjust.
4818         (breakParagraph): adjust
4819         (insertChar): adjust
4820         (backspace): adjust
4821
4822         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4823         need_break_row, and refresh_row.
4824
4825         * text3.C (dispatch): adjust
4826
4827         * text2.C (checkParagraph): adjust
4828         (setCursor): adjust
4829         (setCursorFromCoordinates): adjust
4830
4831         * text.C (top_y): adjust
4832         (workWidth): adjust
4833         (getRow): make it return a RowList::iterator, adjust
4834         (getRowNearY): make it return a RowList::iterator, adjust
4835
4836         * text2.C (init): adjust
4837         (insertRow): remove function
4838         (insertParagraph): adjust
4839         (redoParagraphs): adjust
4840         (fullRebreak): adjust
4841         (updateCounters): adjust
4842
4843         * text.C (top_y): rewrite to use RowList iterators.
4844         (top_y): adjust
4845         (setHeightOfRow): rewrite to sue RowList iterators.
4846         (appendParagraph): adjust
4847         (breakAgain): adjust
4848         (breakAgainOneRow): adjust
4849         (breakParagraph): adjust
4850         (getRow): adjust
4851         (getRowNearY): adjust, and remove commented code.
4852
4853         * lyxtext.h (firstRow): delete function
4854         (lastRow): delete function
4855         (rows): new function (const and non-const versions.)
4856         (insertRow): delete function
4857
4858         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4859
4860 2003-03-29  John Levon  <levon@movementarian.org>
4861
4862         * BufferView_pimpl.C: always update scrollbar top
4863         because pasting text when we're anchored could mean we
4864         miss an update altogether
4865
4866 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4867
4868         * text2.C (init): use rowlist_.end() and not 0.
4869         (insertRow): change to take a RowList::iterator as arg, adjust
4870         for this.
4871         (insertParagraph): change to take a RowList::iterator as arg,
4872         adjust for this.
4873         (redoParagraphs): remove some debug msgs.
4874
4875         * text.C (appendParagraph): change to take a RowList::iterator
4876         arg, adjust for this.
4877         (breakAgain): add an assert
4878         (breakAgainOneRow): ditto
4879
4880 2003-03-29  John Levon  <levon@movementarian.org>
4881
4882         * text2.C: do not clear selection after inc/decDepth
4883         (bug 550)
4884
4885 2003-03-29  John Levon  <levon@movementarian.org>
4886
4887         * BufferView.C:
4888         * buffer.C: fix broken strerrors according to Lars
4889
4890 2003-03-29  John Levon  <levon@movementarian.org>
4891
4892         * converters.C: more Alert cleanups
4893
4894 2003-03-29  John Levon  <levon@movementarian.org>
4895
4896         * bufferview_funcs.C: remove pointless Alert
4897
4898         * buffer.C: fix confusing error message when
4899         a template is chmoded 000
4900
4901 2003-03-29  John Levon  <levon@movementarian.org>
4902
4903         * BufferView.C:
4904         * BufferView.h:
4905         * BufferView_pimpl.C: Alert fixes
4906
4907         * Makefile.am:
4908         * tabular.C:
4909         * tabular-old.C: remove unused table compat reading
4910
4911 2003-03-29  John Levon  <levon@movementarian.org>
4912
4913         * BufferView.C:
4914         * buffer.C:
4915         * lyx_cb.h:
4916         * lyx_cb.C: more Alert cleanups
4917
4918         * lyxfunc.C: don't allow chktex if not latex document
4919
4920 2003-03-29  John Levon  <levon@movementarian.org>
4921
4922         * lyx_cb.C:
4923         * BufferView.C:
4924         * buffer.C: warnings pushed down from support/,
4925         kill err_alert
4926
4927 2003-03-29  John Levon  <levon@movementarian.org>
4928
4929         * lyxfunc.C: safety check for C-r (revert)
4930
4931 2003-03-29  John Levon  <levon@movementarian.org>
4932
4933         * bufferlist.h:
4934         * bufferlist.C: several UI fixes using Alert::prompt.
4935         Fix the pointless looping quit code. Fix stupid revert
4936         behaviour (bug 938)
4937
4938         * lyxvc.h:
4939         * lyxvc.C:
4940         * lyx_cb.C: use Alert::prompt
4941
4942         * lyx_main.C: remove a silly question
4943
4944         * lyxfunc.C: remove a couple of silly questions,
4945         use Alert::prompt
4946
4947 2003-03-28  John Levon  <levon@movementarian.org>
4948
4949         * text2.C: fix bug 974 (End on empty par)
4950
4951 2003-03-28  John Levon  <levon@movementarian.org>
4952
4953         * BufferView_pimpl.C:
4954         * LyXAction.C:
4955         * lfuns.h: remove do-nothing math greek lfuns
4956
4957 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4958
4959         * lyxgluelength.h (isValidGlueLength): add default arg on
4960         parameter 2. Remove default arg from friend in class.
4961
4962         * lyxlength.h (isValidLength): add default arg on parameter 2.
4963         Remove default arg from friend in class.
4964
4965         * text2.C (LyXText): adjust, initialize refresh_row.
4966         (init): adjust
4967         (removeRow): adjust
4968         (insertRow): adjust
4969         (insertParagraph): adjst
4970         (redoParagraphs): adjust
4971         (fullRebreak): adjust
4972         (updateCounters): adjust
4973         (deleteEmptyParagraphMechanism): first attempt at fixing a
4974         crashing bug.
4975
4976         * text.C (top_y): adjust
4977         (setHeightOfRow): adjust
4978         (getRow): adjust
4979         (getRowNearY): adjust
4980
4981         * lyxtext.h: include RowList.h
4982         (~LyXText): not needed anymore, deleted.
4983         (firstRow): modify for RowList
4984         (lastRow): new function
4985         Delete firstrow and lastrow class variables, add a Rowlist
4986         rowlist_ class variable.
4987
4988         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4989         paragraph is empty.
4990
4991         * RowList.C (insert): fix case where it == begin().
4992
4993 2003-03-26  Angus Leeming  <leeming@lyx.org>
4994
4995         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4996         the thesaurus dialog.
4997
4998 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4999
5000         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5001
5002         * RowList.[Ch]: new files
5003
5004         * ParagraphList.C (erase): handle the case where it == begin
5005         correctly.
5006
5007 2003-03-25  John Levon  <levon@movementarian.org>
5008
5009         * Makefile.am:
5010         * aspell_local.h:
5011         * aspell.C: add new aspell support
5012
5013         * lyxrc.h:
5014         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5015         have it accessible.
5016
5017 2003-03-25  Angus Leeming  <leeming@lyx.org>
5018
5019         * lfuns.h:
5020         * LyXAction.C (init): new LFUN_INSET_INSERT.
5021
5022         * BufferView_pimpl.C (dispatch): split out part of the
5023         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5024
5025         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5026         LFUN_INSET_APPLY.
5027
5028 2003-03-25  Angus Leeming  <leeming@lyx.org>
5029
5030         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5031
5032 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5033
5034         * text2.C:
5035         * text3.C: remove useless row->height(0)
5036
5037 2003-03-25  John Levon  <levon@movementarian.org>
5038
5039         * lyxtext.h:
5040         * text2.C:
5041         * text3.C: rename the refreshing stuff to better names
5042
5043 2003-03-24  John Levon  <levon@movementarian.org>
5044
5045         * BufferView_pimpl.h:
5046         * BufferView_pimpl.C: update layout choice on a mouse
5047         press/release
5048
5049 2003-03-23  John Levon  <levon@movementarian.org>
5050
5051         * Makefile.am: fix commandtags.h reference
5052
5053 2003-03-22  John Levon  <levon@movementarian.org>
5054
5055         * BufferView_pimpl.C:
5056         * lyxtext.h:
5057         * rowpainter.C:
5058         * rowpainter.h:
5059         * text.C:
5060         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5061
5062 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5063
5064         * lyxtext.h:
5065         * text.C: take the rtl methods out of line
5066
5067 2003-03-21 André Pönitz <poenitz@gmx.net>
5068
5069         * metricsinfo.[Ch]: new files containing structures to be passed around
5070         during the two-phase-drawing...
5071
5072 2003-03-21 André Pönitz <poenitz@gmx.net>
5073
5074         * lyxtextclass.C: read 'environment' tag.
5075
5076 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5077
5078         * text2.C (removeRow): fix bug 964
5079
5080 2003-03-20  John Levon  <levon@movementarian.org>
5081
5082         * rowpainter.C:
5083         * text.C:
5084         * text2.C: paint cleanups. Inset::update() dropped font
5085         parameter
5086
5087 2003-03-19  John Levon  <levon@movementarian.org>
5088
5089         * lyxfunc.C: only fitcursor/markDirty if available()
5090
5091 2003-03-19  John Levon  <levon@movementarian.org>
5092
5093         * commandtags.h: rename to ...
5094
5095         * lfuns.h: ... this, and renumber / cleanup
5096
5097 2003-03-19  John Levon  <levon@movementarian.org>
5098
5099         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5100         fit the cursor after an lfun
5101
5102         * BufferView.h:
5103         * BufferView.C:
5104         * BufferView_pimpl.h:
5105         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5106
5107         * LyXAction.C: layout-character should have ReadOnly
5108
5109         * ParagraphParameters.C:
5110         * buffer.C:
5111         * bufferview_funcs.C:
5112         * lyx_cb.C:
5113         * lyxfind.C:
5114         * lyxtext.h:
5115         * text.C:
5116         * text2.C:
5117         * text3.C:
5118         * undo_funcs.C: changes from above
5119
5120 2003-03-18  John Levon  <levon@movementarian.org>
5121
5122         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5123         remove it from update()
5124
5125         * lyxfunc.C: update layout choice after an lfun
5126
5127         * text3.C: remove extra updateLayoutChoice()s
5128
5129 2003-03-18  John Levon  <levon@movementarian.org>
5130
5131         * text.C: top_y change means full repaint, fix
5132         a drawing bug with cursor movement
5133
5134 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5135
5136         * lyxtext.h:
5137         * text.C:
5138         * text2.C: anchor row on setCursor
5139
5140 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5141
5142         * lyxtext.h: remove almost all mutable keywords
5143         * text.C:
5144         * text2.C:
5145         * text3.C: remove const keywords accordingly
5146
5147 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5148
5149         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5150         anon namespace
5151         (TeXEnvironment): ditto
5152         (TeXOnePar): ditto
5153
5154 2003-03-17  John Levon  <levon@movementarian.org>
5155
5156         * text.C (rowBreakPoint): remove attempt to fix displayed
5157         math insets inside a manual label
5158
5159 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5160
5161         * lyxtext.h: remove BufferView* as first arg from almost all class
5162         functions.
5163         * other files: adjust.
5164
5165 2003-03-17  John Levon  <levon@movementarian.org>
5166
5167         * lyxtext.h:
5168         * undo_funcs.C:
5169         * text2.C: more paint cleanups
5170
5171         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5172
5173         * rowpainter.h:
5174         * rowpainter.C: remove "smart" background painting code
5175
5176 2003-03-16  John Levon  <levon@movementarian.org>
5177
5178         * lyxtext.h:
5179         * text.C:
5180         * text2.C:
5181         * text3.C: add helper functions for setting refresh_row/y
5182
5183 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5184
5185         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5186         newline inset which *can* get inserted in the pass_thru layouts.
5187         This is primarily for literate documents.
5188
5189 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5190
5191         * buffer.C: increment LYX_FORMAT to 223
5192
5193 2003-03-14 André Pönitz <poenitz@gmx.net>
5194
5195         * textclass.h: prepare for environment handling, ws changes
5196         * lyxlayout.C: read latexheader and latexfooter tags
5197
5198 2003-03-14  John Levon  <levon@movementarian.org>
5199
5200         * text2.C: rewrite ::status() a bit
5201
5202 2003-03-13  John Levon  <levon@movementarian.org>
5203
5204         * lyxtext.h: add some docs
5205
5206 2003-03-13  John Levon  <levon@movementarian.org>
5207
5208         * lyxtext.h:
5209         * text.C:
5210         * text2.C:
5211         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5212
5213 2003-03-13  John Levon  <levon@movementarian.org>
5214
5215         * text3.C: fix appendix redrawing
5216
5217 2003-03-13  John Levon  <levon@movementarian.org>
5218
5219         * text.C (setHeightOfRow):
5220         * rowpainter.h:
5221         * rowpainter.C: make appendix mark have the text
5222           "Appendix" so the user knows what it is
5223
5224         * LColor.h:
5225         * LColor.C: s/appendixline/appendix/ from above
5226
5227 2003-03-13  John Levon  <levon@movementarian.org>
5228
5229         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5230
5231         * text.C: fix a getChar(pos) bug properly
5232
5233 2003-03-13  Angus Leeming  <leeming@lyx.org>
5234
5235         * commandtags.h:
5236         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5237         Probably only temporary. Let's see how things pan out.
5238
5239         * BufferView.C (unlockInset):
5240         * BufferView_pimpl.C (fitCursor):
5241         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5242
5243         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5244         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5245
5246         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5247         new functions that convert ParagraphParameters to and from a string.
5248
5249         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5250         BufferView::Pimpl's dispatch.
5251         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5252
5253 2003-03-13 André Pönitz <poenitz@gmx.net>
5254
5255         * lyxfunc.C:
5256         * text3.C:
5257         * factory.C: make it aware of InsetEnv
5258
5259 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5260
5261         * text2.C (setCursor): never ask for one past last
5262         (setCursor): add some debugging messages.
5263
5264         * text.C (singleWidth): never ask for one past last
5265         (singleWidth): ditto
5266         (leftMargin): ditto
5267         (rightMargin): ditto
5268         (rowBreakPoint): ditto
5269         (setHeightOfRow): ditto
5270         (prepareToPrint): ditto
5271
5272         * rowpainter.C (paintBackground): never ask for one past last
5273         (paintText): never ask for one past last
5274
5275         * paragraph_pimpl.C (getChar): make the assert stricter, never
5276         allow the one past last pos to be taken
5277
5278         * paragraph.C (getChar): ws changes only
5279
5280         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5281         (numberOfSeparators): ditto
5282         (numberOfHfills): ditto
5283
5284 2003-03-12  John Levon  <levon@movementarian.org>
5285
5286         * author.h:
5287         * author.C:
5288         * bufferparams.h:
5289         * bufferparams.C:
5290         * paragraph_funcs.C: fix per-buffer authorlists
5291
5292 2003-03-12  John Levon  <levon@movementarian.org>
5293
5294         * text.C: fix newline in right address
5295
5296 2003-03-12  Angus Leeming  <leeming@lyx.org>
5297
5298         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5299         duplicate those in LyXFunc::dispatch.
5300
5301         * commandtags.h:
5302         * LyXAction.C:
5303         * ToolbarDefaults.C:
5304         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5305         Add LFUN_FONTFREE_UPDATE.
5306
5307         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5308         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5309
5310         * bufferview_func.[Ch]: several new functions to facilliate
5311         transfer of data to and from the character dialog.
5312
5313 2003-03-12  John Levon  <levon@movementarian.org>
5314
5315         * buffer.C:
5316         * paragraph.h:
5317         * paragraph.C:
5318         * paragraph_funcs.C:
5319         * paragraph_pimpl.C:
5320         * sgml.C:
5321         * tabular.C:
5322         * text.C:
5323         * text3.C: remove META_NEWLINE in favour of an inset
5324
5325         * rowpainter.h:
5326         * rowpainter.C: remove paintNewline (done by inset)
5327
5328 2003-03-12  John Levon  <levon@movementarian.org>
5329
5330         * paragraph_pimpl.C: complain about bad getChar()s
5331         for a while at least
5332
5333 2003-03-12  John Levon  <levon@movementarian.org>
5334
5335         * buffer.h:
5336         * buffer.C: move paragraph read into a separate function,
5337         a little renaming to reflect that.
5338
5339         * bufferparams.h:
5340         * bufferparams.C: remove the author_ids map, not necessary now
5341
5342         * factory.h:
5343         * factory.C: moved Buffer::readInset to here
5344
5345         * paragraph_funcs.h:
5346         * paragraph_funcs.C: readParagraph free function moved from
5347         buffer.C
5348
5349         * tabular.C: name change
5350
5351 2003-03-12  John Levon  <levon@movementarian.org>
5352
5353         * buffer.C:
5354         * ParagraphParameters.C: move par params input to
5355         a read() method
5356
5357         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5358         behave like a normal read from the stream wrt reading
5359         a line vs. a \\token
5360
5361 2003-03-12  John Levon  <levon@movementarian.org>
5362
5363         * paragraph.C:
5364         * ParagraphParameters.h:
5365         * ParagraphParameters.C: move output code to a
5366         ::write() method
5367
5368 2003-03-12  John Levon  <levon@movementarian.org>
5369
5370         * BufferView.C (insertLyXFile):
5371         * buffer.h:
5372         * buffer.C:
5373         * tabular.C: use a parlist iterator for creating the
5374           document.
5375
5376 2003-03-12  John Levon  <levon@movementarian.org>
5377
5378         * buffer.C: make current_change static local not
5379           static file-scope
5380
5381 2003-03-12  John Levon  <levon@movementarian.org>
5382
5383         * buffer.C: fix insertStringAsLines for change tracking
5384
5385 2003-03-12  John Levon  <levon@movementarian.org>
5386
5387         * BufferView.C:
5388         * tabular.C:
5389         * buffer.h:
5390         * buffer.C:
5391         * bufferparams.h:
5392         * bufferparams.C: move author list into params. Rename some
5393           functions. Move the header reading into a separate token
5394           loop. Move the header token reading into BufferParams.
5395
5396 2003-03-12  John Levon  <levon@movementarian.org>
5397
5398         * changes.C: put debug inside lyxerr.debugging() checks
5399
5400 2003-03-11 André Pönitz <poenitz@gmx.net>
5401
5402         * factory.C: make it aware of InsetHFill
5403
5404 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5405
5406         * buffer.C (latexParagraphs): move function from here...
5407         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5408         args.
5409
5410 2003-03-10  Angus Leeming  <leeming@lyx.org>
5411
5412         * LyXAction.C (init): fix bug in poplating array with multiple entries
5413         with the same LFUN (spotted by JMarc).
5414
5415 2003-03-10  John Levon  <levon@movementarian.org>
5416
5417         * text.C:
5418         * text2.C: move getColumnNearX() near its
5419         only call site
5420
5421 2003-03-10  John Levon  <levon@movementarian.org>
5422
5423         * text.C: fix break before a minipage
5424
5425 2003-03-10  John Levon  <levon@movementarian.org>
5426
5427         * text.C: fix the last commit
5428
5429 2003-03-09  John Levon  <levon@movementarian.org>
5430
5431         * lyxtext.h:
5432         * text.C:
5433         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5434         bug 365 (don't break before insets unless needed). Don't
5435         return a value > last under any circumstances.
5436
5437 2003-03-09  Angus Leeming  <leeming@lyx.org>
5438
5439         * BufferView_pimpl.C (trackChanges, dispatch): call
5440         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5441
5442 2003-03-09  Angus Leeming  <leeming@lyx.org>
5443
5444         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5445         than Dialogs::showAboutlyx().
5446
5447 2003-03-09  Angus Leeming  <leeming@lyx.org>
5448
5449         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5450         than Dialogs::showTabularCreate().
5451
5452 2003-03-09  John Levon  <levon@movementarian.org>
5453
5454         * lyxtext.h:
5455         * text.C:
5456         * text2.C: 3rd arg to nextBreakPoint was always the same.
5457           Use references.
5458
5459 2003-03-08  John Levon  <levon@movementarian.org>
5460
5461         * lyxrow.C:
5462         * paragraph.C:
5463         * paragraph.h:
5464         * rowpainter.C:
5465         * text.C:
5466         * text2.C: Remove the "main" bit from the "main body"
5467           notion.
5468
5469 2003-03-08  John Levon  <levon@movementarian.org>
5470
5471         * text.C (leftMargin): The left margin of an empty
5472         manual label paragraph should not include the label width
5473         string length.
5474
5475         * text.C (prepareToPrint): don't attempt to measure hfills
5476         for empty manual label paragraphs - the answer should be 0
5477
5478 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5479
5480         * CutAndPaste.C: remove commented code and reindent.
5481
5482 2003-03-08  John Levon  <levon@movementarian.org>
5483
5484         * lyxfunc.h:
5485         * lyxfunc.C: move reloadBuffer()
5486
5487         * BufferView.h:
5488         * BufferView.C: to here
5489
5490         * lyxvc.C: add comment
5491
5492         * vc-backend.h:
5493         * vc-backend.C: call bv->reload() to avoid
5494           getStatus() check on MENURELOAD
5495
5496 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5497
5498         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5499         to an old format .dep file.
5500
5501 2003-03-07  Angus Leeming  <leeming@lyx.org>
5502
5503         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5504         when the LFUN_MOUSE_RELEASE should have been handled by
5505         inset->localDispatch.
5506
5507 2003-03-07  Angus Leeming  <leeming@lyx.org>
5508
5509         * BufferView_pimpl.C (dispatch):
5510         * LyXAction.C (init):
5511         * ToolbarDefaults.C (init):
5512         * commandtags.h:
5513         * lyxfunc.C (getStatus):
5514         remove LFUN_INSET_GRAPHICS.
5515
5516         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5517
5518 2003-03-07  Angus Leeming  <leeming@lyx.org>
5519
5520         * commandtags.h:
5521         * LyXAction.C (init):
5522         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5523
5524         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5525
5526         * commandtags.h:
5527         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5528
5529         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5530         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5531
5532 2003-03-07  Angus Leeming  <leeming@lyx.org>
5533
5534         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5535         remove "ert".
5536
5537 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5538
5539         * ParagraphList.C (front): new function
5540         (back): implement
5541
5542 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5543
5544         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5545         and top_row_offset_. removed var first_y.
5546         * text.C (top_y):
5547         * text2.C (LyXText, removeRow):
5548         * text3.C:
5549         * BufferView_pimpl.C:
5550         use these methods instead of using first_y
5551
5552 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5553
5554         * text2.C (pasteSelection): adjust for checkPastePossible
5555
5556         * CutAndPaste.C: remove Paragraph * buf and replace with
5557         ParagraphList paragraphs.
5558         (DeleteBuffer): delete
5559         (cutSelection): change the tc type to textclass_type
5560         (copySelection): change the tc type to textclass_type
5561         (copySelection): adjust for ParagraphList
5562         (pasteSelection): change the tc type to textclass_type
5563         (pasteSelection): adjust for Paragraphlist
5564         (nrOfParagraphs): simplify for ParagraphList
5565         (checkPastePossible): simplify for ParagraphList
5566         (checkPastePossible): remove unused arg
5567
5568         * ParagraphList.C (insert): handle the case where there are no
5569         paragraphs yet.
5570
5571         * CutAndPaste.h: make CutAndPaste a namespace.
5572
5573         * text3.C (dispatch): adjust
5574
5575         * text.C (breakParagraph): add a ParagraphList as arg
5576
5577         * paragraph_funcs.C (breakParagraph): change to take a
5578         BufferParams and a ParagraphList as args.
5579         (breakParagraphConservative): ditto
5580         (mergeParagraph): ditto
5581         (TeXDeeper): add a ParagraphList arg
5582         (TeXEnvironment): ditto
5583         (TeXOnePar): ditto
5584
5585         * buffer.C (readLyXformat2): adjust
5586         (insertStringAsLines): adjust
5587         (latexParagraphs): adjust
5588
5589         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5590         (cutSelection): adjust
5591         (pasteSelection): adjust
5592
5593         * BufferView_pimpl.C (insertInset): adjust
5594
5595 2003-03-05  Angus Leeming  <leeming@lyx.org>
5596
5597         * commandtags.h:
5598         * LyXAction.C (init):
5599         * BufferView_pimpl.C (dispatch):
5600         * lyxfunc.C (getStatus):
5601         remove LFUN_CHILD_INSERT.
5602
5603         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5604
5605 2003-03-05  Angus Leeming  <leeming@lyx.org>
5606
5607         * commandtags.h:
5608         * LyXAction.C (init):
5609         * src/factory.C (createInset):
5610         * lyxfunc.C (getStatus):
5611         * text3.C (dispatch):
5612         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5613
5614         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5615
5616 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5617
5618         * ParagraphList.C (insert): handle insert right before end()
5619         (erase): fix cases where it can be first or last paragraph.
5620
5621 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5622
5623         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5624         Paragraph::next and Paragraph::previous
5625         (TeXOnePar): ditto
5626
5627         * text.C (breakParagraph): adjust
5628
5629         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5630         BufferParams& as arg.
5631         (breakParagraph): use ParagraphList::insert
5632         (breakParagraphConservative): take a Buffer* instead of a
5633         BufferParams& as arg.
5634         (breakParagraphConservative): use ParagraphList::insert.
5635
5636         * buffer.C (insertStringAsLines): un-const it
5637         (insertStringAsLines): adjust
5638
5639         * ParagraphList.C (insert): new function
5640
5641         * CutAndPaste.C (pasteSelection): adjust
5642
5643         * text.C (backspace): adjust
5644
5645         * tabular.C (SetMultiColumn): adjust
5646
5647         * CutAndPaste.C (cutSelection): adjust
5648         (pasteSelection): adjust
5649
5650         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5651         Buffer const * as arg
5652
5653         * ParagraphList.C (erase): new function
5654         * paragraph_funcs.C (mergeParagraph): use it
5655         (mergeParagraph): make it take a Buffer* instead of a
5656         BufferParams* as arg
5657
5658         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5659         as arg
5660         (breakParagraphConservative): ditto
5661
5662         * paragraph.h: remove the breakParagraph friend
5663
5664         * paragraph.C (eraseIntern): new function
5665         (setChange): new function
5666
5667         * paragraph_funcs.C (mergeParagraph): make it take a
5668         ParagraphList::iterator instead of a Paragraph *, adjust
5669         accordingly.
5670
5671         * paragraph.h: move an #endif so that the change tracking stuff
5672         also works in the NO_NEXT case.
5673
5674 2003-03-04  Angus Leeming  <leeming@lyx.org>
5675
5676         * commandtags.h:
5677         * LyXAction.C: new LFUN_INSET_MODIFY.
5678
5679         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5680         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5681
5682 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5683
5684         * several files: ws changes only
5685
5686         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5687         (TeXEnvironment): ditto
5688         (TeXDeeper): ditto
5689
5690         * buffer.C (makeLaTeXFile): adjust
5691         (latexParagraphs): make it take ParagraphList::iterator as args
5692
5693 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5694
5695         * buffer.C (latexParagraphs): adjust
5696
5697         * paragraph.C (TeXOnePar): move function...
5698         (optArgInset): move function...
5699         (TeXEnvironment): move function...
5700         * paragraph_pimpl.C (TeXDeeper): move function...
5701         * paragraph_funcs.C: ...here
5702
5703         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5704
5705 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5706
5707         * buffer.C (readInset): remove compability code for old Figure and
5708         InsetInfo insets
5709
5710 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5711
5712         * buffer.C: ws changes
5713         (readInset):
5714
5715         * BufferView_pimpl.C: ditto
5716         * author.C: ditto
5717         * buffer.h: ditto
5718         * bufferlist.h: ditto
5719         * changes.h: ditto
5720         * lyxfunc.C: ditto
5721
5722 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5723
5724         * converter.[Ch]: split into itself +
5725         * graph.[Ch]
5726         * format.[Ch]
5727         * Makefile.am: += graph.[Ch] + format.[Ch]
5728         * MenuBackend.C
5729         * buffer.C
5730         * exporter.C
5731         * importer.C
5732         * lyx_main.C
5733         * lyxfunc.C
5734         * lyxrc.C: added #include "format.h"
5735
5736 2003-02-27  Angus Leeming  <leeming@lyx.org>
5737
5738         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5739           a label.
5740
5741         * factory.C (createInset): add "label" to the factory.
5742
5743         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5744           string and do no more.
5745
5746 2003-02-27  Angus Leeming  <leeming@lyx.org>
5747
5748         * commandtags.h:
5749         * LyXAction.C (init):
5750         * factory.C (createInset):
5751         * BufferView_pimpl.C (dispatch):
5752           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5753
5754         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5755
5756         * lyxfunc.C (dispatch):
5757         * text3.C (dispatch): pass name to params2string.
5758
5759 2003-02-26  Angus Leeming  <leeming@lyx.org>
5760
5761         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5762           blocks together.
5763           Rearrange the ~includes. Strip out the unnecessary ones.
5764
5765         * factory.C (createInset): reformat.
5766           create new insets for the various LFUN_XYZ_APPLY lfuns.
5767
5768 2003-02-26  John Levon  <levon@movementarian.org>
5769
5770         * lyxrow.h:
5771         * lyxrow.C: add isParStart,isParEnd helpers
5772
5773         * paragraph.h: make isInserted/DeletedText take refs
5774
5775         * paragraph_funcs.h:
5776         * paragraph_funcs.C: remove #if 0'd code
5777
5778         * lyxtext.h:
5779         * text3.C:
5780         * text2.C:
5781         * text.C: use lyxrow helpers above.
5782           Move draw and paint routines to RowPainter.
5783           Make several methods use refs not pointers.
5784           Make backgroundColor() const.
5785           Add markChangeInDraw(), isInInset().
5786           Merge changeRegionCase into changeCase.
5787           Make workWidth() shouldn't-happen code into an Assert.
5788
5789         * rowpainter.h:
5790         * rowpainter.C: new class for painting a row.
5791
5792         * vspace.h:
5793         * vspace.C: make inPixels take a ref
5794
5795 2003-02-26  Angus Leeming  <leeming@lyx.org>
5796
5797         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5798         LFUN_REF_APPLY.
5799
5800 2003-02-25  John Levon  <levon@movementarian.org>
5801
5802         * ispell.C: give the forked command a more accurate name
5803
5804 2003-02-22  John Levon  <levon@movementarian.org>
5805
5806         * toc.h:
5807         * toc.C: make TocItem store an id not a Paragraph *
5808           (bug #913)
5809
5810 2003-02-21  Angus Leeming  <leeming@lyx.org>
5811
5812         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5813           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5814           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5815           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5816           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5817           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5818
5819         * BufferView_pimpl.C (dispatch):
5820         * LyXAction.C (init):
5821         * factory.C (createInset):
5822         * lyxfunc.C (getStatus, dispatch):
5823         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5824
5825 2003-02-21  Angus Leeming  <leeming@lyx.org>
5826
5827         * BufferView_pimpl.C (MenuInsertLyXFile):
5828         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5829         * lyxfunc.C (menuNew, open, doImport):
5830           no longer pass a LyXView & to fileDlg.
5831
5832 2003-02-21  Angus Leeming  <leeming@lyx.org>
5833
5834         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5835         * LyXAction.C: change, BIBKEY to BIBITEM.
5836         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5837         Change InsetBibKey to InsetBibitem.
5838         Change BIBKEY_CODE to BIBITEM_CODE.
5839         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5840         * factory.C: replace insetbib.h with insetbibitem.h.
5841         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5842         * paragraph.C: replace insetbib.h with insetbibitem.h.
5843         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5844         Change bibkey() to bibitem().
5845         * text.C: remove insetbib.h.
5846         * text2.C: replace insetbib.h with insetbibitem.h.
5847         change bibkey() to bibitem().
5848         * text3.C: remove insetbib.h.
5849         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5850
5851 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5852
5853         * lyxrc.C (output): enclose user email in quotes (in case there are
5854         several words)
5855
5856 2003-02-18  John Levon  <levon@movementarian.org>
5857
5858         * buffer.h: add std::
5859
5860 2003-02-17  John Levon  <levon@movementarian.org>
5861
5862         * SpellBase.h:
5863         * ispell.h:
5864         * ispell.C:
5865         * pspell.h:
5866         * pspell.C: reworking. Especially in ispell, a large
5867           number of clean ups and bug fixes.
5868
5869         * lyxfunc.C: fix revert to behave sensibly
5870
5871 2003-02-17 André Pönitz <poenitz@gmx.net>
5872
5873         * LyXAction.C:
5874         * commandtags.h: new LFUN_INSERT_BIBKEY
5875
5876         * layout.h:
5877         * lyxlayout.C:
5878         * buffer.C:
5879         * factory.C:
5880         * text.C:
5881         * text2.C:
5882         * text3.C:
5883         * paragraph.[Ch]:
5884         * paragraph_func.C: remove special bibkey handling
5885
5886 2003-02-17  John Levon  <levon@movementarian.org>
5887
5888         * text.C (Delete): fix case where delete at the end of
5889           the very first paragraph would not merge the pars
5890
5891 2003-02-17  John Levon  <levon@movementarian.org>
5892
5893         * lyxrow.C: fix lastPrintablePos()
5894
5895 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5896
5897         * bufferparams.C (writeLaTeX): add a std:here
5898
5899         * buffer.C: and remove a using directive there
5900
5901 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5902
5903         * buffer.C (makeLaTeXFile): move the code that generates the
5904           preamble...
5905
5906         * bufferparams.C (writeLaTeX): ... in this new method
5907
5908         * LaTeXFeatures.C (getEncodingSet): make const
5909           (getLanguages): make const
5910
5911         * MenuBackend.C (binding): returns the binding associated to this
5912           action
5913           (add): sets the status of each item by calling getStatus. Adds
5914           some intelligence.
5915           (read): add support for OptSubMenu
5916           (expand): remove extra separator at the end of expanded menu
5917
5918 2003-02-15  John Levon  <levon@movementarian.org>
5919
5920         * BufferView.C:
5921         * BufferView_pimpl.C:
5922         * bufferlist.h:
5923         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5924           inset code that had no actual effect. Remove unneeded status
5925           code.
5926
5927 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5928
5929         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5930           in preamble
5931
5932 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5933
5934         * text.C (drawLengthMarker): also draw an arrow marker for
5935           symbolic lengths (medskip...)
5936
5937 2003-02-14  John Levon  <levon@movementarian.org>
5938
5939         * tabular.h:
5940         * tabular.C: better method names
5941
5942 2003-02-14  John Levon  <levon@movementarian.org>
5943
5944         * BufferView_pimpl.C:
5945         * bufferlist.C:
5946         * buffer.C:
5947         * converter.C:
5948         * lyx_cb.C:
5949         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5950           it's a more accurate name. Remove some pointless uses.
5951
5952 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5953
5954         * text2.C (LyXText): change order of initilizers to shut off
5955           warnings
5956
5957 2003-02-14  John Levon  <levon@movementarian.org>
5958
5959         * buffer.C: use ParIterator for getParFromID()
5960
5961         * paragraph.h:
5962         * paragraph.C:
5963         * paragraph_pimpl.h:
5964         * paragraph_pimpl.C: remove unused getParFromID()
5965
5966 2003-02-14  John Levon  <levon@movementarian.org>
5967
5968         * buffer.C: remove some very old #if 0'd parse code
5969
5970 2003-02-13  John Levon  <levon@movementarian.org>
5971
5972         * text.h:
5973         * text.C:
5974         * text2.C: move hfillExpansion(), numberOfSeparators(),
5975           rowLast(), rowLastPrintable(), numberofHfills(),
5976           numberOfLabelHfills() ...
5977
5978         * lyxrow.h:
5979         * lyxrow.C: ... to member functions here.
5980
5981         * paragraph.h:
5982         * paragraph.C:
5983         * lyxtext.h:
5984         * text.C: remove LyXText::beginningOfMainBody(), and call
5985           p->beginningOfMainBody() directly. Move the check for
5986           LABEL_MANUAL into the latter.
5987
5988         * text.h:
5989         * text.C:
5990         * text2.C:
5991         * vspace.C:
5992         * BufferView.h:
5993         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5994
5995         * text.h:
5996         * text.C:
5997         * text2.C:
5998         * text3.C:
5999         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6000           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6001
6002 2003-02-13  John Levon  <levon@movementarian.org>
6003
6004         * CutAndPaste.C: remove debug
6005
6006 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6007
6008         * paragraph.C (asString): remove two unused variables
6009
6010         * lyxtextclass.C (readTitleType):
6011           (Read):
6012           (LyXTextClass): handle new members titletype_ and titlename_
6013
6014         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6015
6016 2003-02-09  John Levon  <levon@movementarian.org>
6017
6018         * buffer.h:
6019         * buffer.C: replace hand-coded list with a map for the dep clean
6020
6021 2003-02-08  John Levon  <levon@movementarian.org>
6022
6023         * LaTeX.C: consolidate code into showRunMessage() helper
6024
6025 2003-02-08  John Levon  <levon@movementarian.org>
6026
6027         * lyxfind.C:
6028         * lyxtext.h:
6029         * text2.C:
6030         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6031           and pass the size in explicitly
6032
6033         * BufferView_pimpl.h:
6034         * BufferView_pimpl.C:
6035         * BufferView.h:
6036         * BufferView.C: add getCurrentChange()
6037
6038         * BufferView_pimpl.h:
6039         * BufferView_pimpl.C: handle change lfuns
6040
6041         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6042           for changes. Mark pasted paragraphs as new.
6043
6044         * support/lyxtime.h:
6045         * support/lyxtime.C:
6046         * DepTable.C: abstract time_t as lyx::time_type
6047
6048         * LColor.h:
6049         * LColor.C: add colours for new text, deleted text, changebars
6050
6051         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6052           package use "usenames" option.
6053
6054         * commandtags.h:
6055         * lyxfunc.C:
6056         * LyXAction.C: add change lfuns
6057
6058         * Makefile.am:
6059         * author.h:
6060         * author.C: author handling
6061
6062         * buffer.h:
6063         * buffer.C: add a per-buffer author list, with first entry as
6064           current author. Handle new .lyx tokens for change tracking. Output
6065           author list to .lyx file. Output dvipost stuff to .tex preamble.
6066           Bump lyx format to 222.
6067
6068         * bufferlist.h:
6069         * bufferlist.C: add setCurrentAuthor() to reset current author details
6070           in all buffers.
6071
6072         * bufferparams.h:
6073         * bufferparams.C: add param for tracking
6074
6075         * bufferview_funcs.C: output change info in minibuffer
6076
6077         * Makefile.am:
6078         * changes.h:
6079         * changes.C: add change-tracking structure
6080
6081         * debug.h:
6082         * debug.C: add CHANGES debug flag
6083
6084         * lyxfind.h:
6085         * lyxfind.C: add code for finding the next change piece
6086
6087         * lyxrc.h:
6088         * lyxrc.C: add user_name and user_email
6089
6090         * lyxrow.h:
6091         * lyxrow.C: add a metric for the top of the text line
6092
6093         * lyxtext.h:
6094         * text.C: implement accept/rejectChange()
6095
6096         * lyxtext.h:
6097         * text.C: paint changebars. Paint new/deleted text in the chosen
6098         colours. Strike through deleted text.
6099
6100         * paragraph.h:
6101         * paragraph.C:
6102         * paragraph_pimpl.h:
6103         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6104           in the current change to the insert functions. Rework erase to
6105           mark text as deleted, adding an eraseIntern() and a range-based
6106           erase(). Implement per-paragraph change lookup and
6107           accept/reject.
6108
6109         * paragraph_funcs.C: Fixup paste for change tracking.
6110
6111         * tabular.C: mark added row/columns as new.
6112
6113         * text.C: fix rowLast() to never return -1. Don't allow
6114           spellchecking of deleted text. Track transpose changes. Don't
6115           allow paragraph break or merge where appropriate.
6116
6117         * text2.C: leave cursor at end of selection after a cut.
6118
6119 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6120
6121         * text.C (getLengthMarkerHeight):
6122         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6123         visible on screen too.
6124
6125 2003-02-07  John Levon  <levon@movementarian.org>
6126
6127         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6128
6129 2003-02-05  Angus Leeming  <leeming@lyx.org>
6130
6131         * lyxserver.C (read_ready): revert my patch of 11 September last year
6132         as it sends PC cpu through the roof. Presumably this means that
6133         the lyxserver will no longer run on an Alpha...
6134
6135 2003-01-30  Angus Leeming  <leeming@lyx.org>
6136
6137         * factory.C (createInset): create an InsetCommandParam of type "index"
6138         and use it to 'do the right thing'.
6139
6140         * text2.C (getStringToIndex): ensure that cursor position is always
6141         reset to the reset_cursor position.
6142
6143 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6144
6145         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6146         disabled.
6147
6148 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6149
6150         * bufferview.C:
6151         * lyxcb.C:
6152         * lyxfunc.C: Output messages with identical spelling, punctuation,
6153         and spaces
6154
6155 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6156
6157         * MenuBackend.C (expandFormats): List only viewable export formats
6158         in "View" menu
6159
6160         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6161         message
6162
6163         * lyxfunc.C (getStatus): Make sure that formats other than
6164         "fax" can also be disabled
6165
6166 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6167
6168         * text3.C (dispatch): put the lfuns that insert insets in 3
6169         groups, and call doInsertInset with appropriate arguments.
6170         (doInsertInset): new function, that creates an inset and inserts
6171         it according to some boolean parameters.
6172
6173 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6174
6175         * buffer.C (readFile): remember to pass on 'par' when calling
6176         readFile recursively.
6177
6178 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6179
6180         * MenuBackend.C (expandFormats): add "..." to import formats.
6181
6182 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6183
6184         * paragraph.C (asString): Remove XForms RTL hacks.
6185
6186 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6187         * buffer.C: fix typo
6188
6189 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6190
6191         * Makefile.am (LIBS): delete var
6192         (lyx_LDADD): add @LIBS@ here instead.
6193
6194 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6195
6196         * Clarify the meaning of "wheel mouse jump"
6197
6198 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6199
6200         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6201         tabular in a float
6202
6203 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6204
6205         * importer.C (Loaders): do not preallocate 3 elements in the
6206         vector, since one ends up with 6 elements otherwise
6207
6208 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6209
6210         * DepTable.C (write): write the file name as last element of the
6211         .dep file (because it may contain spaces)
6212         (read): read info in the right order
6213
6214 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6215
6216         * paragraph_pimpl.C (simpleTeXBlanks):
6217         (simpleTeXSpecialChars):
6218         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6219
6220         * tabular.C (latex): add some missing case statements. Reindent.
6221
6222         * MenuBackend.C (expandToc): remove unused variable.
6223
6224 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6225
6226         * LColor.C:
6227         * LaTeX.C:
6228         * LyXAction.C:
6229         * MenuBackend.C:
6230         * buffer.C:
6231         * exporter.C:
6232         * lyxfunc.C:
6233         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6234         and the like.
6235
6236 2003-01-05  John Levon  <levon@movementarian.org>
6237
6238         * BufferView.h:
6239         * BufferView.C: add getEncoding()
6240
6241         * kbsequence.h:
6242         * kbsequence.C: do not store last keypress
6243
6244         * lyxfunc.h:
6245         * lyxfunc.C: store last keypress here instead. Pass encoding
6246           to getISOEncoded()
6247
6248 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6249
6250         * lyx_main.C (init): remove annoying error message when following
6251         symbolic links (bug #780)
6252
6253 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6254
6255         * text.C (insertChar):
6256         * lyxrc.C (getDescription): remove extra spaces
6257
6258 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6259
6260         * lyxrc.C (getDescription): remove extra spaces
6261
6262 2002-12-20  John Levon  <levon@movementarian.org>
6263
6264         * text3.C: hack fix for page up/down across tall rows
6265
6266 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6267
6268         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6269         not been invoked
6270
6271 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6272
6273         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6274         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6275         thesaurus is not compiled in
6276
6277 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6278
6279         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6280
6281 2002-12-16  Angus Leeming  <leeming@lyx.org>
6282
6283         * lyxrc.[Ch]:
6284         * lyx_main.C (init): remove override_x_deadkeys stuff.
6285
6286 2002-12-12  John Levon  <levon@movementarian.org>
6287
6288         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6289           insert. Only remove shift modifier under strict
6290           circumstances.
6291
6292 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6293
6294         * MenuBackend.C (expandToc): fix crash.
6295
6296 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6297
6298         * MenuBackend.C (expandToc): gettext on float names.
6299
6300 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6301
6302         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6303         implement bool empty() [bug 490]
6304
6305 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6306
6307         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6308
6309 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6310
6311         * several files: ws changes
6312
6313 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6314
6315         * text2.C (setCounter): clean up a bit, use boost.format.
6316         (updateCounters): initialize par upon declaration.
6317
6318         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6319         if the layout exists. We do not just store the layout any more.
6320         (SwitchLayoutsBetweenClasses): use boost.format
6321
6322 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6323
6324         * converter.C (convert): if from and to files are the same, use a
6325         temporary files as intermediary
6326
6327 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6328
6329         * commandtags.h:
6330         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6331
6332 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6333
6334         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6335
6336 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6337
6338         * tabular.C (asciiPrintCell): use string(size, char) instead of
6339         explicit loop.
6340
6341         * sgml.C (openTag): fix order of arguments to string constructor
6342         (closeTag): ditto
6343
6344         * lyxfunc.C (dispatch): use boost.format
6345
6346         * lots of files: change "c" -> 'c'
6347
6348 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6349
6350         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6351
6352 2002-11-25  Angus Leeming  <leeming@lyx.org>
6353
6354         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6355
6356         * lyx_main.C (init): compile fix.
6357
6358 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6359
6360         * lyx_cb.C (start): boost.formatify
6361         do not include <iostream>
6362
6363         * lengthcommon.C: ws only
6364
6365         * boost-inst.C,BoostFormat.h: add more explict instantations
6366
6367 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6368
6369         * lots of files: handle USE_BOOST_FORMAT
6370
6371 2002-11-21  John Levon  <levon@movementarian.org>
6372
6373         * pspell.C: fix compile
6374
6375 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6376
6377         * lyxfunc.C (dispatch): use boost::format
6378         (open): ditto
6379         (doImport): ditto
6380
6381         * lyxfont.C (stateText): use boost::format
6382
6383         * lyx_main.C (LyX): use boost::format
6384         (init): ditto
6385         (queryUserLyXDir): ditto
6386         (readRcFile): ditto
6387         (parse_dbg): ditto
6388         (typedef boost::function): use the recommened syntax.
6389
6390         * importer.C (Import): use boost::format
6391
6392         * debug.C (showLevel): use boost::format
6393
6394         * converter.C (view): use boost::format
6395         (convert): ditto
6396         (move): ditto
6397         (scanLog): ditto
6398
6399         * bufferview_funcs.C (currentState): use boost::format
6400
6401         * bufferlist.C (emergencyWrite): use boost::format
6402
6403         * buffer.C (readLyXformat2): use boost::format
6404         (parseSingleLyXformat2Token): ditto
6405
6406         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6407
6408         * LaTeX.C (run): use boost::format
6409
6410         * Chktex.C (scanLogFile): use boost::format
6411
6412         * BufferView_pimpl.C (savePosition): use boost::format
6413         (restorePosition): ditto
6414         (MenuInsertLyXFile): ditto
6415
6416         * BoostFormat.h: help file for explicit instation.
6417
6418 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6419
6420         * tabular.C (latex): Support for block alignment in fixed width
6421         columns.
6422
6423 2002-11-17  John Levon  <levon@movementarian.org>
6424
6425         * BufferView_pimpl.C:
6426         * lyx_cb.C:
6427         * lyxfunc.C: split filedialog into open/save
6428
6429 2002-11-08  Juergen Vigna  <jug@sad.it>
6430
6431         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6432         by my last patch (hopefully).
6433
6434 2002-11-08  John Levon  <levon@movementarian.org>
6435
6436         * iterators.h:
6437         * iterators.C:
6438         * buffer.h:
6439         * buffer.C:
6440         * paragraph.h:
6441         * paragraph.C:
6442         * toc.h:
6443         * toc.C: ParConstIterator, and use it (from Lars)
6444
6445 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6446
6447         * lyxtextclass.[Ch]: revise and add doxygen comments
6448
6449 2002-11-07  John Levon  <levon@movementarian.org>
6450
6451         * text.C: fix progress value for spellchecker
6452
6453         * toc.C: fix navigate menu for insetwrap inside minipage
6454
6455         * paragraph_funcs.C: added FIXME for suspect code
6456
6457 2002-11-07  John Levon  <levon@movementarian.org>
6458
6459         * BufferView_pimpl.C: fix redrawing of insets
6460           on buffer switch
6461
6462 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6463
6464         * text2.C (updateCounters): fix bug 668
6465
6466 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6467
6468         * text3.C (dispatch): Do not make the buffer dirty when moving the
6469         cursor.
6470
6471 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6472
6473         * vc-backend.C: STRCONV
6474         (scanMaster): ditto
6475
6476         * text2.C (setCounter): STRCONV
6477
6478         * paragraph.C (asString): STRCONV
6479
6480         * lyxlength.C (asString): STRCONV
6481         (asLatexString): ditto
6482
6483         * lyxgluelength.C (asString): STRCONV
6484         (asLatexString): ditto
6485
6486         * lyxfunc.C (dispatch): STRCONV
6487         (open): ditto
6488
6489         * lyxfont.C (stateText): STRCONV
6490
6491         * importer.C (Import): STRCONV
6492
6493         * counters.C (labelItem): STRCONV
6494         (numberLabel): ditto
6495         (numberLabel): remove unused ostringstream o
6496
6497         * chset.C: STRCONV
6498         (loadFile): ditto
6499
6500         * bufferview_funcs.C (currentState): STRCONV
6501
6502         * buffer.C (readFile): STRCONV
6503         (asciiParagraph): ditto
6504         (makeLaTeXFile): ditto
6505
6506         * Spacing.C (writeEnvirBegin): STRCONV
6507
6508         * LaTeXFeatures.C (getLanguages): STRCONV
6509         (getPackages): ditto
6510         (getMacros): ditto
6511         (getBabelOptions): ditto
6512         (getTClassPreamble): ditto
6513         (getLyXSGMLEntities): ditto
6514         (getIncludedFiles): ditto
6515
6516         * LaTeX.C: STRCONV
6517         (run): ditto
6518         (scanAuxFile): ditto
6519         (deplog): ditto
6520
6521         * LString.h: add the STRCONV macros
6522
6523         * BufferView_pimpl.C (savePosition): STRCONV
6524         (restorePosition): ditto
6525         (MenuInsertLyXFile): ditto
6526
6527         * vc-backend.C (scanMaster): change from submatch[...] to
6528         submatch.str(...)
6529
6530         * funcrequest.C: include config.h
6531
6532         * factory.C: include config.h
6533
6534         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6535
6536         * box.C: include config.h
6537
6538         * LaTeX.C (scanAuxFile): change from submatch[...] to
6539         submatch.str(...)
6540         (deplog): ditto
6541
6542 2002-10-25  Angus Leeming  <leeming@lyx.org>
6543
6544         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6545
6546         * ispell.[Ch] (setError): new method.
6547         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6548         Use setError() insetead of goto END.
6549
6550         * lyx_cb.C (AutoSave): move out child process into new class
6551         AutoSaveBuffer.
6552
6553 2002-10-30  John Levon  <levon@movementarian.org>
6554
6555         * text3.C: make start appendix undoable
6556
6557 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6558
6559         * lyxlength.C (inPixels): Fix returned value.
6560
6561         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6562         environment.
6563
6564 2002-10-24  Angus Leeming  <leeming@lyx.org>
6565
6566         * lyxgluelength.h: no need to forward declare BufferParams
6567         or BufferView, so don't.
6568
6569 2002-10-21  John Levon  <levon@movementarian.org>
6570
6571         * BufferView.C: menuUndo ->undo, redo
6572
6573         * BufferView.h: document, remove dead, make some methods private
6574
6575         * paragraph_funcs.h:
6576         * paragraph_funcs.C:
6577         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6578
6579         * buffer.h:
6580         * buffer.C:
6581         * sgml.h:
6582         * sgml.C: move sgml open/close tag into sgml.C
6583
6584         * bufferview_funcs.h: unused prototype
6585
6586         * lyxfunc.h:
6587         * lyxfunc.C: remove unused
6588
6589         * lyxtext.h:
6590         * text.C: remove unused
6591
6592 2002-10-21  John Levon  <levon@movementarian.org>
6593
6594         * BufferView.h:
6595         * BufferView.C:
6596         * BufferView_pimpl.h:
6597         * BufferView_pimpl.C: fix mouse wheel handling based on
6598           patch from Darren Freeman
6599
6600 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6601
6602         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6603
6604 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6605
6606         * lyxlength.C (inPixels): Fix hanfling of negative length.
6607         Fix LyXLength::MU case.
6608
6609 2002-10-16  John Levon  <levon@movementarian.org>
6610
6611         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6612
6613 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6614
6615         * converter.C (view): add support for $$i (file name) and $$p
6616         (file path) for the viewer command. If $$i is not specified, then
6617         it is appended to the command (for compatibility with old syntax)
6618
6619 2002-10-14  Juergen Vigna  <jug@sad.it>
6620
6621         * undo_funcs.C (textHandleUndo): alter the order in which the
6622         new undopar is added to the LyXText, as we have to set first
6623         the right prev/next and then add it as otherwise the rebuild of
6624         LyXText is not correct. Also reset the cursor to the right paragraph,
6625         with this IMO we could remove the hack in "redoParagraphs()".
6626
6627 2002-10-09  Angus Leeming  <leeming@lyx.org>
6628
6629         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6630         to turn off an optimisation if a new inset is to be inserted.
6631
6632 2002-10-11 André Pönitz <poenitz@gmx.net>
6633
6634         * lyxtext.h: make some functions public to allow access
6635         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6636
6637 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6638
6639         * text3.C (dispatch): when changing layout, avoid an infinite loop
6640         [bug #652]
6641
6642 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6643
6644         * lyxrc.C (read): treat a viewer or converter command of "none" as
6645         if it were empty.
6646
6647         * MenuBackend.C (expandFormats): for an update, also allow the
6648         formats that are not viewable
6649
6650         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6651         script if it is newer than the lyxrc.defaults in user directory
6652
6653 2002-10-07 André Pönitz <poenitz@gmx.net>
6654
6655         * text.C: Vitaly Lipatov's small i18n fix
6656
6657 2002-09-25  Angus Leeming  <leeming@lyx.org>
6658
6659         * ispell.h: doxygen fix.
6660
6661 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6662
6663         * buffer.h (readFile): Add a new argument to the method, to allow
6664         reading of old-format templates.
6665
6666 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6667
6668         * toc.C (getTocList): Get TOC from InsetWrap.
6669
6670 2002-09-16  John Levon  <levon@movementarian.org>
6671
6672         * lyxfunc.C: check tabular for cut/copy too
6673
6674 2002-09-12  John Levon  <levon@movementarian.org>
6675
6676         * LyXAction.C: tidy
6677
6678         * factory.h:
6679         * factory.C: add header
6680
6681         * paragraph_funcs.h:
6682         * paragraph_funcs.C: cleanup
6683
6684 2002-09-11  John Levon  <levon@movementarian.org>
6685
6686         * PrinterParams.h: odd/even default to true
6687
6688 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6689
6690         * PrinterParams.h: update printer parameters for new xforms dialog
6691
6692 2002-09-11  Angus Leeming  <leeming@lyx.org>
6693
6694         * lyxserver.C (read_ready): re-write to make it more transparent
6695         and to make it work in coherent fashion under Tru64 Unix.
6696
6697 2002-09-11  André Pönitz <poenitz@gmx.net>
6698
6699         * commandtags.h:
6700         * LyXAction.C:
6701         * text3.C: implement LFUN_WORDSEL
6702
6703 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6704
6705         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6706         make floatlist_ a boost::shared_ptr<FloatList>
6707
6708         * lyxtextclass.C: include FloatList.h
6709         (LyXTextClass): initialize floatlist_
6710         (TextClassTags): add TC_NOFLOAT
6711         (Read): match "nofloat" to TC_NOFLOAT and use it.
6712         (readFloat): modify call to floatlist_
6713         (floats): ditto
6714         (floats): ditto
6715
6716         * FloatList.[Ch] (FloatList): remove commented out float
6717         initialization.
6718         (erase): new function
6719
6720 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6721
6722         * MenuBackend.C (expandToc): fix crash when there is no document
6723         open
6724
6725 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6726
6727         * many files: Add insetwrap.
6728
6729 2002-09-09  John Levon  <levon@movementarian.org>
6730
6731         * text2.C: remove confusing and awkward depth wraparound
6732
6733 2002-09-09  John Levon  <levon@movementarian.org>
6734
6735         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6736
6737         * buffer.h:
6738         * buffer.C: remove getIncludeonlyList()
6739
6740         * paragraph.C:
6741         * lyxfunc.C: remove headers
6742
6743 2002-09-09  Juergen Vigna  <jug@sad.it>
6744
6745         * text.C (getColumnNearX): fix form Michael this is most
6746         probably a cut&paste bug.
6747
6748 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6749
6750         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6751
6752         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6753         references, ws changes.
6754
6755         * text2.C (init): update counters after init
6756         (insertParagraph): no need to set counter on idividual paragraphs.
6757         (setCounter): access the counters object in the textclass object
6758         on in the buffer object.
6759         (updateCounters): ditto
6760
6761         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6762         shared_ptr<Counters> to avoid loading counters.h in all
6763         compilation units.
6764         (LyXTextClass): initialize ctrs_
6765         (TextClassTags): add TC_COUNTER, and ...
6766         (Read): use it here.
6767         (CounterTags): new tags
6768         (readCounter): new function
6769         (counters): new funtion
6770         (defaultLayoutName): return a const reference
6771
6772         * counters.C (Counters): remove contructor
6773         (newCounter): remove a couple of unneeded statements.
6774         (newCounter): simplify a bit.
6775         (numberLabel): some small formatting changes.
6776
6777         * buffer.[Ch]: remove all traces of counters, move the Counters
6778         object to the LyXTextClass.
6779
6780 2002-09-06  Alain Castera  <castera@in2p3.fr>
6781
6782         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6783         package to set the horizontal alignment on fixed width columns.
6784
6785         * lyx_sty.C:
6786         * lyx_sty.h: added tabularnewline macro def.
6787
6788         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6789
6790 2002-09-06  John Levon  <levon@movementarian.org>
6791
6792         * LyXAction.C: tooltips for sub/superscript
6793
6794         * MenuBackend.C: a bit more verbose
6795
6796         * lyxfunc.C: tiny clean
6797
6798         * undo_funcs.C: document undo_frozen
6799
6800 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6801
6802         * counters.C (Counters): add missing algorithm counter.
6803
6804         * text2.C (setCounter): lookup the counter with layouts latexname
6805         instead of by section number.
6806         (setCounter): use a hackish way to lookup the correct enum
6807         counter.
6808         a float name->type change
6809         reset enum couners with counter name directly instead of depth value.
6810
6811         * counters.C (Counters): remove the push_backs, change to use the
6812         float type not the float name.
6813         (labelItem): remove unused string, float name->type change
6814
6815         * counters.h: don't include vector, loose the enums and sects vectors
6816
6817 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6818
6819         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6820         (Read): add float->TC_FLOAT to textclassTags
6821         (Read): and handle it in the switch
6822         (readFloat): new function
6823
6824         * FloatList.C (FloatList): comment out the hardcoded float
6825         definitions.
6826
6827         * lyxlayout.h: ws change.
6828
6829 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6830
6831         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6832
6833 2002-09-03  Angus Leeming  <leeming@lyx.org>
6834
6835         * BufferView_pimpl.h: qualified name is not allowed in member
6836         declaration: WorkArea & Pimpl::workarea() const;
6837
6838         * factory.C: added using std::endl directive.
6839
6840         * text3.C: added using std::find and std::vector directives.
6841
6842 2002-08-29  André Pönitz <poenitz@gmx.net>
6843
6844         * lyxtext.h:
6845         * text2.C: remove unused member number_of_rows
6846
6847         * Makefile.am:
6848         * BufferView2.C: remove file, move contents to...
6849         * BufferView.C: ... here
6850
6851         * BufferView_pimpl.C:
6852         * factory.C: move more inset creation to factory
6853
6854         * vspace.C: avoid direct usage of LyXText, ws changes
6855
6856         * BufferView.[Ch]:
6857                 don't provide direct access to WorkArea, use two simple
6858                 acessors haveSelction() and workHeight() instead
6859
6860
6861 2002-08-29  John Levon  <levon@movementarian.org>
6862
6863         * BufferView_pimpl.C (dispatch): do not continue when
6864           no buffer
6865
6866 2002-08-28  André Pönitz <poenitz@gmx.net>
6867
6868         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6869
6870         * BufferView.h:
6871         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6872
6873 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6874
6875         * buffer.C: increment LYX_FORMAT to 221
6876
6877         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6878         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6879
6880         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6881
6882         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6883
6884 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6885
6886         * factory.C (createInset): use LyXTextClass::floats
6887
6888         * MenuBackend.C (expandFloatListInsert):
6889         (expandFloatInsert):
6890         (expandToc):
6891
6892         * text2.C (setCounter):
6893
6894         * LaTeXFeatures.C (useFloat):
6895         (getFloatDefinitions):
6896
6897         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6898
6899         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6900         floatlist_, with accessor floats().
6901
6902         * FloatList.h: remove global FloatList
6903
6904 2002-08-26  André Pönitz <poenitz@gmx.net>
6905
6906         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6907
6908         * BufferView.h:
6909         * BufferView2.C:
6910         * BufferView_pimpl.C:
6911         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6912
6913 2002-08-25  John Levon  <levon@movementarian.org>
6914
6915         * LyXAction.C: fix margin note description
6916
6917 2002-08-24  John Levon  <levon@movementarian.org>
6918
6919         * buffer.C:
6920         * bufferlist.C:
6921         * bufferview_funcs.C:
6922         * lyxfont.C:
6923         * undo_funcs.C: cleanups
6924
6925         * lyxfunc.C: disable CUT/COPY when no selection
6926
6927 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6928
6929         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6930         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6931
6932         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6933         Add backward compatibility to "mono", "gray" and "no".
6934
6935 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6936
6937         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6938         (and file_format >= 200).
6939
6940 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6941
6942         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6943
6944 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6945
6946         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6947
6948 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6949
6950         * BufferView_pimpl.C:
6951         * LyXAction.C:
6952         * buffer.C:
6953         * commandtags.h:
6954         * lyxfunc.C:
6955         * paragraph.[Ch]:
6956         * text2.C:
6957         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6958         inset and code to make it  work with the paragraph code. The inset
6959         can be anywhere in the paragraph, but will only do the expected
6960         thing in LaTeX if the layout file contains the parameter line
6961                         OptionalArgs    1
6962         (or more generally, a nonzero value) for that layout.
6963
6964 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6965
6966         * paragraph.h: remove the declaration of undefined counters class
6967         function.
6968
6969 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6970
6971         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6972         Dr. Richard Hawkins.
6973
6974 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6975
6976         * paragraph_funcs.h: remove some unneeded includes
6977
6978         * text.C (backspace): pasteParagraph now in global scipe
6979
6980         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6981         (pasteSelection): ditto
6982
6983         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6984         * paragraph_funcs.C (pasteParagraph): ... here
6985
6986 2002-08-20  André Pönitz <poenitz@gmx.net>
6987
6988         * commandtags.h: new LFUNs for swapping/copying table row/colums
6989
6990         * LyXAction.C:
6991         * lyxfunc.C: support for new lfuns
6992
6993 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6994
6995         * tabular.C:
6996         * buffer.[Ch]: remove NO_COMPABILITY stuff
6997
6998 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6999
7000         * boost.C (throw_exception): new file, with helper function for
7001         boost compiled without exceptions.
7002
7003         * paragraph.h:
7004         * lyxlength.C:
7005         * buffer.C:
7006         * ParameterStruct.h:
7007         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7008
7009         * bufferlist.C (emergencyWriteAll): use boost bind
7010
7011         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7012
7013         * text.C: include paragraph_funcs.h
7014         (breakParagraph): breakParagraph is now in global scope
7015
7016         * paragraph_funcs.[Ch]: new files
7017
7018         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7019         global scope
7020
7021         * buffer.C: include paragraph_funcs.h
7022         (insertStringAsLines): breakParagraph is now in global scope
7023
7024         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7025         paragraph_funcs.C
7026
7027         * CutAndPaste.C: include paragraph_funcs.h
7028         (cutSelection): breakParagraphConservative is now in global scope
7029         (pasteSelection): ditto
7030
7031         * buffer.h: declare oprator== and operator!= for
7032         Buffer::inset_iterator
7033
7034         * bufferlist.C (emergencyWrite): don't use fmt(...)
7035
7036         * text3.C: add using std::endl
7037
7038         * BufferView.C (moveCursorUpdate): remove default arg
7039
7040 2002-08-20  André Pönitz <poenitz@gmx.net>
7041
7042         * buffer.[Ch]: move inline functions to .C
7043
7044         * BufferView2.C:
7045         * BufferView_pimpl.C:
7046         * text.C:
7047         * buffer.[Ch]: use improved inset_iterator
7048
7049         * buffer.C:
7050         * paragraph.[Ch]: write one paragraph at a time
7051
7052 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7053
7054         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7055         style if style is not specified.
7056
7057 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7058
7059         * text2.C (setCounter): when searching for right label for a
7060         caption, make sure to recurse to parent insets (so that a caption
7061         in a minipage in a figure float works) (bug #568)
7062
7063 2002-08-20  André Pönitz <poenitz@gmx.net>
7064
7065         * text3.C: new file for LyXText::dispatch() and helpers
7066
7067         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7068
7069         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7070
7071 2002-08-19  André Pönitz <poenitz@gmx.net>
7072
7073         * lyxtext.h:
7074         * text.C: new LyXText::dispatch()
7075
7076         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7077
7078 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7079
7080         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7081
7082         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7083         Hebrew text.
7084
7085 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7086
7087         * Makefile.am: use $(variables) instead of @substitutions@
7088
7089 2002-08-15  André Pönitz <poenitz@gmx.net>
7090
7091         * lyxfunc.C:
7092         * BufferView_pimpl.C: streamlining mathed <-> outer world
7093         interaction
7094
7095         * commandtags.h:
7096         * LyXAction.C: remove unused LFUN_MATH
7097
7098 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7099
7100         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7101
7102 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7103
7104         * paragraph.C (Paragraph): reformat a bit
7105         (cutIntoMinibuffer): use builtin InsetList function instad of
7106         doing it manually.
7107         (getInset): ditto
7108
7109         * buffer.C: include boost/bind.hpp, add using std::for_each
7110         (writeFileAscii): use ParagraphList iterators
7111         (validate): use for_each for validate traversal of paragraphs
7112         (getBibkeyList): use ParagraphList iterators
7113         (resizeInsets): use for_each to resizeInsetsLyXText for all
7114         paragraphs.
7115         (getParFromID): use ParagraphList iterators
7116
7117         * BufferView2.C (lockInset): use paragraph list and iterators
7118
7119 2002-08-14  John Levon  <levon@movementarian.org>
7120
7121         * lyxserver.C: remove spurious xforms include
7122
7123 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7124
7125         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7126
7127 2002-08-13  André Pönitz <poenitz@gmx.net>
7128
7129         * LyXAction.[Ch]:
7130         * lyxfunc.C: further cleaning
7131
7132 2002-08-13  André Pönitz <poenitz@gmx.net>
7133
7134         * funcrequest.h: new constructor
7135
7136         * funcrequest.C: move stuff here from .h
7137
7138         * Makefile.am:
7139         * BufferView_pimpl.C:
7140         * LyXAction.C:
7141         * toc.C:
7142         * lyxfunc.C: subsequent changes
7143
7144         * lyxfunc.h: new view() member function
7145
7146         * lyxfunc.C: subsequent changes
7147
7148 2002-08-13  Angus Leeming  <leeming@lyx.org>
7149
7150         * BufferView2.C:
7151         * BufferView_pimpl.C:
7152         * buffer.C:
7153         * converter.C:
7154         * importer.C:
7155         * lyxfunc.C:
7156         * lyxvc.C:
7157         * toc.C:
7158         * vc-backend.C:
7159         changes due to the changed LyXView interface that now returns references
7160         to member variables not pointers.
7161
7162 2002-08-13  Angus Leeming  <leeming@lyx.org>
7163
7164         * WordLangTuple (word, lang_code): return references to strings,
7165         not strings.
7166
7167         * BufferView.h:
7168         * SpellBase.h:
7169         * lyxtext.h: forward-declare WordLangTuple.
7170
7171         * BufferView2.C:
7172         * ispell.C:
7173         * pspell.C:
7174         * text.C: #include "WordLangTuple.h".
7175
7176         * lyxtext.h:
7177         * text.C: (selectNextWordToSpellcheck): constify return type.
7178
7179 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7180
7181         * buffer.C:
7182         * buffer.h:
7183         * lyxtext.h:
7184         * paragraph.C:
7185         * paragraph_pimpl.h:
7186         * text.C:
7187         * text2.C:
7188         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7189         suggested by Angus.
7190         Made updateCounter always count from start of buffer, and removed
7191         second argument (par).
7192         Reverted floats number display to '#'. Perhaps I'll try again when the
7193         code base is sanitized a bit.
7194
7195 2002-08-12  Angus Leeming  <leeming@lyx.org>
7196
7197         * buffer.[Ch] (getLabelList): constify.
7198
7199 2002-08-07  André Pönitz <poenitz@gmx.net>
7200
7201         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7202
7203         * funcrequest.h: extension to keep mouse (x,y) position
7204
7205 2002-08-12  Juergen Vigna  <jug@sad.it>
7206
7207         * BufferView2.C (insertErrors): forbid undo when inserting error
7208         insets.
7209
7210         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7211
7212 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7213
7214         * ParagraphList.[Ch]: new files
7215
7216         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7217
7218         * BufferView2.C (lockInset): ParagraphList changes
7219         * toc.C: ditto
7220         * text2.C: ditto
7221         * bufferlist.C: ditto
7222         * buffer.h: ditto
7223         * buffer.C: ditto
7224
7225 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7226
7227         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7228         unused class variable counter_,
7229
7230         * paragraph.[Ch] (getFirstCounter): delete unused function
7231
7232         * counters.C: include LAssert.h
7233         (reset): add a new function with no arg, change other version to
7234         not have def. arg and to not allow empty arg.
7235
7236         * text2.C (setCounter): remove empty arg from call to Counters::reset
7237
7238 2002-08-11  John Levon  <levon@movementarian.org>
7239
7240         * Makefile.am: add WordLangTuple.h
7241
7242 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7243
7244         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7245         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7246
7247         * insets/insettext.C: InsetList changes
7248
7249         * graphics/GraphicsSupport.C (operator()): InsetList changes
7250
7251         * toc.C (getTocList): InsetList changes
7252
7253         * paragraph_pimpl.[Ch]: InsetList changes
7254
7255         * paragraph.[Ch]: InsetList changes
7256
7257         * buffer.C (inset_iterator): InsetList changes
7258         (setParagraph): ditto
7259         * buffer.h (inset_iterator): ditto
7260         * iterators.C (operator++): ditto
7261         * iterators.h: ditto
7262
7263         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7264
7265         * InsetList.[Ch]: new files, most InsetList handling moved out of
7266         paragraph.C.
7267
7268         * BufferView2.C (removeAutoInsets): InsetList changes
7269         (lockInset): ditto
7270         (ChangeInsets): ditto
7271
7272 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7273
7274         * paragraph_pimpl.h (empty): new function
7275
7276         * paragraph.[Ch] (empty): new function
7277
7278         * other files: use the new Paragraph::empty function
7279
7280 2002-08-09  John Levon  <levon@movementarian.org>
7281
7282         * lyxtext.h: remove unused refresh_height
7283
7284 2002-08-09  John Levon  <levon@movementarian.org>
7285
7286         * Makefile.am:
7287         * sgml.h:
7288         * sgml.C:
7289         * buffer.C:
7290         * paragraph.h:
7291         * paragraph.C: move sgml char escaping out of paragraph
7292
7293         * paragraph.h:
7294         * paragraph.C: remove id setter
7295
7296         * buffer.C:
7297         * paragraph.C:
7298         * paragraph_pimpl.C: remove dead tex_code_break_column
7299
7300         * bufferview_funcs.C: small cleanup
7301
7302         * lyxfunc.C: remove dead proto
7303
7304         * lyxtext.h: make some stuff private. Remove some dead stuff.
7305
7306         * lyxgluelength.C: make as[LyX]String() readable
7307
7308 2002-08-08  John Levon  <levon@movementarian.org>
7309
7310         * LyXAction.h:
7311         * LyXAction.C:
7312         * MenuBackend.C:
7313         * ToolbarDefaults.C:
7314         * lyxfunc.C:
7315         * lyxrc.C:
7316         * toc.C: lyxaction cleanup
7317
7318 2002-08-08  John Levon  <levon@movementarian.org>
7319
7320         * BufferView2.C: small cleanup
7321
7322         * lyxfind.h:
7323         * lyxfind.C: move unnecessary header into the .C
7324
7325 2002-08-08  John Levon  <levon@movementarian.org>
7326
7327         * funcrequest.h: just tedious nonsense
7328
7329         * lyx_main.h:
7330         * lyx_main.C: cleanups
7331
7332         * buffer.C:
7333         * vspace.C: remove dead header lyx_main.h
7334
7335 2002-08-07  Angus Leeming  <leeming@lyx.org>
7336
7337         * Paragraph.[Ch]:
7338         * paragraph_pimpl.h:
7339         Forward declare class Counters in paragraph.h by moving the ctrs member
7340         variable into Paragraph::Pimpl.
7341         (counters): new method, returning a reference to pimpl_->ctrs.
7342
7343         * text2.C: ensuing changes.
7344
7345 2002-08-07  John Levon  <levon@movementarian.org>
7346
7347         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7348
7349         * BufferView_pimpl.C: announce X selection on double/triple
7350           click
7351
7352         * lyx_main.C: use correct bool in batch dispatch
7353
7354         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7355
7356 2002-08-07  André Pönitz <poenitz@gmx.net>
7357
7358         * funcrequest.h: new class to wrap a kb_action and its argument
7359
7360         * BufferView.[Ch]:
7361         * BufferView_pimpl[Ch]:
7362         * LaTeX.C:
7363         * LyXAction.[Ch]:
7364         * lyxfunc.[Ch]:
7365         * lyxrc.C: subsequent changes
7366
7367
7368 2002-08-07  John Levon  <levon@movementarian.org>
7369
7370         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7371           document options change.
7372
7373 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7374
7375         * counters.[Ch]
7376         * text2.C
7377         * paragraph.[Ch]
7378         * makefile.am: move counters functionality over from
7379         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7380
7381 2002-08-06  John Levon  <levon@movementarian.org>
7382
7383         * WordLangTuple.h: new file for word + language code tuple
7384
7385         * SpellBase.h:
7386         * pspell.h:
7387         * pspell.C:
7388         * ispell.h:
7389         * ispell.C:
7390         * lyxtext.h:
7391         * text.C:
7392         * text2.C:
7393         * BufferView.h:
7394         * BufferView2.C: use WordLangTuple
7395
7396         * layout.h:
7397         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7398
7399 2002-08-06  John Levon  <levon@movementarian.org>
7400
7401         * lyx_main.C: fix cmdline batch handling
7402
7403 2002-08-06  André Pönitz <poenitz@gmx.net>
7404
7405         * lyxrc.C: set default for show_banner to true
7406
7407 2002-08-06  John Levon  <levon@movementarian.org>
7408
7409         * pspell.C: fix a crash, and allow new aspell to work
7410
7411 2002-08-06  John Levon  <levon@movementarian.org>
7412
7413         * lyxfunc.C:
7414         * kbmap.C: small cleanup
7415
7416         * vspace.h:
7417         * vspace.C: add const
7418
7419 2002-08-05  John Levon  <levon@movementarian.org>
7420
7421         * LyXAction.C: back to tabular-insert
7422
7423 2002-08-04  John Levon  <levon@movementarian.org>
7424
7425         * BufferView.h:
7426         * BufferView.C: cosmetic change
7427
7428         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7429
7430         * bufferlist.C:
7431         * buffer.h:
7432         * buffer.C:
7433         * lyxcb.h:
7434         * lyxcb.C:
7435         * lyxserver.C:
7436         * lyxvc.C:
7437         * vc-backend.C:
7438         * BufferView2.C: purge all "Lyx" not "LyX" strings
7439
7440         * lyxcursor.h:
7441         * lyxcursor.C: attempt to add some documentation
7442
7443         * lyxfunc.C:
7444         * commandtags.h:
7445         * LyXAction.C:
7446         * ToolbarDefaults.C:
7447         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7448           merge with LFUN_TABULAR_INSERT
7449
7450         * Makefile.am:
7451         * SpellBase.h:
7452         * ispell.h:
7453         * ispell.C:
7454         * pspell.h:
7455         * pspell.C: split up i/pspell implementations into separate
7456           files, many cleanups
7457
7458         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7459
7460         * text2.C: some cleanup
7461
7462         * lyxfunc.C: don't check for isp_command == "none" any more, it
7463           didn't make any sense
7464
7465 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7466
7467         * counters.[Ch]
7468         * text2.C
7469         * paragraph.[Ch]
7470         * makefile.am: move counters functionality over
7471         from text2.C/paragraph.[Ch] to counters.[Ch], and
7472         make proper C++.
7473 2002-08-02  John Levon  <levon@movementarian.org>
7474
7475         * buffer.C: s/lyxconvert/lyx2lyx/
7476
7477 2002-08-02  Angus Leeming  <leeming@lyx.org>
7478
7479         * lyxlex.C: revert John's change as it breaks reading of the user
7480         preamble.
7481
7482 2002-08-02  Angus Leeming  <leeming@lyx.org>
7483
7484         * importer.C (Import):
7485         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7486         changes due to LyXView::view() now returning a boost::shared_ptr.
7487
7488 2002-08-02  John Levon  <levon@movementarian.org>
7489
7490         * lyxlex.C: small cleanup
7491
7492 2002-08-02  John Levon  <levon@movementarian.org>
7493
7494         * text2.C (status): small cleanup, no logic change
7495
7496 2002-08-01  John Levon  <levon@movementarian.org>
7497
7498         * buffer.h:
7499         * buffer.C (writeFile): don't output alerts, caller
7500           handles this
7501
7502         * bufferlist.C:
7503         * lyx_cb.C: from above
7504
7505         * lyxfunc.C: allow to open non-existent files
7506
7507 2002-07-31  John Levon  <levon@movementarian.org>
7508
7509         * lyxserver.C: don't let incidental errors get
7510           in the way (errno)
7511
7512 2002-07-30  John Levon  <levon@movementarian.org>
7513
7514         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7515
7516 2002-07-30  John Levon  <levon@movementarian.org>
7517
7518         * lyxserver.h:
7519         * lyxserver.C: remove I/O callback too
7520
7521 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7522
7523         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7524         log.
7525
7526 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7527
7528         * many files: strip,frontStrip -> trim,ltrim,rtrim
7529
7530 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7531
7532         * PrinterParams.h: remove extern containsOnly, and include
7533         support/lstrings.h instead.
7534
7535         * LaTeX.C (scanAuxFile): modify because of strip changes
7536         (deplog): ditto
7537         * buffer.C (makeLaTeXFile): ditto
7538         * bufferparams.C (writeFile): ditt
7539         * lyxfont.C (stateText): ditto
7540         * lyxserver.C (read_ready): ditto
7541         * vc-backend.C (scanMaster): ditto
7542
7543         * BufferView_pimpl.h: ws changes
7544
7545         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7546
7547 2002-07-26  André Pönitz <poenitz@gmx.net>
7548
7549         * kb_sequence.C: remove unnedred usings
7550
7551 2002-07-26  Juergen Vigna  <jug@sad.it>
7552
7553         * lyxfind.C (LyXReplace): we have to check better if the returned
7554         text is not of theLockingInset()->getLockingInset().
7555
7556 2002-07-25  Juergen Vigna  <jug@sad.it>
7557
7558         * lyxfind.C (LyXReplace): don't replace if we don't get the
7559         right LyXText.
7560
7561         * undo_funcs.C (createUndo): remove debugging code.
7562
7563 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7564
7565         * buffer.C (parseSingleLyXformat2Token): Use default placement
7566         when reading old floats.
7567
7568         * FloatList.C (FloatList): Change the default placement of figure
7569         and tables to "tbp".
7570
7571 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7572
7573         * MenuBackend.C: using std::max
7574
7575 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7576
7577         * MenuBackend.C (expandToc):
7578         (expandToc2): code moved from xforms menu frontend. It is now
7579         generic and TOCs are transparent to menu frontends.
7580
7581 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7582
7583         * toc.C (getTocList): protect against buf=0
7584
7585         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7586         Menu as first parameter. Now, this calls itself recursively to
7587         expand a whole tree (this will be useful for TOC handling)
7588         (expandFloatInsert): remove 'wide' version of floats
7589
7590         * MenuBackend.h (submenuname): returns the name of the submenu.
7591         (submenu): returns the submenu itself, provided it has been
7592         created by MenuBackend::expand
7593
7594 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7595
7596         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7597         insets which have noFontChange == true. (bug #172)
7598
7599 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7600
7601         * BufferView_pimpl.C: add connection objects and use them...
7602         (Pimpl): here.
7603
7604 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7605
7606         * MenuBackend.C (expandLastfiles):
7607         (expandDocuments):
7608         (expandFormats):
7609         (expandFloatListInsert):
7610         (expandFloatInsert):
7611         (expand): split expand in parts
7612
7613 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7614
7615         * lyx_gui.C: use lyx_gui::exit()
7616
7617 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7618
7619         * LyXAction.C: show the failing pseudo action
7620
7621 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7622
7623         * buffer.C (readFile): Run the lyxconvert script in order to read
7624         old files.
7625
7626 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7627
7628         * LyXAction.C:
7629         * commandtags.h:
7630         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7631
7632 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7633
7634         * LyXAction.C:
7635         * commandtags.h:
7636         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7637
7638 2002-07-22  Herbert Voss  <voss@lyx.org>
7639
7640         * lengthcommon.C:
7641         * lyxlength.[Ch]: add support for the vertical lengths
7642
7643 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7644
7645         * toc.[Ch]: std:: fixes
7646
7647 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7648
7649         * lyxrc.C: do not include lyx_main.h
7650
7651         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7652         for layouts
7653
7654         * lyxrc.C:
7655         * encoding.C:
7656         * bufferlist.C:
7657         * BufferView2.C: include "lyxlex.h"
7658
7659         * tabular.h:
7660         * bufferparams.h: do not #include "lyxlex.h"
7661
7662         * lyxtextclasslist.C (Add): remove method
7663         (classlist): renamed to classlist_
7664
7665         * paragraph_pimpl.C:
7666         * paragraph.C:
7667         * text2.C:
7668         * CutAndPaste.C:
7669         * bufferview_funcs.C:
7670         * bufferlist.C:
7671         * text.C:
7672         * LaTeXFeatures.C:
7673         * buffer.C:
7674         * toc.C (getTocList): use BufferParams::getLyXTextClass
7675
7676         * toc.C (getTocList): use InsetFloat::addToToc
7677
7678         * toc.[Ch]: new files, containing helper functions to handle table
7679         of contents
7680
7681         * lyxfunc.C (dispatch): no need to remove spaces around command
7682         given as a string
7683         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7684         first command of the sequence; it is not very clever, but I do not
7685         have a better idea, actually
7686
7687         * LyXAction.C (LookupFunc): make sure to remove space at the
7688         beginning and end of the command
7689
7690 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7691
7692         * MenuBackend.C (getMenubar): new method: return the menubar of
7693         this menu set
7694         (read): treat differently reading of menu and menubar (in
7695         particular, the menubar has no name now)
7696         (Menu::menubar): remove
7697
7698         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7699         saving is finished
7700
7701 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7702
7703         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7704         a bibitem inset in a RTL paragraph.
7705
7706 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7707
7708         * paragraph_pimpl.C: constify
7709
7710         * BufferView_pimpl.C:
7711         * LaTeX.C:
7712         * lyxfunc.C: fix dispatch in a nicer way
7713
7714 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7715
7716         * lyxfunc.C (dispatch):
7717         * BufferView_pimpl.C:
7718         * BufferView_pimpl.h:
7719         * BufferView.C:
7720         * BufferView.h: rename Dispatch() to dispatch()
7721
7722         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7723
7724         * lyxlayout.C (Read): honor DependsOn tag
7725
7726         * lyxlayout.[Ch] (depends_on): new method
7727
7728         * version.C.in: update lyx_docversion
7729
7730         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7731
7732         * paragraph.C (validate): remove from here...
7733         * paragraph_pimpl.C (validate): ... and move here
7734         (isTextAt): make it const
7735
7736         * buffer.C (getLists): ws cleanup
7737
7738 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7739
7740         * language.C (read): Use iso8859-1 encoding in latex_lang
7741         (this prevents LyX from crashing when using iso10646-1 encoding).
7742
7743 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7744
7745         * text2.C (toggleInset): if cursor is inside an inset, close the
7746         inset and leave cursor _after_ it
7747
7748 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7749
7750         * lyxfunc.C: move minibuffer completion handling out of here
7751
7752 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7753
7754         * BufferView_pimpl.C:
7755         * LaTeX.C: fix dispatch calls
7756
7757 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7758
7759         * text.C (drawChars): Fix Arabic text rendering.
7760
7761 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7762
7763         * LyXAction.C:
7764         * commandtags.h:
7765         * lyxfunc.C: remove message-push/pop
7766
7767         * lyxserver.C:
7768         * lyxfunc.h:
7769         * lyxfunc.C: rationalise some code by removing verboseDispatch
7770           in favour of a bool argument to dispatch()
7771
7772 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7773
7774         * lyx_main.C (init): make sure to read symlinks as absolute paths
7775
7776 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7777
7778         * lyxfunc.h:
7779         * lyxfunc.C: no need for commandshortcut to be a member
7780
7781 2002-07-15  André Pönitz <poenitz@gmx.net>
7782
7783         * converter.C: add support for $$s (scripts from lib/scripts dir)
7784         * lyx_main.C: white space
7785
7786 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7787
7788         * bufferlist.C:
7789         * lyxrc.h:
7790         * lyxrc.C: remove second exit confirmation
7791
7792 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7793
7794         * BufferView.h:
7795         * BufferView.C:
7796         * BufferView2.C:
7797         * BufferView_pimpl.h:
7798         * BufferView_pimpl.C:
7799         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7800
7801 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7802
7803         * MenuBackend.C (expand): add numeric shortcuts to document menu
7804
7805         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7806
7807 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7808
7809         * lyxfont.C (setLyXFamily):
7810         (setLyXSeries):
7811         (setLyXShape):
7812         (setLyXSize):
7813         (setLyXMisc):
7814         (lyxRead):
7815         * debug.C (value):
7816         * buffer.C (asciiParagraph): use ascii_lowercase
7817
7818 2002-07-15  Mike Fabian  <mfabian@suse.de>
7819
7820         * lyxlex_pimpl.C (search_kw):
7821         * lyxlex.C (getLongString):
7822         * converter.h (operator<):
7823         * converter.C (operator<):
7824         * buffer.C (parseSingleLyXformat2Token):
7825         (asciiParagraph):
7826         * ToolbarDefaults.C (read):
7827         * MenuBackend.C (checkShortcuts):
7828         (read):
7829         * LColor.C (getFromGUIName):
7830         (getFromLyXName): use the compare_ascii_no_case instead of
7831         compare_no_case, because in turkish, 'i' is not the lowercase
7832         version of 'I', and thus turkish locale breaks parsing of tags.
7833
7834 2002-07-16  Angus Leeming  <leeming@lyx.org>
7835
7836         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7837         now takes a Buffer const & argument.
7838
7839 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7840
7841         * BufferView.C (resize): check there's a buffer to resize
7842
7843 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7844
7845         * lyxfunc.C: remove dead code
7846
7847         * lyxserver.h:
7848         * lyxserver.C: use lyx_guii::set_read_callback
7849
7850 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7851
7852         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7853         an inset in a RTL paragraph.
7854
7855 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7856
7857         * lyxfunc.C: repaint after a font size update
7858
7859 2002-07-15  André Pönitz <poenitz@gmx.net>
7860
7861         * lyxlength.C: inBP should be able to return negative values
7862
7863 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7864
7865         * lyxfunc.C: use lyx_gui::update_fonts()
7866
7867 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7868
7869         * lyxfunc.C: use lyx_gui::update_color()
7870
7871 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7872
7873         * bufferlist.C:
7874         * lyxfunc.h:
7875         * lyxfunc.C:
7876         * lyxrc.h:
7877         * lyxrc.C: remove file->new asks for name option, and let
7878           buffer-new take an argument
7879
7880 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7881
7882         * BufferView_pimpl.C: remove unneeded extra repaint()
7883
7884 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7885
7886         * LyXAction.C: allow command-sequence with NoBuffer
7887
7888         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7889
7890 2002-07-10  Angus Leeming  <leeming@lyx.org>
7891
7892         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7893
7894 2002-07-09  Angus Leeming  <leeming@lyx.org>
7895
7896         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7897
7898 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7899
7900         * lengthcommon.h: whitespace
7901
7902         * lyxfunc.C: update scrollbar after goto paragraph
7903
7904         * lyxtext.h: factor out page break drawing, and fix it so
7905           page break/added space paints as selected nicely
7906
7907 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7908
7909         * BufferView_pimpl.C: add FIXMEs, clean up a little
7910
7911 2002-07-09  André Pönitz <poenitz@gmx.net>
7912
7913         * lyxfont.[Ch]: support for wasy symbols
7914
7915 2002-07-08  André Pönitz <poenitz@gmx.net>
7916
7917         * BufferView_pimpl.C: apply John's patch for #93.
7918
7919 2002-07-05  Angus Leeming  <leeming@lyx.org>
7920
7921         * BufferView_pimpl.C (buffer): generate previews if desired.
7922
7923         * LColor.h: add "preview" to the color enum.
7924
7925         * LColor.C (LColor): add a corresponding entry to the items array.
7926
7927         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7928         with this buffer.
7929
7930 2002-07-05  Angus Leeming  <leeming@lyx.org>
7931
7932         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7933         The body of the code is now in the method that is passed an ostream &
7934         rather than a file name.
7935         Pass an additional only_preamble parameter, useful for the forthcoming
7936         preview stuff.
7937
7938 2002-07-03  André Pönitz <poenitz@gmx.net>
7939
7940         * lyxfunc.C: simplify getStatus() a bit for math stuff
7941
7942 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7943
7944         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7945
7946 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7947
7948         * text.C (changeRegionCase): do not change case of all the
7949         document when region ends at paragraph end (bug #461)
7950
7951 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7952
7953         * paragraph.C (startTeXParParams):
7954         (endTeXParParams): add \protect when necessary
7955
7956 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7957
7958         * BufferView_pimpl.C (workAreaExpose): remove warning
7959
7960 2002-06-27  Angus Leeming  <leeming@lyx.org>
7961
7962         * Makefile.am: add lyxlayout_ptr_fwd.h.
7963
7964 2002-06-26  André Pönitz <poenitz@gmx.net>
7965
7966         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7967
7968 2002-06-25  Angus Leeming  <leeming@lyx.org>
7969
7970         * lyxfunc.C (dispatch): Comment out the call to
7971         grfx::GCache::changeDisplay. The method no longer exists now that the
7972         pixmap generation part of the graphics loader has been moved into
7973         InsetGraphics.
7974
7975 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7976
7977         * text2.C: layout as layout
7978
7979         * text.C: layout as layout
7980
7981         * tabular.C (OldFormatRead): layout as layout
7982
7983         * paragraph_pimpl.C (TeXDeeper): layout as layout
7984         (realizeFont): layout as layout
7985
7986         * paragraph.C (writeFile): layout as layout
7987         (validate): layout as layout
7988         (getFont): layout as layout
7989         (getLabelFont): layout as layout
7990         (getLayoutFont): layout as layout
7991         (breakParagraph): layout as layout
7992         (stripLeadingSpaces): layout as layout
7993         (getEndLabel): layout as layout
7994         (getMaxDepthAfter): layout as layout
7995         (applyLayout): layout as layout
7996         (TeXOnePar): layout as layout
7997         (simpleTeXOnePar): layout as layout
7998         (TeXEnvironment): layout as layout
7999         (layout): layout as layout
8000         (layout): layout as layout
8001
8002         * lyxtextclass.C (compare_name): new functor to work with
8003         shared_ptr, layout as layout
8004         (Read): layout as layout
8005         (hasLayout): layout as layout
8006         (operator): layout as layout
8007         (delete_layout): layout as layout
8008         (defaultLayout): layout as layout
8009
8010         * lyxlayout_ptr_fwd.h: new file
8011
8012         * lyxlayout.C (Read): layout as layout
8013
8014         * lyx_cb.C (MenuInsertLabel): layout as layout
8015
8016         * bufferlist.C (newFile): layout as layout
8017
8018         * buffer.C (readLyXformat2): layout as layout
8019         (parseSingleLyXformat2Token): layout as layout
8020         (insertStringAsLines): layout as layout
8021         (asciiParagraph): layout as layout
8022         (latexParagraphs): layout as layout
8023         (makeLinuxDocFile): layout as layout
8024         (simpleLinuxDocOnePar): layout as layout
8025         (makeDocBookFile): layout as layout
8026         (simpleDocBookOnePar): layout as layout
8027         (getLists): layout as layout
8028
8029         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8030
8031         * CutAndPaste.C (cutSelection): layout as layout
8032         (pasteSelection): layout as layout
8033         (SwitchLayoutsBetweenClasses): layout as layout
8034
8035         * BufferView_pimpl.C (Dispatch): layout as layout
8036         (smartQuote): layout as layout
8037
8038         * BufferView2.C (unlockInset): layout as layout
8039
8040 2002-06-24  André Pönitz <poenitz@gmx.net>
8041
8042         * lyxfunc.C: fix #487
8043
8044 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8045
8046         * lyxrc.h:
8047         * lyxrc.C:
8048         * lyxfunc.C: remove display_shortcuts, show_banner
8049
8050 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8051
8052         * Buffer_pimpl.C: oops, update on resize
8053
8054 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8055
8056         * buffer.C:
8057         * converter.C:
8058         * exporter.C:
8059         * lyxfunc.C:
8060         * BufferView.h:
8061         * BufferView.C: use repaint()
8062
8063         * BufferView_pimpl.h:
8064         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8065           as it's a clearer description. Remove superfluous
8066           redraws.
8067
8068 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8069
8070         * text.C: fix bug 488. Not ideal, but getting
8071           getWord() to work properly for the insets that
8072           matter is more difficult ...
8073
8074 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8075
8076         * BufferView_pimpl.C:
8077         * LyXAction.C:
8078         * commandtags.h:
8079         * lyxfunc.C: remove the six million index lyxfuncs to just
8080           one, and DTRT (bug 458)
8081
8082 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8083
8084         * BufferView.h:
8085         * BufferView.C:
8086         * BufferView_pimpl.h:
8087         * BufferView_pimpl.C: clean up resize() stuff,
8088           and unnecessary updateScreen()s
8089
8090 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8091
8092         * BufferView.h:
8093         * BufferView.C:
8094         * BufferView_pimpl.h:
8095         * BufferView_pimpl.C:
8096         * lyxfind.h:
8097         * lyxfind.C:
8098         * minibuffer.C: remove focus management of workarea,
8099           not needed. Use screen's greyOut()
8100
8101 2002-06-17  Herbert Voss  <voss@lyx.org>
8102
8103         * converter.C: (convert) do not post a message, when converting
8104         fails, let the calling function decide what to do in this case
8105
8106 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8107
8108         * lyxfunc.C: tidy up a little
8109
8110 2002-06-16    <alstrup@diku.dk>
8111
8112         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8113         Got rid of FORMS_H_LOCATION include. Now we are
8114         GUII.
8115
8116 2002-06-15  LyX Development team  <lyx@rilke>
8117
8118         * buffer.[Ch] (sgmlOpenTag):
8119         (sgmlCloseTag): Added support for avoiding pernicious mixed
8120         content. Return number of lines written.
8121
8122         (makeLinuxDocFile):
8123         (makeDocBookFile): Fixed calls to sgml*Tag.
8124         Simple white space clean.
8125
8126         (simpleDocBookOnePar): Simple white space clean.
8127
8128         * tabular.[Ch] (docBook): Renamed to docbook and got another
8129         argument to related with the pernicious mixed content.
8130
8131         (docbookRow): Fixed calls for docbook inset method.
8132
8133 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8134
8135         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8136         so it's X11 independent.
8137
8138         * kb*.[Ch]: ditto.
8139
8140         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8141
8142 2002-06-15  Lyx Development team  <lyx@electronia>
8143
8144         * intl.h: Renamed getTrans to getTransManager.
8145
8146 2002-06-14  Angus Leeming  <leeming@lyx.org>
8147
8148         * Makefile.am: nuke forgotten stl_string_fwd.h.
8149
8150 2002-06-12  Angus Leeming  <leeming@lyx.org>
8151
8152         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8153
8154 2002-06-13  Angus Leeming  <leeming@lyx.org>
8155
8156         * LaTeX.C:
8157         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8158
8159 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8160
8161         * kbmap.C (getiso): add support for cyrillic and greek
8162
8163 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8164
8165         * BufferView.h:
8166         * BufferView.C:
8167         * BufferView_pimpl.h:
8168         * BufferView_pimpl.C: move bogus scrolling logic
8169           to xforms
8170
8171 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8172
8173         * lyxfunc.C:
8174         * BufferView_pimpl.C: view->resize() change
8175
8176 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8177
8178         * BufferView_pimpl.C: topCursorVisible
8179           prototype change
8180
8181 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8182
8183         * Makefile.am:
8184         * lyx_gui.h:
8185         * lyx_gui.C: move to frontends/
8186
8187         * main.C:
8188         * lyx_main.h:
8189         * lyx_main.C: changes from above
8190
8191 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8192
8193         * intl.C:
8194         * intl.h:
8195         * kbmap.C:
8196         * kbsequence.C:
8197         * lyx_cb.C:
8198         * lyx_main.C: minor tidy
8199
8200 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8201
8202         * BufferView_pimpl.h:
8203         * BufferView_pimpl.C:
8204         * BufferView.h:
8205         * BufferView.C: make painter() const,
8206           remove dead code
8207
8208         * BufferView2.C: use screen() accessor
8209
8210         * lyx_main.h:
8211         * lyx_main.C: some minor cleanup
8212
8213 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8214
8215         * BufferView_pimpl.h:
8216         * BufferView_pimpl.C: remove enter/leaveView,
8217           use workHeight()
8218
8219 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8220
8221         * BufferView.h:
8222         * BufferView.C:
8223         * BufferView2.C:
8224         * BufferView_pimpl.h:
8225         * BufferView_pimpl.C: only construct screen once,
8226           rename
8227
8228         * lyxrc.C: remove pointless comment
8229
8230 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8231
8232         * BufferView.h:
8233         * BufferView.C: remove active() and belowMouse()
8234
8235         * BufferView_pimpl.h:
8236         * BufferView_pimpl.C: use workarea() not workarea_,
8237           and make it use a scoped_ptr instead
8238
8239 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8240
8241         * lyx_gui.C: add debug message on BadWindow
8242
8243 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8244
8245         * sp_spell.C: fdopen is not part of the C++ standard.
8246
8247         * paragraph.C (InsetIterator): use >= instead of ==
8248
8249 2002-06-07  Angus Leeming  <leeming@lyx.org>
8250
8251         Fixes needed to compile with Compaq cxx 6.5.
8252         * BufferView_pimpl.C:
8253         * DepTable.C:
8254         * buffer.C:
8255         * converter.C:
8256         * encoding.C:
8257         * lyx_gui.C:
8258         * lyx_main.C:
8259         * lyxtextclasslist.C:
8260         * minibuffer.C:
8261         * sp_spell.C:
8262         * tabular_funcs.C:
8263         * vc-backend.C:
8264         all c-library variables have been moved into namespace std. Wrap
8265         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8266
8267         * lyxlength.C:
8268         * tabular-old.C:
8269         * tabular.C:
8270         Add a using std::abs declaration.
8271
8272         * kbmap.h (modifier_pair):
8273         * paragraph.h (InsetTable, InsetList):
8274         * lyxfont.h (FontBits):
8275         type definition made public.
8276
8277         * bufferlist.C (emergencyWriteAll): the compiler complains that
8278         there is more than one possible lyx::class_fun template to choose from.
8279         I re-named the void specialisation as lyx::void_class_fun.
8280
8281         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8282
8283         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8284         the compiler is is unable to find tostr in write_attribute.
8285
8286 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8287
8288         * buffer.C (sgmlError): hide #warning
8289
8290 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8291
8292         * xtl/*: get rid of xtl, which is not in use anyway
8293
8294         * LyXAction.C (init):
8295         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8296         were unimplemented xtl experimentation
8297
8298 2002-06-04  André Pönitz <poenitz@gmx.net>
8299
8300         * lyxfunc.C: disable array operation on simple formulae
8301
8302 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8303
8304         * converter.C: constify a bit
8305
8306 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8307
8308         * lyx_gui.C: check xforms version correctly
8309
8310 2002-04-30  Herbert Voss  <voss@lyx.org>
8311
8312         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8313         "keep" option
8314
8315 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8316
8317         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8318           attempt to register it with a VCS)
8319
8320 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8321
8322         * lyx_main.C (init): honor variables LYX_DIR_13x and
8323         LYX_USERDIR_13x
8324
8325 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8326
8327         * buffer.h:
8328         * buffer.C:
8329         * lyx_main.C: fix a crash on bad command line,
8330           and give a useful exit status on error
8331
8332         * lyxfunc.C (doImport): allow -i lyx to work
8333
8334 2002-03-30  André Pönitz <poenitz@gmx.net>
8335
8336         * lyxfunc.C: mathed font changes
8337
8338 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8339
8340         * LaTeX.C:
8341         * importer.h:
8342         * importer.C:
8343         * lyx_sty.h:
8344         * lyx_sty.C:
8345         * lyxlex.C:
8346         * lyxrow.h:
8347         * lyxtext.h:
8348         * paragraph.h:
8349         * paragraph.C:
8350         * texrow.h:
8351         * texrow.C:
8352         * text.C:
8353         * trans_mgr.h: srcdocs, and some minor cleanups
8354
8355 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8356
8357         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8358         call getFont all the time)
8359
8360 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8361
8362         * switch from SigC signals to boost::signals
8363
8364 2002-05-29  André Pönitz <poenitz@gmx.net>
8365
8366         * paragraph_pimpl.C (getChar): don't call size() too often...
8367
8368 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8369
8370         * paragraph_pimpl.C (insertChar): do not try to update tables when
8371         appending (pos == size())
8372
8373         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8374         in order to reduce drastically the number of comparisons needed to
8375         parse a large document
8376
8377 2002-05-29  André Pönitz <poenitz@gmx.net>
8378
8379         * text.C:
8380         * text2.C:
8381         * lyxtextclass.C:
8382         * sp_pspell.h:
8383         * textclasslist.[Ch]:
8384         * sp_ispell.h: whitespace change
8385
8386 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8387
8388         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8389         lyxaction directly now.
8390
8391 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8392
8393         * trans.C:
8394         * lyxfont.C:
8395         * lyxvc.C: remove unused headers
8396
8397 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8398
8399         * Makefile.am:
8400         * buffer.h:
8401         * undostack.h:
8402         * undostack.C:
8403         * undo_funcs.h:
8404         * undo_funcs.C: some cleanups. Use shared_ptr
8405           and a template for the undo stacks.
8406
8407 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8408
8409         * BufferView_pimpl.h:
8410         * BufferView_pimpl.C:
8411         * kbmap.h:
8412         * kbmap.C:
8413         * kbsequence.h:
8414         * kbsequence.C:
8415         * lyxfunc.h:
8416         * lyxfunc.C:
8417         * text2.C: use key_state/mouse_state
8418
8419 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8420
8421         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8422         and LSubstring
8423
8424         * chset.C: change include order
8425         (loadFile): use boost regex and get rid of LRegex and LSubstring
8426
8427         * Makefile.am (BOOST_LIBS): new variable
8428         (lyx_LDADD): use it
8429
8430         * LaTeX.C: change include order.
8431         (scanAuxFile): use boost regex and get rid of LRegex and
8432         LSubstring
8433         (deplog): ditto
8434
8435 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8436
8437         * ColorHandler.h:
8438         * ColorHandler.C:
8439         * FontInfo.h:
8440         * FontInfo.C: moved to frontends/xforms/
8441
8442         * FontLoader.h:
8443         * FontLoader.C: moved into frontends for GUIIzation
8444
8445         * Makefile.am:
8446         * lyx_gui.C:
8447         * lyxfont.C:
8448         * lyxfunc.C: changes from above
8449
8450 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8451
8452         * LColor.C: remove spurious X include
8453
8454         * BufferView_pimpl.C:
8455         * Makefile.am:
8456         * font.h:
8457         * font.C:
8458         * text.C:
8459         * text2.C: move font metrics to frontends/
8460
8461 2002-05-24  Juergen Vigna  <jug@sad.it>
8462
8463         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8464         setting the undo_cursor.
8465
8466         * ParagraphParameters.h: include local includes first.
8467
8468 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8469
8470         * BufferView_pimpl.C:
8471         * BufferView_pimpl.h:
8472         * Makefile.am:
8473         * WorkArea.h:
8474         * WorkArea.C:
8475         * screen.C: move WorkArea into frontends/
8476
8477         * lyxscreen.h:
8478         * screen.C:
8479         * text.C:
8480         * BufferView.C:
8481         * BufferView2.C: move LyXScreen into frontends/
8482
8483         * lyxlookup.h:
8484         * lyxlookup.C:
8485         * lyx_gui.C: move lyxlookup into frontends/xforms/
8486
8487 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8488
8489         * BufferView2.C:
8490         * BufferView_pimpl.C:
8491         * FontLoader.C:
8492         * LyXView.h:
8493         * LyXView.C:
8494         * Makefile.am:
8495         * WorkArea.C:
8496         * XFormsView.h:
8497         * XFormsView.C:
8498         * buffer.C:
8499         * bufferlist.C:
8500         * bufferview_funcs.C:
8501         * converter.C:
8502         * importer.C:
8503         * lyx_cb.C:
8504         * lyx_gui.C:
8505         * lyx_main.C:
8506         * lyx_find.C:
8507         * lyxfunc.C:
8508         * lyxvc.C:
8509         * minibuffer.C:
8510         * text.C:
8511         * text2.C:
8512         * trans.C:
8513         * vc-backend.C: move LyX/XFormsView into frontends/
8514
8515 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8516
8517         * Makefile.am:
8518         * PainterBase.C:
8519         * PainterBase.h:
8520         * Painter.C:
8521         * Painter.h:
8522         * WorkArea.C:
8523         * WorkArea.h:
8524         * screen.C:
8525         * tabular.C:
8526         * text.C:
8527         * text2.C: move Painter to frontends/
8528
8529 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8530
8531         * buffer.C: comment out some some code that depend upon lyx_format
8532         < 220
8533
8534         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8535         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8536
8537         * buffer.h (NO_COMPABILITY): turn off compability
8538
8539         * ColorHandler.C: include scoped_array.hpp
8540
8541         * font.C: Use more specific smart_ptr header.
8542         * Painter.C: ditto
8543         * gettext.C: ditto
8544         * ShareContainer.h: ditto
8545         * lyx_main.h: ditto
8546         * kbmap.h: ditto
8547         * FontInfo.h: ditto
8548         * BufferView_pimpl.h: ditto
8549         * ColorHandler.h: ditto
8550
8551         * kbmap.C (defkey): change call to shared_ptr::reset
8552
8553 2002-05-21  Juergen Vigna  <jug@sad.it>
8554
8555         * buffer.C (insertErtContents): fix to insert ert asis if it is
8556         non empty. Skip it completely if it contains only whitespaces.
8557
8558 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8559
8560         * BufferView_pimpl.C:
8561         * BufferView2.C: clear selection on paste (bug 393)
8562
8563 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8564
8565         * DepTable.C: include ctime
8566
8567 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8568
8569         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8570
8571 2002-05-14  Juergen Vigna  <jug@sad.it>
8572
8573         * text.C (breakParagraph): fixed function to honor the keepempty
8574         layout in the right maner and also to permit the right breaking
8575         algorithm on empty or non empyt keepempty paragraphs.
8576
8577         * paragraph.C (breakParagraph): we have to check also if the par
8578         is really empty (!size()) for isempty otherwise we do the wrong
8579         paragraph break.
8580
8581 2002-05-10  Juergen Vigna  <jug@sad.it>
8582
8583         * buffer.[Ch] : The following are only changes to the ert
8584         compatibility read reading old LaTeX layout and font stuff and
8585         convert it to ERTInsets.
8586
8587         * buffer.h: added isErtInset().
8588
8589         * buffer.C (struct ErtComp): add a fromlayout bool to check
8590         if we're inside a LaTeX layout.
8591         (isErtInset): new helper function.
8592         (insertErtContents): look for other ert insets before this one
8593         and insert the contents there, so that we don't have subsequent
8594         ERT insets with nothing between them. This way we create only one
8595         inset with multiple paragraphs. Also check if we don't insert only
8596         spaces ' ' as they are ignored anyway afterwards in the .tex file
8597         so if we have only spaces we will ignore this latex part in the
8598         new file.
8599         (parseSingleLyXformat2Token \\layout): better compatibility when
8600         reading layout-latex stuff.
8601         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8602         language tag.
8603         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8604         stuff after reading the inset only get the information back from
8605         the stack.
8606
8607 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8608
8609         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8610
8611         * LaTeXFeatures.C (getBabelOptions): New method.
8612
8613 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8614
8615         * BufferView_pimpl.C (Dispatch): work around missing argument for
8616         'layout'
8617
8618 2002-05-08  Juergen Vigna  <jug@sad.it>
8619
8620         * text.C (leftMargin): handle paragraph leftindent.
8621
8622         * paragraph.C (writeFile): write the new \\leftindent tag.
8623         (validate): handle leftindent code.
8624         (TeXEnvironment): handle paragraphleftindent code again.
8625
8626         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8627
8628         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8629         for paragrap_extra indent code and new token \\leftindent.
8630         (latexParagraphs): handle the leftindent as environment.
8631
8632         * ParameterStruct.h: added leftindent support.
8633
8634         * ParagraphParameters.C (leftIndent): added support functions for
8635         the paragraph left indent.
8636
8637         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8638         more appropriate.
8639
8640 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8641
8642         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8643         inside insetERT.
8644
8645         * text.C (computeBidiTables): No bidi in insetERT.
8646
8647         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8648         in RTL documents.
8649
8650 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8651
8652         * version.C.in: pre 5
8653
8654 2002-05-02  José Matos  <jamatos@fep.up.pt>
8655         * buffer.C (makeDocBookFile): white space changes, add newline to
8656         command styles.
8657         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8658
8659         * tabular.C (docBook): fix typo.
8660
8661 2002-05-03  Juergen Vigna  <jug@sad.it>
8662
8663         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8664         change in LyXText as we can not be sure it was not freed.
8665         (drawOneRow): remove unused code.
8666
8667         * text.C (drawInset): redo the calculation of the need_break_row as
8668         it could have a row which was already freed.
8669         (draw): look at the return value of drawInset and return false if
8670         it also returned false.
8671         (paintRowText): look at the return value of draw and return false if
8672         it also returned false.
8673
8674         * lyxtext.h: added bool return type to drawInset() and draw() so that
8675         if we have a change in the row so that the rowbreak has to be redone
8676         we abort drawing as it will be called again.
8677
8678 2002-05-02  Juergen Vigna  <jug@sad.it>
8679
8680         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8681         a change in the maintext also if we're inside an inset.
8682         (Dispatch): set the cursor again after a break line and after the
8683         screen has been updated as it could be we're in a different row.
8684
8685         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8686         to set the cursor behind the pargraph with > size().
8687         (setCursor): check also for the same paragraph when checking where
8688         to put the cursor if we have a NFR inset.
8689
8690         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8691         parts of layout read further up as it still was in the wrong
8692         position.
8693
8694 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8695
8696         * screen.C (drawFromTo): change sine fullRebreak always return
8697         true.
8698
8699         * buffer.C (parseSingleLyXformat2Token): reindent some
8700
8701         * BufferView_pimpl.C (update): change since fullRebreak always
8702         return true.
8703         (Dispatch): git rid of the last hardcoded "Standard"s.
8704
8705 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8706
8707         * text2.[Ch] (fullRebreak): make it return void now that we always
8708         returned true.
8709
8710 2002-04-30  Juergen Vigna  <jug@sad.it>
8711
8712         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8713         ert compatibility check for "latex" layout.
8714
8715 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8716
8717         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8718         minipages: use col% instead of p%, and also use the current font.
8719         (makeLaTeXFile): Fix use babel condition.
8720         (parseSingleLyXformat2Token): Correct font when reading old floats.
8721
8722 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8723
8724         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8725         inserting list of floats.
8726
8727 2002-04-25  Herbert Voss  <voss@lyx.org>
8728
8729         * MenuBackend.C (expand): don't add the graphics extensions to the
8730         export menu
8731
8732 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8733
8734         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8735         non-existing layout, do not complain if it was the default layout
8736         of the original class (bug #342)
8737
8738 2002-04-24  Juergen Vigna  <jug@sad.it>
8739
8740         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8741         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8742
8743 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8744
8745         * buffer.C (getBibkeyList): If using \bibliography, return the
8746         option field with the reference itself. Enables us to provide natbib
8747         support when using \bibliography.
8748
8749 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8750
8751         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8752
8753         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8754         natbib is provided by the LaTeX class.
8755
8756 2002-04-23  Juergen Vigna  <jug@sad.it>
8757
8758         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8759         Wakeup functions.
8760
8761         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8762
8763 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8764
8765         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8766
8767         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8768         ensuremath around textordmasculine, textordfeminine and
8769         textdegree.
8770
8771 2002-04-19  Juergen Vigna  <jug@sad.it>
8772
8773         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8774         reinitializing the buffer otherwise row-dimensions may be wrong.
8775         (update): reset also the selection cursors if they do exits otherwise
8776         their x/y positions may be wrong.
8777
8778         * text2.C (cursorDown): don't enter the inset if we came from a row
8779         above and are one row over the inset.
8780
8781         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8782         really leaving an inset.
8783
8784 2002-04-18  Juergen Vigna  <jug@sad.it>
8785
8786         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8787         of the selected paragraph does not have the selected layout also if
8788         the last one had!
8789
8790         * text2.C (setLayout): fixed bug which did not change last selected
8791         paragraph.
8792
8793         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8794         changed the read and substituted \\end_float with \\end_inset!
8795
8796         * BufferView_pimpl.C (cursorPrevious):
8797         (cursorNext): fixed to make it work with rows heigher than the work
8798         area without moving the cursor only the draw of the row.
8799         (workAreaMotionNotify): fix jumping over high rows.
8800
8801 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8802
8803         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8804         Ressler.
8805
8806 2002-04-16  Juergen Vigna  <jug@sad.it>
8807
8808         * text2.C (setCursor): set also the irow().
8809         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8810         (cursorUp):
8811         (cursorDown): support for locking an inset if the x_fix value goes
8812         inside it. That way I can transverse insets too with cursor up/down.
8813
8814         * lyxrow.h: added irow helper function same as other (i) functions.
8815
8816         * BufferView_pimpl.C (cursorPrevious):
8817         (cursorNext): fixed for insets!
8818
8819 2002-04-15  Juergen Vigna  <jug@sad.it>
8820
8821         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8822         position otherwise it is wrong in some cases.
8823
8824         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8825         inside the inset before the call.
8826
8827 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8828
8829         * buffer.[Ch] (getBibkeyList): make it const.
8830
8831 2002-04-12  Juergen Vigna  <jug@sad.it>
8832
8833         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8834
8835         * text2.C (getCursorX): new helper function
8836         (setCursor): compute also ix_
8837         (setCursorFromCoordinates): set also ix.
8838
8839         * lyxcursor.h: added ix_ and helper functions.
8840
8841         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8842
8843         * buffer.C (insertStringAsLines): dont break paragraph if the this
8844         paragraph is inside an inset which does not permit it!
8845
8846         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8847         also with no chars on this paragraph.
8848         (paintRowText): only paint stuff if it's inside the workarea!
8849
8850         * paragraph.C (breakParagraph): honor keepempty flag and break the
8851         paragraph always below not above.
8852
8853         * BufferView2.C (unlockInset): update the paragraph layout on inset
8854         unlock as we changed paragraph in such a case.
8855
8856         * lyxfind.C (LyXFind): clear the former selection if not found!
8857
8858         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8859         again called in insertChar().
8860
8861         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8862         an inset which uses the whole row!
8863         (rightMargin): ditto.
8864         (insertChar): force a rebreak if we inserted an inset!
8865
8866 2002-03-28  Herbert Voss  <voss@lyx.org>
8867
8868         * lyxlength.[Ch]: add inBP() to get the right PS-point
8869         units (BigPoint). With inPixels we have rounding errors
8870
8871 2002-04-11  Juergen Vigna  <jug@sad.it>
8872
8873         * text2.C (setCursorFromCoordinates): set iy to the right value.
8874         (setCursor): add check if row->previous exists!
8875
8876         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8877         an old float_type as this was the case in the old code!
8878
8879         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8880
8881         * BufferView2.C (showLockedInsetCursor): use iy
8882         (fitLockedInsetCursor): ditto
8883
8884         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8885         locked insets as there we have the right value now.
8886
8887         * lyxcursor.C: added iy_ variable and iy functions to set to the
8888         baseline of cursor-y of the locked inset.
8889
8890         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8891         (setCursor): fixed for insets which need a full row.
8892
8893         * text.C (rowLastPrintable): don't ignore the last space when before
8894         an inset which needs a full row.
8895         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8896         as last character of a row when before a inset which needs a full row.
8897
8898 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8899
8900         * version.C.in: update date
8901
8902         * text2.C (fullRebreak): try to always return true and see what
8903         happens...
8904
8905 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8906
8907         * MenuBackend.C (expand): use Floating::listName
8908
8909         * FloatList.C (FloatList): add listName argument to the built-in
8910         floats
8911
8912         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8913         text associated with the float.
8914
8915 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8916
8917         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8918
8919 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8920
8921         * ShareContainer.h: add a couple of missing typenames.
8922
8923 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8924
8925         * lyxrc.C (getDescription): use _() correctly rather than N_().
8926
8927 2002-03-28  Herbert Voss  <voss@lyx.org>
8928
8929         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8930         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8931
8932 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8933
8934         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8935         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8936
8937 2002-03-29  Juergen Vigna  <jug@sad.it>
8938
8939         * lyxfunc.C (dispatch): add a missing fitCursor call.
8940
8941         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8942         it was scrolled by a cursor move, so return the bool status.
8943
8944         * BufferView.C (fitCursor): return the bool flag also to the outside
8945         world as this is needed.
8946
8947         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8948
8949         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8950         call the edit() as it is not needed (and wrong) IMO.
8951         (workAreaButtonPress): set the screen_first variable before evt.
8952         unlock the inset as this may change screen_first and then we have
8953         a wrong y position for the click!
8954
8955 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8956
8957         * MenuBackend.C (expand): another translation that I missed
8958
8959 2002-03-28  Juergen Vigna  <jug@sad.it>
8960
8961         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8962
8963         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8964
8965 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8966
8967         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8968
8969         * MenuBackend.C (expand): fix export/view/update when there is no
8970         document open.
8971
8972 2002-03-27  Herbert Voss  <voss@lyx.org>
8973
8974         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8975         and text%
8976
8977 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8978
8979         * bufferview_funcs.C (currentState): only show paragraph number
8980         for is DEVEL_VERSION is set.
8981
8982         * lyxfunc.C (dispatch): put warning in INFO channel
8983
8984         * MenuBackend.C (expand): translate the name of floats
8985
8986         * FloatList.C (FloatList): mark the float names for translation
8987
8988         * converter.C (convert): use LibScriptSearch
8989
8990 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8991
8992         * MenuBackend.C (defaults): fix default menu (we might as well get
8993         rid of it...)
8994
8995 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8996
8997         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8998         directory.
8999
9000 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9001
9002         * lyxvc.C: reorder includes.
9003
9004 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9005
9006         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9007           properly
9008
9009 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9010
9011         * CutAndPaste.C: change layouts earlier on paste
9012           to avoid crashing when calling getFont()
9013
9014 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9015
9016         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9017         irritating #error.
9018
9019 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9020
9021         * WorkArea.C: remove 'Pending' debug message.
9022
9023         * most files: ws cleanup
9024
9025         * buffer.[Ch]: ws changes
9026
9027         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9028
9029 2002-03-21  Juergen Vigna  <jug@sad.it>
9030
9031         * tabular.C (SetMultiColumn): collapse also the contents of the
9032         cells and set the last border right. Added a Buffer const * param.
9033
9034 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9035
9036         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9037         linking or not.
9038
9039 2002-03-19  Juergen Vigna  <jug@sad.it>
9040
9041         * text2.C (clearSelection): reset also xsel_cache.
9042
9043         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9044         where it needs to be called (John tells us to do so too :)
9045         (selectionLost): reset sel_cache.
9046
9047         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9048
9049 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9050
9051         * text2.C (setCursorIntern): put debuging code in INSETS channel
9052
9053 2002-03-19  André Pönitz <poenitz@gmx.net>
9054
9055         * lyxfunc.C: tiny whitespace change
9056
9057 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9058
9059         * ToolbarDefaults.C (init):
9060         * LyXAction.C (init):
9061         * commandtags.h:
9062         * BufferView_pimpl.C (Dispatch):
9063         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9064
9065 2002-03-19  Allan Rae  <rae@lyx.org>
9066
9067         * exporter.C (Export): removeAutoInsets before doing anything else.
9068         While I've just introduced a dependency on BufferView this really is
9069         the best place to clean the buffer otherwise you need to cleanup in
9070         a dozen places before calling export or cleanup in a dozen functions
9071         that export calls.
9072
9073         * converter.C (runLaTeX):
9074         (scanLog): Better handling of removeAutoInsets and screen updates.
9075
9076         * lyxfunc.C (dispatch): small whitespace changes
9077
9078 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9079
9080         * WorkArea.C (C_WorkAreaEvent): return a value.
9081         (event_cb): return 1 if we handled the event, 0 otherwise.
9082
9083         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9084
9085 2002-03-18  Juergen Vigna  <jug@sad.it>
9086
9087         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9088         (GetAdditionalWidth): ditto.
9089         (RightLine): ditto.
9090         (LeftLine): ditto.
9091
9092         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9093         inset if we're there actually (probably not used right now but this
9094         is the direction to go for unifying code).
9095         (paste): disable code to clear the selection.
9096
9097         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9098         inside an InsetText and move the check further up as it is in the
9099         wrong place.
9100
9101         * text2.C (pasteSelection): set a selection over the pasted text.
9102
9103 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9104
9105         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9106         and libgraphics to build on Cygwin.
9107
9108 2002-03-15  Juergen Vigna  <jug@sad.it>
9109
9110         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9111         inserting an Inset into the paragraph. I know this is not the best
9112         fix but we already use current_view in CutAndPaste so we will remove
9113         all of it's using at the same time.
9114
9115         * buffer.C (sgmlError): deactivated function till it is rewritten in
9116         the right mode, now it can create problems.
9117
9118         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9119         before accessing it.
9120
9121 2002-03-14  Juergen Vigna  <jug@sad.it>
9122
9123         * undo_funcs.C (textHandleUndo): do the right thing when updating
9124         the inset after the undo/redo.
9125
9126         * text2.C (setCursor): just some testcode for #44 not ready yet.
9127
9128         * undo_funcs.C (textHandleUndo): set the next() and previous()
9129         pointers of the paragraph to 0 before deleting otherwise we have
9130         problems with the Paragraph::[destructor].
9131
9132         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9133         on a paragraph insertion.
9134
9135 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9136
9137         * buffer.C (asciiParagraph): use += operator for char append to
9138         string.
9139
9140         * paragraph.C (getFontSettings): compare >= not just >
9141         (highestFontInRange): ditto
9142         (setFont): ditto
9143
9144 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9145
9146         * paragraph.C: change several algorithm to be more appripriate for
9147         the problem domain. This is lookip in FontList and in the InsetList.
9148
9149 2002-03-13  André Pönitz <poenitz@gmx.net>
9150
9151         * commandtags.h:
9152         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9153
9154 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9155
9156         * commandtags.h:
9157         * LyXAction.C:
9158         * lyxfunc.C:
9159         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9160
9161 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9162
9163         * Painter.C (display): anon helper function, adjust code for this
9164         change.
9165         (pixmap): remove function.
9166
9167         * Painter.h: remove private display variable.
9168
9169         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9170
9171 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9172
9173         * WorkArea.[Ch]: remove figinset_canvas cruft.
9174
9175 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9176
9177         * lyxtextclass.C (operator): add one item cache optimization.
9178
9179         * bufferlist.h: doxy changes
9180
9181         * bufferlist.C: ws changes
9182
9183         * DepTable.[Ch] (ext_exist): place const in the right spot.
9184
9185         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9186         call resizeInsets.
9187         (workAreaExpose): call resizeInsets when the with BufferView changes.
9188         (Dispatch): adjust for protectedBlank removal
9189         (specialChar): call updateInset if the insert went ok.
9190
9191         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9192         specialChar instead.
9193
9194         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9195
9196         * BufferView.h: doxy change
9197
9198         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9199
9200         * lyxtextclass.C (operator[]): remove non-const version
9201         (defaultLayout): remove non-const version
9202
9203 2002-03-12  Juergen Vigna  <jug@sad.it>
9204
9205         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9206         did resize the LyXText too.
9207
9208         * buffer.C (readLyXformat2): set layout information on newly allocated
9209         paragraphs.
9210
9211         * tabular.C (OldFormatRead): set layout information on the paragraph.
9212
9213 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9214
9215         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9216
9217 2002-03-11  Juergen Vigna  <jug@sad.it>
9218
9219         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9220         plainly wrong.
9221         (resizeCurrentBuffer): force also the insets to resize themselfes.
9222         (moveCursorUpdate): fixed up for InsetText.
9223
9224 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9225
9226         * commandtags.h:
9227         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9228         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9229         value of Dialogs::tooltipsEnabled().
9230         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9231
9232 2002-03-08  Juergen Vigna  <jug@sad.it>
9233
9234         * BufferView_pimpl.C (updateInset): update inset inside inset also
9235         if it isn't inside theLockingInset().
9236
9237 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9238
9239         * buffer.C (asciiParagraph): redo some of the word and line length
9240         handling.
9241         (getLists): look for Caption instead of caption.
9242
9243 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9244
9245         * buffer.C (Buffer): initialize niceFile to true
9246         (makeLaTeXFile):
9247         (makeLinuxDocFile):
9248         (makeDocBookFile): make sure niceFile is true on exit
9249
9250 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9251
9252         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9253
9254 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9255
9256         * LyXSendto.C: remove.
9257         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9258         * lyx_gui.C: remove now-redundant comment.
9259         * ColorHandler.h: remove forward declaration of class WorkArea.
9260         * lyxfunc.C: remove #include "WorkArea.h".
9261
9262 2002-03-07  Juergen Vigna  <jug@sad.it>
9263
9264         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9265         got moved away with the DEPM and also set the inset_owner always
9266         right which before could have been omitted.
9267
9268 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9269
9270         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9271         wanted layout is not found.
9272
9273 2002-03-07  Juergen Vigna  <jug@sad.it>
9274
9275         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9276
9277 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9278
9279         * paragraph.C (breakParagraph): use default layout not layout of
9280         prev paragraph.
9281         (Paragraph): clear ParagraphParameters.
9282
9283 2002-03-06  Juergen Vigna  <jug@sad.it>
9284
9285         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9286         otherwise it would not be a valid lenght. Fixed a special case in
9287         the minipage compatibility read where we end the document with a
9288         minipage.
9289
9290         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9291         was set as it could be 0 for InsetTexts first entry.
9292
9293 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9294
9295         * paragraph.C (writeFile): if layout is empty write out
9296         defaultLayoutName().
9297
9298         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9299         file without named layout we set layout to defaultLayoutName().
9300
9301 2002-03-06  Juergen Vigna  <jug@sad.it>
9302
9303         * CutAndPaste.C (copySelection): set layout for new paragraph.
9304
9305         * text.C (prepareToPrint): leave ERT inset left aligned
9306         (leftMargin): don't indent paragraphs inside ERT insets
9307
9308 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9309
9310         * paragraph.C (breakParagraph): dont call clear do the work manually
9311
9312         * paragraph.[Ch] (clear): remove function
9313
9314 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9315
9316         * paragraph.C (Paragraph): dont call clear, the work has already
9317         been done.
9318
9319         * lyxtextclass.C (operator): assert if n is empty
9320
9321         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9322         work manually instead.
9323
9324 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9325
9326         * BufferView_pimpl.C: protect selectionLost against text == 0
9327
9328 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9329
9330         * text.C (breakParagraph): fix a setting layout to '0' problem.
9331
9332 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9333
9334         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9335         final location of file, for the included files, and graphics.
9336
9337 2002-03-05  Juergen Vigna  <jug@sad.it>
9338
9339         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9340
9341 2002-03-04  Juergen Vigna  <jug@sad.it>
9342
9343         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9344
9345         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9346         last column of multicolumn cells.
9347         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9348
9349 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9350
9351         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9352         file if it doesn't go to a temporary file.
9353
9354         * buffer.C (sgmlOpenTag):
9355         (sgmlCloseTag):  remove extra newline insertion.
9356
9357 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9358
9359         * text.C (getRowNearY): comment out debug msg
9360
9361 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9362
9363         * text2.C: first -> first_y
9364
9365         * text.C (getRowNearY): add some attemts at a possible
9366         optimization, not working.
9367
9368         * tabular.[Ch]: add BufferParams to several function so that newly
9369         created paragraph can be initialized to he default layotu for the
9370         buffers textclass.
9371
9372         * tabular-old.C (ReadOld): add buf->params to call of Init
9373
9374         * screen.C: rename text->first to text->first_y
9375
9376         * paragraph.C (breakParagraph): always set layout in the broken
9377         paragraph
9378
9379         * lyxtextclass.C (Read): remove lowercase
9380         (hasLayout): ditto
9381         (operator): ditto
9382         (delete_layout): ditto
9383
9384         * lyxtext.h: rename first -> first_y
9385
9386         * lyxlayout.C (Read): remove lowercase
9387         (name): ditto
9388         (setName): ditto
9389         (obsoleted_by): ditto
9390
9391         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9392
9393         * buffer.C (insertErtContents): add params are to InsetERT
9394         (parseSingleLyXformat2Token): add code to check if a paragraphs
9395         layout really exist.
9396         (parseSingleLyXformat2Token): add params to several inset
9397         constructors
9398         (asciiParagraph): remove lowercase, do the layout comparisons with
9399         no_case
9400
9401         * BufferView_pimpl.C (cursorNext): first -> first_y
9402         (resizeCurrentBuffer): first -> first_y
9403         (updateScrollbar): first -> first_y
9404         (scrollCB): first -> first_y
9405         (workAreaMotionNotify): first -> first_y
9406         (workAreaButtonPress): first -> first_y
9407         (checkInsetHit): first -> first_y
9408         (cursorPrevious): first -> first_y
9409         (cursorNext): first -> first_y
9410         (Dispatch): add buffer_->params to severl inset contructors
9411
9412 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9413
9414         * lyxlayout.C (Read): remove some debug info that I forgot.
9415
9416         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9417         clean up the code slightly.
9418         (makeLinuxDocFile): ditto
9419         (makeDocBookFile): ditto
9420
9421         * text2.C: layout as string
9422
9423         * text.C: layout as string
9424
9425         * paragraph_pimpl.C: layout as string
9426
9427         * paragraph.[Ch]: layout as string
9428
9429         * lyxtextclasslist.[Ch]: layout as string
9430
9431         * lyxtextclass.[Ch]: layout as string
9432
9433         * lyxtext.h: layout as string
9434
9435         * lyxlayout.[Ch]: layout as string
9436
9437         * lyx_cb.C: layout as string
9438
9439         * bufferview_funcs.C: layout as string
9440
9441         * bufferparams.C: layout as string
9442
9443         * buffer.C: layout as string
9444
9445         * LyXView.[Ch]: layout as string
9446
9447         * LaTeXFeatures.[Ch]: layout as string
9448
9449         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9450
9451         * BufferView_pimpl.C: change current_layout to string, remove
9452         lyx::layout_type.
9453         (Dispatch):
9454         (smartQuote):
9455         (insertInset):
9456         (workAreaButtonRelease): layout as string
9457
9458         * BufferView2.C (unlockInset): adjust
9459
9460         * vspace.C (asLatexCommand): use an explict temp variable.
9461
9462 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9463
9464         * Makefile.am: use FRONTEND_*
9465
9466 2002-03-01  Juergen Vigna  <jug@sad.it>
9467
9468         * tabular.C (SetWidthOfMulticolCell): changed to something better
9469         I hope but still work in progress.
9470         (recalculateMulticolumnsOfColumn): renamed function from
9471         recalculateMulticolCells as it is more appropriate now.
9472         (SetWidthOfCell): calculate multicols better.
9473
9474 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9475
9476         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9477
9478         * lyxfunc.C (processKeySym): print sequence also if it is
9479         `deleted' (complete)
9480
9481         * kbsequence.C (print): print sequence even if it is deleted
9482         (complete would be a better word, actually).
9483
9484         * lyxfunc.C (dispatch): print complete options after a prefix key
9485
9486         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9487
9488 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9489
9490         * text2.C (setCharFont): eliminate setCharFont code duplication.
9491
9492 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9493
9494         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9495         LFUN_TABULAR_FEATURE (bug #177)
9496
9497 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9498
9499         * Makefile.am: remove figure.h
9500
9501 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9502
9503         * Bufferview_pimpl.C:
9504         * CutAndPasteC:
9505         * LaTeX.C:
9506         * LyXSendto.C:
9507         * buffer.C:
9508         * bufferlist.C:
9509         * converter.C:
9510         * language.C:
9511         * lyxfunc.C:
9512         * lyxvc.C:
9513         * paragraph.C:
9514         * text.C:
9515         * text2.C: remove #include "lyx_gui_misc.h".
9516
9517         * LaTeX.C: added #include <cstdio>
9518
9519 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9520
9521         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9522         that the paragraph following this one can have.
9523
9524         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9525
9526         * vspace.C (asLatexCommand): fix bogus gcc warning
9527
9528         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9529
9530 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9531
9532         * text2.C (setLayout): get rid of redundant code
9533
9534 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9535
9536         * text2.C (incDepth): make sure depth cannot be increased beyond
9537         reasonable values.
9538
9539 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9540
9541         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9542         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9543
9544         * PainterBase.h (image):
9545         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9546         a LyXImage const *.
9547
9548 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9549
9550         * BufferView.C:
9551         * BufferView.h:
9552         * BufferView_pimpl.C:
9553         * BufferView_pimpl.h:
9554         * LaTeXFeatures.C:
9555         * LyXAction.C:
9556         * LyXView.C:
9557         * Makefile.am:
9558         * UpdateList.h:
9559         * UpdateList.C:
9560         * buffer.C:
9561         * figure.h:
9562         * figureForm.C:
9563         * figureForm.h:
9564         * figure_form.C:
9565         * figure_form.h:
9566         * lyx_cb.C:
9567         * lyx_gui.C:
9568         * lyx_gui_misc.C:
9569         * lyxfunc.C:
9570         * sp_base.h:
9571         * sp_ispell.h:
9572         * sp_pspell.h:
9573         * sp_spell.C: remove fig inset, and the crap house of
9574           cards that follows it
9575
9576 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9577
9578         * Makefile.am:
9579         * lyxserver.C:
9580         * os2_defines.h:
9581         * os2_errortable.h:
9582         * nt_defines.h: move .h into support/
9583
9584         * vms_defines.h: remove
9585
9586         * WorkArea.C: add space in debug output
9587
9588         * text2.C:
9589         * paragraph.C:
9590         * buffer.C: add WITH_WARNINGS
9591
9592         * vc-backend.h:
9593         * vc-backend.C:
9594         * bufferlist.C: s/retrive/retrieve/, add docs
9595
9596         * vspace.h:
9597         * vspace.C:
9598         * kbmap.h:
9599         * lyxlength.h:
9600         * lyxgluelength.h:
9601         * length_common.h:
9602         * chset.h:
9603         * chset.C: add docs
9604
9605         * lyxgui.C: add ID to X error handler
9606
9607         * lyxtestclass.c: fix typo
9608
9609 2002-02-26  Juergen Vigna  <jug@sad.it>
9610
9611         * tabular_funcs.C (write_attribute): changed so that some default
9612         attributes are not written at all.
9613         (getTokenValue): set default values before trying to read the
9614         value so we have the return value always set as default if we don't
9615         find the token we search for.
9616
9617         * tabular.C (Write): write bools as bools not as strings!
9618
9619 2002-02-22  Juergen Vigna  <jug@sad.it>
9620
9621         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9622         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9623
9624         * text.C (leftMargin): don't add an indent for paragraphs inside
9625         tabular cells (fix #208).
9626
9627 2002-02-21  José Matos  <jamatos@fep.up.pt>
9628
9629         * tabular.C (docBook): fixed support for long tables.
9630
9631 2002-02-20  Juergen Vigna  <jug@sad.it>
9632
9633         * text2.C (getFont): get the drawing font of the Inset if this
9634         paragraph is inside an inset (only important for InsetERT for now).
9635
9636         * buffer.C (insertErtContents): use new lanugage params in ERT
9637         constructor.
9638
9639         * CutAndPaste.C: commenting out seemingly uneeded code.
9640
9641 2002-02-19  Allan Rae  <rae@lyx.org>
9642
9643         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9644         Iterators might be simple to use but they also get invalidated.
9645         (removeAutoInsets): renamed saved cursor tracking variables and added
9646         some comments to clarify what everything does.
9647
9648 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9649
9650         * Chktex.C:
9651         * LaTeX.C:
9652         * LyXSendto.C:
9653         * converter.C:
9654         * lyx_cb.C:
9655         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9656         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9657
9658         * lyxfunc.C:
9659         * vc-backend.h: remove #include "support/syscall.h"
9660
9661         * LaTeX.C:
9662         * LyXSendto.C:
9663         * converter.C: rearrange #includes in Lars' approved fashion.
9664
9665         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9666         forward declare class Timeout in the header file.
9667
9668         * XFormsView.C: changes due to the above.
9669
9670         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9671         similar to LyXView.
9672
9673         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9674         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9675
9676 2002-02-18  José Matos  <jamatos@fep.up.pt>
9677
9678         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9679         insets contents.
9680
9681 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9682
9683         * a lot of small ws changes
9684         * add a lot of using std::XXX
9685         * use std construcs some places where approp.
9686         * use some exisint stuff from lyxfunctional where approp.
9687         * Make file changes to use partial linking (lets test this now...)
9688
9689 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9690
9691         * Chktex.C:
9692         * buffer.C:
9693         remove #include "support/syscontr.h" as it's redundant. Always has been.
9694
9695         * Chktex.C:
9696         * LaTeX.C:
9697         * LyXSendto.C:
9698         * converter.C:
9699         * lyx_cb.C:
9700         * vc-backend.C:
9701         change Systemcalls::System to Systemcalls::Wait and
9702         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9703         No change of functionality, just reflects the stripped down Systemcalls
9704         class.
9705
9706 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9707
9708         * debug.[Ch]: add a GRAPHICS type to the enum.
9709
9710 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9711
9712         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9713
9714         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9715         there is an inset.
9716
9717 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9718
9719         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9720         match the changes below.
9721
9722         * text2.C (toggleInset): if there is not editable inset at cursor
9723         position, try to see if cursor is _inside_ a collapsable inset
9724         and close it.
9725
9726 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9727
9728         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9729         document menu has a nice checkbox
9730
9731 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9732
9733         * lyxlength.C (asLatexString): change PW to output as percent of
9734         \textwidth.
9735
9736         * lengthcommon.C: change '%' to 't%'
9737
9738         * lyxfunc.C (dispatch): a few comments from Martin
9739
9740 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9741
9742         * WorkArea.h:
9743         * WorkArea.C:
9744         * BufferView_pimpl.h:
9745         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9746           the X selection.
9747
9748 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9749
9750         * vspace.C (inPixels): fix compiler warning
9751
9752 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9753
9754         * lyxfunc.C (getStatus): fix status message for disabled commands.
9755
9756 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9757
9758         * BufferView_pimpl.C: fix crash on close buffer
9759         during selection (#227)
9760
9761 2002-01-27  Herbert Voss  <voss@lyx.org>
9762
9763         * buffer.C: link old Figure to new graphic inset
9764
9765 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9766
9767         * FontLoader.C (getFontinfo): Change the latex font names in order
9768         to match the names of type1inst.
9769
9770 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9771
9772         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9773
9774         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9775         (extchanged): ditto
9776         (ext_exist): ditto
9777         (remove_files_with_extension): ditto
9778         (remove_file): ditto
9779         (write): ditto
9780
9781         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9782         document is smaller than the work area height. Do not initialize
9783         static variables to 0.
9784
9785 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9786
9787         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9788
9789         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9790         LFUN_LAYOUT_PARAGRAPHS.
9791
9792         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9793         tabular. It is possible to provide a possible cell, which will
9794         typically be the actcell from the corresponding insettabular
9795
9796         * lyxfunc.C (getStatus): small cleanup; disable
9797         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9798         true
9799
9800 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9801
9802         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9803
9804         * paragraph.C (startTeXParParams):
9805         (endTeXParParams): new methods. The LaTeX code to
9806         start/end paragraph formatting
9807         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9808         empty (fixes bug #200)
9809
9810         * vspace.C (inPixels): adapt to the change below
9811         (inPixels): [later] more cleanups (remove unused variables)
9812
9813         * lyxlength.C (inPixels): change to use a width and a height as
9814         parameter.
9815
9816 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9817
9818         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9819         Replaced with \paperwidth
9820
9821         * DepTable.C (insert): add std:: qualifier
9822
9823 2002-01-18  Allan Rae  <rae@lyx.org>
9824
9825         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9826         updated also?
9827
9828         * text.C (drawInset): Turned out I didn't know enough about how
9829         rebreaking worked.  This fixes most of the redraw problems.  I see
9830         an occasional cursor trail when a line is broken now and the cursor
9831         placement can seem out by a few pixels also after a rebreak.
9832
9833 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9834
9835         * buffer.C (parseSingleLyXformat2Token): update because minipage
9836         width is now a LyXLength
9837
9838         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9839
9840         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9841         math insets
9842
9843 2002-01-17  Juergen Vigna  <jug@sad.it>
9844
9845         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9846
9847         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9848         is set correctly and the inset is updated correctly.
9849
9850 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9851
9852         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9853         the beginning of the loop.
9854
9855 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9856
9857         * lyxrc.C: improve help for use_scalable_fonts
9858
9859 2002-01-17  Allan Rae  <rae@lyx.org>
9860
9861         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9862
9863 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9864
9865         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9866         make sure to set their inset_owner to the right value (bug #171)
9867
9868 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9869
9870         * DepTable.h
9871         * DepTable.C: Implement mtime checking to reduce time spent doing
9872         CRCs.
9873
9874 2002-01-16  Juergen Vigna  <jug@sad.it>
9875
9876         * tabular.C (GetAdditionalHeight): one of error fixed.
9877
9878         * lyxrc.C (output): small fix in writing use_pspell.
9879
9880 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9881
9882         * sp_base.h: #include LString.h
9883
9884 2002-01-16  Allan Rae  <rae@lyx.org>
9885
9886         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9887         Can someone check this please?
9888
9889         * text.C (drawInset): It was possible that p.row would be removed by
9890         breakAgainOneRow upsetting a few other settings.  There may be another
9891         small tweak possible by setting need_break_row = 0 when p.row has been
9892         removed but I don't know enough about the logic here.
9893
9894 2002-01-15  Allan Rae  <rae@lyx.org>
9895
9896         * text.C (insertChar): removed conditional truism.
9897
9898         * BufferView2.C (removeAutoInsets): More tweaks.
9899         cur_par_prev could be a stray pointer.  Check for trailing empty line
9900         in case last line was cur_par and only had an error inset on it.
9901
9902 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9903
9904         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9905         absolute
9906
9907         * vc-backend.C (most methods):
9908         * exporter.C (Export):
9909         * converter.C (convert):
9910         (runLaTeX):
9911         * LyXSendto.C (SendtoApplyCB):
9912         * lyxfunc.C (dispatch):
9913         (menuNew):
9914         (open):
9915         (doImport):
9916         * lyx_cb.C (AutoSave):
9917         (InsertAsciiFile):
9918         * BufferView_pimpl.C (MenuInsertLyXFile):
9919         * buffer.C (runChktex): use Buffer::filePath().
9920
9921         * buffer.h: rename filename to filename_; rename filepath to
9922         filepath_ and make it private
9923         (filePath): new method
9924
9925         * buffer.C (writeFile): use fileName()
9926         (getLatexName):
9927
9928         * lyx_main.C (init): fix starting  of LyX when the binary is a
9929         link from so,ewhere else.
9930
9931         * minibuffer.C: include <cctype> for isprint
9932
9933 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9934
9935         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9936         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9937         name clash with InsetCollapsable's width function.
9938
9939 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9940
9941         * lastfiles.C: include <iterator>
9942
9943 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9944
9945         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9946         std::count.
9947
9948         * buffer.C (makeLaTeXFile): ditto.
9949         Also make loop operation more transparent.
9950
9951 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9952
9953         * ToolbarDefaults.C: remove trailing comma closing namespace.
9954
9955         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9956
9957         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9958         as in WorkArea.
9959
9960         * trans.C (Load): comment out unused variable, allowed.
9961
9962 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9963
9964         * minibuffer.[Ch] (append_char): new method to recieve input from the
9965         drop-down completion browser. If a key was pressed, then recieve this
9966         char and append it to the existing string.
9967         (peek_event): modify the positioning data passed to the completion
9968         browser so that it can be placed above the minibuffer rather than below.
9969 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9970
9971         * LyXAction.C (init): alloe error-next for readonly documents.
9972
9973         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9974         count.
9975
9976 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9977
9978         * bufferlist.C (readFile): create the buffer _after_ checking that
9979         the file exists.
9980
9981         * lyxfunc.C (verboseDispatch): fix handling of arguments
9982
9983         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9984
9985         * lyxrc.C: use string::erase() instead of initializing to "".
9986
9987
9988 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9989
9990         * BufferView_pimpl.h:
9991         * BufferView_pimpl.C:
9992         * WorkArea.h:
9993         * WorkArea.C:
9994         * text2.C: tell X when we have made a selection for copying
9995
9996 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9997
9998         * BufferView_pimpl.C (MenuInsertLyXFile):
9999         * lyxfunc.C (menuNew):
10000         (open):
10001         (doImport): add shortcuts to directory buttons
10002
10003         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10004         open a float)
10005
10006         * lyxfunc.C (setStatusMessage):
10007         (getStatusMessage): new methods
10008         (getStatus):use setStatusMessage instead of setErrorMessage
10009         (dispatch): when function is disabled, set error message here
10010         [instead of in getStatus previously]
10011
10012         * BufferView_pimpl.C (workAreaButtonRelease): update
10013         toolbar/menubar here too.
10014
10015 2002-01-13  Allan Rae  <rae@lyx.org>
10016
10017         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10018         Now seems indestructible.  Remaining task is to audit all other
10019         code affected by deleteEmptyParagraphMechanism.  One small quirk
10020         left is that an empty document with an error in the preamble can
10021         be made to report an error but no error box appears.  I don't know
10022         where it goes.
10023         (removeAutoInsets): Improved comments.
10024
10025 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10026
10027         * Thesaurus.h:
10028         * Thesaurus.C: update for Aiksaurus 0.14
10029
10030 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10031
10032         * text2.C (firstParagraph): removed member function, all uses
10033         replaces with ownerParagraph
10034         (redoParagraphs): here
10035         (updateInset): here
10036         (toggleAppendix): here
10037         * BufferView2.C (insertErrors): here
10038         (setCursorFromRow): here
10039
10040 2002-01-13  Allan Rae  <rae@lyx.org>
10041
10042         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10043         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10044         There is still a way to segfault this although you may have to do this
10045         multiple times: Have an InsetERT with an unknown command in it.
10046         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10047         <down-arrow>, <Enter> again, View->DVI, BANG!
10048
10049         * text2.C (setCursor):
10050         (deleteEmptyParagraphMechanism):
10051         * lyxtext.h (setCursor):
10052         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10053         Making use of the return value may help fix other bugs.
10054
10055 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10056
10057         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10058
10059         * LyXView.C (updateMenubar): call MenuBar::update here
10060         (updateToolbar): but not here
10061         (showState): do not update toolbar/menubar
10062
10063         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10064         should need to care about that.
10065
10066         * lyxfunc.C (verboseDispatch): simplify a bit
10067         (getStatus): have a version which takes a pseudoaction, and
10068         another which requires a (kb_action,string).
10069
10070         * LyXAction.C (retrieveActionArg): make it work also when action
10071         is not a pseudo-action.
10072         (getActionName): simplify a bit
10073         (helpText):
10074
10075 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10076
10077         * lyxfunc.C (verboseDispatch): new families of methods with
10078         several ways to specify a command and a bool to indicate whether
10079         the command name and shortcut should be displayed in minibuffer
10080         (eventually, we could extend that to a finer bitmask like
10081         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10082         (dispatch): the pristine dispatch command which just, well,
10083         dispatchs! Note it still sets its result to minibuffer; I'm not
10084         sure we want that.
10085
10086         * lyxfunc.h: remove setHintMessage
10087
10088         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10089
10090 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10091
10092         * BufferView_pimpl.C (specialChar): delete new inset if we have
10093         not been able to insert it.
10094
10095         * kbmap.C: revert to using int instead of kb_action, since all we
10096         are dealing with is pseudo-actions.
10097
10098         * LyXAction.C (searchActionArg): change to return int instead of
10099         kb_action, since the result is a pseudoaction.
10100
10101 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10102
10103         * buffer.C (insertErtContents): Fix (partially) the font bug.
10104
10105 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10106
10107         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10108         as the other one is broken on my machine!
10109
10110 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10111
10112         * commandtags.h:
10113         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10114
10115 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10116
10117         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10118         reflect their actual use. Provide compatibility code for older lyxrc
10119         files.
10120
10121         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10122         FL_NORMAL_STYLE.
10123         change names of popup font variables in line with the changes to lyxrc.C
10124
10125 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10126
10127         * buffer.C (asciiParagraph): avoid outputing a word twice after
10128         an inset.
10129
10130         * lyxrc.C (getDescription): document that document_path and
10131         template_path can be empty.
10132
10133 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10134
10135         * LaTeXFeatures.C (getMacros):
10136         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10137
10138         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10139
10140         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10141         getPackages.
10142         (getPackages): rename feature "floats" to "float". Use an array to
10143         iterate over 'simple' features (i.e. just a \usepackage). Add
10144         handling of "amsmath" (renamed from "amsstyle").
10145
10146 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10147
10148         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10149         features list.
10150
10151 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10152
10153         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10154         FuncStaus::FuncStatus & FuncStaus::some_method().
10155
10156 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10157
10158         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10159         of the func_satus stuff. Edited and massaged in various ways by
10160         JMarc.
10161
10162         * lyxfunc.C (getStatus): use FuncStatus
10163
10164 2002-01-08  Juergen Vigna  <jug@sad.it>
10165
10166         * text.C (nextBreakPoint): use function Inset::isChar().
10167
10168         * paragraph.C (TeXOnePar): use function
10169         Inset::forceDefaultParagraphs.
10170
10171         * buffer.C (latexParagraphs): use function
10172         Inset::forceDefaultParagraphs.
10173
10174 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10175
10176         * lyx_gui.C (init): set the style of the menu popups to
10177         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10178
10179 2002-01-07  Juergen Vigna  <jug@sad.it>
10180
10181         * text.C (setHeightOfRow): small fix
10182         (prepareToPrint): don't look at alignment if we don't have the place
10183         for doing it.
10184
10185 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10186
10187         * box.C: New file. Move the Box methods and functions out of box.h,
10188         following Lars' suggestion.
10189
10190 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10191
10192         * box.h: #include "support/LOstream.h", needed for inlined function.
10193
10194         * lyxtextclass.C:
10195         * lyxtextclasslist.C: added some using std declarations.
10196
10197 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10198
10199         * box.h: make signed dimensions to allow insets wider than
10200           the screen (bug #162)
10201
10202         * BufferView_pimpl.C: add some insetHit debug
10203
10204 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10205
10206         * vc-backend.C: add FIXME
10207
10208 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10209
10210         * lyxfunc.C (getStatus): enable code for showing math font status
10211         in toolbar/menu.
10212
10213 2002-01-07  Juergen Vigna  <jug@sad.it>
10214
10215         * text.C (nextBreakPoint): removed debug output not needed anymore.
10216
10217 2002-01-06  Juergen Vigna  <jug@sad.it>
10218
10219         * text.C (nextBreakPoint): fixed up this function we had this bug
10220         since ever but now hopefully we break row better.
10221         (insertChar): we have to check if an inset is the next char as it
10222         could now happen that a large inset is causing a break.
10223
10224 2002-01-05  Juergen Vigna  <jug@sad.it>
10225
10226         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10227         if it doesn't like to be drawed.
10228
10229 2002-01-04  Juergen Vigna  <jug@sad.it>
10230
10231         * BufferView2.C (lockInset): forgot to set a cursor.
10232
10233         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10234
10235 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10236
10237         * FormMathsPanel.C:
10238         * FormMathsPanel.h
10239         * MathsSymbols.C:
10240         * form_maths_panel.C:
10241         * form_maths_panel.h:
10242         * form_maths_panel.fd: implemented sub- and super- buttons in math
10243         panel.
10244
10245         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10246         (or ^ space) to be used as in TeX (req'd by André).
10247
10248         * lyxfunc.C: Allow ^ and _ again to be used both as
10249         super/subscript (mathed) and as themselves (in text).
10250
10251 2002-01-03  Allan Rae  <rae@lyx.org>
10252
10253         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10254         "LyX" or the filename of the current buffer if it has one.  This is a
10255         modified form of John Levon's patch.
10256
10257         * XFormsView.C (setWindowTitle): also set icon title.
10258
10259         * LyXView.h (setWindowTitle): signature changed.
10260         * XFormsView.h (setWindowTitle): ditto.
10261
10262 2002-01-02  Juergen Vigna  <jug@sad.it>
10263
10264         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10265
10266 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10267
10268         * screen.C (topCursorVisible): introduce a temp var for
10269         text->cursor.row(), handle the case where this row is null. (kindo
10270         hachish)
10271
10272         * text2.C (setCursor): add a couple of asserts.
10273
10274         * paragraph.h (inset_iterator): add -> operator
10275
10276         * paragraph.[Ch] (autoDeleteInsets): remove member function
10277
10278         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10279         cursor pos correctly and handle inset deletion by itself.
10280         (insertErrors): move iterator declaration out of for expression
10281
10282         * lyxtextclass.C: add <algorithm>
10283
10284         * Makefile.am: added the new files to sources, removed layout.C
10285
10286         * layout.C: removed file
10287
10288         * layout.h: remove LYX_DUMMY_LAYOUT
10289
10290         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10291         layout.
10292
10293         * lyxlayout.[Ch]:
10294         * lyxtextclass.[Ch]:
10295         * lyxtextclasslist.[Ch]: new files
10296
10297         * include order changes to a lot of files, also changes because of
10298         the six new files.
10299
10300 2001-12-27  Juergen Vigna  <jug@sad.it>
10301
10302         * buffer.C (asciiParagraph): more fixes.
10303
10304         * tabular.C (ascii): make ascii export support export of only the
10305         data separated by a column-delimiter.
10306         (ascii): better support for ascii export.
10307
10308         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10309
10310 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10311
10312         * tabular_funcs.C: use a "using std::getline" instead of the
10313         previous fix from Angus (necessary for cxx + lyxstring)
10314
10315 2001-12-24  Juergen Vigna  <jug@sad.it>
10316
10317         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10318
10319         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10320         problems. First check a minipage also if we have some ert-contents
10321         (not only on par->size(), second set the right depth of the paragraph
10322         on the relink to the root-paragraph-list!
10323
10324         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10325         which then did not anymore update the main paragraphs on undo/redo!
10326
10327 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10328
10329         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10330         code. Support all font-changing funcs (even those which are not in
10331         menu currently). Support for reporting font settings in
10332         mathed (disabled until Andre provides a function on mathed's side).
10333
10334         * func_status.h (toggle): small helper function to set toggle
10335         state on a flag.
10336
10337 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10338
10339         * tabular_funcs.C: getline -> std::getline
10340
10341 2001-12-21  Juergen Vigna  <jug@sad.it>
10342
10343         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10344         accessed and could be 0 (I couldn't generate this but it seems
10345         Michael could!).
10346
10347 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10348
10349         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10350         * tabular_funcs.h: here and include iosfwd
10351
10352 2001-12-20  Juergen Vigna  <jug@sad.it>
10353
10354         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10355         inside inset but undo_par was.
10356
10357 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10358
10359         * Thesaurus.C: always include <config.h> in sources.
10360
10361         * Painter.h:
10362         * lyxlookup.h:
10363         * box.h: do not include <config.h> in header files
10364
10365         * text.C (paintLastRow): remove unused variable
10366
10367         * text.C (transformChar):
10368         (insertChar):
10369         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10370
10371         * Painter.C (text):
10372         * font.C (width): rewrite to use uppercase() instead of
10373         islower/toupper.
10374
10375         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10376
10377 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10378
10379         * lyxfind.C: clean up of find failure position change
10380
10381 2001-12-20  Juergen Vigna  <jug@sad.it>
10382
10383         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10384
10385         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10386         (TeXRow): added to LaTeX a single tabular row.
10387         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10388         (Latex): simplified and finally good LT-h/f support.
10389         (various_functions): just small adaptions for LT-h/f support.
10390
10391         * tabular_funcs.[hC]: added and moved here all not classfunctions
10392         of LyXTabular.
10393
10394 2001-12-19  Juergen Vigna  <jug@sad.it>
10395
10396         * tabular.[Ch]: better support for longtabular options (not finished
10397         yet!)
10398
10399 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10400
10401         * text.C (paintLastRow): use the label font instead of the font of
10402         the last character to compute the size of *_BOX. This makes more
10403         sense and avoids a crash with empty paragraphs.
10404         Use Painter::rectangle to draw EMPTY_BOX.
10405
10406 2001-12-19  Juergen Vigna  <jug@sad.it>
10407
10408         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10409         the paragraphs if the replaced paragraph is not the first one!
10410         Tried to delete not used paragraphs but does not work yet so for
10411         now it's inside #ifdef's and by default off!
10412
10413 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10414
10415         * MenuBackend.C: include "lyx_main.h" instead of declaring
10416         lastfiles (actually was declared as LastFiles* instead of a
10417         scoped_ptr).
10418
10419 2001-12-17  Juergen Vigna  <jug@sad.it>
10420
10421         * tabular.C (AppendColumn): applied John's fix
10422
10423 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10424
10425         * BufferView.h:
10426         * BufferView.C:
10427         * BufferView_pimpl.h:
10428         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10429
10430         * Makefile.am:
10431         * box.h: new start of class for above
10432
10433         * lyxfunc.C: ignore space-only minibuffer dispatches.
10434           Show the command name when it doesn't exist
10435
10436         * minibuffer.C: don't add empty lines to the history
10437
10438         * minibuffer.C: add a space on dropdown completion
10439
10440 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10441
10442         * text.C: fix line above/below drawing in insets
10443
10444 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10445
10446         * lyxlength.C (LyXLength): Initialize private variables.
10447
10448 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10449
10450         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10451         when inserting error insets.
10452
10453 2001-12-13  Juergen Vigna  <jug@sad.it>
10454
10455         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10456         actually sometimes the before-paragraph.
10457         (setUndo): don't clear the redostack if we're not actually undoing!
10458
10459 2001-12-06  Juergen Vigna  <jug@sad.it>
10460
10461         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10462         and fixed redoing of main paragraph, so we can use it now ;)
10463
10464         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10465
10466 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10467
10468         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10469         Juergen's request
10470
10471 2001-12-13  André Pönitz <poenitz@gmx.net>
10472
10473         * undostack.[Ch]:
10474         * undo_func.C: minor cleanup
10475
10476 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10477
10478         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10479         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10480         font in urw-fonts package which is marked as -urw-fontspecific and
10481         does not work (incidentally, changing the encoding in the
10482         fonts.dir of this package to -adobe-fontspecific fixes the
10483         problem).
10484
10485         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10486         is a crash when undoing first paragraph (Juergen, please take a
10487         look). THis does not mean the undo fix is wrong, just that it
10488         uncovers problems.
10489
10490         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10491         the (Paragraph*) version when needed instead of duplicating the
10492         code.
10493
10494         * text.C (workWidth): use Inset::parOwner to find out where the
10495         inset has been inserted. This is a huge performance gain for large
10496         documents with lots of insets. If Inset::parOwner is not set, fall
10497         back on the brute force method
10498
10499         * paragraph_pimpl.C (insertInset):
10500         * paragraph.C (Paragraph):
10501         (cutIntoMinibuffer): set parOwner of insets when
10502         inserting/removing them
10503
10504         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10505
10506 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10507
10508         * commandtags.h:
10509         * LyXAction.C:
10510         * lyx_main.C:
10511         * lyxfunc.C:
10512         * mathed/formulabase.C:
10513         * mathed/math_cursor.[Ch]:
10514         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10515
10516
10517 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10518
10519         * lyxlength.[Ch] (operator!=): new function
10520
10521 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10522
10523         * text.C (workWidth): use Inset::parOwner to find out where the
10524         inset has been inserted. This is a huge performance gain for large
10525         documents with lots of insets. If Inset::parOwner is not set, fall
10526         back on the brute force method
10527
10528         * paragraph_pimpl.C (insertInset):
10529         * paragraph.C (Paragraph):
10530         (cutIntoMinibuffer): set parOwner of insets when
10531         inserting/removing them
10532
10533         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10534
10535 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10536
10537         * tabular-old.C (getTokenValue):
10538         * tabular.C (getTokenValue):
10539         (write_attribute): new versions for LyXLength
10540         (everywhere): adjust the use of widths
10541
10542         * tabular.h: change the type of widths from string to LyXLength
10543
10544 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10545
10546         * paragraph.C: fixed missing line number count when exporting
10547         Environments to LaTeX file
10548
10549         * buffer.C: added informational message for checking line numbers.
10550
10551 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10552
10553         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10554         paragraph, do the 'double space' part, but not the 'empty
10555         paragraph' one.
10556
10557         * text.C (workWidth): small optimization
10558         (getLengthMarkerHeight): use minimal size for negative lengths.
10559
10560 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10561
10562         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10563
10564         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10565
10566 2001-12-11  André Pönitz <poenitz@gmx.net>
10567
10568         * FontLoader.C:
10569         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10570
10571 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10572
10573         * text2.C: keep selection on a setFont()
10574
10575 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10576
10577         * lyx_cb.C: another bv->text misuse, from insert label
10578
10579 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10580
10581         * kbsequence.h:
10582         * kbsequence.C: re-instate nmodifier mask
10583
10584 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10585
10586         * lyx_main.h: make lyxGUI private.
10587
10588 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10589
10590         * lyxfind.C: place the cursor correctly on failed search
10591
10592 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10593
10594         * text.C (getLengthMarkerHeight): for small heights, the arrows
10595         are not always on top/bottom of the text
10596         (drawLengthMarker): smaller arrows; take the left margin in
10597         account; draw also vfills.
10598         (paintFirstRow):
10599         (paintLastRow): remove special code for vfill and standard spaces,
10600         since everything is handled in drawLengthMarker now.
10601
10602 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10603
10604         * buffer.C (insertErtContents): try to handle font and language
10605         interaction a bit better.g
10606
10607         * ColorHandler.C (updateColor): change the hash to cover the whole
10608         LColor enum, ws cleanup
10609         (getGCLinepars): ditto
10610         (getGCLinepars): only lookup in the linecache once.
10611
10612 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10613
10614         * iterators.C (operator++): Make the iterator more robust
10615
10616         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10617         (John's patch)
10618         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10619
10620 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10621
10622         * lyxtext.h:
10623         * text.C: better added space drawing
10624
10625 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10626
10627         * LyXView.C:
10628         * BufferView2.C: fix layout combo update on inset unlock
10629
10630 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10631
10632         * Makefile.am: don't compile unused files
10633
10634 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10635
10636         * lyxfunc.C:
10637         * commandtags.h:
10638         * LyXAction.C: remove old LFUN_LAYOUTNO
10639
10640 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10641
10642         * paragraph_pimpl.h:
10643         * paragraph_pimpl.C: isTextAt() doesn't need font param
10644
10645 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10646
10647         * lyxlex.h:
10648         * lyxlex.C: little cleanup
10649
10650 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10651
10652         * BufferView_pimpl.C: fix insertAscii for insets
10653
10654 2001-12-05  Juergen Vigna  <jug@sad.it>
10655
10656         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10657         set the right font on the "multi" paragraph paste!
10658
10659 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10660
10661         * trans_decl.h:
10662         * trans_mgr.[Ch]:
10663         * trans.[Ch]:
10664         * lyxgluelength.C:
10665         * lyxlength.C: remove out-commented code.
10666
10667         * BufferView_pimpl:
10668         * CutAndPaste.C:
10669         * DepTable.C:
10670         * buffer.C:
10671         * chset.C:
10672         * lastfiles.C:
10673         * lyxlex.C:
10674         * lyxlex_pimpl.C:
10675         * lyxserver.C:
10676         * screen.C:
10677         * tabular-old.C:
10678         * tabular.C:
10679         * text.C:
10680         * trans_mgr.C:
10681         * vc-backend.C: change "while(" to "while ("
10682
10683         * lyxlength.[Ch]: add zero function to check if length is zero or
10684         not
10685         * lyxgluelength.C: use it
10686
10687 2001-12-05  Allan Rae  <rae@lyx.org>
10688
10689         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10690         Works for 2.95.3, from what I understand of Garst's reports this should
10691         work for other g++ versions.  We're screwed if the abs(int) definition
10692         changed between bugfix releases of gcc.
10693
10694 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10695
10696         * text.C: fix chapter label offset !
10697
10698 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10699
10700         * lyxtext.h:
10701         * text.C: fix hfill at end of line, clean up
10702
10703 2001-12-04  Juergen Vigna  <jug@sad.it>
10704
10705         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10706         that we force an update of the inset and it's owners if neccessary.
10707
10708 2001-12-03  Juergen Vigna  <jug@sad.it>
10709
10710         * text.C (rowLast): simplified code
10711
10712 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10713
10714         * lyxfunc.C: fix show options on timeout
10715
10716 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10717
10718         * screen.C (topCursorVisible): scroll half a page when the cursor
10719         reached top of bottom of screen
10720
10721 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10722
10723         * minibuffer.C: deactivate on loss of focus
10724
10725 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10726
10727         * vspace.[Ch] (operator!=): add operator.
10728
10729 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10730
10731         * BufferView_pimpl.C: refuse to open an inset when
10732         there's a selection.
10733
10734 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10735
10736         * BufferView_pimpl.C: allow to click on RHS of full row insets
10737
10738 2001-11-30  Juergen Vigna  <jug@sad.it>
10739
10740         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10741         insets for undo reasons.
10742
10743 2001-11-28  André Pönitz <poenitz@gmx.net>
10744
10745         * vspace.[Ch]: cosmetical changes
10746
10747 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10748
10749         * LyXAction.h:
10750         * LyXAction.C:
10751         * lyxfunc.h:
10752         * lyxfunc.C:
10753         * kbmap.h:
10754         * kbmap.C:
10755         * lyxrc.C:
10756         * kbsequence.h:
10757         * kbsequence.C: part re-write of old kb code
10758
10759         * Painter.C:
10760         * WorkArea.C: remove Lgb_bug_find_hack
10761
10762 2001-11-30  José Matos <jamatos@fep.up.pt>
10763
10764         * buffer.C (makeDocBookFile): add a comment to point a hack.
10765         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10766         Fixed a double write of labels.
10767
10768 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10769
10770         * LaTeX.C:
10771         * LaTeX.h Fixed bug in LaTeX class where it would not
10772         re-run latex if no depfiles were changed, but the .dvi was removed.
10773
10774 2001-11-28  André Pönitz <poenitz@gmx.net>
10775
10776         * all the files from the change on 2001/11/26:
10777         use lyx::layout_type instead of LyXTextClass::size_type
10778         use lyx::textclass_type instead of LyXTextClassList::size_type
10779
10780 2001-11-29  Juergen Vigna  <jug@sad.it>
10781
10782         * text.C: added support for paragraph::isFreeSpacing()
10783
10784         * buffer.C: same as above
10785
10786         * paragraph.h: inserted isFreeSpacing() function to enable
10787         FreeSpacing inside InsetERT.
10788
10789         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10790         of the paragraph's in the cut/copy buffer to 0!
10791
10792         * text2.C (removeRow): remove the assert as it can!
10793
10794         * lyxtext.h: added helper function firstRow returning firstrow and
10795         made firstrow private again.
10796
10797         * BufferView2.C (lockInset): don't relock if we're already locked!
10798
10799         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10800         the only paragraph.
10801         (removeRow): added Assert::(firstrow)
10802
10803         * debug.C: forgot to add INSETTEXT here.
10804
10805 2001-11-28  Juergen Vigna  <jug@sad.it>
10806
10807         * sp_spell.C (initialize): changed error text to more general
10808         spellchecker command use (not only ispell!)
10809
10810         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10811
10812         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10813
10814 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10815
10816         * vspace.C: initialise lyxgluelength on failure
10817
10818 2001-11-28  Allan Rae  <rae@lyx.org>
10819
10820         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10821         declaration & definition that looks like a function declaration.
10822
10823 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10824
10825         * BufferView2.C (copy):
10826         (copyEnvironment): do not clear the selection when doing a copy.
10827
10828         * text.C (paintFirstRow): compilation fix
10829
10830 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10831
10832         * tabular.C (Latex): correct line count when writing latex.
10833
10834 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10835
10836         * paragraph_pimpl.h:
10837         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10838           bug a bit
10839
10840 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10841
10842         * text.C:
10843         * LColor.h:
10844         * LColor.C: change vfillline->added_space
10845
10846         * text.C: add markers and text for added space
10847
10848         * vspace.C: fix comment
10849
10850 2001-11-28  André Pönitz <poenitz@gmx.net>
10851
10852         * paragraph.C: whitespace changes
10853         * all the other files from the change on 2001/11/26:
10854         change *::pos_type into lyx::pos_type
10855
10856 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10857
10858         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10859         language of the document when inserting error insets.
10860
10861 2001-11-26  André Pönitz <poenitz@gmx.net>
10862
10863         * BufferView_pimpl.[Ch]:
10864         *       CutAndPaste.C:
10865         * buffer.[Ch]:
10866         * lyxcursor.[Ch]:
10867         * lyxfind.C:
10868         * lyxfunc.C:
10869         * lyxrow.[Ch]:
10870         * paragraph.[Ch]:
10871         * paragraph_pimpl.[Ch]:
10872         * sp_spell.C:
10873         * text.C:
10874         * text2.C: reduce header dependencies, introduce type for positions
10875
10876 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10877
10878         * <various>: change to use Alert.h
10879
10880 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10881
10882         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10883         when encountering an unknown token.
10884         (readLyXformat2): Show an error message if there were unknown tokens.
10885
10886 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10887
10888         * BufferView2.C:
10889         * BufferView_pimpl.C:
10890         * buffer.C:
10891         * paragraph.h:
10892         * text.C:
10893         * text2.C: use par->isInset()
10894
10895 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10896
10897         * paragraph_pimpl.h:
10898         * paragraph_pimpl.C: cleanup
10899
10900 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10901
10902         * text2.C (removeRow):
10903         * text.C (setHeightOfRow): remove useless (and costly) call to
10904         getRow.
10905
10906 2001-11-20  Allan Rae  <rae@lyx.org>
10907
10908         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10909         Now need Inset*::checkInsertChar() to return true for appropriate
10910         cases so that the characters in the minibuffer will actually be
10911         inserted.
10912
10913 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10914
10915         * text.C: change the order of the includes.
10916         (workWidth): initialize it at once.
10917         (workWidth): make maxw unsigned
10918         (setHeightOfRow): remove unused variable (inset)
10919         (selectSelectedWord): remove unused variable (inset)
10920         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10921
10922 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10923
10924         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10925         server is not running.
10926         (openConnection):
10927         (closeConnection): add debug info when server is disabled.
10928
10929         * ColorHandler.C (getGCForeground): send debug message to GUI
10930         channel.
10931
10932         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10933
10934         * kbmap.C (bind): modify because return conventions of
10935         kb_sequence::parse have changed.
10936
10937         * kbsequence.C (parse): only ignore spaces and not any stupid
10938         control character. This avoids tests like s[i] <= ' ', which are
10939         guaranteed to fail with 8bit characters and signed chars.
10940         Change return code to string::npos when there have been no error
10941         (0 was a bad idea when error is at first character)
10942
10943 2001-11-14  José Matos  <jamatos@fep.up.pt>
10944
10945         * buffer.h:
10946         * buffer.C (simpleDocBookOnePar): removed unused argument.
10947
10948 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10949
10950         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10951         insets which are part of a word. Paragraph::isLetter takes care of
10952         that now. Use Paragraph::isInset to identify insets.
10953         (selectSelectedWord): do not test for hyphenation break.
10954
10955         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10956         that protected spaces are considered as spaces.
10957
10958         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10959         Inset::isLetter.
10960
10961 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10962
10963         * lyxserver.h:
10964         * lyxserver.C: fix it. and small cleanup.
10965
10966 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10967
10968         * BufferView_pimpl.C: use inline helpers
10969
10970         * LaTeXFeatures.h:
10971         * LaTeXFeatures.C: fix typos
10972
10973         * Spacing.h:
10974         * Spacing.C: move spacing_string into class
10975
10976         * ToolbarDefaults.C: move stuff into namespace anon
10977
10978         * layout.h: update enum
10979
10980         * lyxfunc.C: use better debug
10981
10982         * minibuffer.h: fix typo
10983
10984         * debug.h:
10985         * debug.C:
10986         * WorkArea.C: add and use Debug::WORKAREA
10987
10988         * lyxtext.h:
10989         * text.C:
10990         * text2.C: code re-organisation, inline helpers
10991
10992 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10993
10994         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10995         std::vector.empty().
10996
10997 2001-11-09  Allan Rae  <rae@lyx.org>
10998
10999         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11000         '\n's after tables.  Tabular and ERT inset work now makes this no
11001         longer necessary.
11002
11003 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11004
11005         * minibuffer.h:
11006         * minibuffer.C: fix crash, improve drop-down completion
11007
11008 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11009
11010         * lyxserver.h:
11011         * lyxserver.C: invalidate fd's when doing endPipe()
11012
11013 2001-11-08  José Matos  <jamatos@fep.up.pt>
11014
11015         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11016         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11017
11018         * paragraph.h:
11019         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11020
11021 2001-11-07  José Matos  <jamatos@fep.up.pt>
11022
11023         * buffer.h:
11024         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11025         const qualifier.
11026
11027         * buffer.C (sgmlOpenTag):
11028         * buffer.C (sgmlCloseTag): removed debug info.
11029
11030         * buffer.h (sgmlOpenTag):
11031         * buffer.h (sgmlCloseTag): made public.
11032
11033 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11034
11035         * buffer.C (saveParamsAsDefaults):
11036         * lyx_cb.C (MenuLayoutSave): remove
11037
11038         * LyXAction.C (init):
11039         * commandtags.h:
11040         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11041
11042 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11043
11044         * buffer.C (setPaperStuff): removed from here...
11045
11046         * bufferparams.C (setPaperStuff): ... and moved there.
11047
11048 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11049
11050         * minibuffer.h:
11051         * minibuffer.C:
11052         * XFormsView.C: add support for drop-down completion
11053
11054 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11055
11056         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11057         commands.
11058
11059 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11060
11061         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11062         disabled.
11063
11064 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11065
11066         * lyx_main.C: change ref to known bugs
11067
11068 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11069
11070         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11071         to work around older babel problems.
11072
11073 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11074
11075         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11076
11077 2001-10-24  Juergen Vigna  <jug@sad.it>
11078
11079         * tabular-old.C (ReadOld): below variable changes reflected.
11080
11081         * tabular.[Ch]: added ltType struct for longtable header/footer
11082         defines and changed all instances where they are used. Added
11083         future support for double top/bottom rows.
11084
11085 2001-10-24  José Matos  <jamatos@fep.up.pt>
11086
11087         * buffer.h (docbookHandleCaption):
11088         * buffer.C (docbookHandleCaption): removed unused function.
11089         (makeDocBookFile): moved docbook supported version to v4.1.
11090
11091 2001-10-24  José Matos  <jamatos@fep.up.pt>
11092
11093         * tabular.h:
11094         * tabular.C (docbookRow): new function to export docbook code of a row.
11095         (DocBook): now honors the longtable flags.
11096
11097 2001-10-23  José Matos  <jamatos@fep.up.pt>
11098
11099         * LaTeXFeatures.h:
11100         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11101         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11102
11103         * buffer.C (makeLinuxDocFile):
11104         (makeDocBookFile): reworked the preamble, more clean, and with
11105         support for lyx defined entities. Changed the document declaration
11106         to be more XML friendly.
11107
11108         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11109         if we need to output XML that should be done with a filter.
11110
11111 2001-10-22  Juergen Vigna  <jug@sad.it>
11112
11113         * sp_pspell.h (class PSpell): add alive function needed in the
11114         controller to see if the spellchecker could be started.
11115
11116 2001-10-22  Juergen Vigna  <jug@sad.it>
11117
11118         * buffer.C (insertStringAsLines): modify the font for inserting
11119         chars in certain conditions by calling checkInsertChar(font).
11120
11121 2001-10-19  Juergen Vigna  <jug@sad.it>
11122
11123         * text.C (workWidth): use getRow instead of wrong algorithm.
11124         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11125
11126 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11127
11128         * lyxserver.h:
11129         * lyxserver.C:
11130         * lyx_main.h:
11131         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11132
11133 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11134
11135         * text.C (workWidth): do not search for the exact row when
11136         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11137         optimization for big documents.
11138
11139 2001-10-18  Juergen Vigna  <jug@sad.it>
11140
11141         * text.C (workWidth): new function with added Inset * parameter.
11142
11143 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11144
11145         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11146
11147         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11148         change return type of getColumnNearX.
11149
11150
11151         * text.C (changeRegionCase): use uppercase/lowercase instead of
11152         toupper/tolower.
11153         (leftMargin):
11154         (rightMargin): simplify code by factoring out the uses of
11155         textclasslist.
11156         (labelFill):
11157         (numberOfHfills):
11158         (setHeightOfRow):
11159         (appendParagraph): use Paragraph::size_type
11160
11161 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11162
11163         * vspace.C (asLatexString): add a missing break
11164
11165 2001-10-15  Herbert Voss  <voss@perce.de>
11166
11167         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11168
11169 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11170
11171         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11172         is not available.
11173
11174 2001-10-10  André Pönitz <poenitz@gmx.net>
11175
11176         * lyxfunc.C: removed greek_kb_flag.
11177
11178 2001-10-10  Herbert Voss  <voss@perce.de>
11179
11180         * lyx_main.C: delete global string help_lyxdir.
11181
11182 2001-10-09  Herbert Voss  <voss@perce.de>
11183
11184         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11185
11186         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11187
11188         * lyx_main.C: added global string help_lyxdir.
11189
11190         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11191
11192 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11193
11194         * lyxrc.C (set_font_norm_type): support iso8859-4
11195
11196 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11197
11198         * LaTeX.C (deplog): add another regex for MikTeX
11199
11200 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11201
11202         * lyxrc.C (set_font_norm_type): support iso8859-3
11203
11204 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11205
11206         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11207
11208         * LaTeXFeatures.C: remove special case of french and index
11209
11210         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11211         before \begin{document}). This solves several incompatibilities.
11212
11213 2001-10-03  Garst Reese  <reese@isn.net>
11214
11215         * lyx_cb.C: change CheckTex error msg.
11216
11217 2001-10-03  José Matos  <jamatos@fep.up.pt>
11218
11219         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11220
11221 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11222
11223         * .cvsignore: update
11224
11225         * lyx_main.C (commandLineVersionInfo): use new style version info.
11226
11227         * buffer.C (writeFile):
11228         (makeLaTeXFile):
11229         (makeLinuxDocFile):
11230         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11231
11232         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11233
11234         * version.h: update to use stuff in version.C
11235
11236         * version.C.in: new file. Contains version information determined
11237         at compile time. This is a merging of version.h and
11238         version_info.h.in.
11239
11240 2001-10-03  Juergen Vigna  <jug@sad.it>
11241
11242         * BufferView_pimpl.C (update): don't change "dirty" status in
11243         updateInset call.
11244
11245 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11246
11247         * WorkArea.C (c-tor): re-position version string slightly.
11248
11249 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11250
11251         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11252         revert to previous code.
11253
11254         WorkArea.[Ch]: (show, destroySplash): methods removed.
11255
11256         WorkArea.C: rework code so that it's an amalgam of the codes before and
11257         after the splash screen was moved to WorkArea.
11258
11259 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11260
11261         * lyxrc.C (read):
11262         * vspace.C (inPixels):
11263         (lyx_advance):
11264         * kbmap.C (bind):
11265         * buffer.C (insertStringAsLines):
11266         (asciiParagraph): fix types to be large enough
11267
11268         * lyxlex_pimpl.h: change member status from short to int
11269
11270         * layout.h: fix type of endlabeltype
11271
11272         * kbmap.C (bind):
11273         * kbsequence.C (parse): change return type to string::size_type
11274
11275         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11276         variable
11277
11278         * Bullet.C (bulletSize):
11279         (bulletEntry): do not use short ints as parameters
11280
11281         * BufferView2.C (insertLyXFile): change a char to an int.
11282
11283         * WorkArea.C (WorkArea): remove unneeded floats in computation
11284
11285 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11286
11287         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11288
11289         * paragraph.C (asString): Do not ignore newline/hfill chars when
11290         copying to the clipboard.
11291
11292 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11293
11294         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11295         after a multi-line inset.
11296
11297 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11298
11299         * paragraph.C (validate): Set NeedLyXFootnoteCode
11300
11301 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11302
11303         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11304         and decrease-error to decrease.
11305
11306 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11307
11308         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11309         it more readable (should be equivalent)
11310
11311 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11312
11313         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11314
11315 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11316
11317         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11318         of a cursor (row, etc.) after a character has been deleted
11319         (deleteEmptyParagraphMechanism): call the method above on _all_
11320         cursors held by the LyXText when a double space has been
11321         detected/deleted.
11322
11323 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11324
11325         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11326         pixmap.
11327         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11328
11329         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11330         background. Use greyOut() and the new show() methods to toggle between
11331         the foreground and background. Add code to remove the splash after
11332         its initial showing.
11333
11334         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11335         (create_forms): no longer call Dialogs::showSplash.
11336
11337 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11338
11339         * .cvsignore: add version_info.h
11340
11341 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11342
11343         * version_info.h.in: new file
11344
11345         * Makefile.am: add version_info.h.in
11346
11347         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11348         version_info.h instead of VERSION_INFO
11349
11350 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11351
11352         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11353         The ERT inset now returns string().
11354
11355 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11356
11357         * lyxtext.h, text.C (selectNextWord): renamed as
11358         selectNextWordToSpellcheck.
11359
11360         * text.C (selectNextWordToSpellcheck): Modified to not select
11361         words inside an ERT inset.
11362
11363 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11364
11365         * lyx_cb.C (MenuLayoutSave): change a bit the question
11366
11367         * sp_base.h: include <sys/types.h>
11368
11369 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11370
11371         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11372
11373 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11374
11375         * several files: fix typos in user-visible strings
11376
11377 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11378
11379         * text2.C (pasteSelection): do not set the selection, since it
11380         will be cleared later. Actually, the intent was to fix the way the
11381         selection was set, but I figured rmoving the code was just as good.
11382
11383 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11384
11385         * FontLoader.C (available): Check if font is available without
11386         loading the font.
11387
11388 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11389
11390         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11391
11392 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11393
11394         * lyxrc.[Ch]: added display_graphics variable and associated code.
11395
11396 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11397
11398         * bufferparams.C (hasClassDefaults): new method. Returns true if
11399         the buffer parameters correspond to known class defaults
11400
11401 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11402
11403         * XFormsView.C (show): set minimum size to the main window.
11404
11405 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11406
11407         * text2.C (copySelection):
11408         (cutSelection):
11409         * lyxfind.C (LyXReplace):
11410         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11411         LyXText::selectionAsString.
11412
11413         * paragraph.C (asString): add "label" argument to the second form
11414
11415         * text2.C (selectionAsString): add "label" argument and pass it to
11416         Paragraph::asString.
11417
11418 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11419
11420         * lyx_main.C (commandLineHelp): remove version information
11421
11422 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11423
11424         * lyx_main.C: add -version commandline option
11425
11426 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11427
11428         * paragraph.h: make the optional constructor arg required instead.
11429         some modifications to other files because of this.
11430
11431         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11432
11433         * lyxserver.C (C_LyXComm_callback): make it static
11434
11435         * lyx_main.C (error_handler): make it static
11436
11437         * lyx_gui.C (LyX_XErrHandler): make it static
11438
11439         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11440
11441         * WorkArea.C: make the extern "C" methods static.
11442
11443         * Makefile.am (lyx_LDADD): simplify
11444
11445 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11446
11447         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11448         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11449
11450         * LyXAction.C (init):
11451         * lyxfunc.C (dispatch): associated code removal.
11452
11453 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11454
11455         * lyxfont.h (isSymbolFont): shut off warning
11456
11457         * text.C (setHeightOfRow):
11458         (getVisibleRow): fix crash with empty paragraphs which have a
11459         bottom line
11460
11461 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11462
11463         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11464         code.
11465
11466 2001-09-04  José Matos  <jamatos@fep.up.pt>
11467         * buffer.C
11468         * buffer.h
11469         * tabular.C (docbook): rename docBook method to docbook.
11470
11471 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11472
11473         * Makefile.am: add dependencies to main.o.
11474
11475 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11476
11477         * FontLoader.C (available): Return false if !lyxrc.use_gui
11478
11479 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11480
11481         * FontInfo.C (query):
11482         * converter.C (view):
11483         * importer.C (Import):
11484         * exporter.C (Export): Can not -> cannot.
11485
11486 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11487
11488         * BufferView_pimpl.C: allow to create index inset even if
11489           string is empty
11490
11491 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11492
11493         * buffer.C (getLists): replace boost::tie code with an explicit pair
11494         as boost::tie can break some compilers.
11495
11496         * iterators.h: Added a std:: declaration to the return type of
11497         ParIterator::size.
11498
11499 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11500
11501         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11502           case.
11503
11504 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11505
11506         * iterators.[Ch]: New files. Provide paragraph iterators.
11507
11508         * buffer.C (changeLanguage): Use paragraph iterators.
11509         (isMultiLingual): ditto
11510
11511         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11512
11513 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11514
11515         * FontLoader.C: Support for cmr font.
11516
11517 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11518
11519         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11520         (available): New method.
11521
11522         * FontInfo.C (getFontname): Use scalable fonts even when
11523         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11524         found.
11525
11526 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11527
11528         * converter.C (Formats::view): reverted! Incorrect fix.
11529
11530 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11531
11532         * converter.C (Formats::view): only output the -paper option
11533         if the dvi viewer is xdvi, thereby fixing bug #233429.
11534
11535 2001-08-23  Herbert Voss  <voss@perce>
11536
11537         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11538
11539 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11540
11541         * Spacing.h (Spacing): Set space to Default on in the default
11542         constructor.
11543
11544 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11545
11546         * vc-backend.h (RCS::versionString): add RCS to version
11547         (CVS::versionString): add CVS to version
11548
11549         * vc-backend.C (scanMaster): do not add CVS to version.
11550         (scanMaster): do not add RCS to version
11551
11552         * lyxvc.C (versionString): new method
11553
11554         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11555
11556 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11557
11558         * Spacing.C (set): initialize fval
11559
11560 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11561
11562         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11563         " or \.
11564
11565 2001-08-16  Juergen Vigna  <jug@sad.it>
11566
11567         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11568
11569 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11570
11571         * BufferView_pimpl.C:
11572         * figureForm.C:
11573         * lyxtext.h:
11574         * text2.C: setParagraph takes linespacing now
11575
11576 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11577
11578         * LyxAction.C: add internal LFUN_CITATION_INSERT
11579
11580         * LyXView.C: actually apply fix
11581
11582         * bufferlist.C: fix open non-existent file
11583
11584         * lyxfind.C: fix indentation
11585
11586         * lyxfunc.C: remove unneeded assert, fix typo
11587
11588 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11589
11590         * MenuBackend.C: use "Floatname List"
11591
11592 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11593
11594         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11595         when converting LaTeX layout to insetERT.
11596         Generate a non-collapsed float when reading old float
11597
11598 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11599
11600         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11601         ERT insets.
11602
11603 2001-08-13  Juergen Vigna  <jug@sad.it>
11604
11605         * text.C (fill): return 0 instead of 20 as this seems to be the more
11606         correct value.
11607
11608 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11609
11610         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11611         lyxrc.font_norm.
11612
11613 2001-08-13  Juergen Vigna  <jug@sad.it>
11614
11615         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11616         casesensitive off.
11617         (SearchBackward): comment out the unlocking of the inset_owner this
11618         should not be needed!
11619
11620 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11621
11622         * Many files: Remove inherit_language, and add latex_language
11623
11624         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11625         collapsible insets.
11626
11627 2001-08-10  Juergen Vigna  <jug@sad.it>
11628
11629         * text.C (prepareToPrint): fixed hfill-width in draw!
11630
11631         * BufferView2.C (selectLastWord): save the selection cursor as this
11632         now is cleared in the function LyXText::clearSelection!
11633
11634 2001-08-08  Juergen Vigna  <jug@sad.it>
11635
11636         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11637         BACKSPACE type functions.
11638
11639         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11640         is only cutted from the document but not put in the cut-buffer, where
11641         still the old stuff should be.
11642
11643         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11644
11645         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11646
11647         * tabular.C (SetWidthOfCell): fixed special case where the width
11648         was not updated!
11649         (LeftLine): handle '|' in align_special.
11650         (RightLine): ditto
11651         (LeftAlreadyDrawed): ditto
11652         (SetWidthOfCell): ditto
11653
11654 2001-08-07  Juergen Vigna  <jug@sad.it>
11655
11656         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11657
11658 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11659
11660         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11661         * lyxlex.[hC]: ditto
11662
11663 2001-08-06  Juergen Vigna  <jug@sad.it>
11664
11665         * text.C (getVisibleRow): fix up row clearing a bit.
11666
11667 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11668
11669         * minibuffer.C: make sure the X server sees the changes in the input.
11670
11671 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11672
11673         * paragraph.C (getFont): split into...
11674         (getLabelFont): this
11675         (getLayoutFont): and this
11676         * paragraph_pimpl.C (realizeFont): calling this
11677
11678         * text2.C (getFont): split into...
11679         (getLayoutFont): this
11680         (getLabelFont): and this
11681         (realizeFont): all three calling this
11682
11683         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11684         files where used.
11685
11686 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11687
11688         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11689
11690 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11691
11692         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11693         layouts from the Quote inset insertion.
11694
11695 2001-08-03  Juergen Vigna  <jug@sad.it>
11696
11697         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11698
11699         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11700         only if status not is already CHANGED_IN_DRAW (second level).
11701
11702         * text.C (draw): don't set the need_break_row when inside an
11703         InsetText LyXText.
11704
11705 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11706
11707         * buffer.C (parseSingleLyXformat2Token): handle more latex
11708         conversion cases.
11709
11710         * bufferview_funcs.[hC]: change function names to
11711         begin with small char, adjust other files.
11712
11713 2001-08-02  André Pönitz <poenitz@gmx.net>
11714
11715         * lyxfunc.C:
11716         BufferView_pimpl.C: remove broken special code for math-greek
11717
11718 2001-08-02  Juergen Vigna  <jug@sad.it>
11719
11720         * BufferView_pimpl.C (update): redone this function so that we
11721         update the text again if there was a CHANGE_IN_DRAW.
11722
11723         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11724         (drawFromTo): added a new internal bool which is used by draw() and
11725         redraw() function.
11726         (general): some cursor drawing problems fixed.
11727
11728 2001-08-01  Juergen Vigna  <jug@sad.it>
11729
11730         * lyxfind.C (LyXFind): fixed
11731         (SearchForward): ditto
11732         (SearchBackward): ditto
11733
11734         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11735         spurius drawing of the cursor in the main area.
11736
11737         * text2.C (status): small fix which could lead to a segfault!
11738         (clearSelection): remove unneeded BufferView param.
11739
11740 2001-08-01  André Pönitz <poenitz@gmx.net>
11741
11742         * lyxfunc.C: small change due to changed mathed interface
11743
11744 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11745
11746         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11747
11748 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11749
11750         * lyxfunc.c: fail gracefully if file doesn't exist
11751
11752         * LyXSendto.C:
11753         * buffer.C:
11754         * lyxfunc.C:
11755         * BufferView_pimpl.C: IsDirWriteable() proto changed
11756
11757         * LyXView.C: fix updateWindowTitle() to store the last title
11758
11759 2001-07-31  Juergen Vigna  <jug@sad.it>
11760
11761         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11762         the font (wrong since using of Paragraph::highestFontInRange).
11763
11764         * paragraph.C (highestFontInRange): added a default_size parameter.
11765
11766         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11767         (setHeightOfRow): reformat
11768
11769 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11770
11771         * converter.[hC] + affected files: move to (inital-char)lowercase
11772         function names.
11773
11774         * ParagraphParameters.C (ParagraphParameters): remove commented code
11775
11776         * PainterBase.[Ch]: remove commented code
11777
11778         * LaTeXFeatures.h: add "bool floats" for float.sty
11779
11780         * LaTeXFeatures.C (LaTeXFeatures): init floats
11781         (require): handle float
11782         (getPackages): do it with floats
11783
11784 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11785
11786         * BufferView_pimpl.C (Dispatch): improve handling of
11787         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11788
11789         * commandtags.h: #include lyxfont.h here temporarily to avoid
11790         keybinding bug.
11791
11792         * bufferlist.h: include LString.h here.
11793
11794 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11795
11796         * text2.C (getStringToIndex): new method.
11797
11798 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11799
11800         * *: Reduced header file dependencies all over.
11801
11802 2001-07-30  Baruch Even  <baruch@lyx.org>
11803
11804         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11805
11806 2001-07-29  Baruch Even  <baruch@lyx.org>
11807
11808         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11809
11810 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11811
11812         * ParameterStruct.h (endif): add a default constructor to make
11813         sure that all variables is initialized.
11814
11815         * ParagraphParameters.C (ParagraphParameters): adjust
11816
11817 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11818
11819         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11820         index; also, check that there is something to index, and that it
11821         does not span over several paragraphs.
11822         (doubleClick): use WHOLE_WORD_STRICT for double click.
11823
11824         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11825
11826         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11827         scheme.
11828
11829 2001-07-26  Baruch Even  <baruch@lyx.org>
11830
11831         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11832         an InsetFig figure, backwards compatible reading of old figure code.
11833
11834 2001-07-27  Juergen Vigna  <jug@sad.it>
11835
11836         * text2.C: font.realize function adaption.
11837
11838         * text.C (draw): add a warnings lyxerr text if needed.
11839
11840         * layout.C: font.realize function adaption.
11841
11842         * language.C: add inherit_language and implement it's handlings
11843
11844         * bufferview_funcs.C (StyleReset): remove language parameter from
11845         font creation (should be language_inherit now).
11846
11847         * bufferparams.C (writeFile): handle ignore_language.
11848
11849         * paragraph.C (getFontSettings): the language has to be resolved
11850         otherwise we have problems in LyXFont!
11851
11852         * lyxfont.C (lyxWriteChanges): added document_language parameter
11853         (update): removed unneeded language parameter
11854
11855         * paragraph.C (validate): fixed wrong output of color-package when
11856         using interface colors for certain fonts in certain environments,
11857         which should not seen as that on the final output.
11858
11859 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11860
11861         * BufferView_pimpl.C:
11862         * Thesaurus.h:
11863         * Thesaurus.C:
11864         * Makefile.am:
11865         * commandtags.h:
11866         * LyXAction.C: add thesaurus support
11867
11868         * lyxfind.h:
11869         * lyxfind.C: add "once" parameter, for thesaurus, to not
11870           move to the next match
11871
11872 2001-07-26  Juergen Vigna  <jug@sad.it>
11873
11874         * lyxfont.C (realize): honor ignore_language too!
11875         (resolved): ditto.
11876
11877         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11878
11879         * text.C (draw): one place more for ignore_language to not draw
11880         itself!
11881
11882 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11883
11884         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11885
11886 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11887
11888         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11889         the minipage conversion problem.
11890
11891 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11892
11893         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11894         insert an inset.
11895
11896 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11897
11898         * BufferView.h: don't forward declare WorkArea
11899
11900         * BufferView.C: don't include WorkArea.h
11901
11902 2001-07-25  André Pönitz <poenitz@gmx.net>
11903
11904         * commandtags.h:
11905         * LyXAction.C:
11906         * lyxfunc.C:  new LFUN 'math-space'
11907
11908         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11909
11910 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11911
11912         * text2.C (toggleInset): call open/close
11913
11914 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11915
11916         * lyxfunc.C (dispatch): add debug for the disabled case
11917
11918         * font.C (buttonText): make similar to rectText
11919
11920         * buffer.C (readInset): comment out parsing of insetlist and
11921         insttheorem
11922
11923         * PainterBase.C (rectText): small correction
11924
11925         * BufferView_pimpl.C: comment out insettheorem and insetlist
11926         * LyXAction.C: ditto
11927         * commandtags.h: ditto
11928
11929 2001-07-24  Juergen Vigna  <jug@sad.it>
11930
11931         * text.C (draw): honor the ignore_language.
11932
11933         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11934
11935 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11936
11937         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11938         char inset.
11939
11940 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11941
11942         * lyxtext.h: remove unused (and unimplemented) methods
11943
11944 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11945
11946         * text.C (getVisibleRow): honor background color
11947
11948         * PainterBase.h:
11949         * Painter.h: remove default color argument for fillRectangle
11950
11951         * text.C (backgroundColor): new method
11952
11953 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11954
11955         * text.C (getVisibleRow): adjust
11956
11957         * font.[Ch] (rectText): new method, metrics
11958         (buttonText): new method, metrics
11959
11960         * PainterBase.[hC]: make rectText and buttonText always draw and take
11961         fewer paramteres.
11962
11963 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11964
11965         * ToolbarDefaults.C (read):
11966         * MenuBackend.C (read): allow escaping in all strings
11967
11968         * BufferView_pimpl.C (insertAndEditInset): new method.
11969         (Dispatch): use insertAndEditInset whenever appropriate.
11970
11971         * BufferView_pimpl.C (insertNote): removed
11972
11973         * BufferView_pimpl.C (smartQuote): new method, moved from
11974         BufferView; if an insetquote cannot be inserted, insert a '"'
11975         character instead.
11976
11977         * BufferView2.C: remove insertCorrectQuote();
11978
11979         * lyxfunc.C (getStatus): Add support for all remaingin
11980         inset-insert lfuns.
11981
11982         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11983
11984         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11985         command (necessary to pass " as parameter of self-insert.
11986
11987         * text.C (selectWordWhenUnderCursor):
11988         (selectWord): add word_location parameter
11989         (selectWordWhenUnderCursor): same + remove special code for word
11990         boundary.
11991         (selectNextWord): use kind() to guess type of insetspecialchar,
11992         not latex().
11993
11994         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11995         (insertErtContents): create ert insets as collapsed.
11996         (readInset): better compatibility code for Info inset.
11997
11998 2001-07-20  Juergen Vigna  <jug@sad.it>
11999
12000         * lyxfunc.C (dispatch): use always LyXFind now!
12001
12002         * text2.C (init): add a reinit flag so that the LyXText can be
12003         reinited instead of deleted and reallocated (used in InsetText).
12004
12005         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12006
12007         * text.C: ditto
12008
12009         * text2.C: ditto
12010
12011 2001-07-18  Juergen Vigna  <jug@sad.it>
12012
12013         * text.C (selectNextWord): handle insets inside inset by calling
12014         always the bv->text functions so that we can go up the_locking_inset!
12015
12016         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12017         in strange locations when inside an inset!
12018
12019         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12020         handling to include insets.
12021
12022         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12023
12024 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12025
12026         * LyXAction.C (init):
12027         * commandtags.h:
12028         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12029         LIGATURE_BREAK, since the name is so stupid.
12030
12031 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12032
12033         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12034         InsetInfos.
12035
12036         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12037
12038         * sp_form.[Ch]: remove.
12039
12040         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12041
12042         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12043         InsetInfo.
12044
12045         * src/buffer.C (readInset): ditto.
12046
12047 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12048
12049         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12050         menuSeparator(), endOfSentenceDot(), ldots() and
12051         hyphenationPoint(), which are therefore removed.
12052         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12053
12054         * LyXAction.C (init):
12055         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12056
12057         * paragraph.C (getWord): removed.
12058
12059         * BufferView_pimpl.C (Dispatch): use last word or selection for
12060         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12061
12062         * lyx_main.C (queryUserLyXDir): do not ask before creating
12063         user_dir, except if it has been named explicitely.
12064
12065 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12066
12067         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12068         a document of zero size.
12069
12070 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12071
12072         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12073         approriately in the c-tor and in require().
12074         (getPackages): output the appropriate LaTeX for natbib support.
12075
12076         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12077         variables "use_natbib" and "use_numerical_citations" when reading the
12078         LyX file.
12079         (readInset): read the various natbib cite commands.
12080         (validate): white-space change.
12081
12082         * bufferparams.[Ch]: new variables "bool use_natbib" and
12083         "bool use_numerical_citations".
12084         (writeFile): output them in the LyX file.
12085
12086 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12087
12088         * lyxfunc.C (getStatus): add support for all the inset insertion
12089         commands.
12090
12091         * text2.C (insertInset):
12092         * paragraph.C (insetAllowed):
12093         * BufferView_pimpl.C (insertInset): update to take in account the
12094         renaming of insertInsetAllowed
12095
12096         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12097
12098         * text2.C (getInset): new method. returns inset at cursor position.
12099
12100         * BufferView_pimpl.C (Dispatch): changes because of this.
12101
12102         * LyXAction.C (init): rename open-stuff to inset-toggle.
12103
12104         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12105
12106         * text2.C (toggleInset): renamed from openStuff; use
12107         Inset::open().
12108
12109 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12110
12111         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12112
12113         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12114
12115 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12116
12117         * buffer.C (readLyXformat2): Add filename to the error dialog
12118
12119 2001-07-18  Juergen Vigna  <jug@sad.it>
12120
12121         * tabular.C (GetCellNumber): put an assert here instead of the check!
12122
12123 2001-07-17  Juergen Vigna  <jug@sad.it>
12124
12125         * BufferView_pimpl.C (toggleSelection): adapted too.
12126
12127         * text.C (selectNextWord): adapted for use with insets.
12128         (selectSelectedWord): ditto
12129
12130 2001-07-17  Juergen Vigna  <jug@sad.it>
12131
12132         * sp_spell.C (PSpell): fix initialitation order.
12133
12134 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12135
12136         * paragraph.C: spacing
12137
12138 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12139
12140         * sp_spell.C: repair language selection for pspell
12141
12142 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12143
12144         * lyxfunc.h: change more methods to begin with lower char.
12145
12146 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12147
12148         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12149         for unknown layouts.
12150
12151 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12152
12153         * buffer.C (readLyXformat2): Generate an error dialog if there are
12154         unknown layouts.
12155
12156 2001-07-16  Juergen Vigna  <jug@sad.it>
12157
12158         * sp_spell.C: always compile ISpell part.
12159
12160         * lyxrc.C: added use_pspell entry and it's handling.
12161
12162 2001-07-13  Juergen Vigna  <jug@sad.it>
12163
12164         * sp_spell.C: removed double includes.
12165
12166 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12167
12168         Consistent use of Lsstream.h:
12169         * Lsstream.h: added using std::stringstream for consistencies sake.
12170
12171         * buffer.C: removed using std::stringstream
12172
12173         * lyxfont.C (stateText):
12174         * paragraph.C (asString):
12175         * text.C (selectNextWord, selectSelectedWord):
12176         * text2.C (setCounter):
12177         * vspace.C (asString, asLatexString):
12178         std::ostringstream -> ostringstream.
12179
12180 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12181
12182         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12183         * commandtags.h: add LFUN_HELP_ABOUTLYX
12184         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12185
12186 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12187
12188         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12189         cursorToggle()
12190         * lyx_gui_misc.C: remove spellchecker
12191         * lyxfunc.C: showSpellchecker
12192         * sp_base.h: added
12193         * sp_ispell.h: added
12194         * sp_pspell.h: added
12195         * sp_spell.C: added
12196         * sp_form.[Ch]: removed
12197         * spellchecker.[Ch]: removed
12198
12199 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12200
12201         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12202         is set.
12203         (simpleTeXSpecialChars): Simply print the input character without
12204         any special translation if pass_thru is set.
12205
12206         * layout.h: Added bool pass_thru to layout class for being able to
12207         implement pass through of a paragraph for Literate Programming.
12208
12209         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12210         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12211         * layout.C (Read): add "passthru" to list of layout tags and add
12212         code to set the pass_thru boolean when it is read.
12213
12214 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12215
12216         * trans_decl.h: remove allowed from KmodInfo
12217
12218         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12219         remove allowed code
12220         (Load): adjust
12221
12222         * paragraph_pimpl.C (erase): use boost::prior
12223
12224         * Painter.C (text): use data() instead of c_str() when length is
12225         also provided.
12226         * WorkArea.C (putClipboard): ditto
12227         * font.h (width): ditto
12228
12229         * BufferView2.C: use it-> instead of (*it). for iterators
12230         * texrow.C: ditto
12231         * paragraph_pimpl.C: ditto
12232         * paragraph.C: ditto
12233         * minibuffer.C: ditto
12234         * language.C: ditto
12235         * kbmap.C: ditto
12236         * encoding.C: ditto
12237         * counters.C: ditto
12238         * converter.C: ditto
12239         * chset.C: ditto
12240         * Variables.C: ditto
12241         * TextCache.C: ditto
12242         * MenuBackend.C: ditto
12243         * LyXAction.C: ditto
12244         * LColor.C: ditto
12245         * FloatList.C: ditto
12246         * DepTable.C: ditto
12247         * ColorHandler.C (LyXColorHandler): ditto
12248
12249 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12250
12251         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12252
12253         * text2.C (openStuff): reintroduce this method (which had been
12254         nuked in NEW_INSETS frenzy).
12255
12256         * lyxfunc.C (Dispatch): when an action has not been handled, use
12257         its name in the error message, not its number.
12258
12259         * paragraph.C (inInset): change method name to begin with lowercase.
12260
12261         * undo_funcs.C:
12262         * text2.C: updates because of this.
12263
12264 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12265
12266         * ToolbarDefaults.C (add): add spaces in error message
12267
12268 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12269
12270         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12271         (readLyXformat2): rename return_par to first_par, use lyxlex's
12272         pushToken and remove the manual push handling.
12273         (parseSingleLyXformat2Token): add another ert comp. variable:
12274         in_tabular, rename return_par to first_par. handle newlines better
12275
12276 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12277
12278         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12279
12280 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12281
12282         * text2.C (getParFromID): removed
12283
12284         * buffer.C (getParFromID): new method moved form lyxtext.
12285         * BufferView2.C (insertErrors): adjust
12286         (setCursorFromRow): adjust
12287         * BufferView_pimpl.C (restorePosition): adjust
12288         * lyxfunc.C (Dispatch): adjust
12289         * undo_funcs.C (textUndo): adjust
12290         (textRedo): adjust
12291         (textHandleUndo): adjust
12292         (textHandleUndo): adjust
12293
12294 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12295
12296         * buffer.C: up' the LYX_FORMAT
12297
12298         * lyxfont.h: turn NO_LATEX on as default
12299
12300         * buffer.C (insertErtContents): new methods of tex style compability.
12301         (parseSingleLyXformat2Token): use it several places.
12302         * tabular.C (OldFormatRead): and here
12303
12304 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12305
12306         * text2.C: remove some commented code.
12307         reindent file.
12308
12309         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12310         * trans.C: changes because of the above.
12311
12312 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12313
12314         * text2.C (setCounter): Fix counters bug with bibliography layout.
12315
12316 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12317
12318         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12319         own member functions
12320         (simpleTeXSpecialChars): ditto
12321
12322 2001-07-06  Juergen Vigna  <jug@sad.it>
12323
12324         * a lot of files: changed the access to LyXText::status and the
12325         call of undo-functions.
12326
12327         * undo.[Ch]: added a inset_id to the undo informations.
12328
12329         * undo_funcs.[Ch]: added and moved here all undo functions.
12330
12331         * lyxtext.h: give the status enum a weight, made status_ a private
12332         variable and made accessor functions for it, removed the whole bunch
12333         of undo-functions as they are now in their own file, make some
12334         functions publically available. Added function ownerParagraph with
12335         int parameter.
12336
12337         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12338         made InInset() a const function, added getParFromID() function.
12339
12340         * buffer.[Ch]: added const version for inset_iterator functions,
12341         added getInsetFromID() function.
12342
12343         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12344         changed undo functions for new version.
12345
12346 2001-07-05  Juergen Vigna  <jug@sad.it>
12347
12348         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12349         unknow mechanism does not call the proper constructor but only this
12350         one also if I request the other!?
12351
12352 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12353
12354         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12355
12356         * text2.C (LyXText): use initialization lists.
12357
12358         * lyxtext.h (Selection): initialize set_ and mark_
12359         (init): remove method
12360
12361 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12362
12363         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12364
12365 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12366
12367         * screen.[Ch]: change method names to begin with lowercase
12368
12369         * BufferView_pimpl.C (updateScrollbar): simplify further and
12370         hopefully make it a bit faster.
12371
12372 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12373
12374         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12375         calling directly xforms functions.
12376
12377         * Painter.C (Painter):
12378         * lyx_cb.C (MenuWrite):
12379         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12380         fl_display.
12381
12382         * lyx_gui.C: remove bogus guiruntime extern declaration.
12383
12384 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12385
12386         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12387         in NEW_INSETS
12388         (redoDrawingOfParagraph): ditto
12389         (redoParagraphs): ditto
12390         (cutSelection): don't create a object for CutAndPaste use the
12391         static method directly
12392         (pasteSelection): ditto
12393
12394         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12395         LyXview (+ rename)
12396
12397 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12398
12399         * modifications to some other files because of this.
12400
12401         * Makefile.am (lyx_SOURCES): add XFormsView
12402
12403         * XFormsView.[Ch]: new files
12404
12405         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12406         the main window. Move the gui dependent stuff to XFormsView
12407
12408 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12409
12410         * tabular.C (GetCellInset): update cur_cell also in the row/col
12411         version of this function.
12412
12413         * lyxfunc.C: no need to include figure_form.h here.
12414
12415         * FontLoader.h:
12416         * lyxfunc.h:
12417         * lyxscreen.h:
12418         * text2.C:
12419         * lyxvc.C: no need to include forms.h here.
12420
12421 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12422
12423         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12424
12425         * lyxfunc.C (Dispatch):
12426         * Spacing.C (set):
12427         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12428         constructor argument.
12429
12430 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12431
12432         * paragraph.C (Paragraph): dont't clear, and just set layout.
12433         (makeSameLayout): use params's copy contructor.
12434
12435         * ParagraphParameters.[Ch] (makeSame): delete method
12436
12437 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12438
12439         * Variables.[Ch]: fix indentation, rename set to isSet
12440
12441 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12442
12443         * lyxfunc.C (Dispatch): fix typo
12444
12445 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12446
12447         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12448         upper_bound.
12449
12450         * bufferlist.C: include assert.h for emergencyWrite().
12451
12452 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12453
12454         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12455           give up at last (bug #425202) !
12456
12457 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12458
12459         * lyx_gui_misc.C:
12460         * sp_form.h:
12461         * sp_form.C:
12462         * spellchecker.h:
12463         * spellchecker.C: strip spellchecker options and bring up
12464           preferences tab instead
12465
12466 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12467
12468         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12469         the istringstream constructor
12470
12471 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12472
12473         * paragraph.C (getLayout): fix return value
12474
12475         * paragraph.h: do not declare getLayout as inline.
12476
12477         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12478
12479 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12480
12481         * lyxcursor.h (operator<): new func
12482         (operator>): new func
12483         (operator>=): new func
12484         (operator<=): new func
12485
12486         * text.C (changeCase): use selection.start and selection.end
12487         (changeRegionCase): require from to be <= to. Require par to be a
12488         valid paragraph.
12489
12490         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12491
12492 2001-06-27  Juergen Vigna  <jug@sad.it>
12493
12494         * text.C (cursorLeftOneWord): changed to return the cursor and added
12495         overlay with BufferView * parameter which calls this one.
12496         (getWord): added
12497         (selectWord): use new getWord function.
12498         (changeCase): renamed from changeWordCase as and extended to work
12499         also on selections.
12500
12501         * lyxtext.h: added enum word_location
12502
12503         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12504         changeCase as this operates now also on selections.
12505
12506 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12507
12508         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12509
12510         * many files: send debug output to Debug::INFO instead of
12511         Debug::ANY.
12512
12513         * converter.C (View):
12514         (Convert):
12515         (Move): send debug output to Debug::FILES instead of console.
12516
12517 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12518
12519         * lyxfunc.C (getStatus): use func_status
12520
12521         * func_status.h: new header, describing the results of
12522         LyXFunc::getStatus;
12523
12524         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12525         LFUN_MATH_HALIGN.
12526
12527 2001-06-25  The LyX Project  <jug@sad.it>
12528
12529         * buffer.C (sgmlOpenTag):
12530         (sgmlCloseTag):
12531         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12532
12533 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12534
12535         * text2.C: remove some dead code
12536
12537         * tabular.C (GetCellInset): store the last cell checked (gotten)
12538
12539         * tabular.h: add the helper for the speedup
12540
12541         * lyxtext.h: remove some dead code
12542
12543 2001-06-26  The LyX Project  <Asger>
12544
12545         * paragraph.C: Change export to LaTeX of alignment to
12546         \begin{center} and family for better roundtrip work with reLyX.
12547
12548         * Tune the math drawing a bit.
12549
12550 2001-06-25  The LyX Project  <Asger>
12551
12552         * LColor.C (LColor): New color for math background. New color
12553         for buttons.
12554
12555 2001-06-25  The LyX Project  <jug@sad.it>
12556
12557         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12558
12559         * lyxfunc.C (Open):
12560         * bufferlist.C (newFile): do not restrict to files ending with
12561         .lyx
12562
12563         * BufferView_pimpl.C (MenuInsertLyXFile):
12564
12565 2001-06-24  The LyX Project  <jug@sad.it>
12566
12567         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12568         of compare_no_case
12569
12570 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12571
12572         * lyxtext.h: rename most methods to begin with a small char.
12573         Lots of changes because of this.
12574
12575         * paragraph.C (Paragraph): do not call fitToSize
12576         (erase): call Pimpl::erase
12577         (insertChar): call Pimpl::insertChar
12578         (insertInset): call Pipl::insertInset
12579         (breakParagraph): do not call fitToSize
12580         (breakParagraphConservative): do not call fitToSize
12581         (fitToSize): remove method
12582
12583         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12584
12585 2001-06-24  The LyX Project  <Asger>
12586
12587         * Fix Qt compilation^2
12588
12589 2001-06-24  The LyX Project  <jug@sad.it>
12590
12591         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12592         depthHook(getDepth()-1).
12593
12594         * paragraph.h:
12595         * ParagraphParameters.h:
12596         * ParameterStruct.h: change type of depth to unsigned int ==
12597         depth_type. Many adaptations to other files before of that.
12598
12599 2001-06-24  The LyX Project  <Asger>
12600
12601         * Fix Qt compilation.
12602
12603 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12604
12605         * paragraph.h: renamed several methods to begin with small letter.
12606         several changes to many parts of the code because of this.
12607
12608 2001-06-23  The LyX Project  <jug@sad.it>
12609
12610         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12611         rewritten to discard all double spaces when KeepEmpty is off
12612         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12613         to only handle newlines but not fiddle with spaces and friends.
12614
12615         * lyxfunc.C (MenuNew): when doing 'new from template', use
12616         template_path as default directory
12617
12618 2001-06-23  The LyX Project  <Asger>
12619
12620         * Clean-up of header file includes all over
12621         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12622
12623 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12624
12625         * paragraph.h: renamed from lyxparagraph.h
12626
12627 2001-06-23  Asger  <lyx@violet.home.sad.it>
12628
12629         * Buffer.h: Removed Buffer::resize
12630         * BufferList.h: Removed BufferList::resize
12631         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12632         the document lazily when we change the width, or the font settings.
12633
12634 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12635
12636         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12637
12638 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12639
12640         * buffer.h: remove out of date comment
12641
12642 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12643
12644         * lyxscreen.h:
12645         * screen.C: fix "theoretical" GC leak
12646
12647 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12648
12649         * LaTeX.C (scanAuxFile):
12650         (deplog): remove trailing \r when reading stream (useful under
12651         win32)
12652
12653 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12654
12655         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12656         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12657         and BufferView::theLockingInset(Inset*), so should use them and not
12658         access bv_->text->the_locking_inset directly.
12659
12660         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12661
12662 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12663
12664         * Makefile.am:
12665         * tex-defs.h: remove old unused file
12666
12667 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12668
12669         * BufferView_pimpl.C: fix typo, remove minibuffer message
12670           when buffer has loaded
12671
12672 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12673
12674         * lyxfunc.C (Dispatch): use stringstream
12675         (MenuNew): use stringstream
12676         (Open): use stringstream
12677
12678         * importer.C (Import): use stringstream
12679
12680         * bufferview_funcs.C (CurrentState): use stringstream
12681
12682         * LaTeX.C (run): use stringstream
12683
12684         * BufferView_pimpl.C (savePosition): use stringstream
12685         (restorePosition): use stringstream
12686         (MenuInsertLyXFile): use stringstream
12687
12688 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12689
12690         * BufferView.C:
12691         * Bullet.C:
12692         * ColorHandler.C:
12693         * FontInfo.C:
12694         * FontLoader.C:
12695         * LColor.C:
12696         * LaTeXFeatures.C:
12697         * Painter.C:
12698         * gettext.C:
12699         * lyx_gui_misc.C:
12700         * lyxserver.C:
12701         * vspace.C: removed // -*- C++ -*- as first line.
12702
12703         * lyxfind.h:
12704         * version.h: added // -*- C++ -*- as first line.
12705
12706 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12707
12708         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12709
12710         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12711         of string
12712
12713 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12714
12715         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12716         of floats.
12717
12718 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12719
12720         * gettext.C: include LString.h even when --disable-nls is on.
12721
12722 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12723
12724         * converter.h (Get): changed argument type from int to
12725         FormatList::size_type to avoid unnecessary conversion.
12726
12727         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12728         before using it.
12729
12730 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12731
12732         * gettext.h: include LString.h even when --disable-nls is on.
12733
12734 2001-06-07  Juergen Vigna  <jug@sad.it>
12735
12736         * text.C (BreakAgain): subst spaces with tabs.
12737
12738         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12739         (resizeInsetsLyXText): set force on resizeLyXText.
12740
12741 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12742
12743         * gettext.h (gettext_init):
12744         (locale_init): use a real definition instead of a macro
12745
12746 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12747
12748         * Bufferview_pimpl.C:
12749         * LColor.h:
12750         * LColor.C: further lcolor tidies
12751
12752 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12753
12754         * BufferView_pimpl.C (updateScrollbar): simplify.
12755
12756         * BufferView2.C: don't include insets/insetinfo.h, change
12757         prototype for insertInset and call the Pimpl version. let
12758         updateInset call Pimpl version.
12759
12760         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12761         gotoInset to BufferView::Pimpl
12762
12763 2001-06-01  Juergen Vigna  <jug@sad.it>
12764
12765         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12766         inside a LockingInset (is the update needed at all?).
12767
12768 2001-05-31  Juergen Vigna  <jug@sad.it>
12769
12770         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12771         here not the old one otherwise how should we compare it afterwards
12772         if it's the same!
12773
12774 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12775
12776         * lyxfont.C:
12777         * tabular.C:
12778         * tabular-old.C:
12779         * FontInfo.C: bring C functions into global namespace when
12780         necessary
12781
12782 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12783
12784         * LString.h: make sure config.h has been loaded before LString.h.
12785
12786         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12787         (one for each char read by EatLine!).
12788
12789         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12790         variables.
12791
12792 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12793
12794         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12795         to the same as the par we break from
12796
12797 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12798
12799         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12800
12801         * MenuBackend.C (expand): also create menu entries for wide
12802         versions of the floats.
12803
12804         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12805
12806         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12807
12808         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12809         frontends/Makefile.am
12810
12811         * text2.C: adjust
12812         * text.C: adjust
12813
12814
12815         * tabular.C (getTokenValue): add std::
12816
12817         * tabular-old.C (getTokenValue): add std::
12818         (getTokenValue): ditto
12819         (getTokenValue): ditto
12820
12821         * screen.C (ToggleSelection): adjust
12822
12823         * lyxtext.h: put selection cursors inside a Selection struct.
12824
12825         * lyxfunc.C (moveCursorUpdate): adjust
12826
12827         * lyxfont.C (latexWriteStartChanges): add std::
12828
12829         * lyxfind.C: adjust
12830
12831         * font.h: delete with(char const *, LyXFont const &)
12832
12833         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12834
12835         * FontInfo.C (getFontname): add std::
12836
12837         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12838         (workAreaButtonPress): adjust
12839         (tripleClick): adjust
12840         (update): adjust
12841         (moveCursorUpdate): adjust
12842         (Dispatch): adjust
12843
12844         * BufferView2.C (gotoInset): adjust
12845
12846 2001-05-30  Juergen Vigna  <jug@sad.it>
12847
12848         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12849         to check pspell I add this as default as I now have new pspell
12850         libraries and they seem to use this.
12851
12852 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12853
12854         * text2.C (CutSelection): make the cursor valid before the call to
12855         ClearSelection.
12856
12857 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12858
12859         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12860         relied on 0 terminated strings and other horrors. Bug found due to
12861         the new assert in lyxstring!
12862
12863         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12864         KP_ keys.
12865
12866 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12867
12868         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12869         to latinkeys.bind.
12870
12871         * lyxfunc.C (processKeySym): change method of getting to the
12872         self-insert char.
12873
12874         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12875         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12876         * BufferView_pimpl.[Ch]: here as private methods.
12877
12878 2001-05-28  Juergen Vigna  <jug@sad.it>
12879
12880         * text.C (SetHeightOfRow): added the update() call again as it is
12881         needed to initialize inset dimensions!
12882
12883 2001-05-16  Juergen Vigna  <jug@sad.it>
12884
12885         * text2.C (SetCharFont): Add new function with BufferView * and
12886         bool toggleall parameters for setting insets internal fonts.
12887         (SetFont): Freeze the undo as we may change fonts in Insets and
12888         all this change should be inside only one Undo!
12889
12890         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12891         setting font's in insets as for them we have the SetFont function!
12892
12893 2001-05-15  Juergen Vigna  <jug@sad.it>
12894
12895         * text2.C (ClearSelection): to be sure we REALLY don't have any
12896         selection anymore!
12897
12898         * tabular.C (TeXCellPreamble): fixed the left border problem for
12899         multicolumn cells.
12900
12901 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12902
12903         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12904         dependancy file
12905
12906 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12907
12908         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12909         LFUN_BREAKPARAGRAPH.
12910
12911         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12912         help test to "internal only", similar for LFUN_INSERT_URL
12913
12914         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12915         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12916         auto_region_delete and deadkeys.
12917
12918 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12919
12920         * LColor.h:
12921         * LColor.C: remove some dead entries, tidy a little
12922
12923 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12924
12925         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12926         commented code.
12927         (Dispatch): implement LFUN_ESCAPE
12928
12929         * commandtags.h: add LFUN_ESCAPE
12930
12931         * LyXAction.C (init): add entry for LFUN_ESCAPE
12932
12933         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12934         Remove commented code.
12935         (insertNote): moved here
12936         (open_new_inset): moved here
12937
12938         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12939         BufferView_pimpl
12940
12941 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12942
12943         * kbmap.C (findbinding): clean it up and make it work correctly.
12944
12945         * lyx_main.C (init): do not pass argc and argv as parameters
12946
12947 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12948
12949         * buffer.C: fix path for OS/2 & Win32
12950
12951         * lyx_gui.C:
12952         * lyx_main:
12953         * lyx_main.C: Added os:: class.
12954
12955         * os2_defines.h: update
12956
12957 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12958
12959         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12960         better by trying again with reduced state.
12961
12962 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12963
12964         * lyxrc.C (read): print error about invalid key sequence only when
12965         debugging (because not all latinX keysyms are known to some X
12966         servers)
12967
12968         * kbsequence.C (getiso): add a few std:: qualifiers
12969         (getiso): comment out extra return statement.
12970
12971 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12972
12973         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12974         handling.
12975         (Dispatch): enhance the accent inset a bit. (not perfect)
12976
12977 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12978
12979         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12980
12981 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12982
12983         * bufferlist.C (emergencyWrite): fix assert() call
12984
12985 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12986
12987         * text.C (InsertChar): Added trivial patch to only send the "you
12988         can not do multiple spaces this way" message once during a
12989         session.
12990
12991 2001-05-08  Baruch Even  <baruch@lyx.org>
12992
12993         * Makefile.am: Changed order of libraries to get LyX to link properly
12994         with the gnome frontend.
12995
12996 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12997
12998         * LaTeXFeatures.h: add a std:: qualifier
12999
13000 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13001
13002         * paragraph.C (String): use stringstream
13003
13004 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13005
13006         * paragraph.C (writeFile): remove footflag arg
13007
13008         * buffer.C (makeLaTeXFile): use stringstream
13009         (latexParagraphs): remove footnot gurba
13010
13011         * LaTeXFeatures.C (getPackages): use stringstream
13012         (getMacros): likewise
13013         (getTClassPreamble): likewise
13014         (getFloatDefinitions): new method
13015
13016         * paragraph.C (writeFile): reindent
13017         (Erase): reindent
13018
13019         * WorkArea.h: revert the xpos + etc changes.
13020
13021         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13022
13023         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13024
13025         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13026         (pasteSelection): likewise
13027         * text2.C (CreateUndo): likewise
13028
13029 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13030
13031         * minibuffer.C (peek_event): temporarily reduce the functionality
13032         of the minibuffer (to allow args on lfuns)
13033
13034         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13035         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13036
13037         * buffer.C (readInset): add compability reading of old float
13038         lists, add reading of new style float list.
13039         (readInset): avoid reevaluation of inscmd.getCmdName()
13040         (getLists): reindent
13041
13042         * MenuBackend.C (MenuItem): implement parsing of
13043         md_floatlistinsert and md_floatinsert.
13044         (expand::LastFiles): move initalizaton of iterators out of loop,
13045         avoid reevaluation.
13046         (expand::Documents): introduce typdedef vector<string> Strings,
13047         and use it.
13048         (expand::ExportFormats): introduce typedef vector<Format const *>
13049         Formats, and use it.
13050         (expand): implement FloatListInsert and FloatInsert.
13051
13052         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13053         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13054         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13055
13056         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13057         handling.
13058         (Dispatch::LFUN_FLOAT_LIST): implement
13059
13060 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13061
13062         * LaTeX.C (run): Fix problem with --export code.
13063
13064 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13065
13066         * BufferView.[Ch] (workarea): removed.
13067         (getClipboard) new method; wrapper for workarea()->getClipboard()
13068
13069         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13070         bug.
13071
13072         * WorkArea.h (width, height, xpos, ypos): These methods all
13073         returned the dimensions of the work_area sub-area of WorkArea,
13074         resulting in a position error if the WorkArea were resized. Now
13075         return the dimensions of the entire WorkArea.
13076
13077         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13078
13079 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13080
13081         * LaTeX.C (deplog): correct the syntax of regex reg1
13082
13083 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13084
13085         * undo.C: remove !NEW_INSETS cruft
13086
13087 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13088
13089         * text2.C: remove !NEW_INSETS cruft
13090
13091         * text.C: remove !NEW_INSETS cruft
13092
13093         * tabular.C: remove !NEW_INSETS cruft
13094
13095         * spellchecker.C: remove !NEW_INSETS cruft
13096
13097         * lyxtext.h: remove !NEW_INSETS cruft
13098
13099         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13100
13101         * lyxfunc.C: remove !NEW_INSETS cruft
13102
13103         * lyxfind.C: remove !NEW_INSETS cruft
13104
13105         * lyx_cb.C: remove !NEW_INSETS cruft
13106
13107         * figureForm.C: remove  !NEW_INSETS cruft
13108
13109         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13110
13111         * buffer.[Ch]: remove !NEW_INSETS cruft
13112
13113         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13114
13115         * CutAndPaste.C: remove !NEW_INSETS cruft
13116
13117         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13118
13119         * BufferView2.C: remove !NEW_INSETS cruft
13120
13121         * BufferView.h: remove !NEW_INSETS cruft
13122
13123 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13124
13125         * Lsstream.h: include LString.h before the sstream headers to
13126         fix problem with gcc 2.95.3 and lyxstring
13127
13128 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13129
13130         * lyx_main.C: add using directives when needed for C functions
13131         declared in std:: namespace.
13132
13133 2001-04-27  Juergen Vigna  <jug@sad.it>
13134
13135         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13136         (SetHeightOfRow): comment out the update call should not be needed!
13137
13138 2001-04-13  Juergen Vigna  <jug@sad.it>
13139
13140         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13141         (LyXTabular): tried to minimize operator= operations (and realized
13142         hopfully Lars wish).
13143
13144 2001-04-27  Juergen Vigna  <jug@sad.it>
13145
13146         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13147
13148 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13149
13150         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13151
13152         * buffer.C (readInset): hack to make listof algorithm work
13153
13154         * BufferView_pimpl.C: hack to make listof algorithm work
13155
13156 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13157
13158         * LyXAction.C: removed all !NEW_INSETS cruft
13159         (init): moved lfun_item in method
13160
13161         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13162
13163 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13164
13165         * BufferView2.C (theLockingInset): white space.
13166
13167 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13168
13169         * minibuffer.C: include <iostream>
13170
13171         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13172
13173         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13174
13175         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13176
13177         * text.[Ch] (TransposeChars): new method
13178
13179 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13180
13181         * call message directly through LyXView instead of through LyXFunc
13182         * BufferView2.C: adjust
13183         * BufferView_pimpl.C: adjust
13184         * FontLoader.C: adjust
13185         * buffer.C: adjust
13186         * bufferview_funcs.C: adjust
13187         * converter.C: adjust
13188         * figureForm.C: adjust
13189         * importer.C: adjust
13190         * lyx_cb.C: adjust
13191         * lyx_gui_misc.C: adjust
13192         * lyxfunc.C: adjust
13193         * lyxvc.C: adjust
13194         * text2.C: adjust
13195         + more files in subdirs
13196
13197         * lyxparagraph.h (size): move up int file
13198         (GetLayout): ditto
13199
13200         * adjust all uses of Assert to lyx::Assert.
13201
13202         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13203         lyxfunctional in namespace lyx
13204         * layout.C (hasLayout): ditto
13205         (GetLayout): ditto
13206         (GetLayout): ditto
13207         (delete_layout): ditto
13208         (NumberOfClass): ditto
13209         * converter.C (GetFormat): ditto
13210         (GetNumber): ditto
13211         (Add): ditto
13212         (Delete): ditto
13213         (SetViewer): ditto
13214         * bufferlist.C (getFileNames): ditto
13215         (emergencyWriteAll): ditto
13216         (exists): ditto
13217         (getBuffer): ditto
13218         * MenuBackend.C (hasSubmenu): ditto
13219         (hasMenu): ditto
13220         (getMenu): ditto
13221         * BufferView_pimpl.C (getInsetByCode): ditto
13222
13223 2001-04-18  Juergen Vigna  <jug@sad.it>
13224
13225         * vspace.C (asLatexString): fixed the 100% problem.
13226
13227 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13228
13229         * lyxfunc.C (Dispatch):
13230         * minibuffer.C:
13231         * minibuffer.h: add a few std:: qualifiers
13232
13233 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13234
13235         * minibuffer.[Ch]: reimplement so that commands is initiated and
13236         run from lyxfunc, simplified som handling, and made the completion
13237         and history code for complete. wip.
13238
13239         * lyxfunc.C (processKeySym): call message
13240         (miniDispatch): new temporary method
13241         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13242         (LFUN_MESSAGE): implement
13243         (LFUN_MESSAGE_PUSH): implement
13244         (LFUN_MESSAGE_POP): implement
13245         (initMiniBuffer): the initial/defualt minibuffer message.
13246
13247         * lyxfont.[Ch]: inline some more getters
13248
13249         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13250
13251         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13252
13253         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13254         (AutoSave): use LFUN_MESSAGE
13255         (Reconfigure): ditto
13256
13257         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13258
13259         * figureForm.C: use LFUN_MESSAGE
13260
13261         * converter.C (runLaTeX): use LFUN_MESSAGE
13262
13263         * bufferview_funcs.C: use LFUN_MESSAGE
13264         (Melt): ditto
13265         (changeDepth): ditto
13266
13267         * bufferparams.h: use boost::
13268
13269         * bufferlist.h: inherit privately from noncopyable
13270
13271         * bufferlist.C (loadLyXFile): remove some commented code.
13272
13273         * buffer.C (runChktex): use LFUN_MESSAGE
13274
13275         * ShareContainer.h: inherit privately from noncopyable
13276
13277         * ParagraphParameters.[hC] (depth): inline it.
13278
13279         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13280         methods.
13281         (message): new method
13282         (messagePush): ditto
13283         (messagePop): ditto
13284         (show): init minibuffer
13285         (showState): direct call
13286
13287         * LaTeX.[Ch]: inherit privately from noncopyable
13288         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13289         instead of WriteStatus.
13290
13291         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13292
13293         * BufferView_pimpl.C (buffer): don't init minibuffer
13294         (workAreaButtonPress): use LFUN_MESSAGE
13295         (workAreaButtonRelease): ditto
13296         (savePosition): ditto
13297         (restorePosition): ditto
13298         (MenuInsertLyXFile): ditto
13299         (workAreaExpose): don't init minibuffer
13300         (update): remove commented code, simplify
13301
13302         * BufferView2.C (openStuff): use LFUN_MESSAGE
13303         (toggleFloat): ditto
13304         (menuUndo): ditto
13305         (menuRedo): ditto
13306         (copyEnvironment): ditto
13307         (pasteEnvironment): ditto
13308         (copy): ditto
13309         (cut): ditto
13310         (paste): ditto
13311         (gotoInset): ditto
13312         (updateInset): remove some commented code
13313
13314         * lastfiles.h: inherit privately from noncopyable
13315         * layout.h: ditto
13316         * lyx_gui.h: ditto
13317         * lyx_main.h: ditto
13318         * lyxlex.h: ditto
13319         * lyxlex_pimpl.h: ditto
13320
13321         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13322         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13323         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13324
13325         * LyXAction.h: inherit privately from noncopyable, add methods
13326         func_begin, func_end, returning iterators to the func map.
13327
13328         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13329         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13330         (func_begin): new method
13331         (func_end): new method
13332
13333         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13334         and not)
13335         (copySelection): ditto
13336         (pasteSelection): ditto
13337
13338         * BufferView.C: whitespace change
13339         * BufferView.h: inherit privately from noncopyable
13340
13341 2001-04-16  Allan Rae  <rae@lyx.org>
13342
13343         * tabular-old.C (l_getline):
13344         * spellchecker.C (sc_check_word):
13345         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13346         an unrecognised preprocessor directive.  So ensure they're wrapped.
13347
13348 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13349
13350         * src/exporter.C (Export): Give an error message when path to file
13351         contains spaces.
13352
13353 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13354
13355         * LaTeX.C (deplog): Always check that foundfile exists.
13356
13357 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13358
13359         * lyx_main.h:
13360         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13361
13362 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13363
13364         * tabular.[Ch] (getLabelList): implement new method
13365
13366         * minibuffer.h: comment ouf setTiimer
13367
13368         * minibuffer.C (ExecutingCB): constify res
13369         (peek_event): constify s
13370         (Set): constify ntext
13371         (Init): constify nicename
13372
13373         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13374
13375         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13376         (savePosition): use two params to Minibuffer::Set
13377         (restorePosition): ditto
13378
13379 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13380
13381         * lyx_main.C: include language.h
13382
13383         * Makefile.am (lyx_main.o): add language.h
13384
13385 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13386
13387         * exporter.C:
13388         * paragraph.C:
13389         * screen.C:
13390         * tabular.C:
13391         * CutAndPaste.C: include gettext.h
13392
13393         * lyxfont.h: remove old hack with ON and OFF.
13394
13395         * lyxparagraph.h:
13396         * lyxfont.h: do not include language.h...
13397
13398         * BufferView2.C:
13399         * LaTeXFeatures.C:
13400         * Painter.C:
13401         * bufferview_funcs.C:
13402         * font.C:
13403         * lyxfont.C:
13404         * text.C:
13405         * text2.C:
13406         * trans_mgr.C:
13407         * paragraph.C: ... but do it here instead
13408
13409 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13410
13411         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13412
13413         * tabular.C: small reformat
13414
13415         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13416         NEW_INSETS version
13417         (GetChar): ditto
13418         (BreakParagraph): ditto
13419         (SetOnlyLayout): ditto
13420         (SetLayout): ditto
13421
13422         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13423         with one arg less.
13424
13425         * lastfiles.C: removed most using decl, add std:: where needed
13426
13427         * buffer.C: ws changes
13428
13429         * MenuBackend.C (class compare_format): put into anon namespace
13430         (expand): constify label, names, action, action2
13431         (expand):
13432
13433         * text.C (SingleWidth): constify font
13434         (IsBoundary): constify rtl2
13435         (GetVisibleRow): constify ww
13436
13437         * LaTeX.C (deplog): constify logfile
13438
13439         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13440         start_x, end_x
13441         (workAreaExpose): constify widthChange, heightChange
13442
13443         * lyxrow.C (par): moved
13444         (height): moved
13445         (next): moved
13446         * lyxrow.h: as inlines here
13447
13448         * lyxfont.h (shape): moved from lyxfont.C
13449         (emph): moved from lyxfont.C
13450
13451         * lyxfont.C (LyXFont): use initialization list for all
13452         constructors
13453         (shape): move to lyxfont.h as inline
13454         (emph): move to lyxfont.h as inline
13455
13456
13457 2001-04-04  Juergen Vigna  <jug@sad.it>
13458
13459         * vspace.C: had to include stdio.h for use of sscanf
13460
13461 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13462
13463         * BufferView.h:
13464         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13465         independent of xforms.
13466
13467 2001-04-02  Juergen Vigna  <jug@sad.it>
13468
13469         * spellchecker.C: fixed namespace placing!
13470
13471 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13472
13473         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13474         the LyXParagraph * is 0.
13475
13476 2001-03-29  Juergen Vigna  <jug@sad.it>
13477
13478         * vspace.C: added support for %, c%, p%, l%.
13479         (stringFromUnit): added helper function.
13480         (asLatexString): changed to give right results for the %-values.
13481
13482         * buffer.C: convert the widthp in a width%.
13483
13484 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13485
13486         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13487         figureForm.[Ch].
13488
13489         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13490         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13491
13492         * lyx_cb.[Ch]: see above.
13493
13494         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13495         form1.[Ch].
13496
13497         * form1.[Ch]:
13498         * lyx.[Ch]: replaced by figure_form.[Ch].
13499
13500         * lyx_gui.C:
13501         * lyx_gui_misc.C:
13502         * lyxfunc.C: changed headers associated with above changes.
13503
13504 2001-03-27  Juergen Vigna  <jug@sad.it>
13505
13506         * BufferView_pimpl.C: set the temporary cursor right!
13507
13508 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13509
13510         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13511
13512 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13513
13514         * LString.h: removed "using std::getline"!
13515
13516         * BufferView_pimpl.C (Dispatch): changes due to changes in
13517         InsetInclude::Params.
13518
13519         * buffer.C (tag_name): removed redundant break statements as they were
13520         producing lots of warnings with my compiler.
13521
13522 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13523
13524         * LString.h: add "using std::getline" when using the real <string>.
13525
13526 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13527
13528         * buffer.C: removed bitset usage.
13529         PAR_TAG moved to an anonymous name space.
13530         (tag_name): new funtion, also in the anonymous namespace.
13531         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13532         (makeDocBookFile): clean code. Completed transition from string arrays
13533         to string vectors.
13534         (SimpleDocBookOnePar): code clean.
13535
13536 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13537
13538         * tabular.C: add some comments.
13539
13540 2001-03-22  Juergen Vigna  <jug@sad.it>
13541
13542         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13543         compatibility read a bit and fixed bug with minipage in different
13544         depth.
13545
13546 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13547
13548         * buffer.C (pop_tag): removed.
13549         (push_tag): removed.
13550         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13551         array replaced with vector. Added support for CDATA sections.
13552         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13553         at any nest level.
13554         (makeDocBookFile): XML conformant declaration of CDATA section,
13555         fixed bug related to <emphasis> in the first paragraph char.
13556         (sgmlOpenTag): exclude empty tags.
13557         (sgmlCloseTag): ditto.
13558
13559         * buffer.h (pop_tag): removed.
13560         (push_tag): removed.
13561
13562 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13563
13564         * language.h (Languages): added size_type and size().
13565
13566 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13567
13568         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13569         response on compability reading of minipages. One probliem is that
13570         the old usage of minipages was «flertydig»
13571
13572         * several files here and in subdirs: don't use static at file
13573         scope use anon namespaces instead.
13574
13575 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13576
13577         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13578         LaTeX output. This is necessary for Literate document
13579         processing.
13580
13581 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13582
13583         * buffer.C: insert hfill when needed.
13584
13585         * tabular.C (l_getline): use string::erase, small whitespace change.
13586
13587         * BufferView_pimpl.C: try the anon namespace.
13588         * WorkArea.C: ditto
13589
13590 2001-03-16  Juergen Vigna  <jug@sad.it>
13591
13592         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13593         otherwise it won't open options-dialogs.
13594
13595         * buffer.C: honor pextraWidth(p) on converting minipages.
13596
13597         * tabular.C (l_getline): changed the functions to strip trailing \r.
13598
13599 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13600
13601         * BufferView_pimpl.C:
13602         * minibuffer..C: added "using SigC::slot" declaration.
13603
13604 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13605
13606         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13607
13608         * text2.C: ditto
13609
13610         * text.C: ditto
13611
13612         * paragraph.C: ditto
13613
13614         * lyxtext.h: NO_PEXTRA
13615
13616         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13617
13618         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13619         * ParameterStruct.h: ditto
13620         * ParagraphParameters.h: ditto
13621         * lyxparagraph.h: ditto
13622
13623 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13624
13625         * buffer.C: add compability for minipage alignment.
13626         (latexParagraphs): remove unwanted pextra check.
13627
13628         * several files: remove CXX_WORKING_NAMESPACES
13629
13630         * buffer.C (pop_tag): tie is in namespace boost
13631
13632         * BufferView.h: noncopyable is in namespace boost
13633         * lyxlex.h: ditto
13634         * lyx_main.h: ditto
13635         * lyx_gui.h: ditto
13636         * layout.h: ditto
13637         * lastfiles.h: ditto
13638         * bufferlist.h: ditto
13639         * ShareContainer.h: ditto
13640         * LyXView.h: ditto
13641         * LyXAction.h: ditto
13642         * LaTeX.h: ditto
13643
13644 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13645
13646         * Merging changes from BRANCH_MVC back into HEAD.
13647
13648         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13649
13650 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13651
13652         * BufferView_pimpl.C: change from intl.C
13653
13654         * combox.h:
13655         * combox.C:
13656         * Makefile.am: move combox.*
13657
13658         * form1.h:
13659         * form1.C:
13660         * lyx_gui.C:
13661         * intl.h:
13662         * intl.C: remove dialog (covered by prefs)
13663
13664 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13665
13666         * lyxfunc.C (Dispatch): removed redundant break statement.
13667
13668 2001-03-14  Juergen Vigna  <jug@sad.it>
13669
13670         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13671
13672 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13673
13674         * buffer.C: add hack to fix compability reading of minipages.
13675
13676 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13677
13678         * buffer.C (getLists): Cleanup.
13679
13680 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13681
13682         * lyxfont.C (update): don't honor toggleall on font size.
13683
13684 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13685
13686         * bmtable.c:
13687         * bmtable.h:
13688         * Makefile.am: moved to frontends/xforms/
13689
13690         * lyx_gui_misc.C:
13691         * lyxfunc.C:
13692         * BufferView_pimpl.C: changes for moved mathpanel
13693
13694 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13695
13696         * gettext.h: fix gettext_init() in --disable-nls
13697
13698 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13699
13700         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13701
13702 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13703
13704         * lyx.C:
13705         * lyx.h: strip external form
13706
13707 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13708
13709         * BufferView_pimpl.C: add comment, destroySplash()
13710
13711 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13712
13713         * BufferView_pimpl.C:
13714         * LyXAction.C:
13715         * buffer.C:
13716         * commandtags.h:
13717         * lyxfunc.C: use re-worked insetinclude
13718
13719 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13720
13721         * buffer.C: add using std::stringstream.
13722
13723         * lyx_cb.C: readd using std::ios.
13724
13725         * buffer.C: add using std::map.
13726
13727         * BufferView_pimpl.C: add using std::vector.
13728
13729         * ShareContainer.h: add std:: to swap.
13730
13731         * buffer.h: add some typedefs
13732         * buffer.C (getLists): use them
13733         (getLists): renamed from getTocList.
13734         add a counter for the different float types and use it in the
13735         generated string.
13736         (getLists): use the same counter for the NEW_INSETS and the "non"
13737         NEW_INSETS
13738
13739         * lyx_cb.h: remove unused items, includes, using etc.
13740
13741         * ShareContainer.h: remove some commented code, add more comments
13742         and "documentation".
13743
13744 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13745
13746         * buffer.C (getTocList): make the list also when NEW_INSETS is
13747         defined.
13748
13749         * buffer.h: remove TocType
13750
13751         * buffer.C (getTocList): change to return a map<string,
13752         vector<TocItem> >, implement for dynamic number of list.
13753
13754         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13755         * text2.C (PasteSelection): adjust
13756         * CutAndPaste.C (pasteSelection): adjust
13757
13758         * FloatList.C (FloatList): update from the new_insets branch.
13759         * Floating.[Ch]: ditto
13760         * LaTeXFeatures.C: ditto
13761         * buffer.C: ditto
13762         * lyxlex_pimpl.C: ditto
13763
13764         * paragraph.C (Last): remove when NEW_INSETS is defined.
13765
13766         * other file: changes because of the above.
13767
13768 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13769
13770         * lyxparagraph.h: rename next to next_, previous to previous_,
13771         make them private for NEW_INSETS. Rename Next() to next(),
13772         Previous() to previous().
13773
13774         * other files: changes because of the above.
13775
13776 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13777
13778         * BufferView.h:
13779         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13780         problem.
13781
13782 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13783
13784         * main.C (main): pass lyx_localedir to gettext_init().
13785
13786         * gettext.h: remove locale_init and gettext_init macros
13787
13788         * gettext.C (locale_init): new function
13789         (gettext_init): new function
13790
13791         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13792         setlocale().
13793
13794 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13795
13796         * Moved credits to frontends:
13797         * credits.[Ch]: removed
13798         * credits_form.[Ch]: removed
13799         * lyx_gui_misc.C: remove credits stuff
13800         * Makefile.am:
13801
13802 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13803
13804         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13805
13806         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13807         unneeded destructor.
13808
13809         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13810         a standalone pointer again.
13811
13812         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13813
13814 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13815
13816         * Makefile.am:
13817         * filedlg.h:
13818         * filedlg.C:
13819         * LyXAction.C:
13820         * ToolbarDefaults.C:
13821         * bufferlist.C:
13822         * commandtags.h:
13823         * form1.C:
13824         * form1.h:
13825         * lyx_cb.C:
13826         * lyx_cb.h:
13827         * lyxfunc.h:
13828         * lyxfunc.C:
13829         * BufferView_pimpl.C: use new file dialog in GUII
13830
13831         * lyx_cb.h:
13832         * lyx_cb.C: remove LayoutsCB to Toolbar
13833
13834 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13835
13836         * ShareContainer.h (get): add std:: qualifier
13837
13838 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13839
13840         * ShareContainer.h: define a proper ShareContainer::value_type
13841         type (and use typename to please compaq cxx)
13842
13843 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13844
13845         * lyxparagraph.h: move serveral local vars to
13846         ParameterStruct/ParagraphParameters., use ShareContainer in
13847         FontTable., make vars in FontTable private and add getter and
13848         setter.
13849
13850         * paragraph.C: changes because of the above.
13851
13852         * lyxfont.h: remove copy constructor and copy assignment. (the
13853         default ones is ok), move number inside FontBits. move inlines to
13854         lyxfont.C
13855
13856         * lyxfont.C: add number to initializaton of statics, move several
13857         inlines here. constify several local vars. some whitespace
13858         cleanup. Dont hide outerscope variables.
13859
13860         * Spacing.h: add two new constructors to match the set methods.
13861
13862         * ShareContainer.h: new file, will perhaps be moved to support
13863
13864         * ParameterStruct.h: new file
13865
13866         * ParagraphParameters.h: new file
13867
13868         * ParagraphParameters.C: new file
13869
13870         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13871         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13872
13873         * BufferView_pimpl.C: ParagraphParameter changes.
13874         * buffer.C: Likewise.
13875         * bufferview_funcs.C: Likewise.
13876         * text.C: Likewise.
13877         * text2.C: Likewise.
13878
13879 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13880
13881         * lyxfind.C (LyXReplace): do not redefine default argument in
13882         implementation.
13883         (IsStringInText): ditto
13884         (SearchForward): ditto
13885         (SearchBackward): ditto
13886
13887 2001-03-06  Juergen Vigna  <jug@sad.it>
13888
13889         * lyxfind.C (IsStringInText): put parentes around expressions.
13890
13891 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13892
13893         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13894
13895 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13896
13897         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13898
13899         * stl_string_fwd.h: add comment
13900
13901         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13902
13903         * tabular.h:
13904         * tabular.C: remove unused DocBook methods
13905
13906         * intl.C:
13907         * language.C:
13908         * paragraph.C:
13909         * buffer.C:
13910         killed DO_USE_DEFAULT_LANGUAGE
13911
13912 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13913
13914         * lyx_gui.C: do not include language.h.
13915
13916         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13917         arguments in function implementation.
13918
13919 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13920
13921         * BufferView_pimpl.C: add <ctime>
13922
13923 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13924
13925         * BufferView_pimpl.C: add using std::find_if
13926
13927 2001-02-27  José Matos  <jamatos@fep.up.pt>
13928
13929         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13930         by OnlyPath.
13931
13932 2001-02-11  José Matos  <jamatos@fep.up.pt>
13933
13934         * buffer.C (makeDocBookFile): command styles now have a parameter as
13935         "title" by default.
13936
13937 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13938
13939         * layout_forms.[Ch]: removed
13940         * lyx_cb.[Ch]: out character
13941         * lyx_gui.C: out character
13942         * lyx_gui_misc.C: out character
13943         * bufferview_funcs.C: : out character,
13944         added toggleall as parameter in ToggleAndShow
13945
13946 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13947
13948         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13949
13950         * text2.C (SetCurrentFont): Disable number property at boundary.
13951
13952 2001-02-26  Juergen Vigna  <jug@sad.it>
13953
13954         * lyxfunc.C (getStatus): added a string argument override function so
13955         that this is correctly called from LyXFunc::Dispatch if it contains a
13956         do_not_use_argument which is used!
13957         (Dispatch): added check for "custom" export and call appropriate func.
13958
13959 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13960
13961         * lyxrc.C: Add language_command_local, language_use_babel and
13962         language_global_options.
13963
13964         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13965
13966         * buffer.C (makeLaTeXFile): Use language_use_babel and
13967         language_global_options.
13968
13969 2001-02-23  Juergen Vigna  <jug@sad.it>
13970
13971         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13972         which works with LyXText and putted it inside BufferView. Here now we
13973         only call for that part the BufferView::Dispatch() function.
13974
13975         * BufferView.C (Dispatch): added.
13976
13977         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13978         functions which needs to use a LyXText over from LyXFunc.
13979         (MenuInsertLyXFile): added
13980         (getInsetByCode): added
13981         (moveCursorUpdate): added
13982         (static TEXT): added
13983
13984 2001-02-22  Juergen Vigna  <jug@sad.it>
13985
13986         * BufferView_pimpl.C (update): call a status update to see if LyXText
13987         needs it.
13988
13989 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13990
13991         * vc-backend.C (revert): implement for CVS
13992         (getLog): implement for CVS
13993
13994 2001-02-20  Juergen Vigna  <jug@sad.it>
13995
13996         * text2.C (ClearSelection): added BufferView param for inset_owner call
13997
13998         * lyxfunc.C (TEXT): added this function and use it instead of
13999         directly owner->view()-text of getLyXText().
14000
14001 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14002
14003         * src/layout_forms.C: out preamble
14004         * src/layout_forms.h: out preamble
14005         * src/lyx_cb.C: out preamble
14006         * src/lyx_cb.h: out preamble
14007         * src/lyx_gui.C: out preamble
14008         * src/lyx_gui_misc.C: out preamble
14009         * src/lyxfunc.C: connect with guii preamble
14010
14011 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14012
14013         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14014
14015 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14016
14017         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14018         whether to run bibtex.
14019
14020 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14021
14022         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14023
14024 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14025
14026         * Makefile.am (lyx_SOURCES): removed bibforms.h
14027
14028         * vspace.h: doxygen
14029
14030         * text.C (GetVisibleRow): make several local vars const
14031
14032         * tabular.C: small cleanup.
14033
14034         * lyxserver.C (callback): use compare instead of strncmp
14035
14036         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14037         inlines to after class or to paragraph.C
14038
14039         * lyxfont.h: remove friend operator!=
14040
14041         * converter.h: move friend bool operator< to non friend and after
14042         class def.
14043
14044         * combox.h: small cleanup
14045
14046         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14047         to inlines after class def.
14048
14049         * buffer.C (pop_tag): use string operations instead of strcmp
14050
14051         * bmtable.c: doxygen, small cleanup
14052
14053         * LaTeX.h: remove friend operator==
14054
14055 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14056
14057         * screen.C:
14058         * lyxrc.[Ch]:
14059         * lyxfunc.C:
14060         * lyxfont.[Ch]:
14061         * lyx_cb.C:
14062         * intl.[Ch]:
14063         * commandtags.h:
14064         * buffer.C:
14065         * WorkArea.[Ch]:
14066         * LyXAction.C:
14067         * BufferView_pimpl.C:
14068         * BufferView.[Ch]: remove cruft
14069
14070 2001-02-14  Juergen Vigna  <jug@sad.it>
14071
14072         * lyxfunc.C: removed #if 0 unused code
14073
14074         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14075
14076         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14077
14078         * text2.C (SetSelection): added a BufferView * parameter
14079
14080 2001-02-13  Juergen Vigna  <jug@sad.it>
14081
14082         * lyxfunc.C (Dispatch): fixed protected blank problem.
14083         * BufferView2.C (protectedBlank): added LyxText * parameter.
14084
14085         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14086         (AppendColumn): same as above for column_info.
14087
14088         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14089         (moveCursorUpdate): use a LyXText param for support of InsetText.
14090
14091         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14092         (tripleClick): ditto
14093
14094         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14095
14096         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14097
14098         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14099
14100         * text2.C (SetSelection): set correct update status if inset_owner
14101         (ToggleFree): ditto
14102
14103 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14104
14105         * tabular.C: remove some commented code.
14106
14107 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14108
14109         * BufferView_pimpl.C: call hideSplash()
14110
14111         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14112
14113         * include_form.h:
14114         * bibforms.h: remove
14115
14116         * lyxfunc.C:
14117         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14118           add LFUN_CHILD_CREATE
14119
14120         * counters.h: fix tiny typo
14121
14122         * lyx_cb.C:
14123         * lyx.h:
14124         * lyx_gui.C:
14125         * lyx.C: move splash to frontends/xforms/
14126
14127         * lyx_gui_misc.C: move Include and Bibform to frontends
14128
14129         * lyxvc.h: clarify comment
14130
14131         * vspace.C: tiny housekeeping
14132
14133 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14134
14135         * text.C (PrepareToPrint): RTL Fix.
14136
14137         * paragraph.C (GetUChar): New method.
14138         (String):  Use GetUChar.
14139
14140         * buffer.C (asciiParagraph): Use GetUChar.
14141
14142 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14143
14144         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14145
14146 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14147
14148         * buffer.h:
14149         * buffer.C: rename to getLogName(), handle
14150           build log / latex log nicely
14151
14152 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14153
14154         * MenuBackend.C:
14155         * MenuBackend.h: remove support for reference menuitem type.
14156
14157 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14158
14159         * BufferView_pimpl.C: housekeeping
14160         * BufferView_pimpl.h:
14161         * LyXView.h:
14162         * Makefile.am:
14163         * Timeout.C:
14164         * Timeout.h:
14165         * minibuffer.h: move Timeout GUI-I
14166
14167 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14168
14169         * lyxrc.C (read): Update converters data-structures.
14170
14171 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14172
14173         * LaTeX.h (operator!=): add operator != for Aux_Info
14174
14175 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14176
14177         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14178
14179         * LaTeXLog.C: deleted, useful code moved to Buffer
14180
14181         * buffer.h:
14182         * buffer.C: new function getLatexLogName()
14183
14184         * lyx_gui_misc.C:
14185         * lyx_gui.C:
14186         * lyxvc.C:
14187         * lyxvc.h:
14188         * lyxfunc.C: use frontends for LaTeX and VC logs
14189
14190 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14191
14192         * LaTeX.h: yet another std:: that Allan forgot.
14193
14194         * Variables.C (set): renamed from isset(), because this clashes
14195         with some HP-UX macros (grr).
14196
14197 2001-02-06  Allan Rae  <rae@lyx.org>
14198
14199         * LaTeX.h: Another bug fix.  Missing std:: this time.
14200
14201 2001-02-04  Allan Rae  <rae@lyx.org>
14202
14203         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14204         floats problem. I've left it commented out because it's not quite
14205         correct.  It should also test that the current object is a table or
14206         figure inset.  But I haven't gotten around to figuring out how to do
14207         that.  I *think* it'll be something like: "table" == inset.type()
14208
14209         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14210         bool.
14211
14212 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14213
14214         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14215         all the citation/databases/styles in the auxilary file.
14216         (run): Rerun latex if there was a babel language error.
14217
14218 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14219
14220         * text.C (Backspace): Preserve the font when changing newline char
14221         with a space.
14222         (BreakParagraph): If the cursor is before a space, delete the space.
14223
14224         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14225
14226 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14227
14228         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14229         new argument (code).
14230         (ChangeCitationsIfUnique): New method.
14231
14232         * paragraph.C (GetPositionOfInset): Handle bibkey.
14233
14234 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14235
14236         * BufferView_pimpl.h: change type of Position::par_pos to
14237         LyXParagraph::size_type.
14238
14239 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14240
14241         * BufferView_pimpl.C (savePosition, restorePosition): Write
14242         messages to minibuffer.
14243
14244 2001-01-28  José Matos  <jamatos@fep.up.pt>
14245
14246         * buffer.C (makeDocBookFile): adds support for document language.
14247         A silly restriction on the name of LatexCommand types where removed.
14248         Added support for CDATA sections, allows to chars unescaped, used
14249         among others in code, to avoid escape < and >.
14250
14251 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14252
14253         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14254         saved positions instrad of a stack. Furthermore, a position is
14255         stored using paragraph id/paragraph position.
14256
14257         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14258         Remove LFUN_REF_BACK.
14259
14260 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14261
14262         * converter.C (dvipdfm_options): New method.
14263
14264 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14265
14266         * vspace.C (isValidLength): Fix for empty input string.
14267
14268 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14269
14270         * LyXAction.C (init): change description of LFUN_FIGURE to
14271         "Insert Graphics"
14272
14273 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14274
14275         * LaTeX.C: add using directive
14276
14277 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14278
14279         * MenuBackend.C (expand): Fix the sorting of the formats.
14280
14281 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14282
14283         * lyx_main.C: tiny error message fix
14284
14285 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14286
14287         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14288         calling fl_initialize(). This fixes the problem with ',' as
14289         decimal separator in text files.
14290
14291 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14292
14293         * trans.C (process): Fix the keymap bug.
14294
14295 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14296
14297         * LaTeX.C (scanAuxFiles): New method. Provides support for
14298         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14299         (scanLogFile) Scan for "run BibTeX" messages.
14300
14301         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14302         OT1 font encoding. Also, load the aecompl package if the ae
14303         package is loaded.
14304
14305         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14306
14307 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14308
14309         * texrow.C (increasePos): turn two error messages into debug
14310         messages.
14311
14312 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14313
14314         * LaTeX.C (scanAux): Handle the \@input macro.
14315         (runBibTeX): Use scanAux().
14316
14317         * language.C (latex_options_): New field.
14318
14319         * LaTeXFeatures.C (getMacros): Add language macros.
14320
14321         * buffer.C (makeLaTeXFile): Small fix.
14322
14323 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14324
14325         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14326
14327         * text2.C: add a using directive.
14328
14329 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14330
14331         * BufferView2.C:
14332         * lyx_gui_misc.h:
14333         * lyxfr1.C:
14334         * lyxfunc.C: kill LyXBell.
14335
14336 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14337
14338         * text.C (IsBoundary): Remove the error message
14339
14340         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14341
14342         * lyxrc.C (setDefaults): Correct initialization value for
14343         font_norm_type.
14344
14345 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14346
14347         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14348         gotoError().
14349
14350         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14351         and GotoNextNote().
14352
14353         * src/LyXAction.C: Added reference-next.
14354
14355         * text.C (InsertChar): Use contains instead of strchr.
14356
14357         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14358
14359 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14360
14361         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14362         alignment commands (when needed).
14363
14364         * text.C (InsertChar): Add ':' to number separator chars.