]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
f4a2d8453cb5c679835186325dc74162ac14e565
[lyx.git] / src / ChangeLog
1 2004-01-07  Angus Leeming  <leeming@lyx.org>
2
3         * LyXAction.C:
4         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
5
6         * BufferView_pimpl.C (dispatch): act on these LFUNs.
7
8         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
9         functions replacing find, replace and replaceAll.
10
11         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
12         LFUN_WORDFIND(FORWARD|BACKWARD).
13
14 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
15
16         * text.C (breakParagraph): remove an outdated #warning
17
18 2004-01-07  André Pönitz  <poenitz@gmx.net>
19
20         * lyxfind.C: somewhat clearer logic
21
22         * text.C: prevent crash in cursorX on unitialized row cache
23
24 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
25
26         * lyxcursor.[Ch] (operator>): add
27         * textcursor.C (selStart, selEnd): use std::min and std::max
28
29 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
30
31         * Chktex.C: include boost/format.hpp
32
33 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
34
35         * InsetList.C: replace functor MathcIt with adaptable functor
36         InsetTablePosLess
37         (insetIterator): modify accordingly
38
39         * BranchList.h: move the BranchNamesEqual functor here from...
40         * BranchList.C: ... to here
41
42         * BranchList.C: new BranchListEqual fuctor, use it. Remove
43         SameName and match.
44         (add): replace a finding loop with std::find_if.
45
46 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
47
48         * output_docbook.C: moving LatexParam functionality into
49         .layout files
50
51 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
52
53         * buffer.C: increment format to 229.
54
55 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
56
57         * LaTeXFeatures.C:
58         * lyx_sty.[Ch]: remove minipageindent_def
59
60         * LyXAction.C:
61         * factory.C:
62         * lfuns.h:
63         * lyxfunc.C:
64         * text3.C: remove LFUN_INSET_MINIPAGE
65
66 2003-12-28  Angus Leeming  <leeming@lyx.org>
67
68         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
69
70 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
71
72         * text2.C (setParagraph): fix off-by-one crash
73
74 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
75
76         * output_docbook.C: header stuff for AGU
77
78 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
79
80         * text2.C (redoCursor): remove
81         * text.C:
82         * text3.C:
83         * BufferView_pimpl.C: remove calls to redoCursor and
84         setCursor(cursor.par(), cursor.pos()) all around
85
86 2003-12-15  Angus Leeming  <leeming@lyx.org>
87
88         * buffer.C: up the format to 228.
89
90 2003-12-15  André Pönitz  <poenitz@gmx.net>
91
92         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
93         slices
94
95         * Makefile.am:
96
97         * BufferView_pimpl.C:
98         * cursor.[Ch]:
99         * lyxcursor.[Ch]:
100         * rowpainter.[Ch]:
101         * lyxtext.h:
102         * text.C:
103         * text2.C:
104         * text3.C: adjust
105
106 2003-12-15  Angus Leeming  <leeming@lyx.org>
107
108         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
109         than getFromGUIName to manipulate the color.
110
111 2003-12-14  Angus Leeming  <leeming@lyx.org>
112
113         * BranchList.[Ch]: minimize the API.
114         (Branch::getBranch, getColor): now return a 'const &'.
115         (Branch::setSelected) now returns a bool set to true if the
116         selection status changes.
117         (BranchList::clear, size, getColor, setColor, setSelected,
118         allBranches, allSelected, separator): removed.
119         (BranchList::find): new functions, returning the Branch with
120         the given name.
121         (BranchList::add, remove): return a bool indicating that
122         the operation was successful.
123
124         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
125         new InsetBranch::isBranchSlected member function.
126
127         * LColor.[Ch]: mimimize the API.
128         (fill): renamed as addColor and made private.
129         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
130         versions of these functions taking a string arg have been removed.
131
132         * bufferparams.C (readToken):
133         * lyxfunc.C (dispatch):
134         * lyxrc.C (read): changes due to the altered BranchList and
135         LColor APIs.
136
137         * factory.C (createInset, readInset): changes due to altered
138         InsetBranch c-tor.
139
140 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
141
142         * factory.C:
143         * lyxfunc.C: remove insetminipage. "minipage-insert"
144         now produces a frameless minipage box inset.
145
146 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
147
148         * textcursor.[Ch] (selStart,selEnd): add new methods
149         remove selection::start, end, use LyXCursor::operator<
150         * lyxcursor.[Ch] (operator<): add
151         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
152         * BufferView.[Ch] (unsetXSel): add
153         * text2.C (clearSelection): use unsetXSel,adjust
154         * text.C: adjust
155         * text3.C: adjust
156         * rowpainter.C: adjust
157         * bufferview_funcs.C (put_selection_at): adjust
158
159 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
160
161         * BufferView_pimpl.C: small coord. correction
162
163 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
164
165         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
166         dragging over the splash screen.
167
168 2003-12-11  Angus Leeming  <leeming@lyx.org>
169
170         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
171         as it is now handled in LyXText::dispatch.
172
173         * text3.C (doInsertInset): remove a level of nesting.
174
175 2003-12-11  Angus Leeming  <leeming@lyx.org>
176
177         * factory.C (createInset): changes due to the changed interface to
178         InsetCommandMailer::string2params.
179
180 2003-12-10  Angus Leeming  <leeming@lyx.org>
181
182         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
183         'dialog-show-new-inset <inset name>'
184
185 2003-12-10  Angus Leeming  <leeming@lyx.org>
186
187         * buffer.C: up the format to 227.
188
189         * factory.C: the box inset is now identified simply by 'Box'.
190
191 2003-12-10  Angus Leeming  <leeming@lyx.org>
192
193         * buffer.C: up the format to 226.
194
195         * factory.C: the note inset is now identified simply by 'Note'.
196
197 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
198
199         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
200         when a pit is enough. Standarize a couple of loops.
201
202 2003-12-05  Angus Leeming  <leeming@lyx.org>
203
204         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
205         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
206         data to the re-worked "log" dialog.
207
208 2003-12-03  André Pönitz  <poenitz@gmx.net>
209
210         * PosIterator.C:
211         * iterators.C:
212         * lyxtext.h:
213         * output_latex.C:
214         * paragraph_funcs.C:
215         * text.C:
216         * text2.C: use Inset::getText instead of Inset::getParagraph
217
218 2003-12-03  André Pönitz  <poenitz@gmx.net>
219
220         * buffer.[Ch]:
221         * lyxtext.h:
222         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
223         InsetText::read() as LyXText::read()
224
225 2003-12-02  Angus Leeming  <leeming@lyx.org>
226
227         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
228         type. Add a comment in the implementation that the function uses
229         the stream's bad() function rather than fail() as the std::streams
230         would do.
231
232 2003-12-02  André Pönitz  <poenitz@gmx.net>
233
234         * lyxlex.[Ch]: make interface more similar to std::stream
235
236         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
237
238 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
239
240         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
241
242 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
243
244         * vspace.[Ch]: remove VSpace::NONE
245
246 2003-12-01  André Pönitz  <poenitz@gmx.net>
247
248         * buffer.[Ch]:
249         * lyxtext.h: move ParagraphList member to LyXText
250         rename LyXText::ownerParagraphs to LyXText::paragraph
251
252         * CutAndPaste.C:
253         * bufferview_funcs.C:
254         * iterators.[Ch]:
255         * lyx_cb.C:
256         * paragraph.C:
257         * rowpainter.C:
258         * tabular.C:
259         * text.C:
260         * text2.C:
261         * text3.C: adjust
262
263         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
264
265         * undo.C: fix cursor positioning
266
267 2003-12-01  John Levon  <levon@movementarian.org>
268
269         * BufferView_pimpl.C: fix a crash on exit with
270         a buffer open
271
272 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
273
274         * BranchList.C: fix setSelected() method.
275
276 2003-11-28  André Pönitz  <poenitz@gmx.net>
277
278         * ParagraphParameters.[Ch]:
279         * ParameterStruct.h: remove space above/below from Paragraph to
280          InsetVSpace
281
282         * BufferView_pimpl.C:
283         * factory.C:
284         * lyxfunc.C:
285         * lyxtext.h:
286         * output_latex.C:
287         * paragraph.C:
288         * paragraph_funcs.C:
289         * rowpainter.[Ch]:
290         * text.C:
291         * text2.C:
292         * text3.C: adjust
293
294 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
295
296         * factory.C: Syntax change for CharStyles
297
298 2003-11-28  André Pönitz  <poenitz@gmx.net>
299
300         * BufferView.[Ch]:
301         * BufferView.[Ch]:
302         * buffer.[Ch]:
303         * buffer.[Ch]: move LyXText member
304
305 2003-11-28  André Pönitz  <poenitz@gmx.net>
306
307         * BufferView.[Ch]: make LyXText * text a private member
308
309         * BufferView_pimpl.C:
310         * cursor.C:
311         * iterators.C:
312         * lyx_cb.C:
313         * lyxfind.C:
314         * lyxtext.h:
315         * rowpainter.[Ch]:
316         * text.C:
317         * text2.C:
318         * undo.C: adjust
319
320         * output_plaintext.C: cleanup
321
322 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
323
324         * buffer.C:
325         * lyxtextclass.[Ch]: parametrize SGML document header
326
327 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
328
329         * converter.[Ch]:
330         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
331         getFlavor().
332
333 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
334
335         * text2.C (setFont): rework using PosIterator (no more recursive)
336         (setCharFont): no more needed
337         (setLayout): no more selection cursors fiddling (done by redoCursor)
338         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
339         destroy remaining ones)
340
341 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
342
343         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
344         * lyxtext.h: ditto
345         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
346         selection cursors
347         * lyxfunc.C: adjust
348         * text3.C: adjust + re-allow multi par depth changes
349         * textcursor.C: simplify a bit
350
351 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
352
353         * src/buffer.C:
354         * src/lyxlayout.C:
355         * src/lyxlayout.h:
356         * src/lyxtext.h:
357         * src/output_docbook.C:
358         * src/output_latex.C:
359         * src/paragraph.C:
360         * src/paragraph.h:
361         * src/sgml.C:
362         * src/sgml.h:
363         * src/text2.C: Introducing a number of tags parametrizing various
364         XML formats that we may want to support
365
366 2003-11-25  André Pönitz  <poenitz@gmx.net>
367
368         * InsetList.[Ch] (begein, end): inline as suggested by profiler
369
370         * lyxtext.h (leftMargin/rightMargin): simplify interface
371
372         * rowpainter.C:
373         * text.C:
374         * text2.C:
375         * text3.C: adjust
376
377 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
378
379         * lyxfunc.C (dispatch): propogate the bibtex databases from the
380         master file to any child files. Fixes bug 546.
381
382 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
383
384         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
385
386 2003-11-24  André Pönitz  <poenitz@gmx.net>
387
388         * rowpainter.C: simplification
389
390         * text2.C (updateCounters): remove call to redoParagraph on
391         changed labels as this is far too expensive.
392
393 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
394
395         * converter.C (convert): fix a crash: this function gets
396         called with buffer == 0 from importer code.
397
398 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
399
400         * text3.C (cursorPrevious): make sure that we do not compare
401         iterators form different containers.
402         (cursorNext): ditto
403
404         * rowpainter.C (paintSelection): make sure that we do not compare
405         iterators from different containers.
406
407         * text3.C (dispatch): [PRIOR] make sure that we do not compare
408         iterators from different ParagraphList containers.
409         [NEXT] ditto
410
411         * text2.C (LyXText): change order of initialization slightly
412         (operator=): new function. copy all variables except cache_par_
413         (moveUp): make sure that we do not compare iterators from
414         different ParagraphList constainers.
415         (moveDown): ditto
416
417         * text.C (firstPar): new function
418         (lastPar): new function
419         (endPar): new function
420
421         * lyxtext.h: move things around and group public functions, public
422         variables, private functions, private variables
423
424 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
425
426         * factory.C: change call to InsetERT constructor to avoid
427         additional invocation of method status
428         * text2.C (toggleInset): remove redundant update() call
429         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
430         instead of a Bufferview pointer
431
432 2003-11-21  André Pönitz  <poenitz@gmx.net>
433
434         * rowpainter.C: simplification
435
436 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
437
438         * text3.C (dispatch): make possible to extend a word/row selection
439         with the mouse
440
441 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
442
443         * lyxtext.h: x0_,y0_ -> xo_,yo_
444         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
445         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
446         * rowpainter.C (paintRows): paint full paragraphs
447
448 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
449
450         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
451         screen coordinates)
452
453 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
454
455         * lyxtext.h: add x0_, y0_
456         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
457         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
458
459 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
460
461         * text2.C (setCursorIntern): move the x_target update here *
462         * text3.C: change some bv() to true/false in calls to
463         cursorUp/Down/Right/Left
464         * cursor.C: use helper function.
465
466 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
467
468         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
469         * paragraph_funcs.[Ch]: correct comment
470         * rowpainter.C: do not paint selections away from bv->cursor()
471         Fix a long standing selection painting bug.
472         * text3.C: generalize mouse-selection code to LyXTexts other that
473         top one
474         * textcursor.C: do not use y coords if we can use par offsets
475
476 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
477
478         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
479         cursor position after e.g. inset insert)
480
481 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
482
483         * lyxfind.C (replace): adjust to locking removal + some
484         code simplification
485
486 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
487
488         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
489         of the path
490
491 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
492
493         * lyxlayout.[Ch]:
494         * output_docbook.C: XML sanitation: new layout
495         parameters InnerTag and CommandDepth
496
497 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
498
499         * BufferView_pimpl.C:
500         * factory.C:
501         * text3.C: Fix the insertion and modification of button-style
502         insets
503
504 2003-11-13  André Pönitz  <poenitz@gmx.net>
505
506         * InsetList.[Ch]: remove deleteLyXText
507
508         * paragraph.[Ch]: cache beginOfBody position
509
510         * Bidi.C:
511         * text.C:
512         * text2.C:
513         * text3.C: remove superfluous update() calls
514
515         * vspace.C: cleanup
516
517 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
518
519         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
520         * BufferView.C (fitLockedInsetCursor): remove
521         * cursor.[Ch] (getDim): add
522         * text.C (getRowNearY): add faster version
523         * text3.C: remove some update calls
524
525 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
526
527         * LaTeXFeatures.C:
528         * LyXAction.C:
529         * MenuBackend.C:
530         * MenuBackend.h:
531         * dispatchresult.h:
532         * factory.C:
533         * lfuns.h:
534         * lyxfunc.C:
535         * lyxtextclass.C:
536         * lyxtextclass.h:
537         * text3.C: The Character Style /XML short element patch.
538
539 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
540
541         * text3.C:
542         * factory.C: Small step to solving 'unable to insert some insets'
543         problem
544
545 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
546
547         * cursor.[Ch] (updatePos): new function for updating the y
548         position of the tip inset
549         * bufferview_funcs.C (put_selection_at):
550         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
551
552 2003-11-11  André Pönitz  <poenitz@gmx.net>
553
554         * text.C: remove big comment on invalid Paragraph pointers as it is
555         not valid anymore
556
557 2003-11-11  André Pönitz  <poenitz@gmx.net>
558
559         * text_funcs.[Ch]: merge with ...
560
561         * text.C: ... this
562
563         * lyxtext.h:
564         * text2.C:
565         * text3.C: adjust
566
567         * Makefile.am: remove text_funcs.[Ch]
568
569 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
570
571         * cursor.C (getPos): return absolute cached y coord
572
573         * BufferView_pimpl.C (fitCursor): new simplistic code
574         (workAreaDispatch): add a fitCursor call
575
576 2003-11-10  André Pönitz  <poenitz@gmx.net>
577
578         * BufferView.[Ch]:
579         * BufferView_pimpl.[Ch]: merge update() and updateInset()
580
581 2003-11-10  André Pönitz  <poenitz@gmx.net>
582
583         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
584         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
585         indicate that the cursor needs to leave an inset
586
587         * lyxtext.h: remove inset locking
588
589         * cursor.[Ch]: re-implement functionality provided by inset locking
590
591         * BufferView.[Ch]:
592         * BufferView_pimpl.[Ch]:
593         * LyXAction.C:
594         * bufferview_funcs.[Ch]:
595         * factory.C:
596         * funcrequest.[Ch]:
597         * iterators.C:
598         * lyx_cb.C:
599         * lyxfind.C:
600         * lyxfunc.C:
601         * text.C:
602         * text2.C:
603         * text3.C:
604         * undo.C: adjust
605
606 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
607
608         * PosIterator.[Ch]: replace the stack with a vector, add inset
609         accesor
610         * iterators.[C]: adjust
611
612 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
613
614         * lyxfind.C (replaceAll): mark the buffer dirty if something was
615         replaced
616         * paragraph_funcs.C (readParToken): put the correct id in the
617         error item, not the id of the top paragraph
618
619 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
620
621         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
622         * bufferview_funcs.C (put_selection_at): use the above
623
624 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
625
626         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
627
628 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
629
630         * output_linuxdoc.h:
631         * output_plaintext.h:
632         * output.h:
633         * output_docbook.h: add #include statements
634
635 2003-11-05  José Matos  <jamatos@lyx.org>
636
637         * output_docbook.[Ch]:
638         * output_latex.[Ch]:
639         * output_linuxdoc.[Ch]:
640         * output_plaintext.[Ch]: New files for output formats.
641         * output.[Ch]: New file for helper functions.
642
643         * buffer.[Ch]:
644         * paragraph_funcs.[Ch]: output functions moved to new files.
645
646         * outputparams.h: rename of latexrunparams.h
647
648         * LaTeX.[Ch]:
649         * buffer.[Ch]:
650         * bufferlist.[Ch]:
651         * converter.[Ch]:
652         * exporter.C:
653         * paragraph.[Ch]:
654         * paragraph_funcs.[Ch]:
655         * paragraph_pimpl.[Ch]:
656         * tabular.[Ch]: rename ascii to plaintext
657         and LatexRunParams to OutputParams.
658
659 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
660
661         * iterators.[Ch] (text): require bv argument
662         * undo.C (recordUndo):
663         * lyxfunc.C (dispatch):
664         * bufferview_funcs.C (put_selection_at): adjust
665
666 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
667
668         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
669
670 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
671
672         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
673         nestings
674
675 2003-11-04  André Pönitz  <poenitz@gmx.net>
676
677         * cursor.[Ch]: restructure
678
679         * BufferView.[Ch]:
680         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
681
682         * iterators.[Ch] (asCursor): remove
683
684         * lfuns.h: remove LFUN_INSET_EDIT
685
686         * lyxfunc.C:
687         * tabular.C:
688         * text.C:
689         * text2.C:
690         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
691
692 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
693
694         * lyxfind.[Ch]: complete overhaul
695         * BufferView_pimpl.C:
696         * lyxfunc.C: adjust
697         * paragraph.[Ch] (insert): add
698
699 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
700
701         * BufferView.[Ch]:
702         * lyxtext.h:
703         * text.C: remove dead spellcheck code
704
705 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
706
707         * dispatchresult.h: add a val setter
708
709         * cursor.C (dispatch): use a tempvar for data_[i]
710
711 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
712
713         * PosIterator.[Ch]: compile fix
714
715 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
716
717         * text.C (cursorPar): deactivate the cursor cache
718
719 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
720
721         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
722
723 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
724
725         * text3.C (dispatch): adjust for new DisptchResult semantics.
726
727         * lyxfunc.C (dispatch): handle update when return from
728         Cursor::dispatch, adjust for new DispatchResult semantics.
729
730         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
731         DispatchResult(true) mean to not update. Add class functions for
732         setting dispatched and update, as well as reading.
733
734         * cursor.C (dispatch): don't handle update here
735
736 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
737
738         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
739         * trans_mgr.C: adjust
740
741         * paragraph_funcs.C (readParToken): exception safety
742
743         * lyxvc.h: store the vcs pointer in a scoped_ptr
744         * lyxvc.C: adjust
745
746         * lyxsocket.C (serverCallback): exception safety
747
748         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
749
750         * ispell.C (clone): make it return a auto_ptr
751
752         * factory.C (createInset): exception safety
753         (readInset): exception safety
754
755         * bufferlist.C (newBuffer): exception safety
756
757         * Thesaurus.C (Thesaurus): use initialization for aik_
758
759         * MenuBackend.C (expandToc): exception safety.
760
761 2003-11-03  André Pönitz  <poenitz@gmx.net>
762
763         * buffer.C:
764         * buffer.h:
765         * bufferview_funcs.C: remove getInsetFromId()
766
767         * lyxcursor.[Ch]:
768         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
769
770         * lyxfunc.C:
771         * text2.C:
772         * text3.C: adjust
773
774 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
775
776         * PosIterator.C (distance, advance): new
777         * bufferview_funcs.[Ch] (put_selection_at): new
778         * iterators.[Ch] (lockPath): new
779
780 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
781
782         * iterators.[Ch] (asPosIterator): added
783         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
784         * PosIterator.[Ch]: added
785
786 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
787
788         * text3.C:
789         * lyxfunc.C:
790         * cursor.C (dispatch):
791         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
792
793         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
794         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
795         contructor, add a class function dispatched. Remove operator>=
796
797 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
798
799         * debug.C: only use the default constructor for debugstream
800         (lyxerr) here.
801
802         * main.C (main): include debug.h and setup the lyxerr streambuf
803         here.
804
805 2003-10-31  José Matos  <jamatos@lyx.org>
806
807         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
808
809         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
810         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
811         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
812         * paragraph_pimpl.C (simpleTeXSpecialC):
813         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
814         add LatexRunParams argument.
815
816         * exporter.C (Export): change call accordingly.
817
818         * latexrunparams.h: add new member to take care of the other backends.
819 2003-10-30  José Matos  <jamatos@lyx.org>
820
821         * buffer.C (makeLinuxDocFile, makeDocBookFile):
822         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
823         factorise code for paragraph output.
824         * buffer.[Ch]:
825         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
826         move functions.
827
828 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
829
830         * text3.C (dispatch):
831         * lyxfunc.C (dispatch):
832         * cursor.C (dispatch):
833         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
834
835         * dispatchresult.h: make the dispatch_result_t ctor explicit
836
837 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
838
839         * sgml.[Ch]:
840         * buffer.C: small refactoring of docbook stuff
841
842 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
843
844         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
845         meaning.
846
847 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
848
849         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
850         operator dispatch_result_t, and operators for == != and >=
851
852         * cursor.C (dispatch): adjust for operator dispatch_result_t
853         removal. comment out call to update
854
855         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
856
857 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
858
859         * text3.C:
860         * text2.C:
861         * text.C:
862         * lyxtext.h:
863         * lyxfunc.C:
864         * cursor.C:
865         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
866         (dispatch):
867
868         * dispatchresult.h: new file, DispatchResult broken out of
869         insets/insetbase.h
870
871         * Makefile.am (lyx_SOURCES): add dispatchresult.h
872
873 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
874
875         * text.C (rowBreakPoint): put a hack inside #if 0
876
877 2003-10-28  André Pönitz  <poenitz@gmx.net>
878
879         * lyxtext.h:
880         * metricsinfo.C:
881         * paragraph_funcs.C:
882         * rowpainter.C:
883         * text.C:
884         * text2.C: general cleanup (lots of small stuff)
885
886 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
887
888         * text2.C (cursorEnd): simple fix to the "end key goes to one
889         before the end on last row" bug
890
891 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
892
893         * text.C (backspace): fix the "zombie characters"
894
895 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
896
897         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
898
899 2003-10-27  André Pönitz  <poenitz@gmx.net>
900
901         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
902
903         * factory.C: handle new InsetPagebreak, InsetLine
904
905         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
906         and move handling into new InsetPagebreak, InsetLine
907
908         * BufferView_pimpl.C:
909         * LyXAction.C:
910         * ParagraphParameters.C:
911         * ParameterStruct.h:
912         * lyxfunc.C:
913         * lyxtext.h:
914         * paragraph.C:
915         * paragraph.h:
916         * paragraph_funcs.C:
917         * paragraph_pimpl.C:
918         * rowpainter.C:
919         * text.C:
920         * text2.C:
921         * text3.C: adjust
922
923 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
924
925         * text.C:
926         * lyxrow_funcs.[Ch]:
927         * Bidi.C:
928         * paragraph.C:
929         * lyxtext.h:
930         * rowpainter.C:
931         * text2.C:
932         * text3.C: remove lastPos uses in favour of Row::endpos
933
934 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
935
936         * undo.C (performUndoOrRedo): fix two crashes by setting a
937         cursor by hand and reordering some calls. Use bv->lockInset instead
938         of inset->edit because the latter loses cursor information
939
940 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
941
942         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
943         by Martin
944         (rowBreakPoint): fix width. change point to point + 1.
945         Add a missing check.
946
947 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
948
949         * MenuBackend.C:
950         * lyxfunc.C: fix (at least partly) the problems
951         with the Nav menu and headers inside branch insets
952         reported by Kayvan
953
954 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
955
956         * paragraph.C (getChar): add strong asserts
957
958         * lyxrow_funcs.C (lastPos): remove hideous hack
959
960         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
961         (fill): adjust to that (avoid an infinite loop)
962
963 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
964
965         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
966
967 2003-10-23  André Pönitz  <poenitz@gmx.net>
968
969         * RowList_fwd.h: change list<> to vector<> to gain speed
970         after suggestion from Alfredo
971
972 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
973
974         * lyxtext.h: move the bidi stuff from here...
975         * text.C: and here
976         * text2.C: and here
977         * Bidi.[Ch]: ... to here
978
979 2003-10-23  André Pönitz  <poenitz@gmx.net>
980
981         * lyxtext.h:
982         * text.C (isLastRow, isFirstRow): new functions
983
984         * paragraph.h: new width cache member
985
986         * rowpainter.C: replace RowList::iterator with Row & where possible
987
988         * lyxfunc.C: replace several view()->text with a single call
989
990         * toc.C: fix 'unused' warning
991
992 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
993
994         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
995         when woring with stream::pos_type
996         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
997
998 2003-10-22  André Pönitz  <poenitz@gmx.net>
999
1000         * lyxtext.h:
1001         * text.C: use Row & instead of RowList::iterator
1002
1003         * lyxrow.h: rename end() to endpos()
1004
1005         * rowpainter.C:
1006         * text.C:
1007         * text2.C: adjust
1008
1009 2003-10-22  Angus Leeming  <leeming@lyx.org>
1010
1011         * buffer.[Ch] (fully_loaded): new member function, returning true
1012         only when the file has been loaded fully.
1013         Used to prevent the premature generation of previews and by the
1014         citation inset to prevent computation of the natbib-style label.
1015
1016         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1017         templates are all set up.
1018
1019         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1020
1021 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1022
1023         * text.C: fixed an "oops" in the "is a bit silly"
1024         bug fix
1025
1026 2003-10-21  André Pönitz  <poenitz@gmx.net>
1027
1028         * FuncStatus.[Ch]: small stuff, whitespace
1029
1030         * lyxfont.[Ch]: operator<<() for debug reasons
1031
1032         * lyxfunc.C:
1033         * lyxrow_funcs.C:
1034         * lyxtext.h: whitespace, spelling
1035
1036         * paragraph.C: naming of variables
1037
1038         * text.C:
1039         * text2.C: small stuff
1040
1041
1042 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1043
1044         * text.C: (1) finish off the inset display() work;
1045         (2) fix the "is a bit silly" bug (accessing char
1046         past end of par).
1047
1048 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1049
1050         * text.C: re-introduce display() for insets, fixing the
1051         various bugs (stretch of line above, math inset
1052         positioning, ...)
1053
1054 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1055
1056         * text.C (rightMargin): remove spurious semicolon
1057
1058         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1059         1415)
1060
1061 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1062
1063         * text3.C: fix one crash due to wrong cursor def
1064
1065 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1066
1067         * vc-backend.C (scanMaster): make the regex static
1068
1069         * LaTeX.C (scanAuxFile): make the regexs static
1070
1071         * text3.C (doInsertInset, dispatch, dispatch):
1072         * text2.C (cursorUp, cursorDown):
1073         * text.C (selectNextWordToSpellcheck):
1074         * BufferView_pimpl.C (dispatch):
1075         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1076
1077 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1078
1079         * lyxsocket.C: include <cerrno>
1080
1081 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1082
1083         * lyxfunc.C (dispatch): remove textcache stuff
1084
1085         * bufferlist.C (release): remove textcache stuff
1086         (closeAll): ditto
1087
1088         * TextCache.C: delete file
1089         * TextCache.h: delete file
1090
1091         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1092
1093         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1094         delete of the bv_->text.
1095         (resizeCurrentBuffer): remove texcache stuff
1096         (workAreaResize): ditto
1097
1098 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1099
1100         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1101         action.
1102
1103 2003-10-16  André Pönitz  <poenitz@gmx.net>
1104
1105         * lyxrow.[Ch]:
1106         * paragraph.h:
1107         * rowpainter.C:
1108         * text.C:
1109         * text2.C:
1110         * text3.C: speed up by storing y positions per paragraph plus per-row
1111         offset instead of having a 'full' y position in the row.
1112
1113 2003-10-15  André Pönitz  <poenitz@gmx.net>
1114
1115         * iterators.[Ch]:
1116         * iterators.[Ch]:
1117         * undo.[Ch]: make undo aware of inner insets
1118
1119 2003-10-14  Angus Leeming  <leeming@lyx.org>
1120
1121         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1122         static member functions LyX::ref() and LyX::cref.
1123         (lastfiles): new accessor functions for the new lastfiles_ member var.
1124         (addLyXView, views_): add a new LyXView to the list of views_.
1125         (updateInset): loop over all LyXViews to call their own updateInset
1126         member function, returning a pointer to the Buffer owning the inset.
1127
1128         * BufferView_pimpl.C (loadLyXFile):
1129         * MenuBackend.C (expandLastfiles):
1130         * bufferlist.C (MenuWrite, QuitLyX):
1131         lastfiles is no longer a global variable.
1132         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1133
1134         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1135         static function. Access through LyX::cref().emergencyCleanup().
1136
1137 2003-10-14  André Pönitz  <poenitz@gmx.net>
1138
1139         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1140
1141         * undo.[Ch]: restoring part of 'undo in insets'
1142
1143         * Makefile.am:
1144         * undo_funcs.[Ch]: merge with undo.[Ch]
1145
1146         * tabular.C: small cleansing stuff
1147
1148 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1149
1150         * paragraph_funcs.C (readParToken): report unknown insets as error
1151         boxes. Use the outer paragraph as location (also for unknown
1152         tokens).
1153
1154         * factory.C (readInset): do not abort on reading an unknown inset.
1155         Eat it and return 0.
1156
1157 2003-10-13  Angus Leeming  <leeming@lyx.org>
1158
1159         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1160
1161         * lyxrc.C: displayTranslator is now a function,
1162         declared in GraphicsTypes.h.
1163
1164 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1165
1166         * format.C: new placeholder $$a to pass the socket address.
1167
1168         * bufferlist.[Ch]: new function getBufferFromTmp.
1169
1170         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1171           files in the temporary dir.
1172
1173 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1174
1175         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1176
1177         * Makefile.am: add lyxsocket.[Ch].
1178
1179         * lyx_main.C (error_handler): handle SIGPIPE.
1180
1181 2003-10-13  André Pönitz  <poenitz@gmx.net>
1182
1183         * BufferView_pimpl.C:
1184         * lyxtext.h:
1185         * text.C:
1186         * text2.C:
1187         * text3.C:
1188         * undo_funcs.[Ch]: use paroffset_type instead of
1189           ParagraphList::iterators to prevent multiple conversion
1190           (and get a more robust interface)
1191
1192 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1193
1194         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1195         * lyxtext.h: ditto
1196         * text3.C (dispatch): ditto
1197
1198 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1199
1200         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1201         move the onlyfile, use onlyfile instead of foundfile in a couple
1202         of places.
1203
1204         * DepTable.C (update): flush the error stream a bit more
1205
1206 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1207
1208         * lyxserver.C (callback): adjust
1209
1210         * lyxfunc.C (getStatus): add a missing brace in commented code
1211         (ensureBufferClean): reindent
1212         (dispatch): delete version taking a string
1213
1214 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1215
1216         * LaTeX.C (deplog): move found file handlig from here...
1217         (handleFoundFile): .. to new function here.
1218         (deplog): make sure to discover several files mentioned on the
1219         same log line.
1220
1221 2003-10-10  André Pönitz  <poenitz@gmx.net>
1222
1223         * lyxfunc.C:
1224         * lyxtext.h:
1225         * tabular.C:
1226         * text.C:
1227         * text2.C:
1228         * text3.C: fix some of the tabular crashes
1229
1230 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1231
1232         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1233
1234         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1235
1236 2003-10-09  André Pönitz  <poenitz@gmx.net>
1237
1238         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1239
1240         * BufferView.C:
1241         * BufferView_pimpl.C:
1242         * bufferview_funcs.C:
1243         * lyx_cb.C:
1244         * lyxcursor.C:
1245         * lyxfind.C:
1246         * lyxfunc.C:
1247         * lyxtext.h:
1248         * text.C:
1249         * text2.C:
1250         * text3.C:
1251         * text_funcs.[Ch]:
1252         * textcursor.[Ch]:
1253         * undo_funcs.C: adjust
1254
1255 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1256
1257         * text2.C (incrementItemDepth): new function, use a backtracking
1258         algorithm to discover the correct item depth.
1259         (resetEnumCounterIfNeeded): new function, use a backtracking
1260         algorithm to discover if counter reset is needed.
1261         (setCounter): use them. Simplify a bit. Add different labels for
1262         different item depths for itemize.
1263
1264         * paragraph.C (Paragraph): remove initialization of enumdepth
1265         (operator=): ditto
1266
1267         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1268         enumerate and itemize. Change the type of itemdepth to signed char.
1269
1270 2003-10-08  André Pönitz  <poenitz@gmx.net>
1271
1272         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1273           thing assignable.
1274         * text.C:
1275         * text2.C: adjust
1276
1277         * tabular.[Ch]: fix crash after 'row-insert'
1278
1279 2003-10-08  Angus Leeming  <leeming@lyx.org>
1280
1281         Fix doxygen warnings.
1282
1283         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1284         Remove CutAndPaste:: prefix from header file declaration.
1285
1286         * LColor.h (fill): remove LColor:: prefix from declaration.
1287
1288         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1289         use lyx::depth_type rather than Paragraph::depth_type so that
1290         header file and .C file match.
1291
1292         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1293
1294         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1295         * aspell.C: \file aspell_local.C -> \file aspell.C
1296         * gettext.C: \file gettext.C -> \file src/gettext.C
1297         * gettext.h: \file gettext.h -> \file src/gettext.h
1298         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1299         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1300         * text.C: \file text.C -> \file src/text.C
1301
1302         * toc.C: move comment so that doxygen is not confused.
1303
1304 2003-10-07  Angus Leeming  <leeming@lyx.org>
1305
1306         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1307
1308 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1309
1310         * aspell.C:
1311         * aspell_local.h: add forgotten std::string's.
1312
1313 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1314
1315         * LaTeXFeatures.C:
1316         * LyXAction.C:
1317         * factory.C:
1318         * lfuns.h:
1319         * lyxfunc.C:
1320         * text3.C: The Box patch. Fancybox support, minipage, parbox
1321
1322 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1323
1324         * CutAndPaste.h:
1325         * DepTable.h:
1326         * FloatList.h:
1327         * LaTeXFeatures.h:
1328         * ParagraphParameters.h:
1329         * TextCache.h:
1330         * Thesaurus.h:
1331         * bufferlist.h:
1332         * exporter.h:
1333         * importer.h:
1334         * lastfiles.h:
1335         * lyxfind.h:
1336         * lyxfont.h:
1337         * lyxlex.h:
1338         * lyxtextclasslist.h:
1339         * messages.h:
1340         * paragraph.h:
1341         * paragraph_pimpl.C:
1342         * textcursor.h: add <string> and other small fixes to make Lars'
1343         std::string patch compile with STLport.
1344
1345 2003-10-06  Angus Leeming  <leeming@lyx.org>
1346
1347         * LColor.h: Add missing #include <string>.
1348
1349 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1350
1351         * All most all file in all subdirs: Make <string> be the prefered
1352         way of getting to std::string, add using declarations.
1353
1354 2003-10-06  André Pönitz  <poenitz@gmx.net>
1355
1356         * metricsinfo.C: initialize LyXFont before changing attribute.
1357         (fixes the 'math in \emph is upright' bug)
1358
1359 2003-10-06  André Pönitz  <poenitz@gmx.net>
1360
1361         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1362
1363 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1364
1365         * graph.C:
1366         * paragraph_pimpl.C: Small fixes to build using STLport
1367
1368 2003-10-02  André Pönitz  <poenitz@gmx.net>
1369
1370         * lyxfunc.C:
1371         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1372
1373 2003-10-01  André Pönitz  <poenitz@gmx.net>
1374
1375         * factory.C: assert early
1376
1377 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1378
1379         * lyx_main.C: remove the global debug object
1380
1381         * debug.h: adjust for new debugstream
1382
1383         * debug.C: adjust for new debugstream and keep the global debug
1384         object here.
1385
1386 2003-09-22  Angus Leeming  <leeming@lyx.org>
1387
1388         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1389         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1390         an incomplete class LyXFont.
1391
1392 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1393
1394         * factory.C: bug fix in branches
1395
1396 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1397
1398         * lyxfunc.C (processKeySym): adjust
1399         (dispatch): adjust
1400         (dispatch): change arg name from ev to func, adjust
1401         (sendDispatchMessage): ditto
1402
1403         * lyx_main.C (defaultKeyBindings): adjust keybindings
1404         (deadKeyBindings): ditto
1405
1406         * kbsequence.C (addkey): return a FuncRequest
1407
1408         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1409
1410         * kbmap.C (bind): take a FuncRequest as arg, adjust
1411         (read): adjust
1412         (lookup): adjust
1413         (defkey): change to take a FuncRequest as arg, adjust
1414         (findbinding): take a FuncRequest as arg, adjust.
1415
1416         * funcrequest.h (operator=): added
1417
1418         * funcrequest.C (FuncRequest): default kb_action changed from
1419         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1420
1421         * buffer.C (dispatch): simplify
1422         (dispatch): adjust to take a FuncRequest as arg, adjust
1423
1424         * boost.C (assertion_failed): change assertion message slightly
1425
1426         * ToolbarBackend.C (read): simplify
1427
1428         * MenuBackend.C (binding): adjust call to findbinding, add a
1429         message if no binding is found.
1430         (read): simplify
1431         (expandToc): correct by adding a empty FuncRequest
1432
1433         * LyXAction.C: include <boost/assert.hpp>
1434         (isPseudoAction): delete function
1435         (LookupFunc): change name to...
1436         (lookupFunc): this. change return type to FuncRequest.
1437         (getActionName): take kb_action as arg, simplify
1438         (funcHasFlag): add an assert, simplify.
1439
1440 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1441
1442         * toc.C (action): return a FuncRequest, simplify
1443
1444         * lyxfunc.C (processKeySym): adjust
1445         (getStatus): delete version that takes an int.
1446         (getStatus): adjust
1447         (dispatch): delete version that takes action as int
1448         (dispatch): adjust
1449         (sendDispatchMessage): simplify and adjust
1450
1451         * funcrequest.C (getArg): take unsigned int as arg
1452
1453         * ToolbarBackend.C (read): adjust
1454         (add): delete version that takes func as a string.
1455         (getIton): take a FuncRequest as arg
1456
1457         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1458         action.
1459
1460         * MenuBackend.C (MenuItem): add a new construct that only takes a
1461         Kind, simplify the constructor use for submenus.
1462         (add): adjust
1463         (expandLastfiles): adjust
1464         (expandDocuments): adjust
1465         (expandFormats): adjust
1466         (expandFloatListInsert): adjust
1467         (expandFloatInsert): adjust
1468         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1469
1470         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1471         Remove class variables lyx_pseudo_map and lyx_arg_map
1472
1473         * LyXAction.C (searchActionArg): delete function
1474         (getPseudoAction): delete function
1475         (retrieveActionArg): delete function
1476         (LookupFunc): make it return kb_action, simplify.
1477         (getActionName): simplify
1478
1479         * factory.C (createInset): fix new bug
1480
1481 2003-09-19  Angus Leeming  <leeming@lyx.org>
1482
1483         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1484         masterFilename_ parameter in the include inset.
1485
1486         * factory.C (createInset): changes due to the changes to InsetInclude.
1487
1488 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1489
1490         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1491
1492 2003-09-18  Angus Leeming  <leeming@lyx.org>
1493
1494         * buffer.C:
1495         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1496         Inset::fillWithBibKeys.
1497         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1498
1499 2003-09-18  Angus Leeming  <leeming@lyx.org>
1500
1501         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1502         variables.
1503         (ctor): pass and store a 'Buffer const &'
1504         (buffer): new member function.
1505
1506         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1507         '*this' to the LaTeXFeatures ctor.
1508
1509 2003-09-18  Angus Leeming  <leeming@lyx.org>
1510
1511         * LColor.h:
1512         * lyxfont.C:
1513         * lyxfont.h:
1514         * lyxtext.h:
1515         * text.C: rename EnumLColor as LColor_color.
1516
1517 2003-09-18  Angus Leeming  <leeming@lyx.org>
1518
1519         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1520         remove #include "insets/insetbase.h" from cursor.h.
1521
1522 2003-09-18  Angus Leeming  <leeming@lyx.org>
1523
1524         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1525         InsetOld_code to remove #include "inset.h".
1526
1527         * iterators.C: add #include "insets/inset.h"
1528
1529 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1530
1531         * BufferView.C: remove more locking stuff that apparently doesn't
1532         do anything sensible.
1533
1534 2003-09-16  André Pönitz  <poenitz@gmx.net>
1535
1536         * paragraph.[Ch]:
1537         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1538           performance boost.
1539
1540 2003-09-16  Angus Leeming  <leeming@lyx.org>
1541
1542         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1543
1544         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1545         arg/return type.
1546
1547         * paragraph.h: remove #include "lyxfont.h". Forward declare
1548         LyXFont_size.
1549
1550 2003-09-16  Angus Leeming  <leeming@lyx.org>
1551
1552         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1553         of support/textutils.h.
1554         (isWord): move the contents of support/textutils.h's IsWordChar here.
1555
1556         * buffer.C:
1557         * lyxfind.C:
1558         * rowpainter.C:
1559         * text.C:
1560         * text2.C: add #include "paragraph.h".
1561
1562         * rowpainter.C:
1563         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1564
1565 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1566
1567         * main.C:
1568         * lyx_main.C:
1569         * lyx_cb.C:
1570         * buffer.C:
1571         * LaTeX.C: use namespace alias for lyx::support::os
1572
1573 2003-09-16  Angus Leeming  <leeming@lyx.org>
1574
1575         * bufferparams.C:
1576         * bufferview_funcs.C:
1577         * factory.C:
1578         * lyxfunc.C:
1579         * paragraph_pimpl.C:
1580         * rowpainter.C:
1581         * text.C: add #include "LColor.h".
1582
1583 2003-09-16  Angus Leeming  <leeming@lyx.org>
1584
1585         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1586         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1587         return LyXFont &.
1588         Store the FontBits::color variable as an int rather than as an
1589         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1590         file.
1591
1592         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1593         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1594         string calls together.
1595
1596         * lyxrc.C: add #include "LColor.h".
1597
1598 2003-09-15  Angus Leeming  <leeming@lyx.org>
1599
1600         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1601         a cow_ptr.
1602
1603 2003-09-15  Angus Leeming  <leeming@lyx.org>
1604
1605         * LColor.h: add an EnumLColor wrapper for LColor::color.
1606
1607         * lyxfont.[Ch] (color, setColor, realColor):
1608         * lyxtext.h, text.C (backgroundColor):
1609         pass EnumLColor args to/from the functions, rather than LColor::color
1610         ones.
1611
1612         * lyxfont.h:
1613         * lyxtext.h: forward declare EnumLColor.
1614
1615         * lyx_main.C: add #include "LColor.h".
1616
1617 2003-09-15  Angus Leeming  <leeming@lyx.org>
1618
1619         * .cvsignore: add lyx-gtk.
1620
1621 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1622
1623         * Chktex.C
1624         * LaTeX.C
1625         * LaTeXFeatures.C
1626         * ParagraphParameters.C
1627         * Spacing.C
1628         * buffer.C
1629         * bufferparams.C
1630         * bufferview_funcs.C
1631         * chset.C
1632         * counters.C
1633         * funcrequest.C
1634         * lyxfont.C
1635         * lyxgluelength.C
1636         * lyxlength.C
1637         * paragraph.C
1638         * paragraph_funcs.C
1639         * text3.C
1640         * vc-backend.C: remove usage of STRCONV
1641
1642 2003-09-15  Angus Leeming  <leeming@lyx.org>
1643
1644         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1645         explicitly define the color passed to the painter.
1646
1647 2003-09-15  Angus Leeming  <leeming@lyx.org>
1648
1649         * bufferparams.C (BufferParams): reorder member initializers to avoid
1650         compiler warning.
1651
1652 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1653
1654         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1655         * text.C (updateRowPositions): remove an unusual nop
1656
1657 2003-09-12  André Pönitz  <poenitz@gmx.net>
1658
1659         * BufferView_pimpl.C:
1660         * Bullet.C:
1661         * layout.h:
1662         * lyxfunc.C:
1663         * lyxlayout.[Ch]:
1664         * lyxtextclass.C:
1665         * rowpainter.C:
1666         * text.C:
1667         * text2.C:
1668         * Counters.[Ch]: finish the 'automatic counters' job
1669
1670 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1671
1672         * aspell.C: include <boost/assert.cpp> (compile fix)
1673
1674 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1675
1676         * boost.C (assertion_failed): use lyx::support::abort instead of
1677         assert.
1678
1679 2003-09-10  Angus Leeming  <leeming@lyx.org>
1680
1681         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1682         with their _fwd progeny.
1683
1684 2003-09-09  Angus Leeming  <leeming@lyx.org>
1685
1686         134 files throughtout the source tree: replace 'using namespace abc;'
1687         directives with the appropriate 'using abc::xyz;' declarations.
1688
1689 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1690
1691         * boost.C (emergencyCleanup): moved here from LAssert.c
1692         (assertion_failed): new function, called by BOOST_ASSERT
1693
1694         * several files: change Assert to BOOST_ASSERT
1695
1696 2003-09-09  Angus Leeming  <leeming@lyx.org>
1697
1698         * buffer.[Ch]: Add an Impl class and move Buffer's member
1699         variables into it. As a result move several header files out of
1700         buffer.h.
1701
1702         Add header files to lots of .C files all over the tree as a result.
1703
1704 2003-09-09  Angus Leeming  <leeming@lyx.org>
1705
1706         * buffer.[Ch]: make Buffer's member variables private. Add
1707         accessor functions.
1708
1709         Lots of changes all over the tree as a result.
1710
1711 2003-09-08  Angus Leeming  <leeming@lyx.org>
1712
1713         * graph.C: #include <config.h>.
1714
1715 2003-09-08  Angus Leeming  <leeming@lyx.org>
1716
1717         * BranchList.C:
1718         * BufferView.C:
1719         * BufferView_pimpl.C:
1720         * CutAndPaste.C:
1721         * DepTable.C:
1722         * LaTeX.C:
1723         * LaTeXFeatures.C:
1724         * LyXAction.C:
1725         * MenuBackend.C:
1726         * TextCache.C:
1727         * aspell.C:
1728         * buffer.C:
1729         * bufferlist.C:
1730         * changes.C:
1731         * chset.C:
1732         * converter.C:
1733         * counters.C:
1734         * debug.C:
1735         * graph.C:
1736         * ispell.C:
1737         * lyx_cb.C:
1738         * lyxfind.C:
1739         * lyxfunc.C:
1740         * lyxlex_pimpl.C:
1741         * lyxrc.C:
1742         * lyxrow.C:
1743         * paragraph.C:
1744         * rowpainter.C:
1745         * texrow.C:
1746         * text.C:
1747         * text2.C:
1748         * toc.C: remove redundant using directives.
1749
1750 2003-09-07  Angus Leeming  <leeming@lyx.org>
1751
1752         * LaTeXFeatures.h: remove #include "support/types.h".
1753         * ToolbarBackend.h: remove #include <algorithm>.
1754         * changes.h: remove #include <ctime>.
1755         * debug.h: remove #include <iosfwd>.
1756         * graph.h: remove #include "support/std_string.h".
1757         * lyx_main.h: remove #include <csignal>.
1758         * lyxlex_pimpl.h: remove #include <fstream>.
1759         * sgml.h: remove #include <algorithm>, <utility>.
1760         * toc.h: remove #include "support/std_ostream.h".
1761         Add #include <iosfwd>.
1762
1763 2003-09-07  Angus Leeming  <leeming@lyx.org>
1764
1765         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1766
1767         * converter.h: forward declare LatexRunParams.
1768         * encoding.h: remove #include "lyxrc.h".
1769         * lyxtext.h: remove #include "LColor.h".
1770         * lyxtextclass.h: remove #include "support/types.h".
1771         * trans.h: remove #include "tex-accent.h".
1772         * trans_mgr.h: remove #include "tex-accent.h".
1773         * insets/inset.h: remove #include "support/types.h", <vector>.
1774         * insets/insetcollapsable.h: remove #include "LColor.h".
1775         * insets/insetinclude.h: remove #include "dimension.h".
1776         * insets/insetlatexaccent.h: remove #include "dimension.h".
1777         * insets/insetoptarg.h:: remove #include "insettext.h".
1778         * insets/insettext.h: remove #include "dimension.h",
1779         <boost/shared_ptr.hpp>
1780
1781         * insets/renderers.h: add #include "dimension.h".
1782         * insets/updatableinset.h: add #include "support/types.h".
1783
1784         * many .C files: Associated changes.
1785
1786 2003-09-06  Angus Leeming  <leeming@lyx.org>
1787
1788         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1789         one, inside testInvariant.
1790
1791         * PrinterParams.C: new file.
1792         * PrinterParams.[Ch]: move the function bodies out of line.
1793
1794 2003-09-06  Angus Leeming  <leeming@lyx.org>
1795
1796         * ParagraphParameters.h: forward declare ParameterStruct rather than
1797         including its header file.
1798         (depth): moved out-of-line.
1799
1800 2003-09-06  Angus Leeming  <leeming@lyx.org>
1801
1802         * BufferView_pimpl.h:
1803         * kbmap.h:
1804         * kbsequence.h:
1805         * lyxfunc.h: forward declare LyXKeySym rather than
1806         #include "frontends/LyXKeySym.h".
1807
1808         * BufferView_pimpl.C:
1809         * kbmap.C:
1810         * kbsequence.C:
1811         * lyxfunc.C: associated changes.
1812
1813 2003-09-06  Angus Leeming  <leeming@lyx.org>
1814
1815         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1816         As a result, can remove the #include "insets/inset.h" from BufferView.h
1817
1818 2003-09-06  Angus Leeming  <leeming@lyx.org>
1819
1820         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1821         As a result, can remove the #include "insets/inset.h" from BufferView.h
1822
1823 2003-09-06  Angus Leeming  <leeming@lyx.org>
1824
1825         * buffer_funcs.C:
1826         * buffer.h:
1827         * bufferlist.C:
1828         * BufferView.C:
1829         * bufferview_funcs.C:
1830         * BufferView_pimpl.C:
1831         * CutAndPaste.C:
1832         * lyx_cb.C:
1833         * lyxfunc.C:
1834         * paragraph.h:
1835         * ParagraphParameters.C:
1836         * tabular.C:
1837         * text3.C:
1838         * toc.C:
1839         * undo_funcs.C:
1840         * frontends/controllers/ControlDocument.C:
1841         * insets/insetcaption.C: rearrange the #includes into some sort of
1842         coherent order.
1843
1844         * buffer.h: remove #includes ErrorList.h, undo.h
1845
1846 2003-09-06  Angus Leeming  <leeming@lyx.org>
1847
1848         * support/types.h: add a 'depth_type' typedef, used to store the
1849         nesting depth of a paragraph.
1850
1851         * paragraph.h:
1852         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1853         defining explicitly.
1854
1855         * buffer.h:
1856         * paragraph_funcs.h:
1857         * ParagraphParameters.h:
1858         * sgml.h: use lyx::depth_type rather than Paragraph or
1859         ParameterStruct's depth_type.
1860
1861         * buffer.h
1862         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1863
1864         * BufferView.C:
1865         * BufferView_pimpl.C:
1866         * CutAndPaste.C:
1867         * ParagraphParameters.C:
1868         * buffer_funcs.C:
1869         * bufferlist.C:
1870         * bufferview_funcs.C:
1871         * lyx_cb.C:
1872         * lyxfunc.C:
1873         * tabular.C:
1874         * text3.C:
1875         * toc.C:
1876         * undo_funcs.C:
1877         * frontends/LyXView.C:
1878         * frontends/controllers/ControlDocument.C:
1879         * frontends/controllers/ControlErrorList.C:
1880         * insets/insetbibitem.C:
1881         * insets/insetbranch.C:
1882         * insets/insetcaption.C:
1883         * insets/insetcollapsable.C:
1884         * insets/insetenv.C:
1885         * insets/insetert.C:
1886         * insets/insetfloat.C:
1887         * insets/insetfoot.C:
1888         * insets/insetfootlike.C:
1889         * insets/insetnewline.C:
1890         * insets/insetquotes.C:
1891         * insets/insettabular.C:
1892         * insets/insettext.C:
1893         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1894
1895         * frontends/controllers/ControlChanges.C: #include "changes.h".
1896
1897 2003-09-06  Angus Leeming  <leeming@lyx.org>
1898
1899         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1900         than #including paragraph.h.
1901
1902         * ParagraphList.h:
1903         * RowList.h: deleted. Superfluous.
1904
1905         * CutAndPaste.h:
1906         * iterators.h:
1907         * lyxcursor.h:
1908         * lyxtext.h:
1909         * text_funcs.h:
1910         * undo.h:
1911         * undo_funcs.h:
1912         * insets/inset.h:
1913         * insets/insettext.h: use ParagraphList_fwd.h rather than
1914         ParagraphList.h.
1915
1916         * paragraph.h: don't forward declare ParagraphList.
1917
1918         * buffer.h:
1919         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1920         rather than ParagraphList.h. paragraph.h is still needed for the
1921         Paragraph::depth_type parameters.
1922
1923         * textcursor.h: enable it to compile stand-alone in light of the
1924         above changes.
1925
1926         * bufferview_funcs.C:
1927         * iterators.C:
1928         * lyxfunc.C:
1929         * lyxrow_funcs.C:
1930         * paragraph.C:
1931         * rowpainter.C:
1932         * text.C:
1933         * text2.C:
1934         * text3.C:
1935         * text_funcs.C:
1936         * textcursor.C:
1937         * undo.C:
1938         * frontends/controllers/ControlParagraph.C:
1939         * frontends/controllers/ControlTabular.C:
1940         * insets/insetmarginal.C:
1941         * insets/insetminipage.C:
1942         * insets/insetnote.C:
1943         * insets/insetoptarg.C: add header files needed to compile again.
1944
1945 2003-09-06  Angus Leeming  <leeming@lyx.org>
1946
1947         * RowList_fwd.h: new file, forward-declaring Row rather than
1948         #including lyxrow.h.
1949
1950         * lyxrow_funcs.h:
1951         * lyxtext.h:
1952         * paragraph.h:
1953         * insets/insettext.h: use it instead of RowList.h
1954
1955         * bufferview_funcs.C:
1956         * lyxfunc.C:
1957         * lyxrow_funcs.C:
1958         * paragraph.C:
1959         * rowpainter.C:
1960         * text.C:
1961         * text2.C:
1962         * text3.C: #include "RowList.h".
1963
1964 2003-09-05  Angus Leeming  <leeming@lyx.org>
1965
1966         * factory.C (createInset):
1967         * vspace.C (c-tor): replace sscanf call with an istringstream.
1968         * ispell.C: re-add missing HP/UX headers.
1969         * lyxserver.C: re-add missing  os2 headers.
1970
1971 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1972
1973         * BranchList.C:
1974         * graph.C:
1975         * ispell.C:
1976         * lastfiles.C:
1977         * lyx_cb.C:
1978         * lyxserver.C:
1979         * texrow.C:
1980         * text3.C: re-add missing system headers, needed for 2.95.2.
1981
1982 2003-09-05  Angus Leeming  <leeming@lyx.org>
1983
1984         Changes most place everywhere due to the removal of using directives
1985         from support/std_sstream.h.
1986
1987 2003-09-05  Angus Leeming  <leeming@lyx.org>
1988
1989         Replace LString.h with support/std_string.h,
1990         Lsstream.h with support/std_sstream.h,
1991         support/LIstream.h with support/std_istream.h,
1992         support/LOstream.h with support/std_ostream.h.
1993
1994         Changes resulting throughout the tree.
1995
1996 2003-09-05  Angus Leeming  <leeming@lyx.org>
1997
1998         * sgml.h: ensure that the header file can be compiled stand-alone.
1999         * *.C: strip out redundant #includes. (320 in total.)
2000
2001 2003-09-04  Angus Leeming  <leeming@lyx.org>
2002
2003         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2004         here (from getPackages).
2005
2006         * debug.[Ch]: add a new EXTERNAL tag.
2007
2008 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2009
2010         * text2.C (cursorEnd): simplify
2011         (setCursor): adjust
2012         (getColumnNearX): adjust
2013
2014         * text.C (computeBidiTables): adjust
2015         (fill): adjust
2016
2017         * rowpainter.C (paintChars): adjust
2018         (paintSelection): adjust
2019         (paintChangeBar): adjust
2020         (paintText): adjust
2021
2022         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2023         lastPos instead.
2024         (numberOfSeparators): adjust
2025
2026 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2027
2028         * LyXAction.C:
2029         * box.[Ch]:
2030         * lfuns.h:
2031         * lyxfunc.C:
2032         * text3.C: Restricts the mouse click functionality
2033         of insets like bibtex, include, toc and floatlist to the visible
2034         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2035         up the dialogs. Cursor has to be in front of the inset (i.e.
2036         start of row) for this to function.
2037
2038 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2039
2040         * bufferview_funcs.C (currentState): output row information
2041
2042 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2043
2044         * bufferview_funcs.C (currentState): output paragraph position
2045
2046 2003-09-04  Angus Leeming  <leeming@lyx.org>
2047
2048         * FloatList.h: move out #include "Floating.h".
2049         * LaTeX.h: move out #include "DepTable.h".
2050         * LyXAction.h: move out #include "funcrequest.h".
2051         * buffer.h: move out #include "author.h", "iterators.h".
2052         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2053         * lyx_main.h: move out #include "errorlist.h".
2054         * lyxfunc.h: move out #include "FuncStatus.h".
2055         * lyxtext: move out #include "lyxcursor.h".
2056         * paragraph_pimpl.h: move out #include "counters.h".
2057
2058 2003-09-03  Angus Leeming  <leeming@lyx.org>
2059
2060         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2061         preamble_snippets list, enabling us to add snippets to the preamble
2062         only if the snippet was not there already.
2063
2064 2003-09-04  Angus Leeming  <leeming@lyx.org>
2065
2066         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2067
2068 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2069
2070         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2071         update
2072
2073 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2074
2075         * BranchList.C: point fix, earlier forgotten
2076
2077 2003-09-02  Angus Leeming  <leeming@lyx.org>
2078
2079         * box.C (contains): renamed from 'contained' after a fantastic
2080         amount of hot air.
2081
2082 2003-09-02  John Levon  <levon@movementarian.org>
2083
2084         * BufferView.C:
2085         * lyxcursor.h:
2086         * lyxcursor.C:
2087         * lyxfunc.C:
2088         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2089
2090 2003-09-02  John Levon  <levon@movementarian.org>
2091
2092         * text2.C: simplification of cursorEnd(), including partial
2093         fix for bug 1376
2094
2095 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2096
2097         * buffer.C (readFile): add a space
2098
2099 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2100
2101         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2102
2103 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2104
2105         * buffer.C (readFile): new function, take a filename and a
2106         ParagraphList::iterator
2107         (readFile): adjust
2108         (readFile): adjust, make it private. don't use setStream, make
2109         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2110         always contain the filename.
2111
2112         * BufferView.C (insertLyXFile): simplify and make it work for
2113         gzipped files.
2114
2115 2003-08-30  John Levon  <levon@movementarian.org>
2116
2117         * Makefile.am: fix dist (from Kayvan)
2118
2119 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2120
2121         * most files: change to use const Buffer refs
2122
2123 2003-08-27  André Pönitz  <poenitz@gmx.net>
2124
2125         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2126         on top of ownerPar().
2127
2128 2003-08-27  John Levon  <levon@movementarian.org>
2129
2130         * funcrequest.C: properly initialise POD members
2131
2132 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2133
2134         * lyxtext.h (top_y): move top_y from here
2135         * text.C:
2136         * text2.C:
2137         * text3.C:
2138         * BufferView.[Ch]:
2139         * BufferView_pimpl.[Ch]: to here
2140         * frontends/screen.C:
2141         * insets/insettabular.C:
2142         * insets/insettext.C: adjust
2143         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2144
2145 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2146
2147         * BufferView.[Ch]:
2148         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2149
2150 2003-08-26  André Pönitz  <poenitz@gmx.net>
2151
2152         * paragraph_func.[Ch] (outerPar): new function
2153
2154         * paragraph.C:
2155         * paragraph_funcs.C:
2156         * paragraph_funcs.h:
2157         * paragraph_pimpl.C:
2158         * text2.C: remove Inset::par_owner
2159
2160 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2161
2162         * lyxrow_funcs.C:
2163         * lyxtext.h:
2164         * text.C:
2165         * text2.C: eliminates the needFullRow/display() stuff
2166         altogether, putting the logic in metrics/draw in the insets.
2167
2168 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2169
2170         * text2.C (redoParagraphInternal, redoParagraphs):
2171         * text.C (redoParagraph): add a call to updateRowPositions at the
2172         end of each 'metrics-like' call. Remove all others.
2173         (getRow): remove the 'y-computing' version.
2174         (getRowNearY): do not compute nor return the real y. Solve the
2175         'y < 0' problem and simplify.
2176
2177 2003-08-22  Angus Leeming  <leeming@lyx.org>
2178
2179         * *.[Ch]: clean-up of licence and author blurbs.
2180         Also move config.h out of a few .h files and into a few .C files.
2181
2182 2003-08-22  André Pönitz  <poenitz@gmx.net>
2183
2184         * lyxrow.[Ch]: add x_ and *fill_ members
2185
2186         * lyxtext.h:
2187         * text.C:
2188         * rowpainter.C:
2189         * text2.C: adjust/remove prepareToPrint() calls
2190
2191 2003-08-22  André Pönitz  <poenitz@gmx.net>
2192
2193         * lyxrow.[Ch]: add  end_ member
2194
2195         * lyxrow_funcs.C: use LyXRow::end_
2196
2197         * lyxtext.h (singleWidth): add LyXFont parameter
2198
2199         * rowpainter.C:
2200         * text2.C: adjust LyXText::singleWidth() calls
2201
2202         * text.C (redoParagraph): simplify row breaking logic
2203
2204
2205 2003-08-19  André Pönitz  <poenitz@gmx.net>
2206
2207         * funcrequest.C: initialize button_ member
2208
2209         * text3.C:
2210         * rowpainter.[Ch]: interface consolidation
2211
2212 2003-08-18  André Pönitz  <poenitz@gmx.net>
2213
2214         * BufferView.C:
2215         * BufferView_pimpl.C:
2216         * lyxfind.C:
2217         * paragraph_funcs.C:
2218         * rowpainter.C:
2219         * text3.C: remove LyXScreen::draw() and fitCursor calls
2220
2221         * BranchList.h: remove spurious semicolons
2222
2223         * MenuBackend.C: fix branchlist related crash
2224
2225 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2226
2227         * BranchList.[Ch]:
2228         * InsetList.[Ch]:
2229         * LColor.[Ch]:
2230         * LyXAction.C:
2231         * Makefile.am:
2232         * MenuBackend.[Ch]:
2233         * bufferparams.[Ch]:
2234         * factory.C:
2235         * lfuns.h:
2236         * lyxfunc.C:
2237         * text3.C: implements the 'branch inset'
2238         idea. This allows the output of various versions of a document
2239         from a single source version, selectively outputing or suppressing
2240         output of parts of the text.
2241         This implementation contains a 'branch list editor' in a separate
2242         tab of the document settings dialog. Branches are user definable
2243         and have a "display colour" to distinguish them on-screen.
2244
2245         ColorHandler was somewhat cleaned up.
2246         (1) make possible a dynamically growing LColor list by allowing
2247         the graphic context cache to grow along (vector);
2248         (2) eliminate an IMHO unnecessary step in colour allocation.
2249
2250 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2251
2252         * BufferView_pimpl.C: compile fix
2253
2254 2003-08-15  André Pönitz  <poenitz@gmx.net>
2255
2256         * rowpainter.C: remove extra metrics calls
2257
2258         * lyxtext.h: merge the two constructors into a single one,
2259           pass reference to owner's par list
2260
2261         * BufferView_pimpl.C:
2262         * text.C:
2263         * text2.C: adjust
2264
2265 2003-08-15  André Pönitz  <poenitz@gmx.net>
2266
2267         * lyxrow_funcs.[Ch]:
2268         * lyxtext.h:
2269         * paragraph.h:
2270         * paragraph_funcs.C:
2271         * rowpainter.C:
2272         * text.C:
2273         * text2.C:
2274         * text3.C:
2275         * text_funcs.C: split LyXText::rowlist_ into individual
2276         Paragraph::rows_ chunks
2277
2278         * BufferView.[Ch]:
2279         * BufferView_pimpl.[Ch]:
2280         * lyxfind.C:
2281         * lyxtext.h:
2282         * text3.C: remove toggleSelection()
2283
2284 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2285
2286         * bufferlist.C: beautify two alerts (shorter text of buttons)
2287         * buffer.C: Remove redundant ' ' from message
2288         * tabular.h:
2289         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2290         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2291         rename VALIGN_CENTER to VALIGN_MIDDLE
2292
2293 2003-08-11  André Pönitz  <poenitz@gmx.net>
2294
2295         * lyxtext.h (getPar):
2296         * text.C: new function
2297
2298 2003-08-11  André Pönitz  <poenitz@gmx.net>
2299
2300         * Makefile.am:
2301         * tracer.[Ch]: remove unneeded files
2302
2303         * InsetList.[Ch]: remove resizeInsetsLyXText()
2304
2305         * lyxtext.h:
2306         * text.C:
2307         * text2.C:
2308         * text3.C: merge insertParagraphs() and appendParagraph()
2309         remove breakAgain(), update()
2310
2311         * BufferView_pimpl.[Ch]:
2312         * bufferview_funcs.[Ch]:
2313         * lyxfunc.C:
2314         * paragraph.[Ch]:
2315         * rowpainter.C:
2316         * tabular.C: adjust after text & InsetList changes.
2317
2318 2003-08-08  André Pönitz  <poenitz@gmx.net>
2319
2320         * text.C (insertChar, backspace): replace rowlist fiddling
2321         with rebreak of full par
2322
2323         * lyxtext.h:
2324         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2325         checkParagraph, updateInset): removed
2326
2327 2003-08-07  André Pönitz  <poenitz@gmx.net>
2328
2329         * paragraph.C:
2330         * text3.C: merge some LFUN handlers, remove dead code
2331
2332 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2333
2334         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2335
2336 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2337
2338         * text2.C (DEPM): fix part of bug 1255 and 1256
2339
2340 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2341
2342         * BufferView_pimpl.C (workAreaDispatch): change to use
2343         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2344         that are no mouse related.
2345
2346 2003-08-05  André Pönitz  <poenitz@gmx.net>
2347
2348         * BufferView.[Ch]:
2349         * BufferView_pimpl.[Ch]:
2350         * bufferview_funcs.C:
2351         * text2.C:
2352         * text3.C: rip out "deep update"
2353
2354         * textcursor.[Ch] (last_sel_cursor): remove unused member
2355
2356 2003-08-04  André Pönitz  <poenitz@gmx.net>
2357
2358         * BufferView.[Ch]:
2359         * BufferView_pimpl.[Ch]:
2360         * ParagraphParameters.C:
2361         * bufferview_funcs.C:
2362         * lyx_cb.C:
2363         * lyxfind.C:
2364         * lyxfunc.C:
2365         * text.C:
2366         * text2.C:
2367         * text3.C: replace "complicated" BufferView::update(...) calls with
2368         simpler ones.
2369
2370         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2371
2372 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2373
2374         * Makefile.am (lyx_SOURCES): add paper.h
2375
2376 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2377
2378         * Makefile.am: move things around so that both lyx-qt and
2379         lyx-xforms can be built (according to --with-frontend). Then lyx
2380         is a symbolic link to lyx-[firstfrontend]
2381
2382 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2383
2384         * Always use std::endl with lyxerr
2385
2386 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2387
2388         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2389
2390 2003-08-01  André Pönitz  <poenitz@gmx.net>
2391
2392         * BufferView.[Ch]:
2393         * BufferView_pimpl.[Ch]:
2394         * lyxfunc.C:
2395         * text3.C: merge BufferView::repaint() and BufferView::update()
2396
2397 2003-08-01  José Matos  <jamatos@lyx.org>
2398
2399         * buffer.[Ch]: file_format is no longer a buffer data element.
2400
2401 2003-08-01  André Pönitz  <poenitz@gmx.net>
2402
2403         * BufferView.C:
2404         * lyxtext.h:
2405         * text.C:
2406         * text2.C: make redoParagraph more independent of current cursor
2407
2408         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2409         * text.C:
2410         * text2.C: remove unneeded members
2411
2412 2003-07-30  André Pönitz  <poenitz@gmx.net>
2413
2414         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2415
2416         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2417           create a single function...
2418
2419         * paragraph_funcs.C (moveItem): ... here.
2420
2421         * text.C:
2422           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2423
2424 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2425
2426         * LColor.[Ch]: Add comment and greyedout logical colors.
2427
2428 2003-07-30  André Pönitz  <poenitz@gmx.net>
2429
2430         * tabular.C: don't use Assert too heavily. This crashes where it
2431           shouldn't
2432
2433 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2434
2435         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2436         is disabled (bug 1232)
2437
2438 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2439
2440         * factory.C: limited 'arg' scope
2441
2442 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2443
2444         * factory.C: fixed Note submenu issues
2445
2446 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2447
2448         * factory.C: submenu for Note/Comment/Greyedout
2449
2450 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2451
2452         * lyx_main.C (LyX):
2453         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2454
2455 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2456
2457         * LaTeXFeatures.C:
2458         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2459         greyedout. Patch provided by Jürgen Spitzmüller.
2460
2461 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2462
2463         * kbmap.C (read): fix error message when reading bind files
2464
2465 2003-07-29  Angus Leeming  <leeming@lyx.org>
2466
2467         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2468         certainly does not do what it purports to do. I am doing it, and
2469         us, a favour by killing it.
2470
2471 2003-07-28  José Matos  <jamatos@lyx.org>
2472
2473         * buffer.C (readBody, do_writeFile):
2474         * paragraph.C(readParagraph): \end_document replaces \the_end.
2475
2476 2003-07-29  André Pönitz  <poenitz@gmx.net>
2477
2478         * BufferView.[Ch]:
2479         * BufferView_pimpl.[Ch]:
2480         * lyxfunc.C:
2481         * text2.C:
2482         * text3.C:
2483         * textcursor.[Ch]: remove toggleToggle & Co
2484
2485 2003-07-28  José Matos  <jamatos@fep.up.pt>
2486
2487         * buffer.C (readParagraph):
2488         * params_func (readParToken, readParagraph):
2489         * paragraph.C (write): \layout -> \begin_layout.
2490
2491 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2492
2493         * lyxlex_pimpl.C (setFile): clean up slightly.
2494
2495         * bufferparams.h: add compressed var
2496
2497         * buffer_funcs.C (readFile): adjust for LyXLex change
2498         (newFile): ditto + simplify
2499
2500         * buffer.C (writeFile): handle writing of compressed files
2501
2502         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2503         Check if the file is compressed and set a bufferparm if so.
2504
2505         * Makefile.am (lyx_LDADD): remove explicit -lz
2506
2507 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2508
2509         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2510         makeDocBookFile): put the real LyX version in the first line of
2511         the file
2512
2513         * version.h:
2514         * version.C.in: remove lyx_docversion
2515
2516         * tabular.C (write_attribute): add a template-based version to
2517         write enums properly
2518
2519 2003-07-28  André Pönitz  <poenitz@gmx.net>
2520
2521         * lyxtext.h:
2522         * text.C:
2523         * text2.C:
2524         * text3.C: use doubles again for x-coordinates. They are needed.
2525
2526 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2527
2528         * messages.C (getLocaleDir): use lyx_localedir()
2529
2530         * lyxlex_pimpl.C (setFile): compress stuff
2531
2532         * buffer.C (writeFile): add some compression stuff
2533         (do_writeFile): new func, dont call expliti close... will this
2534         breake anything?
2535
2536         * Makefile.am (lyx_LDADD): add -lz
2537
2538 2003-07-28  José Matos  <jamatos@fep.up.pt>
2539
2540         * buffer.C: increment file format.
2541         * paragraph_funcs (readParagraph, readParToken):
2542         * paragraph.C (readParagraph): add \end_layout.
2543
2544 2003-07-27  Angus Leeming  <leeming@lyx.org>
2545
2546         * Makefile.am: remove special casing for configure-time setting of
2547         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2548
2549         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2550         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2551
2552 2003-07-26  André Pönitz  <poenitz@gmx.net>
2553
2554         * paragraph_func.[Ch]:
2555         * paragraph.C (realizeFont): inline it whereever it is used
2556
2557         * rowpainter.C:
2558         * text.C:
2559         * text2.C:
2560         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2561
2562
2563 2003-07-26  André Pönitz  <poenitz@gmx.net>
2564
2565         *       lyxtext.h:
2566         * text.C:
2567         * text2.C: get rid of LyXText::need_break_row
2568
2569 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2570
2571         * toc.[Ch]: put namespace toc inside namespace lyx
2572
2573         * MenuBackend.C (expandToc2): adjust for lyx::toc
2574         (expandToc): ditto
2575
2576         * lyxfunc.C (dispatch): adjust for lyx::find
2577
2578         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2579         lyx::find instead. Reorganize a bit.
2580         (LyXReplace): rename to replace
2581         (LyXFind): rename to find
2582
2583         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2584         (dispatch): ditto
2585
2586 2003-07-26  André Pönitz  <poenitz@gmx.net>
2587
2588         * text.C (setHeightOfRow): restrict scope of temporary variable
2589
2590         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2591           code (never has been used?)
2592
2593 2003-07-27  Asger Alstrup  <alstrup@local>
2594
2595         * text.C (fill): Optimise algorithm to exploit that we can reuse
2596         the LyXFont for many characters.
2597         (setHeightOfRow): Same thing.
2598         (rowBreakPoint): Same thing.
2599
2600 2003-07-26  Asger Alstrup  <alstrup@local>
2601
2602         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2603
2604         * text.C (singleWidth): Spurious font copying in hot-spot
2605         singleWidth avoided. Reorder tests for arabic for efficiency.
2606
2607         * text.C (fill): handle empty paragraphs better.
2608
2609 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2610
2611         * ispell.C:
2612         * encoding.h: add includes
2613
2614         * lyxrc.C: remove reading of bind files
2615
2616         * lyx_main.C (init): setup bindings and menus only if we have a
2617         gui.
2618
2619         * kbmap.C (read): new method. Do the actual reading of bind
2620         files.
2621
2622         * converter.C (dvipdfm_options):
2623         * bufferparams.C:
2624         * lyxrc.C (read):
2625         (output): adapt PAPER_* enums.
2626
2627         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2628
2629         * bufferparams.h: remove paper-related enums from there
2630
2631         * paper.h: New file. A trivial header file to hold paper-related
2632         enums. It should later expand to contain many paper-related
2633         horrors access.
2634
2635         * lyxrc.C: declare extern displayTranslator
2636
2637 2003-07-27  José Matos  <jamatos@fep.up.pt>
2638
2639         * tabular.[Ch] (linuxdoc): add support for tables and figures
2640         (linuxdoc).
2641
2642 2003-07-27  José Matos  <jamatos@fep.up.pt>
2643
2644         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2645         consistency in both functions.
2646         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2647
2648 2003-07-26  Asger Alstrup  <alstrup@local>
2649
2650         * rowpainter.C (paintRows): Change algorithm to work directly on
2651         the insets rather than asking every character in the document
2652         whether its an inset.
2653
2654 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2655
2656         * buffer.C (openFileWrite): factorize some code
2657
2658 2003-07-26  Angus Leeming  <leeming@lyx.org>
2659
2660         * lyx_cb.C:
2661         * lyx_main.[Ch]: replace occurances of system_tempdir with
2662         os::getTmpDir().
2663
2664 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2665
2666         * rename Inset to InsetOld
2667
2668 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2669
2670         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2671         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2672         which I think is a bit clearer. EDIT is gone, since it was
2673         premature optimisation, and broken for mathed anyway.
2674         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2675         with cursor positioning in insets as well (math insets still do not
2676         work, but that's a different story anyway.) It mysteriously
2677         crashes sometimes with undo in the first paragraph, but I'm fairly
2678         confident that this is a compiler bug.
2679
2680 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2681
2682         * paragraph.C (Paragraph): adjust for new clone return type
2683         (operator==): ditto
2684         (copyIntoMinibuffer): ditto
2685
2686 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2687
2688         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2689         by not having a special case, and always doing a full rebreak of
2690         the document after undo.
2691
2692 2003-07-23  Angus Leeming  <leeming@lyx.org>
2693
2694         * factory.C (createInset): InsetExternal::setParams now takes a
2695         Buffer const * arg.
2696
2697 2003-07-23  Angus Leeming  <leeming@lyx.org>
2698
2699         * factory.C (createInset): changed interface to the external and
2700         graphics mailers' string2params functions.
2701
2702 2003-07-23  Angus Leeming  <leeming@lyx.org>
2703
2704         * factory.C (createInset): pass a
2705         Buffer const * parameter to InsetExternalMailer's string2params.
2706
2707 2003-07-22  John Levon  <levon@movementarian.org>
2708
2709         * Thesaurus.h: include the right aiksaurus header
2710
2711 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2712
2713         * MenuBackend.C (expand): check menu shortcuts unconditionally
2714
2715 2003-07-21  Angus Leeming  <leeming@lyx.org>
2716
2717         * factory.C (createInset): pass a
2718         buffer_path parameter to InsetGraphicsMailer's string2params.
2719
2720 2003-07-21  Angus Leeming  <leeming@lyx.org>
2721
2722         * BufferView_pimpl.C (buffer):
2723         * buffer.C (d-tor):
2724         * lyx_main.C (LyX):
2725         * lyxfunc.C (dispatch):
2726         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2727         rather than the grfx shortcut.
2728
2729 2003-07-21  André Pönitz  <poenitz@gmx.net>
2730
2731         * rowpainter.C: remove unused variables
2732
2733         * tabular_funcs.C:
2734         * tabular_funcs.h: move to tabular.C
2735         * Makefile.am: adjust
2736
2737         * tabular.[Ch]: basic optical cleaning
2738
2739         * author.h: pass references, not values
2740
2741 2003-07-18  André Pönitz  <poenitz@gmx.net>
2742
2743         * lyxtext.h:
2744         * metricsinfo.C:
2745         * metricsinfo.h:
2746         * rowpainter.C:
2747         * text.C:
2748         * text2.C:
2749         * text3.C: two-phase drawing for InsetText and InsetTabular
2750         some float -> int changes.
2751
2752 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2753
2754         * lyx_main.C: fix the fix
2755
2756 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2757
2758         * lyx_main.C: fix a crash in batch mode if no files specified
2759         * converter.C: ws
2760
2761 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2762
2763         * format.[Ch] (papersize): moved to BufferParams
2764         * converter.[Ch] (dvips_options): moved to BufferParams
2765         (dvipdfm_options): moved to anon namespace
2766         * bufferparams.[Ch]: added above functions.
2767
2768 2003-07-17  André Pönitz  <poenitz@gmx.net>
2769
2770         * lyxtext.h:
2771         * rowpainter.C:
2772         * text2.C: don't call inset->update() anymore
2773
2774         * metricsinfo.[Ch]: add convenience constructor
2775
2776 2003-07-16  André Pönitz  <poenitz@gmx.net>
2777
2778         * lyxcursor.[Ch]:
2779         * lyxfunc.[Ch]:
2780         * text.C:
2781         * text2.C: replace the LyXCursor::irow_ member with
2782          on-demand computation of the value
2783
2784 2003-07-16  John Levon  <levon@movementarian.org>
2785
2786         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2787
2788 2003-07-15  André Pönitz  <poenitz@gmx.net>
2789
2790         * text.C:
2791         * text2.C: remove no more needed refresh_row
2792
2793 2003-07-15  André Pönitz  <poenitz@gmx.net>
2794
2795         * lyxtext.h:
2796         * rowpainter.C:
2797         * text2.C:
2798         * text3.C: refresh_status tristate -> need_update bool
2799
2800 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2801
2802         * lyxtext.h (init): remove reinit argument (act as if always true)
2803         * text2.C: adjust to that
2804
2805 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2806
2807         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2808         * text3.C: use it to delete selections in some cases
2809         (bugs 441, 673, 702, 954).
2810
2811 2003-07-14  André Pönitz  <poenitz@gmx.net>
2812
2813         * rowpainter.[Ch]: reduce interface
2814
2815 2003-07-14  André Pönitz  <poenitz@gmx.net>
2816
2817         * BufferView_pimpl.C:
2818         * text2.C: adjust after removing unused BufferView * argument
2819
2820 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2821
2822         * text2.C (init): fix a crash fired on resize
2823
2824 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2825
2826         * buffer.[Ch]: added new closing signal
2827         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2828         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2829         BufferView::Pimpl via the closing the signal
2830
2831 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2832
2833         * buffer.[Ch]: take out all bv-related from buffer
2834         * BufferView.C:
2835         * BufferView_pimpl.[Ch]: connect to new signals
2836         * CutAndPaste.C: removed useless asserts
2837         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2838         * lyxvc.[Ch]:
2839         * vc-backend.[Ch]:
2840         * lyxfunc.C: moved view-related funciontality from vc here
2841         * paragraph.C: removed outdated comments
2842         * text.C: ws
2843
2844 2003-07-10  André Pönitz  <poenitz@gmx.net>
2845
2846         * BufferView_pimpl.C:
2847         * tabular.h:
2848         * tabular_funcs.C:
2849         * text.C:
2850         * text2.C: remove InsetText::InnerCache, clean up consequences
2851
2852 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2853
2854         * ispell.C: fix two typos in error messages
2855
2856 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2857
2858         * Extend Note inset to other forms of annotation like Comment
2859         and Greyedout. Right button click gives dialog.
2860
2861         Files modified or added (+):
2862
2863         * insetnote.[Ch]
2864         * FormNote.[Ch]      +
2865         * ControlNote.[Ch]   +
2866         * form_note.fd       +
2867         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2868         frontends/controllers
2869         * xforms/Dialogs.C
2870         * factory.C
2871
2872 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2873
2874         * aspell.C: add missing namespace lyx::support
2875
2876 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2877
2878         * BufferView.[Ch] (newFile): Add
2879         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2880         * LaTeX.[Ch] (message): added this signal and use it
2881         * buffer.[Ch] (busy, message): added these signals and use them
2882         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2883         * converter.C:
2884         * exporter.C:
2885         * format.C:
2886         * importer.C: use buffer signals instead of direct bv calling
2887         * lyx_cb.[Ch] (ShowMessage): removed
2888         * lyx_main.C:
2889         * lyxfunc.C:
2890         * paragraph_funcs.C:
2891         * text2.C: use buffer signals
2892
2893 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2894
2895         * introduce namespace lyx::graphics
2896
2897 2003-07-02  André Pönitz  <poenitz@gmx.net>
2898
2899         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2900
2901 2003-07-01  André Pönitz  <poenitz@gmx.net>
2902
2903         * text.C:
2904         * text2.C:
2905         * text3.C:
2906         * text_funcs.[Ch]:
2907         * textcursor.h:
2908         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2909           text*.C to text_func.C
2910
2911 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2912
2913         * introduce namespace lyx::support
2914
2915 2003-06-30  André Pönitz  <poenitz@gmx.net>
2916
2917         * Chktex.C:
2918         * funcrequest.C:
2919         * lyxtext.h:
2920         * text.C: re-enable --with-included-string
2921
2922 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2923
2924         * textcursor.C: add <config.h>
2925
2926         * text.C (getWord): remove const from word_location arg
2927
2928         * lyxvc.C (getLogFile): fix const type order
2929
2930         * lyxtext.h: remove const from word_location arg, add arg name
2931
2932         * lyxlayout.h: currect type on labeltype.
2933
2934         * importer.C: correct \file
2935
2936         * converter.C (intToFormat): use std:: on ret val, ws changes
2937
2938         * bufferlist.h: correct \file
2939
2940         * buffer.C (makeLinuxDocFile): fix const type order
2941         (makeDocBookFile): ditto
2942         (fillWithBibKeys): use std:: on stdlib args.
2943
2944         * CutAndPaste.C: fix authors.
2945         (availableSelections): use std:: on return vector
2946
2947 2003-06-27  André Pönitz  <poenitz@gmx.net>
2948
2949         * BufferView_pimpl.C:
2950         * bufferview_funcs.C:
2951         * lyxcursor.C:
2952         * lyxcursor.h:
2953         * lyxfunc.C:
2954         * lyxtext.h:
2955         * rowpainter.C:
2956         * text.C:
2957         * text2.C:
2958         * text3.C: remove LyXCursor::row_ member
2959
2960         * lyxtext.h:
2961         * text.C: rename fullRebreak() to partialRebreak() and implement
2962           a fullRebreak() that really bereks fully
2963
2964         * textcursor.h: new struct for cursor-related data
2965
2966 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2967
2968         * lyx_main.C (LyX): get full path of document loaded on the
2969         command line
2970
2971 2003-06-26  André Pönitz  <poenitz@gmx.net>
2972
2973         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2974           remove unused/broken operator>,<,>=.
2975
2976         *       text.C: remove only use of broken operator<= in an Assert().
2977
2978 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2979
2980         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2981         moved errorlist_.clear to showErrorList
2982
2983 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2984
2985         * converter.C (scanLog, runLaTeX):
2986         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2987         move the bv->showErrorList call to the callers
2988         * lyxfunc.C: i.e. here...
2989         * text2.C: and here
2990         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2991         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2992         namespace, the second to...
2993         * buffer_funcs (BufferFormat, parseErrors): added
2994         * errorlist.C (ErrorList(TeXErrors const &)): removed
2995
2996 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2997
2998         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2999
3000 2003-06-24  "Garst R. Reese" <reese@isn.net>
3001
3002         * debug.C: fix typo
3003
3004 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3005
3006         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3007
3008         * version.C.in: change docversion to 1.4
3009
3010 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3011
3012         * buffer.C: fix a bug just introduced
3013
3014 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3015
3016         * buffer.[Ch]: added the parseError signal and use it, removed
3017         sgmlError
3018         * BufferView.[Ch] (addError): moved to ...
3019         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3020         to the Buffer::parseError signal to catch (guess what) parse errors
3021         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3022
3023 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3024
3025         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3026         ability to create a buffer and to return an existing one from
3027         the list. Moved these functions to...
3028         * buffer_funcs.[Ch]: added
3029         * BufferView.[Ch] (loadLyXFile): added
3030         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3031         job removed from bufferlist::loadLyXFile.
3032         * buffer.C (setReadOnly): make it work without view
3033         (i.e added an if (users))
3034
3035 2003-06-19  Angus Leeming  <leeming@lyx.org>
3036
3037         * lfuns.h:
3038         * LyXAction.C (init):
3039         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3040         with LFUN_DIALOG_SHOW <name> <data>.
3041
3042 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3043
3044         * CutAndPaste.C (availableSelections): small compilation fix for
3045         ancient (gcc 2.9x) compilers
3046
3047 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3048
3049         * text3.C (cursorNext): add tmp var
3050
3051         * text2.C (updateCounters): for function calling out of for clause
3052         (replaceSelectionWithString): ditto
3053         (insertStringAsParagraphs): ditto
3054         (getColumnNearX): add tmp var
3055         (setCursorFromCoordinates): add tmp var
3056         (cursorDownParagraph): add tmp var
3057         (deleteEmptyParagraphMechanism): add tmp var
3058
3059         * text.C (insertChar): add tmp var
3060
3061         * rowpainter.C (paintDepthBar): add tmp var
3062
3063         * CutAndPaste.C (availableSelections): potentially check all
3064         paragraphs in a cut to fill the shown strings.
3065
3066 2003-06-18  André Pönitz  <poenitz@gmx.net>
3067
3068         * kbmap.[Ch]: use vector<> instead of list<>
3069
3070 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3071
3072         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3073         pasteSelection with index
3074
3075         * text2.C (pasteSelection): modify, call pasteSelection with index
3076
3077         * paragraph.C (asString): reimplement version with no interval to
3078         call the one with interval.
3079
3080         * lyxtext.h: add index arg to pasteSelection
3081
3082         * MenuBackend.C (MenuItem): handle PasteRecent
3083         (Menu::read::Menutags): add md_pasterecent
3084         (read): handle it
3085         (expandPasteRecent): new function
3086         (expand): use it
3087
3088         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3089
3090         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3091         the limited stack
3092         (availableSelections): new function
3093
3094 2003-06-17  Angus Leeming  <leeming@lyx.org>
3095
3096         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3097
3098 2003-06-17  Angus Leeming  <leeming@lyx.org>
3099
3100         * lfuns.h:
3101         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3102
3103         * lyxfunc.C (dispatch): invoke it.
3104
3105 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3106
3107         * iterators.C (operator++, ParPosition): reintroduce some
3108         const_cast for the benefit of older compilers.
3109
3110 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3111
3112         * text3.C (dispatch): do not modify clipboard when doing
3113         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3114         LFUN_DELETE_SKIP on a selection selection
3115
3116 2003-06-16  André Pönitz  <poenitz@gmx.net>
3117
3118         * BufferView.C:
3119         * buffer.C:
3120         * buffer.h:
3121         * paragraph.C:
3122         * tabular.[Ch]: IU of clone() and getLabelList();
3123
3124 2003-06-13  André Pönitz  <poenitz@gmx.net>
3125
3126         * tabular.h: compactification
3127
3128 2003-06-12  André Pönitz  <poenitz@gmx.net>
3129
3130         * tabular.C:
3131         * tabular.h:
3132         * tabular_funcs.h: some renaming plus whitespace
3133
3134 2003-06-12  André Pönitz  <poenitz@gmx.net>
3135
3136         * BufferView.C:
3137         * BufferView_pimpl.C:
3138         * CutAndPaste.C:
3139         * buffer.C:
3140         * iterators.[Ch]:
3141         * lyxfunc.C:
3142         * text.C:
3143         * toc.C: Return a Paragraph & for ParIterator::operator*()
3144
3145 2003-06-11  John Levon  <levon@movementarian.org>
3146
3147         * lyx_main.C:
3148         * ToolbarBackend.h:
3149         * ToolbarBackend.C: add "Toolbars" section and
3150         put the flags there
3151
3152 2003-06-10  Angus Leeming  <leeming@lyx.org>
3153
3154         * lfuns.h:
3155         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3156
3157         * lyxfunc.C (dispatch): invoke it.
3158
3159 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3160
3161         * main.C: protect <ios> with HAVE_IOS
3162         (main): protect sync_with_stdio with HAVE_IOS
3163
3164 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3165
3166         * text2.C (cutSelection): adjust
3167         (pasteSelection): adjust
3168
3169         * messages.C: handle get of empty string
3170
3171         * main.C (main): use sync_with_stdio(false)
3172
3173         * lyxfunc.C (dispatch): adjust
3174
3175         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3176         (WriteAs): remove unneeded BufferView arg.
3177
3178         * bufferparams.h: use correct types on papersize, papersize2 and
3179         paperpackage.
3180
3181         * bufferparams.C (readToken): adjust for type
3182         (writeLaTeX): add missing cases to switch.
3183
3184         * bufferlist.C (quitWriteBuffer): adjust
3185         (close): adjust
3186
3187         * buffer.C (asciiParagraph): remove some commented code.
3188
3189         * CutAndPaste.C: remove current_view extern variable.
3190         (cutSelection): add BufferParams arg.
3191         (eraseSelection): add BufferParams arg.
3192         (pasteSelection): add Buffer const & arg
3193
3194 2003-06-07  John Levon  <levon@movementarian.org>
3195
3196         * buffer.C:
3197         * paragraph_funcs.C:
3198         * paragraph_pimpl.C:
3199         * text.C:
3200         * text2.C:
3201         * paragraph.h:
3202         * paragraph.C: allow InsetERT to freely space lines,
3203         and some consolidation of code
3204
3205 2003-06-06  José Matos  <jamatos@fep.up.pt>
3206
3207         * buffer.C (makeDocBookFile): fix bug #821
3208
3209 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3210
3211         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3212
3213 2003-06-04  Angus Leeming  <leeming@lyx.org>
3214
3215         * buffer.C: bump format to 224.
3216
3217 2003-06-05  André Pönitz  <poenitz@gmx.net>
3218
3219         * text2.C (redoParagraphs): remove two const_cast<>
3220
3221 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3222
3223         * ParagraphList.h: remove last remnants of NO_STD_LIST
3224
3225 2003-06-03  Angus Leeming  <leeming@lyx.org>
3226
3227         * factory.C (createInset): small change to the way InsetExternal's params
3228         are set.
3229
3230 2003-06-04  André Pönitz  <poenitz@gmx.net>
3231
3232         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3233
3234         * paragraph_pimpl.h:
3235         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3236
3237         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3238
3239         * undo_funcs.C: make some simple cases of undo work again
3240
3241 2003-06-03  John Levon  <levon@movementarian.org>
3242
3243         * ispell.C: HPUX doesn't have sys/select.h
3244         (from Albert Chin)
3245
3246 2003-06-03  John Levon  <levon@movementarian.org>
3247
3248         * CutAndPaste.C: update tabular and include inset
3249         buffer references
3250
3251         * buffer.h:
3252         * paragraph.h:
3253         * paragraph.C: remove owningBuffer(), don't pass Buffer
3254         to clone()
3255
3256         * factory.C: insetGraphicsParams changed
3257
3258 2003-06-02  John Levon  <levon@movementarian.org>
3259
3260         * LyXAction.C:
3261         * factory.C:
3262         * lfuns.h:
3263         * lyxfunc.C:
3264         * text3.C: remove insetparent
3265
3266 2003-06-02  John Levon  <levon@movementarian.org>
3267
3268         * buffer.h:
3269         * buffer.C: fix inset_iterator.end(), move out of line
3270         (bug 1149)
3271
3272 2003-06-01  John Levon  <levon@movementarian.org>
3273
3274         * text3.C: use a proper cut/paste when doing inset
3275         insert (from Jürgen Spitzmüller)
3276
3277 2003-06-01  John Levon  <levon@movementarian.org>
3278
3279         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3280
3281 2003-05-30  André Pönitz  <poenitz@gmx.net>
3282
3283         * rowpainter.C: unify second drawing phase
3284
3285 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3286
3287         * trans_mgr.C: remove one case of current_view
3288
3289         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3290
3291         * paragraph_funcs.h: remove paragraph.h include
3292
3293         * paragraph.h: delete NO_STD_LIST stuff
3294
3295         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3296
3297         * buffer.h: remove paragraph.h include
3298
3299         * ParagraphList.C: delete file
3300
3301         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3302
3303         * toc.C (getTocList): adjust
3304
3305         * paragraph_pimpl.C (validate): adjust
3306
3307         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3308
3309         * paragraph.C (Paragraph): adjust
3310         (getPositionOfInset): use const_iterator, adjust
3311         (bibitem): use const_iterator, adjust
3312         (setInsetOwner): adjust
3313
3314         * iterators.C (operator++): adjust
3315
3316         * InsetList.[Ch]: Replace selfmade iterator with standard
3317         vector::iterator also introduce const_iterator. Remove getPos,
3318         getInset and setInset from InsetTable. Adjust accordingly.
3319
3320         * BufferView.C (lockInset): adjust
3321         (ChangeInsets): adjust
3322
3323         * tabular.[Ch]: delete commented same_id functions
3324
3325 2003-05-28  John Levon  <levon@movementarian.org>
3326
3327         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3328
3329 2003-05-28  André Pönitz  <poenitz@gmx.net>
3330
3331         * metricsinfo.[Ch]: remove 'fullredraw' member
3332
3333 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3334
3335         * lyxtextclass.C (operator): remove caching.
3336
3337 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3338
3339         * text3.C: adjust
3340
3341         * text2.C (cursorBottom): adjust
3342         (setCounter): use ParagraphList::find, adjust
3343
3344         * text.C (workWidth): use ParagraphList::find, adjust
3345
3346         * lyxcursor.C (LyXCursor): adjust
3347
3348         * buffer.C (inset_iterator): adjust
3349
3350         * ParagraphList.h: make iterator(value_type) private, make
3351         ParagraphList a friend of iterator.
3352
3353         * ParagraphList.C (find): new function
3354
3355         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3356
3357 2003-05-27  André Pönitz  <poenitz@gmx.net>
3358
3359         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3360
3361 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3362
3363         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3364
3365 2003-05-26  John Levon  <levon@movementarian.org>
3366
3367         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3368
3369 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3370
3371         * remove same_id from function signatures, adjust.
3372
3373 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3374
3375         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3376
3377         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3378
3379         * paragraph.C (Paragraph): get rid of same_ids parameter
3380
3381         * ParagraphList.C (insert): adjust
3382         (push_back): adjust
3383
3384 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3385
3386         * paragraph_funcs.C (breakParagraph): adjust
3387         (breakParagraphConservative): adjust
3388
3389         * buffer.C (readParagraph): adjust
3390
3391         * ParagraphList.C (insert): take a reference instead of a pointer
3392         (insert): adjust
3393
3394         * paragraph.[Ch] (id): new function
3395
3396         * bufferlist.C (newFile): adjust
3397
3398         * ParagraphList.C (ParagraphList): adjust
3399         (assign): adjust
3400         (push_back): take a reference instead of a pointer.
3401
3402         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3403
3404         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3405         instead.
3406
3407         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3408         set else use old code.
3409
3410         * ParagraphList.C: remove all NO_NEXT code and only compile this
3411         code of NO_STD_LIST is set.
3412
3413 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3414
3415         * BufferView_pimpl.C:
3416         * TextCache.C:
3417         * TextCache.h:
3418         * bufferlist.C:
3419         * errorlist.h:
3420         * format.C:
3421         * format.h:
3422         * graph.C:
3423         * lyxfunc.C:
3424         * lyxrc.C:
3425         * graphics/GraphicsConverter.C:
3426         * graphics/PreviewLoader.C: header adjustment
3427
3428 2003-05-23  Angus Leeming  <leeming@lyx.org>
3429
3430         * LaTeXFeatures.[Ch] (useBabel): new method.
3431         * bufferparams.C (writeLaTeX): use it.
3432
3433 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3434
3435         * ParagraphList.h (set): remove unused function.
3436
3437 2003-05-23  André Pönitz  <poenitz@gmx.net>
3438
3439         * BufferView.C:
3440         * BufferView_pimpl.C:
3441         * buffer.C:
3442         * buffer.h:
3443         * lyxfunc.C:
3444         * undo_funcs.C: setUndo reworked
3445
3446         * iterators.[Ch]: add access to topmost ParagraphList
3447
3448         * lyxtext.[Ch] (workWidth): add a const
3449
3450 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3451
3452         * texrow.[Ch] (increasePos): remove function
3453         * exporter.C (export): removed unused var and outdated comment
3454
3455 2003-05-23  Angus Leeming  <leeming@lyx.org>
3456
3457         * latexrunparams.h: rename fragile as moving_arg.
3458         * paragraph.C (simpleTeXOnePar): ditto.
3459         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3460
3461 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3462
3463         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3464         (createUndo): ditto
3465         (textUndoOrRedo): comment out a currently unused var.
3466
3467         * paragraph.h (NO_NEXT): enable NO_NEXT
3468
3469         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3470
3471         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3472
3473         * exporter.C (Export): adjust for removeAutoInsets removal.
3474
3475         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3476
3477         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3478
3479         * BufferView.[Ch] (removeAutoInsets): delete function
3480
3481 2003-05-22  Angus Leeming  <leeming@lyx.org>
3482
3483         * latexrunparams.h: add a free_spacing variable.
3484
3485         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3486         to pass moving_arg, as the data is stored in runparams.fragile.
3487
3488         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3489         to Inset::latexOptional or to simpleTeXOnePar.
3490
3491         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3492         free_spacing arg to Inset::latexOptional.
3493
3494         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3495         free_spacing arg.
3496
3497 2003-05-22  Angus Leeming  <leeming@lyx.org>
3498
3499         * latexrunparams.h: add fragile and use_babel variables.
3500
3501         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3502         * buffer.C (makeLaTeXFile): store this returned value in
3503         runparams.use_babel, thus passing it to the inset::latex methods.
3504
3505         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3506         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3507
3508         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3509         longer has a fragile arg, as it is stored in runparams.fragile.
3510
3511         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3512         moving_arg parameter as the data is stored in runparams.fragile.
3513
3514         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3515         a fragile parameter as the data is stored in runparams.fragile.
3516
3517 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3518
3519         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3520
3521 2003-05-22  Angus Leeming  <leeming@lyx.org>
3522
3523         * latexrunparams.h: add a 'bool nice' which defaults to false.
3524
3525         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3526         now encapsulated within runparams.
3527
3528         * bufferlist.C (updateIncludedTeXfiles):
3529         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3530
3531 2003-05-22  Angus Leeming  <leeming@lyx.org>
3532
3533         * latexrunparams.h: new file containing struct LatexRunParams.
3534         * Makefile.am: add new file.
3535
3536         * LaTeX.[Ch] (c-tor, run):
3537         * buffer.[Ch] (makeLaTeXFile):
3538         * bufferlist.[Ch] (updateIncludedTeXfiles):
3539         * converter.C (convert, scanLog):
3540         * converter.[Ch] (runLaTeX):
3541         * exporter.C (Export):
3542         * paragraph.[Ch] (simpleTeXOnePar):
3543         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3544         * paragraph_funcs.[Ch] (latexParagraphs):
3545         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3546         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3547         pass around a LatexRunParams parameter.
3548
3549 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3550
3551         * paragraph.[Ch]: remove unused constructor
3552
3553         * ParagraphList.C (erase): new function, taking two iterators
3554
3555 2003-05-22  André Pönitz  <poenitz@gmx.net>
3556
3557         * undo_funcs.C: remove duplicated code
3558
3559         * iterator.[Ch]: operator=
3560
3561 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3562
3563         * tabular.C (SetMultiColumn): ws changes
3564
3565         * rowpainter.C (paintFirst): get rid of a ->previous
3566
3567         * lyx_cb.C (getPossibleLabel): parlist simplification
3568
3569         * BufferView.C (ChangeInsets): simplify slightly.
3570
3571 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3572
3573         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3574         * lfuns.h: new LFUN_SPACE
3575         * lyxfunc.C: protected space has a new lfun
3576         * paragraph_funcs.C: read new space insets
3577         * text3.C:
3578         * factory.C: handle new space insets
3579
3580 2003-05-22  André Pönitz  <poenitz@gmx.net>
3581
3582         * BufferView.C:
3583         * BufferView_pimpl.C:
3584         * buffer.[Ch]:
3585         * lyxfunc.C:
3586         * undo_funcs.C: return a ParIterator from getParFromID.
3587
3588         * iterators.[Ch]: add two const's
3589
3590 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3591
3592         * toc.C (getTocList): adjust
3593
3594         * iterators.[Ch]: rework for parlist
3595
3596         * buffer.C (par_iterator_begin): adjust
3597         (par_iterator_end): adjust
3598
3599         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3600
3601         * BufferView.C (removeAutoInsets): adjust
3602         (ChangeInsets): adjust
3603
3604 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3605
3606         * text.C (top_y): fix bug 1110
3607
3608 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3609
3610         * errorlist.[Ch]: added
3611         * buffer.C:
3612         * BufferView.[Ch]:
3613         * BufferView_pimpl.C:
3614         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3615         instead
3616
3617 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3618
3619         * Makefile.am: ensure that lyx is relinked upon changes to the
3620         various "convenience" libs.
3621
3622 2003-05-20  Angus Leeming  <leeming@lyx.org>
3623
3624         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3625         files are compiled in alphabetical order again.
3626
3627         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3628
3629 2003-05-19  Angus Leeming  <leeming@lyx.org>
3630
3631         * gettext.[Ch]: remove "char const * _(char const *)".
3632
3633 2003-05-19  André Pönitz  <poenitz@gmx.net>
3634
3635         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3636
3637         * Makefile.am:
3638         * BufferView.C:
3639         * DepTable.h:
3640         * LaTeXFeatures.C:
3641         * buffer.C:
3642         * lyxfont.C:
3643         * lyxlex.h:
3644         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3645
3646 2003-05-19  André Pönitz  <poenitz@gmx.net>
3647
3648         * buffer.C:
3649         * lyxlayout.[Ch]:
3650         * lyxtextclass.[Ch]:
3651         * paragraph.C:
3652         * paragraph_funcs.[Ch]:
3653         * text2.C:
3654         * text3.C: more insetenv work
3655
3656 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3657
3658         * ParagraphParameters.C (params2string): small bug fixed
3659
3660 2003-05-16  André Pönitz  <poenitz@gmx.net>
3661
3662         * debug.C:
3663         * bufferview_funcs.C: patch from Kornel Benko to prevent
3664           crash when _(...) is called twice in a statement
3665
3666 2003-05-16  André Pönitz  <poenitz@gmx.net>
3667
3668         * BufferView.C:
3669         * lyxfunc.C:
3670         * text.C:
3671         * text2.C:
3672         * text3.C:
3673         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3674
3675 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3676
3677         * lyx_main.C (init): remove spurious static_cast
3678
3679 2003-05-14  André Pönitz  <poenitz@gmx.net>
3680
3681         * BufferView.C: fix format string
3682
3683 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3684
3685         * BufferView.[Ch] (insertErrors): removed
3686         * BufferView.[Ch] (showErrorList): added
3687         * buffer.C (runChkTeX):
3688         * converter.C (scanLog): call showErrorList instead of inserterrors
3689
3690 2003-05-13  André Pönitz  <poenitz@gmx.net>
3691
3692         * BufferView_pimpl.C:
3693         * buffer.C:
3694         * bufferview_func.C:
3695         * MenuBackend.C:
3696         * lyxfunc.C:
3697         * lyxrc.C:
3698         * tex-accent.C:
3699         * text3.C:
3700         * toc.C:
3701         * tabular_funcs.h: tostr() from its own header
3702
3703         * ParagraphParameters.C:
3704         * ToolbarBackend.C:
3705         * bufferparams.C:
3706         * format.C:
3707         * lyxlex_pimpl.C:
3708         * text3.C: STRCONV()
3709
3710 2003-05-12  André Pönitz  <poenitz@gmx.net>
3711
3712         * BufferView.C:
3713         * BufferView_pimpl.C:
3714         * CutAndPaste.C:
3715         * LaTeX.C:
3716         * LaTeXFeatures.C:
3717         * ParagraphParameters.C:
3718         * buffer.C:
3719         * bufferlist.C:
3720         * bufferparams.C:
3721         * bufferview_funcs.C:
3722         * converter.C:
3723         * counters.C:
3724         * debug.C:
3725         * exporter.C:
3726         * format.C:
3727         * importer.C:
3728         * lyx_cb.C:
3729         * lyx_main.C:
3730         * lyxfont.C:
3731         * lyxfunc.C:
3732         * lyxvc.C:
3733         * paragraph.C:
3734         * paragraph_funcs.C:
3735         * tabular.C:
3736         * tabular_funcs.C:
3737         * text2.C:
3738         * text3.C:  boost::format -> bformat  all over the place
3739
3740
3741 2003-05-09  André Pönitz  <poenitz@gmx.net>
3742
3743         * LColor.[Ch]: Pimpl the #include <map> away
3744
3745 2003-05-09  John Levon  <levon@movementarian.org>
3746
3747         * bufferlist.C: never remove emergency saves
3748
3749 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3750
3751         * Makefile.am: better lib building
3752
3753 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3754
3755         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3756         instead.
3757         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3758         (simpleTeXSpecialChars): adjust
3759         (simpleTeXSpecialChars): adjust
3760         * paragraph.C (simpleTeXOnePar): adjust
3761         * buffer.C (makeLaTeXFile): adjust
3762
3763         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3764
3765         * text2.C (changeDepth): parlist cleanup
3766         (getColumnNearX): ditto
3767
3768         * rowpainter.C (getLabelFont): parlist cleanup
3769
3770         * bufferlist.C (newFile): parlist cleanup
3771
3772         * CutAndPaste.C (eraseSelection): parlist cleanup
3773
3774         * BufferView_pimpl.C (trackChanges): parlist cleanup
3775         (dispatch): ditto
3776
3777         * BufferView.C (lockInset): parlist cleanup.
3778         (ChangeInsets): ditto
3779
3780 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3781
3782         * CutAndPaste.h: Update file header.
3783
3784         * CutAndPaste.C: Update file header.
3785         Store the parts cut out of the Document in a limited_stack.
3786         (copySelection): adjust
3787         (pasteSelection): new function, takes the index in the limited stack.
3788         (nrOfParagraphs): adjust
3789         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3790         simplify error inset insertion.
3791         (checkPastePossible): adjust
3792
3793 2003-05-06  John Levon  <levon@movementarian.org>
3794
3795         * text2.C: don't cast wrap inset to float
3796
3797 2003-05-05  André Pönitz  <poenitz@gmx.net>
3798
3799         * iterator.C:
3800         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3801
3802         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3803           few naked Paragraph *.
3804
3805 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3806
3807         * bufferparams.C: Output warning if a document with missing
3808         TeX document class is loaded
3809         * exporter.C: Disable TeX exports if the document class is missing
3810         * lyxtextclass.C:
3811         * lyxtextclass.h:
3812         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3813         isTeXClassAvailable()
3814
3815 2003-05-03  John Levon  <levon@movementarian.org>
3816
3817         * BufferView.h:
3818         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3819         explicit cursor show/hide
3820
3821         * BufferView_pimpl.h:
3822         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3823         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3824
3825         * lyxfunc.C: hide cursor before dispatching.
3826
3827         * lyx_cb.C:
3828         * lyxfind.C:
3829         * text.C:
3830         * text3.C: remove explicit cursor hides
3831
3832 2003-05-02  André Pönitz  <poenitz@gmx.net>
3833
3834         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3835
3836         * undo_funcs.C:
3837         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3838           linked lists
3839
3840         * text2.C: tiny whitespace
3841
3842 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3843
3844         * undo_funcs.C: almost only ws changes.
3845
3846         * ParagraphList.C (splice): just return if pl is empty.
3847
3848 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3849
3850         * ParagraphList.C (splice): new function.
3851
3852         * CutAndPaste.C (pasteSelection): use it
3853
3854 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3855
3856         * CutAndPaste.C (pasteSelection): remove the last next and
3857         previous from this file.
3858
3859 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3860
3861         * CutAndPaste.C (pasteSelection): more clean up, user proper
3862         ParagraphList functions for pasteing.
3863
3864         * ParagraphList.C (insert): new function, three arg insert
3865
3866 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3867
3868         * ParagraphList.C (insert): new function, three arg insert
3869
3870         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3871         not on paragraphs.
3872
3873 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3874
3875         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3876
3877 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3878
3879         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3880
3881 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3882
3883         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3884         (copySelection): clean up a bit.
3885         (pasteSelection): use make_pair
3886
3887         * ParagraphList.C (ParagraphList): implement copy constructor
3888         (operator=): implement, base on copy constructor.
3889         (assign): new func
3890
3891         * paragraph.C (erase): return a bool
3892
3893         * paragraph_pimpl.C (erasePos): remove function, move contents...
3894         (erase): ... here. Return a bool.
3895         (erase): call erase instead of erasePos.
3896
3897 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3898
3899         * ParagraphList.h: define PitPosPair
3900         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3901         ParagraphList, fix a bug on pasting multiple pars
3902         * text2.C: change interface to C&P
3903
3904 2003-04-30  André Pönitz  <poenitz@gmx.net>
3905
3906         * undo_func.C: revert part of yesterday's patch 2
3907
3908 2003-04-30  John Levon  <levon@movementarian.org>
3909
3910         * LColor.C: s/tabular/table/
3911
3912 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3913
3914         * text3.C (dispatch): do not convert iterator -> pointer
3915         * undo_funcs.C (setCursorParUndo): ditto
3916         * text_funcs.C (transposeChars): ditto
3917
3918         * text2.C (setLayout): ws changes only
3919
3920         * text.C (breakParagraph): do not convert iterator -> pointer
3921         (insertChar): ditto
3922         (acceptChange): ditto
3923         (rejectChange): ditto
3924         (changeCase): ditto
3925         (Delete): ditto
3926         (backspace): ditto
3927
3928         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3929         pointer
3930
3931 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3932
3933         * text3.C (gotoInset): YABG (yet another bad getChar)
3934
3935 2003-04-29  André Pönitz  <poenitz@gmx.net>
3936
3937         * paragraph.h: make operator= private unimplemented as long as
3938           it is unusable
3939
3940         * ParagraphList.C: whitespace
3941
3942         * paragraph.[Ch]:
3943         * paragraph_pimpl.[Ch]:
3944         * paragraph_funcs.C:
3945         * CutAndPaste.C:
3946         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3947
3948         * text2.C:
3949           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3950
3951 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3952
3953         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3954         * paragraph.[Ch] (erase):
3955         * paragraph_pimpl.[Ch] (erase): change return type and value
3956         * text2.C (cutSelection): some rework
3957
3958 2003-04-28  John Levon  <levon@movementarian.org>
3959
3960         * bufferlist.C: changes for unsaved changes dialog
3961
3962 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3963
3964         * bufferlist.C (newFile): set language (messages_) for new
3965         documents also.
3966
3967         * buffer.C (readFile): ws changes only.
3968
3969 2003-04-28  André Pönitz  <poenitz@gmx.net>
3970
3971         * undo_funcs.C:
3972         * lyxfunc.C:
3973         * buffer.[Ch]:
3974         * BufferView_pimpl.C:
3975         * BufferView.C: getParFromID related ParagraphList::iterator changes
3976
3977 2003-04-28  André Pönitz  <poenitz@gmx.net>
3978
3979         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3980           Changes
3981
3982 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3983
3984         * messages.C: remove one more localedir class variable.
3985
3986 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3987
3988         * messages.C (getLocaleDir): singleton generation function
3989         (Pimpl): use it.
3990         (Messages): add a default constructor.
3991
3992         * main.C (main): do not setup localedir here, do not call
3993         gettext_init.
3994
3995         * gettext.C (_): use it.
3996         (gettext_init): delete funciton
3997
3998 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3999
4000         * gettext.C (getLyXMessages): new singleton generating function.
4001
4002         * buffer.C (updateDocLang): adjust
4003
4004         * Makefile.am (messages.o): add target
4005         (main.o): remove target
4006
4007 2003-04-27  John Levon  <levon@movementarian.org>
4008
4009         * bufferlist.C:
4010         * lyx_cb.C:
4011         * lyxfunc.C:
4012         * lyxvc.C: specify cancel button in Alert::prompt
4013
4014 2003-04-26  John Levon  <levon@movementarian.org>
4015
4016         * text3.C:
4017         * lyxfunc.C:
4018         * lfuns.h:
4019         * LyXAction.C: add LFUN_INSET_SETTINGS
4020
4021         * lyxfunc.C: don't enable tabular-feature when there's
4022         just any locking inset
4023
4024 2003-04-26  John Levon  <levon@movementarian.org>
4025
4026         * bufferlist.C: re-add Cancel to buffer close question
4027
4028         * lyxfunc.C: fix import UI a bit
4029
4030 2003-04-25  John Levon  <levon@movementarian.org>
4031
4032         * gettext.C: remove the broken asserts for now
4033
4034 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4035
4036         * messages.C: make case where setlocale cannot comply work better.
4037
4038         * buffer.C (updateDocLang): new function
4039         (changeLanguage): use it
4040         (readFile): use it
4041
4042         * text2.C (setCounter): use B_ a bit.
4043
4044         * lyxlayout.C (Read): be sure to trim the label strings.
4045
4046         * messages.C (Messages): fix typo in comment
4047
4048         * buffer.C (readFile): set message_ after file is loaded.
4049         (makeDocBookFile): remove double return
4050         (changeLanguage): reset message_ upon language change.
4051         (B_): new func, use this to get translated buffer strings.
4052
4053         * main.C: add myself and Jean Marc as authors.
4054
4055 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4056
4057         * messages.[hC]: pimplify Messages, and three different pimpls to be
4058         used in different circumstances.
4059
4060         * gettext.[Ch]: change for use with new message code.
4061
4062 2003-04-24 André Pönitz <poenitz@gmx.net>
4063
4064         * factory.C: support for eqref
4065
4066 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4067
4068         * messages.[Ch]: add missing char
4069
4070         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4071
4072         * messages.[Ch]: New files
4073
4074 2003-04-18  John Levon  <levon@movementarian.org>
4075
4076         * BufferView.h:
4077         * BufferView.C:
4078         * BufferView_pimpl.C:
4079         * lfuns.h:
4080         * LyXAction.C:
4081         * lyxtext.h:
4082         * text2.C: remove layout-copy/paste (bug 778)
4083
4084 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4085
4086         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4087
4088 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4089
4090         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4091         if they succeed. Act accordingly.
4092
4093 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4094
4095         * text2.C (setCharFont): adjust
4096         (setCounter): adjust
4097         (insertStringAsLines): adjust
4098
4099         * text.C (leftMargin): adjust
4100         (setHeightOfRow): adjust
4101
4102         * rowpainter.C (paintFirst): adjust
4103         (paintLast): adjust
4104
4105         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4106         (outerHook): ditto
4107         (isFirstInSequence): ditto
4108         (getEndLabel): ditto
4109         (outerFont): adjust
4110
4111         * paragraph.C (getParLanguage): comment out some hard stuff.
4112
4113         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4114         (sgmlError): ditto
4115         (simpleDocBookOnePar): ditto
4116         (makeDocBookFile): use ParagraphList::iterator
4117
4118         * CutAndPaste.C (pasteSelection): adjust
4119
4120 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4121
4122         * text2.C (getFont): adjust
4123         (getLayoutFont): adjust
4124         (getLabelFont): adjust
4125
4126         * paragraph_funcs.C (TeXOnePar): adjust
4127
4128         * buffer.C (simpleLinuxDocOnePar): adjust
4129         (simpleDocBookOnePar): adjust
4130
4131         * CutAndPaste.C (pasteSelection): adjust
4132
4133         * BufferView.C (getEncoding): adjust
4134
4135         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4136
4137 2003-04-16  John Levon  <levon@movementarian.org>
4138
4139         * lyxfind.C: use parlist stuff for search/changes
4140
4141 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4142
4143         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4144
4145         * text2.C (deleteEmptyParagraphMechanism): adjust
4146
4147         * text2.[Ch] (ownerParagraph): delete func (both of them
4148
4149 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4150
4151         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4152
4153 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4154
4155         * ParagraphList.C: prepare for NO_NEXT
4156
4157 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4158
4159         * text2.C (getFont): adjust
4160         (getLayoutFont): adjust
4161         (getLabelFont): adjust
4162
4163         * paragraph.C (getFont): adjust
4164         (getLabelFont): adjust
4165         (getLayoutFont): adjust
4166
4167         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4168
4169 2003-04-15  John Levon  <levon@movementarian.org>
4170
4171         From Angus Leeming
4172
4173         * lyx_main.C: handle Include in .ui files
4174
4175 2003-04-15  John Levon  <levon@movementarian.org>
4176
4177         * MenuBackend.C: make the doc files length shorter
4178
4179         * ToolbarBackend.h:
4180         * ToolbarBackend.C: handle toolbar placement flags,
4181         Minibuffer
4182
4183 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4184
4185         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4186         adjust
4187
4188         * paragraph_funcs.C (TeXOnePar): adjust
4189
4190         * paragraph.C (getLabelFont): add outerfont arg, adjust
4191         (getLayoutFont): ditto
4192         (simpleTeXOnePar): adjust
4193
4194         * paragraph_pimpl.C (realizeFont): delete func
4195
4196 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4197
4198         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4199         row argument, constify cur argument.
4200
4201 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4202
4203         * text2.C (getFont): adjust
4204         (getLayoutFont): adjust
4205         (getLabelFont): adjust
4206
4207         * paragraph_funcs.C (TeXOnePar): adjust
4208         (outerFont): new func...
4209         (realizeFont): ...moved out from here, changed this to facilitate
4210         transition
4211
4212         * paragraph.C (getFont): take outerfont as arg, adjust
4213         (simpleTeXOnePar): add outerfont arg, adjust
4214
4215         * buffer.C (simpleLinuxDocOnePar): adjust
4216         (simpleDocBookOnePar): adjust
4217
4218         * CutAndPaste.C (pasteSelection): adjust
4219
4220         * BufferView.C (getEncoding): adjust
4221
4222 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4223
4224         * text2.C (setCharFont): adjust
4225         (setCounter): adjust
4226
4227         * text.C (leftMargin): adjust
4228         (setHeightOfRow): adjust
4229
4230         * rowpainter.C (paintFirst): adjust
4231         (paintLast): adjust
4232
4233         * paragraph_pimpl.C (realizeFont): adjust
4234
4235         * paragraph.C (isFirstInSequence): move from here...
4236         * paragraph_funcs.C (isFirstInSequence): ...to here
4237
4238         * paragraph.C (outerHook): move from here...
4239         * paragraph_funcs.C (outerHook): ...to here
4240
4241         * paragraph.C (depthHook): move from here...
4242         * paragraph_funcs.C (depthHook): ...to here
4243
4244         * paragraph.C (getEndLabel): move from here...
4245         * paragraph_funcs.C (getEndLabel): ...to here
4246
4247         * text2.C (realizeFont): move from here...
4248         * paragraph_funcs.C (realizeFont): ...to here
4249
4250 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4251
4252         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4253
4254 2003-04-14  Angus Leeming  <leeming@lyx.org>
4255
4256         * LColor.[Ch]: scrap LColor mathcursor.
4257
4258 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4259
4260         * lyxlex.[Ch] (text): delete function
4261         * trans.C (Load): adjust
4262         * paragraph_funcs.C (readParToken): adjust
4263
4264 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4265
4266         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4267         vector<char> instead of a char[].
4268
4269         * lyxlex_pimpl.C (getString): adjust
4270         (next): adjust
4271         (lex): use getString
4272         (eatLine): adjust
4273         (nextToken): adjust
4274
4275         * lyxlex.C (text): use pimpl_->getString()
4276         (getBool): ditto
4277         (findToken): ditto
4278
4279 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4280
4281         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4282         (makeFontEntriesLayoutSpecific): temp var for par.size()
4283         (setLayout): temp var for ownerParagraphs().end()
4284         (fullRebreak): temp var for rows().end()
4285         (selectionAsString): temp var for boost::next(startpit), realize
4286         that the while really is a regular for loop.
4287         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4288         setCursor in one place.
4289         (setParagraph): temp vr for ownerParagraphs().end()
4290         (updateCounters): make the while loop a for loop
4291         (cutSelection): temp var for ownerParagraphs().end()
4292         (updateInset): make the do {} while() a regular for loop
4293         (getCursorX): use temp vars
4294         (setCurrentFont): use temp vars
4295         (getColumnNearX): use temp vars
4296
4297 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4298
4299         * text.C (transformChar): use temp var for getChar
4300         (computeBidiTables): use temp var for row->par()
4301         (fill): move temp vars for row->par() and pit->layout() earlier in
4302         the function.
4303         (labelFill): use temp var for row->par()
4304         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4305         asc and desc, realize that pit never changes and that firstpit is
4306         just a duplicate and not needed. Exchange rit->par() with pit in a
4307         lot of places.
4308         (breakAgain): use a temp var for boost::next(rit)
4309         (breakAgainOneRow): ditto
4310         (breakParagraph): use a temp var for rows().begin()
4311         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4312         (cursorRightOneWord): use temp var for cursor.par() and
4313         cursor.pos(), remove usage of tmpcursor.
4314         (cursorLeftOneWord): use temp var for cursor.par() and
4315         cursor.pos() only set cur at end of function.
4316
4317 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4318
4319         * text.C, text2.C: exchange all usage of Paragraph::next with
4320         boost::next(ParagraphList::iterator)
4321
4322         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4323
4324         * text2.C (cursorTop): simplify implementation
4325         (cursorBottom): ditto
4326         (setParagraph): use ParagraphList::iterator
4327         (setCurrentFont): adjust
4328         (getColumnNearX): adjust
4329         (cursorRight): adjust
4330         (cursorLeft): remove usage of Paragraph::previous
4331         (cursorUpParagraph): ditto
4332         (deleteEmptyParagraphMechanism): slight cleanup
4333
4334         * text.C (isBoundary): take a Paragraph const & instead of a
4335         pointer as arg.
4336         (addressBreakPoint): ditto
4337         (leftMargin): remove usage of Paragraph::previous.
4338         (setHeightOfRow): ditto
4339         (cursorLeftOneWord): ditto
4340         (selectNextWordToSpellcheck): ditto
4341         (Delete): ditto
4342         (backspace): ditto
4343         (breakParagraph): remove one usage of Paragraph::next
4344         (redoParagraph): ditto
4345         (acceptChange): ditto
4346         (insertChar): adjust
4347         (rowBreakPoint): adjust
4348
4349         * bufferview_funcs.C (toggleAndShow): adjust
4350
4351 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4352
4353         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4354         methods to access it.
4355         * lyxtext.h:
4356         * text.C: Added updateRowPositions to compute all row positions.
4357         Make top_y and getRowNearY() to use the cached y position
4358
4359 2003-04-11  John Levon  <levon@movementarian.org>
4360
4361         * text.C (rowBreakPoint): reintroduce the labelEnd
4362         checks, code copied from the row fill stuff. Deep voodoo.
4363
4364         * text.C (fill): add a comment and debugging for the
4365         next poor soul.
4366
4367 2003-04-11  John Levon  <levon@movementarian.org>
4368
4369         * text.C: make sure fullrow insets get wrapped to the next line,
4370         even when they're in a manual label
4371
4372 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4373
4374         * text2.C (insertParagraph): make it take ParagraphList::iterator
4375         as arg.
4376         (setLayout): make it return ParagraphList::iterator
4377         (redoParagraphs): ditto
4378         (setCounter): ditto
4379         (checkParagraph): ditto
4380
4381         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4382
4383         * text2.C: adjust several funcs.
4384         (realizeFont): take a ParagraphList::iterator as arg.
4385         (getLayoutFont): ditto
4386         (getLabelFont): ditto
4387         (setCharFont): ditto
4388
4389         * text.C: adjust several funcs.
4390
4391 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4392
4393         * text.C (selectNextWordToSpellcheck): don't accidentally
4394         skip insets
4395
4396 2003-04-10  John Levon  <levon@movementarian.org>
4397
4398         * ToolbarBackend.C (getIcon): special handling for
4399         LFUN_MATH_DELIM
4400
4401 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4402
4403         * text2.C (cursorRight): a getChar assert fixed
4404
4405 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4406
4407         * text2.C (getFont): change to take a ParagraphList::iterator
4408         instead of Paragraph*
4409         Adjust several functions.
4410
4411         * text.C (transformChar): change to take a ParagraphList::iterator
4412         instead of Paragraph*
4413         (singleWidth): ditto
4414         Adjust several functions.
4415
4416         * rowpainter.C: adjust several functions
4417         * rowpainter.h:store a ParagraphList::iterator and not a
4418         Paragraph&.
4419
4420
4421 2003-04-09  John Levon  <levon@movementarian.org>
4422
4423         * lyxfunc.C:
4424         * lfuns.h:
4425         * LyXAction.h:
4426         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4427         and the "help" bits as well
4428
4429 2003-04-09  John Levon  <levon@movementarian.org>
4430
4431         * ToolbarBackend.h:
4432         * ToolbarBackend.C: allow multiple toolbars
4433
4434 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4435
4436         * undo_funcs.C (setCursorParUndo): adjust
4437
4438         * text_funcs.C (transposeChars): adjust
4439
4440         * text3.C (gotoNextInset): adjust
4441         (dispatch): adjust
4442
4443         * text2.C (setLayout): adjust
4444         (changeDepth): adjust
4445         (setFont): adjust
4446         (redoParagraphs): adjust
4447         (selectionAsString): adjust
4448         (setParagraph): adjust
4449         (insertInset): adjust
4450         (cutSelection): adjust
4451         (copySelection): adjust
4452         (pasteSelection): adjust
4453         (insertStringAsLines): adjust
4454         (updateInset): adjust
4455         (setCursor): change to take a ParagraphList::iterator parameter
4456         (setCursorIntern): change to take a ParagraphList::iterator parameter
4457         (setCurrentFont): adjust
4458         (cursorLeft): adjust
4459         (cursorRight): adjust
4460         (deleteEmptyParagraphMechanism): adjust
4461
4462         * text.C (breakParagraph): adjust
4463         (insertChar): adjust
4464         (acceptChange): adjust
4465         (rejectChange): adjust
4466         (selectNextWordToSpellcheck): adjust
4467         (changeCase): adjust
4468         (Delete): adjust
4469         (backspace): adjust
4470
4471         * lyxfind.C (SearchForward): adjust
4472         (SearchBackward): adjust
4473         (nextChange): adjust
4474
4475         * lyxcursor.C (par): adjust
4476
4477         * lyxcursor.h: store a ParagraphList::iterator instead of a
4478         Paragraph*
4479
4480         * lyx_cb.C (getPossibleLabel): adjust
4481
4482         * bufferview_funcs.C (toggleAndShow): adjust
4483
4484         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4485         (dispatch): adjust
4486
4487         * BufferView.C (removeAutoInsets): adjust
4488         (lockedInsetStoreUndo): adjust
4489
4490 2003-04-09  John Levon  <levon@movementarian.org>
4491
4492         * ToolbarBackend.C: try icon without argument
4493         if with argument fails
4494
4495 2003-04-08  John Levon  <levon@movementarian.org>
4496
4497         * ToolbarBackend.h:
4498         * ToolbarBackend.C: add getIcon(), handle tooltip,
4499         and change from "Icon" to "Item".
4500
4501 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4502
4503         * BufferView.C (lockInset): another bad getchar crunched
4504
4505 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4506
4507         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4508         again)
4509
4510 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4511
4512         * lyxfind.C (searchForward, searchBackwards): bug 782
4513
4514 2003-04-07  John Levon  <levon@movementarian.org>
4515
4516         * paragraph.C: remove dead comment
4517
4518         * text.C: remove troublesome depth-fiddling code
4519         in leftMargin() and rightMargin() (bug 1017)
4520
4521         * text.C: fix breaking of rows in nested lists
4522         (bug 1004)
4523
4524         * text2.C (updateCounters): fix up depth values
4525         (bug 1013)
4526
4527 2003-04-07  John Levon  <levon@movementarian.org>
4528
4529         * BufferView_pimpl.C: clear message when doc finishes resizing,
4530         and after a mouse event
4531
4532         * lyxfunc.C: clear message after exiting inset
4533
4534 2003-04-07  John Levon  <levon@movementarian.org>
4535
4536         * bufferview_funcs.C: show math status not outside
4537         status in the statusbar
4538
4539 2003-04-07  John Levon  <levon@movementarian.org>
4540
4541         * lyxfunc.C: note status changed after a depth change
4542
4543 2003-04-04  Angus Leeming  <leeming@lyx.org>
4544
4545         * LaTeX.h: move AuxInfo operator==, != out of line.
4546         Remove LaTeX virtual destructor; nothing derives from it.
4547         Move operator()() out of public area and rename it startscript().
4548         Change protected for private.
4549
4550 2003-04-04  Angus Leeming  <leeming@lyx.org>
4551
4552         * lyxfunc.C:
4553         * text2.C: remove unneeded #includes.
4554
4555 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4556
4557         * text2.C (dEPM): fix the heigth of the next row
4558
4559 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4560
4561         * text.C: squashed an invalid getChar requester + some ws changes
4562
4563 2003-04-03  John Levon  <levon@movementarian.org>
4564
4565         * bufferview_funcs.h:
4566         * bufferview_funcs.C:
4567         * lyxfunc.C:
4568         * lyxtext.h:
4569         * text2.C: make getStatus work for the env depth lfuns
4570
4571 2003-04-03  John Levon  <levon@movementarian.org>
4572
4573         * bufferview_funcs.h:
4574         * bufferview_funcs.C:
4575         * lyxfunc.C:
4576         * lyxtext.h:
4577         * text2.C: parlistize decDepth(), by merging it with incDepth()
4578
4579 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4580
4581         * lyxrow.h: store a ParagraphList::iterator instead of a
4582         Paragraph* and adjust other class functions to suit.
4583
4584         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4585         above.
4586
4587 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4588
4589         * text2.C (setCursor): do not anchor to cursor row for the time being
4590
4591 2003-04-02  John Levon  <levon@movementarian.org>
4592
4593         * LyXAction.C:
4594         * lfuns.h:
4595         * lyx_main.C:
4596         * lyxtext.h:
4597         * text.C:
4598         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4599
4600 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4601
4602         * paragraph.h: make ParagraphList and ParagraphList::iterator
4603         friends of Paragraph.
4604
4605         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4606
4607         * ParagraphList.C: Use the private next_ and previous_ from
4608         Paragraph.
4609
4610 2003-04-01  John Levon  <levon@movementarian.org>
4611
4612         * ToolbarBackend.h:
4613         * ToolbarBackend.C:
4614         * Makefile.am: rename, remove defaults gunk
4615
4616         * MenuBackend.h:
4617         * MenuBackend.C: remove defaults gunk
4618
4619         * Languages.h:
4620         * Languages.C: remove defaults gunk
4621
4622         * lyx_main.h:
4623         * lyx_main.C: error out if files couldn't be found.
4624
4625 2003-04-02  John Levon  <levon@movementarian.org>
4626
4627         * text2.C: make incDepth() use parlist
4628
4629 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4630
4631         * undo_funcs.C (firstUndoParagraph): adjust
4632
4633         * text3.C (gotoInset): adjust
4634         (dispatch): adjust, and rewrite loop.
4635
4636         * text2.C (init): adjust, and rewrite loop.
4637         (redoParagraphs): adjust
4638         (updateInset): adjust, and rewrite loop.
4639         (deleteEmptyParagraphMechanism): adjust
4640
4641         * tabular.C (LyXTabular): adjust
4642         (SetMultiColumn): adjust
4643         (TeXRow): adjust
4644
4645         * lyxtext.[Ch] (ownerParagraph): delete function
4646         (ownerParagraphs): new function returns a ParagraphList.
4647
4648         * BufferView.C (removeAutoInsets): adjust
4649         (insertErrors): adjust
4650         (setCursorFromRow): adjust
4651
4652 2003-04-01  Angus Leeming  <leeming@lyx.org>
4653
4654         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4655         in the frontends.
4656
4657 2003-04-02  John Levon  <levon@movementarian.org>
4658
4659         * lyxtext.h:
4660         * text.C:
4661         * Makefile.am:
4662         * text_funcs.h:
4663         * text_funcs.C: make transposeChars a free function
4664
4665         * lyxrow_funcs.C: remove wrong comment
4666
4667 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4668
4669         * lyxtext.h: adjust
4670         * rowpainter.C: adjust
4671         * text.C: adjust
4672         * text2.C: adjust
4673         * text3.C: adjust
4674
4675         * lyxrow_funcs. [Ch]: new files
4676
4677         * lyxrow.[Ch]: remove next and previous pointers
4678         (next,previous): remove accessor functions
4679         (isParEnd): move to lyxrow_funcs
4680         (lastPos): move to lyxrow_funcs
4681         (nextRowIsAllInset): move to lyxrow_funcs
4682         (lastPrintablePos): move to lyxrow_funcs
4683         (numberOfSeparators): move to lyxrow_funcs
4684         (numberOfHfills): move to lyxrow_funcs
4685         (numberOfLabelHfills): move to lyxrow_funcs
4686         (hfillExpansion): move to lyxrow_funcs
4687
4688         * lyxfunc.C: adjust
4689
4690         * bufferview_funcs.C (toggleAndShow): adjust
4691
4692         * RowList.h: Remove class RowList from file leave just a
4693         std::list<Row>.
4694
4695         * RowList.C: delete file
4696
4697         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4698         and lyxrow_funcs.h
4699
4700 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4701
4702         * text3.C (cursorPrevious): adjust
4703         (cursorNext): adjust
4704         (dispatch): adjust
4705
4706         * text2.C (redoHeightOfParagraph): adjust
4707         (redoDrawingOfParagraph): adjust
4708         (setCursor): adjust
4709
4710         * text.C (breakParagraph): adjust
4711         (insertChar): adjust
4712         (backspace): adjust
4713
4714         * rowpainter.C (RowPainter): adjust
4715         (leftMargin): simplify and adjust
4716         (most rowpainter functions): adjust.
4717
4718         * rowpainter.h: store the row as RowList::iterator not as Row*
4719
4720         * lyxcursor.C (row): taka RowList::iterator as arg
4721         (irow): ditto
4722
4723         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4724         of Row*.
4725
4726 2003-04-01  Angus Leeming  <leeming@lyx.org>
4727
4728         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4729         stuff like bool Bool.
4730
4731 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4732
4733         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4734         rewrite a loop
4735
4736 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4737
4738         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4739         RowList::iterator.
4740
4741         * lyxtext.h (rows): drop one version and leve a const variant that
4742         returns a RowList::iterator.
4743
4744 2003-03-31  Angus Leeming  <leeming@lyx.org>
4745
4746         * text.C (fill): ensure that the signature is the same as that in the
4747         header file.
4748
4749 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4750
4751         * text2.C (redoParagraphs): adjust
4752         (updateCounters): adjust
4753         (checkParagraph): adjust
4754         (getColumnNearX): adjust and reformat a bit.
4755
4756         * text.C (top_y): adjust
4757         (workWidth): adjust
4758         (leftMargin): adjust
4759         (prepareToPrint): adjust
4760         (getRow): adjust
4761         (getRowNearY): adjust
4762
4763         * lyxtext.h: make rowlist_ mutable.
4764
4765         * RowList.h: add const_iterator
4766         * RowList.C: adjust for RowList::const_iterator.
4767
4768         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4769         adjust.
4770
4771 2003-03-31  John Levon  <levon@movementarian.org>
4772
4773         * lyxrc.h:
4774         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4775
4776         * lyx_main.C: set default fonts from using lyx_gui funcs
4777
4778         * exporter.C: pdf_mode moved from lyxrc
4779
4780         * lyx_cb.C:
4781         * lyxfunc.C: changes from above
4782
4783 2003-03-31  John Levon  <levon@movementarian.org>
4784
4785         * lyx_main.C: fix to the last fix
4786
4787 2003-03-31  John Levon  <levon@movementarian.org>
4788
4789         * bufferlist.C: "Load original" -> "Load Original"
4790
4791         * converter.C:
4792         * exporter.C:
4793         * importer.C:
4794         * lyx_main.C:
4795         * format.C: more Alert cleanups
4796
4797 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4798
4799         * text2.C (removeParagraph): make it take a RowList::iterator as
4800         arg, adjust.
4801         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4802         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4803
4804         * text.C (anchor_row): make it take a RowList::iterator as arg,
4805         adjust.
4806         (computeBidiTables): make it take a const reference to Row instead
4807         of Row pointer, adjust.
4808         (leftMargin): make it take a RowList::iterator as arg, adjust.
4809         (rowBreakPoint): adjust
4810         (breakAgainOneRow): make it take a RowList::iterator as arg,
4811         adjust.
4812         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4813
4814         * bufferview_funcs.C (toggleAndShow): adjust
4815
4816 2003-03-30  John Levon  <levon@movementarian.org>
4817
4818         * Makefile.am:
4819         * BoostFormat.h:
4820         * boost-inst.C: moved to support
4821
4822         * several files: changes as a result
4823
4824 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4825
4826         * text2.C (LyXText): adjust.
4827         (init): adjust
4828         (removeRow): make it take a RowList::iterator as arg, adjust.
4829         (fullRebreak): adjust
4830         (deleteEmptyParagraphMechanism): adjust
4831         (clearPaint): adjust
4832         (postPaint): adjust
4833
4834         * text.C (top_y): adjust
4835         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4836         (breakAgain): make it take a RowList::iterator as arg, adjust.
4837         (breakParagraph): adjust
4838         (insertChar): adjust
4839         (backspace): adjust
4840
4841         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4842         need_break_row, and refresh_row.
4843
4844         * text3.C (dispatch): adjust
4845
4846         * text2.C (checkParagraph): adjust
4847         (setCursor): adjust
4848         (setCursorFromCoordinates): adjust
4849
4850         * text.C (top_y): adjust
4851         (workWidth): adjust
4852         (getRow): make it return a RowList::iterator, adjust
4853         (getRowNearY): make it return a RowList::iterator, adjust
4854
4855         * text2.C (init): adjust
4856         (insertRow): remove function
4857         (insertParagraph): adjust
4858         (redoParagraphs): adjust
4859         (fullRebreak): adjust
4860         (updateCounters): adjust
4861
4862         * text.C (top_y): rewrite to use RowList iterators.
4863         (top_y): adjust
4864         (setHeightOfRow): rewrite to sue RowList iterators.
4865         (appendParagraph): adjust
4866         (breakAgain): adjust
4867         (breakAgainOneRow): adjust
4868         (breakParagraph): adjust
4869         (getRow): adjust
4870         (getRowNearY): adjust, and remove commented code.
4871
4872         * lyxtext.h (firstRow): delete function
4873         (lastRow): delete function
4874         (rows): new function (const and non-const versions.)
4875         (insertRow): delete function
4876
4877         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4878
4879 2003-03-29  John Levon  <levon@movementarian.org>
4880
4881         * BufferView_pimpl.C: always update scrollbar top
4882         because pasting text when we're anchored could mean we
4883         miss an update altogether
4884
4885 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4886
4887         * text2.C (init): use rowlist_.end() and not 0.
4888         (insertRow): change to take a RowList::iterator as arg, adjust
4889         for this.
4890         (insertParagraph): change to take a RowList::iterator as arg,
4891         adjust for this.
4892         (redoParagraphs): remove some debug msgs.
4893
4894         * text.C (appendParagraph): change to take a RowList::iterator
4895         arg, adjust for this.
4896         (breakAgain): add an assert
4897         (breakAgainOneRow): ditto
4898
4899 2003-03-29  John Levon  <levon@movementarian.org>
4900
4901         * text2.C: do not clear selection after inc/decDepth
4902         (bug 550)
4903
4904 2003-03-29  John Levon  <levon@movementarian.org>
4905
4906         * BufferView.C:
4907         * buffer.C: fix broken strerrors according to Lars
4908
4909 2003-03-29  John Levon  <levon@movementarian.org>
4910
4911         * converters.C: more Alert cleanups
4912
4913 2003-03-29  John Levon  <levon@movementarian.org>
4914
4915         * bufferview_funcs.C: remove pointless Alert
4916
4917         * buffer.C: fix confusing error message when
4918         a template is chmoded 000
4919
4920 2003-03-29  John Levon  <levon@movementarian.org>
4921
4922         * BufferView.C:
4923         * BufferView.h:
4924         * BufferView_pimpl.C: Alert fixes
4925
4926         * Makefile.am:
4927         * tabular.C:
4928         * tabular-old.C: remove unused table compat reading
4929
4930 2003-03-29  John Levon  <levon@movementarian.org>
4931
4932         * BufferView.C:
4933         * buffer.C:
4934         * lyx_cb.h:
4935         * lyx_cb.C: more Alert cleanups
4936
4937         * lyxfunc.C: don't allow chktex if not latex document
4938
4939 2003-03-29  John Levon  <levon@movementarian.org>
4940
4941         * lyx_cb.C:
4942         * BufferView.C:
4943         * buffer.C: warnings pushed down from support/,
4944         kill err_alert
4945
4946 2003-03-29  John Levon  <levon@movementarian.org>
4947
4948         * lyxfunc.C: safety check for C-r (revert)
4949
4950 2003-03-29  John Levon  <levon@movementarian.org>
4951
4952         * bufferlist.h:
4953         * bufferlist.C: several UI fixes using Alert::prompt.
4954         Fix the pointless looping quit code. Fix stupid revert
4955         behaviour (bug 938)
4956
4957         * lyxvc.h:
4958         * lyxvc.C:
4959         * lyx_cb.C: use Alert::prompt
4960
4961         * lyx_main.C: remove a silly question
4962
4963         * lyxfunc.C: remove a couple of silly questions,
4964         use Alert::prompt
4965
4966 2003-03-28  John Levon  <levon@movementarian.org>
4967
4968         * text2.C: fix bug 974 (End on empty par)
4969
4970 2003-03-28  John Levon  <levon@movementarian.org>
4971
4972         * BufferView_pimpl.C:
4973         * LyXAction.C:
4974         * lfuns.h: remove do-nothing math greek lfuns
4975
4976 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4977
4978         * lyxgluelength.h (isValidGlueLength): add default arg on
4979         parameter 2. Remove default arg from friend in class.
4980
4981         * lyxlength.h (isValidLength): add default arg on parameter 2.
4982         Remove default arg from friend in class.
4983
4984         * text2.C (LyXText): adjust, initialize refresh_row.
4985         (init): adjust
4986         (removeRow): adjust
4987         (insertRow): adjust
4988         (insertParagraph): adjst
4989         (redoParagraphs): adjust
4990         (fullRebreak): adjust
4991         (updateCounters): adjust
4992         (deleteEmptyParagraphMechanism): first attempt at fixing a
4993         crashing bug.
4994
4995         * text.C (top_y): adjust
4996         (setHeightOfRow): adjust
4997         (getRow): adjust
4998         (getRowNearY): adjust
4999
5000         * lyxtext.h: include RowList.h
5001         (~LyXText): not needed anymore, deleted.
5002         (firstRow): modify for RowList
5003         (lastRow): new function
5004         Delete firstrow and lastrow class variables, add a Rowlist
5005         rowlist_ class variable.
5006
5007         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5008         paragraph is empty.
5009
5010         * RowList.C (insert): fix case where it == begin().
5011
5012 2003-03-26  Angus Leeming  <leeming@lyx.org>
5013
5014         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5015         the thesaurus dialog.
5016
5017 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5018
5019         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5020
5021         * RowList.[Ch]: new files
5022
5023         * ParagraphList.C (erase): handle the case where it == begin
5024         correctly.
5025
5026 2003-03-25  John Levon  <levon@movementarian.org>
5027
5028         * Makefile.am:
5029         * aspell_local.h:
5030         * aspell.C: add new aspell support
5031
5032         * lyxrc.h:
5033         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5034         have it accessible.
5035
5036 2003-03-25  Angus Leeming  <leeming@lyx.org>
5037
5038         * lfuns.h:
5039         * LyXAction.C (init): new LFUN_INSET_INSERT.
5040
5041         * BufferView_pimpl.C (dispatch): split out part of the
5042         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5043
5044         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5045         LFUN_INSET_APPLY.
5046
5047 2003-03-25  Angus Leeming  <leeming@lyx.org>
5048
5049         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5050
5051 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5052
5053         * text2.C:
5054         * text3.C: remove useless row->height(0)
5055
5056 2003-03-25  John Levon  <levon@movementarian.org>
5057
5058         * lyxtext.h:
5059         * text2.C:
5060         * text3.C: rename the refreshing stuff to better names
5061
5062 2003-03-24  John Levon  <levon@movementarian.org>
5063
5064         * BufferView_pimpl.h:
5065         * BufferView_pimpl.C: update layout choice on a mouse
5066         press/release
5067
5068 2003-03-23  John Levon  <levon@movementarian.org>
5069
5070         * Makefile.am: fix commandtags.h reference
5071
5072 2003-03-22  John Levon  <levon@movementarian.org>
5073
5074         * BufferView_pimpl.C:
5075         * lyxtext.h:
5076         * rowpainter.C:
5077         * rowpainter.h:
5078         * text.C:
5079         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5080
5081 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5082
5083         * lyxtext.h:
5084         * text.C: take the rtl methods out of line
5085
5086 2003-03-21 André Pönitz <poenitz@gmx.net>
5087
5088         * metricsinfo.[Ch]: new files containing structures to be passed around
5089         during the two-phase-drawing...
5090
5091 2003-03-21 André Pönitz <poenitz@gmx.net>
5092
5093         * lyxtextclass.C: read 'environment' tag.
5094
5095 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5096
5097         * text2.C (removeRow): fix bug 964
5098
5099 2003-03-20  John Levon  <levon@movementarian.org>
5100
5101         * rowpainter.C:
5102         * text.C:
5103         * text2.C: paint cleanups. Inset::update() dropped font
5104         parameter
5105
5106 2003-03-19  John Levon  <levon@movementarian.org>
5107
5108         * lyxfunc.C: only fitcursor/markDirty if available()
5109
5110 2003-03-19  John Levon  <levon@movementarian.org>
5111
5112         * commandtags.h: rename to ...
5113
5114         * lfuns.h: ... this, and renumber / cleanup
5115
5116 2003-03-19  John Levon  <levon@movementarian.org>
5117
5118         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5119         fit the cursor after an lfun
5120
5121         * BufferView.h:
5122         * BufferView.C:
5123         * BufferView_pimpl.h:
5124         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5125
5126         * LyXAction.C: layout-character should have ReadOnly
5127
5128         * ParagraphParameters.C:
5129         * buffer.C:
5130         * bufferview_funcs.C:
5131         * lyx_cb.C:
5132         * lyxfind.C:
5133         * lyxtext.h:
5134         * text.C:
5135         * text2.C:
5136         * text3.C:
5137         * undo_funcs.C: changes from above
5138
5139 2003-03-18  John Levon  <levon@movementarian.org>
5140
5141         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5142         remove it from update()
5143
5144         * lyxfunc.C: update layout choice after an lfun
5145
5146         * text3.C: remove extra updateLayoutChoice()s
5147
5148 2003-03-18  John Levon  <levon@movementarian.org>
5149
5150         * text.C: top_y change means full repaint, fix
5151         a drawing bug with cursor movement
5152
5153 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5154
5155         * lyxtext.h:
5156         * text.C:
5157         * text2.C: anchor row on setCursor
5158
5159 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5160
5161         * lyxtext.h: remove almost all mutable keywords
5162         * text.C:
5163         * text2.C:
5164         * text3.C: remove const keywords accordingly
5165
5166 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5167
5168         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5169         anon namespace
5170         (TeXEnvironment): ditto
5171         (TeXOnePar): ditto
5172
5173 2003-03-17  John Levon  <levon@movementarian.org>
5174
5175         * text.C (rowBreakPoint): remove attempt to fix displayed
5176         math insets inside a manual label
5177
5178 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5179
5180         * lyxtext.h: remove BufferView* as first arg from almost all class
5181         functions.
5182         * other files: adjust.
5183
5184 2003-03-17  John Levon  <levon@movementarian.org>
5185
5186         * lyxtext.h:
5187         * undo_funcs.C:
5188         * text2.C: more paint cleanups
5189
5190         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5191
5192         * rowpainter.h:
5193         * rowpainter.C: remove "smart" background painting code
5194
5195 2003-03-16  John Levon  <levon@movementarian.org>
5196
5197         * lyxtext.h:
5198         * text.C:
5199         * text2.C:
5200         * text3.C: add helper functions for setting refresh_row/y
5201
5202 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5203
5204         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5205         newline inset which *can* get inserted in the pass_thru layouts.
5206         This is primarily for literate documents.
5207
5208 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5209
5210         * buffer.C: increment LYX_FORMAT to 223
5211
5212 2003-03-14 André Pönitz <poenitz@gmx.net>
5213
5214         * textclass.h: prepare for environment handling, ws changes
5215         * lyxlayout.C: read latexheader and latexfooter tags
5216
5217 2003-03-14  John Levon  <levon@movementarian.org>
5218
5219         * text2.C: rewrite ::status() a bit
5220
5221 2003-03-13  John Levon  <levon@movementarian.org>
5222
5223         * lyxtext.h: add some docs
5224
5225 2003-03-13  John Levon  <levon@movementarian.org>
5226
5227         * lyxtext.h:
5228         * text.C:
5229         * text2.C:
5230         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5231
5232 2003-03-13  John Levon  <levon@movementarian.org>
5233
5234         * text3.C: fix appendix redrawing
5235
5236 2003-03-13  John Levon  <levon@movementarian.org>
5237
5238         * text.C (setHeightOfRow):
5239         * rowpainter.h:
5240         * rowpainter.C: make appendix mark have the text
5241           "Appendix" so the user knows what it is
5242
5243         * LColor.h:
5244         * LColor.C: s/appendixline/appendix/ from above
5245
5246 2003-03-13  John Levon  <levon@movementarian.org>
5247
5248         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5249
5250         * text.C: fix a getChar(pos) bug properly
5251
5252 2003-03-13  Angus Leeming  <leeming@lyx.org>
5253
5254         * commandtags.h:
5255         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5256         Probably only temporary. Let's see how things pan out.
5257
5258         * BufferView.C (unlockInset):
5259         * BufferView_pimpl.C (fitCursor):
5260         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5261
5262         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5263         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5264
5265         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5266         new functions that convert ParagraphParameters to and from a string.
5267
5268         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5269         BufferView::Pimpl's dispatch.
5270         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5271
5272 2003-03-13 André Pönitz <poenitz@gmx.net>
5273
5274         * lyxfunc.C:
5275         * text3.C:
5276         * factory.C: make it aware of InsetEnv
5277
5278 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5279
5280         * text2.C (setCursor): never ask for one past last
5281         (setCursor): add some debugging messages.
5282
5283         * text.C (singleWidth): never ask for one past last
5284         (singleWidth): ditto
5285         (leftMargin): ditto
5286         (rightMargin): ditto
5287         (rowBreakPoint): ditto
5288         (setHeightOfRow): ditto
5289         (prepareToPrint): ditto
5290
5291         * rowpainter.C (paintBackground): never ask for one past last
5292         (paintText): never ask for one past last
5293
5294         * paragraph_pimpl.C (getChar): make the assert stricter, never
5295         allow the one past last pos to be taken
5296
5297         * paragraph.C (getChar): ws changes only
5298
5299         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5300         (numberOfSeparators): ditto
5301         (numberOfHfills): ditto
5302
5303 2003-03-12  John Levon  <levon@movementarian.org>
5304
5305         * author.h:
5306         * author.C:
5307         * bufferparams.h:
5308         * bufferparams.C:
5309         * paragraph_funcs.C: fix per-buffer authorlists
5310
5311 2003-03-12  John Levon  <levon@movementarian.org>
5312
5313         * text.C: fix newline in right address
5314
5315 2003-03-12  Angus Leeming  <leeming@lyx.org>
5316
5317         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5318         duplicate those in LyXFunc::dispatch.
5319
5320         * commandtags.h:
5321         * LyXAction.C:
5322         * ToolbarDefaults.C:
5323         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5324         Add LFUN_FONTFREE_UPDATE.
5325
5326         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5327         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5328
5329         * bufferview_func.[Ch]: several new functions to facilliate
5330         transfer of data to and from the character dialog.
5331
5332 2003-03-12  John Levon  <levon@movementarian.org>
5333
5334         * buffer.C:
5335         * paragraph.h:
5336         * paragraph.C:
5337         * paragraph_funcs.C:
5338         * paragraph_pimpl.C:
5339         * sgml.C:
5340         * tabular.C:
5341         * text.C:
5342         * text3.C: remove META_NEWLINE in favour of an inset
5343
5344         * rowpainter.h:
5345         * rowpainter.C: remove paintNewline (done by inset)
5346
5347 2003-03-12  John Levon  <levon@movementarian.org>
5348
5349         * paragraph_pimpl.C: complain about bad getChar()s
5350         for a while at least
5351
5352 2003-03-12  John Levon  <levon@movementarian.org>
5353
5354         * buffer.h:
5355         * buffer.C: move paragraph read into a separate function,
5356         a little renaming to reflect that.
5357
5358         * bufferparams.h:
5359         * bufferparams.C: remove the author_ids map, not necessary now
5360
5361         * factory.h:
5362         * factory.C: moved Buffer::readInset to here
5363
5364         * paragraph_funcs.h:
5365         * paragraph_funcs.C: readParagraph free function moved from
5366         buffer.C
5367
5368         * tabular.C: name change
5369
5370 2003-03-12  John Levon  <levon@movementarian.org>
5371
5372         * buffer.C:
5373         * ParagraphParameters.C: move par params input to
5374         a read() method
5375
5376         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5377         behave like a normal read from the stream wrt reading
5378         a line vs. a \\token
5379
5380 2003-03-12  John Levon  <levon@movementarian.org>
5381
5382         * paragraph.C:
5383         * ParagraphParameters.h:
5384         * ParagraphParameters.C: move output code to a
5385         ::write() method
5386
5387 2003-03-12  John Levon  <levon@movementarian.org>
5388
5389         * BufferView.C (insertLyXFile):
5390         * buffer.h:
5391         * buffer.C:
5392         * tabular.C: use a parlist iterator for creating the
5393           document.
5394
5395 2003-03-12  John Levon  <levon@movementarian.org>
5396
5397         * buffer.C: make current_change static local not
5398           static file-scope
5399
5400 2003-03-12  John Levon  <levon@movementarian.org>
5401
5402         * buffer.C: fix insertStringAsLines for change tracking
5403
5404 2003-03-12  John Levon  <levon@movementarian.org>
5405
5406         * BufferView.C:
5407         * tabular.C:
5408         * buffer.h:
5409         * buffer.C:
5410         * bufferparams.h:
5411         * bufferparams.C: move author list into params. Rename some
5412           functions. Move the header reading into a separate token
5413           loop. Move the header token reading into BufferParams.
5414
5415 2003-03-12  John Levon  <levon@movementarian.org>
5416
5417         * changes.C: put debug inside lyxerr.debugging() checks
5418
5419 2003-03-11 André Pönitz <poenitz@gmx.net>
5420
5421         * factory.C: make it aware of InsetHFill
5422
5423 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5424
5425         * buffer.C (latexParagraphs): move function from here...
5426         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5427         args.
5428
5429 2003-03-10  Angus Leeming  <leeming@lyx.org>
5430
5431         * LyXAction.C (init): fix bug in poplating array with multiple entries
5432         with the same LFUN (spotted by JMarc).
5433
5434 2003-03-10  John Levon  <levon@movementarian.org>
5435
5436         * text.C:
5437         * text2.C: move getColumnNearX() near its
5438         only call site
5439
5440 2003-03-10  John Levon  <levon@movementarian.org>
5441
5442         * text.C: fix break before a minipage
5443
5444 2003-03-10  John Levon  <levon@movementarian.org>
5445
5446         * text.C: fix the last commit
5447
5448 2003-03-09  John Levon  <levon@movementarian.org>
5449
5450         * lyxtext.h:
5451         * text.C:
5452         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5453         bug 365 (don't break before insets unless needed). Don't
5454         return a value > last under any circumstances.
5455
5456 2003-03-09  Angus Leeming  <leeming@lyx.org>
5457
5458         * BufferView_pimpl.C (trackChanges, dispatch): call
5459         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5460
5461 2003-03-09  Angus Leeming  <leeming@lyx.org>
5462
5463         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5464         than Dialogs::showAboutlyx().
5465
5466 2003-03-09  Angus Leeming  <leeming@lyx.org>
5467
5468         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5469         than Dialogs::showTabularCreate().
5470
5471 2003-03-09  John Levon  <levon@movementarian.org>
5472
5473         * lyxtext.h:
5474         * text.C:
5475         * text2.C: 3rd arg to nextBreakPoint was always the same.
5476           Use references.
5477
5478 2003-03-08  John Levon  <levon@movementarian.org>
5479
5480         * lyxrow.C:
5481         * paragraph.C:
5482         * paragraph.h:
5483         * rowpainter.C:
5484         * text.C:
5485         * text2.C: Remove the "main" bit from the "main body"
5486           notion.
5487
5488 2003-03-08  John Levon  <levon@movementarian.org>
5489
5490         * text.C (leftMargin): The left margin of an empty
5491         manual label paragraph should not include the label width
5492         string length.
5493
5494         * text.C (prepareToPrint): don't attempt to measure hfills
5495         for empty manual label paragraphs - the answer should be 0
5496
5497 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5498
5499         * CutAndPaste.C: remove commented code and reindent.
5500
5501 2003-03-08  John Levon  <levon@movementarian.org>
5502
5503         * lyxfunc.h:
5504         * lyxfunc.C: move reloadBuffer()
5505
5506         * BufferView.h:
5507         * BufferView.C: to here
5508
5509         * lyxvc.C: add comment
5510
5511         * vc-backend.h:
5512         * vc-backend.C: call bv->reload() to avoid
5513           getStatus() check on MENURELOAD
5514
5515 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5516
5517         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5518         to an old format .dep file.
5519
5520 2003-03-07  Angus Leeming  <leeming@lyx.org>
5521
5522         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5523         when the LFUN_MOUSE_RELEASE should have been handled by
5524         inset->localDispatch.
5525
5526 2003-03-07  Angus Leeming  <leeming@lyx.org>
5527
5528         * BufferView_pimpl.C (dispatch):
5529         * LyXAction.C (init):
5530         * ToolbarDefaults.C (init):
5531         * commandtags.h:
5532         * lyxfunc.C (getStatus):
5533         remove LFUN_INSET_GRAPHICS.
5534
5535         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5536
5537 2003-03-07  Angus Leeming  <leeming@lyx.org>
5538
5539         * commandtags.h:
5540         * LyXAction.C (init):
5541         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5542
5543         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5544
5545         * commandtags.h:
5546         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5547
5548         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5549         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5550
5551 2003-03-07  Angus Leeming  <leeming@lyx.org>
5552
5553         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5554         remove "ert".
5555
5556 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5557
5558         * ParagraphList.C (front): new function
5559         (back): implement
5560
5561 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5562
5563         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5564         and top_row_offset_. removed var first_y.
5565         * text.C (top_y):
5566         * text2.C (LyXText, removeRow):
5567         * text3.C:
5568         * BufferView_pimpl.C:
5569         use these methods instead of using first_y
5570
5571 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5572
5573         * text2.C (pasteSelection): adjust for checkPastePossible
5574
5575         * CutAndPaste.C: remove Paragraph * buf and replace with
5576         ParagraphList paragraphs.
5577         (DeleteBuffer): delete
5578         (cutSelection): change the tc type to textclass_type
5579         (copySelection): change the tc type to textclass_type
5580         (copySelection): adjust for ParagraphList
5581         (pasteSelection): change the tc type to textclass_type
5582         (pasteSelection): adjust for Paragraphlist
5583         (nrOfParagraphs): simplify for ParagraphList
5584         (checkPastePossible): simplify for ParagraphList
5585         (checkPastePossible): remove unused arg
5586
5587         * ParagraphList.C (insert): handle the case where there are no
5588         paragraphs yet.
5589
5590         * CutAndPaste.h: make CutAndPaste a namespace.
5591
5592         * text3.C (dispatch): adjust
5593
5594         * text.C (breakParagraph): add a ParagraphList as arg
5595
5596         * paragraph_funcs.C (breakParagraph): change to take a
5597         BufferParams and a ParagraphList as args.
5598         (breakParagraphConservative): ditto
5599         (mergeParagraph): ditto
5600         (TeXDeeper): add a ParagraphList arg
5601         (TeXEnvironment): ditto
5602         (TeXOnePar): ditto
5603
5604         * buffer.C (readLyXformat2): adjust
5605         (insertStringAsLines): adjust
5606         (latexParagraphs): adjust
5607
5608         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5609         (cutSelection): adjust
5610         (pasteSelection): adjust
5611
5612         * BufferView_pimpl.C (insertInset): adjust
5613
5614 2003-03-05  Angus Leeming  <leeming@lyx.org>
5615
5616         * commandtags.h:
5617         * LyXAction.C (init):
5618         * BufferView_pimpl.C (dispatch):
5619         * lyxfunc.C (getStatus):
5620         remove LFUN_CHILD_INSERT.
5621
5622         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5623
5624 2003-03-05  Angus Leeming  <leeming@lyx.org>
5625
5626         * commandtags.h:
5627         * LyXAction.C (init):
5628         * src/factory.C (createInset):
5629         * lyxfunc.C (getStatus):
5630         * text3.C (dispatch):
5631         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5632
5633         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5634
5635 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5636
5637         * ParagraphList.C (insert): handle insert right before end()
5638         (erase): fix cases where it can be first or last paragraph.
5639
5640 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5641
5642         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5643         Paragraph::next and Paragraph::previous
5644         (TeXOnePar): ditto
5645
5646         * text.C (breakParagraph): adjust
5647
5648         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5649         BufferParams& as arg.
5650         (breakParagraph): use ParagraphList::insert
5651         (breakParagraphConservative): take a Buffer* instead of a
5652         BufferParams& as arg.
5653         (breakParagraphConservative): use ParagraphList::insert.
5654
5655         * buffer.C (insertStringAsLines): un-const it
5656         (insertStringAsLines): adjust
5657
5658         * ParagraphList.C (insert): new function
5659
5660         * CutAndPaste.C (pasteSelection): adjust
5661
5662         * text.C (backspace): adjust
5663
5664         * tabular.C (SetMultiColumn): adjust
5665
5666         * CutAndPaste.C (cutSelection): adjust
5667         (pasteSelection): adjust
5668
5669         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5670         Buffer const * as arg
5671
5672         * ParagraphList.C (erase): new function
5673         * paragraph_funcs.C (mergeParagraph): use it
5674         (mergeParagraph): make it take a Buffer* instead of a
5675         BufferParams* as arg
5676
5677         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5678         as arg
5679         (breakParagraphConservative): ditto
5680
5681         * paragraph.h: remove the breakParagraph friend
5682
5683         * paragraph.C (eraseIntern): new function
5684         (setChange): new function
5685
5686         * paragraph_funcs.C (mergeParagraph): make it take a
5687         ParagraphList::iterator instead of a Paragraph *, adjust
5688         accordingly.
5689
5690         * paragraph.h: move an #endif so that the change tracking stuff
5691         also works in the NO_NEXT case.
5692
5693 2003-03-04  Angus Leeming  <leeming@lyx.org>
5694
5695         * commandtags.h:
5696         * LyXAction.C: new LFUN_INSET_MODIFY.
5697
5698         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5699         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5700
5701 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5702
5703         * several files: ws changes only
5704
5705         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5706         (TeXEnvironment): ditto
5707         (TeXDeeper): ditto
5708
5709         * buffer.C (makeLaTeXFile): adjust
5710         (latexParagraphs): make it take ParagraphList::iterator as args
5711
5712 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5713
5714         * buffer.C (latexParagraphs): adjust
5715
5716         * paragraph.C (TeXOnePar): move function...
5717         (optArgInset): move function...
5718         (TeXEnvironment): move function...
5719         * paragraph_pimpl.C (TeXDeeper): move function...
5720         * paragraph_funcs.C: ...here
5721
5722         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5723
5724 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5725
5726         * buffer.C (readInset): remove compability code for old Figure and
5727         InsetInfo insets
5728
5729 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5730
5731         * buffer.C: ws changes
5732         (readInset):
5733
5734         * BufferView_pimpl.C: ditto
5735         * author.C: ditto
5736         * buffer.h: ditto
5737         * bufferlist.h: ditto
5738         * changes.h: ditto
5739         * lyxfunc.C: ditto
5740
5741 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5742
5743         * converter.[Ch]: split into itself +
5744         * graph.[Ch]
5745         * format.[Ch]
5746         * Makefile.am: += graph.[Ch] + format.[Ch]
5747         * MenuBackend.C
5748         * buffer.C
5749         * exporter.C
5750         * importer.C
5751         * lyx_main.C
5752         * lyxfunc.C
5753         * lyxrc.C: added #include "format.h"
5754
5755 2003-02-27  Angus Leeming  <leeming@lyx.org>
5756
5757         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5758           a label.
5759
5760         * factory.C (createInset): add "label" to the factory.
5761
5762         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5763           string and do no more.
5764
5765 2003-02-27  Angus Leeming  <leeming@lyx.org>
5766
5767         * commandtags.h:
5768         * LyXAction.C (init):
5769         * factory.C (createInset):
5770         * BufferView_pimpl.C (dispatch):
5771           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5772
5773         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5774
5775         * lyxfunc.C (dispatch):
5776         * text3.C (dispatch): pass name to params2string.
5777
5778 2003-02-26  Angus Leeming  <leeming@lyx.org>
5779
5780         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5781           blocks together.
5782           Rearrange the ~includes. Strip out the unnecessary ones.
5783
5784         * factory.C (createInset): reformat.
5785           create new insets for the various LFUN_XYZ_APPLY lfuns.
5786
5787 2003-02-26  John Levon  <levon@movementarian.org>
5788
5789         * lyxrow.h:
5790         * lyxrow.C: add isParStart,isParEnd helpers
5791
5792         * paragraph.h: make isInserted/DeletedText take refs
5793
5794         * paragraph_funcs.h:
5795         * paragraph_funcs.C: remove #if 0'd code
5796
5797         * lyxtext.h:
5798         * text3.C:
5799         * text2.C:
5800         * text.C: use lyxrow helpers above.
5801           Move draw and paint routines to RowPainter.
5802           Make several methods use refs not pointers.
5803           Make backgroundColor() const.
5804           Add markChangeInDraw(), isInInset().
5805           Merge changeRegionCase into changeCase.
5806           Make workWidth() shouldn't-happen code into an Assert.
5807
5808         * rowpainter.h:
5809         * rowpainter.C: new class for painting a row.
5810
5811         * vspace.h:
5812         * vspace.C: make inPixels take a ref
5813
5814 2003-02-26  Angus Leeming  <leeming@lyx.org>
5815
5816         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5817         LFUN_REF_APPLY.
5818
5819 2003-02-25  John Levon  <levon@movementarian.org>
5820
5821         * ispell.C: give the forked command a more accurate name
5822
5823 2003-02-22  John Levon  <levon@movementarian.org>
5824
5825         * toc.h:
5826         * toc.C: make TocItem store an id not a Paragraph *
5827           (bug #913)
5828
5829 2003-02-21  Angus Leeming  <leeming@lyx.org>
5830
5831         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5832           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5833           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5834           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5835           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5836           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5837
5838         * BufferView_pimpl.C (dispatch):
5839         * LyXAction.C (init):
5840         * factory.C (createInset):
5841         * lyxfunc.C (getStatus, dispatch):
5842         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5843
5844 2003-02-21  Angus Leeming  <leeming@lyx.org>
5845
5846         * BufferView_pimpl.C (MenuInsertLyXFile):
5847         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5848         * lyxfunc.C (menuNew, open, doImport):
5849           no longer pass a LyXView & to fileDlg.
5850
5851 2003-02-21  Angus Leeming  <leeming@lyx.org>
5852
5853         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5854         * LyXAction.C: change, BIBKEY to BIBITEM.
5855         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5856         Change InsetBibKey to InsetBibitem.
5857         Change BIBKEY_CODE to BIBITEM_CODE.
5858         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5859         * factory.C: replace insetbib.h with insetbibitem.h.
5860         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5861         * paragraph.C: replace insetbib.h with insetbibitem.h.
5862         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5863         Change bibkey() to bibitem().
5864         * text.C: remove insetbib.h.
5865         * text2.C: replace insetbib.h with insetbibitem.h.
5866         change bibkey() to bibitem().
5867         * text3.C: remove insetbib.h.
5868         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5869
5870 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5871
5872         * lyxrc.C (output): enclose user email in quotes (in case there are
5873         several words)
5874
5875 2003-02-18  John Levon  <levon@movementarian.org>
5876
5877         * buffer.h: add std::
5878
5879 2003-02-17  John Levon  <levon@movementarian.org>
5880
5881         * SpellBase.h:
5882         * ispell.h:
5883         * ispell.C:
5884         * pspell.h:
5885         * pspell.C: reworking. Especially in ispell, a large
5886           number of clean ups and bug fixes.
5887
5888         * lyxfunc.C: fix revert to behave sensibly
5889
5890 2003-02-17 André Pönitz <poenitz@gmx.net>
5891
5892         * LyXAction.C:
5893         * commandtags.h: new LFUN_INSERT_BIBKEY
5894
5895         * layout.h:
5896         * lyxlayout.C:
5897         * buffer.C:
5898         * factory.C:
5899         * text.C:
5900         * text2.C:
5901         * text3.C:
5902         * paragraph.[Ch]:
5903         * paragraph_func.C: remove special bibkey handling
5904
5905 2003-02-17  John Levon  <levon@movementarian.org>
5906
5907         * text.C (Delete): fix case where delete at the end of
5908           the very first paragraph would not merge the pars
5909
5910 2003-02-17  John Levon  <levon@movementarian.org>
5911
5912         * lyxrow.C: fix lastPrintablePos()
5913
5914 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5915
5916         * bufferparams.C (writeLaTeX): add a std:here
5917
5918         * buffer.C: and remove a using directive there
5919
5920 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5921
5922         * buffer.C (makeLaTeXFile): move the code that generates the
5923           preamble...
5924
5925         * bufferparams.C (writeLaTeX): ... in this new method
5926
5927         * LaTeXFeatures.C (getEncodingSet): make const
5928           (getLanguages): make const
5929
5930         * MenuBackend.C (binding): returns the binding associated to this
5931           action
5932           (add): sets the status of each item by calling getStatus. Adds
5933           some intelligence.
5934           (read): add support for OptSubMenu
5935           (expand): remove extra separator at the end of expanded menu
5936
5937 2003-02-15  John Levon  <levon@movementarian.org>
5938
5939         * BufferView.C:
5940         * BufferView_pimpl.C:
5941         * bufferlist.h:
5942         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5943           inset code that had no actual effect. Remove unneeded status
5944           code.
5945
5946 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5947
5948         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5949           in preamble
5950
5951 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5952
5953         * text.C (drawLengthMarker): also draw an arrow marker for
5954           symbolic lengths (medskip...)
5955
5956 2003-02-14  John Levon  <levon@movementarian.org>
5957
5958         * tabular.h:
5959         * tabular.C: better method names
5960
5961 2003-02-14  John Levon  <levon@movementarian.org>
5962
5963         * BufferView_pimpl.C:
5964         * bufferlist.C:
5965         * buffer.C:
5966         * converter.C:
5967         * lyx_cb.C:
5968         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5969           it's a more accurate name. Remove some pointless uses.
5970
5971 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5972
5973         * text2.C (LyXText): change order of initilizers to shut off
5974           warnings
5975
5976 2003-02-14  John Levon  <levon@movementarian.org>
5977
5978         * buffer.C: use ParIterator for getParFromID()
5979
5980         * paragraph.h:
5981         * paragraph.C:
5982         * paragraph_pimpl.h:
5983         * paragraph_pimpl.C: remove unused getParFromID()
5984
5985 2003-02-14  John Levon  <levon@movementarian.org>
5986
5987         * buffer.C: remove some very old #if 0'd parse code
5988
5989 2003-02-13  John Levon  <levon@movementarian.org>
5990
5991         * text.h:
5992         * text.C:
5993         * text2.C: move hfillExpansion(), numberOfSeparators(),
5994           rowLast(), rowLastPrintable(), numberofHfills(),
5995           numberOfLabelHfills() ...
5996
5997         * lyxrow.h:
5998         * lyxrow.C: ... to member functions here.
5999
6000         * paragraph.h:
6001         * paragraph.C:
6002         * lyxtext.h:
6003         * text.C: remove LyXText::beginningOfMainBody(), and call
6004           p->beginningOfMainBody() directly. Move the check for
6005           LABEL_MANUAL into the latter.
6006
6007         * text.h:
6008         * text.C:
6009         * text2.C:
6010         * vspace.C:
6011         * BufferView.h:
6012         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6013
6014         * text.h:
6015         * text.C:
6016         * text2.C:
6017         * text3.C:
6018         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6019           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6020
6021 2003-02-13  John Levon  <levon@movementarian.org>
6022
6023         * CutAndPaste.C: remove debug
6024
6025 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6026
6027         * paragraph.C (asString): remove two unused variables
6028
6029         * lyxtextclass.C (readTitleType):
6030           (Read):
6031           (LyXTextClass): handle new members titletype_ and titlename_
6032
6033         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6034
6035 2003-02-09  John Levon  <levon@movementarian.org>
6036
6037         * buffer.h:
6038         * buffer.C: replace hand-coded list with a map for the dep clean
6039
6040 2003-02-08  John Levon  <levon@movementarian.org>
6041
6042         * LaTeX.C: consolidate code into showRunMessage() helper
6043
6044 2003-02-08  John Levon  <levon@movementarian.org>
6045
6046         * lyxfind.C:
6047         * lyxtext.h:
6048         * text2.C:
6049         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6050           and pass the size in explicitly
6051
6052         * BufferView_pimpl.h:
6053         * BufferView_pimpl.C:
6054         * BufferView.h:
6055         * BufferView.C: add getCurrentChange()
6056
6057         * BufferView_pimpl.h:
6058         * BufferView_pimpl.C: handle change lfuns
6059
6060         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6061           for changes. Mark pasted paragraphs as new.
6062
6063         * support/lyxtime.h:
6064         * support/lyxtime.C:
6065         * DepTable.C: abstract time_t as lyx::time_type
6066
6067         * LColor.h:
6068         * LColor.C: add colours for new text, deleted text, changebars
6069
6070         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6071           package use "usenames" option.
6072
6073         * commandtags.h:
6074         * lyxfunc.C:
6075         * LyXAction.C: add change lfuns
6076
6077         * Makefile.am:
6078         * author.h:
6079         * author.C: author handling
6080
6081         * buffer.h:
6082         * buffer.C: add a per-buffer author list, with first entry as
6083           current author. Handle new .lyx tokens for change tracking. Output
6084           author list to .lyx file. Output dvipost stuff to .tex preamble.
6085           Bump lyx format to 222.
6086
6087         * bufferlist.h:
6088         * bufferlist.C: add setCurrentAuthor() to reset current author details
6089           in all buffers.
6090
6091         * bufferparams.h:
6092         * bufferparams.C: add param for tracking
6093
6094         * bufferview_funcs.C: output change info in minibuffer
6095
6096         * Makefile.am:
6097         * changes.h:
6098         * changes.C: add change-tracking structure
6099
6100         * debug.h:
6101         * debug.C: add CHANGES debug flag
6102
6103         * lyxfind.h:
6104         * lyxfind.C: add code for finding the next change piece
6105
6106         * lyxrc.h:
6107         * lyxrc.C: add user_name and user_email
6108
6109         * lyxrow.h:
6110         * lyxrow.C: add a metric for the top of the text line
6111
6112         * lyxtext.h:
6113         * text.C: implement accept/rejectChange()
6114
6115         * lyxtext.h:
6116         * text.C: paint changebars. Paint new/deleted text in the chosen
6117         colours. Strike through deleted text.
6118
6119         * paragraph.h:
6120         * paragraph.C:
6121         * paragraph_pimpl.h:
6122         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6123           in the current change to the insert functions. Rework erase to
6124           mark text as deleted, adding an eraseIntern() and a range-based
6125           erase(). Implement per-paragraph change lookup and
6126           accept/reject.
6127
6128         * paragraph_funcs.C: Fixup paste for change tracking.
6129
6130         * tabular.C: mark added row/columns as new.
6131
6132         * text.C: fix rowLast() to never return -1. Don't allow
6133           spellchecking of deleted text. Track transpose changes. Don't
6134           allow paragraph break or merge where appropriate.
6135
6136         * text2.C: leave cursor at end of selection after a cut.
6137
6138 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6139
6140         * text.C (getLengthMarkerHeight):
6141         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6142         visible on screen too.
6143
6144 2003-02-07  John Levon  <levon@movementarian.org>
6145
6146         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6147
6148 2003-02-05  Angus Leeming  <leeming@lyx.org>
6149
6150         * lyxserver.C (read_ready): revert my patch of 11 September last year
6151         as it sends PC cpu through the roof. Presumably this means that
6152         the lyxserver will no longer run on an Alpha...
6153
6154 2003-01-30  Angus Leeming  <leeming@lyx.org>
6155
6156         * factory.C (createInset): create an InsetCommandParam of type "index"
6157         and use it to 'do the right thing'.
6158
6159         * text2.C (getStringToIndex): ensure that cursor position is always
6160         reset to the reset_cursor position.
6161
6162 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6163
6164         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6165         disabled.
6166
6167 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6168
6169         * bufferview.C:
6170         * lyxcb.C:
6171         * lyxfunc.C: Output messages with identical spelling, punctuation,
6172         and spaces
6173
6174 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6175
6176         * MenuBackend.C (expandFormats): List only viewable export formats
6177         in "View" menu
6178
6179         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6180         message
6181
6182         * lyxfunc.C (getStatus): Make sure that formats other than
6183         "fax" can also be disabled
6184
6185 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6186
6187         * text3.C (dispatch): put the lfuns that insert insets in 3
6188         groups, and call doInsertInset with appropriate arguments.
6189         (doInsertInset): new function, that creates an inset and inserts
6190         it according to some boolean parameters.
6191
6192 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6193
6194         * buffer.C (readFile): remember to pass on 'par' when calling
6195         readFile recursively.
6196
6197 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6198
6199         * MenuBackend.C (expandFormats): add "..." to import formats.
6200
6201 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6202
6203         * paragraph.C (asString): Remove XForms RTL hacks.
6204
6205 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6206         * buffer.C: fix typo
6207
6208 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6209
6210         * Makefile.am (LIBS): delete var
6211         (lyx_LDADD): add @LIBS@ here instead.
6212
6213 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6214
6215         * Clarify the meaning of "wheel mouse jump"
6216
6217 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6218
6219         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6220         tabular in a float
6221
6222 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6223
6224         * importer.C (Loaders): do not preallocate 3 elements in the
6225         vector, since one ends up with 6 elements otherwise
6226
6227 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6228
6229         * DepTable.C (write): write the file name as last element of the
6230         .dep file (because it may contain spaces)
6231         (read): read info in the right order
6232
6233 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6234
6235         * paragraph_pimpl.C (simpleTeXBlanks):
6236         (simpleTeXSpecialChars):
6237         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6238
6239         * tabular.C (latex): add some missing case statements. Reindent.
6240
6241         * MenuBackend.C (expandToc): remove unused variable.
6242
6243 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6244
6245         * LColor.C:
6246         * LaTeX.C:
6247         * LyXAction.C:
6248         * MenuBackend.C:
6249         * buffer.C:
6250         * exporter.C:
6251         * lyxfunc.C:
6252         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6253         and the like.
6254
6255 2003-01-05  John Levon  <levon@movementarian.org>
6256
6257         * BufferView.h:
6258         * BufferView.C: add getEncoding()
6259
6260         * kbsequence.h:
6261         * kbsequence.C: do not store last keypress
6262
6263         * lyxfunc.h:
6264         * lyxfunc.C: store last keypress here instead. Pass encoding
6265           to getISOEncoded()
6266
6267 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6268
6269         * lyx_main.C (init): remove annoying error message when following
6270         symbolic links (bug #780)
6271
6272 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6273
6274         * text.C (insertChar):
6275         * lyxrc.C (getDescription): remove extra spaces
6276
6277 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6278
6279         * lyxrc.C (getDescription): remove extra spaces
6280
6281 2002-12-20  John Levon  <levon@movementarian.org>
6282
6283         * text3.C: hack fix for page up/down across tall rows
6284
6285 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6286
6287         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6288         not been invoked
6289
6290 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6291
6292         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6293         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6294         thesaurus is not compiled in
6295
6296 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6297
6298         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6299
6300 2002-12-16  Angus Leeming  <leeming@lyx.org>
6301
6302         * lyxrc.[Ch]:
6303         * lyx_main.C (init): remove override_x_deadkeys stuff.
6304
6305 2002-12-12  John Levon  <levon@movementarian.org>
6306
6307         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6308           insert. Only remove shift modifier under strict
6309           circumstances.
6310
6311 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6312
6313         * MenuBackend.C (expandToc): fix crash.
6314
6315 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6316
6317         * MenuBackend.C (expandToc): gettext on float names.
6318
6319 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6320
6321         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6322         implement bool empty() [bug 490]
6323
6324 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6325
6326         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6327
6328 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6329
6330         * several files: ws changes
6331
6332 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6333
6334         * text2.C (setCounter): clean up a bit, use boost.format.
6335         (updateCounters): initialize par upon declaration.
6336
6337         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6338         if the layout exists. We do not just store the layout any more.
6339         (SwitchLayoutsBetweenClasses): use boost.format
6340
6341 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6342
6343         * converter.C (convert): if from and to files are the same, use a
6344         temporary files as intermediary
6345
6346 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6347
6348         * commandtags.h:
6349         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6350
6351 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6352
6353         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6354
6355 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6356
6357         * tabular.C (asciiPrintCell): use string(size, char) instead of
6358         explicit loop.
6359
6360         * sgml.C (openTag): fix order of arguments to string constructor
6361         (closeTag): ditto
6362
6363         * lyxfunc.C (dispatch): use boost.format
6364
6365         * lots of files: change "c" -> 'c'
6366
6367 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6368
6369         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6370
6371 2002-11-25  Angus Leeming  <leeming@lyx.org>
6372
6373         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6374
6375         * lyx_main.C (init): compile fix.
6376
6377 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6378
6379         * lyx_cb.C (start): boost.formatify
6380         do not include <iostream>
6381
6382         * lengthcommon.C: ws only
6383
6384         * boost-inst.C,BoostFormat.h: add more explict instantations
6385
6386 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6387
6388         * lots of files: handle USE_BOOST_FORMAT
6389
6390 2002-11-21  John Levon  <levon@movementarian.org>
6391
6392         * pspell.C: fix compile
6393
6394 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6395
6396         * lyxfunc.C (dispatch): use boost::format
6397         (open): ditto
6398         (doImport): ditto
6399
6400         * lyxfont.C (stateText): use boost::format
6401
6402         * lyx_main.C (LyX): use boost::format
6403         (init): ditto
6404         (queryUserLyXDir): ditto
6405         (readRcFile): ditto
6406         (parse_dbg): ditto
6407         (typedef boost::function): use the recommened syntax.
6408
6409         * importer.C (Import): use boost::format
6410
6411         * debug.C (showLevel): use boost::format
6412
6413         * converter.C (view): use boost::format
6414         (convert): ditto
6415         (move): ditto
6416         (scanLog): ditto
6417
6418         * bufferview_funcs.C (currentState): use boost::format
6419
6420         * bufferlist.C (emergencyWrite): use boost::format
6421
6422         * buffer.C (readLyXformat2): use boost::format
6423         (parseSingleLyXformat2Token): ditto
6424
6425         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6426
6427         * LaTeX.C (run): use boost::format
6428
6429         * Chktex.C (scanLogFile): use boost::format
6430
6431         * BufferView_pimpl.C (savePosition): use boost::format
6432         (restorePosition): ditto
6433         (MenuInsertLyXFile): ditto
6434
6435         * BoostFormat.h: help file for explicit instation.
6436
6437 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6438
6439         * tabular.C (latex): Support for block alignment in fixed width
6440         columns.
6441
6442 2002-11-17  John Levon  <levon@movementarian.org>
6443
6444         * BufferView_pimpl.C:
6445         * lyx_cb.C:
6446         * lyxfunc.C: split filedialog into open/save
6447
6448 2002-11-08  Juergen Vigna  <jug@sad.it>
6449
6450         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6451         by my last patch (hopefully).
6452
6453 2002-11-08  John Levon  <levon@movementarian.org>
6454
6455         * iterators.h:
6456         * iterators.C:
6457         * buffer.h:
6458         * buffer.C:
6459         * paragraph.h:
6460         * paragraph.C:
6461         * toc.h:
6462         * toc.C: ParConstIterator, and use it (from Lars)
6463
6464 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6465
6466         * lyxtextclass.[Ch]: revise and add doxygen comments
6467
6468 2002-11-07  John Levon  <levon@movementarian.org>
6469
6470         * text.C: fix progress value for spellchecker
6471
6472         * toc.C: fix navigate menu for insetwrap inside minipage
6473
6474         * paragraph_funcs.C: added FIXME for suspect code
6475
6476 2002-11-07  John Levon  <levon@movementarian.org>
6477
6478         * BufferView_pimpl.C: fix redrawing of insets
6479           on buffer switch
6480
6481 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6482
6483         * text2.C (updateCounters): fix bug 668
6484
6485 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6486
6487         * text3.C (dispatch): Do not make the buffer dirty when moving the
6488         cursor.
6489
6490 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6491
6492         * vc-backend.C: STRCONV
6493         (scanMaster): ditto
6494
6495         * text2.C (setCounter): STRCONV
6496
6497         * paragraph.C (asString): STRCONV
6498
6499         * lyxlength.C (asString): STRCONV
6500         (asLatexString): ditto
6501
6502         * lyxgluelength.C (asString): STRCONV
6503         (asLatexString): ditto
6504
6505         * lyxfunc.C (dispatch): STRCONV
6506         (open): ditto
6507
6508         * lyxfont.C (stateText): STRCONV
6509
6510         * importer.C (Import): STRCONV
6511
6512         * counters.C (labelItem): STRCONV
6513         (numberLabel): ditto
6514         (numberLabel): remove unused ostringstream o
6515
6516         * chset.C: STRCONV
6517         (loadFile): ditto
6518
6519         * bufferview_funcs.C (currentState): STRCONV
6520
6521         * buffer.C (readFile): STRCONV
6522         (asciiParagraph): ditto
6523         (makeLaTeXFile): ditto
6524
6525         * Spacing.C (writeEnvirBegin): STRCONV
6526
6527         * LaTeXFeatures.C (getLanguages): STRCONV
6528         (getPackages): ditto
6529         (getMacros): ditto
6530         (getBabelOptions): ditto
6531         (getTClassPreamble): ditto
6532         (getLyXSGMLEntities): ditto
6533         (getIncludedFiles): ditto
6534
6535         * LaTeX.C: STRCONV
6536         (run): ditto
6537         (scanAuxFile): ditto
6538         (deplog): ditto
6539
6540         * LString.h: add the STRCONV macros
6541
6542         * BufferView_pimpl.C (savePosition): STRCONV
6543         (restorePosition): ditto
6544         (MenuInsertLyXFile): ditto
6545
6546         * vc-backend.C (scanMaster): change from submatch[...] to
6547         submatch.str(...)
6548
6549         * funcrequest.C: include config.h
6550
6551         * factory.C: include config.h
6552
6553         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6554
6555         * box.C: include config.h
6556
6557         * LaTeX.C (scanAuxFile): change from submatch[...] to
6558         submatch.str(...)
6559         (deplog): ditto
6560
6561 2002-10-25  Angus Leeming  <leeming@lyx.org>
6562
6563         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6564
6565         * ispell.[Ch] (setError): new method.
6566         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6567         Use setError() insetead of goto END.
6568
6569         * lyx_cb.C (AutoSave): move out child process into new class
6570         AutoSaveBuffer.
6571
6572 2002-10-30  John Levon  <levon@movementarian.org>
6573
6574         * text3.C: make start appendix undoable
6575
6576 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6577
6578         * lyxlength.C (inPixels): Fix returned value.
6579
6580         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6581         environment.
6582
6583 2002-10-24  Angus Leeming  <leeming@lyx.org>
6584
6585         * lyxgluelength.h: no need to forward declare BufferParams
6586         or BufferView, so don't.
6587
6588 2002-10-21  John Levon  <levon@movementarian.org>
6589
6590         * BufferView.C: menuUndo ->undo, redo
6591
6592         * BufferView.h: document, remove dead, make some methods private
6593
6594         * paragraph_funcs.h:
6595         * paragraph_funcs.C:
6596         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6597
6598         * buffer.h:
6599         * buffer.C:
6600         * sgml.h:
6601         * sgml.C: move sgml open/close tag into sgml.C
6602
6603         * bufferview_funcs.h: unused prototype
6604
6605         * lyxfunc.h:
6606         * lyxfunc.C: remove unused
6607
6608         * lyxtext.h:
6609         * text.C: remove unused
6610
6611 2002-10-21  John Levon  <levon@movementarian.org>
6612
6613         * BufferView.h:
6614         * BufferView.C:
6615         * BufferView_pimpl.h:
6616         * BufferView_pimpl.C: fix mouse wheel handling based on
6617           patch from Darren Freeman
6618
6619 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6620
6621         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6622
6623 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6624
6625         * lyxlength.C (inPixels): Fix hanfling of negative length.
6626         Fix LyXLength::MU case.
6627
6628 2002-10-16  John Levon  <levon@movementarian.org>
6629
6630         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6631
6632 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6633
6634         * converter.C (view): add support for $$i (file name) and $$p
6635         (file path) for the viewer command. If $$i is not specified, then
6636         it is appended to the command (for compatibility with old syntax)
6637
6638 2002-10-14  Juergen Vigna  <jug@sad.it>
6639
6640         * undo_funcs.C (textHandleUndo): alter the order in which the
6641         new undopar is added to the LyXText, as we have to set first
6642         the right prev/next and then add it as otherwise the rebuild of
6643         LyXText is not correct. Also reset the cursor to the right paragraph,
6644         with this IMO we could remove the hack in "redoParagraphs()".
6645
6646 2002-10-09  Angus Leeming  <leeming@lyx.org>
6647
6648         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6649         to turn off an optimisation if a new inset is to be inserted.
6650
6651 2002-10-11 André Pönitz <poenitz@gmx.net>
6652
6653         * lyxtext.h: make some functions public to allow access
6654         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6655
6656 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6657
6658         * text3.C (dispatch): when changing layout, avoid an infinite loop
6659         [bug #652]
6660
6661 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6662
6663         * lyxrc.C (read): treat a viewer or converter command of "none" as
6664         if it were empty.
6665
6666         * MenuBackend.C (expandFormats): for an update, also allow the
6667         formats that are not viewable
6668
6669         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6670         script if it is newer than the lyxrc.defaults in user directory
6671
6672 2002-10-07 André Pönitz <poenitz@gmx.net>
6673
6674         * text.C: Vitaly Lipatov's small i18n fix
6675
6676 2002-09-25  Angus Leeming  <leeming@lyx.org>
6677
6678         * ispell.h: doxygen fix.
6679
6680 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6681
6682         * buffer.h (readFile): Add a new argument to the method, to allow
6683         reading of old-format templates.
6684
6685 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6686
6687         * toc.C (getTocList): Get TOC from InsetWrap.
6688
6689 2002-09-16  John Levon  <levon@movementarian.org>
6690
6691         * lyxfunc.C: check tabular for cut/copy too
6692
6693 2002-09-12  John Levon  <levon@movementarian.org>
6694
6695         * LyXAction.C: tidy
6696
6697         * factory.h:
6698         * factory.C: add header
6699
6700         * paragraph_funcs.h:
6701         * paragraph_funcs.C: cleanup
6702
6703 2002-09-11  John Levon  <levon@movementarian.org>
6704
6705         * PrinterParams.h: odd/even default to true
6706
6707 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6708
6709         * PrinterParams.h: update printer parameters for new xforms dialog
6710
6711 2002-09-11  Angus Leeming  <leeming@lyx.org>
6712
6713         * lyxserver.C (read_ready): re-write to make it more transparent
6714         and to make it work in coherent fashion under Tru64 Unix.
6715
6716 2002-09-11  André Pönitz <poenitz@gmx.net>
6717
6718         * commandtags.h:
6719         * LyXAction.C:
6720         * text3.C: implement LFUN_WORDSEL
6721
6722 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6723
6724         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6725         make floatlist_ a boost::shared_ptr<FloatList>
6726
6727         * lyxtextclass.C: include FloatList.h
6728         (LyXTextClass): initialize floatlist_
6729         (TextClassTags): add TC_NOFLOAT
6730         (Read): match "nofloat" to TC_NOFLOAT and use it.
6731         (readFloat): modify call to floatlist_
6732         (floats): ditto
6733         (floats): ditto
6734
6735         * FloatList.[Ch] (FloatList): remove commented out float
6736         initialization.
6737         (erase): new function
6738
6739 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6740
6741         * MenuBackend.C (expandToc): fix crash when there is no document
6742         open
6743
6744 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6745
6746         * many files: Add insetwrap.
6747
6748 2002-09-09  John Levon  <levon@movementarian.org>
6749
6750         * text2.C: remove confusing and awkward depth wraparound
6751
6752 2002-09-09  John Levon  <levon@movementarian.org>
6753
6754         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6755
6756         * buffer.h:
6757         * buffer.C: remove getIncludeonlyList()
6758
6759         * paragraph.C:
6760         * lyxfunc.C: remove headers
6761
6762 2002-09-09  Juergen Vigna  <jug@sad.it>
6763
6764         * text.C (getColumnNearX): fix form Michael this is most
6765         probably a cut&paste bug.
6766
6767 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6768
6769         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6770
6771         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6772         references, ws changes.
6773
6774         * text2.C (init): update counters after init
6775         (insertParagraph): no need to set counter on idividual paragraphs.
6776         (setCounter): access the counters object in the textclass object
6777         on in the buffer object.
6778         (updateCounters): ditto
6779
6780         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6781         shared_ptr<Counters> to avoid loading counters.h in all
6782         compilation units.
6783         (LyXTextClass): initialize ctrs_
6784         (TextClassTags): add TC_COUNTER, and ...
6785         (Read): use it here.
6786         (CounterTags): new tags
6787         (readCounter): new function
6788         (counters): new funtion
6789         (defaultLayoutName): return a const reference
6790
6791         * counters.C (Counters): remove contructor
6792         (newCounter): remove a couple of unneeded statements.
6793         (newCounter): simplify a bit.
6794         (numberLabel): some small formatting changes.
6795
6796         * buffer.[Ch]: remove all traces of counters, move the Counters
6797         object to the LyXTextClass.
6798
6799 2002-09-06  Alain Castera  <castera@in2p3.fr>
6800
6801         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6802         package to set the horizontal alignment on fixed width columns.
6803
6804         * lyx_sty.C:
6805         * lyx_sty.h: added tabularnewline macro def.
6806
6807         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6808
6809 2002-09-06  John Levon  <levon@movementarian.org>
6810
6811         * LyXAction.C: tooltips for sub/superscript
6812
6813         * MenuBackend.C: a bit more verbose
6814
6815         * lyxfunc.C: tiny clean
6816
6817         * undo_funcs.C: document undo_frozen
6818
6819 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6820
6821         * counters.C (Counters): add missing algorithm counter.
6822
6823         * text2.C (setCounter): lookup the counter with layouts latexname
6824         instead of by section number.
6825         (setCounter): use a hackish way to lookup the correct enum
6826         counter.
6827         a float name->type change
6828         reset enum couners with counter name directly instead of depth value.
6829
6830         * counters.C (Counters): remove the push_backs, change to use the
6831         float type not the float name.
6832         (labelItem): remove unused string, float name->type change
6833
6834         * counters.h: don't include vector, loose the enums and sects vectors
6835
6836 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6837
6838         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6839         (Read): add float->TC_FLOAT to textclassTags
6840         (Read): and handle it in the switch
6841         (readFloat): new function
6842
6843         * FloatList.C (FloatList): comment out the hardcoded float
6844         definitions.
6845
6846         * lyxlayout.h: ws change.
6847
6848 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6849
6850         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6851
6852 2002-09-03  Angus Leeming  <leeming@lyx.org>
6853
6854         * BufferView_pimpl.h: qualified name is not allowed in member
6855         declaration: WorkArea & Pimpl::workarea() const;
6856
6857         * factory.C: added using std::endl directive.
6858
6859         * text3.C: added using std::find and std::vector directives.
6860
6861 2002-08-29  André Pönitz <poenitz@gmx.net>
6862
6863         * lyxtext.h:
6864         * text2.C: remove unused member number_of_rows
6865
6866         * Makefile.am:
6867         * BufferView2.C: remove file, move contents to...
6868         * BufferView.C: ... here
6869
6870         * BufferView_pimpl.C:
6871         * factory.C: move more inset creation to factory
6872
6873         * vspace.C: avoid direct usage of LyXText, ws changes
6874
6875         * BufferView.[Ch]:
6876                 don't provide direct access to WorkArea, use two simple
6877                 acessors haveSelction() and workHeight() instead
6878
6879
6880 2002-08-29  John Levon  <levon@movementarian.org>
6881
6882         * BufferView_pimpl.C (dispatch): do not continue when
6883           no buffer
6884
6885 2002-08-28  André Pönitz <poenitz@gmx.net>
6886
6887         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6888
6889         * BufferView.h:
6890         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6891
6892 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6893
6894         * buffer.C: increment LYX_FORMAT to 221
6895
6896         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6897         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6898
6899         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6900
6901         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6902
6903 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6904
6905         * factory.C (createInset): use LyXTextClass::floats
6906
6907         * MenuBackend.C (expandFloatListInsert):
6908         (expandFloatInsert):
6909         (expandToc):
6910
6911         * text2.C (setCounter):
6912
6913         * LaTeXFeatures.C (useFloat):
6914         (getFloatDefinitions):
6915
6916         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6917
6918         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6919         floatlist_, with accessor floats().
6920
6921         * FloatList.h: remove global FloatList
6922
6923 2002-08-26  André Pönitz <poenitz@gmx.net>
6924
6925         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6926
6927         * BufferView.h:
6928         * BufferView2.C:
6929         * BufferView_pimpl.C:
6930         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6931
6932 2002-08-25  John Levon  <levon@movementarian.org>
6933
6934         * LyXAction.C: fix margin note description
6935
6936 2002-08-24  John Levon  <levon@movementarian.org>
6937
6938         * buffer.C:
6939         * bufferlist.C:
6940         * bufferview_funcs.C:
6941         * lyxfont.C:
6942         * undo_funcs.C: cleanups
6943
6944         * lyxfunc.C: disable CUT/COPY when no selection
6945
6946 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6947
6948         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6949         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6950
6951         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6952         Add backward compatibility to "mono", "gray" and "no".
6953
6954 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6955
6956         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6957         (and file_format >= 200).
6958
6959 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6960
6961         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6962
6963 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6964
6965         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6966
6967 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6968
6969         * BufferView_pimpl.C:
6970         * LyXAction.C:
6971         * buffer.C:
6972         * commandtags.h:
6973         * lyxfunc.C:
6974         * paragraph.[Ch]:
6975         * text2.C:
6976         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6977         inset and code to make it  work with the paragraph code. The inset
6978         can be anywhere in the paragraph, but will only do the expected
6979         thing in LaTeX if the layout file contains the parameter line
6980                         OptionalArgs    1
6981         (or more generally, a nonzero value) for that layout.
6982
6983 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6984
6985         * paragraph.h: remove the declaration of undefined counters class
6986         function.
6987
6988 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6989
6990         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6991         Dr. Richard Hawkins.
6992
6993 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6994
6995         * paragraph_funcs.h: remove some unneeded includes
6996
6997         * text.C (backspace): pasteParagraph now in global scipe
6998
6999         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7000         (pasteSelection): ditto
7001
7002         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7003         * paragraph_funcs.C (pasteParagraph): ... here
7004
7005 2002-08-20  André Pönitz <poenitz@gmx.net>
7006
7007         * commandtags.h: new LFUNs for swapping/copying table row/colums
7008
7009         * LyXAction.C:
7010         * lyxfunc.C: support for new lfuns
7011
7012 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7013
7014         * tabular.C:
7015         * buffer.[Ch]: remove NO_COMPABILITY stuff
7016
7017 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7018
7019         * boost.C (throw_exception): new file, with helper function for
7020         boost compiled without exceptions.
7021
7022         * paragraph.h:
7023         * lyxlength.C:
7024         * buffer.C:
7025         * ParameterStruct.h:
7026         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7027
7028         * bufferlist.C (emergencyWriteAll): use boost bind
7029
7030         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7031
7032         * text.C: include paragraph_funcs.h
7033         (breakParagraph): breakParagraph is now in global scope
7034
7035         * paragraph_funcs.[Ch]: new files
7036
7037         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7038         global scope
7039
7040         * buffer.C: include paragraph_funcs.h
7041         (insertStringAsLines): breakParagraph is now in global scope
7042
7043         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7044         paragraph_funcs.C
7045
7046         * CutAndPaste.C: include paragraph_funcs.h
7047         (cutSelection): breakParagraphConservative is now in global scope
7048         (pasteSelection): ditto
7049
7050         * buffer.h: declare oprator== and operator!= for
7051         Buffer::inset_iterator
7052
7053         * bufferlist.C (emergencyWrite): don't use fmt(...)
7054
7055         * text3.C: add using std::endl
7056
7057         * BufferView.C (moveCursorUpdate): remove default arg
7058
7059 2002-08-20  André Pönitz <poenitz@gmx.net>
7060
7061         * buffer.[Ch]: move inline functions to .C
7062
7063         * BufferView2.C:
7064         * BufferView_pimpl.C:
7065         * text.C:
7066         * buffer.[Ch]: use improved inset_iterator
7067
7068         * buffer.C:
7069         * paragraph.[Ch]: write one paragraph at a time
7070
7071 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7072
7073         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7074         style if style is not specified.
7075
7076 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7077
7078         * text2.C (setCounter): when searching for right label for a
7079         caption, make sure to recurse to parent insets (so that a caption
7080         in a minipage in a figure float works) (bug #568)
7081
7082 2002-08-20  André Pönitz <poenitz@gmx.net>
7083
7084         * text3.C: new file for LyXText::dispatch() and helpers
7085
7086         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7087
7088         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7089
7090 2002-08-19  André Pönitz <poenitz@gmx.net>
7091
7092         * lyxtext.h:
7093         * text.C: new LyXText::dispatch()
7094
7095         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7096
7097 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7098
7099         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7100
7101         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7102         Hebrew text.
7103
7104 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7105
7106         * Makefile.am: use $(variables) instead of @substitutions@
7107
7108 2002-08-15  André Pönitz <poenitz@gmx.net>
7109
7110         * lyxfunc.C:
7111         * BufferView_pimpl.C: streamlining mathed <-> outer world
7112         interaction
7113
7114         * commandtags.h:
7115         * LyXAction.C: remove unused LFUN_MATH
7116
7117 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7118
7119         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7120
7121 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7122
7123         * paragraph.C (Paragraph): reformat a bit
7124         (cutIntoMinibuffer): use builtin InsetList function instad of
7125         doing it manually.
7126         (getInset): ditto
7127
7128         * buffer.C: include boost/bind.hpp, add using std::for_each
7129         (writeFileAscii): use ParagraphList iterators
7130         (validate): use for_each for validate traversal of paragraphs
7131         (getBibkeyList): use ParagraphList iterators
7132         (resizeInsets): use for_each to resizeInsetsLyXText for all
7133         paragraphs.
7134         (getParFromID): use ParagraphList iterators
7135
7136         * BufferView2.C (lockInset): use paragraph list and iterators
7137
7138 2002-08-14  John Levon  <levon@movementarian.org>
7139
7140         * lyxserver.C: remove spurious xforms include
7141
7142 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7143
7144         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7145
7146 2002-08-13  André Pönitz <poenitz@gmx.net>
7147
7148         * LyXAction.[Ch]:
7149         * lyxfunc.C: further cleaning
7150
7151 2002-08-13  André Pönitz <poenitz@gmx.net>
7152
7153         * funcrequest.h: new constructor
7154
7155         * funcrequest.C: move stuff here from .h
7156
7157         * Makefile.am:
7158         * BufferView_pimpl.C:
7159         * LyXAction.C:
7160         * toc.C:
7161         * lyxfunc.C: subsequent changes
7162
7163         * lyxfunc.h: new view() member function
7164
7165         * lyxfunc.C: subsequent changes
7166
7167 2002-08-13  Angus Leeming  <leeming@lyx.org>
7168
7169         * BufferView2.C:
7170         * BufferView_pimpl.C:
7171         * buffer.C:
7172         * converter.C:
7173         * importer.C:
7174         * lyxfunc.C:
7175         * lyxvc.C:
7176         * toc.C:
7177         * vc-backend.C:
7178         changes due to the changed LyXView interface that now returns references
7179         to member variables not pointers.
7180
7181 2002-08-13  Angus Leeming  <leeming@lyx.org>
7182
7183         * WordLangTuple (word, lang_code): return references to strings,
7184         not strings.
7185
7186         * BufferView.h:
7187         * SpellBase.h:
7188         * lyxtext.h: forward-declare WordLangTuple.
7189
7190         * BufferView2.C:
7191         * ispell.C:
7192         * pspell.C:
7193         * text.C: #include "WordLangTuple.h".
7194
7195         * lyxtext.h:
7196         * text.C: (selectNextWordToSpellcheck): constify return type.
7197
7198 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7199
7200         * buffer.C:
7201         * buffer.h:
7202         * lyxtext.h:
7203         * paragraph.C:
7204         * paragraph_pimpl.h:
7205         * text.C:
7206         * text2.C:
7207         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7208         suggested by Angus.
7209         Made updateCounter always count from start of buffer, and removed
7210         second argument (par).
7211         Reverted floats number display to '#'. Perhaps I'll try again when the
7212         code base is sanitized a bit.
7213
7214 2002-08-12  Angus Leeming  <leeming@lyx.org>
7215
7216         * buffer.[Ch] (getLabelList): constify.
7217
7218 2002-08-07  André Pönitz <poenitz@gmx.net>
7219
7220         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7221
7222         * funcrequest.h: extension to keep mouse (x,y) position
7223
7224 2002-08-12  Juergen Vigna  <jug@sad.it>
7225
7226         * BufferView2.C (insertErrors): forbid undo when inserting error
7227         insets.
7228
7229         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7230
7231 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7232
7233         * ParagraphList.[Ch]: new files
7234
7235         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7236
7237         * BufferView2.C (lockInset): ParagraphList changes
7238         * toc.C: ditto
7239         * text2.C: ditto
7240         * bufferlist.C: ditto
7241         * buffer.h: ditto
7242         * buffer.C: ditto
7243
7244 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7245
7246         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7247         unused class variable counter_,
7248
7249         * paragraph.[Ch] (getFirstCounter): delete unused function
7250
7251         * counters.C: include LAssert.h
7252         (reset): add a new function with no arg, change other version to
7253         not have def. arg and to not allow empty arg.
7254
7255         * text2.C (setCounter): remove empty arg from call to Counters::reset
7256
7257 2002-08-11  John Levon  <levon@movementarian.org>
7258
7259         * Makefile.am: add WordLangTuple.h
7260
7261 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7262
7263         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7264         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7265
7266         * insets/insettext.C: InsetList changes
7267
7268         * graphics/GraphicsSupport.C (operator()): InsetList changes
7269
7270         * toc.C (getTocList): InsetList changes
7271
7272         * paragraph_pimpl.[Ch]: InsetList changes
7273
7274         * paragraph.[Ch]: InsetList changes
7275
7276         * buffer.C (inset_iterator): InsetList changes
7277         (setParagraph): ditto
7278         * buffer.h (inset_iterator): ditto
7279         * iterators.C (operator++): ditto
7280         * iterators.h: ditto
7281
7282         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7283
7284         * InsetList.[Ch]: new files, most InsetList handling moved out of
7285         paragraph.C.
7286
7287         * BufferView2.C (removeAutoInsets): InsetList changes
7288         (lockInset): ditto
7289         (ChangeInsets): ditto
7290
7291 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7292
7293         * paragraph_pimpl.h (empty): new function
7294
7295         * paragraph.[Ch] (empty): new function
7296
7297         * other files: use the new Paragraph::empty function
7298
7299 2002-08-09  John Levon  <levon@movementarian.org>
7300
7301         * lyxtext.h: remove unused refresh_height
7302
7303 2002-08-09  John Levon  <levon@movementarian.org>
7304
7305         * Makefile.am:
7306         * sgml.h:
7307         * sgml.C:
7308         * buffer.C:
7309         * paragraph.h:
7310         * paragraph.C: move sgml char escaping out of paragraph
7311
7312         * paragraph.h:
7313         * paragraph.C: remove id setter
7314
7315         * buffer.C:
7316         * paragraph.C:
7317         * paragraph_pimpl.C: remove dead tex_code_break_column
7318
7319         * bufferview_funcs.C: small cleanup
7320
7321         * lyxfunc.C: remove dead proto
7322
7323         * lyxtext.h: make some stuff private. Remove some dead stuff.
7324
7325         * lyxgluelength.C: make as[LyX]String() readable
7326
7327 2002-08-08  John Levon  <levon@movementarian.org>
7328
7329         * LyXAction.h:
7330         * LyXAction.C:
7331         * MenuBackend.C:
7332         * ToolbarDefaults.C:
7333         * lyxfunc.C:
7334         * lyxrc.C:
7335         * toc.C: lyxaction cleanup
7336
7337 2002-08-08  John Levon  <levon@movementarian.org>
7338
7339         * BufferView2.C: small cleanup
7340
7341         * lyxfind.h:
7342         * lyxfind.C: move unnecessary header into the .C
7343
7344 2002-08-08  John Levon  <levon@movementarian.org>
7345
7346         * funcrequest.h: just tedious nonsense
7347
7348         * lyx_main.h:
7349         * lyx_main.C: cleanups
7350
7351         * buffer.C:
7352         * vspace.C: remove dead header lyx_main.h
7353
7354 2002-08-07  Angus Leeming  <leeming@lyx.org>
7355
7356         * Paragraph.[Ch]:
7357         * paragraph_pimpl.h:
7358         Forward declare class Counters in paragraph.h by moving the ctrs member
7359         variable into Paragraph::Pimpl.
7360         (counters): new method, returning a reference to pimpl_->ctrs.
7361
7362         * text2.C: ensuing changes.
7363
7364 2002-08-07  John Levon  <levon@movementarian.org>
7365
7366         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7367
7368         * BufferView_pimpl.C: announce X selection on double/triple
7369           click
7370
7371         * lyx_main.C: use correct bool in batch dispatch
7372
7373         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7374
7375 2002-08-07  André Pönitz <poenitz@gmx.net>
7376
7377         * funcrequest.h: new class to wrap a kb_action and its argument
7378
7379         * BufferView.[Ch]:
7380         * BufferView_pimpl[Ch]:
7381         * LaTeX.C:
7382         * LyXAction.[Ch]:
7383         * lyxfunc.[Ch]:
7384         * lyxrc.C: subsequent changes
7385
7386
7387 2002-08-07  John Levon  <levon@movementarian.org>
7388
7389         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7390           document options change.
7391
7392 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7393
7394         * counters.[Ch]
7395         * text2.C
7396         * paragraph.[Ch]
7397         * makefile.am: move counters functionality over from
7398         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7399
7400 2002-08-06  John Levon  <levon@movementarian.org>
7401
7402         * WordLangTuple.h: new file for word + language code tuple
7403
7404         * SpellBase.h:
7405         * pspell.h:
7406         * pspell.C:
7407         * ispell.h:
7408         * ispell.C:
7409         * lyxtext.h:
7410         * text.C:
7411         * text2.C:
7412         * BufferView.h:
7413         * BufferView2.C: use WordLangTuple
7414
7415         * layout.h:
7416         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7417
7418 2002-08-06  John Levon  <levon@movementarian.org>
7419
7420         * lyx_main.C: fix cmdline batch handling
7421
7422 2002-08-06  André Pönitz <poenitz@gmx.net>
7423
7424         * lyxrc.C: set default for show_banner to true
7425
7426 2002-08-06  John Levon  <levon@movementarian.org>
7427
7428         * pspell.C: fix a crash, and allow new aspell to work
7429
7430 2002-08-06  John Levon  <levon@movementarian.org>
7431
7432         * lyxfunc.C:
7433         * kbmap.C: small cleanup
7434
7435         * vspace.h:
7436         * vspace.C: add const
7437
7438 2002-08-05  John Levon  <levon@movementarian.org>
7439
7440         * LyXAction.C: back to tabular-insert
7441
7442 2002-08-04  John Levon  <levon@movementarian.org>
7443
7444         * BufferView.h:
7445         * BufferView.C: cosmetic change
7446
7447         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7448
7449         * bufferlist.C:
7450         * buffer.h:
7451         * buffer.C:
7452         * lyxcb.h:
7453         * lyxcb.C:
7454         * lyxserver.C:
7455         * lyxvc.C:
7456         * vc-backend.C:
7457         * BufferView2.C: purge all "Lyx" not "LyX" strings
7458
7459         * lyxcursor.h:
7460         * lyxcursor.C: attempt to add some documentation
7461
7462         * lyxfunc.C:
7463         * commandtags.h:
7464         * LyXAction.C:
7465         * ToolbarDefaults.C:
7466         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7467           merge with LFUN_TABULAR_INSERT
7468
7469         * Makefile.am:
7470         * SpellBase.h:
7471         * ispell.h:
7472         * ispell.C:
7473         * pspell.h:
7474         * pspell.C: split up i/pspell implementations into separate
7475           files, many cleanups
7476
7477         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7478
7479         * text2.C: some cleanup
7480
7481         * lyxfunc.C: don't check for isp_command == "none" any more, it
7482           didn't make any sense
7483
7484 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7485
7486         * counters.[Ch]
7487         * text2.C
7488         * paragraph.[Ch]
7489         * makefile.am: move counters functionality over
7490         from text2.C/paragraph.[Ch] to counters.[Ch], and
7491         make proper C++.
7492 2002-08-02  John Levon  <levon@movementarian.org>
7493
7494         * buffer.C: s/lyxconvert/lyx2lyx/
7495
7496 2002-08-02  Angus Leeming  <leeming@lyx.org>
7497
7498         * lyxlex.C: revert John's change as it breaks reading of the user
7499         preamble.
7500
7501 2002-08-02  Angus Leeming  <leeming@lyx.org>
7502
7503         * importer.C (Import):
7504         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7505         changes due to LyXView::view() now returning a boost::shared_ptr.
7506
7507 2002-08-02  John Levon  <levon@movementarian.org>
7508
7509         * lyxlex.C: small cleanup
7510
7511 2002-08-02  John Levon  <levon@movementarian.org>
7512
7513         * text2.C (status): small cleanup, no logic change
7514
7515 2002-08-01  John Levon  <levon@movementarian.org>
7516
7517         * buffer.h:
7518         * buffer.C (writeFile): don't output alerts, caller
7519           handles this
7520
7521         * bufferlist.C:
7522         * lyx_cb.C: from above
7523
7524         * lyxfunc.C: allow to open non-existent files
7525
7526 2002-07-31  John Levon  <levon@movementarian.org>
7527
7528         * lyxserver.C: don't let incidental errors get
7529           in the way (errno)
7530
7531 2002-07-30  John Levon  <levon@movementarian.org>
7532
7533         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7534
7535 2002-07-30  John Levon  <levon@movementarian.org>
7536
7537         * lyxserver.h:
7538         * lyxserver.C: remove I/O callback too
7539
7540 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7541
7542         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7543         log.
7544
7545 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7546
7547         * many files: strip,frontStrip -> trim,ltrim,rtrim
7548
7549 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7550
7551         * PrinterParams.h: remove extern containsOnly, and include
7552         support/lstrings.h instead.
7553
7554         * LaTeX.C (scanAuxFile): modify because of strip changes
7555         (deplog): ditto
7556         * buffer.C (makeLaTeXFile): ditto
7557         * bufferparams.C (writeFile): ditt
7558         * lyxfont.C (stateText): ditto
7559         * lyxserver.C (read_ready): ditto
7560         * vc-backend.C (scanMaster): ditto
7561
7562         * BufferView_pimpl.h: ws changes
7563
7564         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7565
7566 2002-07-26  André Pönitz <poenitz@gmx.net>
7567
7568         * kb_sequence.C: remove unnedred usings
7569
7570 2002-07-26  Juergen Vigna  <jug@sad.it>
7571
7572         * lyxfind.C (LyXReplace): we have to check better if the returned
7573         text is not of theLockingInset()->getLockingInset().
7574
7575 2002-07-25  Juergen Vigna  <jug@sad.it>
7576
7577         * lyxfind.C (LyXReplace): don't replace if we don't get the
7578         right LyXText.
7579
7580         * undo_funcs.C (createUndo): remove debugging code.
7581
7582 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7583
7584         * buffer.C (parseSingleLyXformat2Token): Use default placement
7585         when reading old floats.
7586
7587         * FloatList.C (FloatList): Change the default placement of figure
7588         and tables to "tbp".
7589
7590 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7591
7592         * MenuBackend.C: using std::max
7593
7594 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7595
7596         * MenuBackend.C (expandToc):
7597         (expandToc2): code moved from xforms menu frontend. It is now
7598         generic and TOCs are transparent to menu frontends.
7599
7600 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7601
7602         * toc.C (getTocList): protect against buf=0
7603
7604         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7605         Menu as first parameter. Now, this calls itself recursively to
7606         expand a whole tree (this will be useful for TOC handling)
7607         (expandFloatInsert): remove 'wide' version of floats
7608
7609         * MenuBackend.h (submenuname): returns the name of the submenu.
7610         (submenu): returns the submenu itself, provided it has been
7611         created by MenuBackend::expand
7612
7613 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7614
7615         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7616         insets which have noFontChange == true. (bug #172)
7617
7618 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7619
7620         * BufferView_pimpl.C: add connection objects and use them...
7621         (Pimpl): here.
7622
7623 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7624
7625         * MenuBackend.C (expandLastfiles):
7626         (expandDocuments):
7627         (expandFormats):
7628         (expandFloatListInsert):
7629         (expandFloatInsert):
7630         (expand): split expand in parts
7631
7632 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7633
7634         * lyx_gui.C: use lyx_gui::exit()
7635
7636 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7637
7638         * LyXAction.C: show the failing pseudo action
7639
7640 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7641
7642         * buffer.C (readFile): Run the lyxconvert script in order to read
7643         old files.
7644
7645 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7646
7647         * LyXAction.C:
7648         * commandtags.h:
7649         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7650
7651 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7652
7653         * LyXAction.C:
7654         * commandtags.h:
7655         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7656
7657 2002-07-22  Herbert Voss  <voss@lyx.org>
7658
7659         * lengthcommon.C:
7660         * lyxlength.[Ch]: add support for the vertical lengths
7661
7662 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7663
7664         * toc.[Ch]: std:: fixes
7665
7666 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7667
7668         * lyxrc.C: do not include lyx_main.h
7669
7670         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7671         for layouts
7672
7673         * lyxrc.C:
7674         * encoding.C:
7675         * bufferlist.C:
7676         * BufferView2.C: include "lyxlex.h"
7677
7678         * tabular.h:
7679         * bufferparams.h: do not #include "lyxlex.h"
7680
7681         * lyxtextclasslist.C (Add): remove method
7682         (classlist): renamed to classlist_
7683
7684         * paragraph_pimpl.C:
7685         * paragraph.C:
7686         * text2.C:
7687         * CutAndPaste.C:
7688         * bufferview_funcs.C:
7689         * bufferlist.C:
7690         * text.C:
7691         * LaTeXFeatures.C:
7692         * buffer.C:
7693         * toc.C (getTocList): use BufferParams::getLyXTextClass
7694
7695         * toc.C (getTocList): use InsetFloat::addToToc
7696
7697         * toc.[Ch]: new files, containing helper functions to handle table
7698         of contents
7699
7700         * lyxfunc.C (dispatch): no need to remove spaces around command
7701         given as a string
7702         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7703         first command of the sequence; it is not very clever, but I do not
7704         have a better idea, actually
7705
7706         * LyXAction.C (LookupFunc): make sure to remove space at the
7707         beginning and end of the command
7708
7709 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7710
7711         * MenuBackend.C (getMenubar): new method: return the menubar of
7712         this menu set
7713         (read): treat differently reading of menu and menubar (in
7714         particular, the menubar has no name now)
7715         (Menu::menubar): remove
7716
7717         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7718         saving is finished
7719
7720 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7721
7722         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7723         a bibitem inset in a RTL paragraph.
7724
7725 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7726
7727         * paragraph_pimpl.C: constify
7728
7729         * BufferView_pimpl.C:
7730         * LaTeX.C:
7731         * lyxfunc.C: fix dispatch in a nicer way
7732
7733 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7734
7735         * lyxfunc.C (dispatch):
7736         * BufferView_pimpl.C:
7737         * BufferView_pimpl.h:
7738         * BufferView.C:
7739         * BufferView.h: rename Dispatch() to dispatch()
7740
7741         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7742
7743         * lyxlayout.C (Read): honor DependsOn tag
7744
7745         * lyxlayout.[Ch] (depends_on): new method
7746
7747         * version.C.in: update lyx_docversion
7748
7749         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7750
7751         * paragraph.C (validate): remove from here...
7752         * paragraph_pimpl.C (validate): ... and move here
7753         (isTextAt): make it const
7754
7755         * buffer.C (getLists): ws cleanup
7756
7757 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7758
7759         * language.C (read): Use iso8859-1 encoding in latex_lang
7760         (this prevents LyX from crashing when using iso10646-1 encoding).
7761
7762 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7763
7764         * text2.C (toggleInset): if cursor is inside an inset, close the
7765         inset and leave cursor _after_ it
7766
7767 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7768
7769         * lyxfunc.C: move minibuffer completion handling out of here
7770
7771 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7772
7773         * BufferView_pimpl.C:
7774         * LaTeX.C: fix dispatch calls
7775
7776 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7777
7778         * text.C (drawChars): Fix Arabic text rendering.
7779
7780 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7781
7782         * LyXAction.C:
7783         * commandtags.h:
7784         * lyxfunc.C: remove message-push/pop
7785
7786         * lyxserver.C:
7787         * lyxfunc.h:
7788         * lyxfunc.C: rationalise some code by removing verboseDispatch
7789           in favour of a bool argument to dispatch()
7790
7791 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7792
7793         * lyx_main.C (init): make sure to read symlinks as absolute paths
7794
7795 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7796
7797         * lyxfunc.h:
7798         * lyxfunc.C: no need for commandshortcut to be a member
7799
7800 2002-07-15  André Pönitz <poenitz@gmx.net>
7801
7802         * converter.C: add support for $$s (scripts from lib/scripts dir)
7803         * lyx_main.C: white space
7804
7805 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7806
7807         * bufferlist.C:
7808         * lyxrc.h:
7809         * lyxrc.C: remove second exit confirmation
7810
7811 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7812
7813         * BufferView.h:
7814         * BufferView.C:
7815         * BufferView2.C:
7816         * BufferView_pimpl.h:
7817         * BufferView_pimpl.C:
7818         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7819
7820 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7821
7822         * MenuBackend.C (expand): add numeric shortcuts to document menu
7823
7824         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7825
7826 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7827
7828         * lyxfont.C (setLyXFamily):
7829         (setLyXSeries):
7830         (setLyXShape):
7831         (setLyXSize):
7832         (setLyXMisc):
7833         (lyxRead):
7834         * debug.C (value):
7835         * buffer.C (asciiParagraph): use ascii_lowercase
7836
7837 2002-07-15  Mike Fabian  <mfabian@suse.de>
7838
7839         * lyxlex_pimpl.C (search_kw):
7840         * lyxlex.C (getLongString):
7841         * converter.h (operator<):
7842         * converter.C (operator<):
7843         * buffer.C (parseSingleLyXformat2Token):
7844         (asciiParagraph):
7845         * ToolbarDefaults.C (read):
7846         * MenuBackend.C (checkShortcuts):
7847         (read):
7848         * LColor.C (getFromGUIName):
7849         (getFromLyXName): use the compare_ascii_no_case instead of
7850         compare_no_case, because in turkish, 'i' is not the lowercase
7851         version of 'I', and thus turkish locale breaks parsing of tags.
7852
7853 2002-07-16  Angus Leeming  <leeming@lyx.org>
7854
7855         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7856         now takes a Buffer const & argument.
7857
7858 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7859
7860         * BufferView.C (resize): check there's a buffer to resize
7861
7862 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7863
7864         * lyxfunc.C: remove dead code
7865
7866         * lyxserver.h:
7867         * lyxserver.C: use lyx_guii::set_read_callback
7868
7869 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7870
7871         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7872         an inset in a RTL paragraph.
7873
7874 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7875
7876         * lyxfunc.C: repaint after a font size update
7877
7878 2002-07-15  André Pönitz <poenitz@gmx.net>
7879
7880         * lyxlength.C: inBP should be able to return negative values
7881
7882 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7883
7884         * lyxfunc.C: use lyx_gui::update_fonts()
7885
7886 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7887
7888         * lyxfunc.C: use lyx_gui::update_color()
7889
7890 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7891
7892         * bufferlist.C:
7893         * lyxfunc.h:
7894         * lyxfunc.C:
7895         * lyxrc.h:
7896         * lyxrc.C: remove file->new asks for name option, and let
7897           buffer-new take an argument
7898
7899 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7900
7901         * BufferView_pimpl.C: remove unneeded extra repaint()
7902
7903 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7904
7905         * LyXAction.C: allow command-sequence with NoBuffer
7906
7907         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7908
7909 2002-07-10  Angus Leeming  <leeming@lyx.org>
7910
7911         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7912
7913 2002-07-09  Angus Leeming  <leeming@lyx.org>
7914
7915         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7916
7917 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7918
7919         * lengthcommon.h: whitespace
7920
7921         * lyxfunc.C: update scrollbar after goto paragraph
7922
7923         * lyxtext.h: factor out page break drawing, and fix it so
7924           page break/added space paints as selected nicely
7925
7926 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7927
7928         * BufferView_pimpl.C: add FIXMEs, clean up a little
7929
7930 2002-07-09  André Pönitz <poenitz@gmx.net>
7931
7932         * lyxfont.[Ch]: support for wasy symbols
7933
7934 2002-07-08  André Pönitz <poenitz@gmx.net>
7935
7936         * BufferView_pimpl.C: apply John's patch for #93.
7937
7938 2002-07-05  Angus Leeming  <leeming@lyx.org>
7939
7940         * BufferView_pimpl.C (buffer): generate previews if desired.
7941
7942         * LColor.h: add "preview" to the color enum.
7943
7944         * LColor.C (LColor): add a corresponding entry to the items array.
7945
7946         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7947         with this buffer.
7948
7949 2002-07-05  Angus Leeming  <leeming@lyx.org>
7950
7951         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7952         The body of the code is now in the method that is passed an ostream &
7953         rather than a file name.
7954         Pass an additional only_preamble parameter, useful for the forthcoming
7955         preview stuff.
7956
7957 2002-07-03  André Pönitz <poenitz@gmx.net>
7958
7959         * lyxfunc.C: simplify getStatus() a bit for math stuff
7960
7961 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7962
7963         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7964
7965 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7966
7967         * text.C (changeRegionCase): do not change case of all the
7968         document when region ends at paragraph end (bug #461)
7969
7970 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7971
7972         * paragraph.C (startTeXParParams):
7973         (endTeXParParams): add \protect when necessary
7974
7975 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7976
7977         * BufferView_pimpl.C (workAreaExpose): remove warning
7978
7979 2002-06-27  Angus Leeming  <leeming@lyx.org>
7980
7981         * Makefile.am: add lyxlayout_ptr_fwd.h.
7982
7983 2002-06-26  André Pönitz <poenitz@gmx.net>
7984
7985         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7986
7987 2002-06-25  Angus Leeming  <leeming@lyx.org>
7988
7989         * lyxfunc.C (dispatch): Comment out the call to
7990         grfx::GCache::changeDisplay. The method no longer exists now that the
7991         pixmap generation part of the graphics loader has been moved into
7992         InsetGraphics.
7993
7994 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7995
7996         * text2.C: layout as layout
7997
7998         * text.C: layout as layout
7999
8000         * tabular.C (OldFormatRead): layout as layout
8001
8002         * paragraph_pimpl.C (TeXDeeper): layout as layout
8003         (realizeFont): layout as layout
8004
8005         * paragraph.C (writeFile): layout as layout
8006         (validate): layout as layout
8007         (getFont): layout as layout
8008         (getLabelFont): layout as layout
8009         (getLayoutFont): layout as layout
8010         (breakParagraph): layout as layout
8011         (stripLeadingSpaces): layout as layout
8012         (getEndLabel): layout as layout
8013         (getMaxDepthAfter): layout as layout
8014         (applyLayout): layout as layout
8015         (TeXOnePar): layout as layout
8016         (simpleTeXOnePar): layout as layout
8017         (TeXEnvironment): layout as layout
8018         (layout): layout as layout
8019         (layout): layout as layout
8020
8021         * lyxtextclass.C (compare_name): new functor to work with
8022         shared_ptr, layout as layout
8023         (Read): layout as layout
8024         (hasLayout): layout as layout
8025         (operator): layout as layout
8026         (delete_layout): layout as layout
8027         (defaultLayout): layout as layout
8028
8029         * lyxlayout_ptr_fwd.h: new file
8030
8031         * lyxlayout.C (Read): layout as layout
8032
8033         * lyx_cb.C (MenuInsertLabel): layout as layout
8034
8035         * bufferlist.C (newFile): layout as layout
8036
8037         * buffer.C (readLyXformat2): layout as layout
8038         (parseSingleLyXformat2Token): layout as layout
8039         (insertStringAsLines): layout as layout
8040         (asciiParagraph): layout as layout
8041         (latexParagraphs): layout as layout
8042         (makeLinuxDocFile): layout as layout
8043         (simpleLinuxDocOnePar): layout as layout
8044         (makeDocBookFile): layout as layout
8045         (simpleDocBookOnePar): layout as layout
8046         (getLists): layout as layout
8047
8048         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8049
8050         * CutAndPaste.C (cutSelection): layout as layout
8051         (pasteSelection): layout as layout
8052         (SwitchLayoutsBetweenClasses): layout as layout
8053
8054         * BufferView_pimpl.C (Dispatch): layout as layout
8055         (smartQuote): layout as layout
8056
8057         * BufferView2.C (unlockInset): layout as layout
8058
8059 2002-06-24  André Pönitz <poenitz@gmx.net>
8060
8061         * lyxfunc.C: fix #487
8062
8063 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8064
8065         * lyxrc.h:
8066         * lyxrc.C:
8067         * lyxfunc.C: remove display_shortcuts, show_banner
8068
8069 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8070
8071         * Buffer_pimpl.C: oops, update on resize
8072
8073 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8074
8075         * buffer.C:
8076         * converter.C:
8077         * exporter.C:
8078         * lyxfunc.C:
8079         * BufferView.h:
8080         * BufferView.C: use repaint()
8081
8082         * BufferView_pimpl.h:
8083         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8084           as it's a clearer description. Remove superfluous
8085           redraws.
8086
8087 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8088
8089         * text.C: fix bug 488. Not ideal, but getting
8090           getWord() to work properly for the insets that
8091           matter is more difficult ...
8092
8093 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8094
8095         * BufferView_pimpl.C:
8096         * LyXAction.C:
8097         * commandtags.h:
8098         * lyxfunc.C: remove the six million index lyxfuncs to just
8099           one, and DTRT (bug 458)
8100
8101 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8102
8103         * BufferView.h:
8104         * BufferView.C:
8105         * BufferView_pimpl.h:
8106         * BufferView_pimpl.C: clean up resize() stuff,
8107           and unnecessary updateScreen()s
8108
8109 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8110
8111         * BufferView.h:
8112         * BufferView.C:
8113         * BufferView_pimpl.h:
8114         * BufferView_pimpl.C:
8115         * lyxfind.h:
8116         * lyxfind.C:
8117         * minibuffer.C: remove focus management of workarea,
8118           not needed. Use screen's greyOut()
8119
8120 2002-06-17  Herbert Voss  <voss@lyx.org>
8121
8122         * converter.C: (convert) do not post a message, when converting
8123         fails, let the calling function decide what to do in this case
8124
8125 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8126
8127         * lyxfunc.C: tidy up a little
8128
8129 2002-06-16    <alstrup@diku.dk>
8130
8131         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8132         Got rid of FORMS_H_LOCATION include. Now we are
8133         GUII.
8134
8135 2002-06-15  LyX Development team  <lyx@rilke>
8136
8137         * buffer.[Ch] (sgmlOpenTag):
8138         (sgmlCloseTag): Added support for avoiding pernicious mixed
8139         content. Return number of lines written.
8140
8141         (makeLinuxDocFile):
8142         (makeDocBookFile): Fixed calls to sgml*Tag.
8143         Simple white space clean.
8144
8145         (simpleDocBookOnePar): Simple white space clean.
8146
8147         * tabular.[Ch] (docBook): Renamed to docbook and got another
8148         argument to related with the pernicious mixed content.
8149
8150         (docbookRow): Fixed calls for docbook inset method.
8151
8152 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8153
8154         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8155         so it's X11 independent.
8156
8157         * kb*.[Ch]: ditto.
8158
8159         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8160
8161 2002-06-15  Lyx Development team  <lyx@electronia>
8162
8163         * intl.h: Renamed getTrans to getTransManager.
8164
8165 2002-06-14  Angus Leeming  <leeming@lyx.org>
8166
8167         * Makefile.am: nuke forgotten stl_string_fwd.h.
8168
8169 2002-06-12  Angus Leeming  <leeming@lyx.org>
8170
8171         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8172
8173 2002-06-13  Angus Leeming  <leeming@lyx.org>
8174
8175         * LaTeX.C:
8176         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8177
8178 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8179
8180         * kbmap.C (getiso): add support for cyrillic and greek
8181
8182 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8183
8184         * BufferView.h:
8185         * BufferView.C:
8186         * BufferView_pimpl.h:
8187         * BufferView_pimpl.C: move bogus scrolling logic
8188           to xforms
8189
8190 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8191
8192         * lyxfunc.C:
8193         * BufferView_pimpl.C: view->resize() change
8194
8195 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8196
8197         * BufferView_pimpl.C: topCursorVisible
8198           prototype change
8199
8200 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8201
8202         * Makefile.am:
8203         * lyx_gui.h:
8204         * lyx_gui.C: move to frontends/
8205
8206         * main.C:
8207         * lyx_main.h:
8208         * lyx_main.C: changes from above
8209
8210 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8211
8212         * intl.C:
8213         * intl.h:
8214         * kbmap.C:
8215         * kbsequence.C:
8216         * lyx_cb.C:
8217         * lyx_main.C: minor tidy
8218
8219 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8220
8221         * BufferView_pimpl.h:
8222         * BufferView_pimpl.C:
8223         * BufferView.h:
8224         * BufferView.C: make painter() const,
8225           remove dead code
8226
8227         * BufferView2.C: use screen() accessor
8228
8229         * lyx_main.h:
8230         * lyx_main.C: some minor cleanup
8231
8232 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8233
8234         * BufferView_pimpl.h:
8235         * BufferView_pimpl.C: remove enter/leaveView,
8236           use workHeight()
8237
8238 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8239
8240         * BufferView.h:
8241         * BufferView.C:
8242         * BufferView2.C:
8243         * BufferView_pimpl.h:
8244         * BufferView_pimpl.C: only construct screen once,
8245           rename
8246
8247         * lyxrc.C: remove pointless comment
8248
8249 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8250
8251         * BufferView.h:
8252         * BufferView.C: remove active() and belowMouse()
8253
8254         * BufferView_pimpl.h:
8255         * BufferView_pimpl.C: use workarea() not workarea_,
8256           and make it use a scoped_ptr instead
8257
8258 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8259
8260         * lyx_gui.C: add debug message on BadWindow
8261
8262 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8263
8264         * sp_spell.C: fdopen is not part of the C++ standard.
8265
8266         * paragraph.C (InsetIterator): use >= instead of ==
8267
8268 2002-06-07  Angus Leeming  <leeming@lyx.org>
8269
8270         Fixes needed to compile with Compaq cxx 6.5.
8271         * BufferView_pimpl.C:
8272         * DepTable.C:
8273         * buffer.C:
8274         * converter.C:
8275         * encoding.C:
8276         * lyx_gui.C:
8277         * lyx_main.C:
8278         * lyxtextclasslist.C:
8279         * minibuffer.C:
8280         * sp_spell.C:
8281         * tabular_funcs.C:
8282         * vc-backend.C:
8283         all c-library variables have been moved into namespace std. Wrap
8284         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8285
8286         * lyxlength.C:
8287         * tabular-old.C:
8288         * tabular.C:
8289         Add a using std::abs declaration.
8290
8291         * kbmap.h (modifier_pair):
8292         * paragraph.h (InsetTable, InsetList):
8293         * lyxfont.h (FontBits):
8294         type definition made public.
8295
8296         * bufferlist.C (emergencyWriteAll): the compiler complains that
8297         there is more than one possible lyx::class_fun template to choose from.
8298         I re-named the void specialisation as lyx::void_class_fun.
8299
8300         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8301
8302         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8303         the compiler is is unable to find tostr in write_attribute.
8304
8305 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8306
8307         * buffer.C (sgmlError): hide #warning
8308
8309 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8310
8311         * xtl/*: get rid of xtl, which is not in use anyway
8312
8313         * LyXAction.C (init):
8314         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8315         were unimplemented xtl experimentation
8316
8317 2002-06-04  André Pönitz <poenitz@gmx.net>
8318
8319         * lyxfunc.C: disable array operation on simple formulae
8320
8321 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8322
8323         * converter.C: constify a bit
8324
8325 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8326
8327         * lyx_gui.C: check xforms version correctly
8328
8329 2002-04-30  Herbert Voss  <voss@lyx.org>
8330
8331         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8332         "keep" option
8333
8334 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8335
8336         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8337           attempt to register it with a VCS)
8338
8339 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8340
8341         * lyx_main.C (init): honor variables LYX_DIR_13x and
8342         LYX_USERDIR_13x
8343
8344 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8345
8346         * buffer.h:
8347         * buffer.C:
8348         * lyx_main.C: fix a crash on bad command line,
8349           and give a useful exit status on error
8350
8351         * lyxfunc.C (doImport): allow -i lyx to work
8352
8353 2002-03-30  André Pönitz <poenitz@gmx.net>
8354
8355         * lyxfunc.C: mathed font changes
8356
8357 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8358
8359         * LaTeX.C:
8360         * importer.h:
8361         * importer.C:
8362         * lyx_sty.h:
8363         * lyx_sty.C:
8364         * lyxlex.C:
8365         * lyxrow.h:
8366         * lyxtext.h:
8367         * paragraph.h:
8368         * paragraph.C:
8369         * texrow.h:
8370         * texrow.C:
8371         * text.C:
8372         * trans_mgr.h: srcdocs, and some minor cleanups
8373
8374 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8375
8376         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8377         call getFont all the time)
8378
8379 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8380
8381         * switch from SigC signals to boost::signals
8382
8383 2002-05-29  André Pönitz <poenitz@gmx.net>
8384
8385         * paragraph_pimpl.C (getChar): don't call size() too often...
8386
8387 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8388
8389         * paragraph_pimpl.C (insertChar): do not try to update tables when
8390         appending (pos == size())
8391
8392         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8393         in order to reduce drastically the number of comparisons needed to
8394         parse a large document
8395
8396 2002-05-29  André Pönitz <poenitz@gmx.net>
8397
8398         * text.C:
8399         * text2.C:
8400         * lyxtextclass.C:
8401         * sp_pspell.h:
8402         * textclasslist.[Ch]:
8403         * sp_ispell.h: whitespace change
8404
8405 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8406
8407         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8408         lyxaction directly now.
8409
8410 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8411
8412         * trans.C:
8413         * lyxfont.C:
8414         * lyxvc.C: remove unused headers
8415
8416 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8417
8418         * Makefile.am:
8419         * buffer.h:
8420         * undostack.h:
8421         * undostack.C:
8422         * undo_funcs.h:
8423         * undo_funcs.C: some cleanups. Use shared_ptr
8424           and a template for the undo stacks.
8425
8426 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8427
8428         * BufferView_pimpl.h:
8429         * BufferView_pimpl.C:
8430         * kbmap.h:
8431         * kbmap.C:
8432         * kbsequence.h:
8433         * kbsequence.C:
8434         * lyxfunc.h:
8435         * lyxfunc.C:
8436         * text2.C: use key_state/mouse_state
8437
8438 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8439
8440         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8441         and LSubstring
8442
8443         * chset.C: change include order
8444         (loadFile): use boost regex and get rid of LRegex and LSubstring
8445
8446         * Makefile.am (BOOST_LIBS): new variable
8447         (lyx_LDADD): use it
8448
8449         * LaTeX.C: change include order.
8450         (scanAuxFile): use boost regex and get rid of LRegex and
8451         LSubstring
8452         (deplog): ditto
8453
8454 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8455
8456         * ColorHandler.h:
8457         * ColorHandler.C:
8458         * FontInfo.h:
8459         * FontInfo.C: moved to frontends/xforms/
8460
8461         * FontLoader.h:
8462         * FontLoader.C: moved into frontends for GUIIzation
8463
8464         * Makefile.am:
8465         * lyx_gui.C:
8466         * lyxfont.C:
8467         * lyxfunc.C: changes from above
8468
8469 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8470
8471         * LColor.C: remove spurious X include
8472
8473         * BufferView_pimpl.C:
8474         * Makefile.am:
8475         * font.h:
8476         * font.C:
8477         * text.C:
8478         * text2.C: move font metrics to frontends/
8479
8480 2002-05-24  Juergen Vigna  <jug@sad.it>
8481
8482         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8483         setting the undo_cursor.
8484
8485         * ParagraphParameters.h: include local includes first.
8486
8487 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8488
8489         * BufferView_pimpl.C:
8490         * BufferView_pimpl.h:
8491         * Makefile.am:
8492         * WorkArea.h:
8493         * WorkArea.C:
8494         * screen.C: move WorkArea into frontends/
8495
8496         * lyxscreen.h:
8497         * screen.C:
8498         * text.C:
8499         * BufferView.C:
8500         * BufferView2.C: move LyXScreen into frontends/
8501
8502         * lyxlookup.h:
8503         * lyxlookup.C:
8504         * lyx_gui.C: move lyxlookup into frontends/xforms/
8505
8506 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8507
8508         * BufferView2.C:
8509         * BufferView_pimpl.C:
8510         * FontLoader.C:
8511         * LyXView.h:
8512         * LyXView.C:
8513         * Makefile.am:
8514         * WorkArea.C:
8515         * XFormsView.h:
8516         * XFormsView.C:
8517         * buffer.C:
8518         * bufferlist.C:
8519         * bufferview_funcs.C:
8520         * converter.C:
8521         * importer.C:
8522         * lyx_cb.C:
8523         * lyx_gui.C:
8524         * lyx_main.C:
8525         * lyx_find.C:
8526         * lyxfunc.C:
8527         * lyxvc.C:
8528         * minibuffer.C:
8529         * text.C:
8530         * text2.C:
8531         * trans.C:
8532         * vc-backend.C: move LyX/XFormsView into frontends/
8533
8534 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8535
8536         * Makefile.am:
8537         * PainterBase.C:
8538         * PainterBase.h:
8539         * Painter.C:
8540         * Painter.h:
8541         * WorkArea.C:
8542         * WorkArea.h:
8543         * screen.C:
8544         * tabular.C:
8545         * text.C:
8546         * text2.C: move Painter to frontends/
8547
8548 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8549
8550         * buffer.C: comment out some some code that depend upon lyx_format
8551         < 220
8552
8553         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8554         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8555
8556         * buffer.h (NO_COMPABILITY): turn off compability
8557
8558         * ColorHandler.C: include scoped_array.hpp
8559
8560         * font.C: Use more specific smart_ptr header.
8561         * Painter.C: ditto
8562         * gettext.C: ditto
8563         * ShareContainer.h: ditto
8564         * lyx_main.h: ditto
8565         * kbmap.h: ditto
8566         * FontInfo.h: ditto
8567         * BufferView_pimpl.h: ditto
8568         * ColorHandler.h: ditto
8569
8570         * kbmap.C (defkey): change call to shared_ptr::reset
8571
8572 2002-05-21  Juergen Vigna  <jug@sad.it>
8573
8574         * buffer.C (insertErtContents): fix to insert ert asis if it is
8575         non empty. Skip it completely if it contains only whitespaces.
8576
8577 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8578
8579         * BufferView_pimpl.C:
8580         * BufferView2.C: clear selection on paste (bug 393)
8581
8582 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8583
8584         * DepTable.C: include ctime
8585
8586 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8587
8588         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8589
8590 2002-05-14  Juergen Vigna  <jug@sad.it>
8591
8592         * text.C (breakParagraph): fixed function to honor the keepempty
8593         layout in the right maner and also to permit the right breaking
8594         algorithm on empty or non empyt keepempty paragraphs.
8595
8596         * paragraph.C (breakParagraph): we have to check also if the par
8597         is really empty (!size()) for isempty otherwise we do the wrong
8598         paragraph break.
8599
8600 2002-05-10  Juergen Vigna  <jug@sad.it>
8601
8602         * buffer.[Ch] : The following are only changes to the ert
8603         compatibility read reading old LaTeX layout and font stuff and
8604         convert it to ERTInsets.
8605
8606         * buffer.h: added isErtInset().
8607
8608         * buffer.C (struct ErtComp): add a fromlayout bool to check
8609         if we're inside a LaTeX layout.
8610         (isErtInset): new helper function.
8611         (insertErtContents): look for other ert insets before this one
8612         and insert the contents there, so that we don't have subsequent
8613         ERT insets with nothing between them. This way we create only one
8614         inset with multiple paragraphs. Also check if we don't insert only
8615         spaces ' ' as they are ignored anyway afterwards in the .tex file
8616         so if we have only spaces we will ignore this latex part in the
8617         new file.
8618         (parseSingleLyXformat2Token \\layout): better compatibility when
8619         reading layout-latex stuff.
8620         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8621         language tag.
8622         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8623         stuff after reading the inset only get the information back from
8624         the stack.
8625
8626 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8627
8628         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8629
8630         * LaTeXFeatures.C (getBabelOptions): New method.
8631
8632 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8633
8634         * BufferView_pimpl.C (Dispatch): work around missing argument for
8635         'layout'
8636
8637 2002-05-08  Juergen Vigna  <jug@sad.it>
8638
8639         * text.C (leftMargin): handle paragraph leftindent.
8640
8641         * paragraph.C (writeFile): write the new \\leftindent tag.
8642         (validate): handle leftindent code.
8643         (TeXEnvironment): handle paragraphleftindent code again.
8644
8645         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8646
8647         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8648         for paragrap_extra indent code and new token \\leftindent.
8649         (latexParagraphs): handle the leftindent as environment.
8650
8651         * ParameterStruct.h: added leftindent support.
8652
8653         * ParagraphParameters.C (leftIndent): added support functions for
8654         the paragraph left indent.
8655
8656         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8657         more appropriate.
8658
8659 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8660
8661         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8662         inside insetERT.
8663
8664         * text.C (computeBidiTables): No bidi in insetERT.
8665
8666         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8667         in RTL documents.
8668
8669 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8670
8671         * version.C.in: pre 5
8672
8673 2002-05-02  José Matos  <jamatos@fep.up.pt>
8674         * buffer.C (makeDocBookFile): white space changes, add newline to
8675         command styles.
8676         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8677
8678         * tabular.C (docBook): fix typo.
8679
8680 2002-05-03  Juergen Vigna  <jug@sad.it>
8681
8682         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8683         change in LyXText as we can not be sure it was not freed.
8684         (drawOneRow): remove unused code.
8685
8686         * text.C (drawInset): redo the calculation of the need_break_row as
8687         it could have a row which was already freed.
8688         (draw): look at the return value of drawInset and return false if
8689         it also returned false.
8690         (paintRowText): look at the return value of draw and return false if
8691         it also returned false.
8692
8693         * lyxtext.h: added bool return type to drawInset() and draw() so that
8694         if we have a change in the row so that the rowbreak has to be redone
8695         we abort drawing as it will be called again.
8696
8697 2002-05-02  Juergen Vigna  <jug@sad.it>
8698
8699         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8700         a change in the maintext also if we're inside an inset.
8701         (Dispatch): set the cursor again after a break line and after the
8702         screen has been updated as it could be we're in a different row.
8703
8704         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8705         to set the cursor behind the pargraph with > size().
8706         (setCursor): check also for the same paragraph when checking where
8707         to put the cursor if we have a NFR inset.
8708
8709         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8710         parts of layout read further up as it still was in the wrong
8711         position.
8712
8713 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8714
8715         * screen.C (drawFromTo): change sine fullRebreak always return
8716         true.
8717
8718         * buffer.C (parseSingleLyXformat2Token): reindent some
8719
8720         * BufferView_pimpl.C (update): change since fullRebreak always
8721         return true.
8722         (Dispatch): git rid of the last hardcoded "Standard"s.
8723
8724 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8725
8726         * text2.[Ch] (fullRebreak): make it return void now that we always
8727         returned true.
8728
8729 2002-04-30  Juergen Vigna  <jug@sad.it>
8730
8731         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8732         ert compatibility check for "latex" layout.
8733
8734 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8735
8736         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8737         minipages: use col% instead of p%, and also use the current font.
8738         (makeLaTeXFile): Fix use babel condition.
8739         (parseSingleLyXformat2Token): Correct font when reading old floats.
8740
8741 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8742
8743         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8744         inserting list of floats.
8745
8746 2002-04-25  Herbert Voss  <voss@lyx.org>
8747
8748         * MenuBackend.C (expand): don't add the graphics extensions to the
8749         export menu
8750
8751 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8752
8753         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8754         non-existing layout, do not complain if it was the default layout
8755         of the original class (bug #342)
8756
8757 2002-04-24  Juergen Vigna  <jug@sad.it>
8758
8759         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8760         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8761
8762 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8763
8764         * buffer.C (getBibkeyList): If using \bibliography, return the
8765         option field with the reference itself. Enables us to provide natbib
8766         support when using \bibliography.
8767
8768 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8769
8770         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8771
8772         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8773         natbib is provided by the LaTeX class.
8774
8775 2002-04-23  Juergen Vigna  <jug@sad.it>
8776
8777         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8778         Wakeup functions.
8779
8780         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8781
8782 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8783
8784         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8785
8786         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8787         ensuremath around textordmasculine, textordfeminine and
8788         textdegree.
8789
8790 2002-04-19  Juergen Vigna  <jug@sad.it>
8791
8792         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8793         reinitializing the buffer otherwise row-dimensions may be wrong.
8794         (update): reset also the selection cursors if they do exits otherwise
8795         their x/y positions may be wrong.
8796
8797         * text2.C (cursorDown): don't enter the inset if we came from a row
8798         above and are one row over the inset.
8799
8800         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8801         really leaving an inset.
8802
8803 2002-04-18  Juergen Vigna  <jug@sad.it>
8804
8805         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8806         of the selected paragraph does not have the selected layout also if
8807         the last one had!
8808
8809         * text2.C (setLayout): fixed bug which did not change last selected
8810         paragraph.
8811
8812         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8813         changed the read and substituted \\end_float with \\end_inset!
8814
8815         * BufferView_pimpl.C (cursorPrevious):
8816         (cursorNext): fixed to make it work with rows heigher than the work
8817         area without moving the cursor only the draw of the row.
8818         (workAreaMotionNotify): fix jumping over high rows.
8819
8820 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8821
8822         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8823         Ressler.
8824
8825 2002-04-16  Juergen Vigna  <jug@sad.it>
8826
8827         * text2.C (setCursor): set also the irow().
8828         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8829         (cursorUp):
8830         (cursorDown): support for locking an inset if the x_fix value goes
8831         inside it. That way I can transverse insets too with cursor up/down.
8832
8833         * lyxrow.h: added irow helper function same as other (i) functions.
8834
8835         * BufferView_pimpl.C (cursorPrevious):
8836         (cursorNext): fixed for insets!
8837
8838 2002-04-15  Juergen Vigna  <jug@sad.it>
8839
8840         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8841         position otherwise it is wrong in some cases.
8842
8843         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8844         inside the inset before the call.
8845
8846 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8847
8848         * buffer.[Ch] (getBibkeyList): make it const.
8849
8850 2002-04-12  Juergen Vigna  <jug@sad.it>
8851
8852         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8853
8854         * text2.C (getCursorX): new helper function
8855         (setCursor): compute also ix_
8856         (setCursorFromCoordinates): set also ix.
8857
8858         * lyxcursor.h: added ix_ and helper functions.
8859
8860         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8861
8862         * buffer.C (insertStringAsLines): dont break paragraph if the this
8863         paragraph is inside an inset which does not permit it!
8864
8865         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8866         also with no chars on this paragraph.
8867         (paintRowText): only paint stuff if it's inside the workarea!
8868
8869         * paragraph.C (breakParagraph): honor keepempty flag and break the
8870         paragraph always below not above.
8871
8872         * BufferView2.C (unlockInset): update the paragraph layout on inset
8873         unlock as we changed paragraph in such a case.
8874
8875         * lyxfind.C (LyXFind): clear the former selection if not found!
8876
8877         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8878         again called in insertChar().
8879
8880         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8881         an inset which uses the whole row!
8882         (rightMargin): ditto.
8883         (insertChar): force a rebreak if we inserted an inset!
8884
8885 2002-03-28  Herbert Voss  <voss@lyx.org>
8886
8887         * lyxlength.[Ch]: add inBP() to get the right PS-point
8888         units (BigPoint). With inPixels we have rounding errors
8889
8890 2002-04-11  Juergen Vigna  <jug@sad.it>
8891
8892         * text2.C (setCursorFromCoordinates): set iy to the right value.
8893         (setCursor): add check if row->previous exists!
8894
8895         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8896         an old float_type as this was the case in the old code!
8897
8898         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8899
8900         * BufferView2.C (showLockedInsetCursor): use iy
8901         (fitLockedInsetCursor): ditto
8902
8903         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8904         locked insets as there we have the right value now.
8905
8906         * lyxcursor.C: added iy_ variable and iy functions to set to the
8907         baseline of cursor-y of the locked inset.
8908
8909         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8910         (setCursor): fixed for insets which need a full row.
8911
8912         * text.C (rowLastPrintable): don't ignore the last space when before
8913         an inset which needs a full row.
8914         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8915         as last character of a row when before a inset which needs a full row.
8916
8917 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8918
8919         * version.C.in: update date
8920
8921         * text2.C (fullRebreak): try to always return true and see what
8922         happens...
8923
8924 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8925
8926         * MenuBackend.C (expand): use Floating::listName
8927
8928         * FloatList.C (FloatList): add listName argument to the built-in
8929         floats
8930
8931         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8932         text associated with the float.
8933
8934 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8935
8936         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8937
8938 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8939
8940         * ShareContainer.h: add a couple of missing typenames.
8941
8942 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8943
8944         * lyxrc.C (getDescription): use _() correctly rather than N_().
8945
8946 2002-03-28  Herbert Voss  <voss@lyx.org>
8947
8948         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8949         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8950
8951 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8952
8953         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8954         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8955
8956 2002-03-29  Juergen Vigna  <jug@sad.it>
8957
8958         * lyxfunc.C (dispatch): add a missing fitCursor call.
8959
8960         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8961         it was scrolled by a cursor move, so return the bool status.
8962
8963         * BufferView.C (fitCursor): return the bool flag also to the outside
8964         world as this is needed.
8965
8966         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8967
8968         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8969         call the edit() as it is not needed (and wrong) IMO.
8970         (workAreaButtonPress): set the screen_first variable before evt.
8971         unlock the inset as this may change screen_first and then we have
8972         a wrong y position for the click!
8973
8974 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8975
8976         * MenuBackend.C (expand): another translation that I missed
8977
8978 2002-03-28  Juergen Vigna  <jug@sad.it>
8979
8980         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8981
8982         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8983
8984 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8985
8986         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8987
8988         * MenuBackend.C (expand): fix export/view/update when there is no
8989         document open.
8990
8991 2002-03-27  Herbert Voss  <voss@lyx.org>
8992
8993         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8994         and text%
8995
8996 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8997
8998         * bufferview_funcs.C (currentState): only show paragraph number
8999         for is DEVEL_VERSION is set.
9000
9001         * lyxfunc.C (dispatch): put warning in INFO channel
9002
9003         * MenuBackend.C (expand): translate the name of floats
9004
9005         * FloatList.C (FloatList): mark the float names for translation
9006
9007         * converter.C (convert): use LibScriptSearch
9008
9009 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9010
9011         * MenuBackend.C (defaults): fix default menu (we might as well get
9012         rid of it...)
9013
9014 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9015
9016         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9017         directory.
9018
9019 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9020
9021         * lyxvc.C: reorder includes.
9022
9023 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9024
9025         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9026           properly
9027
9028 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9029
9030         * CutAndPaste.C: change layouts earlier on paste
9031           to avoid crashing when calling getFont()
9032
9033 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9034
9035         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9036         irritating #error.
9037
9038 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9039
9040         * WorkArea.C: remove 'Pending' debug message.
9041
9042         * most files: ws cleanup
9043
9044         * buffer.[Ch]: ws changes
9045
9046         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9047
9048 2002-03-21  Juergen Vigna  <jug@sad.it>
9049
9050         * tabular.C (SetMultiColumn): collapse also the contents of the
9051         cells and set the last border right. Added a Buffer const * param.
9052
9053 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9054
9055         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9056         linking or not.
9057
9058 2002-03-19  Juergen Vigna  <jug@sad.it>
9059
9060         * text2.C (clearSelection): reset also xsel_cache.
9061
9062         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9063         where it needs to be called (John tells us to do so too :)
9064         (selectionLost): reset sel_cache.
9065
9066         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9067
9068 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9069
9070         * text2.C (setCursorIntern): put debuging code in INSETS channel
9071
9072 2002-03-19  André Pönitz <poenitz@gmx.net>
9073
9074         * lyxfunc.C: tiny whitespace change
9075
9076 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9077
9078         * ToolbarDefaults.C (init):
9079         * LyXAction.C (init):
9080         * commandtags.h:
9081         * BufferView_pimpl.C (Dispatch):
9082         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9083
9084 2002-03-19  Allan Rae  <rae@lyx.org>
9085
9086         * exporter.C (Export): removeAutoInsets before doing anything else.
9087         While I've just introduced a dependency on BufferView this really is
9088         the best place to clean the buffer otherwise you need to cleanup in
9089         a dozen places before calling export or cleanup in a dozen functions
9090         that export calls.
9091
9092         * converter.C (runLaTeX):
9093         (scanLog): Better handling of removeAutoInsets and screen updates.
9094
9095         * lyxfunc.C (dispatch): small whitespace changes
9096
9097 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9098
9099         * WorkArea.C (C_WorkAreaEvent): return a value.
9100         (event_cb): return 1 if we handled the event, 0 otherwise.
9101
9102         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9103
9104 2002-03-18  Juergen Vigna  <jug@sad.it>
9105
9106         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9107         (GetAdditionalWidth): ditto.
9108         (RightLine): ditto.
9109         (LeftLine): ditto.
9110
9111         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9112         inset if we're there actually (probably not used right now but this
9113         is the direction to go for unifying code).
9114         (paste): disable code to clear the selection.
9115
9116         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9117         inside an InsetText and move the check further up as it is in the
9118         wrong place.
9119
9120         * text2.C (pasteSelection): set a selection over the pasted text.
9121
9122 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9123
9124         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9125         and libgraphics to build on Cygwin.
9126
9127 2002-03-15  Juergen Vigna  <jug@sad.it>
9128
9129         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9130         inserting an Inset into the paragraph. I know this is not the best
9131         fix but we already use current_view in CutAndPaste so we will remove
9132         all of it's using at the same time.
9133
9134         * buffer.C (sgmlError): deactivated function till it is rewritten in
9135         the right mode, now it can create problems.
9136
9137         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9138         before accessing it.
9139
9140 2002-03-14  Juergen Vigna  <jug@sad.it>
9141
9142         * undo_funcs.C (textHandleUndo): do the right thing when updating
9143         the inset after the undo/redo.
9144
9145         * text2.C (setCursor): just some testcode for #44 not ready yet.
9146
9147         * undo_funcs.C (textHandleUndo): set the next() and previous()
9148         pointers of the paragraph to 0 before deleting otherwise we have
9149         problems with the Paragraph::[destructor].
9150
9151         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9152         on a paragraph insertion.
9153
9154 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9155
9156         * buffer.C (asciiParagraph): use += operator for char append to
9157         string.
9158
9159         * paragraph.C (getFontSettings): compare >= not just >
9160         (highestFontInRange): ditto
9161         (setFont): ditto
9162
9163 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9164
9165         * paragraph.C: change several algorithm to be more appripriate for
9166         the problem domain. This is lookip in FontList and in the InsetList.
9167
9168 2002-03-13  André Pönitz <poenitz@gmx.net>
9169
9170         * commandtags.h:
9171         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9172
9173 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9174
9175         * commandtags.h:
9176         * LyXAction.C:
9177         * lyxfunc.C:
9178         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9179
9180 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9181
9182         * Painter.C (display): anon helper function, adjust code for this
9183         change.
9184         (pixmap): remove function.
9185
9186         * Painter.h: remove private display variable.
9187
9188         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9189
9190 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9191
9192         * WorkArea.[Ch]: remove figinset_canvas cruft.
9193
9194 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9195
9196         * lyxtextclass.C (operator): add one item cache optimization.
9197
9198         * bufferlist.h: doxy changes
9199
9200         * bufferlist.C: ws changes
9201
9202         * DepTable.[Ch] (ext_exist): place const in the right spot.
9203
9204         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9205         call resizeInsets.
9206         (workAreaExpose): call resizeInsets when the with BufferView changes.
9207         (Dispatch): adjust for protectedBlank removal
9208         (specialChar): call updateInset if the insert went ok.
9209
9210         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9211         specialChar instead.
9212
9213         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9214
9215         * BufferView.h: doxy change
9216
9217         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9218
9219         * lyxtextclass.C (operator[]): remove non-const version
9220         (defaultLayout): remove non-const version
9221
9222 2002-03-12  Juergen Vigna  <jug@sad.it>
9223
9224         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9225         did resize the LyXText too.
9226
9227         * buffer.C (readLyXformat2): set layout information on newly allocated
9228         paragraphs.
9229
9230         * tabular.C (OldFormatRead): set layout information on the paragraph.
9231
9232 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9233
9234         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9235
9236 2002-03-11  Juergen Vigna  <jug@sad.it>
9237
9238         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9239         plainly wrong.
9240         (resizeCurrentBuffer): force also the insets to resize themselfes.
9241         (moveCursorUpdate): fixed up for InsetText.
9242
9243 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9244
9245         * commandtags.h:
9246         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9247         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9248         value of Dialogs::tooltipsEnabled().
9249         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9250
9251 2002-03-08  Juergen Vigna  <jug@sad.it>
9252
9253         * BufferView_pimpl.C (updateInset): update inset inside inset also
9254         if it isn't inside theLockingInset().
9255
9256 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9257
9258         * buffer.C (asciiParagraph): redo some of the word and line length
9259         handling.
9260         (getLists): look for Caption instead of caption.
9261
9262 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9263
9264         * buffer.C (Buffer): initialize niceFile to true
9265         (makeLaTeXFile):
9266         (makeLinuxDocFile):
9267         (makeDocBookFile): make sure niceFile is true on exit
9268
9269 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9270
9271         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9272
9273 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9274
9275         * LyXSendto.C: remove.
9276         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9277         * lyx_gui.C: remove now-redundant comment.
9278         * ColorHandler.h: remove forward declaration of class WorkArea.
9279         * lyxfunc.C: remove #include "WorkArea.h".
9280
9281 2002-03-07  Juergen Vigna  <jug@sad.it>
9282
9283         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9284         got moved away with the DEPM and also set the inset_owner always
9285         right which before could have been omitted.
9286
9287 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9288
9289         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9290         wanted layout is not found.
9291
9292 2002-03-07  Juergen Vigna  <jug@sad.it>
9293
9294         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9295
9296 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9297
9298         * paragraph.C (breakParagraph): use default layout not layout of
9299         prev paragraph.
9300         (Paragraph): clear ParagraphParameters.
9301
9302 2002-03-06  Juergen Vigna  <jug@sad.it>
9303
9304         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9305         otherwise it would not be a valid lenght. Fixed a special case in
9306         the minipage compatibility read where we end the document with a
9307         minipage.
9308
9309         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9310         was set as it could be 0 for InsetTexts first entry.
9311
9312 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9313
9314         * paragraph.C (writeFile): if layout is empty write out
9315         defaultLayoutName().
9316
9317         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9318         file without named layout we set layout to defaultLayoutName().
9319
9320 2002-03-06  Juergen Vigna  <jug@sad.it>
9321
9322         * CutAndPaste.C (copySelection): set layout for new paragraph.
9323
9324         * text.C (prepareToPrint): leave ERT inset left aligned
9325         (leftMargin): don't indent paragraphs inside ERT insets
9326
9327 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9328
9329         * paragraph.C (breakParagraph): dont call clear do the work manually
9330
9331         * paragraph.[Ch] (clear): remove function
9332
9333 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9334
9335         * paragraph.C (Paragraph): dont call clear, the work has already
9336         been done.
9337
9338         * lyxtextclass.C (operator): assert if n is empty
9339
9340         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9341         work manually instead.
9342
9343 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9344
9345         * BufferView_pimpl.C: protect selectionLost against text == 0
9346
9347 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9348
9349         * text.C (breakParagraph): fix a setting layout to '0' problem.
9350
9351 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9352
9353         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9354         final location of file, for the included files, and graphics.
9355
9356 2002-03-05  Juergen Vigna  <jug@sad.it>
9357
9358         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9359
9360 2002-03-04  Juergen Vigna  <jug@sad.it>
9361
9362         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9363
9364         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9365         last column of multicolumn cells.
9366         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9367
9368 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9369
9370         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9371         file if it doesn't go to a temporary file.
9372
9373         * buffer.C (sgmlOpenTag):
9374         (sgmlCloseTag):  remove extra newline insertion.
9375
9376 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9377
9378         * text.C (getRowNearY): comment out debug msg
9379
9380 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9381
9382         * text2.C: first -> first_y
9383
9384         * text.C (getRowNearY): add some attemts at a possible
9385         optimization, not working.
9386
9387         * tabular.[Ch]: add BufferParams to several function so that newly
9388         created paragraph can be initialized to he default layotu for the
9389         buffers textclass.
9390
9391         * tabular-old.C (ReadOld): add buf->params to call of Init
9392
9393         * screen.C: rename text->first to text->first_y
9394
9395         * paragraph.C (breakParagraph): always set layout in the broken
9396         paragraph
9397
9398         * lyxtextclass.C (Read): remove lowercase
9399         (hasLayout): ditto
9400         (operator): ditto
9401         (delete_layout): ditto
9402
9403         * lyxtext.h: rename first -> first_y
9404
9405         * lyxlayout.C (Read): remove lowercase
9406         (name): ditto
9407         (setName): ditto
9408         (obsoleted_by): ditto
9409
9410         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9411
9412         * buffer.C (insertErtContents): add params are to InsetERT
9413         (parseSingleLyXformat2Token): add code to check if a paragraphs
9414         layout really exist.
9415         (parseSingleLyXformat2Token): add params to several inset
9416         constructors
9417         (asciiParagraph): remove lowercase, do the layout comparisons with
9418         no_case
9419
9420         * BufferView_pimpl.C (cursorNext): first -> first_y
9421         (resizeCurrentBuffer): first -> first_y
9422         (updateScrollbar): first -> first_y
9423         (scrollCB): first -> first_y
9424         (workAreaMotionNotify): first -> first_y
9425         (workAreaButtonPress): first -> first_y
9426         (checkInsetHit): first -> first_y
9427         (cursorPrevious): first -> first_y
9428         (cursorNext): first -> first_y
9429         (Dispatch): add buffer_->params to severl inset contructors
9430
9431 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9432
9433         * lyxlayout.C (Read): remove some debug info that I forgot.
9434
9435         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9436         clean up the code slightly.
9437         (makeLinuxDocFile): ditto
9438         (makeDocBookFile): ditto
9439
9440         * text2.C: layout as string
9441
9442         * text.C: layout as string
9443
9444         * paragraph_pimpl.C: layout as string
9445
9446         * paragraph.[Ch]: layout as string
9447
9448         * lyxtextclasslist.[Ch]: layout as string
9449
9450         * lyxtextclass.[Ch]: layout as string
9451
9452         * lyxtext.h: layout as string
9453
9454         * lyxlayout.[Ch]: layout as string
9455
9456         * lyx_cb.C: layout as string
9457
9458         * bufferview_funcs.C: layout as string
9459
9460         * bufferparams.C: layout as string
9461
9462         * buffer.C: layout as string
9463
9464         * LyXView.[Ch]: layout as string
9465
9466         * LaTeXFeatures.[Ch]: layout as string
9467
9468         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9469
9470         * BufferView_pimpl.C: change current_layout to string, remove
9471         lyx::layout_type.
9472         (Dispatch):
9473         (smartQuote):
9474         (insertInset):
9475         (workAreaButtonRelease): layout as string
9476
9477         * BufferView2.C (unlockInset): adjust
9478
9479         * vspace.C (asLatexCommand): use an explict temp variable.
9480
9481 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9482
9483         * Makefile.am: use FRONTEND_*
9484
9485 2002-03-01  Juergen Vigna  <jug@sad.it>
9486
9487         * tabular.C (SetWidthOfMulticolCell): changed to something better
9488         I hope but still work in progress.
9489         (recalculateMulticolumnsOfColumn): renamed function from
9490         recalculateMulticolCells as it is more appropriate now.
9491         (SetWidthOfCell): calculate multicols better.
9492
9493 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9494
9495         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9496
9497         * lyxfunc.C (processKeySym): print sequence also if it is
9498         `deleted' (complete)
9499
9500         * kbsequence.C (print): print sequence even if it is deleted
9501         (complete would be a better word, actually).
9502
9503         * lyxfunc.C (dispatch): print complete options after a prefix key
9504
9505         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9506
9507 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9508
9509         * text2.C (setCharFont): eliminate setCharFont code duplication.
9510
9511 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9512
9513         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9514         LFUN_TABULAR_FEATURE (bug #177)
9515
9516 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9517
9518         * Makefile.am: remove figure.h
9519
9520 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9521
9522         * Bufferview_pimpl.C:
9523         * CutAndPasteC:
9524         * LaTeX.C:
9525         * LyXSendto.C:
9526         * buffer.C:
9527         * bufferlist.C:
9528         * converter.C:
9529         * language.C:
9530         * lyxfunc.C:
9531         * lyxvc.C:
9532         * paragraph.C:
9533         * text.C:
9534         * text2.C: remove #include "lyx_gui_misc.h".
9535
9536         * LaTeX.C: added #include <cstdio>
9537
9538 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9539
9540         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9541         that the paragraph following this one can have.
9542
9543         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9544
9545         * vspace.C (asLatexCommand): fix bogus gcc warning
9546
9547         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9548
9549 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9550
9551         * text2.C (setLayout): get rid of redundant code
9552
9553 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9554
9555         * text2.C (incDepth): make sure depth cannot be increased beyond
9556         reasonable values.
9557
9558 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9559
9560         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9561         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9562
9563         * PainterBase.h (image):
9564         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9565         a LyXImage const *.
9566
9567 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9568
9569         * BufferView.C:
9570         * BufferView.h:
9571         * BufferView_pimpl.C:
9572         * BufferView_pimpl.h:
9573         * LaTeXFeatures.C:
9574         * LyXAction.C:
9575         * LyXView.C:
9576         * Makefile.am:
9577         * UpdateList.h:
9578         * UpdateList.C:
9579         * buffer.C:
9580         * figure.h:
9581         * figureForm.C:
9582         * figureForm.h:
9583         * figure_form.C:
9584         * figure_form.h:
9585         * lyx_cb.C:
9586         * lyx_gui.C:
9587         * lyx_gui_misc.C:
9588         * lyxfunc.C:
9589         * sp_base.h:
9590         * sp_ispell.h:
9591         * sp_pspell.h:
9592         * sp_spell.C: remove fig inset, and the crap house of
9593           cards that follows it
9594
9595 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9596
9597         * Makefile.am:
9598         * lyxserver.C:
9599         * os2_defines.h:
9600         * os2_errortable.h:
9601         * nt_defines.h: move .h into support/
9602
9603         * vms_defines.h: remove
9604
9605         * WorkArea.C: add space in debug output
9606
9607         * text2.C:
9608         * paragraph.C:
9609         * buffer.C: add WITH_WARNINGS
9610
9611         * vc-backend.h:
9612         * vc-backend.C:
9613         * bufferlist.C: s/retrive/retrieve/, add docs
9614
9615         * vspace.h:
9616         * vspace.C:
9617         * kbmap.h:
9618         * lyxlength.h:
9619         * lyxgluelength.h:
9620         * length_common.h:
9621         * chset.h:
9622         * chset.C: add docs
9623
9624         * lyxgui.C: add ID to X error handler
9625
9626         * lyxtestclass.c: fix typo
9627
9628 2002-02-26  Juergen Vigna  <jug@sad.it>
9629
9630         * tabular_funcs.C (write_attribute): changed so that some default
9631         attributes are not written at all.
9632         (getTokenValue): set default values before trying to read the
9633         value so we have the return value always set as default if we don't
9634         find the token we search for.
9635
9636         * tabular.C (Write): write bools as bools not as strings!
9637
9638 2002-02-22  Juergen Vigna  <jug@sad.it>
9639
9640         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9641         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9642
9643         * text.C (leftMargin): don't add an indent for paragraphs inside
9644         tabular cells (fix #208).
9645
9646 2002-02-21  José Matos  <jamatos@fep.up.pt>
9647
9648         * tabular.C (docBook): fixed support for long tables.
9649
9650 2002-02-20  Juergen Vigna  <jug@sad.it>
9651
9652         * text2.C (getFont): get the drawing font of the Inset if this
9653         paragraph is inside an inset (only important for InsetERT for now).
9654
9655         * buffer.C (insertErtContents): use new lanugage params in ERT
9656         constructor.
9657
9658         * CutAndPaste.C: commenting out seemingly uneeded code.
9659
9660 2002-02-19  Allan Rae  <rae@lyx.org>
9661
9662         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9663         Iterators might be simple to use but they also get invalidated.
9664         (removeAutoInsets): renamed saved cursor tracking variables and added
9665         some comments to clarify what everything does.
9666
9667 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9668
9669         * Chktex.C:
9670         * LaTeX.C:
9671         * LyXSendto.C:
9672         * converter.C:
9673         * lyx_cb.C:
9674         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9675         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9676
9677         * lyxfunc.C:
9678         * vc-backend.h: remove #include "support/syscall.h"
9679
9680         * LaTeX.C:
9681         * LyXSendto.C:
9682         * converter.C: rearrange #includes in Lars' approved fashion.
9683
9684         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9685         forward declare class Timeout in the header file.
9686
9687         * XFormsView.C: changes due to the above.
9688
9689         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9690         similar to LyXView.
9691
9692         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9693         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9694
9695 2002-02-18  José Matos  <jamatos@fep.up.pt>
9696
9697         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9698         insets contents.
9699
9700 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9701
9702         * a lot of small ws changes
9703         * add a lot of using std::XXX
9704         * use std construcs some places where approp.
9705         * use some exisint stuff from lyxfunctional where approp.
9706         * Make file changes to use partial linking (lets test this now...)
9707
9708 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9709
9710         * Chktex.C:
9711         * buffer.C:
9712         remove #include "support/syscontr.h" as it's redundant. Always has been.
9713
9714         * Chktex.C:
9715         * LaTeX.C:
9716         * LyXSendto.C:
9717         * converter.C:
9718         * lyx_cb.C:
9719         * vc-backend.C:
9720         change Systemcalls::System to Systemcalls::Wait and
9721         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9722         No change of functionality, just reflects the stripped down Systemcalls
9723         class.
9724
9725 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9726
9727         * debug.[Ch]: add a GRAPHICS type to the enum.
9728
9729 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9730
9731         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9732
9733         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9734         there is an inset.
9735
9736 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9737
9738         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9739         match the changes below.
9740
9741         * text2.C (toggleInset): if there is not editable inset at cursor
9742         position, try to see if cursor is _inside_ a collapsable inset
9743         and close it.
9744
9745 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9746
9747         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9748         document menu has a nice checkbox
9749
9750 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9751
9752         * lyxlength.C (asLatexString): change PW to output as percent of
9753         \textwidth.
9754
9755         * lengthcommon.C: change '%' to 't%'
9756
9757         * lyxfunc.C (dispatch): a few comments from Martin
9758
9759 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9760
9761         * WorkArea.h:
9762         * WorkArea.C:
9763         * BufferView_pimpl.h:
9764         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9765           the X selection.
9766
9767 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9768
9769         * vspace.C (inPixels): fix compiler warning
9770
9771 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9772
9773         * lyxfunc.C (getStatus): fix status message for disabled commands.
9774
9775 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9776
9777         * BufferView_pimpl.C: fix crash on close buffer
9778         during selection (#227)
9779
9780 2002-01-27  Herbert Voss  <voss@lyx.org>
9781
9782         * buffer.C: link old Figure to new graphic inset
9783
9784 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9785
9786         * FontLoader.C (getFontinfo): Change the latex font names in order
9787         to match the names of type1inst.
9788
9789 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9790
9791         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9792
9793         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9794         (extchanged): ditto
9795         (ext_exist): ditto
9796         (remove_files_with_extension): ditto
9797         (remove_file): ditto
9798         (write): ditto
9799
9800         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9801         document is smaller than the work area height. Do not initialize
9802         static variables to 0.
9803
9804 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9805
9806         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9807
9808         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9809         LFUN_LAYOUT_PARAGRAPHS.
9810
9811         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9812         tabular. It is possible to provide a possible cell, which will
9813         typically be the actcell from the corresponding insettabular
9814
9815         * lyxfunc.C (getStatus): small cleanup; disable
9816         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9817         true
9818
9819 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9820
9821         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9822
9823         * paragraph.C (startTeXParParams):
9824         (endTeXParParams): new methods. The LaTeX code to
9825         start/end paragraph formatting
9826         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9827         empty (fixes bug #200)
9828
9829         * vspace.C (inPixels): adapt to the change below
9830         (inPixels): [later] more cleanups (remove unused variables)
9831
9832         * lyxlength.C (inPixels): change to use a width and a height as
9833         parameter.
9834
9835 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9836
9837         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9838         Replaced with \paperwidth
9839
9840         * DepTable.C (insert): add std:: qualifier
9841
9842 2002-01-18  Allan Rae  <rae@lyx.org>
9843
9844         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9845         updated also?
9846
9847         * text.C (drawInset): Turned out I didn't know enough about how
9848         rebreaking worked.  This fixes most of the redraw problems.  I see
9849         an occasional cursor trail when a line is broken now and the cursor
9850         placement can seem out by a few pixels also after a rebreak.
9851
9852 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9853
9854         * buffer.C (parseSingleLyXformat2Token): update because minipage
9855         width is now a LyXLength
9856
9857         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9858
9859         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9860         math insets
9861
9862 2002-01-17  Juergen Vigna  <jug@sad.it>
9863
9864         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9865
9866         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9867         is set correctly and the inset is updated correctly.
9868
9869 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9870
9871         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9872         the beginning of the loop.
9873
9874 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9875
9876         * lyxrc.C: improve help for use_scalable_fonts
9877
9878 2002-01-17  Allan Rae  <rae@lyx.org>
9879
9880         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9881
9882 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9883
9884         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9885         make sure to set their inset_owner to the right value (bug #171)
9886
9887 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9888
9889         * DepTable.h
9890         * DepTable.C: Implement mtime checking to reduce time spent doing
9891         CRCs.
9892
9893 2002-01-16  Juergen Vigna  <jug@sad.it>
9894
9895         * tabular.C (GetAdditionalHeight): one of error fixed.
9896
9897         * lyxrc.C (output): small fix in writing use_pspell.
9898
9899 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9900
9901         * sp_base.h: #include LString.h
9902
9903 2002-01-16  Allan Rae  <rae@lyx.org>
9904
9905         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9906         Can someone check this please?
9907
9908         * text.C (drawInset): It was possible that p.row would be removed by
9909         breakAgainOneRow upsetting a few other settings.  There may be another
9910         small tweak possible by setting need_break_row = 0 when p.row has been
9911         removed but I don't know enough about the logic here.
9912
9913 2002-01-15  Allan Rae  <rae@lyx.org>
9914
9915         * text.C (insertChar): removed conditional truism.
9916
9917         * BufferView2.C (removeAutoInsets): More tweaks.
9918         cur_par_prev could be a stray pointer.  Check for trailing empty line
9919         in case last line was cur_par and only had an error inset on it.
9920
9921 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9922
9923         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9924         absolute
9925
9926         * vc-backend.C (most methods):
9927         * exporter.C (Export):
9928         * converter.C (convert):
9929         (runLaTeX):
9930         * LyXSendto.C (SendtoApplyCB):
9931         * lyxfunc.C (dispatch):
9932         (menuNew):
9933         (open):
9934         (doImport):
9935         * lyx_cb.C (AutoSave):
9936         (InsertAsciiFile):
9937         * BufferView_pimpl.C (MenuInsertLyXFile):
9938         * buffer.C (runChktex): use Buffer::filePath().
9939
9940         * buffer.h: rename filename to filename_; rename filepath to
9941         filepath_ and make it private
9942         (filePath): new method
9943
9944         * buffer.C (writeFile): use fileName()
9945         (getLatexName):
9946
9947         * lyx_main.C (init): fix starting  of LyX when the binary is a
9948         link from so,ewhere else.
9949
9950         * minibuffer.C: include <cctype> for isprint
9951
9952 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9953
9954         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9955         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9956         name clash with InsetCollapsable's width function.
9957
9958 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9959
9960         * lastfiles.C: include <iterator>
9961
9962 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9963
9964         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9965         std::count.
9966
9967         * buffer.C (makeLaTeXFile): ditto.
9968         Also make loop operation more transparent.
9969
9970 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9971
9972         * ToolbarDefaults.C: remove trailing comma closing namespace.
9973
9974         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9975
9976         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9977         as in WorkArea.
9978
9979         * trans.C (Load): comment out unused variable, allowed.
9980
9981 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9982
9983         * minibuffer.[Ch] (append_char): new method to recieve input from the
9984         drop-down completion browser. If a key was pressed, then recieve this
9985         char and append it to the existing string.
9986         (peek_event): modify the positioning data passed to the completion
9987         browser so that it can be placed above the minibuffer rather than below.
9988 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9989
9990         * LyXAction.C (init): alloe error-next for readonly documents.
9991
9992         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9993         count.
9994
9995 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9996
9997         * bufferlist.C (readFile): create the buffer _after_ checking that
9998         the file exists.
9999
10000         * lyxfunc.C (verboseDispatch): fix handling of arguments
10001
10002         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10003
10004         * lyxrc.C: use string::erase() instead of initializing to "".
10005
10006
10007 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10008
10009         * BufferView_pimpl.h:
10010         * BufferView_pimpl.C:
10011         * WorkArea.h:
10012         * WorkArea.C:
10013         * text2.C: tell X when we have made a selection for copying
10014
10015 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10016
10017         * BufferView_pimpl.C (MenuInsertLyXFile):
10018         * lyxfunc.C (menuNew):
10019         (open):
10020         (doImport): add shortcuts to directory buttons
10021
10022         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10023         open a float)
10024
10025         * lyxfunc.C (setStatusMessage):
10026         (getStatusMessage): new methods
10027         (getStatus):use setStatusMessage instead of setErrorMessage
10028         (dispatch): when function is disabled, set error message here
10029         [instead of in getStatus previously]
10030
10031         * BufferView_pimpl.C (workAreaButtonRelease): update
10032         toolbar/menubar here too.
10033
10034 2002-01-13  Allan Rae  <rae@lyx.org>
10035
10036         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10037         Now seems indestructible.  Remaining task is to audit all other
10038         code affected by deleteEmptyParagraphMechanism.  One small quirk
10039         left is that an empty document with an error in the preamble can
10040         be made to report an error but no error box appears.  I don't know
10041         where it goes.
10042         (removeAutoInsets): Improved comments.
10043
10044 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10045
10046         * Thesaurus.h:
10047         * Thesaurus.C: update for Aiksaurus 0.14
10048
10049 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10050
10051         * text2.C (firstParagraph): removed member function, all uses
10052         replaces with ownerParagraph
10053         (redoParagraphs): here
10054         (updateInset): here
10055         (toggleAppendix): here
10056         * BufferView2.C (insertErrors): here
10057         (setCursorFromRow): here
10058
10059 2002-01-13  Allan Rae  <rae@lyx.org>
10060
10061         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10062         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10063         There is still a way to segfault this although you may have to do this
10064         multiple times: Have an InsetERT with an unknown command in it.
10065         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10066         <down-arrow>, <Enter> again, View->DVI, BANG!
10067
10068         * text2.C (setCursor):
10069         (deleteEmptyParagraphMechanism):
10070         * lyxtext.h (setCursor):
10071         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10072         Making use of the return value may help fix other bugs.
10073
10074 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10075
10076         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10077
10078         * LyXView.C (updateMenubar): call MenuBar::update here
10079         (updateToolbar): but not here
10080         (showState): do not update toolbar/menubar
10081
10082         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10083         should need to care about that.
10084
10085         * lyxfunc.C (verboseDispatch): simplify a bit
10086         (getStatus): have a version which takes a pseudoaction, and
10087         another which requires a (kb_action,string).
10088
10089         * LyXAction.C (retrieveActionArg): make it work also when action
10090         is not a pseudo-action.
10091         (getActionName): simplify a bit
10092         (helpText):
10093
10094 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10095
10096         * lyxfunc.C (verboseDispatch): new families of methods with
10097         several ways to specify a command and a bool to indicate whether
10098         the command name and shortcut should be displayed in minibuffer
10099         (eventually, we could extend that to a finer bitmask like
10100         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10101         (dispatch): the pristine dispatch command which just, well,
10102         dispatchs! Note it still sets its result to minibuffer; I'm not
10103         sure we want that.
10104
10105         * lyxfunc.h: remove setHintMessage
10106
10107         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10108
10109 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10110
10111         * BufferView_pimpl.C (specialChar): delete new inset if we have
10112         not been able to insert it.
10113
10114         * kbmap.C: revert to using int instead of kb_action, since all we
10115         are dealing with is pseudo-actions.
10116
10117         * LyXAction.C (searchActionArg): change to return int instead of
10118         kb_action, since the result is a pseudoaction.
10119
10120 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10121
10122         * buffer.C (insertErtContents): Fix (partially) the font bug.
10123
10124 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10125
10126         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10127         as the other one is broken on my machine!
10128
10129 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10130
10131         * commandtags.h:
10132         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10133
10134 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10135
10136         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10137         reflect their actual use. Provide compatibility code for older lyxrc
10138         files.
10139
10140         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10141         FL_NORMAL_STYLE.
10142         change names of popup font variables in line with the changes to lyxrc.C
10143
10144 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10145
10146         * buffer.C (asciiParagraph): avoid outputing a word twice after
10147         an inset.
10148
10149         * lyxrc.C (getDescription): document that document_path and
10150         template_path can be empty.
10151
10152 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10153
10154         * LaTeXFeatures.C (getMacros):
10155         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10156
10157         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10158
10159         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10160         getPackages.
10161         (getPackages): rename feature "floats" to "float". Use an array to
10162         iterate over 'simple' features (i.e. just a \usepackage). Add
10163         handling of "amsmath" (renamed from "amsstyle").
10164
10165 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10166
10167         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10168         features list.
10169
10170 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10171
10172         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10173         FuncStaus::FuncStatus & FuncStaus::some_method().
10174
10175 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10176
10177         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10178         of the func_satus stuff. Edited and massaged in various ways by
10179         JMarc.
10180
10181         * lyxfunc.C (getStatus): use FuncStatus
10182
10183 2002-01-08  Juergen Vigna  <jug@sad.it>
10184
10185         * text.C (nextBreakPoint): use function Inset::isChar().
10186
10187         * paragraph.C (TeXOnePar): use function
10188         Inset::forceDefaultParagraphs.
10189
10190         * buffer.C (latexParagraphs): use function
10191         Inset::forceDefaultParagraphs.
10192
10193 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10194
10195         * lyx_gui.C (init): set the style of the menu popups to
10196         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10197
10198 2002-01-07  Juergen Vigna  <jug@sad.it>
10199
10200         * text.C (setHeightOfRow): small fix
10201         (prepareToPrint): don't look at alignment if we don't have the place
10202         for doing it.
10203
10204 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10205
10206         * box.C: New file. Move the Box methods and functions out of box.h,
10207         following Lars' suggestion.
10208
10209 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10210
10211         * box.h: #include "support/LOstream.h", needed for inlined function.
10212
10213         * lyxtextclass.C:
10214         * lyxtextclasslist.C: added some using std declarations.
10215
10216 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10217
10218         * box.h: make signed dimensions to allow insets wider than
10219           the screen (bug #162)
10220
10221         * BufferView_pimpl.C: add some insetHit debug
10222
10223 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10224
10225         * vc-backend.C: add FIXME
10226
10227 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10228
10229         * lyxfunc.C (getStatus): enable code for showing math font status
10230         in toolbar/menu.
10231
10232 2002-01-07  Juergen Vigna  <jug@sad.it>
10233
10234         * text.C (nextBreakPoint): removed debug output not needed anymore.
10235
10236 2002-01-06  Juergen Vigna  <jug@sad.it>
10237
10238         * text.C (nextBreakPoint): fixed up this function we had this bug
10239         since ever but now hopefully we break row better.
10240         (insertChar): we have to check if an inset is the next char as it
10241         could now happen that a large inset is causing a break.
10242
10243 2002-01-05  Juergen Vigna  <jug@sad.it>
10244
10245         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10246         if it doesn't like to be drawed.
10247
10248 2002-01-04  Juergen Vigna  <jug@sad.it>
10249
10250         * BufferView2.C (lockInset): forgot to set a cursor.
10251
10252         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10253
10254 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10255
10256         * FormMathsPanel.C:
10257         * FormMathsPanel.h
10258         * MathsSymbols.C:
10259         * form_maths_panel.C:
10260         * form_maths_panel.h:
10261         * form_maths_panel.fd: implemented sub- and super- buttons in math
10262         panel.
10263
10264         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10265         (or ^ space) to be used as in TeX (req'd by André).
10266
10267         * lyxfunc.C: Allow ^ and _ again to be used both as
10268         super/subscript (mathed) and as themselves (in text).
10269
10270 2002-01-03  Allan Rae  <rae@lyx.org>
10271
10272         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10273         "LyX" or the filename of the current buffer if it has one.  This is a
10274         modified form of John Levon's patch.
10275
10276         * XFormsView.C (setWindowTitle): also set icon title.
10277
10278         * LyXView.h (setWindowTitle): signature changed.
10279         * XFormsView.h (setWindowTitle): ditto.
10280
10281 2002-01-02  Juergen Vigna  <jug@sad.it>
10282
10283         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10284
10285 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10286
10287         * screen.C (topCursorVisible): introduce a temp var for
10288         text->cursor.row(), handle the case where this row is null. (kindo
10289         hachish)
10290
10291         * text2.C (setCursor): add a couple of asserts.
10292
10293         * paragraph.h (inset_iterator): add -> operator
10294
10295         * paragraph.[Ch] (autoDeleteInsets): remove member function
10296
10297         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10298         cursor pos correctly and handle inset deletion by itself.
10299         (insertErrors): move iterator declaration out of for expression
10300
10301         * lyxtextclass.C: add <algorithm>
10302
10303         * Makefile.am: added the new files to sources, removed layout.C
10304
10305         * layout.C: removed file
10306
10307         * layout.h: remove LYX_DUMMY_LAYOUT
10308
10309         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10310         layout.
10311
10312         * lyxlayout.[Ch]:
10313         * lyxtextclass.[Ch]:
10314         * lyxtextclasslist.[Ch]: new files
10315
10316         * include order changes to a lot of files, also changes because of
10317         the six new files.
10318
10319 2001-12-27  Juergen Vigna  <jug@sad.it>
10320
10321         * buffer.C (asciiParagraph): more fixes.
10322
10323         * tabular.C (ascii): make ascii export support export of only the
10324         data separated by a column-delimiter.
10325         (ascii): better support for ascii export.
10326
10327         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10328
10329 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10330
10331         * tabular_funcs.C: use a "using std::getline" instead of the
10332         previous fix from Angus (necessary for cxx + lyxstring)
10333
10334 2001-12-24  Juergen Vigna  <jug@sad.it>
10335
10336         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10337
10338         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10339         problems. First check a minipage also if we have some ert-contents
10340         (not only on par->size(), second set the right depth of the paragraph
10341         on the relink to the root-paragraph-list!
10342
10343         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10344         which then did not anymore update the main paragraphs on undo/redo!
10345
10346 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10347
10348         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10349         code. Support all font-changing funcs (even those which are not in
10350         menu currently). Support for reporting font settings in
10351         mathed (disabled until Andre provides a function on mathed's side).
10352
10353         * func_status.h (toggle): small helper function to set toggle
10354         state on a flag.
10355
10356 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10357
10358         * tabular_funcs.C: getline -> std::getline
10359
10360 2001-12-21  Juergen Vigna  <jug@sad.it>
10361
10362         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10363         accessed and could be 0 (I couldn't generate this but it seems
10364         Michael could!).
10365
10366 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10367
10368         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10369         * tabular_funcs.h: here and include iosfwd
10370
10371 2001-12-20  Juergen Vigna  <jug@sad.it>
10372
10373         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10374         inside inset but undo_par was.
10375
10376 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10377
10378         * Thesaurus.C: always include <config.h> in sources.
10379
10380         * Painter.h:
10381         * lyxlookup.h:
10382         * box.h: do not include <config.h> in header files
10383
10384         * text.C (paintLastRow): remove unused variable
10385
10386         * text.C (transformChar):
10387         (insertChar):
10388         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10389
10390         * Painter.C (text):
10391         * font.C (width): rewrite to use uppercase() instead of
10392         islower/toupper.
10393
10394         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10395
10396 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10397
10398         * lyxfind.C: clean up of find failure position change
10399
10400 2001-12-20  Juergen Vigna  <jug@sad.it>
10401
10402         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10403
10404         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10405         (TeXRow): added to LaTeX a single tabular row.
10406         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10407         (Latex): simplified and finally good LT-h/f support.
10408         (various_functions): just small adaptions for LT-h/f support.
10409
10410         * tabular_funcs.[hC]: added and moved here all not classfunctions
10411         of LyXTabular.
10412
10413 2001-12-19  Juergen Vigna  <jug@sad.it>
10414
10415         * tabular.[Ch]: better support for longtabular options (not finished
10416         yet!)
10417
10418 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10419
10420         * text.C (paintLastRow): use the label font instead of the font of
10421         the last character to compute the size of *_BOX. This makes more
10422         sense and avoids a crash with empty paragraphs.
10423         Use Painter::rectangle to draw EMPTY_BOX.
10424
10425 2001-12-19  Juergen Vigna  <jug@sad.it>
10426
10427         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10428         the paragraphs if the replaced paragraph is not the first one!
10429         Tried to delete not used paragraphs but does not work yet so for
10430         now it's inside #ifdef's and by default off!
10431
10432 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10433
10434         * MenuBackend.C: include "lyx_main.h" instead of declaring
10435         lastfiles (actually was declared as LastFiles* instead of a
10436         scoped_ptr).
10437
10438 2001-12-17  Juergen Vigna  <jug@sad.it>
10439
10440         * tabular.C (AppendColumn): applied John's fix
10441
10442 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10443
10444         * BufferView.h:
10445         * BufferView.C:
10446         * BufferView_pimpl.h:
10447         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10448
10449         * Makefile.am:
10450         * box.h: new start of class for above
10451
10452         * lyxfunc.C: ignore space-only minibuffer dispatches.
10453           Show the command name when it doesn't exist
10454
10455         * minibuffer.C: don't add empty lines to the history
10456
10457         * minibuffer.C: add a space on dropdown completion
10458
10459 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10460
10461         * text.C: fix line above/below drawing in insets
10462
10463 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10464
10465         * lyxlength.C (LyXLength): Initialize private variables.
10466
10467 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10468
10469         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10470         when inserting error insets.
10471
10472 2001-12-13  Juergen Vigna  <jug@sad.it>
10473
10474         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10475         actually sometimes the before-paragraph.
10476         (setUndo): don't clear the redostack if we're not actually undoing!
10477
10478 2001-12-06  Juergen Vigna  <jug@sad.it>
10479
10480         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10481         and fixed redoing of main paragraph, so we can use it now ;)
10482
10483         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10484
10485 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10486
10487         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10488         Juergen's request
10489
10490 2001-12-13  André Pönitz <poenitz@gmx.net>
10491
10492         * undostack.[Ch]:
10493         * undo_func.C: minor cleanup
10494
10495 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10496
10497         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10498         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10499         font in urw-fonts package which is marked as -urw-fontspecific and
10500         does not work (incidentally, changing the encoding in the
10501         fonts.dir of this package to -adobe-fontspecific fixes the
10502         problem).
10503
10504         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10505         is a crash when undoing first paragraph (Juergen, please take a
10506         look). THis does not mean the undo fix is wrong, just that it
10507         uncovers problems.
10508
10509         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10510         the (Paragraph*) version when needed instead of duplicating the
10511         code.
10512
10513         * text.C (workWidth): use Inset::parOwner to find out where the
10514         inset has been inserted. This is a huge performance gain for large
10515         documents with lots of insets. If Inset::parOwner is not set, fall
10516         back on the brute force method
10517
10518         * paragraph_pimpl.C (insertInset):
10519         * paragraph.C (Paragraph):
10520         (cutIntoMinibuffer): set parOwner of insets when
10521         inserting/removing them
10522
10523         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10524
10525 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10526
10527         * commandtags.h:
10528         * LyXAction.C:
10529         * lyx_main.C:
10530         * lyxfunc.C:
10531         * mathed/formulabase.C:
10532         * mathed/math_cursor.[Ch]:
10533         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10534
10535
10536 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10537
10538         * lyxlength.[Ch] (operator!=): new function
10539
10540 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10541
10542         * text.C (workWidth): use Inset::parOwner to find out where the
10543         inset has been inserted. This is a huge performance gain for large
10544         documents with lots of insets. If Inset::parOwner is not set, fall
10545         back on the brute force method
10546
10547         * paragraph_pimpl.C (insertInset):
10548         * paragraph.C (Paragraph):
10549         (cutIntoMinibuffer): set parOwner of insets when
10550         inserting/removing them
10551
10552         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10553
10554 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10555
10556         * tabular-old.C (getTokenValue):
10557         * tabular.C (getTokenValue):
10558         (write_attribute): new versions for LyXLength
10559         (everywhere): adjust the use of widths
10560
10561         * tabular.h: change the type of widths from string to LyXLength
10562
10563 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10564
10565         * paragraph.C: fixed missing line number count when exporting
10566         Environments to LaTeX file
10567
10568         * buffer.C: added informational message for checking line numbers.
10569
10570 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10571
10572         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10573         paragraph, do the 'double space' part, but not the 'empty
10574         paragraph' one.
10575
10576         * text.C (workWidth): small optimization
10577         (getLengthMarkerHeight): use minimal size for negative lengths.
10578
10579 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10580
10581         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10582
10583         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10584
10585 2001-12-11  André Pönitz <poenitz@gmx.net>
10586
10587         * FontLoader.C:
10588         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10589
10590 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10591
10592         * text2.C: keep selection on a setFont()
10593
10594 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10595
10596         * lyx_cb.C: another bv->text misuse, from insert label
10597
10598 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10599
10600         * kbsequence.h:
10601         * kbsequence.C: re-instate nmodifier mask
10602
10603 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10604
10605         * lyx_main.h: make lyxGUI private.
10606
10607 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10608
10609         * lyxfind.C: place the cursor correctly on failed search
10610
10611 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10612
10613         * text.C (getLengthMarkerHeight): for small heights, the arrows
10614         are not always on top/bottom of the text
10615         (drawLengthMarker): smaller arrows; take the left margin in
10616         account; draw also vfills.
10617         (paintFirstRow):
10618         (paintLastRow): remove special code for vfill and standard spaces,
10619         since everything is handled in drawLengthMarker now.
10620
10621 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10622
10623         * buffer.C (insertErtContents): try to handle font and language
10624         interaction a bit better.g
10625
10626         * ColorHandler.C (updateColor): change the hash to cover the whole
10627         LColor enum, ws cleanup
10628         (getGCLinepars): ditto
10629         (getGCLinepars): only lookup in the linecache once.
10630
10631 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10632
10633         * iterators.C (operator++): Make the iterator more robust
10634
10635         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10636         (John's patch)
10637         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10638
10639 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10640
10641         * lyxtext.h:
10642         * text.C: better added space drawing
10643
10644 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10645
10646         * LyXView.C:
10647         * BufferView2.C: fix layout combo update on inset unlock
10648
10649 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10650
10651         * Makefile.am: don't compile unused files
10652
10653 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10654
10655         * lyxfunc.C:
10656         * commandtags.h:
10657         * LyXAction.C: remove old LFUN_LAYOUTNO
10658
10659 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10660
10661         * paragraph_pimpl.h:
10662         * paragraph_pimpl.C: isTextAt() doesn't need font param
10663
10664 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10665
10666         * lyxlex.h:
10667         * lyxlex.C: little cleanup
10668
10669 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10670
10671         * BufferView_pimpl.C: fix insertAscii for insets
10672
10673 2001-12-05  Juergen Vigna  <jug@sad.it>
10674
10675         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10676         set the right font on the "multi" paragraph paste!
10677
10678 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10679
10680         * trans_decl.h:
10681         * trans_mgr.[Ch]:
10682         * trans.[Ch]:
10683         * lyxgluelength.C:
10684         * lyxlength.C: remove out-commented code.
10685
10686         * BufferView_pimpl:
10687         * CutAndPaste.C:
10688         * DepTable.C:
10689         * buffer.C:
10690         * chset.C:
10691         * lastfiles.C:
10692         * lyxlex.C:
10693         * lyxlex_pimpl.C:
10694         * lyxserver.C:
10695         * screen.C:
10696         * tabular-old.C:
10697         * tabular.C:
10698         * text.C:
10699         * trans_mgr.C:
10700         * vc-backend.C: change "while(" to "while ("
10701
10702         * lyxlength.[Ch]: add zero function to check if length is zero or
10703         not
10704         * lyxgluelength.C: use it
10705
10706 2001-12-05  Allan Rae  <rae@lyx.org>
10707
10708         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10709         Works for 2.95.3, from what I understand of Garst's reports this should
10710         work for other g++ versions.  We're screwed if the abs(int) definition
10711         changed between bugfix releases of gcc.
10712
10713 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10714
10715         * text.C: fix chapter label offset !
10716
10717 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10718
10719         * lyxtext.h:
10720         * text.C: fix hfill at end of line, clean up
10721
10722 2001-12-04  Juergen Vigna  <jug@sad.it>
10723
10724         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10725         that we force an update of the inset and it's owners if neccessary.
10726
10727 2001-12-03  Juergen Vigna  <jug@sad.it>
10728
10729         * text.C (rowLast): simplified code
10730
10731 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10732
10733         * lyxfunc.C: fix show options on timeout
10734
10735 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10736
10737         * screen.C (topCursorVisible): scroll half a page when the cursor
10738         reached top of bottom of screen
10739
10740 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10741
10742         * minibuffer.C: deactivate on loss of focus
10743
10744 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10745
10746         * vspace.[Ch] (operator!=): add operator.
10747
10748 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10749
10750         * BufferView_pimpl.C: refuse to open an inset when
10751         there's a selection.
10752
10753 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10754
10755         * BufferView_pimpl.C: allow to click on RHS of full row insets
10756
10757 2001-11-30  Juergen Vigna  <jug@sad.it>
10758
10759         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10760         insets for undo reasons.
10761
10762 2001-11-28  André Pönitz <poenitz@gmx.net>
10763
10764         * vspace.[Ch]: cosmetical changes
10765
10766 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10767
10768         * LyXAction.h:
10769         * LyXAction.C:
10770         * lyxfunc.h:
10771         * lyxfunc.C:
10772         * kbmap.h:
10773         * kbmap.C:
10774         * lyxrc.C:
10775         * kbsequence.h:
10776         * kbsequence.C: part re-write of old kb code
10777
10778         * Painter.C:
10779         * WorkArea.C: remove Lgb_bug_find_hack
10780
10781 2001-11-30  José Matos <jamatos@fep.up.pt>
10782
10783         * buffer.C (makeDocBookFile): add a comment to point a hack.
10784         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10785         Fixed a double write of labels.
10786
10787 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10788
10789         * LaTeX.C:
10790         * LaTeX.h Fixed bug in LaTeX class where it would not
10791         re-run latex if no depfiles were changed, but the .dvi was removed.
10792
10793 2001-11-28  André Pönitz <poenitz@gmx.net>
10794
10795         * all the files from the change on 2001/11/26:
10796         use lyx::layout_type instead of LyXTextClass::size_type
10797         use lyx::textclass_type instead of LyXTextClassList::size_type
10798
10799 2001-11-29  Juergen Vigna  <jug@sad.it>
10800
10801         * text.C: added support for paragraph::isFreeSpacing()
10802
10803         * buffer.C: same as above
10804
10805         * paragraph.h: inserted isFreeSpacing() function to enable
10806         FreeSpacing inside InsetERT.
10807
10808         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10809         of the paragraph's in the cut/copy buffer to 0!
10810
10811         * text2.C (removeRow): remove the assert as it can!
10812
10813         * lyxtext.h: added helper function firstRow returning firstrow and
10814         made firstrow private again.
10815
10816         * BufferView2.C (lockInset): don't relock if we're already locked!
10817
10818         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10819         the only paragraph.
10820         (removeRow): added Assert::(firstrow)
10821
10822         * debug.C: forgot to add INSETTEXT here.
10823
10824 2001-11-28  Juergen Vigna  <jug@sad.it>
10825
10826         * sp_spell.C (initialize): changed error text to more general
10827         spellchecker command use (not only ispell!)
10828
10829         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10830
10831         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10832
10833 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10834
10835         * vspace.C: initialise lyxgluelength on failure
10836
10837 2001-11-28  Allan Rae  <rae@lyx.org>
10838
10839         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10840         declaration & definition that looks like a function declaration.
10841
10842 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10843
10844         * BufferView2.C (copy):
10845         (copyEnvironment): do not clear the selection when doing a copy.
10846
10847         * text.C (paintFirstRow): compilation fix
10848
10849 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10850
10851         * tabular.C (Latex): correct line count when writing latex.
10852
10853 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10854
10855         * paragraph_pimpl.h:
10856         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10857           bug a bit
10858
10859 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10860
10861         * text.C:
10862         * LColor.h:
10863         * LColor.C: change vfillline->added_space
10864
10865         * text.C: add markers and text for added space
10866
10867         * vspace.C: fix comment
10868
10869 2001-11-28  André Pönitz <poenitz@gmx.net>
10870
10871         * paragraph.C: whitespace changes
10872         * all the other files from the change on 2001/11/26:
10873         change *::pos_type into lyx::pos_type
10874
10875 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10876
10877         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10878         language of the document when inserting error insets.
10879
10880 2001-11-26  André Pönitz <poenitz@gmx.net>
10881
10882         * BufferView_pimpl.[Ch]:
10883         *       CutAndPaste.C:
10884         * buffer.[Ch]:
10885         * lyxcursor.[Ch]:
10886         * lyxfind.C:
10887         * lyxfunc.C:
10888         * lyxrow.[Ch]:
10889         * paragraph.[Ch]:
10890         * paragraph_pimpl.[Ch]:
10891         * sp_spell.C:
10892         * text.C:
10893         * text2.C: reduce header dependencies, introduce type for positions
10894
10895 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10896
10897         * <various>: change to use Alert.h
10898
10899 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10900
10901         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10902         when encountering an unknown token.
10903         (readLyXformat2): Show an error message if there were unknown tokens.
10904
10905 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10906
10907         * BufferView2.C:
10908         * BufferView_pimpl.C:
10909         * buffer.C:
10910         * paragraph.h:
10911         * text.C:
10912         * text2.C: use par->isInset()
10913
10914 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10915
10916         * paragraph_pimpl.h:
10917         * paragraph_pimpl.C: cleanup
10918
10919 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10920
10921         * text2.C (removeRow):
10922         * text.C (setHeightOfRow): remove useless (and costly) call to
10923         getRow.
10924
10925 2001-11-20  Allan Rae  <rae@lyx.org>
10926
10927         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10928         Now need Inset*::checkInsertChar() to return true for appropriate
10929         cases so that the characters in the minibuffer will actually be
10930         inserted.
10931
10932 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10933
10934         * text.C: change the order of the includes.
10935         (workWidth): initialize it at once.
10936         (workWidth): make maxw unsigned
10937         (setHeightOfRow): remove unused variable (inset)
10938         (selectSelectedWord): remove unused variable (inset)
10939         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10940
10941 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10942
10943         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10944         server is not running.
10945         (openConnection):
10946         (closeConnection): add debug info when server is disabled.
10947
10948         * ColorHandler.C (getGCForeground): send debug message to GUI
10949         channel.
10950
10951         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10952
10953         * kbmap.C (bind): modify because return conventions of
10954         kb_sequence::parse have changed.
10955
10956         * kbsequence.C (parse): only ignore spaces and not any stupid
10957         control character. This avoids tests like s[i] <= ' ', which are
10958         guaranteed to fail with 8bit characters and signed chars.
10959         Change return code to string::npos when there have been no error
10960         (0 was a bad idea when error is at first character)
10961
10962 2001-11-14  José Matos  <jamatos@fep.up.pt>
10963
10964         * buffer.h:
10965         * buffer.C (simpleDocBookOnePar): removed unused argument.
10966
10967 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10968
10969         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10970         insets which are part of a word. Paragraph::isLetter takes care of
10971         that now. Use Paragraph::isInset to identify insets.
10972         (selectSelectedWord): do not test for hyphenation break.
10973
10974         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10975         that protected spaces are considered as spaces.
10976
10977         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10978         Inset::isLetter.
10979
10980 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10981
10982         * lyxserver.h:
10983         * lyxserver.C: fix it. and small cleanup.
10984
10985 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10986
10987         * BufferView_pimpl.C: use inline helpers
10988
10989         * LaTeXFeatures.h:
10990         * LaTeXFeatures.C: fix typos
10991
10992         * Spacing.h:
10993         * Spacing.C: move spacing_string into class
10994
10995         * ToolbarDefaults.C: move stuff into namespace anon
10996
10997         * layout.h: update enum
10998
10999         * lyxfunc.C: use better debug
11000
11001         * minibuffer.h: fix typo
11002
11003         * debug.h:
11004         * debug.C:
11005         * WorkArea.C: add and use Debug::WORKAREA
11006
11007         * lyxtext.h:
11008         * text.C:
11009         * text2.C: code re-organisation, inline helpers
11010
11011 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11012
11013         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11014         std::vector.empty().
11015
11016 2001-11-09  Allan Rae  <rae@lyx.org>
11017
11018         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11019         '\n's after tables.  Tabular and ERT inset work now makes this no
11020         longer necessary.
11021
11022 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11023
11024         * minibuffer.h:
11025         * minibuffer.C: fix crash, improve drop-down completion
11026
11027 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11028
11029         * lyxserver.h:
11030         * lyxserver.C: invalidate fd's when doing endPipe()
11031
11032 2001-11-08  José Matos  <jamatos@fep.up.pt>
11033
11034         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11035         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11036
11037         * paragraph.h:
11038         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11039
11040 2001-11-07  José Matos  <jamatos@fep.up.pt>
11041
11042         * buffer.h:
11043         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11044         const qualifier.
11045
11046         * buffer.C (sgmlOpenTag):
11047         * buffer.C (sgmlCloseTag): removed debug info.
11048
11049         * buffer.h (sgmlOpenTag):
11050         * buffer.h (sgmlCloseTag): made public.
11051
11052 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11053
11054         * buffer.C (saveParamsAsDefaults):
11055         * lyx_cb.C (MenuLayoutSave): remove
11056
11057         * LyXAction.C (init):
11058         * commandtags.h:
11059         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11060
11061 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11062
11063         * buffer.C (setPaperStuff): removed from here...
11064
11065         * bufferparams.C (setPaperStuff): ... and moved there.
11066
11067 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11068
11069         * minibuffer.h:
11070         * minibuffer.C:
11071         * XFormsView.C: add support for drop-down completion
11072
11073 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11074
11075         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11076         commands.
11077
11078 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11079
11080         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11081         disabled.
11082
11083 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11084
11085         * lyx_main.C: change ref to known bugs
11086
11087 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11088
11089         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11090         to work around older babel problems.
11091
11092 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11093
11094         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11095
11096 2001-10-24  Juergen Vigna  <jug@sad.it>
11097
11098         * tabular-old.C (ReadOld): below variable changes reflected.
11099
11100         * tabular.[Ch]: added ltType struct for longtable header/footer
11101         defines and changed all instances where they are used. Added
11102         future support for double top/bottom rows.
11103
11104 2001-10-24  José Matos  <jamatos@fep.up.pt>
11105
11106         * buffer.h (docbookHandleCaption):
11107         * buffer.C (docbookHandleCaption): removed unused function.
11108         (makeDocBookFile): moved docbook supported version to v4.1.
11109
11110 2001-10-24  José Matos  <jamatos@fep.up.pt>
11111
11112         * tabular.h:
11113         * tabular.C (docbookRow): new function to export docbook code of a row.
11114         (DocBook): now honors the longtable flags.
11115
11116 2001-10-23  José Matos  <jamatos@fep.up.pt>
11117
11118         * LaTeXFeatures.h:
11119         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11120         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11121
11122         * buffer.C (makeLinuxDocFile):
11123         (makeDocBookFile): reworked the preamble, more clean, and with
11124         support for lyx defined entities. Changed the document declaration
11125         to be more XML friendly.
11126
11127         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11128         if we need to output XML that should be done with a filter.
11129
11130 2001-10-22  Juergen Vigna  <jug@sad.it>
11131
11132         * sp_pspell.h (class PSpell): add alive function needed in the
11133         controller to see if the spellchecker could be started.
11134
11135 2001-10-22  Juergen Vigna  <jug@sad.it>
11136
11137         * buffer.C (insertStringAsLines): modify the font for inserting
11138         chars in certain conditions by calling checkInsertChar(font).
11139
11140 2001-10-19  Juergen Vigna  <jug@sad.it>
11141
11142         * text.C (workWidth): use getRow instead of wrong algorithm.
11143         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11144
11145 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11146
11147         * lyxserver.h:
11148         * lyxserver.C:
11149         * lyx_main.h:
11150         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11151
11152 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11153
11154         * text.C (workWidth): do not search for the exact row when
11155         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11156         optimization for big documents.
11157
11158 2001-10-18  Juergen Vigna  <jug@sad.it>
11159
11160         * text.C (workWidth): new function with added Inset * parameter.
11161
11162 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11163
11164         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11165
11166         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11167         change return type of getColumnNearX.
11168
11169
11170         * text.C (changeRegionCase): use uppercase/lowercase instead of
11171         toupper/tolower.
11172         (leftMargin):
11173         (rightMargin): simplify code by factoring out the uses of
11174         textclasslist.
11175         (labelFill):
11176         (numberOfHfills):
11177         (setHeightOfRow):
11178         (appendParagraph): use Paragraph::size_type
11179
11180 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11181
11182         * vspace.C (asLatexString): add a missing break
11183
11184 2001-10-15  Herbert Voss  <voss@perce.de>
11185
11186         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11187
11188 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11189
11190         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11191         is not available.
11192
11193 2001-10-10  André Pönitz <poenitz@gmx.net>
11194
11195         * lyxfunc.C: removed greek_kb_flag.
11196
11197 2001-10-10  Herbert Voss  <voss@perce.de>
11198
11199         * lyx_main.C: delete global string help_lyxdir.
11200
11201 2001-10-09  Herbert Voss  <voss@perce.de>
11202
11203         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11204
11205         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11206
11207         * lyx_main.C: added global string help_lyxdir.
11208
11209         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11210
11211 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11212
11213         * lyxrc.C (set_font_norm_type): support iso8859-4
11214
11215 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11216
11217         * LaTeX.C (deplog): add another regex for MikTeX
11218
11219 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11220
11221         * lyxrc.C (set_font_norm_type): support iso8859-3
11222
11223 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11224
11225         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11226
11227         * LaTeXFeatures.C: remove special case of french and index
11228
11229         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11230         before \begin{document}). This solves several incompatibilities.
11231
11232 2001-10-03  Garst Reese  <reese@isn.net>
11233
11234         * lyx_cb.C: change CheckTex error msg.
11235
11236 2001-10-03  José Matos  <jamatos@fep.up.pt>
11237
11238         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11239
11240 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11241
11242         * .cvsignore: update
11243
11244         * lyx_main.C (commandLineVersionInfo): use new style version info.
11245
11246         * buffer.C (writeFile):
11247         (makeLaTeXFile):
11248         (makeLinuxDocFile):
11249         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11250
11251         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11252
11253         * version.h: update to use stuff in version.C
11254
11255         * version.C.in: new file. Contains version information determined
11256         at compile time. This is a merging of version.h and
11257         version_info.h.in.
11258
11259 2001-10-03  Juergen Vigna  <jug@sad.it>
11260
11261         * BufferView_pimpl.C (update): don't change "dirty" status in
11262         updateInset call.
11263
11264 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11265
11266         * WorkArea.C (c-tor): re-position version string slightly.
11267
11268 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11269
11270         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11271         revert to previous code.
11272
11273         WorkArea.[Ch]: (show, destroySplash): methods removed.
11274
11275         WorkArea.C: rework code so that it's an amalgam of the codes before and
11276         after the splash screen was moved to WorkArea.
11277
11278 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11279
11280         * lyxrc.C (read):
11281         * vspace.C (inPixels):
11282         (lyx_advance):
11283         * kbmap.C (bind):
11284         * buffer.C (insertStringAsLines):
11285         (asciiParagraph): fix types to be large enough
11286
11287         * lyxlex_pimpl.h: change member status from short to int
11288
11289         * layout.h: fix type of endlabeltype
11290
11291         * kbmap.C (bind):
11292         * kbsequence.C (parse): change return type to string::size_type
11293
11294         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11295         variable
11296
11297         * Bullet.C (bulletSize):
11298         (bulletEntry): do not use short ints as parameters
11299
11300         * BufferView2.C (insertLyXFile): change a char to an int.
11301
11302         * WorkArea.C (WorkArea): remove unneeded floats in computation
11303
11304 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11305
11306         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11307
11308         * paragraph.C (asString): Do not ignore newline/hfill chars when
11309         copying to the clipboard.
11310
11311 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11312
11313         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11314         after a multi-line inset.
11315
11316 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11317
11318         * paragraph.C (validate): Set NeedLyXFootnoteCode
11319
11320 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11321
11322         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11323         and decrease-error to decrease.
11324
11325 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11326
11327         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11328         it more readable (should be equivalent)
11329
11330 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11331
11332         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11333
11334 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11335
11336         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11337         of a cursor (row, etc.) after a character has been deleted
11338         (deleteEmptyParagraphMechanism): call the method above on _all_
11339         cursors held by the LyXText when a double space has been
11340         detected/deleted.
11341
11342 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11343
11344         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11345         pixmap.
11346         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11347
11348         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11349         background. Use greyOut() and the new show() methods to toggle between
11350         the foreground and background. Add code to remove the splash after
11351         its initial showing.
11352
11353         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11354         (create_forms): no longer call Dialogs::showSplash.
11355
11356 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11357
11358         * .cvsignore: add version_info.h
11359
11360 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11361
11362         * version_info.h.in: new file
11363
11364         * Makefile.am: add version_info.h.in
11365
11366         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11367         version_info.h instead of VERSION_INFO
11368
11369 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11370
11371         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11372         The ERT inset now returns string().
11373
11374 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11375
11376         * lyxtext.h, text.C (selectNextWord): renamed as
11377         selectNextWordToSpellcheck.
11378
11379         * text.C (selectNextWordToSpellcheck): Modified to not select
11380         words inside an ERT inset.
11381
11382 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11383
11384         * lyx_cb.C (MenuLayoutSave): change a bit the question
11385
11386         * sp_base.h: include <sys/types.h>
11387
11388 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11389
11390         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11391
11392 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11393
11394         * several files: fix typos in user-visible strings
11395
11396 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11397
11398         * text2.C (pasteSelection): do not set the selection, since it
11399         will be cleared later. Actually, the intent was to fix the way the
11400         selection was set, but I figured rmoving the code was just as good.
11401
11402 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11403
11404         * FontLoader.C (available): Check if font is available without
11405         loading the font.
11406
11407 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11408
11409         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11410
11411 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11412
11413         * lyxrc.[Ch]: added display_graphics variable and associated code.
11414
11415 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11416
11417         * bufferparams.C (hasClassDefaults): new method. Returns true if
11418         the buffer parameters correspond to known class defaults
11419
11420 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11421
11422         * XFormsView.C (show): set minimum size to the main window.
11423
11424 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11425
11426         * text2.C (copySelection):
11427         (cutSelection):
11428         * lyxfind.C (LyXReplace):
11429         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11430         LyXText::selectionAsString.
11431
11432         * paragraph.C (asString): add "label" argument to the second form
11433
11434         * text2.C (selectionAsString): add "label" argument and pass it to
11435         Paragraph::asString.
11436
11437 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11438
11439         * lyx_main.C (commandLineHelp): remove version information
11440
11441 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11442
11443         * lyx_main.C: add -version commandline option
11444
11445 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11446
11447         * paragraph.h: make the optional constructor arg required instead.
11448         some modifications to other files because of this.
11449
11450         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11451
11452         * lyxserver.C (C_LyXComm_callback): make it static
11453
11454         * lyx_main.C (error_handler): make it static
11455
11456         * lyx_gui.C (LyX_XErrHandler): make it static
11457
11458         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11459
11460         * WorkArea.C: make the extern "C" methods static.
11461
11462         * Makefile.am (lyx_LDADD): simplify
11463
11464 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11465
11466         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11467         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11468
11469         * LyXAction.C (init):
11470         * lyxfunc.C (dispatch): associated code removal.
11471
11472 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11473
11474         * lyxfont.h (isSymbolFont): shut off warning
11475
11476         * text.C (setHeightOfRow):
11477         (getVisibleRow): fix crash with empty paragraphs which have a
11478         bottom line
11479
11480 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11481
11482         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11483         code.
11484
11485 2001-09-04  José Matos  <jamatos@fep.up.pt>
11486         * buffer.C
11487         * buffer.h
11488         * tabular.C (docbook): rename docBook method to docbook.
11489
11490 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11491
11492         * Makefile.am: add dependencies to main.o.
11493
11494 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11495
11496         * FontLoader.C (available): Return false if !lyxrc.use_gui
11497
11498 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11499
11500         * FontInfo.C (query):
11501         * converter.C (view):
11502         * importer.C (Import):
11503         * exporter.C (Export): Can not -> cannot.
11504
11505 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11506
11507         * BufferView_pimpl.C: allow to create index inset even if
11508           string is empty
11509
11510 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11511
11512         * buffer.C (getLists): replace boost::tie code with an explicit pair
11513         as boost::tie can break some compilers.
11514
11515         * iterators.h: Added a std:: declaration to the return type of
11516         ParIterator::size.
11517
11518 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11519
11520         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11521           case.
11522
11523 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11524
11525         * iterators.[Ch]: New files. Provide paragraph iterators.
11526
11527         * buffer.C (changeLanguage): Use paragraph iterators.
11528         (isMultiLingual): ditto
11529
11530         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11531
11532 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11533
11534         * FontLoader.C: Support for cmr font.
11535
11536 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11537
11538         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11539         (available): New method.
11540
11541         * FontInfo.C (getFontname): Use scalable fonts even when
11542         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11543         found.
11544
11545 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11546
11547         * converter.C (Formats::view): reverted! Incorrect fix.
11548
11549 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11550
11551         * converter.C (Formats::view): only output the -paper option
11552         if the dvi viewer is xdvi, thereby fixing bug #233429.
11553
11554 2001-08-23  Herbert Voss  <voss@perce>
11555
11556         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11557
11558 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11559
11560         * Spacing.h (Spacing): Set space to Default on in the default
11561         constructor.
11562
11563 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11564
11565         * vc-backend.h (RCS::versionString): add RCS to version
11566         (CVS::versionString): add CVS to version
11567
11568         * vc-backend.C (scanMaster): do not add CVS to version.
11569         (scanMaster): do not add RCS to version
11570
11571         * lyxvc.C (versionString): new method
11572
11573         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11574
11575 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11576
11577         * Spacing.C (set): initialize fval
11578
11579 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11580
11581         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11582         " or \.
11583
11584 2001-08-16  Juergen Vigna  <jug@sad.it>
11585
11586         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11587
11588 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11589
11590         * BufferView_pimpl.C:
11591         * figureForm.C:
11592         * lyxtext.h:
11593         * text2.C: setParagraph takes linespacing now
11594
11595 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11596
11597         * LyxAction.C: add internal LFUN_CITATION_INSERT
11598
11599         * LyXView.C: actually apply fix
11600
11601         * bufferlist.C: fix open non-existent file
11602
11603         * lyxfind.C: fix indentation
11604
11605         * lyxfunc.C: remove unneeded assert, fix typo
11606
11607 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11608
11609         * MenuBackend.C: use "Floatname List"
11610
11611 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11612
11613         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11614         when converting LaTeX layout to insetERT.
11615         Generate a non-collapsed float when reading old float
11616
11617 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11618
11619         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11620         ERT insets.
11621
11622 2001-08-13  Juergen Vigna  <jug@sad.it>
11623
11624         * text.C (fill): return 0 instead of 20 as this seems to be the more
11625         correct value.
11626
11627 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11628
11629         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11630         lyxrc.font_norm.
11631
11632 2001-08-13  Juergen Vigna  <jug@sad.it>
11633
11634         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11635         casesensitive off.
11636         (SearchBackward): comment out the unlocking of the inset_owner this
11637         should not be needed!
11638
11639 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11640
11641         * Many files: Remove inherit_language, and add latex_language
11642
11643         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11644         collapsible insets.
11645
11646 2001-08-10  Juergen Vigna  <jug@sad.it>
11647
11648         * text.C (prepareToPrint): fixed hfill-width in draw!
11649
11650         * BufferView2.C (selectLastWord): save the selection cursor as this
11651         now is cleared in the function LyXText::clearSelection!
11652
11653 2001-08-08  Juergen Vigna  <jug@sad.it>
11654
11655         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11656         BACKSPACE type functions.
11657
11658         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11659         is only cutted from the document but not put in the cut-buffer, where
11660         still the old stuff should be.
11661
11662         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11663
11664         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11665
11666         * tabular.C (SetWidthOfCell): fixed special case where the width
11667         was not updated!
11668         (LeftLine): handle '|' in align_special.
11669         (RightLine): ditto
11670         (LeftAlreadyDrawed): ditto
11671         (SetWidthOfCell): ditto
11672
11673 2001-08-07  Juergen Vigna  <jug@sad.it>
11674
11675         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11676
11677 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11678
11679         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11680         * lyxlex.[hC]: ditto
11681
11682 2001-08-06  Juergen Vigna  <jug@sad.it>
11683
11684         * text.C (getVisibleRow): fix up row clearing a bit.
11685
11686 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11687
11688         * minibuffer.C: make sure the X server sees the changes in the input.
11689
11690 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11691
11692         * paragraph.C (getFont): split into...
11693         (getLabelFont): this
11694         (getLayoutFont): and this
11695         * paragraph_pimpl.C (realizeFont): calling this
11696
11697         * text2.C (getFont): split into...
11698         (getLayoutFont): this
11699         (getLabelFont): and this
11700         (realizeFont): all three calling this
11701
11702         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11703         files where used.
11704
11705 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11706
11707         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11708
11709 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11710
11711         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11712         layouts from the Quote inset insertion.
11713
11714 2001-08-03  Juergen Vigna  <jug@sad.it>
11715
11716         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11717
11718         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11719         only if status not is already CHANGED_IN_DRAW (second level).
11720
11721         * text.C (draw): don't set the need_break_row when inside an
11722         InsetText LyXText.
11723
11724 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11725
11726         * buffer.C (parseSingleLyXformat2Token): handle more latex
11727         conversion cases.
11728
11729         * bufferview_funcs.[hC]: change function names to
11730         begin with small char, adjust other files.
11731
11732 2001-08-02  André Pönitz <poenitz@gmx.net>
11733
11734         * lyxfunc.C:
11735         BufferView_pimpl.C: remove broken special code for math-greek
11736
11737 2001-08-02  Juergen Vigna  <jug@sad.it>
11738
11739         * BufferView_pimpl.C (update): redone this function so that we
11740         update the text again if there was a CHANGE_IN_DRAW.
11741
11742         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11743         (drawFromTo): added a new internal bool which is used by draw() and
11744         redraw() function.
11745         (general): some cursor drawing problems fixed.
11746
11747 2001-08-01  Juergen Vigna  <jug@sad.it>
11748
11749         * lyxfind.C (LyXFind): fixed
11750         (SearchForward): ditto
11751         (SearchBackward): ditto
11752
11753         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11754         spurius drawing of the cursor in the main area.
11755
11756         * text2.C (status): small fix which could lead to a segfault!
11757         (clearSelection): remove unneeded BufferView param.
11758
11759 2001-08-01  André Pönitz <poenitz@gmx.net>
11760
11761         * lyxfunc.C: small change due to changed mathed interface
11762
11763 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11764
11765         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11766
11767 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11768
11769         * lyxfunc.c: fail gracefully if file doesn't exist
11770
11771         * LyXSendto.C:
11772         * buffer.C:
11773         * lyxfunc.C:
11774         * BufferView_pimpl.C: IsDirWriteable() proto changed
11775
11776         * LyXView.C: fix updateWindowTitle() to store the last title
11777
11778 2001-07-31  Juergen Vigna  <jug@sad.it>
11779
11780         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11781         the font (wrong since using of Paragraph::highestFontInRange).
11782
11783         * paragraph.C (highestFontInRange): added a default_size parameter.
11784
11785         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11786         (setHeightOfRow): reformat
11787
11788 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11789
11790         * converter.[hC] + affected files: move to (inital-char)lowercase
11791         function names.
11792
11793         * ParagraphParameters.C (ParagraphParameters): remove commented code
11794
11795         * PainterBase.[Ch]: remove commented code
11796
11797         * LaTeXFeatures.h: add "bool floats" for float.sty
11798
11799         * LaTeXFeatures.C (LaTeXFeatures): init floats
11800         (require): handle float
11801         (getPackages): do it with floats
11802
11803 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11804
11805         * BufferView_pimpl.C (Dispatch): improve handling of
11806         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11807
11808         * commandtags.h: #include lyxfont.h here temporarily to avoid
11809         keybinding bug.
11810
11811         * bufferlist.h: include LString.h here.
11812
11813 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11814
11815         * text2.C (getStringToIndex): new method.
11816
11817 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11818
11819         * *: Reduced header file dependencies all over.
11820
11821 2001-07-30  Baruch Even  <baruch@lyx.org>
11822
11823         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11824
11825 2001-07-29  Baruch Even  <baruch@lyx.org>
11826
11827         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11828
11829 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11830
11831         * ParameterStruct.h (endif): add a default constructor to make
11832         sure that all variables is initialized.
11833
11834         * ParagraphParameters.C (ParagraphParameters): adjust
11835
11836 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11837
11838         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11839         index; also, check that there is something to index, and that it
11840         does not span over several paragraphs.
11841         (doubleClick): use WHOLE_WORD_STRICT for double click.
11842
11843         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11844
11845         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11846         scheme.
11847
11848 2001-07-26  Baruch Even  <baruch@lyx.org>
11849
11850         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11851         an InsetFig figure, backwards compatible reading of old figure code.
11852
11853 2001-07-27  Juergen Vigna  <jug@sad.it>
11854
11855         * text2.C: font.realize function adaption.
11856
11857         * text.C (draw): add a warnings lyxerr text if needed.
11858
11859         * layout.C: font.realize function adaption.
11860
11861         * language.C: add inherit_language and implement it's handlings
11862
11863         * bufferview_funcs.C (StyleReset): remove language parameter from
11864         font creation (should be language_inherit now).
11865
11866         * bufferparams.C (writeFile): handle ignore_language.
11867
11868         * paragraph.C (getFontSettings): the language has to be resolved
11869         otherwise we have problems in LyXFont!
11870
11871         * lyxfont.C (lyxWriteChanges): added document_language parameter
11872         (update): removed unneeded language parameter
11873
11874         * paragraph.C (validate): fixed wrong output of color-package when
11875         using interface colors for certain fonts in certain environments,
11876         which should not seen as that on the final output.
11877
11878 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11879
11880         * BufferView_pimpl.C:
11881         * Thesaurus.h:
11882         * Thesaurus.C:
11883         * Makefile.am:
11884         * commandtags.h:
11885         * LyXAction.C: add thesaurus support
11886
11887         * lyxfind.h:
11888         * lyxfind.C: add "once" parameter, for thesaurus, to not
11889           move to the next match
11890
11891 2001-07-26  Juergen Vigna  <jug@sad.it>
11892
11893         * lyxfont.C (realize): honor ignore_language too!
11894         (resolved): ditto.
11895
11896         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11897
11898         * text.C (draw): one place more for ignore_language to not draw
11899         itself!
11900
11901 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11902
11903         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11904
11905 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11906
11907         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11908         the minipage conversion problem.
11909
11910 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11911
11912         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11913         insert an inset.
11914
11915 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11916
11917         * BufferView.h: don't forward declare WorkArea
11918
11919         * BufferView.C: don't include WorkArea.h
11920
11921 2001-07-25  André Pönitz <poenitz@gmx.net>
11922
11923         * commandtags.h:
11924         * LyXAction.C:
11925         * lyxfunc.C:  new LFUN 'math-space'
11926
11927         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11928
11929 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11930
11931         * text2.C (toggleInset): call open/close
11932
11933 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11934
11935         * lyxfunc.C (dispatch): add debug for the disabled case
11936
11937         * font.C (buttonText): make similar to rectText
11938
11939         * buffer.C (readInset): comment out parsing of insetlist and
11940         insttheorem
11941
11942         * PainterBase.C (rectText): small correction
11943
11944         * BufferView_pimpl.C: comment out insettheorem and insetlist
11945         * LyXAction.C: ditto
11946         * commandtags.h: ditto
11947
11948 2001-07-24  Juergen Vigna  <jug@sad.it>
11949
11950         * text.C (draw): honor the ignore_language.
11951
11952         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11953
11954 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11955
11956         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11957         char inset.
11958
11959 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11960
11961         * lyxtext.h: remove unused (and unimplemented) methods
11962
11963 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11964
11965         * text.C (getVisibleRow): honor background color
11966
11967         * PainterBase.h:
11968         * Painter.h: remove default color argument for fillRectangle
11969
11970         * text.C (backgroundColor): new method
11971
11972 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11973
11974         * text.C (getVisibleRow): adjust
11975
11976         * font.[Ch] (rectText): new method, metrics
11977         (buttonText): new method, metrics
11978
11979         * PainterBase.[hC]: make rectText and buttonText always draw and take
11980         fewer paramteres.
11981
11982 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11983
11984         * ToolbarDefaults.C (read):
11985         * MenuBackend.C (read): allow escaping in all strings
11986
11987         * BufferView_pimpl.C (insertAndEditInset): new method.
11988         (Dispatch): use insertAndEditInset whenever appropriate.
11989
11990         * BufferView_pimpl.C (insertNote): removed
11991
11992         * BufferView_pimpl.C (smartQuote): new method, moved from
11993         BufferView; if an insetquote cannot be inserted, insert a '"'
11994         character instead.
11995
11996         * BufferView2.C: remove insertCorrectQuote();
11997
11998         * lyxfunc.C (getStatus): Add support for all remaingin
11999         inset-insert lfuns.
12000
12001         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12002
12003         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12004         command (necessary to pass " as parameter of self-insert.
12005
12006         * text.C (selectWordWhenUnderCursor):
12007         (selectWord): add word_location parameter
12008         (selectWordWhenUnderCursor): same + remove special code for word
12009         boundary.
12010         (selectNextWord): use kind() to guess type of insetspecialchar,
12011         not latex().
12012
12013         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12014         (insertErtContents): create ert insets as collapsed.
12015         (readInset): better compatibility code for Info inset.
12016
12017 2001-07-20  Juergen Vigna  <jug@sad.it>
12018
12019         * lyxfunc.C (dispatch): use always LyXFind now!
12020
12021         * text2.C (init): add a reinit flag so that the LyXText can be
12022         reinited instead of deleted and reallocated (used in InsetText).
12023
12024         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12025
12026         * text.C: ditto
12027
12028         * text2.C: ditto
12029
12030 2001-07-18  Juergen Vigna  <jug@sad.it>
12031
12032         * text.C (selectNextWord): handle insets inside inset by calling
12033         always the bv->text functions so that we can go up the_locking_inset!
12034
12035         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12036         in strange locations when inside an inset!
12037
12038         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12039         handling to include insets.
12040
12041         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12042
12043 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12044
12045         * LyXAction.C (init):
12046         * commandtags.h:
12047         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12048         LIGATURE_BREAK, since the name is so stupid.
12049
12050 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12051
12052         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12053         InsetInfos.
12054
12055         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12056
12057         * sp_form.[Ch]: remove.
12058
12059         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12060
12061         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12062         InsetInfo.
12063
12064         * src/buffer.C (readInset): ditto.
12065
12066 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12067
12068         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12069         menuSeparator(), endOfSentenceDot(), ldots() and
12070         hyphenationPoint(), which are therefore removed.
12071         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12072
12073         * LyXAction.C (init):
12074         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12075
12076         * paragraph.C (getWord): removed.
12077
12078         * BufferView_pimpl.C (Dispatch): use last word or selection for
12079         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12080
12081         * lyx_main.C (queryUserLyXDir): do not ask before creating
12082         user_dir, except if it has been named explicitely.
12083
12084 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12085
12086         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12087         a document of zero size.
12088
12089 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12090
12091         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12092         approriately in the c-tor and in require().
12093         (getPackages): output the appropriate LaTeX for natbib support.
12094
12095         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12096         variables "use_natbib" and "use_numerical_citations" when reading the
12097         LyX file.
12098         (readInset): read the various natbib cite commands.
12099         (validate): white-space change.
12100
12101         * bufferparams.[Ch]: new variables "bool use_natbib" and
12102         "bool use_numerical_citations".
12103         (writeFile): output them in the LyX file.
12104
12105 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12106
12107         * lyxfunc.C (getStatus): add support for all the inset insertion
12108         commands.
12109
12110         * text2.C (insertInset):
12111         * paragraph.C (insetAllowed):
12112         * BufferView_pimpl.C (insertInset): update to take in account the
12113         renaming of insertInsetAllowed
12114
12115         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12116
12117         * text2.C (getInset): new method. returns inset at cursor position.
12118
12119         * BufferView_pimpl.C (Dispatch): changes because of this.
12120
12121         * LyXAction.C (init): rename open-stuff to inset-toggle.
12122
12123         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12124
12125         * text2.C (toggleInset): renamed from openStuff; use
12126         Inset::open().
12127
12128 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12129
12130         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12131
12132         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12133
12134 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12135
12136         * buffer.C (readLyXformat2): Add filename to the error dialog
12137
12138 2001-07-18  Juergen Vigna  <jug@sad.it>
12139
12140         * tabular.C (GetCellNumber): put an assert here instead of the check!
12141
12142 2001-07-17  Juergen Vigna  <jug@sad.it>
12143
12144         * BufferView_pimpl.C (toggleSelection): adapted too.
12145
12146         * text.C (selectNextWord): adapted for use with insets.
12147         (selectSelectedWord): ditto
12148
12149 2001-07-17  Juergen Vigna  <jug@sad.it>
12150
12151         * sp_spell.C (PSpell): fix initialitation order.
12152
12153 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12154
12155         * paragraph.C: spacing
12156
12157 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12158
12159         * sp_spell.C: repair language selection for pspell
12160
12161 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12162
12163         * lyxfunc.h: change more methods to begin with lower char.
12164
12165 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12166
12167         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12168         for unknown layouts.
12169
12170 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12171
12172         * buffer.C (readLyXformat2): Generate an error dialog if there are
12173         unknown layouts.
12174
12175 2001-07-16  Juergen Vigna  <jug@sad.it>
12176
12177         * sp_spell.C: always compile ISpell part.
12178
12179         * lyxrc.C: added use_pspell entry and it's handling.
12180
12181 2001-07-13  Juergen Vigna  <jug@sad.it>
12182
12183         * sp_spell.C: removed double includes.
12184
12185 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12186
12187         Consistent use of Lsstream.h:
12188         * Lsstream.h: added using std::stringstream for consistencies sake.
12189
12190         * buffer.C: removed using std::stringstream
12191
12192         * lyxfont.C (stateText):
12193         * paragraph.C (asString):
12194         * text.C (selectNextWord, selectSelectedWord):
12195         * text2.C (setCounter):
12196         * vspace.C (asString, asLatexString):
12197         std::ostringstream -> ostringstream.
12198
12199 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12200
12201         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12202         * commandtags.h: add LFUN_HELP_ABOUTLYX
12203         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12204
12205 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12206
12207         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12208         cursorToggle()
12209         * lyx_gui_misc.C: remove spellchecker
12210         * lyxfunc.C: showSpellchecker
12211         * sp_base.h: added
12212         * sp_ispell.h: added
12213         * sp_pspell.h: added
12214         * sp_spell.C: added
12215         * sp_form.[Ch]: removed
12216         * spellchecker.[Ch]: removed
12217
12218 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12219
12220         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12221         is set.
12222         (simpleTeXSpecialChars): Simply print the input character without
12223         any special translation if pass_thru is set.
12224
12225         * layout.h: Added bool pass_thru to layout class for being able to
12226         implement pass through of a paragraph for Literate Programming.
12227
12228         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12229         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12230         * layout.C (Read): add "passthru" to list of layout tags and add
12231         code to set the pass_thru boolean when it is read.
12232
12233 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12234
12235         * trans_decl.h: remove allowed from KmodInfo
12236
12237         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12238         remove allowed code
12239         (Load): adjust
12240
12241         * paragraph_pimpl.C (erase): use boost::prior
12242
12243         * Painter.C (text): use data() instead of c_str() when length is
12244         also provided.
12245         * WorkArea.C (putClipboard): ditto
12246         * font.h (width): ditto
12247
12248         * BufferView2.C: use it-> instead of (*it). for iterators
12249         * texrow.C: ditto
12250         * paragraph_pimpl.C: ditto
12251         * paragraph.C: ditto
12252         * minibuffer.C: ditto
12253         * language.C: ditto
12254         * kbmap.C: ditto
12255         * encoding.C: ditto
12256         * counters.C: ditto
12257         * converter.C: ditto
12258         * chset.C: ditto
12259         * Variables.C: ditto
12260         * TextCache.C: ditto
12261         * MenuBackend.C: ditto
12262         * LyXAction.C: ditto
12263         * LColor.C: ditto
12264         * FloatList.C: ditto
12265         * DepTable.C: ditto
12266         * ColorHandler.C (LyXColorHandler): ditto
12267
12268 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12269
12270         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12271
12272         * text2.C (openStuff): reintroduce this method (which had been
12273         nuked in NEW_INSETS frenzy).
12274
12275         * lyxfunc.C (Dispatch): when an action has not been handled, use
12276         its name in the error message, not its number.
12277
12278         * paragraph.C (inInset): change method name to begin with lowercase.
12279
12280         * undo_funcs.C:
12281         * text2.C: updates because of this.
12282
12283 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12284
12285         * ToolbarDefaults.C (add): add spaces in error message
12286
12287 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12288
12289         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12290         (readLyXformat2): rename return_par to first_par, use lyxlex's
12291         pushToken and remove the manual push handling.
12292         (parseSingleLyXformat2Token): add another ert comp. variable:
12293         in_tabular, rename return_par to first_par. handle newlines better
12294
12295 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12296
12297         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12298
12299 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12300
12301         * text2.C (getParFromID): removed
12302
12303         * buffer.C (getParFromID): new method moved form lyxtext.
12304         * BufferView2.C (insertErrors): adjust
12305         (setCursorFromRow): adjust
12306         * BufferView_pimpl.C (restorePosition): adjust
12307         * lyxfunc.C (Dispatch): adjust
12308         * undo_funcs.C (textUndo): adjust
12309         (textRedo): adjust
12310         (textHandleUndo): adjust
12311         (textHandleUndo): adjust
12312
12313 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12314
12315         * buffer.C: up' the LYX_FORMAT
12316
12317         * lyxfont.h: turn NO_LATEX on as default
12318
12319         * buffer.C (insertErtContents): new methods of tex style compability.
12320         (parseSingleLyXformat2Token): use it several places.
12321         * tabular.C (OldFormatRead): and here
12322
12323 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12324
12325         * text2.C: remove some commented code.
12326         reindent file.
12327
12328         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12329         * trans.C: changes because of the above.
12330
12331 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12332
12333         * text2.C (setCounter): Fix counters bug with bibliography layout.
12334
12335 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12336
12337         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12338         own member functions
12339         (simpleTeXSpecialChars): ditto
12340
12341 2001-07-06  Juergen Vigna  <jug@sad.it>
12342
12343         * a lot of files: changed the access to LyXText::status and the
12344         call of undo-functions.
12345
12346         * undo.[Ch]: added a inset_id to the undo informations.
12347
12348         * undo_funcs.[Ch]: added and moved here all undo functions.
12349
12350         * lyxtext.h: give the status enum a weight, made status_ a private
12351         variable and made accessor functions for it, removed the whole bunch
12352         of undo-functions as they are now in their own file, make some
12353         functions publically available. Added function ownerParagraph with
12354         int parameter.
12355
12356         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12357         made InInset() a const function, added getParFromID() function.
12358
12359         * buffer.[Ch]: added const version for inset_iterator functions,
12360         added getInsetFromID() function.
12361
12362         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12363         changed undo functions for new version.
12364
12365 2001-07-05  Juergen Vigna  <jug@sad.it>
12366
12367         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12368         unknow mechanism does not call the proper constructor but only this
12369         one also if I request the other!?
12370
12371 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12372
12373         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12374
12375         * text2.C (LyXText): use initialization lists.
12376
12377         * lyxtext.h (Selection): initialize set_ and mark_
12378         (init): remove method
12379
12380 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12381
12382         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12383
12384 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12385
12386         * screen.[Ch]: change method names to begin with lowercase
12387
12388         * BufferView_pimpl.C (updateScrollbar): simplify further and
12389         hopefully make it a bit faster.
12390
12391 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12392
12393         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12394         calling directly xforms functions.
12395
12396         * Painter.C (Painter):
12397         * lyx_cb.C (MenuWrite):
12398         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12399         fl_display.
12400
12401         * lyx_gui.C: remove bogus guiruntime extern declaration.
12402
12403 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12404
12405         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12406         in NEW_INSETS
12407         (redoDrawingOfParagraph): ditto
12408         (redoParagraphs): ditto
12409         (cutSelection): don't create a object for CutAndPaste use the
12410         static method directly
12411         (pasteSelection): ditto
12412
12413         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12414         LyXview (+ rename)
12415
12416 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12417
12418         * modifications to some other files because of this.
12419
12420         * Makefile.am (lyx_SOURCES): add XFormsView
12421
12422         * XFormsView.[Ch]: new files
12423
12424         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12425         the main window. Move the gui dependent stuff to XFormsView
12426
12427 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12428
12429         * tabular.C (GetCellInset): update cur_cell also in the row/col
12430         version of this function.
12431
12432         * lyxfunc.C: no need to include figure_form.h here.
12433
12434         * FontLoader.h:
12435         * lyxfunc.h:
12436         * lyxscreen.h:
12437         * text2.C:
12438         * lyxvc.C: no need to include forms.h here.
12439
12440 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12441
12442         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12443
12444         * lyxfunc.C (Dispatch):
12445         * Spacing.C (set):
12446         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12447         constructor argument.
12448
12449 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12450
12451         * paragraph.C (Paragraph): dont't clear, and just set layout.
12452         (makeSameLayout): use params's copy contructor.
12453
12454         * ParagraphParameters.[Ch] (makeSame): delete method
12455
12456 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12457
12458         * Variables.[Ch]: fix indentation, rename set to isSet
12459
12460 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12461
12462         * lyxfunc.C (Dispatch): fix typo
12463
12464 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12465
12466         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12467         upper_bound.
12468
12469         * bufferlist.C: include assert.h for emergencyWrite().
12470
12471 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12472
12473         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12474           give up at last (bug #425202) !
12475
12476 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12477
12478         * lyx_gui_misc.C:
12479         * sp_form.h:
12480         * sp_form.C:
12481         * spellchecker.h:
12482         * spellchecker.C: strip spellchecker options and bring up
12483           preferences tab instead
12484
12485 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12486
12487         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12488         the istringstream constructor
12489
12490 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12491
12492         * paragraph.C (getLayout): fix return value
12493
12494         * paragraph.h: do not declare getLayout as inline.
12495
12496         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12497
12498 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12499
12500         * lyxcursor.h (operator<): new func
12501         (operator>): new func
12502         (operator>=): new func
12503         (operator<=): new func
12504
12505         * text.C (changeCase): use selection.start and selection.end
12506         (changeRegionCase): require from to be <= to. Require par to be a
12507         valid paragraph.
12508
12509         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12510
12511 2001-06-27  Juergen Vigna  <jug@sad.it>
12512
12513         * text.C (cursorLeftOneWord): changed to return the cursor and added
12514         overlay with BufferView * parameter which calls this one.
12515         (getWord): added
12516         (selectWord): use new getWord function.
12517         (changeCase): renamed from changeWordCase as and extended to work
12518         also on selections.
12519
12520         * lyxtext.h: added enum word_location
12521
12522         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12523         changeCase as this operates now also on selections.
12524
12525 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12526
12527         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12528
12529         * many files: send debug output to Debug::INFO instead of
12530         Debug::ANY.
12531
12532         * converter.C (View):
12533         (Convert):
12534         (Move): send debug output to Debug::FILES instead of console.
12535
12536 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12537
12538         * lyxfunc.C (getStatus): use func_status
12539
12540         * func_status.h: new header, describing the results of
12541         LyXFunc::getStatus;
12542
12543         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12544         LFUN_MATH_HALIGN.
12545
12546 2001-06-25  The LyX Project  <jug@sad.it>
12547
12548         * buffer.C (sgmlOpenTag):
12549         (sgmlCloseTag):
12550         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12551
12552 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12553
12554         * text2.C: remove some dead code
12555
12556         * tabular.C (GetCellInset): store the last cell checked (gotten)
12557
12558         * tabular.h: add the helper for the speedup
12559
12560         * lyxtext.h: remove some dead code
12561
12562 2001-06-26  The LyX Project  <Asger>
12563
12564         * paragraph.C: Change export to LaTeX of alignment to
12565         \begin{center} and family for better roundtrip work with reLyX.
12566
12567         * Tune the math drawing a bit.
12568
12569 2001-06-25  The LyX Project  <Asger>
12570
12571         * LColor.C (LColor): New color for math background. New color
12572         for buttons.
12573
12574 2001-06-25  The LyX Project  <jug@sad.it>
12575
12576         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12577
12578         * lyxfunc.C (Open):
12579         * bufferlist.C (newFile): do not restrict to files ending with
12580         .lyx
12581
12582         * BufferView_pimpl.C (MenuInsertLyXFile):
12583
12584 2001-06-24  The LyX Project  <jug@sad.it>
12585
12586         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12587         of compare_no_case
12588
12589 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12590
12591         * lyxtext.h: rename most methods to begin with a small char.
12592         Lots of changes because of this.
12593
12594         * paragraph.C (Paragraph): do not call fitToSize
12595         (erase): call Pimpl::erase
12596         (insertChar): call Pimpl::insertChar
12597         (insertInset): call Pipl::insertInset
12598         (breakParagraph): do not call fitToSize
12599         (breakParagraphConservative): do not call fitToSize
12600         (fitToSize): remove method
12601
12602         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12603
12604 2001-06-24  The LyX Project  <Asger>
12605
12606         * Fix Qt compilation^2
12607
12608 2001-06-24  The LyX Project  <jug@sad.it>
12609
12610         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12611         depthHook(getDepth()-1).
12612
12613         * paragraph.h:
12614         * ParagraphParameters.h:
12615         * ParameterStruct.h: change type of depth to unsigned int ==
12616         depth_type. Many adaptations to other files before of that.
12617
12618 2001-06-24  The LyX Project  <Asger>
12619
12620         * Fix Qt compilation.
12621
12622 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12623
12624         * paragraph.h: renamed several methods to begin with small letter.
12625         several changes to many parts of the code because of this.
12626
12627 2001-06-23  The LyX Project  <jug@sad.it>
12628
12629         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12630         rewritten to discard all double spaces when KeepEmpty is off
12631         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12632         to only handle newlines but not fiddle with spaces and friends.
12633
12634         * lyxfunc.C (MenuNew): when doing 'new from template', use
12635         template_path as default directory
12636
12637 2001-06-23  The LyX Project  <Asger>
12638
12639         * Clean-up of header file includes all over
12640         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12641
12642 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12643
12644         * paragraph.h: renamed from lyxparagraph.h
12645
12646 2001-06-23  Asger  <lyx@violet.home.sad.it>
12647
12648         * Buffer.h: Removed Buffer::resize
12649         * BufferList.h: Removed BufferList::resize
12650         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12651         the document lazily when we change the width, or the font settings.
12652
12653 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12654
12655         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12656
12657 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12658
12659         * buffer.h: remove out of date comment
12660
12661 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12662
12663         * lyxscreen.h:
12664         * screen.C: fix "theoretical" GC leak
12665
12666 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12667
12668         * LaTeX.C (scanAuxFile):
12669         (deplog): remove trailing \r when reading stream (useful under
12670         win32)
12671
12672 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12673
12674         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12675         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12676         and BufferView::theLockingInset(Inset*), so should use them and not
12677         access bv_->text->the_locking_inset directly.
12678
12679         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12680
12681 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12682
12683         * Makefile.am:
12684         * tex-defs.h: remove old unused file
12685
12686 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12687
12688         * BufferView_pimpl.C: fix typo, remove minibuffer message
12689           when buffer has loaded
12690
12691 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12692
12693         * lyxfunc.C (Dispatch): use stringstream
12694         (MenuNew): use stringstream
12695         (Open): use stringstream
12696
12697         * importer.C (Import): use stringstream
12698
12699         * bufferview_funcs.C (CurrentState): use stringstream
12700
12701         * LaTeX.C (run): use stringstream
12702
12703         * BufferView_pimpl.C (savePosition): use stringstream
12704         (restorePosition): use stringstream
12705         (MenuInsertLyXFile): use stringstream
12706
12707 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12708
12709         * BufferView.C:
12710         * Bullet.C:
12711         * ColorHandler.C:
12712         * FontInfo.C:
12713         * FontLoader.C:
12714         * LColor.C:
12715         * LaTeXFeatures.C:
12716         * Painter.C:
12717         * gettext.C:
12718         * lyx_gui_misc.C:
12719         * lyxserver.C:
12720         * vspace.C: removed // -*- C++ -*- as first line.
12721
12722         * lyxfind.h:
12723         * version.h: added // -*- C++ -*- as first line.
12724
12725 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12726
12727         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12728
12729         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12730         of string
12731
12732 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12733
12734         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12735         of floats.
12736
12737 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12738
12739         * gettext.C: include LString.h even when --disable-nls is on.
12740
12741 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12742
12743         * converter.h (Get): changed argument type from int to
12744         FormatList::size_type to avoid unnecessary conversion.
12745
12746         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12747         before using it.
12748
12749 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12750
12751         * gettext.h: include LString.h even when --disable-nls is on.
12752
12753 2001-06-07  Juergen Vigna  <jug@sad.it>
12754
12755         * text.C (BreakAgain): subst spaces with tabs.
12756
12757         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12758         (resizeInsetsLyXText): set force on resizeLyXText.
12759
12760 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12761
12762         * gettext.h (gettext_init):
12763         (locale_init): use a real definition instead of a macro
12764
12765 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12766
12767         * Bufferview_pimpl.C:
12768         * LColor.h:
12769         * LColor.C: further lcolor tidies
12770
12771 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12772
12773         * BufferView_pimpl.C (updateScrollbar): simplify.
12774
12775         * BufferView2.C: don't include insets/insetinfo.h, change
12776         prototype for insertInset and call the Pimpl version. let
12777         updateInset call Pimpl version.
12778
12779         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12780         gotoInset to BufferView::Pimpl
12781
12782 2001-06-01  Juergen Vigna  <jug@sad.it>
12783
12784         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12785         inside a LockingInset (is the update needed at all?).
12786
12787 2001-05-31  Juergen Vigna  <jug@sad.it>
12788
12789         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12790         here not the old one otherwise how should we compare it afterwards
12791         if it's the same!
12792
12793 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12794
12795         * lyxfont.C:
12796         * tabular.C:
12797         * tabular-old.C:
12798         * FontInfo.C: bring C functions into global namespace when
12799         necessary
12800
12801 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12802
12803         * LString.h: make sure config.h has been loaded before LString.h.
12804
12805         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12806         (one for each char read by EatLine!).
12807
12808         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12809         variables.
12810
12811 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12812
12813         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12814         to the same as the par we break from
12815
12816 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12817
12818         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12819
12820         * MenuBackend.C (expand): also create menu entries for wide
12821         versions of the floats.
12822
12823         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12824
12825         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12826
12827         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12828         frontends/Makefile.am
12829
12830         * text2.C: adjust
12831         * text.C: adjust
12832
12833
12834         * tabular.C (getTokenValue): add std::
12835
12836         * tabular-old.C (getTokenValue): add std::
12837         (getTokenValue): ditto
12838         (getTokenValue): ditto
12839
12840         * screen.C (ToggleSelection): adjust
12841
12842         * lyxtext.h: put selection cursors inside a Selection struct.
12843
12844         * lyxfunc.C (moveCursorUpdate): adjust
12845
12846         * lyxfont.C (latexWriteStartChanges): add std::
12847
12848         * lyxfind.C: adjust
12849
12850         * font.h: delete with(char const *, LyXFont const &)
12851
12852         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12853
12854         * FontInfo.C (getFontname): add std::
12855
12856         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12857         (workAreaButtonPress): adjust
12858         (tripleClick): adjust
12859         (update): adjust
12860         (moveCursorUpdate): adjust
12861         (Dispatch): adjust
12862
12863         * BufferView2.C (gotoInset): adjust
12864
12865 2001-05-30  Juergen Vigna  <jug@sad.it>
12866
12867         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12868         to check pspell I add this as default as I now have new pspell
12869         libraries and they seem to use this.
12870
12871 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12872
12873         * text2.C (CutSelection): make the cursor valid before the call to
12874         ClearSelection.
12875
12876 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12877
12878         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12879         relied on 0 terminated strings and other horrors. Bug found due to
12880         the new assert in lyxstring!
12881
12882         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12883         KP_ keys.
12884
12885 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12886
12887         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12888         to latinkeys.bind.
12889
12890         * lyxfunc.C (processKeySym): change method of getting to the
12891         self-insert char.
12892
12893         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12894         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12895         * BufferView_pimpl.[Ch]: here as private methods.
12896
12897 2001-05-28  Juergen Vigna  <jug@sad.it>
12898
12899         * text.C (SetHeightOfRow): added the update() call again as it is
12900         needed to initialize inset dimensions!
12901
12902 2001-05-16  Juergen Vigna  <jug@sad.it>
12903
12904         * text2.C (SetCharFont): Add new function with BufferView * and
12905         bool toggleall parameters for setting insets internal fonts.
12906         (SetFont): Freeze the undo as we may change fonts in Insets and
12907         all this change should be inside only one Undo!
12908
12909         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12910         setting font's in insets as for them we have the SetFont function!
12911
12912 2001-05-15  Juergen Vigna  <jug@sad.it>
12913
12914         * text2.C (ClearSelection): to be sure we REALLY don't have any
12915         selection anymore!
12916
12917         * tabular.C (TeXCellPreamble): fixed the left border problem for
12918         multicolumn cells.
12919
12920 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12921
12922         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12923         dependancy file
12924
12925 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12926
12927         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12928         LFUN_BREAKPARAGRAPH.
12929
12930         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12931         help test to "internal only", similar for LFUN_INSERT_URL
12932
12933         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12934         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12935         auto_region_delete and deadkeys.
12936
12937 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12938
12939         * LColor.h:
12940         * LColor.C: remove some dead entries, tidy a little
12941
12942 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12943
12944         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12945         commented code.
12946         (Dispatch): implement LFUN_ESCAPE
12947
12948         * commandtags.h: add LFUN_ESCAPE
12949
12950         * LyXAction.C (init): add entry for LFUN_ESCAPE
12951
12952         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12953         Remove commented code.
12954         (insertNote): moved here
12955         (open_new_inset): moved here
12956
12957         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12958         BufferView_pimpl
12959
12960 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12961
12962         * kbmap.C (findbinding): clean it up and make it work correctly.
12963
12964         * lyx_main.C (init): do not pass argc and argv as parameters
12965
12966 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12967
12968         * buffer.C: fix path for OS/2 & Win32
12969
12970         * lyx_gui.C:
12971         * lyx_main:
12972         * lyx_main.C: Added os:: class.
12973
12974         * os2_defines.h: update
12975
12976 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12977
12978         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12979         better by trying again with reduced state.
12980
12981 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12982
12983         * lyxrc.C (read): print error about invalid key sequence only when
12984         debugging (because not all latinX keysyms are known to some X
12985         servers)
12986
12987         * kbsequence.C (getiso): add a few std:: qualifiers
12988         (getiso): comment out extra return statement.
12989
12990 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12991
12992         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12993         handling.
12994         (Dispatch): enhance the accent inset a bit. (not perfect)
12995
12996 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12997
12998         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12999
13000 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13001
13002         * bufferlist.C (emergencyWrite): fix assert() call
13003
13004 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13005
13006         * text.C (InsertChar): Added trivial patch to only send the "you
13007         can not do multiple spaces this way" message once during a
13008         session.
13009
13010 2001-05-08  Baruch Even  <baruch@lyx.org>
13011
13012         * Makefile.am: Changed order of libraries to get LyX to link properly
13013         with the gnome frontend.
13014
13015 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13016
13017         * LaTeXFeatures.h: add a std:: qualifier
13018
13019 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13020
13021         * paragraph.C (String): use stringstream
13022
13023 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13024
13025         * paragraph.C (writeFile): remove footflag arg
13026
13027         * buffer.C (makeLaTeXFile): use stringstream
13028         (latexParagraphs): remove footnot gurba
13029
13030         * LaTeXFeatures.C (getPackages): use stringstream
13031         (getMacros): likewise
13032         (getTClassPreamble): likewise
13033         (getFloatDefinitions): new method
13034
13035         * paragraph.C (writeFile): reindent
13036         (Erase): reindent
13037
13038         * WorkArea.h: revert the xpos + etc changes.
13039
13040         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13041
13042         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13043
13044         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13045         (pasteSelection): likewise
13046         * text2.C (CreateUndo): likewise
13047
13048 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13049
13050         * minibuffer.C (peek_event): temporarily reduce the functionality
13051         of the minibuffer (to allow args on lfuns)
13052
13053         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13054         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13055
13056         * buffer.C (readInset): add compability reading of old float
13057         lists, add reading of new style float list.
13058         (readInset): avoid reevaluation of inscmd.getCmdName()
13059         (getLists): reindent
13060
13061         * MenuBackend.C (MenuItem): implement parsing of
13062         md_floatlistinsert and md_floatinsert.
13063         (expand::LastFiles): move initalizaton of iterators out of loop,
13064         avoid reevaluation.
13065         (expand::Documents): introduce typdedef vector<string> Strings,
13066         and use it.
13067         (expand::ExportFormats): introduce typedef vector<Format const *>
13068         Formats, and use it.
13069         (expand): implement FloatListInsert and FloatInsert.
13070
13071         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13072         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13073         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13074
13075         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13076         handling.
13077         (Dispatch::LFUN_FLOAT_LIST): implement
13078
13079 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13080
13081         * LaTeX.C (run): Fix problem with --export code.
13082
13083 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13084
13085         * BufferView.[Ch] (workarea): removed.
13086         (getClipboard) new method; wrapper for workarea()->getClipboard()
13087
13088         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13089         bug.
13090
13091         * WorkArea.h (width, height, xpos, ypos): These methods all
13092         returned the dimensions of the work_area sub-area of WorkArea,
13093         resulting in a position error if the WorkArea were resized. Now
13094         return the dimensions of the entire WorkArea.
13095
13096         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13097
13098 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13099
13100         * LaTeX.C (deplog): correct the syntax of regex reg1
13101
13102 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13103
13104         * undo.C: remove !NEW_INSETS cruft
13105
13106 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13107
13108         * text2.C: remove !NEW_INSETS cruft
13109
13110         * text.C: remove !NEW_INSETS cruft
13111
13112         * tabular.C: remove !NEW_INSETS cruft
13113
13114         * spellchecker.C: remove !NEW_INSETS cruft
13115
13116         * lyxtext.h: remove !NEW_INSETS cruft
13117
13118         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13119
13120         * lyxfunc.C: remove !NEW_INSETS cruft
13121
13122         * lyxfind.C: remove !NEW_INSETS cruft
13123
13124         * lyx_cb.C: remove !NEW_INSETS cruft
13125
13126         * figureForm.C: remove  !NEW_INSETS cruft
13127
13128         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13129
13130         * buffer.[Ch]: remove !NEW_INSETS cruft
13131
13132         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13133
13134         * CutAndPaste.C: remove !NEW_INSETS cruft
13135
13136         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13137
13138         * BufferView2.C: remove !NEW_INSETS cruft
13139
13140         * BufferView.h: remove !NEW_INSETS cruft
13141
13142 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13143
13144         * Lsstream.h: include LString.h before the sstream headers to
13145         fix problem with gcc 2.95.3 and lyxstring
13146
13147 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13148
13149         * lyx_main.C: add using directives when needed for C functions
13150         declared in std:: namespace.
13151
13152 2001-04-27  Juergen Vigna  <jug@sad.it>
13153
13154         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13155         (SetHeightOfRow): comment out the update call should not be needed!
13156
13157 2001-04-13  Juergen Vigna  <jug@sad.it>
13158
13159         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13160         (LyXTabular): tried to minimize operator= operations (and realized
13161         hopfully Lars wish).
13162
13163 2001-04-27  Juergen Vigna  <jug@sad.it>
13164
13165         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13166
13167 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13168
13169         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13170
13171         * buffer.C (readInset): hack to make listof algorithm work
13172
13173         * BufferView_pimpl.C: hack to make listof algorithm work
13174
13175 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13176
13177         * LyXAction.C: removed all !NEW_INSETS cruft
13178         (init): moved lfun_item in method
13179
13180         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13181
13182 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13183
13184         * BufferView2.C (theLockingInset): white space.
13185
13186 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13187
13188         * minibuffer.C: include <iostream>
13189
13190         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13191
13192         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13193
13194         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13195
13196         * text.[Ch] (TransposeChars): new method
13197
13198 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13199
13200         * call message directly through LyXView instead of through LyXFunc
13201         * BufferView2.C: adjust
13202         * BufferView_pimpl.C: adjust
13203         * FontLoader.C: adjust
13204         * buffer.C: adjust
13205         * bufferview_funcs.C: adjust
13206         * converter.C: adjust
13207         * figureForm.C: adjust
13208         * importer.C: adjust
13209         * lyx_cb.C: adjust
13210         * lyx_gui_misc.C: adjust
13211         * lyxfunc.C: adjust
13212         * lyxvc.C: adjust
13213         * text2.C: adjust
13214         + more files in subdirs
13215
13216         * lyxparagraph.h (size): move up int file
13217         (GetLayout): ditto
13218
13219         * adjust all uses of Assert to lyx::Assert.
13220
13221         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13222         lyxfunctional in namespace lyx
13223         * layout.C (hasLayout): ditto
13224         (GetLayout): ditto
13225         (GetLayout): ditto
13226         (delete_layout): ditto
13227         (NumberOfClass): ditto
13228         * converter.C (GetFormat): ditto
13229         (GetNumber): ditto
13230         (Add): ditto
13231         (Delete): ditto
13232         (SetViewer): ditto
13233         * bufferlist.C (getFileNames): ditto
13234         (emergencyWriteAll): ditto
13235         (exists): ditto
13236         (getBuffer): ditto
13237         * MenuBackend.C (hasSubmenu): ditto
13238         (hasMenu): ditto
13239         (getMenu): ditto
13240         * BufferView_pimpl.C (getInsetByCode): ditto
13241
13242 2001-04-18  Juergen Vigna  <jug@sad.it>
13243
13244         * vspace.C (asLatexString): fixed the 100% problem.
13245
13246 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13247
13248         * lyxfunc.C (Dispatch):
13249         * minibuffer.C:
13250         * minibuffer.h: add a few std:: qualifiers
13251
13252 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13253
13254         * minibuffer.[Ch]: reimplement so that commands is initiated and
13255         run from lyxfunc, simplified som handling, and made the completion
13256         and history code for complete. wip.
13257
13258         * lyxfunc.C (processKeySym): call message
13259         (miniDispatch): new temporary method
13260         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13261         (LFUN_MESSAGE): implement
13262         (LFUN_MESSAGE_PUSH): implement
13263         (LFUN_MESSAGE_POP): implement
13264         (initMiniBuffer): the initial/defualt minibuffer message.
13265
13266         * lyxfont.[Ch]: inline some more getters
13267
13268         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13269
13270         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13271
13272         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13273         (AutoSave): use LFUN_MESSAGE
13274         (Reconfigure): ditto
13275
13276         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13277
13278         * figureForm.C: use LFUN_MESSAGE
13279
13280         * converter.C (runLaTeX): use LFUN_MESSAGE
13281
13282         * bufferview_funcs.C: use LFUN_MESSAGE
13283         (Melt): ditto
13284         (changeDepth): ditto
13285
13286         * bufferparams.h: use boost::
13287
13288         * bufferlist.h: inherit privately from noncopyable
13289
13290         * bufferlist.C (loadLyXFile): remove some commented code.
13291
13292         * buffer.C (runChktex): use LFUN_MESSAGE
13293
13294         * ShareContainer.h: inherit privately from noncopyable
13295
13296         * ParagraphParameters.[hC] (depth): inline it.
13297
13298         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13299         methods.
13300         (message): new method
13301         (messagePush): ditto
13302         (messagePop): ditto
13303         (show): init minibuffer
13304         (showState): direct call
13305
13306         * LaTeX.[Ch]: inherit privately from noncopyable
13307         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13308         instead of WriteStatus.
13309
13310         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13311
13312         * BufferView_pimpl.C (buffer): don't init minibuffer
13313         (workAreaButtonPress): use LFUN_MESSAGE
13314         (workAreaButtonRelease): ditto
13315         (savePosition): ditto
13316         (restorePosition): ditto
13317         (MenuInsertLyXFile): ditto
13318         (workAreaExpose): don't init minibuffer
13319         (update): remove commented code, simplify
13320
13321         * BufferView2.C (openStuff): use LFUN_MESSAGE
13322         (toggleFloat): ditto
13323         (menuUndo): ditto
13324         (menuRedo): ditto
13325         (copyEnvironment): ditto
13326         (pasteEnvironment): ditto
13327         (copy): ditto
13328         (cut): ditto
13329         (paste): ditto
13330         (gotoInset): ditto
13331         (updateInset): remove some commented code
13332
13333         * lastfiles.h: inherit privately from noncopyable
13334         * layout.h: ditto
13335         * lyx_gui.h: ditto
13336         * lyx_main.h: ditto
13337         * lyxlex.h: ditto
13338         * lyxlex_pimpl.h: ditto
13339
13340         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13341         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13342         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13343
13344         * LyXAction.h: inherit privately from noncopyable, add methods
13345         func_begin, func_end, returning iterators to the func map.
13346
13347         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13348         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13349         (func_begin): new method
13350         (func_end): new method
13351
13352         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13353         and not)
13354         (copySelection): ditto
13355         (pasteSelection): ditto
13356
13357         * BufferView.C: whitespace change
13358         * BufferView.h: inherit privately from noncopyable
13359
13360 2001-04-16  Allan Rae  <rae@lyx.org>
13361
13362         * tabular-old.C (l_getline):
13363         * spellchecker.C (sc_check_word):
13364         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13365         an unrecognised preprocessor directive.  So ensure they're wrapped.
13366
13367 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13368
13369         * src/exporter.C (Export): Give an error message when path to file
13370         contains spaces.
13371
13372 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13373
13374         * LaTeX.C (deplog): Always check that foundfile exists.
13375
13376 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13377
13378         * lyx_main.h:
13379         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13380
13381 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13382
13383         * tabular.[Ch] (getLabelList): implement new method
13384
13385         * minibuffer.h: comment ouf setTiimer
13386
13387         * minibuffer.C (ExecutingCB): constify res
13388         (peek_event): constify s
13389         (Set): constify ntext
13390         (Init): constify nicename
13391
13392         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13393
13394         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13395         (savePosition): use two params to Minibuffer::Set
13396         (restorePosition): ditto
13397
13398 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13399
13400         * lyx_main.C: include language.h
13401
13402         * Makefile.am (lyx_main.o): add language.h
13403
13404 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13405
13406         * exporter.C:
13407         * paragraph.C:
13408         * screen.C:
13409         * tabular.C:
13410         * CutAndPaste.C: include gettext.h
13411
13412         * lyxfont.h: remove old hack with ON and OFF.
13413
13414         * lyxparagraph.h:
13415         * lyxfont.h: do not include language.h...
13416
13417         * BufferView2.C:
13418         * LaTeXFeatures.C:
13419         * Painter.C:
13420         * bufferview_funcs.C:
13421         * font.C:
13422         * lyxfont.C:
13423         * text.C:
13424         * text2.C:
13425         * trans_mgr.C:
13426         * paragraph.C: ... but do it here instead
13427
13428 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13429
13430         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13431
13432         * tabular.C: small reformat
13433
13434         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13435         NEW_INSETS version
13436         (GetChar): ditto
13437         (BreakParagraph): ditto
13438         (SetOnlyLayout): ditto
13439         (SetLayout): ditto
13440
13441         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13442         with one arg less.
13443
13444         * lastfiles.C: removed most using decl, add std:: where needed
13445
13446         * buffer.C: ws changes
13447
13448         * MenuBackend.C (class compare_format): put into anon namespace
13449         (expand): constify label, names, action, action2
13450         (expand):
13451
13452         * text.C (SingleWidth): constify font
13453         (IsBoundary): constify rtl2
13454         (GetVisibleRow): constify ww
13455
13456         * LaTeX.C (deplog): constify logfile
13457
13458         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13459         start_x, end_x
13460         (workAreaExpose): constify widthChange, heightChange
13461
13462         * lyxrow.C (par): moved
13463         (height): moved
13464         (next): moved
13465         * lyxrow.h: as inlines here
13466
13467         * lyxfont.h (shape): moved from lyxfont.C
13468         (emph): moved from lyxfont.C
13469
13470         * lyxfont.C (LyXFont): use initialization list for all
13471         constructors
13472         (shape): move to lyxfont.h as inline
13473         (emph): move to lyxfont.h as inline
13474
13475
13476 2001-04-04  Juergen Vigna  <jug@sad.it>
13477
13478         * vspace.C: had to include stdio.h for use of sscanf
13479
13480 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13481
13482         * BufferView.h:
13483         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13484         independent of xforms.
13485
13486 2001-04-02  Juergen Vigna  <jug@sad.it>
13487
13488         * spellchecker.C: fixed namespace placing!
13489
13490 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13491
13492         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13493         the LyXParagraph * is 0.
13494
13495 2001-03-29  Juergen Vigna  <jug@sad.it>
13496
13497         * vspace.C: added support for %, c%, p%, l%.
13498         (stringFromUnit): added helper function.
13499         (asLatexString): changed to give right results for the %-values.
13500
13501         * buffer.C: convert the widthp in a width%.
13502
13503 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13504
13505         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13506         figureForm.[Ch].
13507
13508         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13509         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13510
13511         * lyx_cb.[Ch]: see above.
13512
13513         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13514         form1.[Ch].
13515
13516         * form1.[Ch]:
13517         * lyx.[Ch]: replaced by figure_form.[Ch].
13518
13519         * lyx_gui.C:
13520         * lyx_gui_misc.C:
13521         * lyxfunc.C: changed headers associated with above changes.
13522
13523 2001-03-27  Juergen Vigna  <jug@sad.it>
13524
13525         * BufferView_pimpl.C: set the temporary cursor right!
13526
13527 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13528
13529         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13530
13531 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13532
13533         * LString.h: removed "using std::getline"!
13534
13535         * BufferView_pimpl.C (Dispatch): changes due to changes in
13536         InsetInclude::Params.
13537
13538         * buffer.C (tag_name): removed redundant break statements as they were
13539         producing lots of warnings with my compiler.
13540
13541 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13542
13543         * LString.h: add "using std::getline" when using the real <string>.
13544
13545 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13546
13547         * buffer.C: removed bitset usage.
13548         PAR_TAG moved to an anonymous name space.
13549         (tag_name): new funtion, also in the anonymous namespace.
13550         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13551         (makeDocBookFile): clean code. Completed transition from string arrays
13552         to string vectors.
13553         (SimpleDocBookOnePar): code clean.
13554
13555 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13556
13557         * tabular.C: add some comments.
13558
13559 2001-03-22  Juergen Vigna  <jug@sad.it>
13560
13561         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13562         compatibility read a bit and fixed bug with minipage in different
13563         depth.
13564
13565 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13566
13567         * buffer.C (pop_tag): removed.
13568         (push_tag): removed.
13569         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13570         array replaced with vector. Added support for CDATA sections.
13571         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13572         at any nest level.
13573         (makeDocBookFile): XML conformant declaration of CDATA section,
13574         fixed bug related to <emphasis> in the first paragraph char.
13575         (sgmlOpenTag): exclude empty tags.
13576         (sgmlCloseTag): ditto.
13577
13578         * buffer.h (pop_tag): removed.
13579         (push_tag): removed.
13580
13581 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13582
13583         * language.h (Languages): added size_type and size().
13584
13585 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13586
13587         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13588         response on compability reading of minipages. One probliem is that
13589         the old usage of minipages was «flertydig»
13590
13591         * several files here and in subdirs: don't use static at file
13592         scope use anon namespaces instead.
13593
13594 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13595
13596         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13597         LaTeX output. This is necessary for Literate document
13598         processing.
13599
13600 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13601
13602         * buffer.C: insert hfill when needed.
13603
13604         * tabular.C (l_getline): use string::erase, small whitespace change.
13605
13606         * BufferView_pimpl.C: try the anon namespace.
13607         * WorkArea.C: ditto
13608
13609 2001-03-16  Juergen Vigna  <jug@sad.it>
13610
13611         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13612         otherwise it won't open options-dialogs.
13613
13614         * buffer.C: honor pextraWidth(p) on converting minipages.
13615
13616         * tabular.C (l_getline): changed the functions to strip trailing \r.
13617
13618 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13619
13620         * BufferView_pimpl.C:
13621         * minibuffer..C: added "using SigC::slot" declaration.
13622
13623 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13624
13625         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13626
13627         * text2.C: ditto
13628
13629         * text.C: ditto
13630
13631         * paragraph.C: ditto
13632
13633         * lyxtext.h: NO_PEXTRA
13634
13635         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13636
13637         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13638         * ParameterStruct.h: ditto
13639         * ParagraphParameters.h: ditto
13640         * lyxparagraph.h: ditto
13641
13642 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13643
13644         * buffer.C: add compability for minipage alignment.
13645         (latexParagraphs): remove unwanted pextra check.
13646
13647         * several files: remove CXX_WORKING_NAMESPACES
13648
13649         * buffer.C (pop_tag): tie is in namespace boost
13650
13651         * BufferView.h: noncopyable is in namespace boost
13652         * lyxlex.h: ditto
13653         * lyx_main.h: ditto
13654         * lyx_gui.h: ditto
13655         * layout.h: ditto
13656         * lastfiles.h: ditto
13657         * bufferlist.h: ditto
13658         * ShareContainer.h: ditto
13659         * LyXView.h: ditto
13660         * LyXAction.h: ditto
13661         * LaTeX.h: ditto
13662
13663 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13664
13665         * Merging changes from BRANCH_MVC back into HEAD.
13666
13667         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13668
13669 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13670
13671         * BufferView_pimpl.C: change from intl.C
13672
13673         * combox.h:
13674         * combox.C:
13675         * Makefile.am: move combox.*
13676
13677         * form1.h:
13678         * form1.C:
13679         * lyx_gui.C:
13680         * intl.h:
13681         * intl.C: remove dialog (covered by prefs)
13682
13683 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13684
13685         * lyxfunc.C (Dispatch): removed redundant break statement.
13686
13687 2001-03-14  Juergen Vigna  <jug@sad.it>
13688
13689         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13690
13691 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13692
13693         * buffer.C: add hack to fix compability reading of minipages.
13694
13695 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13696
13697         * buffer.C (getLists): Cleanup.
13698
13699 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13700
13701         * lyxfont.C (update): don't honor toggleall on font size.
13702
13703 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13704
13705         * bmtable.c:
13706         * bmtable.h:
13707         * Makefile.am: moved to frontends/xforms/
13708
13709         * lyx_gui_misc.C:
13710         * lyxfunc.C:
13711         * BufferView_pimpl.C: changes for moved mathpanel
13712
13713 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13714
13715         * gettext.h: fix gettext_init() in --disable-nls
13716
13717 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13718
13719         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13720
13721 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13722
13723         * lyx.C:
13724         * lyx.h: strip external form
13725
13726 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13727
13728         * BufferView_pimpl.C: add comment, destroySplash()
13729
13730 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13731
13732         * BufferView_pimpl.C:
13733         * LyXAction.C:
13734         * buffer.C:
13735         * commandtags.h:
13736         * lyxfunc.C: use re-worked insetinclude
13737
13738 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13739
13740         * buffer.C: add using std::stringstream.
13741
13742         * lyx_cb.C: readd using std::ios.
13743
13744         * buffer.C: add using std::map.
13745
13746         * BufferView_pimpl.C: add using std::vector.
13747
13748         * ShareContainer.h: add std:: to swap.
13749
13750         * buffer.h: add some typedefs
13751         * buffer.C (getLists): use them
13752         (getLists): renamed from getTocList.
13753         add a counter for the different float types and use it in the
13754         generated string.
13755         (getLists): use the same counter for the NEW_INSETS and the "non"
13756         NEW_INSETS
13757
13758         * lyx_cb.h: remove unused items, includes, using etc.
13759
13760         * ShareContainer.h: remove some commented code, add more comments
13761         and "documentation".
13762
13763 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13764
13765         * buffer.C (getTocList): make the list also when NEW_INSETS is
13766         defined.
13767
13768         * buffer.h: remove TocType
13769
13770         * buffer.C (getTocList): change to return a map<string,
13771         vector<TocItem> >, implement for dynamic number of list.
13772
13773         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13774         * text2.C (PasteSelection): adjust
13775         * CutAndPaste.C (pasteSelection): adjust
13776
13777         * FloatList.C (FloatList): update from the new_insets branch.
13778         * Floating.[Ch]: ditto
13779         * LaTeXFeatures.C: ditto
13780         * buffer.C: ditto
13781         * lyxlex_pimpl.C: ditto
13782
13783         * paragraph.C (Last): remove when NEW_INSETS is defined.
13784
13785         * other file: changes because of the above.
13786
13787 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13788
13789         * lyxparagraph.h: rename next to next_, previous to previous_,
13790         make them private for NEW_INSETS. Rename Next() to next(),
13791         Previous() to previous().
13792
13793         * other files: changes because of the above.
13794
13795 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13796
13797         * BufferView.h:
13798         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13799         problem.
13800
13801 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13802
13803         * main.C (main): pass lyx_localedir to gettext_init().
13804
13805         * gettext.h: remove locale_init and gettext_init macros
13806
13807         * gettext.C (locale_init): new function
13808         (gettext_init): new function
13809
13810         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13811         setlocale().
13812
13813 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13814
13815         * Moved credits to frontends:
13816         * credits.[Ch]: removed
13817         * credits_form.[Ch]: removed
13818         * lyx_gui_misc.C: remove credits stuff
13819         * Makefile.am:
13820
13821 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13822
13823         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13824
13825         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13826         unneeded destructor.
13827
13828         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13829         a standalone pointer again.
13830
13831         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13832
13833 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13834
13835         * Makefile.am:
13836         * filedlg.h:
13837         * filedlg.C:
13838         * LyXAction.C:
13839         * ToolbarDefaults.C:
13840         * bufferlist.C:
13841         * commandtags.h:
13842         * form1.C:
13843         * form1.h:
13844         * lyx_cb.C:
13845         * lyx_cb.h:
13846         * lyxfunc.h:
13847         * lyxfunc.C:
13848         * BufferView_pimpl.C: use new file dialog in GUII
13849
13850         * lyx_cb.h:
13851         * lyx_cb.C: remove LayoutsCB to Toolbar
13852
13853 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13854
13855         * ShareContainer.h (get): add std:: qualifier
13856
13857 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13858
13859         * ShareContainer.h: define a proper ShareContainer::value_type
13860         type (and use typename to please compaq cxx)
13861
13862 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13863
13864         * lyxparagraph.h: move serveral local vars to
13865         ParameterStruct/ParagraphParameters., use ShareContainer in
13866         FontTable., make vars in FontTable private and add getter and
13867         setter.
13868
13869         * paragraph.C: changes because of the above.
13870
13871         * lyxfont.h: remove copy constructor and copy assignment. (the
13872         default ones is ok), move number inside FontBits. move inlines to
13873         lyxfont.C
13874
13875         * lyxfont.C: add number to initializaton of statics, move several
13876         inlines here. constify several local vars. some whitespace
13877         cleanup. Dont hide outerscope variables.
13878
13879         * Spacing.h: add two new constructors to match the set methods.
13880
13881         * ShareContainer.h: new file, will perhaps be moved to support
13882
13883         * ParameterStruct.h: new file
13884
13885         * ParagraphParameters.h: new file
13886
13887         * ParagraphParameters.C: new file
13888
13889         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13890         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13891
13892         * BufferView_pimpl.C: ParagraphParameter changes.
13893         * buffer.C: Likewise.
13894         * bufferview_funcs.C: Likewise.
13895         * text.C: Likewise.
13896         * text2.C: Likewise.
13897
13898 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13899
13900         * lyxfind.C (LyXReplace): do not redefine default argument in
13901         implementation.
13902         (IsStringInText): ditto
13903         (SearchForward): ditto
13904         (SearchBackward): ditto
13905
13906 2001-03-06  Juergen Vigna  <jug@sad.it>
13907
13908         * lyxfind.C (IsStringInText): put parentes around expressions.
13909
13910 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13911
13912         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13913
13914 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13915
13916         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13917
13918         * stl_string_fwd.h: add comment
13919
13920         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13921
13922         * tabular.h:
13923         * tabular.C: remove unused DocBook methods
13924
13925         * intl.C:
13926         * language.C:
13927         * paragraph.C:
13928         * buffer.C:
13929         killed DO_USE_DEFAULT_LANGUAGE
13930
13931 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13932
13933         * lyx_gui.C: do not include language.h.
13934
13935         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13936         arguments in function implementation.
13937
13938 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13939
13940         * BufferView_pimpl.C: add <ctime>
13941
13942 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13943
13944         * BufferView_pimpl.C: add using std::find_if
13945
13946 2001-02-27  José Matos  <jamatos@fep.up.pt>
13947
13948         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13949         by OnlyPath.
13950
13951 2001-02-11  José Matos  <jamatos@fep.up.pt>
13952
13953         * buffer.C (makeDocBookFile): command styles now have a parameter as
13954         "title" by default.
13955
13956 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13957
13958         * layout_forms.[Ch]: removed
13959         * lyx_cb.[Ch]: out character
13960         * lyx_gui.C: out character
13961         * lyx_gui_misc.C: out character
13962         * bufferview_funcs.C: : out character,
13963         added toggleall as parameter in ToggleAndShow
13964
13965 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13966
13967         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13968
13969         * text2.C (SetCurrentFont): Disable number property at boundary.
13970
13971 2001-02-26  Juergen Vigna  <jug@sad.it>
13972
13973         * lyxfunc.C (getStatus): added a string argument override function so
13974         that this is correctly called from LyXFunc::Dispatch if it contains a
13975         do_not_use_argument which is used!
13976         (Dispatch): added check for "custom" export and call appropriate func.
13977
13978 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13979
13980         * lyxrc.C: Add language_command_local, language_use_babel and
13981         language_global_options.
13982
13983         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13984
13985         * buffer.C (makeLaTeXFile): Use language_use_babel and
13986         language_global_options.
13987
13988 2001-02-23  Juergen Vigna  <jug@sad.it>
13989
13990         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13991         which works with LyXText and putted it inside BufferView. Here now we
13992         only call for that part the BufferView::Dispatch() function.
13993
13994         * BufferView.C (Dispatch): added.
13995
13996         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13997         functions which needs to use a LyXText over from LyXFunc.
13998         (MenuInsertLyXFile): added
13999         (getInsetByCode): added
14000         (moveCursorUpdate): added
14001         (static TEXT): added
14002
14003 2001-02-22  Juergen Vigna  <jug@sad.it>
14004
14005         * BufferView_pimpl.C (update): call a status update to see if LyXText
14006         needs it.
14007
14008 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14009
14010         * vc-backend.C (revert): implement for CVS
14011         (getLog): implement for CVS
14012
14013 2001-02-20  Juergen Vigna  <jug@sad.it>
14014
14015         * text2.C (ClearSelection): added BufferView param for inset_owner call
14016
14017         * lyxfunc.C (TEXT): added this function and use it instead of
14018         directly owner->view()-text of getLyXText().
14019
14020 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14021
14022         * src/layout_forms.C: out preamble
14023         * src/layout_forms.h: out preamble
14024         * src/lyx_cb.C: out preamble
14025         * src/lyx_cb.h: out preamble
14026         * src/lyx_gui.C: out preamble
14027         * src/lyx_gui_misc.C: out preamble
14028         * src/lyxfunc.C: connect with guii preamble
14029
14030 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14031
14032         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14033
14034 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14035
14036         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14037         whether to run bibtex.
14038
14039 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14040
14041         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14042
14043 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14044
14045         * Makefile.am (lyx_SOURCES): removed bibforms.h
14046
14047         * vspace.h: doxygen
14048
14049         * text.C (GetVisibleRow): make several local vars const
14050
14051         * tabular.C: small cleanup.
14052
14053         * lyxserver.C (callback): use compare instead of strncmp
14054
14055         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14056         inlines to after class or to paragraph.C
14057
14058         * lyxfont.h: remove friend operator!=
14059
14060         * converter.h: move friend bool operator< to non friend and after
14061         class def.
14062
14063         * combox.h: small cleanup
14064
14065         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14066         to inlines after class def.
14067
14068         * buffer.C (pop_tag): use string operations instead of strcmp
14069
14070         * bmtable.c: doxygen, small cleanup
14071
14072         * LaTeX.h: remove friend operator==
14073
14074 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14075
14076         * screen.C:
14077         * lyxrc.[Ch]:
14078         * lyxfunc.C:
14079         * lyxfont.[Ch]:
14080         * lyx_cb.C:
14081         * intl.[Ch]:
14082         * commandtags.h:
14083         * buffer.C:
14084         * WorkArea.[Ch]:
14085         * LyXAction.C:
14086         * BufferView_pimpl.C:
14087         * BufferView.[Ch]: remove cruft
14088
14089 2001-02-14  Juergen Vigna  <jug@sad.it>
14090
14091         * lyxfunc.C: removed #if 0 unused code
14092
14093         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14094
14095         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14096
14097         * text2.C (SetSelection): added a BufferView * parameter
14098
14099 2001-02-13  Juergen Vigna  <jug@sad.it>
14100
14101         * lyxfunc.C (Dispatch): fixed protected blank problem.
14102         * BufferView2.C (protectedBlank): added LyxText * parameter.
14103
14104         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14105         (AppendColumn): same as above for column_info.
14106
14107         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14108         (moveCursorUpdate): use a LyXText param for support of InsetText.
14109
14110         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14111         (tripleClick): ditto
14112
14113         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14114
14115         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14116
14117         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14118
14119         * text2.C (SetSelection): set correct update status if inset_owner
14120         (ToggleFree): ditto
14121
14122 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14123
14124         * tabular.C: remove some commented code.
14125
14126 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14127
14128         * BufferView_pimpl.C: call hideSplash()
14129
14130         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14131
14132         * include_form.h:
14133         * bibforms.h: remove
14134
14135         * lyxfunc.C:
14136         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14137           add LFUN_CHILD_CREATE
14138
14139         * counters.h: fix tiny typo
14140
14141         * lyx_cb.C:
14142         * lyx.h:
14143         * lyx_gui.C:
14144         * lyx.C: move splash to frontends/xforms/
14145
14146         * lyx_gui_misc.C: move Include and Bibform to frontends
14147
14148         * lyxvc.h: clarify comment
14149
14150         * vspace.C: tiny housekeeping
14151
14152 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14153
14154         * text.C (PrepareToPrint): RTL Fix.
14155
14156         * paragraph.C (GetUChar): New method.
14157         (String):  Use GetUChar.
14158
14159         * buffer.C (asciiParagraph): Use GetUChar.
14160
14161 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14162
14163         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14164
14165 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14166
14167         * buffer.h:
14168         * buffer.C: rename to getLogName(), handle
14169           build log / latex log nicely
14170
14171 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14172
14173         * MenuBackend.C:
14174         * MenuBackend.h: remove support for reference menuitem type.
14175
14176 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14177
14178         * BufferView_pimpl.C: housekeeping
14179         * BufferView_pimpl.h:
14180         * LyXView.h:
14181         * Makefile.am:
14182         * Timeout.C:
14183         * Timeout.h:
14184         * minibuffer.h: move Timeout GUI-I
14185
14186 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14187
14188         * lyxrc.C (read): Update converters data-structures.
14189
14190 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14191
14192         * LaTeX.h (operator!=): add operator != for Aux_Info
14193
14194 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14195
14196         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14197
14198         * LaTeXLog.C: deleted, useful code moved to Buffer
14199
14200         * buffer.h:
14201         * buffer.C: new function getLatexLogName()
14202
14203         * lyx_gui_misc.C:
14204         * lyx_gui.C:
14205         * lyxvc.C:
14206         * lyxvc.h:
14207         * lyxfunc.C: use frontends for LaTeX and VC logs
14208
14209 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14210
14211         * LaTeX.h: yet another std:: that Allan forgot.
14212
14213         * Variables.C (set): renamed from isset(), because this clashes
14214         with some HP-UX macros (grr).
14215
14216 2001-02-06  Allan Rae  <rae@lyx.org>
14217
14218         * LaTeX.h: Another bug fix.  Missing std:: this time.
14219
14220 2001-02-04  Allan Rae  <rae@lyx.org>
14221
14222         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14223         floats problem. I've left it commented out because it's not quite
14224         correct.  It should also test that the current object is a table or
14225         figure inset.  But I haven't gotten around to figuring out how to do
14226         that.  I *think* it'll be something like: "table" == inset.type()
14227
14228         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14229         bool.
14230
14231 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14232
14233         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14234         all the citation/databases/styles in the auxilary file.
14235         (run): Rerun latex if there was a babel language error.
14236
14237 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14238
14239         * text.C (Backspace): Preserve the font when changing newline char
14240         with a space.
14241         (BreakParagraph): If the cursor is before a space, delete the space.
14242
14243         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14244
14245 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14246
14247         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14248         new argument (code).
14249         (ChangeCitationsIfUnique): New method.
14250
14251         * paragraph.C (GetPositionOfInset): Handle bibkey.
14252
14253 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14254
14255         * BufferView_pimpl.h: change type of Position::par_pos to
14256         LyXParagraph::size_type.
14257
14258 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14259
14260         * BufferView_pimpl.C (savePosition, restorePosition): Write
14261         messages to minibuffer.
14262
14263 2001-01-28  José Matos  <jamatos@fep.up.pt>
14264
14265         * buffer.C (makeDocBookFile): adds support for document language.
14266         A silly restriction on the name of LatexCommand types where removed.
14267         Added support for CDATA sections, allows to chars unescaped, used
14268         among others in code, to avoid escape < and >.
14269
14270 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14271
14272         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14273         saved positions instrad of a stack. Furthermore, a position is
14274         stored using paragraph id/paragraph position.
14275
14276         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14277         Remove LFUN_REF_BACK.
14278
14279 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14280
14281         * converter.C (dvipdfm_options): New method.
14282
14283 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14284
14285         * vspace.C (isValidLength): Fix for empty input string.
14286
14287 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14288
14289         * LyXAction.C (init): change description of LFUN_FIGURE to
14290         "Insert Graphics"
14291
14292 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14293
14294         * LaTeX.C: add using directive
14295
14296 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14297
14298         * MenuBackend.C (expand): Fix the sorting of the formats.
14299
14300 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14301
14302         * lyx_main.C: tiny error message fix
14303
14304 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14305
14306         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14307         calling fl_initialize(). This fixes the problem with ',' as
14308         decimal separator in text files.
14309
14310 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14311
14312         * trans.C (process): Fix the keymap bug.
14313
14314 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14315
14316         * LaTeX.C (scanAuxFiles): New method. Provides support for
14317         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14318         (scanLogFile) Scan for "run BibTeX" messages.
14319
14320         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14321         OT1 font encoding. Also, load the aecompl package if the ae
14322         package is loaded.
14323
14324         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14325
14326 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14327
14328         * texrow.C (increasePos): turn two error messages into debug
14329         messages.
14330
14331 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14332
14333         * LaTeX.C (scanAux): Handle the \@input macro.
14334         (runBibTeX): Use scanAux().
14335
14336         * language.C (latex_options_): New field.
14337
14338         * LaTeXFeatures.C (getMacros): Add language macros.
14339
14340         * buffer.C (makeLaTeXFile): Small fix.
14341
14342 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14343
14344         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14345
14346         * text2.C: add a using directive.
14347
14348 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14349
14350         * BufferView2.C:
14351         * lyx_gui_misc.h:
14352         * lyxfr1.C:
14353         * lyxfunc.C: kill LyXBell.
14354
14355 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14356
14357         * text.C (IsBoundary): Remove the error message
14358
14359         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14360
14361         * lyxrc.C (setDefaults): Correct initialization value for
14362         font_norm_type.
14363
14364 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14365
14366         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14367         gotoError().
14368
14369         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14370         and GotoNextNote().
14371
14372         * src/LyXAction.C: Added reference-next.
14373
14374         * text.C (InsertChar): Use contains instead of strchr.
14375
14376         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14377
14378 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14379
14380         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14381         alignment commands (when needed).
14382
14383         * text.C (InsertChar): Add ':' to number separator chars.