]> git.lyx.org Git - features.git/blob - src/ChangeLog
ecd51ccce02e7ef58c75405a29e8f048220999ac
[features.git] / src / ChangeLog
1 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * BranchList.h: move the BranchNamesEqual functor here from...
4         * BranchList.C: ... to here
5
6         * BranchList.C: new BranchListEqual fuctor, use it. Remove
7         SameName and match.
8         (add): replace a finding loop with std::find_if.
9
10 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
11
12         * output_docbook.C: moving LatexParam functionality into
13         .layout files
14
15 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
16
17         * buffer.C: increment format to 229.
18
19 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
20
21         * LaTeXFeatures.C:
22         * lyx_sty.[Ch]: remove minipageindent_def
23
24         * LyXAction.C:
25         * factory.C:
26         * lfuns.h:
27         * lyxfunc.C:
28         * text3.C: remove LFUN_INSET_MINIPAGE
29
30 2003-12-28  Angus Leeming  <leeming@lyx.org>
31
32         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
33
34 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
35
36         * text2.C (setParagraph): fix off-by-one crash
37
38 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
39
40         * output_docbook.C: header stuff for AGU
41
42 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
43
44         * text2.C (redoCursor): remove
45         * text.C:
46         * text3.C:
47         * BufferView_pimpl.C: remove calls to redoCursor and
48         setCursor(cursor.par(), cursor.pos()) all around
49
50 2003-12-15  Angus Leeming  <leeming@lyx.org>
51
52         * buffer.C: up the format to 228.
53
54 2003-12-15  André Pönitz  <poenitz@gmx.net>
55
56         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
57         slices
58
59         * Makefile.am:
60
61         * BufferView_pimpl.C:
62         * cursor.[Ch]:
63         * lyxcursor.[Ch]:
64         * rowpainter.[Ch]:
65         * lyxtext.h:
66         * text.C:
67         * text2.C:
68         * text3.C: adjust
69
70 2003-12-15  Angus Leeming  <leeming@lyx.org>
71
72         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
73         than getFromGUIName to manipulate the color.
74
75 2003-12-14  Angus Leeming  <leeming@lyx.org>
76
77         * BranchList.[Ch]: minimize the API.
78         (Branch::getBranch, getColor): now return a 'const &'.
79         (Branch::setSelected) now returns a bool set to true if the
80         selection status changes.
81         (BranchList::clear, size, getColor, setColor, setSelected,
82         allBranches, allSelected, separator): removed.
83         (BranchList::find): new functions, returning the Branch with
84         the given name.
85         (BranchList::add, remove): return a bool indicating that
86         the operation was successful.
87
88         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
89         new InsetBranch::isBranchSlected member function.
90
91         * LColor.[Ch]: mimimize the API.
92         (fill): renamed as addColor and made private.
93         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
94         versions of these functions taking a string arg have been removed.
95
96         * bufferparams.C (readToken):
97         * lyxfunc.C (dispatch):
98         * lyxrc.C (read): changes due to the altered BranchList and
99         LColor APIs.
100
101         * factory.C (createInset, readInset): changes due to altered
102         InsetBranch c-tor.
103
104 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
105
106         * factory.C:
107         * lyxfunc.C: remove insetminipage. "minipage-insert"
108         now produces a frameless minipage box inset.
109
110 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
111
112         * textcursor.[Ch] (selStart,selEnd): add new methods
113         remove selection::start, end, use LyXCursor::operator<
114         * lyxcursor.[Ch] (operator<): add
115         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
116         * BufferView.[Ch] (unsetXSel): add
117         * text2.C (clearSelection): use unsetXSel,adjust
118         * text.C: adjust
119         * text3.C: adjust
120         * rowpainter.C: adjust
121         * bufferview_funcs.C (put_selection_at): adjust
122
123 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
124
125         * BufferView_pimpl.C: small coord. correction
126
127 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
128
129         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
130         dragging over the splash screen.
131
132 2003-12-11  Angus Leeming  <leeming@lyx.org>
133
134         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
135         as it is now handled in LyXText::dispatch.
136
137         * text3.C (doInsertInset): remove a level of nesting.
138
139 2003-12-11  Angus Leeming  <leeming@lyx.org>
140
141         * factory.C (createInset): changes due to the changed interface to
142         InsetCommandMailer::string2params.
143
144 2003-12-10  Angus Leeming  <leeming@lyx.org>
145
146         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
147         'dialog-show-new-inset <inset name>'
148
149 2003-12-10  Angus Leeming  <leeming@lyx.org>
150
151         * buffer.C: up the format to 227.
152
153         * factory.C: the box inset is now identified simply by 'Box'.
154
155 2003-12-10  Angus Leeming  <leeming@lyx.org>
156
157         * buffer.C: up the format to 226.
158
159         * factory.C: the note inset is now identified simply by 'Note'.
160
161 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
162
163         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
164         when a pit is enough. Standarize a couple of loops.
165
166 2003-12-05  Angus Leeming  <leeming@lyx.org>
167
168         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
169         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
170         data to the re-worked "log" dialog.
171
172 2003-12-03  André Pönitz  <poenitz@gmx.net>
173
174         * PosIterator.C:
175         * iterators.C:
176         * lyxtext.h:
177         * output_latex.C:
178         * paragraph_funcs.C:
179         * text.C:
180         * text2.C: use Inset::getText instead of Inset::getParagraph
181
182 2003-12-03  André Pönitz  <poenitz@gmx.net>
183
184         * buffer.[Ch]:
185         * lyxtext.h:
186         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
187         InsetText::read() as LyXText::read()
188
189 2003-12-02  Angus Leeming  <leeming@lyx.org>
190
191         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
192         type. Add a comment in the implementation that the function uses
193         the stream's bad() function rather than fail() as the std::streams
194         would do.
195
196 2003-12-02  André Pönitz  <poenitz@gmx.net>
197
198         * lyxlex.[Ch]: make interface more similar to std::stream
199
200         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
201
202 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
203
204         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
205
206 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
207
208         * vspace.[Ch]: remove VSpace::NONE
209
210 2003-12-01  André Pönitz  <poenitz@gmx.net>
211
212         * buffer.[Ch]:
213         * lyxtext.h: move ParagraphList member to LyXText
214         rename LyXText::ownerParagraphs to LyXText::paragraph
215
216         * CutAndPaste.C:
217         * bufferview_funcs.C:
218         * iterators.[Ch]:
219         * lyx_cb.C:
220         * paragraph.C:
221         * rowpainter.C:
222         * tabular.C:
223         * text.C:
224         * text2.C:
225         * text3.C: adjust
226
227         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
228
229         * undo.C: fix cursor positioning
230
231 2003-12-01  John Levon  <levon@movementarian.org>
232
233         * BufferView_pimpl.C: fix a crash on exit with
234         a buffer open
235
236 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
237
238         * BranchList.C: fix setSelected() method.
239
240 2003-11-28  André Pönitz  <poenitz@gmx.net>
241
242         * ParagraphParameters.[Ch]:
243         * ParameterStruct.h: remove space above/below from Paragraph to
244          InsetVSpace
245
246         * BufferView_pimpl.C:
247         * factory.C:
248         * lyxfunc.C:
249         * lyxtext.h:
250         * output_latex.C:
251         * paragraph.C:
252         * paragraph_funcs.C:
253         * rowpainter.[Ch]:
254         * text.C:
255         * text2.C:
256         * text3.C: adjust
257
258 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
259
260         * factory.C: Syntax change for CharStyles
261
262 2003-11-28  André Pönitz  <poenitz@gmx.net>
263
264         * BufferView.[Ch]:
265         * BufferView.[Ch]:
266         * buffer.[Ch]:
267         * buffer.[Ch]: move LyXText member
268
269 2003-11-28  André Pönitz  <poenitz@gmx.net>
270
271         * BufferView.[Ch]: make LyXText * text a private member
272
273         * BufferView_pimpl.C:
274         * cursor.C:
275         * iterators.C:
276         * lyx_cb.C:
277         * lyxfind.C:
278         * lyxtext.h:
279         * rowpainter.[Ch]:
280         * text.C:
281         * text2.C:
282         * undo.C: adjust
283
284         * output_plaintext.C: cleanup
285
286 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
287
288         * buffer.C:
289         * lyxtextclass.[Ch]: parametrize SGML document header
290
291 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
292
293         * converter.[Ch]:
294         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
295         getFlavor().
296
297 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
298
299         * text2.C (setFont): rework using PosIterator (no more recursive)
300         (setCharFont): no more needed
301         (setLayout): no more selection cursors fiddling (done by redoCursor)
302         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
303         destroy remaining ones)
304
305 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
306
307         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
308         * lyxtext.h: ditto
309         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
310         selection cursors
311         * lyxfunc.C: adjust
312         * text3.C: adjust + re-allow multi par depth changes
313         * textcursor.C: simplify a bit
314
315 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
316
317         * src/buffer.C:
318         * src/lyxlayout.C:
319         * src/lyxlayout.h:
320         * src/lyxtext.h:
321         * src/output_docbook.C:
322         * src/output_latex.C:
323         * src/paragraph.C:
324         * src/paragraph.h:
325         * src/sgml.C:
326         * src/sgml.h:
327         * src/text2.C: Introducing a number of tags parametrizing various
328         XML formats that we may want to support
329
330 2003-11-25  André Pönitz  <poenitz@gmx.net>
331
332         * InsetList.[Ch] (begein, end): inline as suggested by profiler
333
334         * lyxtext.h (leftMargin/rightMargin): simplify interface
335
336         * rowpainter.C:
337         * text.C:
338         * text2.C:
339         * text3.C: adjust
340
341 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
342
343         * lyxfunc.C (dispatch): propogate the bibtex databases from the
344         master file to any child files. Fixes bug 546.
345
346 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
347
348         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
349
350 2003-11-24  André Pönitz  <poenitz@gmx.net>
351
352         * rowpainter.C: simplification
353
354         * text2.C (updateCounters): remove call to redoParagraph on
355         changed labels as this is far too expensive.
356
357 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
358
359         * converter.C (convert): fix a crash: this function gets
360         called with buffer == 0 from importer code.
361
362 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
363
364         * text3.C (cursorPrevious): make sure that we do not compare
365         iterators form different containers.
366         (cursorNext): ditto
367
368         * rowpainter.C (paintSelection): make sure that we do not compare
369         iterators from different containers.
370
371         * text3.C (dispatch): [PRIOR] make sure that we do not compare
372         iterators from different ParagraphList containers.
373         [NEXT] ditto
374
375         * text2.C (LyXText): change order of initialization slightly
376         (operator=): new function. copy all variables except cache_par_
377         (moveUp): make sure that we do not compare iterators from
378         different ParagraphList constainers.
379         (moveDown): ditto
380
381         * text.C (firstPar): new function
382         (lastPar): new function
383         (endPar): new function
384
385         * lyxtext.h: move things around and group public functions, public
386         variables, private functions, private variables
387
388 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
389
390         * factory.C: change call to InsetERT constructor to avoid
391         additional invocation of method status
392         * text2.C (toggleInset): remove redundant update() call
393         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
394         instead of a Bufferview pointer
395
396 2003-11-21  André Pönitz  <poenitz@gmx.net>
397
398         * rowpainter.C: simplification
399
400 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
401
402         * text3.C (dispatch): make possible to extend a word/row selection
403         with the mouse
404
405 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
406
407         * lyxtext.h: x0_,y0_ -> xo_,yo_
408         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
409         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
410         * rowpainter.C (paintRows): paint full paragraphs
411
412 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
413
414         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
415         screen coordinates)
416
417 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
418
419         * lyxtext.h: add x0_, y0_
420         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
421         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
422
423 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
424
425         * text2.C (setCursorIntern): move the x_target update here *
426         * text3.C: change some bv() to true/false in calls to
427         cursorUp/Down/Right/Left
428         * cursor.C: use helper function.
429
430 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
431
432         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
433         * paragraph_funcs.[Ch]: correct comment
434         * rowpainter.C: do not paint selections away from bv->cursor()
435         Fix a long standing selection painting bug.
436         * text3.C: generalize mouse-selection code to LyXTexts other that
437         top one
438         * textcursor.C: do not use y coords if we can use par offsets
439
440 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
441
442         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
443         cursor position after e.g. inset insert)
444
445 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
446
447         * lyxfind.C (replace): adjust to locking removal + some
448         code simplification
449
450 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
451
452         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
453         of the path
454
455 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
456
457         * lyxlayout.[Ch]:
458         * output_docbook.C: XML sanitation: new layout
459         parameters InnerTag and CommandDepth
460
461 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
462
463         * BufferView_pimpl.C:
464         * factory.C:
465         * text3.C: Fix the insertion and modification of button-style
466         insets
467
468 2003-11-13  André Pönitz  <poenitz@gmx.net>
469
470         * InsetList.[Ch]: remove deleteLyXText
471
472         * paragraph.[Ch]: cache beginOfBody position
473
474         * Bidi.C:
475         * text.C:
476         * text2.C:
477         * text3.C: remove superfluous update() calls
478
479         * vspace.C: cleanup
480
481 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
482
483         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
484         * BufferView.C (fitLockedInsetCursor): remove
485         * cursor.[Ch] (getDim): add
486         * text.C (getRowNearY): add faster version
487         * text3.C: remove some update calls
488
489 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
490
491         * LaTeXFeatures.C:
492         * LyXAction.C:
493         * MenuBackend.C:
494         * MenuBackend.h:
495         * dispatchresult.h:
496         * factory.C:
497         * lfuns.h:
498         * lyxfunc.C:
499         * lyxtextclass.C:
500         * lyxtextclass.h:
501         * text3.C: The Character Style /XML short element patch.
502
503 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
504
505         * text3.C:
506         * factory.C: Small step to solving 'unable to insert some insets'
507         problem
508
509 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
510
511         * cursor.[Ch] (updatePos): new function for updating the y
512         position of the tip inset
513         * bufferview_funcs.C (put_selection_at):
514         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
515
516 2003-11-11  André Pönitz  <poenitz@gmx.net>
517
518         * text.C: remove big comment on invalid Paragraph pointers as it is
519         not valid anymore
520
521 2003-11-11  André Pönitz  <poenitz@gmx.net>
522
523         * text_funcs.[Ch]: merge with ...
524
525         * text.C: ... this
526
527         * lyxtext.h:
528         * text2.C:
529         * text3.C: adjust
530
531         * Makefile.am: remove text_funcs.[Ch]
532
533 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
534
535         * cursor.C (getPos): return absolute cached y coord
536
537         * BufferView_pimpl.C (fitCursor): new simplistic code
538         (workAreaDispatch): add a fitCursor call
539
540 2003-11-10  André Pönitz  <poenitz@gmx.net>
541
542         * BufferView.[Ch]:
543         * BufferView_pimpl.[Ch]: merge update() and updateInset()
544
545 2003-11-10  André Pönitz  <poenitz@gmx.net>
546
547         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
548         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
549         indicate that the cursor needs to leave an inset
550
551         * lyxtext.h: remove inset locking
552
553         * cursor.[Ch]: re-implement functionality provided by inset locking
554
555         * BufferView.[Ch]:
556         * BufferView_pimpl.[Ch]:
557         * LyXAction.C:
558         * bufferview_funcs.[Ch]:
559         * factory.C:
560         * funcrequest.[Ch]:
561         * iterators.C:
562         * lyx_cb.C:
563         * lyxfind.C:
564         * lyxfunc.C:
565         * text.C:
566         * text2.C:
567         * text3.C:
568         * undo.C: adjust
569
570 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
571
572         * PosIterator.[Ch]: replace the stack with a vector, add inset
573         accesor
574         * iterators.[C]: adjust
575
576 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
577
578         * lyxfind.C (replaceAll): mark the buffer dirty if something was
579         replaced
580         * paragraph_funcs.C (readParToken): put the correct id in the
581         error item, not the id of the top paragraph
582
583 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
584
585         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
586         * bufferview_funcs.C (put_selection_at): use the above
587
588 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
589
590         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
591
592 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
593
594         * output_linuxdoc.h:
595         * output_plaintext.h:
596         * output.h:
597         * output_docbook.h: add #include statements
598
599 2003-11-05  José Matos  <jamatos@lyx.org>
600
601         * output_docbook.[Ch]:
602         * output_latex.[Ch]:
603         * output_linuxdoc.[Ch]:
604         * output_plaintext.[Ch]: New files for output formats.
605         * output.[Ch]: New file for helper functions.
606
607         * buffer.[Ch]:
608         * paragraph_funcs.[Ch]: output functions moved to new files.
609
610         * outputparams.h: rename of latexrunparams.h
611
612         * LaTeX.[Ch]:
613         * buffer.[Ch]:
614         * bufferlist.[Ch]:
615         * converter.[Ch]:
616         * exporter.C:
617         * paragraph.[Ch]:
618         * paragraph_funcs.[Ch]:
619         * paragraph_pimpl.[Ch]:
620         * tabular.[Ch]: rename ascii to plaintext
621         and LatexRunParams to OutputParams.
622
623 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
624
625         * iterators.[Ch] (text): require bv argument
626         * undo.C (recordUndo):
627         * lyxfunc.C (dispatch):
628         * bufferview_funcs.C (put_selection_at): adjust
629
630 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
631
632         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
633
634 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
635
636         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
637         nestings
638
639 2003-11-04  André Pönitz  <poenitz@gmx.net>
640
641         * cursor.[Ch]: restructure
642
643         * BufferView.[Ch]:
644         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
645
646         * iterators.[Ch] (asCursor): remove
647
648         * lfuns.h: remove LFUN_INSET_EDIT
649
650         * lyxfunc.C:
651         * tabular.C:
652         * text.C:
653         * text2.C:
654         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
655
656 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
657
658         * lyxfind.[Ch]: complete overhaul
659         * BufferView_pimpl.C:
660         * lyxfunc.C: adjust
661         * paragraph.[Ch] (insert): add
662
663 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
664
665         * BufferView.[Ch]:
666         * lyxtext.h:
667         * text.C: remove dead spellcheck code
668
669 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
670
671         * dispatchresult.h: add a val setter
672
673         * cursor.C (dispatch): use a tempvar for data_[i]
674
675 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
676
677         * PosIterator.[Ch]: compile fix
678
679 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
680
681         * text.C (cursorPar): deactivate the cursor cache
682
683 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
684
685         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
686
687 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
688
689         * text3.C (dispatch): adjust for new DisptchResult semantics.
690
691         * lyxfunc.C (dispatch): handle update when return from
692         Cursor::dispatch, adjust for new DispatchResult semantics.
693
694         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
695         DispatchResult(true) mean to not update. Add class functions for
696         setting dispatched and update, as well as reading.
697
698         * cursor.C (dispatch): don't handle update here
699
700 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
701
702         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
703         * trans_mgr.C: adjust
704
705         * paragraph_funcs.C (readParToken): exception safety
706
707         * lyxvc.h: store the vcs pointer in a scoped_ptr
708         * lyxvc.C: adjust
709
710         * lyxsocket.C (serverCallback): exception safety
711
712         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
713
714         * ispell.C (clone): make it return a auto_ptr
715
716         * factory.C (createInset): exception safety
717         (readInset): exception safety
718
719         * bufferlist.C (newBuffer): exception safety
720
721         * Thesaurus.C (Thesaurus): use initialization for aik_
722
723         * MenuBackend.C (expandToc): exception safety.
724
725 2003-11-03  André Pönitz  <poenitz@gmx.net>
726
727         * buffer.C:
728         * buffer.h:
729         * bufferview_funcs.C: remove getInsetFromId()
730
731         * lyxcursor.[Ch]:
732         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
733
734         * lyxfunc.C:
735         * text2.C:
736         * text3.C: adjust
737
738 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
739
740         * PosIterator.C (distance, advance): new
741         * bufferview_funcs.[Ch] (put_selection_at): new
742         * iterators.[Ch] (lockPath): new
743
744 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
745
746         * iterators.[Ch] (asPosIterator): added
747         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
748         * PosIterator.[Ch]: added
749
750 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
751
752         * text3.C:
753         * lyxfunc.C:
754         * cursor.C (dispatch):
755         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
756
757         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
758         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
759         contructor, add a class function dispatched. Remove operator>=
760
761 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
762
763         * debug.C: only use the default constructor for debugstream
764         (lyxerr) here.
765
766         * main.C (main): include debug.h and setup the lyxerr streambuf
767         here.
768
769 2003-10-31  José Matos  <jamatos@lyx.org>
770
771         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
772
773         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
774         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
775         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
776         * paragraph_pimpl.C (simpleTeXSpecialC):
777         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
778         add LatexRunParams argument.
779
780         * exporter.C (Export): change call accordingly.
781
782         * latexrunparams.h: add new member to take care of the other backends.
783 2003-10-30  José Matos  <jamatos@lyx.org>
784
785         * buffer.C (makeLinuxDocFile, makeDocBookFile):
786         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
787         factorise code for paragraph output.
788         * buffer.[Ch]:
789         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
790         move functions.
791
792 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
793
794         * text3.C (dispatch):
795         * lyxfunc.C (dispatch):
796         * cursor.C (dispatch):
797         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
798
799         * dispatchresult.h: make the dispatch_result_t ctor explicit
800
801 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
802
803         * sgml.[Ch]:
804         * buffer.C: small refactoring of docbook stuff
805
806 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
807
808         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
809         meaning.
810
811 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
812
813         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
814         operator dispatch_result_t, and operators for == != and >=
815
816         * cursor.C (dispatch): adjust for operator dispatch_result_t
817         removal. comment out call to update
818
819         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
820
821 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
822
823         * text3.C:
824         * text2.C:
825         * text.C:
826         * lyxtext.h:
827         * lyxfunc.C:
828         * cursor.C:
829         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
830         (dispatch):
831
832         * dispatchresult.h: new file, DispatchResult broken out of
833         insets/insetbase.h
834
835         * Makefile.am (lyx_SOURCES): add dispatchresult.h
836
837 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
838
839         * text.C (rowBreakPoint): put a hack inside #if 0
840
841 2003-10-28  André Pönitz  <poenitz@gmx.net>
842
843         * lyxtext.h:
844         * metricsinfo.C:
845         * paragraph_funcs.C:
846         * rowpainter.C:
847         * text.C:
848         * text2.C: general cleanup (lots of small stuff)
849
850 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
851
852         * text2.C (cursorEnd): simple fix to the "end key goes to one
853         before the end on last row" bug
854
855 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
856
857         * text.C (backspace): fix the "zombie characters"
858
859 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
860
861         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
862
863 2003-10-27  André Pönitz  <poenitz@gmx.net>
864
865         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
866
867         * factory.C: handle new InsetPagebreak, InsetLine
868
869         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
870         and move handling into new InsetPagebreak, InsetLine
871
872         * BufferView_pimpl.C:
873         * LyXAction.C:
874         * ParagraphParameters.C:
875         * ParameterStruct.h:
876         * lyxfunc.C:
877         * lyxtext.h:
878         * paragraph.C:
879         * paragraph.h:
880         * paragraph_funcs.C:
881         * paragraph_pimpl.C:
882         * rowpainter.C:
883         * text.C:
884         * text2.C:
885         * text3.C: adjust
886
887 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
888
889         * text.C:
890         * lyxrow_funcs.[Ch]:
891         * Bidi.C:
892         * paragraph.C:
893         * lyxtext.h:
894         * rowpainter.C:
895         * text2.C:
896         * text3.C: remove lastPos uses in favour of Row::endpos
897
898 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
899
900         * undo.C (performUndoOrRedo): fix two crashes by setting a
901         cursor by hand and reordering some calls. Use bv->lockInset instead
902         of inset->edit because the latter loses cursor information
903
904 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
905
906         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
907         by Martin
908         (rowBreakPoint): fix width. change point to point + 1.
909         Add a missing check.
910
911 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
912
913         * MenuBackend.C:
914         * lyxfunc.C: fix (at least partly) the problems
915         with the Nav menu and headers inside branch insets
916         reported by Kayvan
917
918 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
919
920         * paragraph.C (getChar): add strong asserts
921
922         * lyxrow_funcs.C (lastPos): remove hideous hack
923
924         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
925         (fill): adjust to that (avoid an infinite loop)
926
927 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
928
929         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
930
931 2003-10-23  André Pönitz  <poenitz@gmx.net>
932
933         * RowList_fwd.h: change list<> to vector<> to gain speed
934         after suggestion from Alfredo
935
936 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
937
938         * lyxtext.h: move the bidi stuff from here...
939         * text.C: and here
940         * text2.C: and here
941         * Bidi.[Ch]: ... to here
942
943 2003-10-23  André Pönitz  <poenitz@gmx.net>
944
945         * lyxtext.h:
946         * text.C (isLastRow, isFirstRow): new functions
947
948         * paragraph.h: new width cache member
949
950         * rowpainter.C: replace RowList::iterator with Row & where possible
951
952         * lyxfunc.C: replace several view()->text with a single call
953
954         * toc.C: fix 'unused' warning
955
956 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
957
958         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
959         when woring with stream::pos_type
960         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
961
962 2003-10-22  André Pönitz  <poenitz@gmx.net>
963
964         * lyxtext.h:
965         * text.C: use Row & instead of RowList::iterator
966
967         * lyxrow.h: rename end() to endpos()
968
969         * rowpainter.C:
970         * text.C:
971         * text2.C: adjust
972
973 2003-10-22  Angus Leeming  <leeming@lyx.org>
974
975         * buffer.[Ch] (fully_loaded): new member function, returning true
976         only when the file has been loaded fully.
977         Used to prevent the premature generation of previews and by the
978         citation inset to prevent computation of the natbib-style label.
979
980         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
981         templates are all set up.
982
983         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
984
985 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
986
987         * text.C: fixed an "oops" in the "is a bit silly"
988         bug fix
989
990 2003-10-21  André Pönitz  <poenitz@gmx.net>
991
992         * FuncStatus.[Ch]: small stuff, whitespace
993
994         * lyxfont.[Ch]: operator<<() for debug reasons
995
996         * lyxfunc.C:
997         * lyxrow_funcs.C:
998         * lyxtext.h: whitespace, spelling
999
1000         * paragraph.C: naming of variables
1001
1002         * text.C:
1003         * text2.C: small stuff
1004
1005
1006 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1007
1008         * text.C: (1) finish off the inset display() work;
1009         (2) fix the "is a bit silly" bug (accessing char
1010         past end of par).
1011
1012 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1013
1014         * text.C: re-introduce display() for insets, fixing the
1015         various bugs (stretch of line above, math inset
1016         positioning, ...)
1017
1018 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1019
1020         * text.C (rightMargin): remove spurious semicolon
1021
1022         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1023         1415)
1024
1025 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1026
1027         * text3.C: fix one crash due to wrong cursor def
1028
1029 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1030
1031         * vc-backend.C (scanMaster): make the regex static
1032
1033         * LaTeX.C (scanAuxFile): make the regexs static
1034
1035         * text3.C (doInsertInset, dispatch, dispatch):
1036         * text2.C (cursorUp, cursorDown):
1037         * text.C (selectNextWordToSpellcheck):
1038         * BufferView_pimpl.C (dispatch):
1039         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1040
1041 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1042
1043         * lyxsocket.C: include <cerrno>
1044
1045 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1046
1047         * lyxfunc.C (dispatch): remove textcache stuff
1048
1049         * bufferlist.C (release): remove textcache stuff
1050         (closeAll): ditto
1051
1052         * TextCache.C: delete file
1053         * TextCache.h: delete file
1054
1055         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1056
1057         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1058         delete of the bv_->text.
1059         (resizeCurrentBuffer): remove texcache stuff
1060         (workAreaResize): ditto
1061
1062 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1063
1064         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1065         action.
1066
1067 2003-10-16  André Pönitz  <poenitz@gmx.net>
1068
1069         * lyxrow.[Ch]:
1070         * paragraph.h:
1071         * rowpainter.C:
1072         * text.C:
1073         * text2.C:
1074         * text3.C: speed up by storing y positions per paragraph plus per-row
1075         offset instead of having a 'full' y position in the row.
1076
1077 2003-10-15  André Pönitz  <poenitz@gmx.net>
1078
1079         * iterators.[Ch]:
1080         * iterators.[Ch]:
1081         * undo.[Ch]: make undo aware of inner insets
1082
1083 2003-10-14  Angus Leeming  <leeming@lyx.org>
1084
1085         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1086         static member functions LyX::ref() and LyX::cref.
1087         (lastfiles): new accessor functions for the new lastfiles_ member var.
1088         (addLyXView, views_): add a new LyXView to the list of views_.
1089         (updateInset): loop over all LyXViews to call their own updateInset
1090         member function, returning a pointer to the Buffer owning the inset.
1091
1092         * BufferView_pimpl.C (loadLyXFile):
1093         * MenuBackend.C (expandLastfiles):
1094         * bufferlist.C (MenuWrite, QuitLyX):
1095         lastfiles is no longer a global variable.
1096         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1097
1098         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1099         static function. Access through LyX::cref().emergencyCleanup().
1100
1101 2003-10-14  André Pönitz  <poenitz@gmx.net>
1102
1103         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1104
1105         * undo.[Ch]: restoring part of 'undo in insets'
1106
1107         * Makefile.am:
1108         * undo_funcs.[Ch]: merge with undo.[Ch]
1109
1110         * tabular.C: small cleansing stuff
1111
1112 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1113
1114         * paragraph_funcs.C (readParToken): report unknown insets as error
1115         boxes. Use the outer paragraph as location (also for unknown
1116         tokens).
1117
1118         * factory.C (readInset): do not abort on reading an unknown inset.
1119         Eat it and return 0.
1120
1121 2003-10-13  Angus Leeming  <leeming@lyx.org>
1122
1123         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1124
1125         * lyxrc.C: displayTranslator is now a function,
1126         declared in GraphicsTypes.h.
1127
1128 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1129
1130         * format.C: new placeholder $$a to pass the socket address.
1131
1132         * bufferlist.[Ch]: new function getBufferFromTmp.
1133
1134         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1135           files in the temporary dir.
1136
1137 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1138
1139         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1140
1141         * Makefile.am: add lyxsocket.[Ch].
1142
1143         * lyx_main.C (error_handler): handle SIGPIPE.
1144
1145 2003-10-13  André Pönitz  <poenitz@gmx.net>
1146
1147         * BufferView_pimpl.C:
1148         * lyxtext.h:
1149         * text.C:
1150         * text2.C:
1151         * text3.C:
1152         * undo_funcs.[Ch]: use paroffset_type instead of
1153           ParagraphList::iterators to prevent multiple conversion
1154           (and get a more robust interface)
1155
1156 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1157
1158         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1159         * lyxtext.h: ditto
1160         * text3.C (dispatch): ditto
1161
1162 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1163
1164         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1165         move the onlyfile, use onlyfile instead of foundfile in a couple
1166         of places.
1167
1168         * DepTable.C (update): flush the error stream a bit more
1169
1170 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1171
1172         * lyxserver.C (callback): adjust
1173
1174         * lyxfunc.C (getStatus): add a missing brace in commented code
1175         (ensureBufferClean): reindent
1176         (dispatch): delete version taking a string
1177
1178 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1179
1180         * LaTeX.C (deplog): move found file handlig from here...
1181         (handleFoundFile): .. to new function here.
1182         (deplog): make sure to discover several files mentioned on the
1183         same log line.
1184
1185 2003-10-10  André Pönitz  <poenitz@gmx.net>
1186
1187         * lyxfunc.C:
1188         * lyxtext.h:
1189         * tabular.C:
1190         * text.C:
1191         * text2.C:
1192         * text3.C: fix some of the tabular crashes
1193
1194 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1195
1196         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1197
1198         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1199
1200 2003-10-09  André Pönitz  <poenitz@gmx.net>
1201
1202         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1203
1204         * BufferView.C:
1205         * BufferView_pimpl.C:
1206         * bufferview_funcs.C:
1207         * lyx_cb.C:
1208         * lyxcursor.C:
1209         * lyxfind.C:
1210         * lyxfunc.C:
1211         * lyxtext.h:
1212         * text.C:
1213         * text2.C:
1214         * text3.C:
1215         * text_funcs.[Ch]:
1216         * textcursor.[Ch]:
1217         * undo_funcs.C: adjust
1218
1219 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1220
1221         * text2.C (incrementItemDepth): new function, use a backtracking
1222         algorithm to discover the correct item depth.
1223         (resetEnumCounterIfNeeded): new function, use a backtracking
1224         algorithm to discover if counter reset is needed.
1225         (setCounter): use them. Simplify a bit. Add different labels for
1226         different item depths for itemize.
1227
1228         * paragraph.C (Paragraph): remove initialization of enumdepth
1229         (operator=): ditto
1230
1231         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1232         enumerate and itemize. Change the type of itemdepth to signed char.
1233
1234 2003-10-08  André Pönitz  <poenitz@gmx.net>
1235
1236         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1237           thing assignable.
1238         * text.C:
1239         * text2.C: adjust
1240
1241         * tabular.[Ch]: fix crash after 'row-insert'
1242
1243 2003-10-08  Angus Leeming  <leeming@lyx.org>
1244
1245         Fix doxygen warnings.
1246
1247         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1248         Remove CutAndPaste:: prefix from header file declaration.
1249
1250         * LColor.h (fill): remove LColor:: prefix from declaration.
1251
1252         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1253         use lyx::depth_type rather than Paragraph::depth_type so that
1254         header file and .C file match.
1255
1256         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1257
1258         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1259         * aspell.C: \file aspell_local.C -> \file aspell.C
1260         * gettext.C: \file gettext.C -> \file src/gettext.C
1261         * gettext.h: \file gettext.h -> \file src/gettext.h
1262         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1263         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1264         * text.C: \file text.C -> \file src/text.C
1265
1266         * toc.C: move comment so that doxygen is not confused.
1267
1268 2003-10-07  Angus Leeming  <leeming@lyx.org>
1269
1270         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1271
1272 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1273
1274         * aspell.C:
1275         * aspell_local.h: add forgotten std::string's.
1276
1277 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1278
1279         * LaTeXFeatures.C:
1280         * LyXAction.C:
1281         * factory.C:
1282         * lfuns.h:
1283         * lyxfunc.C:
1284         * text3.C: The Box patch. Fancybox support, minipage, parbox
1285
1286 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1287
1288         * CutAndPaste.h:
1289         * DepTable.h:
1290         * FloatList.h:
1291         * LaTeXFeatures.h:
1292         * ParagraphParameters.h:
1293         * TextCache.h:
1294         * Thesaurus.h:
1295         * bufferlist.h:
1296         * exporter.h:
1297         * importer.h:
1298         * lastfiles.h:
1299         * lyxfind.h:
1300         * lyxfont.h:
1301         * lyxlex.h:
1302         * lyxtextclasslist.h:
1303         * messages.h:
1304         * paragraph.h:
1305         * paragraph_pimpl.C:
1306         * textcursor.h: add <string> and other small fixes to make Lars'
1307         std::string patch compile with STLport.
1308
1309 2003-10-06  Angus Leeming  <leeming@lyx.org>
1310
1311         * LColor.h: Add missing #include <string>.
1312
1313 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1314
1315         * All most all file in all subdirs: Make <string> be the prefered
1316         way of getting to std::string, add using declarations.
1317
1318 2003-10-06  André Pönitz  <poenitz@gmx.net>
1319
1320         * metricsinfo.C: initialize LyXFont before changing attribute.
1321         (fixes the 'math in \emph is upright' bug)
1322
1323 2003-10-06  André Pönitz  <poenitz@gmx.net>
1324
1325         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1326
1327 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1328
1329         * graph.C:
1330         * paragraph_pimpl.C: Small fixes to build using STLport
1331
1332 2003-10-02  André Pönitz  <poenitz@gmx.net>
1333
1334         * lyxfunc.C:
1335         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1336
1337 2003-10-01  André Pönitz  <poenitz@gmx.net>
1338
1339         * factory.C: assert early
1340
1341 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1342
1343         * lyx_main.C: remove the global debug object
1344
1345         * debug.h: adjust for new debugstream
1346
1347         * debug.C: adjust for new debugstream and keep the global debug
1348         object here.
1349
1350 2003-09-22  Angus Leeming  <leeming@lyx.org>
1351
1352         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1353         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1354         an incomplete class LyXFont.
1355
1356 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1357
1358         * factory.C: bug fix in branches
1359
1360 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1361
1362         * lyxfunc.C (processKeySym): adjust
1363         (dispatch): adjust
1364         (dispatch): change arg name from ev to func, adjust
1365         (sendDispatchMessage): ditto
1366
1367         * lyx_main.C (defaultKeyBindings): adjust keybindings
1368         (deadKeyBindings): ditto
1369
1370         * kbsequence.C (addkey): return a FuncRequest
1371
1372         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1373
1374         * kbmap.C (bind): take a FuncRequest as arg, adjust
1375         (read): adjust
1376         (lookup): adjust
1377         (defkey): change to take a FuncRequest as arg, adjust
1378         (findbinding): take a FuncRequest as arg, adjust.
1379
1380         * funcrequest.h (operator=): added
1381
1382         * funcrequest.C (FuncRequest): default kb_action changed from
1383         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1384
1385         * buffer.C (dispatch): simplify
1386         (dispatch): adjust to take a FuncRequest as arg, adjust
1387
1388         * boost.C (assertion_failed): change assertion message slightly
1389
1390         * ToolbarBackend.C (read): simplify
1391
1392         * MenuBackend.C (binding): adjust call to findbinding, add a
1393         message if no binding is found.
1394         (read): simplify
1395         (expandToc): correct by adding a empty FuncRequest
1396
1397         * LyXAction.C: include <boost/assert.hpp>
1398         (isPseudoAction): delete function
1399         (LookupFunc): change name to...
1400         (lookupFunc): this. change return type to FuncRequest.
1401         (getActionName): take kb_action as arg, simplify
1402         (funcHasFlag): add an assert, simplify.
1403
1404 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1405
1406         * toc.C (action): return a FuncRequest, simplify
1407
1408         * lyxfunc.C (processKeySym): adjust
1409         (getStatus): delete version that takes an int.
1410         (getStatus): adjust
1411         (dispatch): delete version that takes action as int
1412         (dispatch): adjust
1413         (sendDispatchMessage): simplify and adjust
1414
1415         * funcrequest.C (getArg): take unsigned int as arg
1416
1417         * ToolbarBackend.C (read): adjust
1418         (add): delete version that takes func as a string.
1419         (getIton): take a FuncRequest as arg
1420
1421         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1422         action.
1423
1424         * MenuBackend.C (MenuItem): add a new construct that only takes a
1425         Kind, simplify the constructor use for submenus.
1426         (add): adjust
1427         (expandLastfiles): adjust
1428         (expandDocuments): adjust
1429         (expandFormats): adjust
1430         (expandFloatListInsert): adjust
1431         (expandFloatInsert): adjust
1432         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1433
1434         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1435         Remove class variables lyx_pseudo_map and lyx_arg_map
1436
1437         * LyXAction.C (searchActionArg): delete function
1438         (getPseudoAction): delete function
1439         (retrieveActionArg): delete function
1440         (LookupFunc): make it return kb_action, simplify.
1441         (getActionName): simplify
1442
1443         * factory.C (createInset): fix new bug
1444
1445 2003-09-19  Angus Leeming  <leeming@lyx.org>
1446
1447         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1448         masterFilename_ parameter in the include inset.
1449
1450         * factory.C (createInset): changes due to the changes to InsetInclude.
1451
1452 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1453
1454         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1455
1456 2003-09-18  Angus Leeming  <leeming@lyx.org>
1457
1458         * buffer.C:
1459         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1460         Inset::fillWithBibKeys.
1461         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1462
1463 2003-09-18  Angus Leeming  <leeming@lyx.org>
1464
1465         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1466         variables.
1467         (ctor): pass and store a 'Buffer const &'
1468         (buffer): new member function.
1469
1470         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1471         '*this' to the LaTeXFeatures ctor.
1472
1473 2003-09-18  Angus Leeming  <leeming@lyx.org>
1474
1475         * LColor.h:
1476         * lyxfont.C:
1477         * lyxfont.h:
1478         * lyxtext.h:
1479         * text.C: rename EnumLColor as LColor_color.
1480
1481 2003-09-18  Angus Leeming  <leeming@lyx.org>
1482
1483         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1484         remove #include "insets/insetbase.h" from cursor.h.
1485
1486 2003-09-18  Angus Leeming  <leeming@lyx.org>
1487
1488         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1489         InsetOld_code to remove #include "inset.h".
1490
1491         * iterators.C: add #include "insets/inset.h"
1492
1493 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1494
1495         * BufferView.C: remove more locking stuff that apparently doesn't
1496         do anything sensible.
1497
1498 2003-09-16  André Pönitz  <poenitz@gmx.net>
1499
1500         * paragraph.[Ch]:
1501         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1502           performance boost.
1503
1504 2003-09-16  Angus Leeming  <leeming@lyx.org>
1505
1506         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1507
1508         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1509         arg/return type.
1510
1511         * paragraph.h: remove #include "lyxfont.h". Forward declare
1512         LyXFont_size.
1513
1514 2003-09-16  Angus Leeming  <leeming@lyx.org>
1515
1516         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1517         of support/textutils.h.
1518         (isWord): move the contents of support/textutils.h's IsWordChar here.
1519
1520         * buffer.C:
1521         * lyxfind.C:
1522         * rowpainter.C:
1523         * text.C:
1524         * text2.C: add #include "paragraph.h".
1525
1526         * rowpainter.C:
1527         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1528
1529 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1530
1531         * main.C:
1532         * lyx_main.C:
1533         * lyx_cb.C:
1534         * buffer.C:
1535         * LaTeX.C: use namespace alias for lyx::support::os
1536
1537 2003-09-16  Angus Leeming  <leeming@lyx.org>
1538
1539         * bufferparams.C:
1540         * bufferview_funcs.C:
1541         * factory.C:
1542         * lyxfunc.C:
1543         * paragraph_pimpl.C:
1544         * rowpainter.C:
1545         * text.C: add #include "LColor.h".
1546
1547 2003-09-16  Angus Leeming  <leeming@lyx.org>
1548
1549         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1550         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1551         return LyXFont &.
1552         Store the FontBits::color variable as an int rather than as an
1553         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1554         file.
1555
1556         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1557         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1558         string calls together.
1559
1560         * lyxrc.C: add #include "LColor.h".
1561
1562 2003-09-15  Angus Leeming  <leeming@lyx.org>
1563
1564         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1565         a cow_ptr.
1566
1567 2003-09-15  Angus Leeming  <leeming@lyx.org>
1568
1569         * LColor.h: add an EnumLColor wrapper for LColor::color.
1570
1571         * lyxfont.[Ch] (color, setColor, realColor):
1572         * lyxtext.h, text.C (backgroundColor):
1573         pass EnumLColor args to/from the functions, rather than LColor::color
1574         ones.
1575
1576         * lyxfont.h:
1577         * lyxtext.h: forward declare EnumLColor.
1578
1579         * lyx_main.C: add #include "LColor.h".
1580
1581 2003-09-15  Angus Leeming  <leeming@lyx.org>
1582
1583         * .cvsignore: add lyx-gtk.
1584
1585 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1586
1587         * Chktex.C
1588         * LaTeX.C
1589         * LaTeXFeatures.C
1590         * ParagraphParameters.C
1591         * Spacing.C
1592         * buffer.C
1593         * bufferparams.C
1594         * bufferview_funcs.C
1595         * chset.C
1596         * counters.C
1597         * funcrequest.C
1598         * lyxfont.C
1599         * lyxgluelength.C
1600         * lyxlength.C
1601         * paragraph.C
1602         * paragraph_funcs.C
1603         * text3.C
1604         * vc-backend.C: remove usage of STRCONV
1605
1606 2003-09-15  Angus Leeming  <leeming@lyx.org>
1607
1608         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1609         explicitly define the color passed to the painter.
1610
1611 2003-09-15  Angus Leeming  <leeming@lyx.org>
1612
1613         * bufferparams.C (BufferParams): reorder member initializers to avoid
1614         compiler warning.
1615
1616 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1617
1618         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1619         * text.C (updateRowPositions): remove an unusual nop
1620
1621 2003-09-12  André Pönitz  <poenitz@gmx.net>
1622
1623         * BufferView_pimpl.C:
1624         * Bullet.C:
1625         * layout.h:
1626         * lyxfunc.C:
1627         * lyxlayout.[Ch]:
1628         * lyxtextclass.C:
1629         * rowpainter.C:
1630         * text.C:
1631         * text2.C:
1632         * Counters.[Ch]: finish the 'automatic counters' job
1633
1634 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1635
1636         * aspell.C: include <boost/assert.cpp> (compile fix)
1637
1638 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1639
1640         * boost.C (assertion_failed): use lyx::support::abort instead of
1641         assert.
1642
1643 2003-09-10  Angus Leeming  <leeming@lyx.org>
1644
1645         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1646         with their _fwd progeny.
1647
1648 2003-09-09  Angus Leeming  <leeming@lyx.org>
1649
1650         134 files throughtout the source tree: replace 'using namespace abc;'
1651         directives with the appropriate 'using abc::xyz;' declarations.
1652
1653 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1654
1655         * boost.C (emergencyCleanup): moved here from LAssert.c
1656         (assertion_failed): new function, called by BOOST_ASSERT
1657
1658         * several files: change Assert to BOOST_ASSERT
1659
1660 2003-09-09  Angus Leeming  <leeming@lyx.org>
1661
1662         * buffer.[Ch]: Add an Impl class and move Buffer's member
1663         variables into it. As a result move several header files out of
1664         buffer.h.
1665
1666         Add header files to lots of .C files all over the tree as a result.
1667
1668 2003-09-09  Angus Leeming  <leeming@lyx.org>
1669
1670         * buffer.[Ch]: make Buffer's member variables private. Add
1671         accessor functions.
1672
1673         Lots of changes all over the tree as a result.
1674
1675 2003-09-08  Angus Leeming  <leeming@lyx.org>
1676
1677         * graph.C: #include <config.h>.
1678
1679 2003-09-08  Angus Leeming  <leeming@lyx.org>
1680
1681         * BranchList.C:
1682         * BufferView.C:
1683         * BufferView_pimpl.C:
1684         * CutAndPaste.C:
1685         * DepTable.C:
1686         * LaTeX.C:
1687         * LaTeXFeatures.C:
1688         * LyXAction.C:
1689         * MenuBackend.C:
1690         * TextCache.C:
1691         * aspell.C:
1692         * buffer.C:
1693         * bufferlist.C:
1694         * changes.C:
1695         * chset.C:
1696         * converter.C:
1697         * counters.C:
1698         * debug.C:
1699         * graph.C:
1700         * ispell.C:
1701         * lyx_cb.C:
1702         * lyxfind.C:
1703         * lyxfunc.C:
1704         * lyxlex_pimpl.C:
1705         * lyxrc.C:
1706         * lyxrow.C:
1707         * paragraph.C:
1708         * rowpainter.C:
1709         * texrow.C:
1710         * text.C:
1711         * text2.C:
1712         * toc.C: remove redundant using directives.
1713
1714 2003-09-07  Angus Leeming  <leeming@lyx.org>
1715
1716         * LaTeXFeatures.h: remove #include "support/types.h".
1717         * ToolbarBackend.h: remove #include <algorithm>.
1718         * changes.h: remove #include <ctime>.
1719         * debug.h: remove #include <iosfwd>.
1720         * graph.h: remove #include "support/std_string.h".
1721         * lyx_main.h: remove #include <csignal>.
1722         * lyxlex_pimpl.h: remove #include <fstream>.
1723         * sgml.h: remove #include <algorithm>, <utility>.
1724         * toc.h: remove #include "support/std_ostream.h".
1725         Add #include <iosfwd>.
1726
1727 2003-09-07  Angus Leeming  <leeming@lyx.org>
1728
1729         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1730
1731         * converter.h: forward declare LatexRunParams.
1732         * encoding.h: remove #include "lyxrc.h".
1733         * lyxtext.h: remove #include "LColor.h".
1734         * lyxtextclass.h: remove #include "support/types.h".
1735         * trans.h: remove #include "tex-accent.h".
1736         * trans_mgr.h: remove #include "tex-accent.h".
1737         * insets/inset.h: remove #include "support/types.h", <vector>.
1738         * insets/insetcollapsable.h: remove #include "LColor.h".
1739         * insets/insetinclude.h: remove #include "dimension.h".
1740         * insets/insetlatexaccent.h: remove #include "dimension.h".
1741         * insets/insetoptarg.h:: remove #include "insettext.h".
1742         * insets/insettext.h: remove #include "dimension.h",
1743         <boost/shared_ptr.hpp>
1744
1745         * insets/renderers.h: add #include "dimension.h".
1746         * insets/updatableinset.h: add #include "support/types.h".
1747
1748         * many .C files: Associated changes.
1749
1750 2003-09-06  Angus Leeming  <leeming@lyx.org>
1751
1752         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1753         one, inside testInvariant.
1754
1755         * PrinterParams.C: new file.
1756         * PrinterParams.[Ch]: move the function bodies out of line.
1757
1758 2003-09-06  Angus Leeming  <leeming@lyx.org>
1759
1760         * ParagraphParameters.h: forward declare ParameterStruct rather than
1761         including its header file.
1762         (depth): moved out-of-line.
1763
1764 2003-09-06  Angus Leeming  <leeming@lyx.org>
1765
1766         * BufferView_pimpl.h:
1767         * kbmap.h:
1768         * kbsequence.h:
1769         * lyxfunc.h: forward declare LyXKeySym rather than
1770         #include "frontends/LyXKeySym.h".
1771
1772         * BufferView_pimpl.C:
1773         * kbmap.C:
1774         * kbsequence.C:
1775         * lyxfunc.C: associated changes.
1776
1777 2003-09-06  Angus Leeming  <leeming@lyx.org>
1778
1779         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1780         As a result, can remove the #include "insets/inset.h" from BufferView.h
1781
1782 2003-09-06  Angus Leeming  <leeming@lyx.org>
1783
1784         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1785         As a result, can remove the #include "insets/inset.h" from BufferView.h
1786
1787 2003-09-06  Angus Leeming  <leeming@lyx.org>
1788
1789         * buffer_funcs.C:
1790         * buffer.h:
1791         * bufferlist.C:
1792         * BufferView.C:
1793         * bufferview_funcs.C:
1794         * BufferView_pimpl.C:
1795         * CutAndPaste.C:
1796         * lyx_cb.C:
1797         * lyxfunc.C:
1798         * paragraph.h:
1799         * ParagraphParameters.C:
1800         * tabular.C:
1801         * text3.C:
1802         * toc.C:
1803         * undo_funcs.C:
1804         * frontends/controllers/ControlDocument.C:
1805         * insets/insetcaption.C: rearrange the #includes into some sort of
1806         coherent order.
1807
1808         * buffer.h: remove #includes ErrorList.h, undo.h
1809
1810 2003-09-06  Angus Leeming  <leeming@lyx.org>
1811
1812         * support/types.h: add a 'depth_type' typedef, used to store the
1813         nesting depth of a paragraph.
1814
1815         * paragraph.h:
1816         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1817         defining explicitly.
1818
1819         * buffer.h:
1820         * paragraph_funcs.h:
1821         * ParagraphParameters.h:
1822         * sgml.h: use lyx::depth_type rather than Paragraph or
1823         ParameterStruct's depth_type.
1824
1825         * buffer.h
1826         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1827
1828         * BufferView.C:
1829         * BufferView_pimpl.C:
1830         * CutAndPaste.C:
1831         * ParagraphParameters.C:
1832         * buffer_funcs.C:
1833         * bufferlist.C:
1834         * bufferview_funcs.C:
1835         * lyx_cb.C:
1836         * lyxfunc.C:
1837         * tabular.C:
1838         * text3.C:
1839         * toc.C:
1840         * undo_funcs.C:
1841         * frontends/LyXView.C:
1842         * frontends/controllers/ControlDocument.C:
1843         * frontends/controllers/ControlErrorList.C:
1844         * insets/insetbibitem.C:
1845         * insets/insetbranch.C:
1846         * insets/insetcaption.C:
1847         * insets/insetcollapsable.C:
1848         * insets/insetenv.C:
1849         * insets/insetert.C:
1850         * insets/insetfloat.C:
1851         * insets/insetfoot.C:
1852         * insets/insetfootlike.C:
1853         * insets/insetnewline.C:
1854         * insets/insetquotes.C:
1855         * insets/insettabular.C:
1856         * insets/insettext.C:
1857         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1858
1859         * frontends/controllers/ControlChanges.C: #include "changes.h".
1860
1861 2003-09-06  Angus Leeming  <leeming@lyx.org>
1862
1863         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1864         than #including paragraph.h.
1865
1866         * ParagraphList.h:
1867         * RowList.h: deleted. Superfluous.
1868
1869         * CutAndPaste.h:
1870         * iterators.h:
1871         * lyxcursor.h:
1872         * lyxtext.h:
1873         * text_funcs.h:
1874         * undo.h:
1875         * undo_funcs.h:
1876         * insets/inset.h:
1877         * insets/insettext.h: use ParagraphList_fwd.h rather than
1878         ParagraphList.h.
1879
1880         * paragraph.h: don't forward declare ParagraphList.
1881
1882         * buffer.h:
1883         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1884         rather than ParagraphList.h. paragraph.h is still needed for the
1885         Paragraph::depth_type parameters.
1886
1887         * textcursor.h: enable it to compile stand-alone in light of the
1888         above changes.
1889
1890         * bufferview_funcs.C:
1891         * iterators.C:
1892         * lyxfunc.C:
1893         * lyxrow_funcs.C:
1894         * paragraph.C:
1895         * rowpainter.C:
1896         * text.C:
1897         * text2.C:
1898         * text3.C:
1899         * text_funcs.C:
1900         * textcursor.C:
1901         * undo.C:
1902         * frontends/controllers/ControlParagraph.C:
1903         * frontends/controllers/ControlTabular.C:
1904         * insets/insetmarginal.C:
1905         * insets/insetminipage.C:
1906         * insets/insetnote.C:
1907         * insets/insetoptarg.C: add header files needed to compile again.
1908
1909 2003-09-06  Angus Leeming  <leeming@lyx.org>
1910
1911         * RowList_fwd.h: new file, forward-declaring Row rather than
1912         #including lyxrow.h.
1913
1914         * lyxrow_funcs.h:
1915         * lyxtext.h:
1916         * paragraph.h:
1917         * insets/insettext.h: use it instead of RowList.h
1918
1919         * bufferview_funcs.C:
1920         * lyxfunc.C:
1921         * lyxrow_funcs.C:
1922         * paragraph.C:
1923         * rowpainter.C:
1924         * text.C:
1925         * text2.C:
1926         * text3.C: #include "RowList.h".
1927
1928 2003-09-05  Angus Leeming  <leeming@lyx.org>
1929
1930         * factory.C (createInset):
1931         * vspace.C (c-tor): replace sscanf call with an istringstream.
1932         * ispell.C: re-add missing HP/UX headers.
1933         * lyxserver.C: re-add missing  os2 headers.
1934
1935 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1936
1937         * BranchList.C:
1938         * graph.C:
1939         * ispell.C:
1940         * lastfiles.C:
1941         * lyx_cb.C:
1942         * lyxserver.C:
1943         * texrow.C:
1944         * text3.C: re-add missing system headers, needed for 2.95.2.
1945
1946 2003-09-05  Angus Leeming  <leeming@lyx.org>
1947
1948         Changes most place everywhere due to the removal of using directives
1949         from support/std_sstream.h.
1950
1951 2003-09-05  Angus Leeming  <leeming@lyx.org>
1952
1953         Replace LString.h with support/std_string.h,
1954         Lsstream.h with support/std_sstream.h,
1955         support/LIstream.h with support/std_istream.h,
1956         support/LOstream.h with support/std_ostream.h.
1957
1958         Changes resulting throughout the tree.
1959
1960 2003-09-05  Angus Leeming  <leeming@lyx.org>
1961
1962         * sgml.h: ensure that the header file can be compiled stand-alone.
1963         * *.C: strip out redundant #includes. (320 in total.)
1964
1965 2003-09-04  Angus Leeming  <leeming@lyx.org>
1966
1967         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1968         here (from getPackages).
1969
1970         * debug.[Ch]: add a new EXTERNAL tag.
1971
1972 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1973
1974         * text2.C (cursorEnd): simplify
1975         (setCursor): adjust
1976         (getColumnNearX): adjust
1977
1978         * text.C (computeBidiTables): adjust
1979         (fill): adjust
1980
1981         * rowpainter.C (paintChars): adjust
1982         (paintSelection): adjust
1983         (paintChangeBar): adjust
1984         (paintText): adjust
1985
1986         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1987         lastPos instead.
1988         (numberOfSeparators): adjust
1989
1990 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1991
1992         * LyXAction.C:
1993         * box.[Ch]:
1994         * lfuns.h:
1995         * lyxfunc.C:
1996         * text3.C: Restricts the mouse click functionality
1997         of insets like bibtex, include, toc and floatlist to the visible
1998         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1999         up the dialogs. Cursor has to be in front of the inset (i.e.
2000         start of row) for this to function.
2001
2002 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2003
2004         * bufferview_funcs.C (currentState): output row information
2005
2006 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2007
2008         * bufferview_funcs.C (currentState): output paragraph position
2009
2010 2003-09-04  Angus Leeming  <leeming@lyx.org>
2011
2012         * FloatList.h: move out #include "Floating.h".
2013         * LaTeX.h: move out #include "DepTable.h".
2014         * LyXAction.h: move out #include "funcrequest.h".
2015         * buffer.h: move out #include "author.h", "iterators.h".
2016         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2017         * lyx_main.h: move out #include "errorlist.h".
2018         * lyxfunc.h: move out #include "FuncStatus.h".
2019         * lyxtext: move out #include "lyxcursor.h".
2020         * paragraph_pimpl.h: move out #include "counters.h".
2021
2022 2003-09-03  Angus Leeming  <leeming@lyx.org>
2023
2024         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2025         preamble_snippets list, enabling us to add snippets to the preamble
2026         only if the snippet was not there already.
2027
2028 2003-09-04  Angus Leeming  <leeming@lyx.org>
2029
2030         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2031
2032 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2033
2034         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2035         update
2036
2037 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2038
2039         * BranchList.C: point fix, earlier forgotten
2040
2041 2003-09-02  Angus Leeming  <leeming@lyx.org>
2042
2043         * box.C (contains): renamed from 'contained' after a fantastic
2044         amount of hot air.
2045
2046 2003-09-02  John Levon  <levon@movementarian.org>
2047
2048         * BufferView.C:
2049         * lyxcursor.h:
2050         * lyxcursor.C:
2051         * lyxfunc.C:
2052         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2053
2054 2003-09-02  John Levon  <levon@movementarian.org>
2055
2056         * text2.C: simplification of cursorEnd(), including partial
2057         fix for bug 1376
2058
2059 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2060
2061         * buffer.C (readFile): add a space
2062
2063 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2064
2065         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2066
2067 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2068
2069         * buffer.C (readFile): new function, take a filename and a
2070         ParagraphList::iterator
2071         (readFile): adjust
2072         (readFile): adjust, make it private. don't use setStream, make
2073         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2074         always contain the filename.
2075
2076         * BufferView.C (insertLyXFile): simplify and make it work for
2077         gzipped files.
2078
2079 2003-08-30  John Levon  <levon@movementarian.org>
2080
2081         * Makefile.am: fix dist (from Kayvan)
2082
2083 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2084
2085         * most files: change to use const Buffer refs
2086
2087 2003-08-27  André Pönitz  <poenitz@gmx.net>
2088
2089         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2090         on top of ownerPar().
2091
2092 2003-08-27  John Levon  <levon@movementarian.org>
2093
2094         * funcrequest.C: properly initialise POD members
2095
2096 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2097
2098         * lyxtext.h (top_y): move top_y from here
2099         * text.C:
2100         * text2.C:
2101         * text3.C:
2102         * BufferView.[Ch]:
2103         * BufferView_pimpl.[Ch]: to here
2104         * frontends/screen.C:
2105         * insets/insettabular.C:
2106         * insets/insettext.C: adjust
2107         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2108
2109 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2110
2111         * BufferView.[Ch]:
2112         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2113
2114 2003-08-26  André Pönitz  <poenitz@gmx.net>
2115
2116         * paragraph_func.[Ch] (outerPar): new function
2117
2118         * paragraph.C:
2119         * paragraph_funcs.C:
2120         * paragraph_funcs.h:
2121         * paragraph_pimpl.C:
2122         * text2.C: remove Inset::par_owner
2123
2124 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2125
2126         * lyxrow_funcs.C:
2127         * lyxtext.h:
2128         * text.C:
2129         * text2.C: eliminates the needFullRow/display() stuff
2130         altogether, putting the logic in metrics/draw in the insets.
2131
2132 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2133
2134         * text2.C (redoParagraphInternal, redoParagraphs):
2135         * text.C (redoParagraph): add a call to updateRowPositions at the
2136         end of each 'metrics-like' call. Remove all others.
2137         (getRow): remove the 'y-computing' version.
2138         (getRowNearY): do not compute nor return the real y. Solve the
2139         'y < 0' problem and simplify.
2140
2141 2003-08-22  Angus Leeming  <leeming@lyx.org>
2142
2143         * *.[Ch]: clean-up of licence and author blurbs.
2144         Also move config.h out of a few .h files and into a few .C files.
2145
2146 2003-08-22  André Pönitz  <poenitz@gmx.net>
2147
2148         * lyxrow.[Ch]: add x_ and *fill_ members
2149
2150         * lyxtext.h:
2151         * text.C:
2152         * rowpainter.C:
2153         * text2.C: adjust/remove prepareToPrint() calls
2154
2155 2003-08-22  André Pönitz  <poenitz@gmx.net>
2156
2157         * lyxrow.[Ch]: add  end_ member
2158
2159         * lyxrow_funcs.C: use LyXRow::end_
2160
2161         * lyxtext.h (singleWidth): add LyXFont parameter
2162
2163         * rowpainter.C:
2164         * text2.C: adjust LyXText::singleWidth() calls
2165
2166         * text.C (redoParagraph): simplify row breaking logic
2167
2168
2169 2003-08-19  André Pönitz  <poenitz@gmx.net>
2170
2171         * funcrequest.C: initialize button_ member
2172
2173         * text3.C:
2174         * rowpainter.[Ch]: interface consolidation
2175
2176 2003-08-18  André Pönitz  <poenitz@gmx.net>
2177
2178         * BufferView.C:
2179         * BufferView_pimpl.C:
2180         * lyxfind.C:
2181         * paragraph_funcs.C:
2182         * rowpainter.C:
2183         * text3.C: remove LyXScreen::draw() and fitCursor calls
2184
2185         * BranchList.h: remove spurious semicolons
2186
2187         * MenuBackend.C: fix branchlist related crash
2188
2189 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2190
2191         * BranchList.[Ch]:
2192         * InsetList.[Ch]:
2193         * LColor.[Ch]:
2194         * LyXAction.C:
2195         * Makefile.am:
2196         * MenuBackend.[Ch]:
2197         * bufferparams.[Ch]:
2198         * factory.C:
2199         * lfuns.h:
2200         * lyxfunc.C:
2201         * text3.C: implements the 'branch inset'
2202         idea. This allows the output of various versions of a document
2203         from a single source version, selectively outputing or suppressing
2204         output of parts of the text.
2205         This implementation contains a 'branch list editor' in a separate
2206         tab of the document settings dialog. Branches are user definable
2207         and have a "display colour" to distinguish them on-screen.
2208
2209         ColorHandler was somewhat cleaned up.
2210         (1) make possible a dynamically growing LColor list by allowing
2211         the graphic context cache to grow along (vector);
2212         (2) eliminate an IMHO unnecessary step in colour allocation.
2213
2214 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2215
2216         * BufferView_pimpl.C: compile fix
2217
2218 2003-08-15  André Pönitz  <poenitz@gmx.net>
2219
2220         * rowpainter.C: remove extra metrics calls
2221
2222         * lyxtext.h: merge the two constructors into a single one,
2223           pass reference to owner's par list
2224
2225         * BufferView_pimpl.C:
2226         * text.C:
2227         * text2.C: adjust
2228
2229 2003-08-15  André Pönitz  <poenitz@gmx.net>
2230
2231         * lyxrow_funcs.[Ch]:
2232         * lyxtext.h:
2233         * paragraph.h:
2234         * paragraph_funcs.C:
2235         * rowpainter.C:
2236         * text.C:
2237         * text2.C:
2238         * text3.C:
2239         * text_funcs.C: split LyXText::rowlist_ into individual
2240         Paragraph::rows_ chunks
2241
2242         * BufferView.[Ch]:
2243         * BufferView_pimpl.[Ch]:
2244         * lyxfind.C:
2245         * lyxtext.h:
2246         * text3.C: remove toggleSelection()
2247
2248 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2249
2250         * bufferlist.C: beautify two alerts (shorter text of buttons)
2251         * buffer.C: Remove redundant ' ' from message
2252         * tabular.h:
2253         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2254         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2255         rename VALIGN_CENTER to VALIGN_MIDDLE
2256
2257 2003-08-11  André Pönitz  <poenitz@gmx.net>
2258
2259         * lyxtext.h (getPar):
2260         * text.C: new function
2261
2262 2003-08-11  André Pönitz  <poenitz@gmx.net>
2263
2264         * Makefile.am:
2265         * tracer.[Ch]: remove unneeded files
2266
2267         * InsetList.[Ch]: remove resizeInsetsLyXText()
2268
2269         * lyxtext.h:
2270         * text.C:
2271         * text2.C:
2272         * text3.C: merge insertParagraphs() and appendParagraph()
2273         remove breakAgain(), update()
2274
2275         * BufferView_pimpl.[Ch]:
2276         * bufferview_funcs.[Ch]:
2277         * lyxfunc.C:
2278         * paragraph.[Ch]:
2279         * rowpainter.C:
2280         * tabular.C: adjust after text & InsetList changes.
2281
2282 2003-08-08  André Pönitz  <poenitz@gmx.net>
2283
2284         * text.C (insertChar, backspace): replace rowlist fiddling
2285         with rebreak of full par
2286
2287         * lyxtext.h:
2288         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2289         checkParagraph, updateInset): removed
2290
2291 2003-08-07  André Pönitz  <poenitz@gmx.net>
2292
2293         * paragraph.C:
2294         * text3.C: merge some LFUN handlers, remove dead code
2295
2296 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2297
2298         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2299
2300 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2301
2302         * text2.C (DEPM): fix part of bug 1255 and 1256
2303
2304 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2305
2306         * BufferView_pimpl.C (workAreaDispatch): change to use
2307         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2308         that are no mouse related.
2309
2310 2003-08-05  André Pönitz  <poenitz@gmx.net>
2311
2312         * BufferView.[Ch]:
2313         * BufferView_pimpl.[Ch]:
2314         * bufferview_funcs.C:
2315         * text2.C:
2316         * text3.C: rip out "deep update"
2317
2318         * textcursor.[Ch] (last_sel_cursor): remove unused member
2319
2320 2003-08-04  André Pönitz  <poenitz@gmx.net>
2321
2322         * BufferView.[Ch]:
2323         * BufferView_pimpl.[Ch]:
2324         * ParagraphParameters.C:
2325         * bufferview_funcs.C:
2326         * lyx_cb.C:
2327         * lyxfind.C:
2328         * lyxfunc.C:
2329         * text.C:
2330         * text2.C:
2331         * text3.C: replace "complicated" BufferView::update(...) calls with
2332         simpler ones.
2333
2334         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2335
2336 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2337
2338         * Makefile.am (lyx_SOURCES): add paper.h
2339
2340 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2341
2342         * Makefile.am: move things around so that both lyx-qt and
2343         lyx-xforms can be built (according to --with-frontend). Then lyx
2344         is a symbolic link to lyx-[firstfrontend]
2345
2346 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2347
2348         * Always use std::endl with lyxerr
2349
2350 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2351
2352         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2353
2354 2003-08-01  André Pönitz  <poenitz@gmx.net>
2355
2356         * BufferView.[Ch]:
2357         * BufferView_pimpl.[Ch]:
2358         * lyxfunc.C:
2359         * text3.C: merge BufferView::repaint() and BufferView::update()
2360
2361 2003-08-01  José Matos  <jamatos@lyx.org>
2362
2363         * buffer.[Ch]: file_format is no longer a buffer data element.
2364
2365 2003-08-01  André Pönitz  <poenitz@gmx.net>
2366
2367         * BufferView.C:
2368         * lyxtext.h:
2369         * text.C:
2370         * text2.C: make redoParagraph more independent of current cursor
2371
2372         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2373         * text.C:
2374         * text2.C: remove unneeded members
2375
2376 2003-07-30  André Pönitz  <poenitz@gmx.net>
2377
2378         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2379
2380         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2381           create a single function...
2382
2383         * paragraph_funcs.C (moveItem): ... here.
2384
2385         * text.C:
2386           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2387
2388 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2389
2390         * LColor.[Ch]: Add comment and greyedout logical colors.
2391
2392 2003-07-30  André Pönitz  <poenitz@gmx.net>
2393
2394         * tabular.C: don't use Assert too heavily. This crashes where it
2395           shouldn't
2396
2397 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2398
2399         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2400         is disabled (bug 1232)
2401
2402 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2403
2404         * factory.C: limited 'arg' scope
2405
2406 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2407
2408         * factory.C: fixed Note submenu issues
2409
2410 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2411
2412         * factory.C: submenu for Note/Comment/Greyedout
2413
2414 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2415
2416         * lyx_main.C (LyX):
2417         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2418
2419 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2420
2421         * LaTeXFeatures.C:
2422         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2423         greyedout. Patch provided by Jürgen Spitzmüller.
2424
2425 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2426
2427         * kbmap.C (read): fix error message when reading bind files
2428
2429 2003-07-29  Angus Leeming  <leeming@lyx.org>
2430
2431         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2432         certainly does not do what it purports to do. I am doing it, and
2433         us, a favour by killing it.
2434
2435 2003-07-28  José Matos  <jamatos@lyx.org>
2436
2437         * buffer.C (readBody, do_writeFile):
2438         * paragraph.C(readParagraph): \end_document replaces \the_end.
2439
2440 2003-07-29  André Pönitz  <poenitz@gmx.net>
2441
2442         * BufferView.[Ch]:
2443         * BufferView_pimpl.[Ch]:
2444         * lyxfunc.C:
2445         * text2.C:
2446         * text3.C:
2447         * textcursor.[Ch]: remove toggleToggle & Co
2448
2449 2003-07-28  José Matos  <jamatos@fep.up.pt>
2450
2451         * buffer.C (readParagraph):
2452         * params_func (readParToken, readParagraph):
2453         * paragraph.C (write): \layout -> \begin_layout.
2454
2455 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2456
2457         * lyxlex_pimpl.C (setFile): clean up slightly.
2458
2459         * bufferparams.h: add compressed var
2460
2461         * buffer_funcs.C (readFile): adjust for LyXLex change
2462         (newFile): ditto + simplify
2463
2464         * buffer.C (writeFile): handle writing of compressed files
2465
2466         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2467         Check if the file is compressed and set a bufferparm if so.
2468
2469         * Makefile.am (lyx_LDADD): remove explicit -lz
2470
2471 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2472
2473         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2474         makeDocBookFile): put the real LyX version in the first line of
2475         the file
2476
2477         * version.h:
2478         * version.C.in: remove lyx_docversion
2479
2480         * tabular.C (write_attribute): add a template-based version to
2481         write enums properly
2482
2483 2003-07-28  André Pönitz  <poenitz@gmx.net>
2484
2485         * lyxtext.h:
2486         * text.C:
2487         * text2.C:
2488         * text3.C: use doubles again for x-coordinates. They are needed.
2489
2490 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2491
2492         * messages.C (getLocaleDir): use lyx_localedir()
2493
2494         * lyxlex_pimpl.C (setFile): compress stuff
2495
2496         * buffer.C (writeFile): add some compression stuff
2497         (do_writeFile): new func, dont call expliti close... will this
2498         breake anything?
2499
2500         * Makefile.am (lyx_LDADD): add -lz
2501
2502 2003-07-28  José Matos  <jamatos@fep.up.pt>
2503
2504         * buffer.C: increment file format.
2505         * paragraph_funcs (readParagraph, readParToken):
2506         * paragraph.C (readParagraph): add \end_layout.
2507
2508 2003-07-27  Angus Leeming  <leeming@lyx.org>
2509
2510         * Makefile.am: remove special casing for configure-time setting of
2511         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2512
2513         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2514         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2515
2516 2003-07-26  André Pönitz  <poenitz@gmx.net>
2517
2518         * paragraph_func.[Ch]:
2519         * paragraph.C (realizeFont): inline it whereever it is used
2520
2521         * rowpainter.C:
2522         * text.C:
2523         * text2.C:
2524         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2525
2526
2527 2003-07-26  André Pönitz  <poenitz@gmx.net>
2528
2529         *       lyxtext.h:
2530         * text.C:
2531         * text2.C: get rid of LyXText::need_break_row
2532
2533 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2534
2535         * toc.[Ch]: put namespace toc inside namespace lyx
2536
2537         * MenuBackend.C (expandToc2): adjust for lyx::toc
2538         (expandToc): ditto
2539
2540         * lyxfunc.C (dispatch): adjust for lyx::find
2541
2542         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2543         lyx::find instead. Reorganize a bit.
2544         (LyXReplace): rename to replace
2545         (LyXFind): rename to find
2546
2547         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2548         (dispatch): ditto
2549
2550 2003-07-26  André Pönitz  <poenitz@gmx.net>
2551
2552         * text.C (setHeightOfRow): restrict scope of temporary variable
2553
2554         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2555           code (never has been used?)
2556
2557 2003-07-27  Asger Alstrup  <alstrup@local>
2558
2559         * text.C (fill): Optimise algorithm to exploit that we can reuse
2560         the LyXFont for many characters.
2561         (setHeightOfRow): Same thing.
2562         (rowBreakPoint): Same thing.
2563
2564 2003-07-26  Asger Alstrup  <alstrup@local>
2565
2566         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2567
2568         * text.C (singleWidth): Spurious font copying in hot-spot
2569         singleWidth avoided. Reorder tests for arabic for efficiency.
2570
2571         * text.C (fill): handle empty paragraphs better.
2572
2573 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2574
2575         * ispell.C:
2576         * encoding.h: add includes
2577
2578         * lyxrc.C: remove reading of bind files
2579
2580         * lyx_main.C (init): setup bindings and menus only if we have a
2581         gui.
2582
2583         * kbmap.C (read): new method. Do the actual reading of bind
2584         files.
2585
2586         * converter.C (dvipdfm_options):
2587         * bufferparams.C:
2588         * lyxrc.C (read):
2589         (output): adapt PAPER_* enums.
2590
2591         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2592
2593         * bufferparams.h: remove paper-related enums from there
2594
2595         * paper.h: New file. A trivial header file to hold paper-related
2596         enums. It should later expand to contain many paper-related
2597         horrors access.
2598
2599         * lyxrc.C: declare extern displayTranslator
2600
2601 2003-07-27  José Matos  <jamatos@fep.up.pt>
2602
2603         * tabular.[Ch] (linuxdoc): add support for tables and figures
2604         (linuxdoc).
2605
2606 2003-07-27  José Matos  <jamatos@fep.up.pt>
2607
2608         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2609         consistency in both functions.
2610         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2611
2612 2003-07-26  Asger Alstrup  <alstrup@local>
2613
2614         * rowpainter.C (paintRows): Change algorithm to work directly on
2615         the insets rather than asking every character in the document
2616         whether its an inset.
2617
2618 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2619
2620         * buffer.C (openFileWrite): factorize some code
2621
2622 2003-07-26  Angus Leeming  <leeming@lyx.org>
2623
2624         * lyx_cb.C:
2625         * lyx_main.[Ch]: replace occurances of system_tempdir with
2626         os::getTmpDir().
2627
2628 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2629
2630         * rename Inset to InsetOld
2631
2632 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2633
2634         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2635         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2636         which I think is a bit clearer. EDIT is gone, since it was
2637         premature optimisation, and broken for mathed anyway.
2638         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2639         with cursor positioning in insets as well (math insets still do not
2640         work, but that's a different story anyway.) It mysteriously
2641         crashes sometimes with undo in the first paragraph, but I'm fairly
2642         confident that this is a compiler bug.
2643
2644 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2645
2646         * paragraph.C (Paragraph): adjust for new clone return type
2647         (operator==): ditto
2648         (copyIntoMinibuffer): ditto
2649
2650 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2651
2652         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2653         by not having a special case, and always doing a full rebreak of
2654         the document after undo.
2655
2656 2003-07-23  Angus Leeming  <leeming@lyx.org>
2657
2658         * factory.C (createInset): InsetExternal::setParams now takes a
2659         Buffer const * arg.
2660
2661 2003-07-23  Angus Leeming  <leeming@lyx.org>
2662
2663         * factory.C (createInset): changed interface to the external and
2664         graphics mailers' string2params functions.
2665
2666 2003-07-23  Angus Leeming  <leeming@lyx.org>
2667
2668         * factory.C (createInset): pass a
2669         Buffer const * parameter to InsetExternalMailer's string2params.
2670
2671 2003-07-22  John Levon  <levon@movementarian.org>
2672
2673         * Thesaurus.h: include the right aiksaurus header
2674
2675 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2676
2677         * MenuBackend.C (expand): check menu shortcuts unconditionally
2678
2679 2003-07-21  Angus Leeming  <leeming@lyx.org>
2680
2681         * factory.C (createInset): pass a
2682         buffer_path parameter to InsetGraphicsMailer's string2params.
2683
2684 2003-07-21  Angus Leeming  <leeming@lyx.org>
2685
2686         * BufferView_pimpl.C (buffer):
2687         * buffer.C (d-tor):
2688         * lyx_main.C (LyX):
2689         * lyxfunc.C (dispatch):
2690         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2691         rather than the grfx shortcut.
2692
2693 2003-07-21  André Pönitz  <poenitz@gmx.net>
2694
2695         * rowpainter.C: remove unused variables
2696
2697         * tabular_funcs.C:
2698         * tabular_funcs.h: move to tabular.C
2699         * Makefile.am: adjust
2700
2701         * tabular.[Ch]: basic optical cleaning
2702
2703         * author.h: pass references, not values
2704
2705 2003-07-18  André Pönitz  <poenitz@gmx.net>
2706
2707         * lyxtext.h:
2708         * metricsinfo.C:
2709         * metricsinfo.h:
2710         * rowpainter.C:
2711         * text.C:
2712         * text2.C:
2713         * text3.C: two-phase drawing for InsetText and InsetTabular
2714         some float -> int changes.
2715
2716 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2717
2718         * lyx_main.C: fix the fix
2719
2720 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2721
2722         * lyx_main.C: fix a crash in batch mode if no files specified
2723         * converter.C: ws
2724
2725 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2726
2727         * format.[Ch] (papersize): moved to BufferParams
2728         * converter.[Ch] (dvips_options): moved to BufferParams
2729         (dvipdfm_options): moved to anon namespace
2730         * bufferparams.[Ch]: added above functions.
2731
2732 2003-07-17  André Pönitz  <poenitz@gmx.net>
2733
2734         * lyxtext.h:
2735         * rowpainter.C:
2736         * text2.C: don't call inset->update() anymore
2737
2738         * metricsinfo.[Ch]: add convenience constructor
2739
2740 2003-07-16  André Pönitz  <poenitz@gmx.net>
2741
2742         * lyxcursor.[Ch]:
2743         * lyxfunc.[Ch]:
2744         * text.C:
2745         * text2.C: replace the LyXCursor::irow_ member with
2746          on-demand computation of the value
2747
2748 2003-07-16  John Levon  <levon@movementarian.org>
2749
2750         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2751
2752 2003-07-15  André Pönitz  <poenitz@gmx.net>
2753
2754         * text.C:
2755         * text2.C: remove no more needed refresh_row
2756
2757 2003-07-15  André Pönitz  <poenitz@gmx.net>
2758
2759         * lyxtext.h:
2760         * rowpainter.C:
2761         * text2.C:
2762         * text3.C: refresh_status tristate -> need_update bool
2763
2764 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2765
2766         * lyxtext.h (init): remove reinit argument (act as if always true)
2767         * text2.C: adjust to that
2768
2769 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2770
2771         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2772         * text3.C: use it to delete selections in some cases
2773         (bugs 441, 673, 702, 954).
2774
2775 2003-07-14  André Pönitz  <poenitz@gmx.net>
2776
2777         * rowpainter.[Ch]: reduce interface
2778
2779 2003-07-14  André Pönitz  <poenitz@gmx.net>
2780
2781         * BufferView_pimpl.C:
2782         * text2.C: adjust after removing unused BufferView * argument
2783
2784 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2785
2786         * text2.C (init): fix a crash fired on resize
2787
2788 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2789
2790         * buffer.[Ch]: added new closing signal
2791         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2792         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2793         BufferView::Pimpl via the closing the signal
2794
2795 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2796
2797         * buffer.[Ch]: take out all bv-related from buffer
2798         * BufferView.C:
2799         * BufferView_pimpl.[Ch]: connect to new signals
2800         * CutAndPaste.C: removed useless asserts
2801         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2802         * lyxvc.[Ch]:
2803         * vc-backend.[Ch]:
2804         * lyxfunc.C: moved view-related funciontality from vc here
2805         * paragraph.C: removed outdated comments
2806         * text.C: ws
2807
2808 2003-07-10  André Pönitz  <poenitz@gmx.net>
2809
2810         * BufferView_pimpl.C:
2811         * tabular.h:
2812         * tabular_funcs.C:
2813         * text.C:
2814         * text2.C: remove InsetText::InnerCache, clean up consequences
2815
2816 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2817
2818         * ispell.C: fix two typos in error messages
2819
2820 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2821
2822         * Extend Note inset to other forms of annotation like Comment
2823         and Greyedout. Right button click gives dialog.
2824
2825         Files modified or added (+):
2826
2827         * insetnote.[Ch]
2828         * FormNote.[Ch]      +
2829         * ControlNote.[Ch]   +
2830         * form_note.fd       +
2831         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2832         frontends/controllers
2833         * xforms/Dialogs.C
2834         * factory.C
2835
2836 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2837
2838         * aspell.C: add missing namespace lyx::support
2839
2840 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2841
2842         * BufferView.[Ch] (newFile): Add
2843         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2844         * LaTeX.[Ch] (message): added this signal and use it
2845         * buffer.[Ch] (busy, message): added these signals and use them
2846         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2847         * converter.C:
2848         * exporter.C:
2849         * format.C:
2850         * importer.C: use buffer signals instead of direct bv calling
2851         * lyx_cb.[Ch] (ShowMessage): removed
2852         * lyx_main.C:
2853         * lyxfunc.C:
2854         * paragraph_funcs.C:
2855         * text2.C: use buffer signals
2856
2857 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2858
2859         * introduce namespace lyx::graphics
2860
2861 2003-07-02  André Pönitz  <poenitz@gmx.net>
2862
2863         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2864
2865 2003-07-01  André Pönitz  <poenitz@gmx.net>
2866
2867         * text.C:
2868         * text2.C:
2869         * text3.C:
2870         * text_funcs.[Ch]:
2871         * textcursor.h:
2872         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2873           text*.C to text_func.C
2874
2875 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2876
2877         * introduce namespace lyx::support
2878
2879 2003-06-30  André Pönitz  <poenitz@gmx.net>
2880
2881         * Chktex.C:
2882         * funcrequest.C:
2883         * lyxtext.h:
2884         * text.C: re-enable --with-included-string
2885
2886 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2887
2888         * textcursor.C: add <config.h>
2889
2890         * text.C (getWord): remove const from word_location arg
2891
2892         * lyxvc.C (getLogFile): fix const type order
2893
2894         * lyxtext.h: remove const from word_location arg, add arg name
2895
2896         * lyxlayout.h: currect type on labeltype.
2897
2898         * importer.C: correct \file
2899
2900         * converter.C (intToFormat): use std:: on ret val, ws changes
2901
2902         * bufferlist.h: correct \file
2903
2904         * buffer.C (makeLinuxDocFile): fix const type order
2905         (makeDocBookFile): ditto
2906         (fillWithBibKeys): use std:: on stdlib args.
2907
2908         * CutAndPaste.C: fix authors.
2909         (availableSelections): use std:: on return vector
2910
2911 2003-06-27  André Pönitz  <poenitz@gmx.net>
2912
2913         * BufferView_pimpl.C:
2914         * bufferview_funcs.C:
2915         * lyxcursor.C:
2916         * lyxcursor.h:
2917         * lyxfunc.C:
2918         * lyxtext.h:
2919         * rowpainter.C:
2920         * text.C:
2921         * text2.C:
2922         * text3.C: remove LyXCursor::row_ member
2923
2924         * lyxtext.h:
2925         * text.C: rename fullRebreak() to partialRebreak() and implement
2926           a fullRebreak() that really bereks fully
2927
2928         * textcursor.h: new struct for cursor-related data
2929
2930 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2931
2932         * lyx_main.C (LyX): get full path of document loaded on the
2933         command line
2934
2935 2003-06-26  André Pönitz  <poenitz@gmx.net>
2936
2937         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2938           remove unused/broken operator>,<,>=.
2939
2940         *       text.C: remove only use of broken operator<= in an Assert().
2941
2942 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2943
2944         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2945         moved errorlist_.clear to showErrorList
2946
2947 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2948
2949         * converter.C (scanLog, runLaTeX):
2950         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2951         move the bv->showErrorList call to the callers
2952         * lyxfunc.C: i.e. here...
2953         * text2.C: and here
2954         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2955         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2956         namespace, the second to...
2957         * buffer_funcs (BufferFormat, parseErrors): added
2958         * errorlist.C (ErrorList(TeXErrors const &)): removed
2959
2960 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2961
2962         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2963
2964 2003-06-24  "Garst R. Reese" <reese@isn.net>
2965
2966         * debug.C: fix typo
2967
2968 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2969
2970         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2971
2972         * version.C.in: change docversion to 1.4
2973
2974 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2975
2976         * buffer.C: fix a bug just introduced
2977
2978 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2979
2980         * buffer.[Ch]: added the parseError signal and use it, removed
2981         sgmlError
2982         * BufferView.[Ch] (addError): moved to ...
2983         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2984         to the Buffer::parseError signal to catch (guess what) parse errors
2985         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2986
2987 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2988
2989         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2990         ability to create a buffer and to return an existing one from
2991         the list. Moved these functions to...
2992         * buffer_funcs.[Ch]: added
2993         * BufferView.[Ch] (loadLyXFile): added
2994         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2995         job removed from bufferlist::loadLyXFile.
2996         * buffer.C (setReadOnly): make it work without view
2997         (i.e added an if (users))
2998
2999 2003-06-19  Angus Leeming  <leeming@lyx.org>
3000
3001         * lfuns.h:
3002         * LyXAction.C (init):
3003         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3004         with LFUN_DIALOG_SHOW <name> <data>.
3005
3006 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3007
3008         * CutAndPaste.C (availableSelections): small compilation fix for
3009         ancient (gcc 2.9x) compilers
3010
3011 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3012
3013         * text3.C (cursorNext): add tmp var
3014
3015         * text2.C (updateCounters): for function calling out of for clause
3016         (replaceSelectionWithString): ditto
3017         (insertStringAsParagraphs): ditto
3018         (getColumnNearX): add tmp var
3019         (setCursorFromCoordinates): add tmp var
3020         (cursorDownParagraph): add tmp var
3021         (deleteEmptyParagraphMechanism): add tmp var
3022
3023         * text.C (insertChar): add tmp var
3024
3025         * rowpainter.C (paintDepthBar): add tmp var
3026
3027         * CutAndPaste.C (availableSelections): potentially check all
3028         paragraphs in a cut to fill the shown strings.
3029
3030 2003-06-18  André Pönitz  <poenitz@gmx.net>
3031
3032         * kbmap.[Ch]: use vector<> instead of list<>
3033
3034 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3035
3036         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3037         pasteSelection with index
3038
3039         * text2.C (pasteSelection): modify, call pasteSelection with index
3040
3041         * paragraph.C (asString): reimplement version with no interval to
3042         call the one with interval.
3043
3044         * lyxtext.h: add index arg to pasteSelection
3045
3046         * MenuBackend.C (MenuItem): handle PasteRecent
3047         (Menu::read::Menutags): add md_pasterecent
3048         (read): handle it
3049         (expandPasteRecent): new function
3050         (expand): use it
3051
3052         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3053
3054         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3055         the limited stack
3056         (availableSelections): new function
3057
3058 2003-06-17  Angus Leeming  <leeming@lyx.org>
3059
3060         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3061
3062 2003-06-17  Angus Leeming  <leeming@lyx.org>
3063
3064         * lfuns.h:
3065         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3066
3067         * lyxfunc.C (dispatch): invoke it.
3068
3069 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3070
3071         * iterators.C (operator++, ParPosition): reintroduce some
3072         const_cast for the benefit of older compilers.
3073
3074 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3075
3076         * text3.C (dispatch): do not modify clipboard when doing
3077         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3078         LFUN_DELETE_SKIP on a selection selection
3079
3080 2003-06-16  André Pönitz  <poenitz@gmx.net>
3081
3082         * BufferView.C:
3083         * buffer.C:
3084         * buffer.h:
3085         * paragraph.C:
3086         * tabular.[Ch]: IU of clone() and getLabelList();
3087
3088 2003-06-13  André Pönitz  <poenitz@gmx.net>
3089
3090         * tabular.h: compactification
3091
3092 2003-06-12  André Pönitz  <poenitz@gmx.net>
3093
3094         * tabular.C:
3095         * tabular.h:
3096         * tabular_funcs.h: some renaming plus whitespace
3097
3098 2003-06-12  André Pönitz  <poenitz@gmx.net>
3099
3100         * BufferView.C:
3101         * BufferView_pimpl.C:
3102         * CutAndPaste.C:
3103         * buffer.C:
3104         * iterators.[Ch]:
3105         * lyxfunc.C:
3106         * text.C:
3107         * toc.C: Return a Paragraph & for ParIterator::operator*()
3108
3109 2003-06-11  John Levon  <levon@movementarian.org>
3110
3111         * lyx_main.C:
3112         * ToolbarBackend.h:
3113         * ToolbarBackend.C: add "Toolbars" section and
3114         put the flags there
3115
3116 2003-06-10  Angus Leeming  <leeming@lyx.org>
3117
3118         * lfuns.h:
3119         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3120
3121         * lyxfunc.C (dispatch): invoke it.
3122
3123 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3124
3125         * main.C: protect <ios> with HAVE_IOS
3126         (main): protect sync_with_stdio with HAVE_IOS
3127
3128 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3129
3130         * text2.C (cutSelection): adjust
3131         (pasteSelection): adjust
3132
3133         * messages.C: handle get of empty string
3134
3135         * main.C (main): use sync_with_stdio(false)
3136
3137         * lyxfunc.C (dispatch): adjust
3138
3139         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3140         (WriteAs): remove unneeded BufferView arg.
3141
3142         * bufferparams.h: use correct types on papersize, papersize2 and
3143         paperpackage.
3144
3145         * bufferparams.C (readToken): adjust for type
3146         (writeLaTeX): add missing cases to switch.
3147
3148         * bufferlist.C (quitWriteBuffer): adjust
3149         (close): adjust
3150
3151         * buffer.C (asciiParagraph): remove some commented code.
3152
3153         * CutAndPaste.C: remove current_view extern variable.
3154         (cutSelection): add BufferParams arg.
3155         (eraseSelection): add BufferParams arg.
3156         (pasteSelection): add Buffer const & arg
3157
3158 2003-06-07  John Levon  <levon@movementarian.org>
3159
3160         * buffer.C:
3161         * paragraph_funcs.C:
3162         * paragraph_pimpl.C:
3163         * text.C:
3164         * text2.C:
3165         * paragraph.h:
3166         * paragraph.C: allow InsetERT to freely space lines,
3167         and some consolidation of code
3168
3169 2003-06-06  José Matos  <jamatos@fep.up.pt>
3170
3171         * buffer.C (makeDocBookFile): fix bug #821
3172
3173 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3174
3175         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3176
3177 2003-06-04  Angus Leeming  <leeming@lyx.org>
3178
3179         * buffer.C: bump format to 224.
3180
3181 2003-06-05  André Pönitz  <poenitz@gmx.net>
3182
3183         * text2.C (redoParagraphs): remove two const_cast<>
3184
3185 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3186
3187         * ParagraphList.h: remove last remnants of NO_STD_LIST
3188
3189 2003-06-03  Angus Leeming  <leeming@lyx.org>
3190
3191         * factory.C (createInset): small change to the way InsetExternal's params
3192         are set.
3193
3194 2003-06-04  André Pönitz  <poenitz@gmx.net>
3195
3196         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3197
3198         * paragraph_pimpl.h:
3199         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3200
3201         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3202
3203         * undo_funcs.C: make some simple cases of undo work again
3204
3205 2003-06-03  John Levon  <levon@movementarian.org>
3206
3207         * ispell.C: HPUX doesn't have sys/select.h
3208         (from Albert Chin)
3209
3210 2003-06-03  John Levon  <levon@movementarian.org>
3211
3212         * CutAndPaste.C: update tabular and include inset
3213         buffer references
3214
3215         * buffer.h:
3216         * paragraph.h:
3217         * paragraph.C: remove owningBuffer(), don't pass Buffer
3218         to clone()
3219
3220         * factory.C: insetGraphicsParams changed
3221
3222 2003-06-02  John Levon  <levon@movementarian.org>
3223
3224         * LyXAction.C:
3225         * factory.C:
3226         * lfuns.h:
3227         * lyxfunc.C:
3228         * text3.C: remove insetparent
3229
3230 2003-06-02  John Levon  <levon@movementarian.org>
3231
3232         * buffer.h:
3233         * buffer.C: fix inset_iterator.end(), move out of line
3234         (bug 1149)
3235
3236 2003-06-01  John Levon  <levon@movementarian.org>
3237
3238         * text3.C: use a proper cut/paste when doing inset
3239         insert (from Jürgen Spitzmüller)
3240
3241 2003-06-01  John Levon  <levon@movementarian.org>
3242
3243         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3244
3245 2003-05-30  André Pönitz  <poenitz@gmx.net>
3246
3247         * rowpainter.C: unify second drawing phase
3248
3249 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3250
3251         * trans_mgr.C: remove one case of current_view
3252
3253         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3254
3255         * paragraph_funcs.h: remove paragraph.h include
3256
3257         * paragraph.h: delete NO_STD_LIST stuff
3258
3259         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3260
3261         * buffer.h: remove paragraph.h include
3262
3263         * ParagraphList.C: delete file
3264
3265         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3266
3267         * toc.C (getTocList): adjust
3268
3269         * paragraph_pimpl.C (validate): adjust
3270
3271         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3272
3273         * paragraph.C (Paragraph): adjust
3274         (getPositionOfInset): use const_iterator, adjust
3275         (bibitem): use const_iterator, adjust
3276         (setInsetOwner): adjust
3277
3278         * iterators.C (operator++): adjust
3279
3280         * InsetList.[Ch]: Replace selfmade iterator with standard
3281         vector::iterator also introduce const_iterator. Remove getPos,
3282         getInset and setInset from InsetTable. Adjust accordingly.
3283
3284         * BufferView.C (lockInset): adjust
3285         (ChangeInsets): adjust
3286
3287         * tabular.[Ch]: delete commented same_id functions
3288
3289 2003-05-28  John Levon  <levon@movementarian.org>
3290
3291         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3292
3293 2003-05-28  André Pönitz  <poenitz@gmx.net>
3294
3295         * metricsinfo.[Ch]: remove 'fullredraw' member
3296
3297 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3298
3299         * lyxtextclass.C (operator): remove caching.
3300
3301 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3302
3303         * text3.C: adjust
3304
3305         * text2.C (cursorBottom): adjust
3306         (setCounter): use ParagraphList::find, adjust
3307
3308         * text.C (workWidth): use ParagraphList::find, adjust
3309
3310         * lyxcursor.C (LyXCursor): adjust
3311
3312         * buffer.C (inset_iterator): adjust
3313
3314         * ParagraphList.h: make iterator(value_type) private, make
3315         ParagraphList a friend of iterator.
3316
3317         * ParagraphList.C (find): new function
3318
3319         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3320
3321 2003-05-27  André Pönitz  <poenitz@gmx.net>
3322
3323         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3324
3325 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3326
3327         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3328
3329 2003-05-26  John Levon  <levon@movementarian.org>
3330
3331         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3332
3333 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3334
3335         * remove same_id from function signatures, adjust.
3336
3337 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3338
3339         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3340
3341         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3342
3343         * paragraph.C (Paragraph): get rid of same_ids parameter
3344
3345         * ParagraphList.C (insert): adjust
3346         (push_back): adjust
3347
3348 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3349
3350         * paragraph_funcs.C (breakParagraph): adjust
3351         (breakParagraphConservative): adjust
3352
3353         * buffer.C (readParagraph): adjust
3354
3355         * ParagraphList.C (insert): take a reference instead of a pointer
3356         (insert): adjust
3357
3358         * paragraph.[Ch] (id): new function
3359
3360         * bufferlist.C (newFile): adjust
3361
3362         * ParagraphList.C (ParagraphList): adjust
3363         (assign): adjust
3364         (push_back): take a reference instead of a pointer.
3365
3366         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3367
3368         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3369         instead.
3370
3371         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3372         set else use old code.
3373
3374         * ParagraphList.C: remove all NO_NEXT code and only compile this
3375         code of NO_STD_LIST is set.
3376
3377 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3378
3379         * BufferView_pimpl.C:
3380         * TextCache.C:
3381         * TextCache.h:
3382         * bufferlist.C:
3383         * errorlist.h:
3384         * format.C:
3385         * format.h:
3386         * graph.C:
3387         * lyxfunc.C:
3388         * lyxrc.C:
3389         * graphics/GraphicsConverter.C:
3390         * graphics/PreviewLoader.C: header adjustment
3391
3392 2003-05-23  Angus Leeming  <leeming@lyx.org>
3393
3394         * LaTeXFeatures.[Ch] (useBabel): new method.
3395         * bufferparams.C (writeLaTeX): use it.
3396
3397 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3398
3399         * ParagraphList.h (set): remove unused function.
3400
3401 2003-05-23  André Pönitz  <poenitz@gmx.net>
3402
3403         * BufferView.C:
3404         * BufferView_pimpl.C:
3405         * buffer.C:
3406         * buffer.h:
3407         * lyxfunc.C:
3408         * undo_funcs.C: setUndo reworked
3409
3410         * iterators.[Ch]: add access to topmost ParagraphList
3411
3412         * lyxtext.[Ch] (workWidth): add a const
3413
3414 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3415
3416         * texrow.[Ch] (increasePos): remove function
3417         * exporter.C (export): removed unused var and outdated comment
3418
3419 2003-05-23  Angus Leeming  <leeming@lyx.org>
3420
3421         * latexrunparams.h: rename fragile as moving_arg.
3422         * paragraph.C (simpleTeXOnePar): ditto.
3423         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3424
3425 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3426
3427         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3428         (createUndo): ditto
3429         (textUndoOrRedo): comment out a currently unused var.
3430
3431         * paragraph.h (NO_NEXT): enable NO_NEXT
3432
3433         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3434
3435         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3436
3437         * exporter.C (Export): adjust for removeAutoInsets removal.
3438
3439         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3440
3441         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3442
3443         * BufferView.[Ch] (removeAutoInsets): delete function
3444
3445 2003-05-22  Angus Leeming  <leeming@lyx.org>
3446
3447         * latexrunparams.h: add a free_spacing variable.
3448
3449         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3450         to pass moving_arg, as the data is stored in runparams.fragile.
3451
3452         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3453         to Inset::latexOptional or to simpleTeXOnePar.
3454
3455         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3456         free_spacing arg to Inset::latexOptional.
3457
3458         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3459         free_spacing arg.
3460
3461 2003-05-22  Angus Leeming  <leeming@lyx.org>
3462
3463         * latexrunparams.h: add fragile and use_babel variables.
3464
3465         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3466         * buffer.C (makeLaTeXFile): store this returned value in
3467         runparams.use_babel, thus passing it to the inset::latex methods.
3468
3469         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3470         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3471
3472         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3473         longer has a fragile arg, as it is stored in runparams.fragile.
3474
3475         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3476         moving_arg parameter as the data is stored in runparams.fragile.
3477
3478         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3479         a fragile parameter as the data is stored in runparams.fragile.
3480
3481 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3482
3483         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3484
3485 2003-05-22  Angus Leeming  <leeming@lyx.org>
3486
3487         * latexrunparams.h: add a 'bool nice' which defaults to false.
3488
3489         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3490         now encapsulated within runparams.
3491
3492         * bufferlist.C (updateIncludedTeXfiles):
3493         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3494
3495 2003-05-22  Angus Leeming  <leeming@lyx.org>
3496
3497         * latexrunparams.h: new file containing struct LatexRunParams.
3498         * Makefile.am: add new file.
3499
3500         * LaTeX.[Ch] (c-tor, run):
3501         * buffer.[Ch] (makeLaTeXFile):
3502         * bufferlist.[Ch] (updateIncludedTeXfiles):
3503         * converter.C (convert, scanLog):
3504         * converter.[Ch] (runLaTeX):
3505         * exporter.C (Export):
3506         * paragraph.[Ch] (simpleTeXOnePar):
3507         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3508         * paragraph_funcs.[Ch] (latexParagraphs):
3509         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3510         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3511         pass around a LatexRunParams parameter.
3512
3513 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3514
3515         * paragraph.[Ch]: remove unused constructor
3516
3517         * ParagraphList.C (erase): new function, taking two iterators
3518
3519 2003-05-22  André Pönitz  <poenitz@gmx.net>
3520
3521         * undo_funcs.C: remove duplicated code
3522
3523         * iterator.[Ch]: operator=
3524
3525 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3526
3527         * tabular.C (SetMultiColumn): ws changes
3528
3529         * rowpainter.C (paintFirst): get rid of a ->previous
3530
3531         * lyx_cb.C (getPossibleLabel): parlist simplification
3532
3533         * BufferView.C (ChangeInsets): simplify slightly.
3534
3535 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3536
3537         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3538         * lfuns.h: new LFUN_SPACE
3539         * lyxfunc.C: protected space has a new lfun
3540         * paragraph_funcs.C: read new space insets
3541         * text3.C:
3542         * factory.C: handle new space insets
3543
3544 2003-05-22  André Pönitz  <poenitz@gmx.net>
3545
3546         * BufferView.C:
3547         * BufferView_pimpl.C:
3548         * buffer.[Ch]:
3549         * lyxfunc.C:
3550         * undo_funcs.C: return a ParIterator from getParFromID.
3551
3552         * iterators.[Ch]: add two const's
3553
3554 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3555
3556         * toc.C (getTocList): adjust
3557
3558         * iterators.[Ch]: rework for parlist
3559
3560         * buffer.C (par_iterator_begin): adjust
3561         (par_iterator_end): adjust
3562
3563         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3564
3565         * BufferView.C (removeAutoInsets): adjust
3566         (ChangeInsets): adjust
3567
3568 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3569
3570         * text.C (top_y): fix bug 1110
3571
3572 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3573
3574         * errorlist.[Ch]: added
3575         * buffer.C:
3576         * BufferView.[Ch]:
3577         * BufferView_pimpl.C:
3578         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3579         instead
3580
3581 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3582
3583         * Makefile.am: ensure that lyx is relinked upon changes to the
3584         various "convenience" libs.
3585
3586 2003-05-20  Angus Leeming  <leeming@lyx.org>
3587
3588         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3589         files are compiled in alphabetical order again.
3590
3591         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3592
3593 2003-05-19  Angus Leeming  <leeming@lyx.org>
3594
3595         * gettext.[Ch]: remove "char const * _(char const *)".
3596
3597 2003-05-19  André Pönitz  <poenitz@gmx.net>
3598
3599         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3600
3601         * Makefile.am:
3602         * BufferView.C:
3603         * DepTable.h:
3604         * LaTeXFeatures.C:
3605         * buffer.C:
3606         * lyxfont.C:
3607         * lyxlex.h:
3608         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3609
3610 2003-05-19  André Pönitz  <poenitz@gmx.net>
3611
3612         * buffer.C:
3613         * lyxlayout.[Ch]:
3614         * lyxtextclass.[Ch]:
3615         * paragraph.C:
3616         * paragraph_funcs.[Ch]:
3617         * text2.C:
3618         * text3.C: more insetenv work
3619
3620 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3621
3622         * ParagraphParameters.C (params2string): small bug fixed
3623
3624 2003-05-16  André Pönitz  <poenitz@gmx.net>
3625
3626         * debug.C:
3627         * bufferview_funcs.C: patch from Kornel Benko to prevent
3628           crash when _(...) is called twice in a statement
3629
3630 2003-05-16  André Pönitz  <poenitz@gmx.net>
3631
3632         * BufferView.C:
3633         * lyxfunc.C:
3634         * text.C:
3635         * text2.C:
3636         * text3.C:
3637         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3638
3639 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3640
3641         * lyx_main.C (init): remove spurious static_cast
3642
3643 2003-05-14  André Pönitz  <poenitz@gmx.net>
3644
3645         * BufferView.C: fix format string
3646
3647 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3648
3649         * BufferView.[Ch] (insertErrors): removed
3650         * BufferView.[Ch] (showErrorList): added
3651         * buffer.C (runChkTeX):
3652         * converter.C (scanLog): call showErrorList instead of inserterrors
3653
3654 2003-05-13  André Pönitz  <poenitz@gmx.net>
3655
3656         * BufferView_pimpl.C:
3657         * buffer.C:
3658         * bufferview_func.C:
3659         * MenuBackend.C:
3660         * lyxfunc.C:
3661         * lyxrc.C:
3662         * tex-accent.C:
3663         * text3.C:
3664         * toc.C:
3665         * tabular_funcs.h: tostr() from its own header
3666
3667         * ParagraphParameters.C:
3668         * ToolbarBackend.C:
3669         * bufferparams.C:
3670         * format.C:
3671         * lyxlex_pimpl.C:
3672         * text3.C: STRCONV()
3673
3674 2003-05-12  André Pönitz  <poenitz@gmx.net>
3675
3676         * BufferView.C:
3677         * BufferView_pimpl.C:
3678         * CutAndPaste.C:
3679         * LaTeX.C:
3680         * LaTeXFeatures.C:
3681         * ParagraphParameters.C:
3682         * buffer.C:
3683         * bufferlist.C:
3684         * bufferparams.C:
3685         * bufferview_funcs.C:
3686         * converter.C:
3687         * counters.C:
3688         * debug.C:
3689         * exporter.C:
3690         * format.C:
3691         * importer.C:
3692         * lyx_cb.C:
3693         * lyx_main.C:
3694         * lyxfont.C:
3695         * lyxfunc.C:
3696         * lyxvc.C:
3697         * paragraph.C:
3698         * paragraph_funcs.C:
3699         * tabular.C:
3700         * tabular_funcs.C:
3701         * text2.C:
3702         * text3.C:  boost::format -> bformat  all over the place
3703
3704
3705 2003-05-09  André Pönitz  <poenitz@gmx.net>
3706
3707         * LColor.[Ch]: Pimpl the #include <map> away
3708
3709 2003-05-09  John Levon  <levon@movementarian.org>
3710
3711         * bufferlist.C: never remove emergency saves
3712
3713 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3714
3715         * Makefile.am: better lib building
3716
3717 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3718
3719         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3720         instead.
3721         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3722         (simpleTeXSpecialChars): adjust
3723         (simpleTeXSpecialChars): adjust
3724         * paragraph.C (simpleTeXOnePar): adjust
3725         * buffer.C (makeLaTeXFile): adjust
3726
3727         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3728
3729         * text2.C (changeDepth): parlist cleanup
3730         (getColumnNearX): ditto
3731
3732         * rowpainter.C (getLabelFont): parlist cleanup
3733
3734         * bufferlist.C (newFile): parlist cleanup
3735
3736         * CutAndPaste.C (eraseSelection): parlist cleanup
3737
3738         * BufferView_pimpl.C (trackChanges): parlist cleanup
3739         (dispatch): ditto
3740
3741         * BufferView.C (lockInset): parlist cleanup.
3742         (ChangeInsets): ditto
3743
3744 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3745
3746         * CutAndPaste.h: Update file header.
3747
3748         * CutAndPaste.C: Update file header.
3749         Store the parts cut out of the Document in a limited_stack.
3750         (copySelection): adjust
3751         (pasteSelection): new function, takes the index in the limited stack.
3752         (nrOfParagraphs): adjust
3753         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3754         simplify error inset insertion.
3755         (checkPastePossible): adjust
3756
3757 2003-05-06  John Levon  <levon@movementarian.org>
3758
3759         * text2.C: don't cast wrap inset to float
3760
3761 2003-05-05  André Pönitz  <poenitz@gmx.net>
3762
3763         * iterator.C:
3764         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3765
3766         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3767           few naked Paragraph *.
3768
3769 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3770
3771         * bufferparams.C: Output warning if a document with missing
3772         TeX document class is loaded
3773         * exporter.C: Disable TeX exports if the document class is missing
3774         * lyxtextclass.C:
3775         * lyxtextclass.h:
3776         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3777         isTeXClassAvailable()
3778
3779 2003-05-03  John Levon  <levon@movementarian.org>
3780
3781         * BufferView.h:
3782         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3783         explicit cursor show/hide
3784
3785         * BufferView_pimpl.h:
3786         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3787         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3788
3789         * lyxfunc.C: hide cursor before dispatching.
3790
3791         * lyx_cb.C:
3792         * lyxfind.C:
3793         * text.C:
3794         * text3.C: remove explicit cursor hides
3795
3796 2003-05-02  André Pönitz  <poenitz@gmx.net>
3797
3798         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3799
3800         * undo_funcs.C:
3801         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3802           linked lists
3803
3804         * text2.C: tiny whitespace
3805
3806 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3807
3808         * undo_funcs.C: almost only ws changes.
3809
3810         * ParagraphList.C (splice): just return if pl is empty.
3811
3812 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3813
3814         * ParagraphList.C (splice): new function.
3815
3816         * CutAndPaste.C (pasteSelection): use it
3817
3818 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3819
3820         * CutAndPaste.C (pasteSelection): remove the last next and
3821         previous from this file.
3822
3823 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3824
3825         * CutAndPaste.C (pasteSelection): more clean up, user proper
3826         ParagraphList functions for pasteing.
3827
3828         * ParagraphList.C (insert): new function, three arg insert
3829
3830 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3831
3832         * ParagraphList.C (insert): new function, three arg insert
3833
3834         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3835         not on paragraphs.
3836
3837 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3838
3839         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3840
3841 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3842
3843         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3844
3845 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3846
3847         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3848         (copySelection): clean up a bit.
3849         (pasteSelection): use make_pair
3850
3851         * ParagraphList.C (ParagraphList): implement copy constructor
3852         (operator=): implement, base on copy constructor.
3853         (assign): new func
3854
3855         * paragraph.C (erase): return a bool
3856
3857         * paragraph_pimpl.C (erasePos): remove function, move contents...
3858         (erase): ... here. Return a bool.
3859         (erase): call erase instead of erasePos.
3860
3861 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3862
3863         * ParagraphList.h: define PitPosPair
3864         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3865         ParagraphList, fix a bug on pasting multiple pars
3866         * text2.C: change interface to C&P
3867
3868 2003-04-30  André Pönitz  <poenitz@gmx.net>
3869
3870         * undo_func.C: revert part of yesterday's patch 2
3871
3872 2003-04-30  John Levon  <levon@movementarian.org>
3873
3874         * LColor.C: s/tabular/table/
3875
3876 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3877
3878         * text3.C (dispatch): do not convert iterator -> pointer
3879         * undo_funcs.C (setCursorParUndo): ditto
3880         * text_funcs.C (transposeChars): ditto
3881
3882         * text2.C (setLayout): ws changes only
3883
3884         * text.C (breakParagraph): do not convert iterator -> pointer
3885         (insertChar): ditto
3886         (acceptChange): ditto
3887         (rejectChange): ditto
3888         (changeCase): ditto
3889         (Delete): ditto
3890         (backspace): ditto
3891
3892         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3893         pointer
3894
3895 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3896
3897         * text3.C (gotoInset): YABG (yet another bad getChar)
3898
3899 2003-04-29  André Pönitz  <poenitz@gmx.net>
3900
3901         * paragraph.h: make operator= private unimplemented as long as
3902           it is unusable
3903
3904         * ParagraphList.C: whitespace
3905
3906         * paragraph.[Ch]:
3907         * paragraph_pimpl.[Ch]:
3908         * paragraph_funcs.C:
3909         * CutAndPaste.C:
3910         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3911
3912         * text2.C:
3913           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3914
3915 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3916
3917         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3918         * paragraph.[Ch] (erase):
3919         * paragraph_pimpl.[Ch] (erase): change return type and value
3920         * text2.C (cutSelection): some rework
3921
3922 2003-04-28  John Levon  <levon@movementarian.org>
3923
3924         * bufferlist.C: changes for unsaved changes dialog
3925
3926 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3927
3928         * bufferlist.C (newFile): set language (messages_) for new
3929         documents also.
3930
3931         * buffer.C (readFile): ws changes only.
3932
3933 2003-04-28  André Pönitz  <poenitz@gmx.net>
3934
3935         * undo_funcs.C:
3936         * lyxfunc.C:
3937         * buffer.[Ch]:
3938         * BufferView_pimpl.C:
3939         * BufferView.C: getParFromID related ParagraphList::iterator changes
3940
3941 2003-04-28  André Pönitz  <poenitz@gmx.net>
3942
3943         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3944           Changes
3945
3946 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3947
3948         * messages.C: remove one more localedir class variable.
3949
3950 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3951
3952         * messages.C (getLocaleDir): singleton generation function
3953         (Pimpl): use it.
3954         (Messages): add a default constructor.
3955
3956         * main.C (main): do not setup localedir here, do not call
3957         gettext_init.
3958
3959         * gettext.C (_): use it.
3960         (gettext_init): delete funciton
3961
3962 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3963
3964         * gettext.C (getLyXMessages): new singleton generating function.
3965
3966         * buffer.C (updateDocLang): adjust
3967
3968         * Makefile.am (messages.o): add target
3969         (main.o): remove target
3970
3971 2003-04-27  John Levon  <levon@movementarian.org>
3972
3973         * bufferlist.C:
3974         * lyx_cb.C:
3975         * lyxfunc.C:
3976         * lyxvc.C: specify cancel button in Alert::prompt
3977
3978 2003-04-26  John Levon  <levon@movementarian.org>
3979
3980         * text3.C:
3981         * lyxfunc.C:
3982         * lfuns.h:
3983         * LyXAction.C: add LFUN_INSET_SETTINGS
3984
3985         * lyxfunc.C: don't enable tabular-feature when there's
3986         just any locking inset
3987
3988 2003-04-26  John Levon  <levon@movementarian.org>
3989
3990         * bufferlist.C: re-add Cancel to buffer close question
3991
3992         * lyxfunc.C: fix import UI a bit
3993
3994 2003-04-25  John Levon  <levon@movementarian.org>
3995
3996         * gettext.C: remove the broken asserts for now
3997
3998 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3999
4000         * messages.C: make case where setlocale cannot comply work better.
4001
4002         * buffer.C (updateDocLang): new function
4003         (changeLanguage): use it
4004         (readFile): use it
4005
4006         * text2.C (setCounter): use B_ a bit.
4007
4008         * lyxlayout.C (Read): be sure to trim the label strings.
4009
4010         * messages.C (Messages): fix typo in comment
4011
4012         * buffer.C (readFile): set message_ after file is loaded.
4013         (makeDocBookFile): remove double return
4014         (changeLanguage): reset message_ upon language change.
4015         (B_): new func, use this to get translated buffer strings.
4016
4017         * main.C: add myself and Jean Marc as authors.
4018
4019 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4020
4021         * messages.[hC]: pimplify Messages, and three different pimpls to be
4022         used in different circumstances.
4023
4024         * gettext.[Ch]: change for use with new message code.
4025
4026 2003-04-24 André Pönitz <poenitz@gmx.net>
4027
4028         * factory.C: support for eqref
4029
4030 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4031
4032         * messages.[Ch]: add missing char
4033
4034         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4035
4036         * messages.[Ch]: New files
4037
4038 2003-04-18  John Levon  <levon@movementarian.org>
4039
4040         * BufferView.h:
4041         * BufferView.C:
4042         * BufferView_pimpl.C:
4043         * lfuns.h:
4044         * LyXAction.C:
4045         * lyxtext.h:
4046         * text2.C: remove layout-copy/paste (bug 778)
4047
4048 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4049
4050         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4051
4052 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4053
4054         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4055         if they succeed. Act accordingly.
4056
4057 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4058
4059         * text2.C (setCharFont): adjust
4060         (setCounter): adjust
4061         (insertStringAsLines): adjust
4062
4063         * text.C (leftMargin): adjust
4064         (setHeightOfRow): adjust
4065
4066         * rowpainter.C (paintFirst): adjust
4067         (paintLast): adjust
4068
4069         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4070         (outerHook): ditto
4071         (isFirstInSequence): ditto
4072         (getEndLabel): ditto
4073         (outerFont): adjust
4074
4075         * paragraph.C (getParLanguage): comment out some hard stuff.
4076
4077         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4078         (sgmlError): ditto
4079         (simpleDocBookOnePar): ditto
4080         (makeDocBookFile): use ParagraphList::iterator
4081
4082         * CutAndPaste.C (pasteSelection): adjust
4083
4084 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4085
4086         * text2.C (getFont): adjust
4087         (getLayoutFont): adjust
4088         (getLabelFont): adjust
4089
4090         * paragraph_funcs.C (TeXOnePar): adjust
4091
4092         * buffer.C (simpleLinuxDocOnePar): adjust
4093         (simpleDocBookOnePar): adjust
4094
4095         * CutAndPaste.C (pasteSelection): adjust
4096
4097         * BufferView.C (getEncoding): adjust
4098
4099         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4100
4101 2003-04-16  John Levon  <levon@movementarian.org>
4102
4103         * lyxfind.C: use parlist stuff for search/changes
4104
4105 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4106
4107         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4108
4109         * text2.C (deleteEmptyParagraphMechanism): adjust
4110
4111         * text2.[Ch] (ownerParagraph): delete func (both of them
4112
4113 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4114
4115         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4116
4117 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4118
4119         * ParagraphList.C: prepare for NO_NEXT
4120
4121 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4122
4123         * text2.C (getFont): adjust
4124         (getLayoutFont): adjust
4125         (getLabelFont): adjust
4126
4127         * paragraph.C (getFont): adjust
4128         (getLabelFont): adjust
4129         (getLayoutFont): adjust
4130
4131         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4132
4133 2003-04-15  John Levon  <levon@movementarian.org>
4134
4135         From Angus Leeming
4136
4137         * lyx_main.C: handle Include in .ui files
4138
4139 2003-04-15  John Levon  <levon@movementarian.org>
4140
4141         * MenuBackend.C: make the doc files length shorter
4142
4143         * ToolbarBackend.h:
4144         * ToolbarBackend.C: handle toolbar placement flags,
4145         Minibuffer
4146
4147 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4148
4149         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4150         adjust
4151
4152         * paragraph_funcs.C (TeXOnePar): adjust
4153
4154         * paragraph.C (getLabelFont): add outerfont arg, adjust
4155         (getLayoutFont): ditto
4156         (simpleTeXOnePar): adjust
4157
4158         * paragraph_pimpl.C (realizeFont): delete func
4159
4160 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4161
4162         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4163         row argument, constify cur argument.
4164
4165 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4166
4167         * text2.C (getFont): adjust
4168         (getLayoutFont): adjust
4169         (getLabelFont): adjust
4170
4171         * paragraph_funcs.C (TeXOnePar): adjust
4172         (outerFont): new func...
4173         (realizeFont): ...moved out from here, changed this to facilitate
4174         transition
4175
4176         * paragraph.C (getFont): take outerfont as arg, adjust
4177         (simpleTeXOnePar): add outerfont arg, adjust
4178
4179         * buffer.C (simpleLinuxDocOnePar): adjust
4180         (simpleDocBookOnePar): adjust
4181
4182         * CutAndPaste.C (pasteSelection): adjust
4183
4184         * BufferView.C (getEncoding): adjust
4185
4186 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4187
4188         * text2.C (setCharFont): adjust
4189         (setCounter): adjust
4190
4191         * text.C (leftMargin): adjust
4192         (setHeightOfRow): adjust
4193
4194         * rowpainter.C (paintFirst): adjust
4195         (paintLast): adjust
4196
4197         * paragraph_pimpl.C (realizeFont): adjust
4198
4199         * paragraph.C (isFirstInSequence): move from here...
4200         * paragraph_funcs.C (isFirstInSequence): ...to here
4201
4202         * paragraph.C (outerHook): move from here...
4203         * paragraph_funcs.C (outerHook): ...to here
4204
4205         * paragraph.C (depthHook): move from here...
4206         * paragraph_funcs.C (depthHook): ...to here
4207
4208         * paragraph.C (getEndLabel): move from here...
4209         * paragraph_funcs.C (getEndLabel): ...to here
4210
4211         * text2.C (realizeFont): move from here...
4212         * paragraph_funcs.C (realizeFont): ...to here
4213
4214 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4215
4216         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4217
4218 2003-04-14  Angus Leeming  <leeming@lyx.org>
4219
4220         * LColor.[Ch]: scrap LColor mathcursor.
4221
4222 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4223
4224         * lyxlex.[Ch] (text): delete function
4225         * trans.C (Load): adjust
4226         * paragraph_funcs.C (readParToken): adjust
4227
4228 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4229
4230         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4231         vector<char> instead of a char[].
4232
4233         * lyxlex_pimpl.C (getString): adjust
4234         (next): adjust
4235         (lex): use getString
4236         (eatLine): adjust
4237         (nextToken): adjust
4238
4239         * lyxlex.C (text): use pimpl_->getString()
4240         (getBool): ditto
4241         (findToken): ditto
4242
4243 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4244
4245         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4246         (makeFontEntriesLayoutSpecific): temp var for par.size()
4247         (setLayout): temp var for ownerParagraphs().end()
4248         (fullRebreak): temp var for rows().end()
4249         (selectionAsString): temp var for boost::next(startpit), realize
4250         that the while really is a regular for loop.
4251         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4252         setCursor in one place.
4253         (setParagraph): temp vr for ownerParagraphs().end()
4254         (updateCounters): make the while loop a for loop
4255         (cutSelection): temp var for ownerParagraphs().end()
4256         (updateInset): make the do {} while() a regular for loop
4257         (getCursorX): use temp vars
4258         (setCurrentFont): use temp vars
4259         (getColumnNearX): use temp vars
4260
4261 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4262
4263         * text.C (transformChar): use temp var for getChar
4264         (computeBidiTables): use temp var for row->par()
4265         (fill): move temp vars for row->par() and pit->layout() earlier in
4266         the function.
4267         (labelFill): use temp var for row->par()
4268         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4269         asc and desc, realize that pit never changes and that firstpit is
4270         just a duplicate and not needed. Exchange rit->par() with pit in a
4271         lot of places.
4272         (breakAgain): use a temp var for boost::next(rit)
4273         (breakAgainOneRow): ditto
4274         (breakParagraph): use a temp var for rows().begin()
4275         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4276         (cursorRightOneWord): use temp var for cursor.par() and
4277         cursor.pos(), remove usage of tmpcursor.
4278         (cursorLeftOneWord): use temp var for cursor.par() and
4279         cursor.pos() only set cur at end of function.
4280
4281 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4282
4283         * text.C, text2.C: exchange all usage of Paragraph::next with
4284         boost::next(ParagraphList::iterator)
4285
4286         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4287
4288         * text2.C (cursorTop): simplify implementation
4289         (cursorBottom): ditto
4290         (setParagraph): use ParagraphList::iterator
4291         (setCurrentFont): adjust
4292         (getColumnNearX): adjust
4293         (cursorRight): adjust
4294         (cursorLeft): remove usage of Paragraph::previous
4295         (cursorUpParagraph): ditto
4296         (deleteEmptyParagraphMechanism): slight cleanup
4297
4298         * text.C (isBoundary): take a Paragraph const & instead of a
4299         pointer as arg.
4300         (addressBreakPoint): ditto
4301         (leftMargin): remove usage of Paragraph::previous.
4302         (setHeightOfRow): ditto
4303         (cursorLeftOneWord): ditto
4304         (selectNextWordToSpellcheck): ditto
4305         (Delete): ditto
4306         (backspace): ditto
4307         (breakParagraph): remove one usage of Paragraph::next
4308         (redoParagraph): ditto
4309         (acceptChange): ditto
4310         (insertChar): adjust
4311         (rowBreakPoint): adjust
4312
4313         * bufferview_funcs.C (toggleAndShow): adjust
4314
4315 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4316
4317         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4318         methods to access it.
4319         * lyxtext.h:
4320         * text.C: Added updateRowPositions to compute all row positions.
4321         Make top_y and getRowNearY() to use the cached y position
4322
4323 2003-04-11  John Levon  <levon@movementarian.org>
4324
4325         * text.C (rowBreakPoint): reintroduce the labelEnd
4326         checks, code copied from the row fill stuff. Deep voodoo.
4327
4328         * text.C (fill): add a comment and debugging for the
4329         next poor soul.
4330
4331 2003-04-11  John Levon  <levon@movementarian.org>
4332
4333         * text.C: make sure fullrow insets get wrapped to the next line,
4334         even when they're in a manual label
4335
4336 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4337
4338         * text2.C (insertParagraph): make it take ParagraphList::iterator
4339         as arg.
4340         (setLayout): make it return ParagraphList::iterator
4341         (redoParagraphs): ditto
4342         (setCounter): ditto
4343         (checkParagraph): ditto
4344
4345         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4346
4347         * text2.C: adjust several funcs.
4348         (realizeFont): take a ParagraphList::iterator as arg.
4349         (getLayoutFont): ditto
4350         (getLabelFont): ditto
4351         (setCharFont): ditto
4352
4353         * text.C: adjust several funcs.
4354
4355 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4356
4357         * text.C (selectNextWordToSpellcheck): don't accidentally
4358         skip insets
4359
4360 2003-04-10  John Levon  <levon@movementarian.org>
4361
4362         * ToolbarBackend.C (getIcon): special handling for
4363         LFUN_MATH_DELIM
4364
4365 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4366
4367         * text2.C (cursorRight): a getChar assert fixed
4368
4369 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4370
4371         * text2.C (getFont): change to take a ParagraphList::iterator
4372         instead of Paragraph*
4373         Adjust several functions.
4374
4375         * text.C (transformChar): change to take a ParagraphList::iterator
4376         instead of Paragraph*
4377         (singleWidth): ditto
4378         Adjust several functions.
4379
4380         * rowpainter.C: adjust several functions
4381         * rowpainter.h:store a ParagraphList::iterator and not a
4382         Paragraph&.
4383
4384
4385 2003-04-09  John Levon  <levon@movementarian.org>
4386
4387         * lyxfunc.C:
4388         * lfuns.h:
4389         * LyXAction.h:
4390         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4391         and the "help" bits as well
4392
4393 2003-04-09  John Levon  <levon@movementarian.org>
4394
4395         * ToolbarBackend.h:
4396         * ToolbarBackend.C: allow multiple toolbars
4397
4398 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4399
4400         * undo_funcs.C (setCursorParUndo): adjust
4401
4402         * text_funcs.C (transposeChars): adjust
4403
4404         * text3.C (gotoNextInset): adjust
4405         (dispatch): adjust
4406
4407         * text2.C (setLayout): adjust
4408         (changeDepth): adjust
4409         (setFont): adjust
4410         (redoParagraphs): adjust
4411         (selectionAsString): adjust
4412         (setParagraph): adjust
4413         (insertInset): adjust
4414         (cutSelection): adjust
4415         (copySelection): adjust
4416         (pasteSelection): adjust
4417         (insertStringAsLines): adjust
4418         (updateInset): adjust
4419         (setCursor): change to take a ParagraphList::iterator parameter
4420         (setCursorIntern): change to take a ParagraphList::iterator parameter
4421         (setCurrentFont): adjust
4422         (cursorLeft): adjust
4423         (cursorRight): adjust
4424         (deleteEmptyParagraphMechanism): adjust
4425
4426         * text.C (breakParagraph): adjust
4427         (insertChar): adjust
4428         (acceptChange): adjust
4429         (rejectChange): adjust
4430         (selectNextWordToSpellcheck): adjust
4431         (changeCase): adjust
4432         (Delete): adjust
4433         (backspace): adjust
4434
4435         * lyxfind.C (SearchForward): adjust
4436         (SearchBackward): adjust
4437         (nextChange): adjust
4438
4439         * lyxcursor.C (par): adjust
4440
4441         * lyxcursor.h: store a ParagraphList::iterator instead of a
4442         Paragraph*
4443
4444         * lyx_cb.C (getPossibleLabel): adjust
4445
4446         * bufferview_funcs.C (toggleAndShow): adjust
4447
4448         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4449         (dispatch): adjust
4450
4451         * BufferView.C (removeAutoInsets): adjust
4452         (lockedInsetStoreUndo): adjust
4453
4454 2003-04-09  John Levon  <levon@movementarian.org>
4455
4456         * ToolbarBackend.C: try icon without argument
4457         if with argument fails
4458
4459 2003-04-08  John Levon  <levon@movementarian.org>
4460
4461         * ToolbarBackend.h:
4462         * ToolbarBackend.C: add getIcon(), handle tooltip,
4463         and change from "Icon" to "Item".
4464
4465 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4466
4467         * BufferView.C (lockInset): another bad getchar crunched
4468
4469 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4470
4471         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4472         again)
4473
4474 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4475
4476         * lyxfind.C (searchForward, searchBackwards): bug 782
4477
4478 2003-04-07  John Levon  <levon@movementarian.org>
4479
4480         * paragraph.C: remove dead comment
4481
4482         * text.C: remove troublesome depth-fiddling code
4483         in leftMargin() and rightMargin() (bug 1017)
4484
4485         * text.C: fix breaking of rows in nested lists
4486         (bug 1004)
4487
4488         * text2.C (updateCounters): fix up depth values
4489         (bug 1013)
4490
4491 2003-04-07  John Levon  <levon@movementarian.org>
4492
4493         * BufferView_pimpl.C: clear message when doc finishes resizing,
4494         and after a mouse event
4495
4496         * lyxfunc.C: clear message after exiting inset
4497
4498 2003-04-07  John Levon  <levon@movementarian.org>
4499
4500         * bufferview_funcs.C: show math status not outside
4501         status in the statusbar
4502
4503 2003-04-07  John Levon  <levon@movementarian.org>
4504
4505         * lyxfunc.C: note status changed after a depth change
4506
4507 2003-04-04  Angus Leeming  <leeming@lyx.org>
4508
4509         * LaTeX.h: move AuxInfo operator==, != out of line.
4510         Remove LaTeX virtual destructor; nothing derives from it.
4511         Move operator()() out of public area and rename it startscript().
4512         Change protected for private.
4513
4514 2003-04-04  Angus Leeming  <leeming@lyx.org>
4515
4516         * lyxfunc.C:
4517         * text2.C: remove unneeded #includes.
4518
4519 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4520
4521         * text2.C (dEPM): fix the heigth of the next row
4522
4523 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4524
4525         * text.C: squashed an invalid getChar requester + some ws changes
4526
4527 2003-04-03  John Levon  <levon@movementarian.org>
4528
4529         * bufferview_funcs.h:
4530         * bufferview_funcs.C:
4531         * lyxfunc.C:
4532         * lyxtext.h:
4533         * text2.C: make getStatus work for the env depth lfuns
4534
4535 2003-04-03  John Levon  <levon@movementarian.org>
4536
4537         * bufferview_funcs.h:
4538         * bufferview_funcs.C:
4539         * lyxfunc.C:
4540         * lyxtext.h:
4541         * text2.C: parlistize decDepth(), by merging it with incDepth()
4542
4543 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4544
4545         * lyxrow.h: store a ParagraphList::iterator instead of a
4546         Paragraph* and adjust other class functions to suit.
4547
4548         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4549         above.
4550
4551 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4552
4553         * text2.C (setCursor): do not anchor to cursor row for the time being
4554
4555 2003-04-02  John Levon  <levon@movementarian.org>
4556
4557         * LyXAction.C:
4558         * lfuns.h:
4559         * lyx_main.C:
4560         * lyxtext.h:
4561         * text.C:
4562         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4563
4564 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4565
4566         * paragraph.h: make ParagraphList and ParagraphList::iterator
4567         friends of Paragraph.
4568
4569         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4570
4571         * ParagraphList.C: Use the private next_ and previous_ from
4572         Paragraph.
4573
4574 2003-04-01  John Levon  <levon@movementarian.org>
4575
4576         * ToolbarBackend.h:
4577         * ToolbarBackend.C:
4578         * Makefile.am: rename, remove defaults gunk
4579
4580         * MenuBackend.h:
4581         * MenuBackend.C: remove defaults gunk
4582
4583         * Languages.h:
4584         * Languages.C: remove defaults gunk
4585
4586         * lyx_main.h:
4587         * lyx_main.C: error out if files couldn't be found.
4588
4589 2003-04-02  John Levon  <levon@movementarian.org>
4590
4591         * text2.C: make incDepth() use parlist
4592
4593 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4594
4595         * undo_funcs.C (firstUndoParagraph): adjust
4596
4597         * text3.C (gotoInset): adjust
4598         (dispatch): adjust, and rewrite loop.
4599
4600         * text2.C (init): adjust, and rewrite loop.
4601         (redoParagraphs): adjust
4602         (updateInset): adjust, and rewrite loop.
4603         (deleteEmptyParagraphMechanism): adjust
4604
4605         * tabular.C (LyXTabular): adjust
4606         (SetMultiColumn): adjust
4607         (TeXRow): adjust
4608
4609         * lyxtext.[Ch] (ownerParagraph): delete function
4610         (ownerParagraphs): new function returns a ParagraphList.
4611
4612         * BufferView.C (removeAutoInsets): adjust
4613         (insertErrors): adjust
4614         (setCursorFromRow): adjust
4615
4616 2003-04-01  Angus Leeming  <leeming@lyx.org>
4617
4618         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4619         in the frontends.
4620
4621 2003-04-02  John Levon  <levon@movementarian.org>
4622
4623         * lyxtext.h:
4624         * text.C:
4625         * Makefile.am:
4626         * text_funcs.h:
4627         * text_funcs.C: make transposeChars a free function
4628
4629         * lyxrow_funcs.C: remove wrong comment
4630
4631 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4632
4633         * lyxtext.h: adjust
4634         * rowpainter.C: adjust
4635         * text.C: adjust
4636         * text2.C: adjust
4637         * text3.C: adjust
4638
4639         * lyxrow_funcs. [Ch]: new files
4640
4641         * lyxrow.[Ch]: remove next and previous pointers
4642         (next,previous): remove accessor functions
4643         (isParEnd): move to lyxrow_funcs
4644         (lastPos): move to lyxrow_funcs
4645         (nextRowIsAllInset): move to lyxrow_funcs
4646         (lastPrintablePos): move to lyxrow_funcs
4647         (numberOfSeparators): move to lyxrow_funcs
4648         (numberOfHfills): move to lyxrow_funcs
4649         (numberOfLabelHfills): move to lyxrow_funcs
4650         (hfillExpansion): move to lyxrow_funcs
4651
4652         * lyxfunc.C: adjust
4653
4654         * bufferview_funcs.C (toggleAndShow): adjust
4655
4656         * RowList.h: Remove class RowList from file leave just a
4657         std::list<Row>.
4658
4659         * RowList.C: delete file
4660
4661         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4662         and lyxrow_funcs.h
4663
4664 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4665
4666         * text3.C (cursorPrevious): adjust
4667         (cursorNext): adjust
4668         (dispatch): adjust
4669
4670         * text2.C (redoHeightOfParagraph): adjust
4671         (redoDrawingOfParagraph): adjust
4672         (setCursor): adjust
4673
4674         * text.C (breakParagraph): adjust
4675         (insertChar): adjust
4676         (backspace): adjust
4677
4678         * rowpainter.C (RowPainter): adjust
4679         (leftMargin): simplify and adjust
4680         (most rowpainter functions): adjust.
4681
4682         * rowpainter.h: store the row as RowList::iterator not as Row*
4683
4684         * lyxcursor.C (row): taka RowList::iterator as arg
4685         (irow): ditto
4686
4687         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4688         of Row*.
4689
4690 2003-04-01  Angus Leeming  <leeming@lyx.org>
4691
4692         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4693         stuff like bool Bool.
4694
4695 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4696
4697         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4698         rewrite a loop
4699
4700 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4701
4702         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4703         RowList::iterator.
4704
4705         * lyxtext.h (rows): drop one version and leve a const variant that
4706         returns a RowList::iterator.
4707
4708 2003-03-31  Angus Leeming  <leeming@lyx.org>
4709
4710         * text.C (fill): ensure that the signature is the same as that in the
4711         header file.
4712
4713 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4714
4715         * text2.C (redoParagraphs): adjust
4716         (updateCounters): adjust
4717         (checkParagraph): adjust
4718         (getColumnNearX): adjust and reformat a bit.
4719
4720         * text.C (top_y): adjust
4721         (workWidth): adjust
4722         (leftMargin): adjust
4723         (prepareToPrint): adjust
4724         (getRow): adjust
4725         (getRowNearY): adjust
4726
4727         * lyxtext.h: make rowlist_ mutable.
4728
4729         * RowList.h: add const_iterator
4730         * RowList.C: adjust for RowList::const_iterator.
4731
4732         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4733         adjust.
4734
4735 2003-03-31  John Levon  <levon@movementarian.org>
4736
4737         * lyxrc.h:
4738         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4739
4740         * lyx_main.C: set default fonts from using lyx_gui funcs
4741
4742         * exporter.C: pdf_mode moved from lyxrc
4743
4744         * lyx_cb.C:
4745         * lyxfunc.C: changes from above
4746
4747 2003-03-31  John Levon  <levon@movementarian.org>
4748
4749         * lyx_main.C: fix to the last fix
4750
4751 2003-03-31  John Levon  <levon@movementarian.org>
4752
4753         * bufferlist.C: "Load original" -> "Load Original"
4754
4755         * converter.C:
4756         * exporter.C:
4757         * importer.C:
4758         * lyx_main.C:
4759         * format.C: more Alert cleanups
4760
4761 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4762
4763         * text2.C (removeParagraph): make it take a RowList::iterator as
4764         arg, adjust.
4765         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4766         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4767
4768         * text.C (anchor_row): make it take a RowList::iterator as arg,
4769         adjust.
4770         (computeBidiTables): make it take a const reference to Row instead
4771         of Row pointer, adjust.
4772         (leftMargin): make it take a RowList::iterator as arg, adjust.
4773         (rowBreakPoint): adjust
4774         (breakAgainOneRow): make it take a RowList::iterator as arg,
4775         adjust.
4776         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4777
4778         * bufferview_funcs.C (toggleAndShow): adjust
4779
4780 2003-03-30  John Levon  <levon@movementarian.org>
4781
4782         * Makefile.am:
4783         * BoostFormat.h:
4784         * boost-inst.C: moved to support
4785
4786         * several files: changes as a result
4787
4788 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4789
4790         * text2.C (LyXText): adjust.
4791         (init): adjust
4792         (removeRow): make it take a RowList::iterator as arg, adjust.
4793         (fullRebreak): adjust
4794         (deleteEmptyParagraphMechanism): adjust
4795         (clearPaint): adjust
4796         (postPaint): adjust
4797
4798         * text.C (top_y): adjust
4799         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4800         (breakAgain): make it take a RowList::iterator as arg, adjust.
4801         (breakParagraph): adjust
4802         (insertChar): adjust
4803         (backspace): adjust
4804
4805         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4806         need_break_row, and refresh_row.
4807
4808         * text3.C (dispatch): adjust
4809
4810         * text2.C (checkParagraph): adjust
4811         (setCursor): adjust
4812         (setCursorFromCoordinates): adjust
4813
4814         * text.C (top_y): adjust
4815         (workWidth): adjust
4816         (getRow): make it return a RowList::iterator, adjust
4817         (getRowNearY): make it return a RowList::iterator, adjust
4818
4819         * text2.C (init): adjust
4820         (insertRow): remove function
4821         (insertParagraph): adjust
4822         (redoParagraphs): adjust
4823         (fullRebreak): adjust
4824         (updateCounters): adjust
4825
4826         * text.C (top_y): rewrite to use RowList iterators.
4827         (top_y): adjust
4828         (setHeightOfRow): rewrite to sue RowList iterators.
4829         (appendParagraph): adjust
4830         (breakAgain): adjust
4831         (breakAgainOneRow): adjust
4832         (breakParagraph): adjust
4833         (getRow): adjust
4834         (getRowNearY): adjust, and remove commented code.
4835
4836         * lyxtext.h (firstRow): delete function
4837         (lastRow): delete function
4838         (rows): new function (const and non-const versions.)
4839         (insertRow): delete function
4840
4841         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4842
4843 2003-03-29  John Levon  <levon@movementarian.org>
4844
4845         * BufferView_pimpl.C: always update scrollbar top
4846         because pasting text when we're anchored could mean we
4847         miss an update altogether
4848
4849 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4850
4851         * text2.C (init): use rowlist_.end() and not 0.
4852         (insertRow): change to take a RowList::iterator as arg, adjust
4853         for this.
4854         (insertParagraph): change to take a RowList::iterator as arg,
4855         adjust for this.
4856         (redoParagraphs): remove some debug msgs.
4857
4858         * text.C (appendParagraph): change to take a RowList::iterator
4859         arg, adjust for this.
4860         (breakAgain): add an assert
4861         (breakAgainOneRow): ditto
4862
4863 2003-03-29  John Levon  <levon@movementarian.org>
4864
4865         * text2.C: do not clear selection after inc/decDepth
4866         (bug 550)
4867
4868 2003-03-29  John Levon  <levon@movementarian.org>
4869
4870         * BufferView.C:
4871         * buffer.C: fix broken strerrors according to Lars
4872
4873 2003-03-29  John Levon  <levon@movementarian.org>
4874
4875         * converters.C: more Alert cleanups
4876
4877 2003-03-29  John Levon  <levon@movementarian.org>
4878
4879         * bufferview_funcs.C: remove pointless Alert
4880
4881         * buffer.C: fix confusing error message when
4882         a template is chmoded 000
4883
4884 2003-03-29  John Levon  <levon@movementarian.org>
4885
4886         * BufferView.C:
4887         * BufferView.h:
4888         * BufferView_pimpl.C: Alert fixes
4889
4890         * Makefile.am:
4891         * tabular.C:
4892         * tabular-old.C: remove unused table compat reading
4893
4894 2003-03-29  John Levon  <levon@movementarian.org>
4895
4896         * BufferView.C:
4897         * buffer.C:
4898         * lyx_cb.h:
4899         * lyx_cb.C: more Alert cleanups
4900
4901         * lyxfunc.C: don't allow chktex if not latex document
4902
4903 2003-03-29  John Levon  <levon@movementarian.org>
4904
4905         * lyx_cb.C:
4906         * BufferView.C:
4907         * buffer.C: warnings pushed down from support/,
4908         kill err_alert
4909
4910 2003-03-29  John Levon  <levon@movementarian.org>
4911
4912         * lyxfunc.C: safety check for C-r (revert)
4913
4914 2003-03-29  John Levon  <levon@movementarian.org>
4915
4916         * bufferlist.h:
4917         * bufferlist.C: several UI fixes using Alert::prompt.
4918         Fix the pointless looping quit code. Fix stupid revert
4919         behaviour (bug 938)
4920
4921         * lyxvc.h:
4922         * lyxvc.C:
4923         * lyx_cb.C: use Alert::prompt
4924
4925         * lyx_main.C: remove a silly question
4926
4927         * lyxfunc.C: remove a couple of silly questions,
4928         use Alert::prompt
4929
4930 2003-03-28  John Levon  <levon@movementarian.org>
4931
4932         * text2.C: fix bug 974 (End on empty par)
4933
4934 2003-03-28  John Levon  <levon@movementarian.org>
4935
4936         * BufferView_pimpl.C:
4937         * LyXAction.C:
4938         * lfuns.h: remove do-nothing math greek lfuns
4939
4940 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4941
4942         * lyxgluelength.h (isValidGlueLength): add default arg on
4943         parameter 2. Remove default arg from friend in class.
4944
4945         * lyxlength.h (isValidLength): add default arg on parameter 2.
4946         Remove default arg from friend in class.
4947
4948         * text2.C (LyXText): adjust, initialize refresh_row.
4949         (init): adjust
4950         (removeRow): adjust
4951         (insertRow): adjust
4952         (insertParagraph): adjst
4953         (redoParagraphs): adjust
4954         (fullRebreak): adjust
4955         (updateCounters): adjust
4956         (deleteEmptyParagraphMechanism): first attempt at fixing a
4957         crashing bug.
4958
4959         * text.C (top_y): adjust
4960         (setHeightOfRow): adjust
4961         (getRow): adjust
4962         (getRowNearY): adjust
4963
4964         * lyxtext.h: include RowList.h
4965         (~LyXText): not needed anymore, deleted.
4966         (firstRow): modify for RowList
4967         (lastRow): new function
4968         Delete firstrow and lastrow class variables, add a Rowlist
4969         rowlist_ class variable.
4970
4971         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4972         paragraph is empty.
4973
4974         * RowList.C (insert): fix case where it == begin().
4975
4976 2003-03-26  Angus Leeming  <leeming@lyx.org>
4977
4978         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4979         the thesaurus dialog.
4980
4981 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4982
4983         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4984
4985         * RowList.[Ch]: new files
4986
4987         * ParagraphList.C (erase): handle the case where it == begin
4988         correctly.
4989
4990 2003-03-25  John Levon  <levon@movementarian.org>
4991
4992         * Makefile.am:
4993         * aspell_local.h:
4994         * aspell.C: add new aspell support
4995
4996         * lyxrc.h:
4997         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4998         have it accessible.
4999
5000 2003-03-25  Angus Leeming  <leeming@lyx.org>
5001
5002         * lfuns.h:
5003         * LyXAction.C (init): new LFUN_INSET_INSERT.
5004
5005         * BufferView_pimpl.C (dispatch): split out part of the
5006         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5007
5008         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5009         LFUN_INSET_APPLY.
5010
5011 2003-03-25  Angus Leeming  <leeming@lyx.org>
5012
5013         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5014
5015 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5016
5017         * text2.C:
5018         * text3.C: remove useless row->height(0)
5019
5020 2003-03-25  John Levon  <levon@movementarian.org>
5021
5022         * lyxtext.h:
5023         * text2.C:
5024         * text3.C: rename the refreshing stuff to better names
5025
5026 2003-03-24  John Levon  <levon@movementarian.org>
5027
5028         * BufferView_pimpl.h:
5029         * BufferView_pimpl.C: update layout choice on a mouse
5030         press/release
5031
5032 2003-03-23  John Levon  <levon@movementarian.org>
5033
5034         * Makefile.am: fix commandtags.h reference
5035
5036 2003-03-22  John Levon  <levon@movementarian.org>
5037
5038         * BufferView_pimpl.C:
5039         * lyxtext.h:
5040         * rowpainter.C:
5041         * rowpainter.h:
5042         * text.C:
5043         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5044
5045 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5046
5047         * lyxtext.h:
5048         * text.C: take the rtl methods out of line
5049
5050 2003-03-21 André Pönitz <poenitz@gmx.net>
5051
5052         * metricsinfo.[Ch]: new files containing structures to be passed around
5053         during the two-phase-drawing...
5054
5055 2003-03-21 André Pönitz <poenitz@gmx.net>
5056
5057         * lyxtextclass.C: read 'environment' tag.
5058
5059 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5060
5061         * text2.C (removeRow): fix bug 964
5062
5063 2003-03-20  John Levon  <levon@movementarian.org>
5064
5065         * rowpainter.C:
5066         * text.C:
5067         * text2.C: paint cleanups. Inset::update() dropped font
5068         parameter
5069
5070 2003-03-19  John Levon  <levon@movementarian.org>
5071
5072         * lyxfunc.C: only fitcursor/markDirty if available()
5073
5074 2003-03-19  John Levon  <levon@movementarian.org>
5075
5076         * commandtags.h: rename to ...
5077
5078         * lfuns.h: ... this, and renumber / cleanup
5079
5080 2003-03-19  John Levon  <levon@movementarian.org>
5081
5082         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5083         fit the cursor after an lfun
5084
5085         * BufferView.h:
5086         * BufferView.C:
5087         * BufferView_pimpl.h:
5088         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5089
5090         * LyXAction.C: layout-character should have ReadOnly
5091
5092         * ParagraphParameters.C:
5093         * buffer.C:
5094         * bufferview_funcs.C:
5095         * lyx_cb.C:
5096         * lyxfind.C:
5097         * lyxtext.h:
5098         * text.C:
5099         * text2.C:
5100         * text3.C:
5101         * undo_funcs.C: changes from above
5102
5103 2003-03-18  John Levon  <levon@movementarian.org>
5104
5105         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5106         remove it from update()
5107
5108         * lyxfunc.C: update layout choice after an lfun
5109
5110         * text3.C: remove extra updateLayoutChoice()s
5111
5112 2003-03-18  John Levon  <levon@movementarian.org>
5113
5114         * text.C: top_y change means full repaint, fix
5115         a drawing bug with cursor movement
5116
5117 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5118
5119         * lyxtext.h:
5120         * text.C:
5121         * text2.C: anchor row on setCursor
5122
5123 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5124
5125         * lyxtext.h: remove almost all mutable keywords
5126         * text.C:
5127         * text2.C:
5128         * text3.C: remove const keywords accordingly
5129
5130 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5131
5132         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5133         anon namespace
5134         (TeXEnvironment): ditto
5135         (TeXOnePar): ditto
5136
5137 2003-03-17  John Levon  <levon@movementarian.org>
5138
5139         * text.C (rowBreakPoint): remove attempt to fix displayed
5140         math insets inside a manual label
5141
5142 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5143
5144         * lyxtext.h: remove BufferView* as first arg from almost all class
5145         functions.
5146         * other files: adjust.
5147
5148 2003-03-17  John Levon  <levon@movementarian.org>
5149
5150         * lyxtext.h:
5151         * undo_funcs.C:
5152         * text2.C: more paint cleanups
5153
5154         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5155
5156         * rowpainter.h:
5157         * rowpainter.C: remove "smart" background painting code
5158
5159 2003-03-16  John Levon  <levon@movementarian.org>
5160
5161         * lyxtext.h:
5162         * text.C:
5163         * text2.C:
5164         * text3.C: add helper functions for setting refresh_row/y
5165
5166 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5167
5168         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5169         newline inset which *can* get inserted in the pass_thru layouts.
5170         This is primarily for literate documents.
5171
5172 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5173
5174         * buffer.C: increment LYX_FORMAT to 223
5175
5176 2003-03-14 André Pönitz <poenitz@gmx.net>
5177
5178         * textclass.h: prepare for environment handling, ws changes
5179         * lyxlayout.C: read latexheader and latexfooter tags
5180
5181 2003-03-14  John Levon  <levon@movementarian.org>
5182
5183         * text2.C: rewrite ::status() a bit
5184
5185 2003-03-13  John Levon  <levon@movementarian.org>
5186
5187         * lyxtext.h: add some docs
5188
5189 2003-03-13  John Levon  <levon@movementarian.org>
5190
5191         * lyxtext.h:
5192         * text.C:
5193         * text2.C:
5194         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5195
5196 2003-03-13  John Levon  <levon@movementarian.org>
5197
5198         * text3.C: fix appendix redrawing
5199
5200 2003-03-13  John Levon  <levon@movementarian.org>
5201
5202         * text.C (setHeightOfRow):
5203         * rowpainter.h:
5204         * rowpainter.C: make appendix mark have the text
5205           "Appendix" so the user knows what it is
5206
5207         * LColor.h:
5208         * LColor.C: s/appendixline/appendix/ from above
5209
5210 2003-03-13  John Levon  <levon@movementarian.org>
5211
5212         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5213
5214         * text.C: fix a getChar(pos) bug properly
5215
5216 2003-03-13  Angus Leeming  <leeming@lyx.org>
5217
5218         * commandtags.h:
5219         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5220         Probably only temporary. Let's see how things pan out.
5221
5222         * BufferView.C (unlockInset):
5223         * BufferView_pimpl.C (fitCursor):
5224         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5225
5226         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5227         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5228
5229         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5230         new functions that convert ParagraphParameters to and from a string.
5231
5232         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5233         BufferView::Pimpl's dispatch.
5234         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5235
5236 2003-03-13 André Pönitz <poenitz@gmx.net>
5237
5238         * lyxfunc.C:
5239         * text3.C:
5240         * factory.C: make it aware of InsetEnv
5241
5242 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5243
5244         * text2.C (setCursor): never ask for one past last
5245         (setCursor): add some debugging messages.
5246
5247         * text.C (singleWidth): never ask for one past last
5248         (singleWidth): ditto
5249         (leftMargin): ditto
5250         (rightMargin): ditto
5251         (rowBreakPoint): ditto
5252         (setHeightOfRow): ditto
5253         (prepareToPrint): ditto
5254
5255         * rowpainter.C (paintBackground): never ask for one past last
5256         (paintText): never ask for one past last
5257
5258         * paragraph_pimpl.C (getChar): make the assert stricter, never
5259         allow the one past last pos to be taken
5260
5261         * paragraph.C (getChar): ws changes only
5262
5263         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5264         (numberOfSeparators): ditto
5265         (numberOfHfills): ditto
5266
5267 2003-03-12  John Levon  <levon@movementarian.org>
5268
5269         * author.h:
5270         * author.C:
5271         * bufferparams.h:
5272         * bufferparams.C:
5273         * paragraph_funcs.C: fix per-buffer authorlists
5274
5275 2003-03-12  John Levon  <levon@movementarian.org>
5276
5277         * text.C: fix newline in right address
5278
5279 2003-03-12  Angus Leeming  <leeming@lyx.org>
5280
5281         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5282         duplicate those in LyXFunc::dispatch.
5283
5284         * commandtags.h:
5285         * LyXAction.C:
5286         * ToolbarDefaults.C:
5287         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5288         Add LFUN_FONTFREE_UPDATE.
5289
5290         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5291         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5292
5293         * bufferview_func.[Ch]: several new functions to facilliate
5294         transfer of data to and from the character dialog.
5295
5296 2003-03-12  John Levon  <levon@movementarian.org>
5297
5298         * buffer.C:
5299         * paragraph.h:
5300         * paragraph.C:
5301         * paragraph_funcs.C:
5302         * paragraph_pimpl.C:
5303         * sgml.C:
5304         * tabular.C:
5305         * text.C:
5306         * text3.C: remove META_NEWLINE in favour of an inset
5307
5308         * rowpainter.h:
5309         * rowpainter.C: remove paintNewline (done by inset)
5310
5311 2003-03-12  John Levon  <levon@movementarian.org>
5312
5313         * paragraph_pimpl.C: complain about bad getChar()s
5314         for a while at least
5315
5316 2003-03-12  John Levon  <levon@movementarian.org>
5317
5318         * buffer.h:
5319         * buffer.C: move paragraph read into a separate function,
5320         a little renaming to reflect that.
5321
5322         * bufferparams.h:
5323         * bufferparams.C: remove the author_ids map, not necessary now
5324
5325         * factory.h:
5326         * factory.C: moved Buffer::readInset to here
5327
5328         * paragraph_funcs.h:
5329         * paragraph_funcs.C: readParagraph free function moved from
5330         buffer.C
5331
5332         * tabular.C: name change
5333
5334 2003-03-12  John Levon  <levon@movementarian.org>
5335
5336         * buffer.C:
5337         * ParagraphParameters.C: move par params input to
5338         a read() method
5339
5340         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5341         behave like a normal read from the stream wrt reading
5342         a line vs. a \\token
5343
5344 2003-03-12  John Levon  <levon@movementarian.org>
5345
5346         * paragraph.C:
5347         * ParagraphParameters.h:
5348         * ParagraphParameters.C: move output code to a
5349         ::write() method
5350
5351 2003-03-12  John Levon  <levon@movementarian.org>
5352
5353         * BufferView.C (insertLyXFile):
5354         * buffer.h:
5355         * buffer.C:
5356         * tabular.C: use a parlist iterator for creating the
5357           document.
5358
5359 2003-03-12  John Levon  <levon@movementarian.org>
5360
5361         * buffer.C: make current_change static local not
5362           static file-scope
5363
5364 2003-03-12  John Levon  <levon@movementarian.org>
5365
5366         * buffer.C: fix insertStringAsLines for change tracking
5367
5368 2003-03-12  John Levon  <levon@movementarian.org>
5369
5370         * BufferView.C:
5371         * tabular.C:
5372         * buffer.h:
5373         * buffer.C:
5374         * bufferparams.h:
5375         * bufferparams.C: move author list into params. Rename some
5376           functions. Move the header reading into a separate token
5377           loop. Move the header token reading into BufferParams.
5378
5379 2003-03-12  John Levon  <levon@movementarian.org>
5380
5381         * changes.C: put debug inside lyxerr.debugging() checks
5382
5383 2003-03-11 André Pönitz <poenitz@gmx.net>
5384
5385         * factory.C: make it aware of InsetHFill
5386
5387 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5388
5389         * buffer.C (latexParagraphs): move function from here...
5390         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5391         args.
5392
5393 2003-03-10  Angus Leeming  <leeming@lyx.org>
5394
5395         * LyXAction.C (init): fix bug in poplating array with multiple entries
5396         with the same LFUN (spotted by JMarc).
5397
5398 2003-03-10  John Levon  <levon@movementarian.org>
5399
5400         * text.C:
5401         * text2.C: move getColumnNearX() near its
5402         only call site
5403
5404 2003-03-10  John Levon  <levon@movementarian.org>
5405
5406         * text.C: fix break before a minipage
5407
5408 2003-03-10  John Levon  <levon@movementarian.org>
5409
5410         * text.C: fix the last commit
5411
5412 2003-03-09  John Levon  <levon@movementarian.org>
5413
5414         * lyxtext.h:
5415         * text.C:
5416         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5417         bug 365 (don't break before insets unless needed). Don't
5418         return a value > last under any circumstances.
5419
5420 2003-03-09  Angus Leeming  <leeming@lyx.org>
5421
5422         * BufferView_pimpl.C (trackChanges, dispatch): call
5423         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5424
5425 2003-03-09  Angus Leeming  <leeming@lyx.org>
5426
5427         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5428         than Dialogs::showAboutlyx().
5429
5430 2003-03-09  Angus Leeming  <leeming@lyx.org>
5431
5432         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5433         than Dialogs::showTabularCreate().
5434
5435 2003-03-09  John Levon  <levon@movementarian.org>
5436
5437         * lyxtext.h:
5438         * text.C:
5439         * text2.C: 3rd arg to nextBreakPoint was always the same.
5440           Use references.
5441
5442 2003-03-08  John Levon  <levon@movementarian.org>
5443
5444         * lyxrow.C:
5445         * paragraph.C:
5446         * paragraph.h:
5447         * rowpainter.C:
5448         * text.C:
5449         * text2.C: Remove the "main" bit from the "main body"
5450           notion.
5451
5452 2003-03-08  John Levon  <levon@movementarian.org>
5453
5454         * text.C (leftMargin): The left margin of an empty
5455         manual label paragraph should not include the label width
5456         string length.
5457
5458         * text.C (prepareToPrint): don't attempt to measure hfills
5459         for empty manual label paragraphs - the answer should be 0
5460
5461 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5462
5463         * CutAndPaste.C: remove commented code and reindent.
5464
5465 2003-03-08  John Levon  <levon@movementarian.org>
5466
5467         * lyxfunc.h:
5468         * lyxfunc.C: move reloadBuffer()
5469
5470         * BufferView.h:
5471         * BufferView.C: to here
5472
5473         * lyxvc.C: add comment
5474
5475         * vc-backend.h:
5476         * vc-backend.C: call bv->reload() to avoid
5477           getStatus() check on MENURELOAD
5478
5479 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5480
5481         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5482         to an old format .dep file.
5483
5484 2003-03-07  Angus Leeming  <leeming@lyx.org>
5485
5486         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5487         when the LFUN_MOUSE_RELEASE should have been handled by
5488         inset->localDispatch.
5489
5490 2003-03-07  Angus Leeming  <leeming@lyx.org>
5491
5492         * BufferView_pimpl.C (dispatch):
5493         * LyXAction.C (init):
5494         * ToolbarDefaults.C (init):
5495         * commandtags.h:
5496         * lyxfunc.C (getStatus):
5497         remove LFUN_INSET_GRAPHICS.
5498
5499         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5500
5501 2003-03-07  Angus Leeming  <leeming@lyx.org>
5502
5503         * commandtags.h:
5504         * LyXAction.C (init):
5505         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5506
5507         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5508
5509         * commandtags.h:
5510         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5511
5512         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5513         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5514
5515 2003-03-07  Angus Leeming  <leeming@lyx.org>
5516
5517         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5518         remove "ert".
5519
5520 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5521
5522         * ParagraphList.C (front): new function
5523         (back): implement
5524
5525 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5526
5527         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5528         and top_row_offset_. removed var first_y.
5529         * text.C (top_y):
5530         * text2.C (LyXText, removeRow):
5531         * text3.C:
5532         * BufferView_pimpl.C:
5533         use these methods instead of using first_y
5534
5535 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5536
5537         * text2.C (pasteSelection): adjust for checkPastePossible
5538
5539         * CutAndPaste.C: remove Paragraph * buf and replace with
5540         ParagraphList paragraphs.
5541         (DeleteBuffer): delete
5542         (cutSelection): change the tc type to textclass_type
5543         (copySelection): change the tc type to textclass_type
5544         (copySelection): adjust for ParagraphList
5545         (pasteSelection): change the tc type to textclass_type
5546         (pasteSelection): adjust for Paragraphlist
5547         (nrOfParagraphs): simplify for ParagraphList
5548         (checkPastePossible): simplify for ParagraphList
5549         (checkPastePossible): remove unused arg
5550
5551         * ParagraphList.C (insert): handle the case where there are no
5552         paragraphs yet.
5553
5554         * CutAndPaste.h: make CutAndPaste a namespace.
5555
5556         * text3.C (dispatch): adjust
5557
5558         * text.C (breakParagraph): add a ParagraphList as arg
5559
5560         * paragraph_funcs.C (breakParagraph): change to take a
5561         BufferParams and a ParagraphList as args.
5562         (breakParagraphConservative): ditto
5563         (mergeParagraph): ditto
5564         (TeXDeeper): add a ParagraphList arg
5565         (TeXEnvironment): ditto
5566         (TeXOnePar): ditto
5567
5568         * buffer.C (readLyXformat2): adjust
5569         (insertStringAsLines): adjust
5570         (latexParagraphs): adjust
5571
5572         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5573         (cutSelection): adjust
5574         (pasteSelection): adjust
5575
5576         * BufferView_pimpl.C (insertInset): adjust
5577
5578 2003-03-05  Angus Leeming  <leeming@lyx.org>
5579
5580         * commandtags.h:
5581         * LyXAction.C (init):
5582         * BufferView_pimpl.C (dispatch):
5583         * lyxfunc.C (getStatus):
5584         remove LFUN_CHILD_INSERT.
5585
5586         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5587
5588 2003-03-05  Angus Leeming  <leeming@lyx.org>
5589
5590         * commandtags.h:
5591         * LyXAction.C (init):
5592         * src/factory.C (createInset):
5593         * lyxfunc.C (getStatus):
5594         * text3.C (dispatch):
5595         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5596
5597         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5598
5599 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5600
5601         * ParagraphList.C (insert): handle insert right before end()
5602         (erase): fix cases where it can be first or last paragraph.
5603
5604 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5605
5606         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5607         Paragraph::next and Paragraph::previous
5608         (TeXOnePar): ditto
5609
5610         * text.C (breakParagraph): adjust
5611
5612         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5613         BufferParams& as arg.
5614         (breakParagraph): use ParagraphList::insert
5615         (breakParagraphConservative): take a Buffer* instead of a
5616         BufferParams& as arg.
5617         (breakParagraphConservative): use ParagraphList::insert.
5618
5619         * buffer.C (insertStringAsLines): un-const it
5620         (insertStringAsLines): adjust
5621
5622         * ParagraphList.C (insert): new function
5623
5624         * CutAndPaste.C (pasteSelection): adjust
5625
5626         * text.C (backspace): adjust
5627
5628         * tabular.C (SetMultiColumn): adjust
5629
5630         * CutAndPaste.C (cutSelection): adjust
5631         (pasteSelection): adjust
5632
5633         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5634         Buffer const * as arg
5635
5636         * ParagraphList.C (erase): new function
5637         * paragraph_funcs.C (mergeParagraph): use it
5638         (mergeParagraph): make it take a Buffer* instead of a
5639         BufferParams* as arg
5640
5641         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5642         as arg
5643         (breakParagraphConservative): ditto
5644
5645         * paragraph.h: remove the breakParagraph friend
5646
5647         * paragraph.C (eraseIntern): new function
5648         (setChange): new function
5649
5650         * paragraph_funcs.C (mergeParagraph): make it take a
5651         ParagraphList::iterator instead of a Paragraph *, adjust
5652         accordingly.
5653
5654         * paragraph.h: move an #endif so that the change tracking stuff
5655         also works in the NO_NEXT case.
5656
5657 2003-03-04  Angus Leeming  <leeming@lyx.org>
5658
5659         * commandtags.h:
5660         * LyXAction.C: new LFUN_INSET_MODIFY.
5661
5662         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5663         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5664
5665 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5666
5667         * several files: ws changes only
5668
5669         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5670         (TeXEnvironment): ditto
5671         (TeXDeeper): ditto
5672
5673         * buffer.C (makeLaTeXFile): adjust
5674         (latexParagraphs): make it take ParagraphList::iterator as args
5675
5676 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5677
5678         * buffer.C (latexParagraphs): adjust
5679
5680         * paragraph.C (TeXOnePar): move function...
5681         (optArgInset): move function...
5682         (TeXEnvironment): move function...
5683         * paragraph_pimpl.C (TeXDeeper): move function...
5684         * paragraph_funcs.C: ...here
5685
5686         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5687
5688 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5689
5690         * buffer.C (readInset): remove compability code for old Figure and
5691         InsetInfo insets
5692
5693 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5694
5695         * buffer.C: ws changes
5696         (readInset):
5697
5698         * BufferView_pimpl.C: ditto
5699         * author.C: ditto
5700         * buffer.h: ditto
5701         * bufferlist.h: ditto
5702         * changes.h: ditto
5703         * lyxfunc.C: ditto
5704
5705 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5706
5707         * converter.[Ch]: split into itself +
5708         * graph.[Ch]
5709         * format.[Ch]
5710         * Makefile.am: += graph.[Ch] + format.[Ch]
5711         * MenuBackend.C
5712         * buffer.C
5713         * exporter.C
5714         * importer.C
5715         * lyx_main.C
5716         * lyxfunc.C
5717         * lyxrc.C: added #include "format.h"
5718
5719 2003-02-27  Angus Leeming  <leeming@lyx.org>
5720
5721         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5722           a label.
5723
5724         * factory.C (createInset): add "label" to the factory.
5725
5726         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5727           string and do no more.
5728
5729 2003-02-27  Angus Leeming  <leeming@lyx.org>
5730
5731         * commandtags.h:
5732         * LyXAction.C (init):
5733         * factory.C (createInset):
5734         * BufferView_pimpl.C (dispatch):
5735           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5736
5737         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5738
5739         * lyxfunc.C (dispatch):
5740         * text3.C (dispatch): pass name to params2string.
5741
5742 2003-02-26  Angus Leeming  <leeming@lyx.org>
5743
5744         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5745           blocks together.
5746           Rearrange the ~includes. Strip out the unnecessary ones.
5747
5748         * factory.C (createInset): reformat.
5749           create new insets for the various LFUN_XYZ_APPLY lfuns.
5750
5751 2003-02-26  John Levon  <levon@movementarian.org>
5752
5753         * lyxrow.h:
5754         * lyxrow.C: add isParStart,isParEnd helpers
5755
5756         * paragraph.h: make isInserted/DeletedText take refs
5757
5758         * paragraph_funcs.h:
5759         * paragraph_funcs.C: remove #if 0'd code
5760
5761         * lyxtext.h:
5762         * text3.C:
5763         * text2.C:
5764         * text.C: use lyxrow helpers above.
5765           Move draw and paint routines to RowPainter.
5766           Make several methods use refs not pointers.
5767           Make backgroundColor() const.
5768           Add markChangeInDraw(), isInInset().
5769           Merge changeRegionCase into changeCase.
5770           Make workWidth() shouldn't-happen code into an Assert.
5771
5772         * rowpainter.h:
5773         * rowpainter.C: new class for painting a row.
5774
5775         * vspace.h:
5776         * vspace.C: make inPixels take a ref
5777
5778 2003-02-26  Angus Leeming  <leeming@lyx.org>
5779
5780         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5781         LFUN_REF_APPLY.
5782
5783 2003-02-25  John Levon  <levon@movementarian.org>
5784
5785         * ispell.C: give the forked command a more accurate name
5786
5787 2003-02-22  John Levon  <levon@movementarian.org>
5788
5789         * toc.h:
5790         * toc.C: make TocItem store an id not a Paragraph *
5791           (bug #913)
5792
5793 2003-02-21  Angus Leeming  <leeming@lyx.org>
5794
5795         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5796           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5797           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5798           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5799           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5800           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5801
5802         * BufferView_pimpl.C (dispatch):
5803         * LyXAction.C (init):
5804         * factory.C (createInset):
5805         * lyxfunc.C (getStatus, dispatch):
5806         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5807
5808 2003-02-21  Angus Leeming  <leeming@lyx.org>
5809
5810         * BufferView_pimpl.C (MenuInsertLyXFile):
5811         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5812         * lyxfunc.C (menuNew, open, doImport):
5813           no longer pass a LyXView & to fileDlg.
5814
5815 2003-02-21  Angus Leeming  <leeming@lyx.org>
5816
5817         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5818         * LyXAction.C: change, BIBKEY to BIBITEM.
5819         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5820         Change InsetBibKey to InsetBibitem.
5821         Change BIBKEY_CODE to BIBITEM_CODE.
5822         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5823         * factory.C: replace insetbib.h with insetbibitem.h.
5824         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5825         * paragraph.C: replace insetbib.h with insetbibitem.h.
5826         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5827         Change bibkey() to bibitem().
5828         * text.C: remove insetbib.h.
5829         * text2.C: replace insetbib.h with insetbibitem.h.
5830         change bibkey() to bibitem().
5831         * text3.C: remove insetbib.h.
5832         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5833
5834 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5835
5836         * lyxrc.C (output): enclose user email in quotes (in case there are
5837         several words)
5838
5839 2003-02-18  John Levon  <levon@movementarian.org>
5840
5841         * buffer.h: add std::
5842
5843 2003-02-17  John Levon  <levon@movementarian.org>
5844
5845         * SpellBase.h:
5846         * ispell.h:
5847         * ispell.C:
5848         * pspell.h:
5849         * pspell.C: reworking. Especially in ispell, a large
5850           number of clean ups and bug fixes.
5851
5852         * lyxfunc.C: fix revert to behave sensibly
5853
5854 2003-02-17 André Pönitz <poenitz@gmx.net>
5855
5856         * LyXAction.C:
5857         * commandtags.h: new LFUN_INSERT_BIBKEY
5858
5859         * layout.h:
5860         * lyxlayout.C:
5861         * buffer.C:
5862         * factory.C:
5863         * text.C:
5864         * text2.C:
5865         * text3.C:
5866         * paragraph.[Ch]:
5867         * paragraph_func.C: remove special bibkey handling
5868
5869 2003-02-17  John Levon  <levon@movementarian.org>
5870
5871         * text.C (Delete): fix case where delete at the end of
5872           the very first paragraph would not merge the pars
5873
5874 2003-02-17  John Levon  <levon@movementarian.org>
5875
5876         * lyxrow.C: fix lastPrintablePos()
5877
5878 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5879
5880         * bufferparams.C (writeLaTeX): add a std:here
5881
5882         * buffer.C: and remove a using directive there
5883
5884 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5885
5886         * buffer.C (makeLaTeXFile): move the code that generates the
5887           preamble...
5888
5889         * bufferparams.C (writeLaTeX): ... in this new method
5890
5891         * LaTeXFeatures.C (getEncodingSet): make const
5892           (getLanguages): make const
5893
5894         * MenuBackend.C (binding): returns the binding associated to this
5895           action
5896           (add): sets the status of each item by calling getStatus. Adds
5897           some intelligence.
5898           (read): add support for OptSubMenu
5899           (expand): remove extra separator at the end of expanded menu
5900
5901 2003-02-15  John Levon  <levon@movementarian.org>
5902
5903         * BufferView.C:
5904         * BufferView_pimpl.C:
5905         * bufferlist.h:
5906         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5907           inset code that had no actual effect. Remove unneeded status
5908           code.
5909
5910 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5911
5912         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5913           in preamble
5914
5915 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5916
5917         * text.C (drawLengthMarker): also draw an arrow marker for
5918           symbolic lengths (medskip...)
5919
5920 2003-02-14  John Levon  <levon@movementarian.org>
5921
5922         * tabular.h:
5923         * tabular.C: better method names
5924
5925 2003-02-14  John Levon  <levon@movementarian.org>
5926
5927         * BufferView_pimpl.C:
5928         * bufferlist.C:
5929         * buffer.C:
5930         * converter.C:
5931         * lyx_cb.C:
5932         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5933           it's a more accurate name. Remove some pointless uses.
5934
5935 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5936
5937         * text2.C (LyXText): change order of initilizers to shut off
5938           warnings
5939
5940 2003-02-14  John Levon  <levon@movementarian.org>
5941
5942         * buffer.C: use ParIterator for getParFromID()
5943
5944         * paragraph.h:
5945         * paragraph.C:
5946         * paragraph_pimpl.h:
5947         * paragraph_pimpl.C: remove unused getParFromID()
5948
5949 2003-02-14  John Levon  <levon@movementarian.org>
5950
5951         * buffer.C: remove some very old #if 0'd parse code
5952
5953 2003-02-13  John Levon  <levon@movementarian.org>
5954
5955         * text.h:
5956         * text.C:
5957         * text2.C: move hfillExpansion(), numberOfSeparators(),
5958           rowLast(), rowLastPrintable(), numberofHfills(),
5959           numberOfLabelHfills() ...
5960
5961         * lyxrow.h:
5962         * lyxrow.C: ... to member functions here.
5963
5964         * paragraph.h:
5965         * paragraph.C:
5966         * lyxtext.h:
5967         * text.C: remove LyXText::beginningOfMainBody(), and call
5968           p->beginningOfMainBody() directly. Move the check for
5969           LABEL_MANUAL into the latter.
5970
5971         * text.h:
5972         * text.C:
5973         * text2.C:
5974         * vspace.C:
5975         * BufferView.h:
5976         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5977
5978         * text.h:
5979         * text.C:
5980         * text2.C:
5981         * text3.C:
5982         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5983           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5984
5985 2003-02-13  John Levon  <levon@movementarian.org>
5986
5987         * CutAndPaste.C: remove debug
5988
5989 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5990
5991         * paragraph.C (asString): remove two unused variables
5992
5993         * lyxtextclass.C (readTitleType):
5994           (Read):
5995           (LyXTextClass): handle new members titletype_ and titlename_
5996
5997         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5998
5999 2003-02-09  John Levon  <levon@movementarian.org>
6000
6001         * buffer.h:
6002         * buffer.C: replace hand-coded list with a map for the dep clean
6003
6004 2003-02-08  John Levon  <levon@movementarian.org>
6005
6006         * LaTeX.C: consolidate code into showRunMessage() helper
6007
6008 2003-02-08  John Levon  <levon@movementarian.org>
6009
6010         * lyxfind.C:
6011         * lyxtext.h:
6012         * text2.C:
6013         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6014           and pass the size in explicitly
6015
6016         * BufferView_pimpl.h:
6017         * BufferView_pimpl.C:
6018         * BufferView.h:
6019         * BufferView.C: add getCurrentChange()
6020
6021         * BufferView_pimpl.h:
6022         * BufferView_pimpl.C: handle change lfuns
6023
6024         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6025           for changes. Mark pasted paragraphs as new.
6026
6027         * support/lyxtime.h:
6028         * support/lyxtime.C:
6029         * DepTable.C: abstract time_t as lyx::time_type
6030
6031         * LColor.h:
6032         * LColor.C: add colours for new text, deleted text, changebars
6033
6034         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6035           package use "usenames" option.
6036
6037         * commandtags.h:
6038         * lyxfunc.C:
6039         * LyXAction.C: add change lfuns
6040
6041         * Makefile.am:
6042         * author.h:
6043         * author.C: author handling
6044
6045         * buffer.h:
6046         * buffer.C: add a per-buffer author list, with first entry as
6047           current author. Handle new .lyx tokens for change tracking. Output
6048           author list to .lyx file. Output dvipost stuff to .tex preamble.
6049           Bump lyx format to 222.
6050
6051         * bufferlist.h:
6052         * bufferlist.C: add setCurrentAuthor() to reset current author details
6053           in all buffers.
6054
6055         * bufferparams.h:
6056         * bufferparams.C: add param for tracking
6057
6058         * bufferview_funcs.C: output change info in minibuffer
6059
6060         * Makefile.am:
6061         * changes.h:
6062         * changes.C: add change-tracking structure
6063
6064         * debug.h:
6065         * debug.C: add CHANGES debug flag
6066
6067         * lyxfind.h:
6068         * lyxfind.C: add code for finding the next change piece
6069
6070         * lyxrc.h:
6071         * lyxrc.C: add user_name and user_email
6072
6073         * lyxrow.h:
6074         * lyxrow.C: add a metric for the top of the text line
6075
6076         * lyxtext.h:
6077         * text.C: implement accept/rejectChange()
6078
6079         * lyxtext.h:
6080         * text.C: paint changebars. Paint new/deleted text in the chosen
6081         colours. Strike through deleted text.
6082
6083         * paragraph.h:
6084         * paragraph.C:
6085         * paragraph_pimpl.h:
6086         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6087           in the current change to the insert functions. Rework erase to
6088           mark text as deleted, adding an eraseIntern() and a range-based
6089           erase(). Implement per-paragraph change lookup and
6090           accept/reject.
6091
6092         * paragraph_funcs.C: Fixup paste for change tracking.
6093
6094         * tabular.C: mark added row/columns as new.
6095
6096         * text.C: fix rowLast() to never return -1. Don't allow
6097           spellchecking of deleted text. Track transpose changes. Don't
6098           allow paragraph break or merge where appropriate.
6099
6100         * text2.C: leave cursor at end of selection after a cut.
6101
6102 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6103
6104         * text.C (getLengthMarkerHeight):
6105         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6106         visible on screen too.
6107
6108 2003-02-07  John Levon  <levon@movementarian.org>
6109
6110         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6111
6112 2003-02-05  Angus Leeming  <leeming@lyx.org>
6113
6114         * lyxserver.C (read_ready): revert my patch of 11 September last year
6115         as it sends PC cpu through the roof. Presumably this means that
6116         the lyxserver will no longer run on an Alpha...
6117
6118 2003-01-30  Angus Leeming  <leeming@lyx.org>
6119
6120         * factory.C (createInset): create an InsetCommandParam of type "index"
6121         and use it to 'do the right thing'.
6122
6123         * text2.C (getStringToIndex): ensure that cursor position is always
6124         reset to the reset_cursor position.
6125
6126 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6127
6128         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6129         disabled.
6130
6131 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6132
6133         * bufferview.C:
6134         * lyxcb.C:
6135         * lyxfunc.C: Output messages with identical spelling, punctuation,
6136         and spaces
6137
6138 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6139
6140         * MenuBackend.C (expandFormats): List only viewable export formats
6141         in "View" menu
6142
6143         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6144         message
6145
6146         * lyxfunc.C (getStatus): Make sure that formats other than
6147         "fax" can also be disabled
6148
6149 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6150
6151         * text3.C (dispatch): put the lfuns that insert insets in 3
6152         groups, and call doInsertInset with appropriate arguments.
6153         (doInsertInset): new function, that creates an inset and inserts
6154         it according to some boolean parameters.
6155
6156 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6157
6158         * buffer.C (readFile): remember to pass on 'par' when calling
6159         readFile recursively.
6160
6161 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6162
6163         * MenuBackend.C (expandFormats): add "..." to import formats.
6164
6165 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6166
6167         * paragraph.C (asString): Remove XForms RTL hacks.
6168
6169 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6170         * buffer.C: fix typo
6171
6172 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6173
6174         * Makefile.am (LIBS): delete var
6175         (lyx_LDADD): add @LIBS@ here instead.
6176
6177 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6178
6179         * Clarify the meaning of "wheel mouse jump"
6180
6181 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6182
6183         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6184         tabular in a float
6185
6186 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6187
6188         * importer.C (Loaders): do not preallocate 3 elements in the
6189         vector, since one ends up with 6 elements otherwise
6190
6191 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6192
6193         * DepTable.C (write): write the file name as last element of the
6194         .dep file (because it may contain spaces)
6195         (read): read info in the right order
6196
6197 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6198
6199         * paragraph_pimpl.C (simpleTeXBlanks):
6200         (simpleTeXSpecialChars):
6201         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6202
6203         * tabular.C (latex): add some missing case statements. Reindent.
6204
6205         * MenuBackend.C (expandToc): remove unused variable.
6206
6207 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6208
6209         * LColor.C:
6210         * LaTeX.C:
6211         * LyXAction.C:
6212         * MenuBackend.C:
6213         * buffer.C:
6214         * exporter.C:
6215         * lyxfunc.C:
6216         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6217         and the like.
6218
6219 2003-01-05  John Levon  <levon@movementarian.org>
6220
6221         * BufferView.h:
6222         * BufferView.C: add getEncoding()
6223
6224         * kbsequence.h:
6225         * kbsequence.C: do not store last keypress
6226
6227         * lyxfunc.h:
6228         * lyxfunc.C: store last keypress here instead. Pass encoding
6229           to getISOEncoded()
6230
6231 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6232
6233         * lyx_main.C (init): remove annoying error message when following
6234         symbolic links (bug #780)
6235
6236 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6237
6238         * text.C (insertChar):
6239         * lyxrc.C (getDescription): remove extra spaces
6240
6241 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6242
6243         * lyxrc.C (getDescription): remove extra spaces
6244
6245 2002-12-20  John Levon  <levon@movementarian.org>
6246
6247         * text3.C: hack fix for page up/down across tall rows
6248
6249 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6250
6251         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6252         not been invoked
6253
6254 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6255
6256         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6257         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6258         thesaurus is not compiled in
6259
6260 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6261
6262         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6263
6264 2002-12-16  Angus Leeming  <leeming@lyx.org>
6265
6266         * lyxrc.[Ch]:
6267         * lyx_main.C (init): remove override_x_deadkeys stuff.
6268
6269 2002-12-12  John Levon  <levon@movementarian.org>
6270
6271         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6272           insert. Only remove shift modifier under strict
6273           circumstances.
6274
6275 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6276
6277         * MenuBackend.C (expandToc): fix crash.
6278
6279 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6280
6281         * MenuBackend.C (expandToc): gettext on float names.
6282
6283 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6284
6285         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6286         implement bool empty() [bug 490]
6287
6288 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6289
6290         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6291
6292 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6293
6294         * several files: ws changes
6295
6296 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6297
6298         * text2.C (setCounter): clean up a bit, use boost.format.
6299         (updateCounters): initialize par upon declaration.
6300
6301         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6302         if the layout exists. We do not just store the layout any more.
6303         (SwitchLayoutsBetweenClasses): use boost.format
6304
6305 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6306
6307         * converter.C (convert): if from and to files are the same, use a
6308         temporary files as intermediary
6309
6310 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6311
6312         * commandtags.h:
6313         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6314
6315 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6316
6317         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6318
6319 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6320
6321         * tabular.C (asciiPrintCell): use string(size, char) instead of
6322         explicit loop.
6323
6324         * sgml.C (openTag): fix order of arguments to string constructor
6325         (closeTag): ditto
6326
6327         * lyxfunc.C (dispatch): use boost.format
6328
6329         * lots of files: change "c" -> 'c'
6330
6331 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6332
6333         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6334
6335 2002-11-25  Angus Leeming  <leeming@lyx.org>
6336
6337         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6338
6339         * lyx_main.C (init): compile fix.
6340
6341 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6342
6343         * lyx_cb.C (start): boost.formatify
6344         do not include <iostream>
6345
6346         * lengthcommon.C: ws only
6347
6348         * boost-inst.C,BoostFormat.h: add more explict instantations
6349
6350 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6351
6352         * lots of files: handle USE_BOOST_FORMAT
6353
6354 2002-11-21  John Levon  <levon@movementarian.org>
6355
6356         * pspell.C: fix compile
6357
6358 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6359
6360         * lyxfunc.C (dispatch): use boost::format
6361         (open): ditto
6362         (doImport): ditto
6363
6364         * lyxfont.C (stateText): use boost::format
6365
6366         * lyx_main.C (LyX): use boost::format
6367         (init): ditto
6368         (queryUserLyXDir): ditto
6369         (readRcFile): ditto
6370         (parse_dbg): ditto
6371         (typedef boost::function): use the recommened syntax.
6372
6373         * importer.C (Import): use boost::format
6374
6375         * debug.C (showLevel): use boost::format
6376
6377         * converter.C (view): use boost::format
6378         (convert): ditto
6379         (move): ditto
6380         (scanLog): ditto
6381
6382         * bufferview_funcs.C (currentState): use boost::format
6383
6384         * bufferlist.C (emergencyWrite): use boost::format
6385
6386         * buffer.C (readLyXformat2): use boost::format
6387         (parseSingleLyXformat2Token): ditto
6388
6389         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6390
6391         * LaTeX.C (run): use boost::format
6392
6393         * Chktex.C (scanLogFile): use boost::format
6394
6395         * BufferView_pimpl.C (savePosition): use boost::format
6396         (restorePosition): ditto
6397         (MenuInsertLyXFile): ditto
6398
6399         * BoostFormat.h: help file for explicit instation.
6400
6401 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6402
6403         * tabular.C (latex): Support for block alignment in fixed width
6404         columns.
6405
6406 2002-11-17  John Levon  <levon@movementarian.org>
6407
6408         * BufferView_pimpl.C:
6409         * lyx_cb.C:
6410         * lyxfunc.C: split filedialog into open/save
6411
6412 2002-11-08  Juergen Vigna  <jug@sad.it>
6413
6414         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6415         by my last patch (hopefully).
6416
6417 2002-11-08  John Levon  <levon@movementarian.org>
6418
6419         * iterators.h:
6420         * iterators.C:
6421         * buffer.h:
6422         * buffer.C:
6423         * paragraph.h:
6424         * paragraph.C:
6425         * toc.h:
6426         * toc.C: ParConstIterator, and use it (from Lars)
6427
6428 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6429
6430         * lyxtextclass.[Ch]: revise and add doxygen comments
6431
6432 2002-11-07  John Levon  <levon@movementarian.org>
6433
6434         * text.C: fix progress value for spellchecker
6435
6436         * toc.C: fix navigate menu for insetwrap inside minipage
6437
6438         * paragraph_funcs.C: added FIXME for suspect code
6439
6440 2002-11-07  John Levon  <levon@movementarian.org>
6441
6442         * BufferView_pimpl.C: fix redrawing of insets
6443           on buffer switch
6444
6445 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6446
6447         * text2.C (updateCounters): fix bug 668
6448
6449 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6450
6451         * text3.C (dispatch): Do not make the buffer dirty when moving the
6452         cursor.
6453
6454 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6455
6456         * vc-backend.C: STRCONV
6457         (scanMaster): ditto
6458
6459         * text2.C (setCounter): STRCONV
6460
6461         * paragraph.C (asString): STRCONV
6462
6463         * lyxlength.C (asString): STRCONV
6464         (asLatexString): ditto
6465
6466         * lyxgluelength.C (asString): STRCONV
6467         (asLatexString): ditto
6468
6469         * lyxfunc.C (dispatch): STRCONV
6470         (open): ditto
6471
6472         * lyxfont.C (stateText): STRCONV
6473
6474         * importer.C (Import): STRCONV
6475
6476         * counters.C (labelItem): STRCONV
6477         (numberLabel): ditto
6478         (numberLabel): remove unused ostringstream o
6479
6480         * chset.C: STRCONV
6481         (loadFile): ditto
6482
6483         * bufferview_funcs.C (currentState): STRCONV
6484
6485         * buffer.C (readFile): STRCONV
6486         (asciiParagraph): ditto
6487         (makeLaTeXFile): ditto
6488
6489         * Spacing.C (writeEnvirBegin): STRCONV
6490
6491         * LaTeXFeatures.C (getLanguages): STRCONV
6492         (getPackages): ditto
6493         (getMacros): ditto
6494         (getBabelOptions): ditto
6495         (getTClassPreamble): ditto
6496         (getLyXSGMLEntities): ditto
6497         (getIncludedFiles): ditto
6498
6499         * LaTeX.C: STRCONV
6500         (run): ditto
6501         (scanAuxFile): ditto
6502         (deplog): ditto
6503
6504         * LString.h: add the STRCONV macros
6505
6506         * BufferView_pimpl.C (savePosition): STRCONV
6507         (restorePosition): ditto
6508         (MenuInsertLyXFile): ditto
6509
6510         * vc-backend.C (scanMaster): change from submatch[...] to
6511         submatch.str(...)
6512
6513         * funcrequest.C: include config.h
6514
6515         * factory.C: include config.h
6516
6517         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6518
6519         * box.C: include config.h
6520
6521         * LaTeX.C (scanAuxFile): change from submatch[...] to
6522         submatch.str(...)
6523         (deplog): ditto
6524
6525 2002-10-25  Angus Leeming  <leeming@lyx.org>
6526
6527         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6528
6529         * ispell.[Ch] (setError): new method.
6530         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6531         Use setError() insetead of goto END.
6532
6533         * lyx_cb.C (AutoSave): move out child process into new class
6534         AutoSaveBuffer.
6535
6536 2002-10-30  John Levon  <levon@movementarian.org>
6537
6538         * text3.C: make start appendix undoable
6539
6540 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6541
6542         * lyxlength.C (inPixels): Fix returned value.
6543
6544         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6545         environment.
6546
6547 2002-10-24  Angus Leeming  <leeming@lyx.org>
6548
6549         * lyxgluelength.h: no need to forward declare BufferParams
6550         or BufferView, so don't.
6551
6552 2002-10-21  John Levon  <levon@movementarian.org>
6553
6554         * BufferView.C: menuUndo ->undo, redo
6555
6556         * BufferView.h: document, remove dead, make some methods private
6557
6558         * paragraph_funcs.h:
6559         * paragraph_funcs.C:
6560         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6561
6562         * buffer.h:
6563         * buffer.C:
6564         * sgml.h:
6565         * sgml.C: move sgml open/close tag into sgml.C
6566
6567         * bufferview_funcs.h: unused prototype
6568
6569         * lyxfunc.h:
6570         * lyxfunc.C: remove unused
6571
6572         * lyxtext.h:
6573         * text.C: remove unused
6574
6575 2002-10-21  John Levon  <levon@movementarian.org>
6576
6577         * BufferView.h:
6578         * BufferView.C:
6579         * BufferView_pimpl.h:
6580         * BufferView_pimpl.C: fix mouse wheel handling based on
6581           patch from Darren Freeman
6582
6583 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6584
6585         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6586
6587 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6588
6589         * lyxlength.C (inPixels): Fix hanfling of negative length.
6590         Fix LyXLength::MU case.
6591
6592 2002-10-16  John Levon  <levon@movementarian.org>
6593
6594         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6595
6596 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6597
6598         * converter.C (view): add support for $$i (file name) and $$p
6599         (file path) for the viewer command. If $$i is not specified, then
6600         it is appended to the command (for compatibility with old syntax)
6601
6602 2002-10-14  Juergen Vigna  <jug@sad.it>
6603
6604         * undo_funcs.C (textHandleUndo): alter the order in which the
6605         new undopar is added to the LyXText, as we have to set first
6606         the right prev/next and then add it as otherwise the rebuild of
6607         LyXText is not correct. Also reset the cursor to the right paragraph,
6608         with this IMO we could remove the hack in "redoParagraphs()".
6609
6610 2002-10-09  Angus Leeming  <leeming@lyx.org>
6611
6612         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6613         to turn off an optimisation if a new inset is to be inserted.
6614
6615 2002-10-11 André Pönitz <poenitz@gmx.net>
6616
6617         * lyxtext.h: make some functions public to allow access
6618         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6619
6620 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6621
6622         * text3.C (dispatch): when changing layout, avoid an infinite loop
6623         [bug #652]
6624
6625 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6626
6627         * lyxrc.C (read): treat a viewer or converter command of "none" as
6628         if it were empty.
6629
6630         * MenuBackend.C (expandFormats): for an update, also allow the
6631         formats that are not viewable
6632
6633         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6634         script if it is newer than the lyxrc.defaults in user directory
6635
6636 2002-10-07 André Pönitz <poenitz@gmx.net>
6637
6638         * text.C: Vitaly Lipatov's small i18n fix
6639
6640 2002-09-25  Angus Leeming  <leeming@lyx.org>
6641
6642         * ispell.h: doxygen fix.
6643
6644 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6645
6646         * buffer.h (readFile): Add a new argument to the method, to allow
6647         reading of old-format templates.
6648
6649 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6650
6651         * toc.C (getTocList): Get TOC from InsetWrap.
6652
6653 2002-09-16  John Levon  <levon@movementarian.org>
6654
6655         * lyxfunc.C: check tabular for cut/copy too
6656
6657 2002-09-12  John Levon  <levon@movementarian.org>
6658
6659         * LyXAction.C: tidy
6660
6661         * factory.h:
6662         * factory.C: add header
6663
6664         * paragraph_funcs.h:
6665         * paragraph_funcs.C: cleanup
6666
6667 2002-09-11  John Levon  <levon@movementarian.org>
6668
6669         * PrinterParams.h: odd/even default to true
6670
6671 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6672
6673         * PrinterParams.h: update printer parameters for new xforms dialog
6674
6675 2002-09-11  Angus Leeming  <leeming@lyx.org>
6676
6677         * lyxserver.C (read_ready): re-write to make it more transparent
6678         and to make it work in coherent fashion under Tru64 Unix.
6679
6680 2002-09-11  André Pönitz <poenitz@gmx.net>
6681
6682         * commandtags.h:
6683         * LyXAction.C:
6684         * text3.C: implement LFUN_WORDSEL
6685
6686 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6687
6688         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6689         make floatlist_ a boost::shared_ptr<FloatList>
6690
6691         * lyxtextclass.C: include FloatList.h
6692         (LyXTextClass): initialize floatlist_
6693         (TextClassTags): add TC_NOFLOAT
6694         (Read): match "nofloat" to TC_NOFLOAT and use it.
6695         (readFloat): modify call to floatlist_
6696         (floats): ditto
6697         (floats): ditto
6698
6699         * FloatList.[Ch] (FloatList): remove commented out float
6700         initialization.
6701         (erase): new function
6702
6703 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6704
6705         * MenuBackend.C (expandToc): fix crash when there is no document
6706         open
6707
6708 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6709
6710         * many files: Add insetwrap.
6711
6712 2002-09-09  John Levon  <levon@movementarian.org>
6713
6714         * text2.C: remove confusing and awkward depth wraparound
6715
6716 2002-09-09  John Levon  <levon@movementarian.org>
6717
6718         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6719
6720         * buffer.h:
6721         * buffer.C: remove getIncludeonlyList()
6722
6723         * paragraph.C:
6724         * lyxfunc.C: remove headers
6725
6726 2002-09-09  Juergen Vigna  <jug@sad.it>
6727
6728         * text.C (getColumnNearX): fix form Michael this is most
6729         probably a cut&paste bug.
6730
6731 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6732
6733         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6734
6735         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6736         references, ws changes.
6737
6738         * text2.C (init): update counters after init
6739         (insertParagraph): no need to set counter on idividual paragraphs.
6740         (setCounter): access the counters object in the textclass object
6741         on in the buffer object.
6742         (updateCounters): ditto
6743
6744         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6745         shared_ptr<Counters> to avoid loading counters.h in all
6746         compilation units.
6747         (LyXTextClass): initialize ctrs_
6748         (TextClassTags): add TC_COUNTER, and ...
6749         (Read): use it here.
6750         (CounterTags): new tags
6751         (readCounter): new function
6752         (counters): new funtion
6753         (defaultLayoutName): return a const reference
6754
6755         * counters.C (Counters): remove contructor
6756         (newCounter): remove a couple of unneeded statements.
6757         (newCounter): simplify a bit.
6758         (numberLabel): some small formatting changes.
6759
6760         * buffer.[Ch]: remove all traces of counters, move the Counters
6761         object to the LyXTextClass.
6762
6763 2002-09-06  Alain Castera  <castera@in2p3.fr>
6764
6765         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6766         package to set the horizontal alignment on fixed width columns.
6767
6768         * lyx_sty.C:
6769         * lyx_sty.h: added tabularnewline macro def.
6770
6771         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6772
6773 2002-09-06  John Levon  <levon@movementarian.org>
6774
6775         * LyXAction.C: tooltips for sub/superscript
6776
6777         * MenuBackend.C: a bit more verbose
6778
6779         * lyxfunc.C: tiny clean
6780
6781         * undo_funcs.C: document undo_frozen
6782
6783 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6784
6785         * counters.C (Counters): add missing algorithm counter.
6786
6787         * text2.C (setCounter): lookup the counter with layouts latexname
6788         instead of by section number.
6789         (setCounter): use a hackish way to lookup the correct enum
6790         counter.
6791         a float name->type change
6792         reset enum couners with counter name directly instead of depth value.
6793
6794         * counters.C (Counters): remove the push_backs, change to use the
6795         float type not the float name.
6796         (labelItem): remove unused string, float name->type change
6797
6798         * counters.h: don't include vector, loose the enums and sects vectors
6799
6800 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6801
6802         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6803         (Read): add float->TC_FLOAT to textclassTags
6804         (Read): and handle it in the switch
6805         (readFloat): new function
6806
6807         * FloatList.C (FloatList): comment out the hardcoded float
6808         definitions.
6809
6810         * lyxlayout.h: ws change.
6811
6812 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6813
6814         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6815
6816 2002-09-03  Angus Leeming  <leeming@lyx.org>
6817
6818         * BufferView_pimpl.h: qualified name is not allowed in member
6819         declaration: WorkArea & Pimpl::workarea() const;
6820
6821         * factory.C: added using std::endl directive.
6822
6823         * text3.C: added using std::find and std::vector directives.
6824
6825 2002-08-29  André Pönitz <poenitz@gmx.net>
6826
6827         * lyxtext.h:
6828         * text2.C: remove unused member number_of_rows
6829
6830         * Makefile.am:
6831         * BufferView2.C: remove file, move contents to...
6832         * BufferView.C: ... here
6833
6834         * BufferView_pimpl.C:
6835         * factory.C: move more inset creation to factory
6836
6837         * vspace.C: avoid direct usage of LyXText, ws changes
6838
6839         * BufferView.[Ch]:
6840                 don't provide direct access to WorkArea, use two simple
6841                 acessors haveSelction() and workHeight() instead
6842
6843
6844 2002-08-29  John Levon  <levon@movementarian.org>
6845
6846         * BufferView_pimpl.C (dispatch): do not continue when
6847           no buffer
6848
6849 2002-08-28  André Pönitz <poenitz@gmx.net>
6850
6851         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6852
6853         * BufferView.h:
6854         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6855
6856 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6857
6858         * buffer.C: increment LYX_FORMAT to 221
6859
6860         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6861         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6862
6863         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6864
6865         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6866
6867 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6868
6869         * factory.C (createInset): use LyXTextClass::floats
6870
6871         * MenuBackend.C (expandFloatListInsert):
6872         (expandFloatInsert):
6873         (expandToc):
6874
6875         * text2.C (setCounter):
6876
6877         * LaTeXFeatures.C (useFloat):
6878         (getFloatDefinitions):
6879
6880         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6881
6882         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6883         floatlist_, with accessor floats().
6884
6885         * FloatList.h: remove global FloatList
6886
6887 2002-08-26  André Pönitz <poenitz@gmx.net>
6888
6889         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6890
6891         * BufferView.h:
6892         * BufferView2.C:
6893         * BufferView_pimpl.C:
6894         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6895
6896 2002-08-25  John Levon  <levon@movementarian.org>
6897
6898         * LyXAction.C: fix margin note description
6899
6900 2002-08-24  John Levon  <levon@movementarian.org>
6901
6902         * buffer.C:
6903         * bufferlist.C:
6904         * bufferview_funcs.C:
6905         * lyxfont.C:
6906         * undo_funcs.C: cleanups
6907
6908         * lyxfunc.C: disable CUT/COPY when no selection
6909
6910 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6911
6912         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6913         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6914
6915         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6916         Add backward compatibility to "mono", "gray" and "no".
6917
6918 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6919
6920         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6921         (and file_format >= 200).
6922
6923 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6924
6925         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6926
6927 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6928
6929         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6930
6931 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6932
6933         * BufferView_pimpl.C:
6934         * LyXAction.C:
6935         * buffer.C:
6936         * commandtags.h:
6937         * lyxfunc.C:
6938         * paragraph.[Ch]:
6939         * text2.C:
6940         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6941         inset and code to make it  work with the paragraph code. The inset
6942         can be anywhere in the paragraph, but will only do the expected
6943         thing in LaTeX if the layout file contains the parameter line
6944                         OptionalArgs    1
6945         (or more generally, a nonzero value) for that layout.
6946
6947 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6948
6949         * paragraph.h: remove the declaration of undefined counters class
6950         function.
6951
6952 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6953
6954         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6955         Dr. Richard Hawkins.
6956
6957 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6958
6959         * paragraph_funcs.h: remove some unneeded includes
6960
6961         * text.C (backspace): pasteParagraph now in global scipe
6962
6963         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6964         (pasteSelection): ditto
6965
6966         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6967         * paragraph_funcs.C (pasteParagraph): ... here
6968
6969 2002-08-20  André Pönitz <poenitz@gmx.net>
6970
6971         * commandtags.h: new LFUNs for swapping/copying table row/colums
6972
6973         * LyXAction.C:
6974         * lyxfunc.C: support for new lfuns
6975
6976 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6977
6978         * tabular.C:
6979         * buffer.[Ch]: remove NO_COMPABILITY stuff
6980
6981 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6982
6983         * boost.C (throw_exception): new file, with helper function for
6984         boost compiled without exceptions.
6985
6986         * paragraph.h:
6987         * lyxlength.C:
6988         * buffer.C:
6989         * ParameterStruct.h:
6990         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6991
6992         * bufferlist.C (emergencyWriteAll): use boost bind
6993
6994         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6995
6996         * text.C: include paragraph_funcs.h
6997         (breakParagraph): breakParagraph is now in global scope
6998
6999         * paragraph_funcs.[Ch]: new files
7000
7001         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7002         global scope
7003
7004         * buffer.C: include paragraph_funcs.h
7005         (insertStringAsLines): breakParagraph is now in global scope
7006
7007         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7008         paragraph_funcs.C
7009
7010         * CutAndPaste.C: include paragraph_funcs.h
7011         (cutSelection): breakParagraphConservative is now in global scope
7012         (pasteSelection): ditto
7013
7014         * buffer.h: declare oprator== and operator!= for
7015         Buffer::inset_iterator
7016
7017         * bufferlist.C (emergencyWrite): don't use fmt(...)
7018
7019         * text3.C: add using std::endl
7020
7021         * BufferView.C (moveCursorUpdate): remove default arg
7022
7023 2002-08-20  André Pönitz <poenitz@gmx.net>
7024
7025         * buffer.[Ch]: move inline functions to .C
7026
7027         * BufferView2.C:
7028         * BufferView_pimpl.C:
7029         * text.C:
7030         * buffer.[Ch]: use improved inset_iterator
7031
7032         * buffer.C:
7033         * paragraph.[Ch]: write one paragraph at a time
7034
7035 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7036
7037         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7038         style if style is not specified.
7039
7040 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7041
7042         * text2.C (setCounter): when searching for right label for a
7043         caption, make sure to recurse to parent insets (so that a caption
7044         in a minipage in a figure float works) (bug #568)
7045
7046 2002-08-20  André Pönitz <poenitz@gmx.net>
7047
7048         * text3.C: new file for LyXText::dispatch() and helpers
7049
7050         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7051
7052         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7053
7054 2002-08-19  André Pönitz <poenitz@gmx.net>
7055
7056         * lyxtext.h:
7057         * text.C: new LyXText::dispatch()
7058
7059         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7060
7061 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7062
7063         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7064
7065         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7066         Hebrew text.
7067
7068 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7069
7070         * Makefile.am: use $(variables) instead of @substitutions@
7071
7072 2002-08-15  André Pönitz <poenitz@gmx.net>
7073
7074         * lyxfunc.C:
7075         * BufferView_pimpl.C: streamlining mathed <-> outer world
7076         interaction
7077
7078         * commandtags.h:
7079         * LyXAction.C: remove unused LFUN_MATH
7080
7081 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7082
7083         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7084
7085 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7086
7087         * paragraph.C (Paragraph): reformat a bit
7088         (cutIntoMinibuffer): use builtin InsetList function instad of
7089         doing it manually.
7090         (getInset): ditto
7091
7092         * buffer.C: include boost/bind.hpp, add using std::for_each
7093         (writeFileAscii): use ParagraphList iterators
7094         (validate): use for_each for validate traversal of paragraphs
7095         (getBibkeyList): use ParagraphList iterators
7096         (resizeInsets): use for_each to resizeInsetsLyXText for all
7097         paragraphs.
7098         (getParFromID): use ParagraphList iterators
7099
7100         * BufferView2.C (lockInset): use paragraph list and iterators
7101
7102 2002-08-14  John Levon  <levon@movementarian.org>
7103
7104         * lyxserver.C: remove spurious xforms include
7105
7106 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7107
7108         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7109
7110 2002-08-13  André Pönitz <poenitz@gmx.net>
7111
7112         * LyXAction.[Ch]:
7113         * lyxfunc.C: further cleaning
7114
7115 2002-08-13  André Pönitz <poenitz@gmx.net>
7116
7117         * funcrequest.h: new constructor
7118
7119         * funcrequest.C: move stuff here from .h
7120
7121         * Makefile.am:
7122         * BufferView_pimpl.C:
7123         * LyXAction.C:
7124         * toc.C:
7125         * lyxfunc.C: subsequent changes
7126
7127         * lyxfunc.h: new view() member function
7128
7129         * lyxfunc.C: subsequent changes
7130
7131 2002-08-13  Angus Leeming  <leeming@lyx.org>
7132
7133         * BufferView2.C:
7134         * BufferView_pimpl.C:
7135         * buffer.C:
7136         * converter.C:
7137         * importer.C:
7138         * lyxfunc.C:
7139         * lyxvc.C:
7140         * toc.C:
7141         * vc-backend.C:
7142         changes due to the changed LyXView interface that now returns references
7143         to member variables not pointers.
7144
7145 2002-08-13  Angus Leeming  <leeming@lyx.org>
7146
7147         * WordLangTuple (word, lang_code): return references to strings,
7148         not strings.
7149
7150         * BufferView.h:
7151         * SpellBase.h:
7152         * lyxtext.h: forward-declare WordLangTuple.
7153
7154         * BufferView2.C:
7155         * ispell.C:
7156         * pspell.C:
7157         * text.C: #include "WordLangTuple.h".
7158
7159         * lyxtext.h:
7160         * text.C: (selectNextWordToSpellcheck): constify return type.
7161
7162 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7163
7164         * buffer.C:
7165         * buffer.h:
7166         * lyxtext.h:
7167         * paragraph.C:
7168         * paragraph_pimpl.h:
7169         * text.C:
7170         * text2.C:
7171         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7172         suggested by Angus.
7173         Made updateCounter always count from start of buffer, and removed
7174         second argument (par).
7175         Reverted floats number display to '#'. Perhaps I'll try again when the
7176         code base is sanitized a bit.
7177
7178 2002-08-12  Angus Leeming  <leeming@lyx.org>
7179
7180         * buffer.[Ch] (getLabelList): constify.
7181
7182 2002-08-07  André Pönitz <poenitz@gmx.net>
7183
7184         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7185
7186         * funcrequest.h: extension to keep mouse (x,y) position
7187
7188 2002-08-12  Juergen Vigna  <jug@sad.it>
7189
7190         * BufferView2.C (insertErrors): forbid undo when inserting error
7191         insets.
7192
7193         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7194
7195 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7196
7197         * ParagraphList.[Ch]: new files
7198
7199         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7200
7201         * BufferView2.C (lockInset): ParagraphList changes
7202         * toc.C: ditto
7203         * text2.C: ditto
7204         * bufferlist.C: ditto
7205         * buffer.h: ditto
7206         * buffer.C: ditto
7207
7208 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7209
7210         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7211         unused class variable counter_,
7212
7213         * paragraph.[Ch] (getFirstCounter): delete unused function
7214
7215         * counters.C: include LAssert.h
7216         (reset): add a new function with no arg, change other version to
7217         not have def. arg and to not allow empty arg.
7218
7219         * text2.C (setCounter): remove empty arg from call to Counters::reset
7220
7221 2002-08-11  John Levon  <levon@movementarian.org>
7222
7223         * Makefile.am: add WordLangTuple.h
7224
7225 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7226
7227         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7228         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7229
7230         * insets/insettext.C: InsetList changes
7231
7232         * graphics/GraphicsSupport.C (operator()): InsetList changes
7233
7234         * toc.C (getTocList): InsetList changes
7235
7236         * paragraph_pimpl.[Ch]: InsetList changes
7237
7238         * paragraph.[Ch]: InsetList changes
7239
7240         * buffer.C (inset_iterator): InsetList changes
7241         (setParagraph): ditto
7242         * buffer.h (inset_iterator): ditto
7243         * iterators.C (operator++): ditto
7244         * iterators.h: ditto
7245
7246         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7247
7248         * InsetList.[Ch]: new files, most InsetList handling moved out of
7249         paragraph.C.
7250
7251         * BufferView2.C (removeAutoInsets): InsetList changes
7252         (lockInset): ditto
7253         (ChangeInsets): ditto
7254
7255 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7256
7257         * paragraph_pimpl.h (empty): new function
7258
7259         * paragraph.[Ch] (empty): new function
7260
7261         * other files: use the new Paragraph::empty function
7262
7263 2002-08-09  John Levon  <levon@movementarian.org>
7264
7265         * lyxtext.h: remove unused refresh_height
7266
7267 2002-08-09  John Levon  <levon@movementarian.org>
7268
7269         * Makefile.am:
7270         * sgml.h:
7271         * sgml.C:
7272         * buffer.C:
7273         * paragraph.h:
7274         * paragraph.C: move sgml char escaping out of paragraph
7275
7276         * paragraph.h:
7277         * paragraph.C: remove id setter
7278
7279         * buffer.C:
7280         * paragraph.C:
7281         * paragraph_pimpl.C: remove dead tex_code_break_column
7282
7283         * bufferview_funcs.C: small cleanup
7284
7285         * lyxfunc.C: remove dead proto
7286
7287         * lyxtext.h: make some stuff private. Remove some dead stuff.
7288
7289         * lyxgluelength.C: make as[LyX]String() readable
7290
7291 2002-08-08  John Levon  <levon@movementarian.org>
7292
7293         * LyXAction.h:
7294         * LyXAction.C:
7295         * MenuBackend.C:
7296         * ToolbarDefaults.C:
7297         * lyxfunc.C:
7298         * lyxrc.C:
7299         * toc.C: lyxaction cleanup
7300
7301 2002-08-08  John Levon  <levon@movementarian.org>
7302
7303         * BufferView2.C: small cleanup
7304
7305         * lyxfind.h:
7306         * lyxfind.C: move unnecessary header into the .C
7307
7308 2002-08-08  John Levon  <levon@movementarian.org>
7309
7310         * funcrequest.h: just tedious nonsense
7311
7312         * lyx_main.h:
7313         * lyx_main.C: cleanups
7314
7315         * buffer.C:
7316         * vspace.C: remove dead header lyx_main.h
7317
7318 2002-08-07  Angus Leeming  <leeming@lyx.org>
7319
7320         * Paragraph.[Ch]:
7321         * paragraph_pimpl.h:
7322         Forward declare class Counters in paragraph.h by moving the ctrs member
7323         variable into Paragraph::Pimpl.
7324         (counters): new method, returning a reference to pimpl_->ctrs.
7325
7326         * text2.C: ensuing changes.
7327
7328 2002-08-07  John Levon  <levon@movementarian.org>
7329
7330         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7331
7332         * BufferView_pimpl.C: announce X selection on double/triple
7333           click
7334
7335         * lyx_main.C: use correct bool in batch dispatch
7336
7337         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7338
7339 2002-08-07  André Pönitz <poenitz@gmx.net>
7340
7341         * funcrequest.h: new class to wrap a kb_action and its argument
7342
7343         * BufferView.[Ch]:
7344         * BufferView_pimpl[Ch]:
7345         * LaTeX.C:
7346         * LyXAction.[Ch]:
7347         * lyxfunc.[Ch]:
7348         * lyxrc.C: subsequent changes
7349
7350
7351 2002-08-07  John Levon  <levon@movementarian.org>
7352
7353         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7354           document options change.
7355
7356 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7357
7358         * counters.[Ch]
7359         * text2.C
7360         * paragraph.[Ch]
7361         * makefile.am: move counters functionality over from
7362         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7363
7364 2002-08-06  John Levon  <levon@movementarian.org>
7365
7366         * WordLangTuple.h: new file for word + language code tuple
7367
7368         * SpellBase.h:
7369         * pspell.h:
7370         * pspell.C:
7371         * ispell.h:
7372         * ispell.C:
7373         * lyxtext.h:
7374         * text.C:
7375         * text2.C:
7376         * BufferView.h:
7377         * BufferView2.C: use WordLangTuple
7378
7379         * layout.h:
7380         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7381
7382 2002-08-06  John Levon  <levon@movementarian.org>
7383
7384         * lyx_main.C: fix cmdline batch handling
7385
7386 2002-08-06  André Pönitz <poenitz@gmx.net>
7387
7388         * lyxrc.C: set default for show_banner to true
7389
7390 2002-08-06  John Levon  <levon@movementarian.org>
7391
7392         * pspell.C: fix a crash, and allow new aspell to work
7393
7394 2002-08-06  John Levon  <levon@movementarian.org>
7395
7396         * lyxfunc.C:
7397         * kbmap.C: small cleanup
7398
7399         * vspace.h:
7400         * vspace.C: add const
7401
7402 2002-08-05  John Levon  <levon@movementarian.org>
7403
7404         * LyXAction.C: back to tabular-insert
7405
7406 2002-08-04  John Levon  <levon@movementarian.org>
7407
7408         * BufferView.h:
7409         * BufferView.C: cosmetic change
7410
7411         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7412
7413         * bufferlist.C:
7414         * buffer.h:
7415         * buffer.C:
7416         * lyxcb.h:
7417         * lyxcb.C:
7418         * lyxserver.C:
7419         * lyxvc.C:
7420         * vc-backend.C:
7421         * BufferView2.C: purge all "Lyx" not "LyX" strings
7422
7423         * lyxcursor.h:
7424         * lyxcursor.C: attempt to add some documentation
7425
7426         * lyxfunc.C:
7427         * commandtags.h:
7428         * LyXAction.C:
7429         * ToolbarDefaults.C:
7430         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7431           merge with LFUN_TABULAR_INSERT
7432
7433         * Makefile.am:
7434         * SpellBase.h:
7435         * ispell.h:
7436         * ispell.C:
7437         * pspell.h:
7438         * pspell.C: split up i/pspell implementations into separate
7439           files, many cleanups
7440
7441         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7442
7443         * text2.C: some cleanup
7444
7445         * lyxfunc.C: don't check for isp_command == "none" any more, it
7446           didn't make any sense
7447
7448 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7449
7450         * counters.[Ch]
7451         * text2.C
7452         * paragraph.[Ch]
7453         * makefile.am: move counters functionality over
7454         from text2.C/paragraph.[Ch] to counters.[Ch], and
7455         make proper C++.
7456 2002-08-02  John Levon  <levon@movementarian.org>
7457
7458         * buffer.C: s/lyxconvert/lyx2lyx/
7459
7460 2002-08-02  Angus Leeming  <leeming@lyx.org>
7461
7462         * lyxlex.C: revert John's change as it breaks reading of the user
7463         preamble.
7464
7465 2002-08-02  Angus Leeming  <leeming@lyx.org>
7466
7467         * importer.C (Import):
7468         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7469         changes due to LyXView::view() now returning a boost::shared_ptr.
7470
7471 2002-08-02  John Levon  <levon@movementarian.org>
7472
7473         * lyxlex.C: small cleanup
7474
7475 2002-08-02  John Levon  <levon@movementarian.org>
7476
7477         * text2.C (status): small cleanup, no logic change
7478
7479 2002-08-01  John Levon  <levon@movementarian.org>
7480
7481         * buffer.h:
7482         * buffer.C (writeFile): don't output alerts, caller
7483           handles this
7484
7485         * bufferlist.C:
7486         * lyx_cb.C: from above
7487
7488         * lyxfunc.C: allow to open non-existent files
7489
7490 2002-07-31  John Levon  <levon@movementarian.org>
7491
7492         * lyxserver.C: don't let incidental errors get
7493           in the way (errno)
7494
7495 2002-07-30  John Levon  <levon@movementarian.org>
7496
7497         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7498
7499 2002-07-30  John Levon  <levon@movementarian.org>
7500
7501         * lyxserver.h:
7502         * lyxserver.C: remove I/O callback too
7503
7504 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7505
7506         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7507         log.
7508
7509 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7510
7511         * many files: strip,frontStrip -> trim,ltrim,rtrim
7512
7513 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7514
7515         * PrinterParams.h: remove extern containsOnly, and include
7516         support/lstrings.h instead.
7517
7518         * LaTeX.C (scanAuxFile): modify because of strip changes
7519         (deplog): ditto
7520         * buffer.C (makeLaTeXFile): ditto
7521         * bufferparams.C (writeFile): ditt
7522         * lyxfont.C (stateText): ditto
7523         * lyxserver.C (read_ready): ditto
7524         * vc-backend.C (scanMaster): ditto
7525
7526         * BufferView_pimpl.h: ws changes
7527
7528         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7529
7530 2002-07-26  André Pönitz <poenitz@gmx.net>
7531
7532         * kb_sequence.C: remove unnedred usings
7533
7534 2002-07-26  Juergen Vigna  <jug@sad.it>
7535
7536         * lyxfind.C (LyXReplace): we have to check better if the returned
7537         text is not of theLockingInset()->getLockingInset().
7538
7539 2002-07-25  Juergen Vigna  <jug@sad.it>
7540
7541         * lyxfind.C (LyXReplace): don't replace if we don't get the
7542         right LyXText.
7543
7544         * undo_funcs.C (createUndo): remove debugging code.
7545
7546 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7547
7548         * buffer.C (parseSingleLyXformat2Token): Use default placement
7549         when reading old floats.
7550
7551         * FloatList.C (FloatList): Change the default placement of figure
7552         and tables to "tbp".
7553
7554 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7555
7556         * MenuBackend.C: using std::max
7557
7558 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7559
7560         * MenuBackend.C (expandToc):
7561         (expandToc2): code moved from xforms menu frontend. It is now
7562         generic and TOCs are transparent to menu frontends.
7563
7564 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7565
7566         * toc.C (getTocList): protect against buf=0
7567
7568         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7569         Menu as first parameter. Now, this calls itself recursively to
7570         expand a whole tree (this will be useful for TOC handling)
7571         (expandFloatInsert): remove 'wide' version of floats
7572
7573         * MenuBackend.h (submenuname): returns the name of the submenu.
7574         (submenu): returns the submenu itself, provided it has been
7575         created by MenuBackend::expand
7576
7577 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7578
7579         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7580         insets which have noFontChange == true. (bug #172)
7581
7582 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7583
7584         * BufferView_pimpl.C: add connection objects and use them...
7585         (Pimpl): here.
7586
7587 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7588
7589         * MenuBackend.C (expandLastfiles):
7590         (expandDocuments):
7591         (expandFormats):
7592         (expandFloatListInsert):
7593         (expandFloatInsert):
7594         (expand): split expand in parts
7595
7596 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7597
7598         * lyx_gui.C: use lyx_gui::exit()
7599
7600 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7601
7602         * LyXAction.C: show the failing pseudo action
7603
7604 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7605
7606         * buffer.C (readFile): Run the lyxconvert script in order to read
7607         old files.
7608
7609 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7610
7611         * LyXAction.C:
7612         * commandtags.h:
7613         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7614
7615 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7616
7617         * LyXAction.C:
7618         * commandtags.h:
7619         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7620
7621 2002-07-22  Herbert Voss  <voss@lyx.org>
7622
7623         * lengthcommon.C:
7624         * lyxlength.[Ch]: add support for the vertical lengths
7625
7626 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7627
7628         * toc.[Ch]: std:: fixes
7629
7630 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7631
7632         * lyxrc.C: do not include lyx_main.h
7633
7634         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7635         for layouts
7636
7637         * lyxrc.C:
7638         * encoding.C:
7639         * bufferlist.C:
7640         * BufferView2.C: include "lyxlex.h"
7641
7642         * tabular.h:
7643         * bufferparams.h: do not #include "lyxlex.h"
7644
7645         * lyxtextclasslist.C (Add): remove method
7646         (classlist): renamed to classlist_
7647
7648         * paragraph_pimpl.C:
7649         * paragraph.C:
7650         * text2.C:
7651         * CutAndPaste.C:
7652         * bufferview_funcs.C:
7653         * bufferlist.C:
7654         * text.C:
7655         * LaTeXFeatures.C:
7656         * buffer.C:
7657         * toc.C (getTocList): use BufferParams::getLyXTextClass
7658
7659         * toc.C (getTocList): use InsetFloat::addToToc
7660
7661         * toc.[Ch]: new files, containing helper functions to handle table
7662         of contents
7663
7664         * lyxfunc.C (dispatch): no need to remove spaces around command
7665         given as a string
7666         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7667         first command of the sequence; it is not very clever, but I do not
7668         have a better idea, actually
7669
7670         * LyXAction.C (LookupFunc): make sure to remove space at the
7671         beginning and end of the command
7672
7673 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7674
7675         * MenuBackend.C (getMenubar): new method: return the menubar of
7676         this menu set
7677         (read): treat differently reading of menu and menubar (in
7678         particular, the menubar has no name now)
7679         (Menu::menubar): remove
7680
7681         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7682         saving is finished
7683
7684 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7685
7686         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7687         a bibitem inset in a RTL paragraph.
7688
7689 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7690
7691         * paragraph_pimpl.C: constify
7692
7693         * BufferView_pimpl.C:
7694         * LaTeX.C:
7695         * lyxfunc.C: fix dispatch in a nicer way
7696
7697 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7698
7699         * lyxfunc.C (dispatch):
7700         * BufferView_pimpl.C:
7701         * BufferView_pimpl.h:
7702         * BufferView.C:
7703         * BufferView.h: rename Dispatch() to dispatch()
7704
7705         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7706
7707         * lyxlayout.C (Read): honor DependsOn tag
7708
7709         * lyxlayout.[Ch] (depends_on): new method
7710
7711         * version.C.in: update lyx_docversion
7712
7713         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7714
7715         * paragraph.C (validate): remove from here...
7716         * paragraph_pimpl.C (validate): ... and move here
7717         (isTextAt): make it const
7718
7719         * buffer.C (getLists): ws cleanup
7720
7721 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7722
7723         * language.C (read): Use iso8859-1 encoding in latex_lang
7724         (this prevents LyX from crashing when using iso10646-1 encoding).
7725
7726 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7727
7728         * text2.C (toggleInset): if cursor is inside an inset, close the
7729         inset and leave cursor _after_ it
7730
7731 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7732
7733         * lyxfunc.C: move minibuffer completion handling out of here
7734
7735 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7736
7737         * BufferView_pimpl.C:
7738         * LaTeX.C: fix dispatch calls
7739
7740 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7741
7742         * text.C (drawChars): Fix Arabic text rendering.
7743
7744 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7745
7746         * LyXAction.C:
7747         * commandtags.h:
7748         * lyxfunc.C: remove message-push/pop
7749
7750         * lyxserver.C:
7751         * lyxfunc.h:
7752         * lyxfunc.C: rationalise some code by removing verboseDispatch
7753           in favour of a bool argument to dispatch()
7754
7755 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7756
7757         * lyx_main.C (init): make sure to read symlinks as absolute paths
7758
7759 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7760
7761         * lyxfunc.h:
7762         * lyxfunc.C: no need for commandshortcut to be a member
7763
7764 2002-07-15  André Pönitz <poenitz@gmx.net>
7765
7766         * converter.C: add support for $$s (scripts from lib/scripts dir)
7767         * lyx_main.C: white space
7768
7769 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7770
7771         * bufferlist.C:
7772         * lyxrc.h:
7773         * lyxrc.C: remove second exit confirmation
7774
7775 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7776
7777         * BufferView.h:
7778         * BufferView.C:
7779         * BufferView2.C:
7780         * BufferView_pimpl.h:
7781         * BufferView_pimpl.C:
7782         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7783
7784 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7785
7786         * MenuBackend.C (expand): add numeric shortcuts to document menu
7787
7788         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7789
7790 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7791
7792         * lyxfont.C (setLyXFamily):
7793         (setLyXSeries):
7794         (setLyXShape):
7795         (setLyXSize):
7796         (setLyXMisc):
7797         (lyxRead):
7798         * debug.C (value):
7799         * buffer.C (asciiParagraph): use ascii_lowercase
7800
7801 2002-07-15  Mike Fabian  <mfabian@suse.de>
7802
7803         * lyxlex_pimpl.C (search_kw):
7804         * lyxlex.C (getLongString):
7805         * converter.h (operator<):
7806         * converter.C (operator<):
7807         * buffer.C (parseSingleLyXformat2Token):
7808         (asciiParagraph):
7809         * ToolbarDefaults.C (read):
7810         * MenuBackend.C (checkShortcuts):
7811         (read):
7812         * LColor.C (getFromGUIName):
7813         (getFromLyXName): use the compare_ascii_no_case instead of
7814         compare_no_case, because in turkish, 'i' is not the lowercase
7815         version of 'I', and thus turkish locale breaks parsing of tags.
7816
7817 2002-07-16  Angus Leeming  <leeming@lyx.org>
7818
7819         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7820         now takes a Buffer const & argument.
7821
7822 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7823
7824         * BufferView.C (resize): check there's a buffer to resize
7825
7826 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7827
7828         * lyxfunc.C: remove dead code
7829
7830         * lyxserver.h:
7831         * lyxserver.C: use lyx_guii::set_read_callback
7832
7833 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7834
7835         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7836         an inset in a RTL paragraph.
7837
7838 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7839
7840         * lyxfunc.C: repaint after a font size update
7841
7842 2002-07-15  André Pönitz <poenitz@gmx.net>
7843
7844         * lyxlength.C: inBP should be able to return negative values
7845
7846 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7847
7848         * lyxfunc.C: use lyx_gui::update_fonts()
7849
7850 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7851
7852         * lyxfunc.C: use lyx_gui::update_color()
7853
7854 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7855
7856         * bufferlist.C:
7857         * lyxfunc.h:
7858         * lyxfunc.C:
7859         * lyxrc.h:
7860         * lyxrc.C: remove file->new asks for name option, and let
7861           buffer-new take an argument
7862
7863 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7864
7865         * BufferView_pimpl.C: remove unneeded extra repaint()
7866
7867 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7868
7869         * LyXAction.C: allow command-sequence with NoBuffer
7870
7871         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7872
7873 2002-07-10  Angus Leeming  <leeming@lyx.org>
7874
7875         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7876
7877 2002-07-09  Angus Leeming  <leeming@lyx.org>
7878
7879         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7880
7881 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7882
7883         * lengthcommon.h: whitespace
7884
7885         * lyxfunc.C: update scrollbar after goto paragraph
7886
7887         * lyxtext.h: factor out page break drawing, and fix it so
7888           page break/added space paints as selected nicely
7889
7890 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7891
7892         * BufferView_pimpl.C: add FIXMEs, clean up a little
7893
7894 2002-07-09  André Pönitz <poenitz@gmx.net>
7895
7896         * lyxfont.[Ch]: support for wasy symbols
7897
7898 2002-07-08  André Pönitz <poenitz@gmx.net>
7899
7900         * BufferView_pimpl.C: apply John's patch for #93.
7901
7902 2002-07-05  Angus Leeming  <leeming@lyx.org>
7903
7904         * BufferView_pimpl.C (buffer): generate previews if desired.
7905
7906         * LColor.h: add "preview" to the color enum.
7907
7908         * LColor.C (LColor): add a corresponding entry to the items array.
7909
7910         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7911         with this buffer.
7912
7913 2002-07-05  Angus Leeming  <leeming@lyx.org>
7914
7915         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7916         The body of the code is now in the method that is passed an ostream &
7917         rather than a file name.
7918         Pass an additional only_preamble parameter, useful for the forthcoming
7919         preview stuff.
7920
7921 2002-07-03  André Pönitz <poenitz@gmx.net>
7922
7923         * lyxfunc.C: simplify getStatus() a bit for math stuff
7924
7925 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7926
7927         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7928
7929 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7930
7931         * text.C (changeRegionCase): do not change case of all the
7932         document when region ends at paragraph end (bug #461)
7933
7934 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7935
7936         * paragraph.C (startTeXParParams):
7937         (endTeXParParams): add \protect when necessary
7938
7939 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7940
7941         * BufferView_pimpl.C (workAreaExpose): remove warning
7942
7943 2002-06-27  Angus Leeming  <leeming@lyx.org>
7944
7945         * Makefile.am: add lyxlayout_ptr_fwd.h.
7946
7947 2002-06-26  André Pönitz <poenitz@gmx.net>
7948
7949         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7950
7951 2002-06-25  Angus Leeming  <leeming@lyx.org>
7952
7953         * lyxfunc.C (dispatch): Comment out the call to
7954         grfx::GCache::changeDisplay. The method no longer exists now that the
7955         pixmap generation part of the graphics loader has been moved into
7956         InsetGraphics.
7957
7958 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7959
7960         * text2.C: layout as layout
7961
7962         * text.C: layout as layout
7963
7964         * tabular.C (OldFormatRead): layout as layout
7965
7966         * paragraph_pimpl.C (TeXDeeper): layout as layout
7967         (realizeFont): layout as layout
7968
7969         * paragraph.C (writeFile): layout as layout
7970         (validate): layout as layout
7971         (getFont): layout as layout
7972         (getLabelFont): layout as layout
7973         (getLayoutFont): layout as layout
7974         (breakParagraph): layout as layout
7975         (stripLeadingSpaces): layout as layout
7976         (getEndLabel): layout as layout
7977         (getMaxDepthAfter): layout as layout
7978         (applyLayout): layout as layout
7979         (TeXOnePar): layout as layout
7980         (simpleTeXOnePar): layout as layout
7981         (TeXEnvironment): layout as layout
7982         (layout): layout as layout
7983         (layout): layout as layout
7984
7985         * lyxtextclass.C (compare_name): new functor to work with
7986         shared_ptr, layout as layout
7987         (Read): layout as layout
7988         (hasLayout): layout as layout
7989         (operator): layout as layout
7990         (delete_layout): layout as layout
7991         (defaultLayout): layout as layout
7992
7993         * lyxlayout_ptr_fwd.h: new file
7994
7995         * lyxlayout.C (Read): layout as layout
7996
7997         * lyx_cb.C (MenuInsertLabel): layout as layout
7998
7999         * bufferlist.C (newFile): layout as layout
8000
8001         * buffer.C (readLyXformat2): layout as layout
8002         (parseSingleLyXformat2Token): layout as layout
8003         (insertStringAsLines): layout as layout
8004         (asciiParagraph): layout as layout
8005         (latexParagraphs): layout as layout
8006         (makeLinuxDocFile): layout as layout
8007         (simpleLinuxDocOnePar): layout as layout
8008         (makeDocBookFile): layout as layout
8009         (simpleDocBookOnePar): layout as layout
8010         (getLists): layout as layout
8011
8012         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8013
8014         * CutAndPaste.C (cutSelection): layout as layout
8015         (pasteSelection): layout as layout
8016         (SwitchLayoutsBetweenClasses): layout as layout
8017
8018         * BufferView_pimpl.C (Dispatch): layout as layout
8019         (smartQuote): layout as layout
8020
8021         * BufferView2.C (unlockInset): layout as layout
8022
8023 2002-06-24  André Pönitz <poenitz@gmx.net>
8024
8025         * lyxfunc.C: fix #487
8026
8027 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8028
8029         * lyxrc.h:
8030         * lyxrc.C:
8031         * lyxfunc.C: remove display_shortcuts, show_banner
8032
8033 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8034
8035         * Buffer_pimpl.C: oops, update on resize
8036
8037 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8038
8039         * buffer.C:
8040         * converter.C:
8041         * exporter.C:
8042         * lyxfunc.C:
8043         * BufferView.h:
8044         * BufferView.C: use repaint()
8045
8046         * BufferView_pimpl.h:
8047         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8048           as it's a clearer description. Remove superfluous
8049           redraws.
8050
8051 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8052
8053         * text.C: fix bug 488. Not ideal, but getting
8054           getWord() to work properly for the insets that
8055           matter is more difficult ...
8056
8057 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8058
8059         * BufferView_pimpl.C:
8060         * LyXAction.C:
8061         * commandtags.h:
8062         * lyxfunc.C: remove the six million index lyxfuncs to just
8063           one, and DTRT (bug 458)
8064
8065 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8066
8067         * BufferView.h:
8068         * BufferView.C:
8069         * BufferView_pimpl.h:
8070         * BufferView_pimpl.C: clean up resize() stuff,
8071           and unnecessary updateScreen()s
8072
8073 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8074
8075         * BufferView.h:
8076         * BufferView.C:
8077         * BufferView_pimpl.h:
8078         * BufferView_pimpl.C:
8079         * lyxfind.h:
8080         * lyxfind.C:
8081         * minibuffer.C: remove focus management of workarea,
8082           not needed. Use screen's greyOut()
8083
8084 2002-06-17  Herbert Voss  <voss@lyx.org>
8085
8086         * converter.C: (convert) do not post a message, when converting
8087         fails, let the calling function decide what to do in this case
8088
8089 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8090
8091         * lyxfunc.C: tidy up a little
8092
8093 2002-06-16    <alstrup@diku.dk>
8094
8095         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8096         Got rid of FORMS_H_LOCATION include. Now we are
8097         GUII.
8098
8099 2002-06-15  LyX Development team  <lyx@rilke>
8100
8101         * buffer.[Ch] (sgmlOpenTag):
8102         (sgmlCloseTag): Added support for avoiding pernicious mixed
8103         content. Return number of lines written.
8104
8105         (makeLinuxDocFile):
8106         (makeDocBookFile): Fixed calls to sgml*Tag.
8107         Simple white space clean.
8108
8109         (simpleDocBookOnePar): Simple white space clean.
8110
8111         * tabular.[Ch] (docBook): Renamed to docbook and got another
8112         argument to related with the pernicious mixed content.
8113
8114         (docbookRow): Fixed calls for docbook inset method.
8115
8116 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8117
8118         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8119         so it's X11 independent.
8120
8121         * kb*.[Ch]: ditto.
8122
8123         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8124
8125 2002-06-15  Lyx Development team  <lyx@electronia>
8126
8127         * intl.h: Renamed getTrans to getTransManager.
8128
8129 2002-06-14  Angus Leeming  <leeming@lyx.org>
8130
8131         * Makefile.am: nuke forgotten stl_string_fwd.h.
8132
8133 2002-06-12  Angus Leeming  <leeming@lyx.org>
8134
8135         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8136
8137 2002-06-13  Angus Leeming  <leeming@lyx.org>
8138
8139         * LaTeX.C:
8140         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8141
8142 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8143
8144         * kbmap.C (getiso): add support for cyrillic and greek
8145
8146 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8147
8148         * BufferView.h:
8149         * BufferView.C:
8150         * BufferView_pimpl.h:
8151         * BufferView_pimpl.C: move bogus scrolling logic
8152           to xforms
8153
8154 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8155
8156         * lyxfunc.C:
8157         * BufferView_pimpl.C: view->resize() change
8158
8159 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8160
8161         * BufferView_pimpl.C: topCursorVisible
8162           prototype change
8163
8164 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8165
8166         * Makefile.am:
8167         * lyx_gui.h:
8168         * lyx_gui.C: move to frontends/
8169
8170         * main.C:
8171         * lyx_main.h:
8172         * lyx_main.C: changes from above
8173
8174 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8175
8176         * intl.C:
8177         * intl.h:
8178         * kbmap.C:
8179         * kbsequence.C:
8180         * lyx_cb.C:
8181         * lyx_main.C: minor tidy
8182
8183 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8184
8185         * BufferView_pimpl.h:
8186         * BufferView_pimpl.C:
8187         * BufferView.h:
8188         * BufferView.C: make painter() const,
8189           remove dead code
8190
8191         * BufferView2.C: use screen() accessor
8192
8193         * lyx_main.h:
8194         * lyx_main.C: some minor cleanup
8195
8196 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8197
8198         * BufferView_pimpl.h:
8199         * BufferView_pimpl.C: remove enter/leaveView,
8200           use workHeight()
8201
8202 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8203
8204         * BufferView.h:
8205         * BufferView.C:
8206         * BufferView2.C:
8207         * BufferView_pimpl.h:
8208         * BufferView_pimpl.C: only construct screen once,
8209           rename
8210
8211         * lyxrc.C: remove pointless comment
8212
8213 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8214
8215         * BufferView.h:
8216         * BufferView.C: remove active() and belowMouse()
8217
8218         * BufferView_pimpl.h:
8219         * BufferView_pimpl.C: use workarea() not workarea_,
8220           and make it use a scoped_ptr instead
8221
8222 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8223
8224         * lyx_gui.C: add debug message on BadWindow
8225
8226 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8227
8228         * sp_spell.C: fdopen is not part of the C++ standard.
8229
8230         * paragraph.C (InsetIterator): use >= instead of ==
8231
8232 2002-06-07  Angus Leeming  <leeming@lyx.org>
8233
8234         Fixes needed to compile with Compaq cxx 6.5.
8235         * BufferView_pimpl.C:
8236         * DepTable.C:
8237         * buffer.C:
8238         * converter.C:
8239         * encoding.C:
8240         * lyx_gui.C:
8241         * lyx_main.C:
8242         * lyxtextclasslist.C:
8243         * minibuffer.C:
8244         * sp_spell.C:
8245         * tabular_funcs.C:
8246         * vc-backend.C:
8247         all c-library variables have been moved into namespace std. Wrap
8248         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8249
8250         * lyxlength.C:
8251         * tabular-old.C:
8252         * tabular.C:
8253         Add a using std::abs declaration.
8254
8255         * kbmap.h (modifier_pair):
8256         * paragraph.h (InsetTable, InsetList):
8257         * lyxfont.h (FontBits):
8258         type definition made public.
8259
8260         * bufferlist.C (emergencyWriteAll): the compiler complains that
8261         there is more than one possible lyx::class_fun template to choose from.
8262         I re-named the void specialisation as lyx::void_class_fun.
8263
8264         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8265
8266         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8267         the compiler is is unable to find tostr in write_attribute.
8268
8269 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8270
8271         * buffer.C (sgmlError): hide #warning
8272
8273 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8274
8275         * xtl/*: get rid of xtl, which is not in use anyway
8276
8277         * LyXAction.C (init):
8278         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8279         were unimplemented xtl experimentation
8280
8281 2002-06-04  André Pönitz <poenitz@gmx.net>
8282
8283         * lyxfunc.C: disable array operation on simple formulae
8284
8285 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8286
8287         * converter.C: constify a bit
8288
8289 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8290
8291         * lyx_gui.C: check xforms version correctly
8292
8293 2002-04-30  Herbert Voss  <voss@lyx.org>
8294
8295         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8296         "keep" option
8297
8298 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8299
8300         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8301           attempt to register it with a VCS)
8302
8303 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8304
8305         * lyx_main.C (init): honor variables LYX_DIR_13x and
8306         LYX_USERDIR_13x
8307
8308 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8309
8310         * buffer.h:
8311         * buffer.C:
8312         * lyx_main.C: fix a crash on bad command line,
8313           and give a useful exit status on error
8314
8315         * lyxfunc.C (doImport): allow -i lyx to work
8316
8317 2002-03-30  André Pönitz <poenitz@gmx.net>
8318
8319         * lyxfunc.C: mathed font changes
8320
8321 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8322
8323         * LaTeX.C:
8324         * importer.h:
8325         * importer.C:
8326         * lyx_sty.h:
8327         * lyx_sty.C:
8328         * lyxlex.C:
8329         * lyxrow.h:
8330         * lyxtext.h:
8331         * paragraph.h:
8332         * paragraph.C:
8333         * texrow.h:
8334         * texrow.C:
8335         * text.C:
8336         * trans_mgr.h: srcdocs, and some minor cleanups
8337
8338 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8339
8340         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8341         call getFont all the time)
8342
8343 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8344
8345         * switch from SigC signals to boost::signals
8346
8347 2002-05-29  André Pönitz <poenitz@gmx.net>
8348
8349         * paragraph_pimpl.C (getChar): don't call size() too often...
8350
8351 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8352
8353         * paragraph_pimpl.C (insertChar): do not try to update tables when
8354         appending (pos == size())
8355
8356         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8357         in order to reduce drastically the number of comparisons needed to
8358         parse a large document
8359
8360 2002-05-29  André Pönitz <poenitz@gmx.net>
8361
8362         * text.C:
8363         * text2.C:
8364         * lyxtextclass.C:
8365         * sp_pspell.h:
8366         * textclasslist.[Ch]:
8367         * sp_ispell.h: whitespace change
8368
8369 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8370
8371         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8372         lyxaction directly now.
8373
8374 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8375
8376         * trans.C:
8377         * lyxfont.C:
8378         * lyxvc.C: remove unused headers
8379
8380 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8381
8382         * Makefile.am:
8383         * buffer.h:
8384         * undostack.h:
8385         * undostack.C:
8386         * undo_funcs.h:
8387         * undo_funcs.C: some cleanups. Use shared_ptr
8388           and a template for the undo stacks.
8389
8390 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8391
8392         * BufferView_pimpl.h:
8393         * BufferView_pimpl.C:
8394         * kbmap.h:
8395         * kbmap.C:
8396         * kbsequence.h:
8397         * kbsequence.C:
8398         * lyxfunc.h:
8399         * lyxfunc.C:
8400         * text2.C: use key_state/mouse_state
8401
8402 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8403
8404         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8405         and LSubstring
8406
8407         * chset.C: change include order
8408         (loadFile): use boost regex and get rid of LRegex and LSubstring
8409
8410         * Makefile.am (BOOST_LIBS): new variable
8411         (lyx_LDADD): use it
8412
8413         * LaTeX.C: change include order.
8414         (scanAuxFile): use boost regex and get rid of LRegex and
8415         LSubstring
8416         (deplog): ditto
8417
8418 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8419
8420         * ColorHandler.h:
8421         * ColorHandler.C:
8422         * FontInfo.h:
8423         * FontInfo.C: moved to frontends/xforms/
8424
8425         * FontLoader.h:
8426         * FontLoader.C: moved into frontends for GUIIzation
8427
8428         * Makefile.am:
8429         * lyx_gui.C:
8430         * lyxfont.C:
8431         * lyxfunc.C: changes from above
8432
8433 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8434
8435         * LColor.C: remove spurious X include
8436
8437         * BufferView_pimpl.C:
8438         * Makefile.am:
8439         * font.h:
8440         * font.C:
8441         * text.C:
8442         * text2.C: move font metrics to frontends/
8443
8444 2002-05-24  Juergen Vigna  <jug@sad.it>
8445
8446         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8447         setting the undo_cursor.
8448
8449         * ParagraphParameters.h: include local includes first.
8450
8451 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8452
8453         * BufferView_pimpl.C:
8454         * BufferView_pimpl.h:
8455         * Makefile.am:
8456         * WorkArea.h:
8457         * WorkArea.C:
8458         * screen.C: move WorkArea into frontends/
8459
8460         * lyxscreen.h:
8461         * screen.C:
8462         * text.C:
8463         * BufferView.C:
8464         * BufferView2.C: move LyXScreen into frontends/
8465
8466         * lyxlookup.h:
8467         * lyxlookup.C:
8468         * lyx_gui.C: move lyxlookup into frontends/xforms/
8469
8470 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8471
8472         * BufferView2.C:
8473         * BufferView_pimpl.C:
8474         * FontLoader.C:
8475         * LyXView.h:
8476         * LyXView.C:
8477         * Makefile.am:
8478         * WorkArea.C:
8479         * XFormsView.h:
8480         * XFormsView.C:
8481         * buffer.C:
8482         * bufferlist.C:
8483         * bufferview_funcs.C:
8484         * converter.C:
8485         * importer.C:
8486         * lyx_cb.C:
8487         * lyx_gui.C:
8488         * lyx_main.C:
8489         * lyx_find.C:
8490         * lyxfunc.C:
8491         * lyxvc.C:
8492         * minibuffer.C:
8493         * text.C:
8494         * text2.C:
8495         * trans.C:
8496         * vc-backend.C: move LyX/XFormsView into frontends/
8497
8498 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8499
8500         * Makefile.am:
8501         * PainterBase.C:
8502         * PainterBase.h:
8503         * Painter.C:
8504         * Painter.h:
8505         * WorkArea.C:
8506         * WorkArea.h:
8507         * screen.C:
8508         * tabular.C:
8509         * text.C:
8510         * text2.C: move Painter to frontends/
8511
8512 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8513
8514         * buffer.C: comment out some some code that depend upon lyx_format
8515         < 220
8516
8517         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8518         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8519
8520         * buffer.h (NO_COMPABILITY): turn off compability
8521
8522         * ColorHandler.C: include scoped_array.hpp
8523
8524         * font.C: Use more specific smart_ptr header.
8525         * Painter.C: ditto
8526         * gettext.C: ditto
8527         * ShareContainer.h: ditto
8528         * lyx_main.h: ditto
8529         * kbmap.h: ditto
8530         * FontInfo.h: ditto
8531         * BufferView_pimpl.h: ditto
8532         * ColorHandler.h: ditto
8533
8534         * kbmap.C (defkey): change call to shared_ptr::reset
8535
8536 2002-05-21  Juergen Vigna  <jug@sad.it>
8537
8538         * buffer.C (insertErtContents): fix to insert ert asis if it is
8539         non empty. Skip it completely if it contains only whitespaces.
8540
8541 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8542
8543         * BufferView_pimpl.C:
8544         * BufferView2.C: clear selection on paste (bug 393)
8545
8546 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8547
8548         * DepTable.C: include ctime
8549
8550 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8551
8552         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8553
8554 2002-05-14  Juergen Vigna  <jug@sad.it>
8555
8556         * text.C (breakParagraph): fixed function to honor the keepempty
8557         layout in the right maner and also to permit the right breaking
8558         algorithm on empty or non empyt keepempty paragraphs.
8559
8560         * paragraph.C (breakParagraph): we have to check also if the par
8561         is really empty (!size()) for isempty otherwise we do the wrong
8562         paragraph break.
8563
8564 2002-05-10  Juergen Vigna  <jug@sad.it>
8565
8566         * buffer.[Ch] : The following are only changes to the ert
8567         compatibility read reading old LaTeX layout and font stuff and
8568         convert it to ERTInsets.
8569
8570         * buffer.h: added isErtInset().
8571
8572         * buffer.C (struct ErtComp): add a fromlayout bool to check
8573         if we're inside a LaTeX layout.
8574         (isErtInset): new helper function.
8575         (insertErtContents): look for other ert insets before this one
8576         and insert the contents there, so that we don't have subsequent
8577         ERT insets with nothing between them. This way we create only one
8578         inset with multiple paragraphs. Also check if we don't insert only
8579         spaces ' ' as they are ignored anyway afterwards in the .tex file
8580         so if we have only spaces we will ignore this latex part in the
8581         new file.
8582         (parseSingleLyXformat2Token \\layout): better compatibility when
8583         reading layout-latex stuff.
8584         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8585         language tag.
8586         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8587         stuff after reading the inset only get the information back from
8588         the stack.
8589
8590 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8591
8592         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8593
8594         * LaTeXFeatures.C (getBabelOptions): New method.
8595
8596 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8597
8598         * BufferView_pimpl.C (Dispatch): work around missing argument for
8599         'layout'
8600
8601 2002-05-08  Juergen Vigna  <jug@sad.it>
8602
8603         * text.C (leftMargin): handle paragraph leftindent.
8604
8605         * paragraph.C (writeFile): write the new \\leftindent tag.
8606         (validate): handle leftindent code.
8607         (TeXEnvironment): handle paragraphleftindent code again.
8608
8609         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8610
8611         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8612         for paragrap_extra indent code and new token \\leftindent.
8613         (latexParagraphs): handle the leftindent as environment.
8614
8615         * ParameterStruct.h: added leftindent support.
8616
8617         * ParagraphParameters.C (leftIndent): added support functions for
8618         the paragraph left indent.
8619
8620         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8621         more appropriate.
8622
8623 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8624
8625         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8626         inside insetERT.
8627
8628         * text.C (computeBidiTables): No bidi in insetERT.
8629
8630         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8631         in RTL documents.
8632
8633 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8634
8635         * version.C.in: pre 5
8636
8637 2002-05-02  José Matos  <jamatos@fep.up.pt>
8638         * buffer.C (makeDocBookFile): white space changes, add newline to
8639         command styles.
8640         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8641
8642         * tabular.C (docBook): fix typo.
8643
8644 2002-05-03  Juergen Vigna  <jug@sad.it>
8645
8646         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8647         change in LyXText as we can not be sure it was not freed.
8648         (drawOneRow): remove unused code.
8649
8650         * text.C (drawInset): redo the calculation of the need_break_row as
8651         it could have a row which was already freed.
8652         (draw): look at the return value of drawInset and return false if
8653         it also returned false.
8654         (paintRowText): look at the return value of draw and return false if
8655         it also returned false.
8656
8657         * lyxtext.h: added bool return type to drawInset() and draw() so that
8658         if we have a change in the row so that the rowbreak has to be redone
8659         we abort drawing as it will be called again.
8660
8661 2002-05-02  Juergen Vigna  <jug@sad.it>
8662
8663         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8664         a change in the maintext also if we're inside an inset.
8665         (Dispatch): set the cursor again after a break line and after the
8666         screen has been updated as it could be we're in a different row.
8667
8668         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8669         to set the cursor behind the pargraph with > size().
8670         (setCursor): check also for the same paragraph when checking where
8671         to put the cursor if we have a NFR inset.
8672
8673         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8674         parts of layout read further up as it still was in the wrong
8675         position.
8676
8677 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8678
8679         * screen.C (drawFromTo): change sine fullRebreak always return
8680         true.
8681
8682         * buffer.C (parseSingleLyXformat2Token): reindent some
8683
8684         * BufferView_pimpl.C (update): change since fullRebreak always
8685         return true.
8686         (Dispatch): git rid of the last hardcoded "Standard"s.
8687
8688 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8689
8690         * text2.[Ch] (fullRebreak): make it return void now that we always
8691         returned true.
8692
8693 2002-04-30  Juergen Vigna  <jug@sad.it>
8694
8695         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8696         ert compatibility check for "latex" layout.
8697
8698 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8699
8700         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8701         minipages: use col% instead of p%, and also use the current font.
8702         (makeLaTeXFile): Fix use babel condition.
8703         (parseSingleLyXformat2Token): Correct font when reading old floats.
8704
8705 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8706
8707         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8708         inserting list of floats.
8709
8710 2002-04-25  Herbert Voss  <voss@lyx.org>
8711
8712         * MenuBackend.C (expand): don't add the graphics extensions to the
8713         export menu
8714
8715 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8716
8717         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8718         non-existing layout, do not complain if it was the default layout
8719         of the original class (bug #342)
8720
8721 2002-04-24  Juergen Vigna  <jug@sad.it>
8722
8723         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8724         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8725
8726 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8727
8728         * buffer.C (getBibkeyList): If using \bibliography, return the
8729         option field with the reference itself. Enables us to provide natbib
8730         support when using \bibliography.
8731
8732 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8733
8734         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8735
8736         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8737         natbib is provided by the LaTeX class.
8738
8739 2002-04-23  Juergen Vigna  <jug@sad.it>
8740
8741         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8742         Wakeup functions.
8743
8744         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8745
8746 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8747
8748         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8749
8750         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8751         ensuremath around textordmasculine, textordfeminine and
8752         textdegree.
8753
8754 2002-04-19  Juergen Vigna  <jug@sad.it>
8755
8756         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8757         reinitializing the buffer otherwise row-dimensions may be wrong.
8758         (update): reset also the selection cursors if they do exits otherwise
8759         their x/y positions may be wrong.
8760
8761         * text2.C (cursorDown): don't enter the inset if we came from a row
8762         above and are one row over the inset.
8763
8764         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8765         really leaving an inset.
8766
8767 2002-04-18  Juergen Vigna  <jug@sad.it>
8768
8769         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8770         of the selected paragraph does not have the selected layout also if
8771         the last one had!
8772
8773         * text2.C (setLayout): fixed bug which did not change last selected
8774         paragraph.
8775
8776         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8777         changed the read and substituted \\end_float with \\end_inset!
8778
8779         * BufferView_pimpl.C (cursorPrevious):
8780         (cursorNext): fixed to make it work with rows heigher than the work
8781         area without moving the cursor only the draw of the row.
8782         (workAreaMotionNotify): fix jumping over high rows.
8783
8784 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8785
8786         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8787         Ressler.
8788
8789 2002-04-16  Juergen Vigna  <jug@sad.it>
8790
8791         * text2.C (setCursor): set also the irow().
8792         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8793         (cursorUp):
8794         (cursorDown): support for locking an inset if the x_fix value goes
8795         inside it. That way I can transverse insets too with cursor up/down.
8796
8797         * lyxrow.h: added irow helper function same as other (i) functions.
8798
8799         * BufferView_pimpl.C (cursorPrevious):
8800         (cursorNext): fixed for insets!
8801
8802 2002-04-15  Juergen Vigna  <jug@sad.it>
8803
8804         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8805         position otherwise it is wrong in some cases.
8806
8807         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8808         inside the inset before the call.
8809
8810 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8811
8812         * buffer.[Ch] (getBibkeyList): make it const.
8813
8814 2002-04-12  Juergen Vigna  <jug@sad.it>
8815
8816         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8817
8818         * text2.C (getCursorX): new helper function
8819         (setCursor): compute also ix_
8820         (setCursorFromCoordinates): set also ix.
8821
8822         * lyxcursor.h: added ix_ and helper functions.
8823
8824         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8825
8826         * buffer.C (insertStringAsLines): dont break paragraph if the this
8827         paragraph is inside an inset which does not permit it!
8828
8829         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8830         also with no chars on this paragraph.
8831         (paintRowText): only paint stuff if it's inside the workarea!
8832
8833         * paragraph.C (breakParagraph): honor keepempty flag and break the
8834         paragraph always below not above.
8835
8836         * BufferView2.C (unlockInset): update the paragraph layout on inset
8837         unlock as we changed paragraph in such a case.
8838
8839         * lyxfind.C (LyXFind): clear the former selection if not found!
8840
8841         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8842         again called in insertChar().
8843
8844         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8845         an inset which uses the whole row!
8846         (rightMargin): ditto.
8847         (insertChar): force a rebreak if we inserted an inset!
8848
8849 2002-03-28  Herbert Voss  <voss@lyx.org>
8850
8851         * lyxlength.[Ch]: add inBP() to get the right PS-point
8852         units (BigPoint). With inPixels we have rounding errors
8853
8854 2002-04-11  Juergen Vigna  <jug@sad.it>
8855
8856         * text2.C (setCursorFromCoordinates): set iy to the right value.
8857         (setCursor): add check if row->previous exists!
8858
8859         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8860         an old float_type as this was the case in the old code!
8861
8862         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8863
8864         * BufferView2.C (showLockedInsetCursor): use iy
8865         (fitLockedInsetCursor): ditto
8866
8867         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8868         locked insets as there we have the right value now.
8869
8870         * lyxcursor.C: added iy_ variable and iy functions to set to the
8871         baseline of cursor-y of the locked inset.
8872
8873         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8874         (setCursor): fixed for insets which need a full row.
8875
8876         * text.C (rowLastPrintable): don't ignore the last space when before
8877         an inset which needs a full row.
8878         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8879         as last character of a row when before a inset which needs a full row.
8880
8881 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8882
8883         * version.C.in: update date
8884
8885         * text2.C (fullRebreak): try to always return true and see what
8886         happens...
8887
8888 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8889
8890         * MenuBackend.C (expand): use Floating::listName
8891
8892         * FloatList.C (FloatList): add listName argument to the built-in
8893         floats
8894
8895         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8896         text associated with the float.
8897
8898 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8899
8900         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8901
8902 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8903
8904         * ShareContainer.h: add a couple of missing typenames.
8905
8906 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8907
8908         * lyxrc.C (getDescription): use _() correctly rather than N_().
8909
8910 2002-03-28  Herbert Voss  <voss@lyx.org>
8911
8912         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8913         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8914
8915 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8916
8917         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8918         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8919
8920 2002-03-29  Juergen Vigna  <jug@sad.it>
8921
8922         * lyxfunc.C (dispatch): add a missing fitCursor call.
8923
8924         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8925         it was scrolled by a cursor move, so return the bool status.
8926
8927         * BufferView.C (fitCursor): return the bool flag also to the outside
8928         world as this is needed.
8929
8930         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8931
8932         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8933         call the edit() as it is not needed (and wrong) IMO.
8934         (workAreaButtonPress): set the screen_first variable before evt.
8935         unlock the inset as this may change screen_first and then we have
8936         a wrong y position for the click!
8937
8938 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8939
8940         * MenuBackend.C (expand): another translation that I missed
8941
8942 2002-03-28  Juergen Vigna  <jug@sad.it>
8943
8944         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8945
8946         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8947
8948 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8949
8950         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8951
8952         * MenuBackend.C (expand): fix export/view/update when there is no
8953         document open.
8954
8955 2002-03-27  Herbert Voss  <voss@lyx.org>
8956
8957         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8958         and text%
8959
8960 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8961
8962         * bufferview_funcs.C (currentState): only show paragraph number
8963         for is DEVEL_VERSION is set.
8964
8965         * lyxfunc.C (dispatch): put warning in INFO channel
8966
8967         * MenuBackend.C (expand): translate the name of floats
8968
8969         * FloatList.C (FloatList): mark the float names for translation
8970
8971         * converter.C (convert): use LibScriptSearch
8972
8973 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8974
8975         * MenuBackend.C (defaults): fix default menu (we might as well get
8976         rid of it...)
8977
8978 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8979
8980         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8981         directory.
8982
8983 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8984
8985         * lyxvc.C: reorder includes.
8986
8987 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8988
8989         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8990           properly
8991
8992 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8993
8994         * CutAndPaste.C: change layouts earlier on paste
8995           to avoid crashing when calling getFont()
8996
8997 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8998
8999         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9000         irritating #error.
9001
9002 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9003
9004         * WorkArea.C: remove 'Pending' debug message.
9005
9006         * most files: ws cleanup
9007
9008         * buffer.[Ch]: ws changes
9009
9010         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9011
9012 2002-03-21  Juergen Vigna  <jug@sad.it>
9013
9014         * tabular.C (SetMultiColumn): collapse also the contents of the
9015         cells and set the last border right. Added a Buffer const * param.
9016
9017 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9018
9019         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9020         linking or not.
9021
9022 2002-03-19  Juergen Vigna  <jug@sad.it>
9023
9024         * text2.C (clearSelection): reset also xsel_cache.
9025
9026         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9027         where it needs to be called (John tells us to do so too :)
9028         (selectionLost): reset sel_cache.
9029
9030         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9031
9032 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9033
9034         * text2.C (setCursorIntern): put debuging code in INSETS channel
9035
9036 2002-03-19  André Pönitz <poenitz@gmx.net>
9037
9038         * lyxfunc.C: tiny whitespace change
9039
9040 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9041
9042         * ToolbarDefaults.C (init):
9043         * LyXAction.C (init):
9044         * commandtags.h:
9045         * BufferView_pimpl.C (Dispatch):
9046         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9047
9048 2002-03-19  Allan Rae  <rae@lyx.org>
9049
9050         * exporter.C (Export): removeAutoInsets before doing anything else.
9051         While I've just introduced a dependency on BufferView this really is
9052         the best place to clean the buffer otherwise you need to cleanup in
9053         a dozen places before calling export or cleanup in a dozen functions
9054         that export calls.
9055
9056         * converter.C (runLaTeX):
9057         (scanLog): Better handling of removeAutoInsets and screen updates.
9058
9059         * lyxfunc.C (dispatch): small whitespace changes
9060
9061 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9062
9063         * WorkArea.C (C_WorkAreaEvent): return a value.
9064         (event_cb): return 1 if we handled the event, 0 otherwise.
9065
9066         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9067
9068 2002-03-18  Juergen Vigna  <jug@sad.it>
9069
9070         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9071         (GetAdditionalWidth): ditto.
9072         (RightLine): ditto.
9073         (LeftLine): ditto.
9074
9075         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9076         inset if we're there actually (probably not used right now but this
9077         is the direction to go for unifying code).
9078         (paste): disable code to clear the selection.
9079
9080         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9081         inside an InsetText and move the check further up as it is in the
9082         wrong place.
9083
9084         * text2.C (pasteSelection): set a selection over the pasted text.
9085
9086 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9087
9088         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9089         and libgraphics to build on Cygwin.
9090
9091 2002-03-15  Juergen Vigna  <jug@sad.it>
9092
9093         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9094         inserting an Inset into the paragraph. I know this is not the best
9095         fix but we already use current_view in CutAndPaste so we will remove
9096         all of it's using at the same time.
9097
9098         * buffer.C (sgmlError): deactivated function till it is rewritten in
9099         the right mode, now it can create problems.
9100
9101         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9102         before accessing it.
9103
9104 2002-03-14  Juergen Vigna  <jug@sad.it>
9105
9106         * undo_funcs.C (textHandleUndo): do the right thing when updating
9107         the inset after the undo/redo.
9108
9109         * text2.C (setCursor): just some testcode for #44 not ready yet.
9110
9111         * undo_funcs.C (textHandleUndo): set the next() and previous()
9112         pointers of the paragraph to 0 before deleting otherwise we have
9113         problems with the Paragraph::[destructor].
9114
9115         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9116         on a paragraph insertion.
9117
9118 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9119
9120         * buffer.C (asciiParagraph): use += operator for char append to
9121         string.
9122
9123         * paragraph.C (getFontSettings): compare >= not just >
9124         (highestFontInRange): ditto
9125         (setFont): ditto
9126
9127 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9128
9129         * paragraph.C: change several algorithm to be more appripriate for
9130         the problem domain. This is lookip in FontList and in the InsetList.
9131
9132 2002-03-13  André Pönitz <poenitz@gmx.net>
9133
9134         * commandtags.h:
9135         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9136
9137 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9138
9139         * commandtags.h:
9140         * LyXAction.C:
9141         * lyxfunc.C:
9142         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9143
9144 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9145
9146         * Painter.C (display): anon helper function, adjust code for this
9147         change.
9148         (pixmap): remove function.
9149
9150         * Painter.h: remove private display variable.
9151
9152         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9153
9154 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9155
9156         * WorkArea.[Ch]: remove figinset_canvas cruft.
9157
9158 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9159
9160         * lyxtextclass.C (operator): add one item cache optimization.
9161
9162         * bufferlist.h: doxy changes
9163
9164         * bufferlist.C: ws changes
9165
9166         * DepTable.[Ch] (ext_exist): place const in the right spot.
9167
9168         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9169         call resizeInsets.
9170         (workAreaExpose): call resizeInsets when the with BufferView changes.
9171         (Dispatch): adjust for protectedBlank removal
9172         (specialChar): call updateInset if the insert went ok.
9173
9174         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9175         specialChar instead.
9176
9177         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9178
9179         * BufferView.h: doxy change
9180
9181         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9182
9183         * lyxtextclass.C (operator[]): remove non-const version
9184         (defaultLayout): remove non-const version
9185
9186 2002-03-12  Juergen Vigna  <jug@sad.it>
9187
9188         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9189         did resize the LyXText too.
9190
9191         * buffer.C (readLyXformat2): set layout information on newly allocated
9192         paragraphs.
9193
9194         * tabular.C (OldFormatRead): set layout information on the paragraph.
9195
9196 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9197
9198         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9199
9200 2002-03-11  Juergen Vigna  <jug@sad.it>
9201
9202         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9203         plainly wrong.
9204         (resizeCurrentBuffer): force also the insets to resize themselfes.
9205         (moveCursorUpdate): fixed up for InsetText.
9206
9207 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9208
9209         * commandtags.h:
9210         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9211         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9212         value of Dialogs::tooltipsEnabled().
9213         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9214
9215 2002-03-08  Juergen Vigna  <jug@sad.it>
9216
9217         * BufferView_pimpl.C (updateInset): update inset inside inset also
9218         if it isn't inside theLockingInset().
9219
9220 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9221
9222         * buffer.C (asciiParagraph): redo some of the word and line length
9223         handling.
9224         (getLists): look for Caption instead of caption.
9225
9226 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9227
9228         * buffer.C (Buffer): initialize niceFile to true
9229         (makeLaTeXFile):
9230         (makeLinuxDocFile):
9231         (makeDocBookFile): make sure niceFile is true on exit
9232
9233 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9234
9235         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9236
9237 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9238
9239         * LyXSendto.C: remove.
9240         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9241         * lyx_gui.C: remove now-redundant comment.
9242         * ColorHandler.h: remove forward declaration of class WorkArea.
9243         * lyxfunc.C: remove #include "WorkArea.h".
9244
9245 2002-03-07  Juergen Vigna  <jug@sad.it>
9246
9247         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9248         got moved away with the DEPM and also set the inset_owner always
9249         right which before could have been omitted.
9250
9251 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9252
9253         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9254         wanted layout is not found.
9255
9256 2002-03-07  Juergen Vigna  <jug@sad.it>
9257
9258         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9259
9260 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9261
9262         * paragraph.C (breakParagraph): use default layout not layout of
9263         prev paragraph.
9264         (Paragraph): clear ParagraphParameters.
9265
9266 2002-03-06  Juergen Vigna  <jug@sad.it>
9267
9268         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9269         otherwise it would not be a valid lenght. Fixed a special case in
9270         the minipage compatibility read where we end the document with a
9271         minipage.
9272
9273         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9274         was set as it could be 0 for InsetTexts first entry.
9275
9276 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9277
9278         * paragraph.C (writeFile): if layout is empty write out
9279         defaultLayoutName().
9280
9281         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9282         file without named layout we set layout to defaultLayoutName().
9283
9284 2002-03-06  Juergen Vigna  <jug@sad.it>
9285
9286         * CutAndPaste.C (copySelection): set layout for new paragraph.
9287
9288         * text.C (prepareToPrint): leave ERT inset left aligned
9289         (leftMargin): don't indent paragraphs inside ERT insets
9290
9291 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9292
9293         * paragraph.C (breakParagraph): dont call clear do the work manually
9294
9295         * paragraph.[Ch] (clear): remove function
9296
9297 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9298
9299         * paragraph.C (Paragraph): dont call clear, the work has already
9300         been done.
9301
9302         * lyxtextclass.C (operator): assert if n is empty
9303
9304         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9305         work manually instead.
9306
9307 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9308
9309         * BufferView_pimpl.C: protect selectionLost against text == 0
9310
9311 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9312
9313         * text.C (breakParagraph): fix a setting layout to '0' problem.
9314
9315 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9316
9317         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9318         final location of file, for the included files, and graphics.
9319
9320 2002-03-05  Juergen Vigna  <jug@sad.it>
9321
9322         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9323
9324 2002-03-04  Juergen Vigna  <jug@sad.it>
9325
9326         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9327
9328         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9329         last column of multicolumn cells.
9330         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9331
9332 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9333
9334         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9335         file if it doesn't go to a temporary file.
9336
9337         * buffer.C (sgmlOpenTag):
9338         (sgmlCloseTag):  remove extra newline insertion.
9339
9340 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9341
9342         * text.C (getRowNearY): comment out debug msg
9343
9344 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9345
9346         * text2.C: first -> first_y
9347
9348         * text.C (getRowNearY): add some attemts at a possible
9349         optimization, not working.
9350
9351         * tabular.[Ch]: add BufferParams to several function so that newly
9352         created paragraph can be initialized to he default layotu for the
9353         buffers textclass.
9354
9355         * tabular-old.C (ReadOld): add buf->params to call of Init
9356
9357         * screen.C: rename text->first to text->first_y
9358
9359         * paragraph.C (breakParagraph): always set layout in the broken
9360         paragraph
9361
9362         * lyxtextclass.C (Read): remove lowercase
9363         (hasLayout): ditto
9364         (operator): ditto
9365         (delete_layout): ditto
9366
9367         * lyxtext.h: rename first -> first_y
9368
9369         * lyxlayout.C (Read): remove lowercase
9370         (name): ditto
9371         (setName): ditto
9372         (obsoleted_by): ditto
9373
9374         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9375
9376         * buffer.C (insertErtContents): add params are to InsetERT
9377         (parseSingleLyXformat2Token): add code to check if a paragraphs
9378         layout really exist.
9379         (parseSingleLyXformat2Token): add params to several inset
9380         constructors
9381         (asciiParagraph): remove lowercase, do the layout comparisons with
9382         no_case
9383
9384         * BufferView_pimpl.C (cursorNext): first -> first_y
9385         (resizeCurrentBuffer): first -> first_y
9386         (updateScrollbar): first -> first_y
9387         (scrollCB): first -> first_y
9388         (workAreaMotionNotify): first -> first_y
9389         (workAreaButtonPress): first -> first_y
9390         (checkInsetHit): first -> first_y
9391         (cursorPrevious): first -> first_y
9392         (cursorNext): first -> first_y
9393         (Dispatch): add buffer_->params to severl inset contructors
9394
9395 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9396
9397         * lyxlayout.C (Read): remove some debug info that I forgot.
9398
9399         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9400         clean up the code slightly.
9401         (makeLinuxDocFile): ditto
9402         (makeDocBookFile): ditto
9403
9404         * text2.C: layout as string
9405
9406         * text.C: layout as string
9407
9408         * paragraph_pimpl.C: layout as string
9409
9410         * paragraph.[Ch]: layout as string
9411
9412         * lyxtextclasslist.[Ch]: layout as string
9413
9414         * lyxtextclass.[Ch]: layout as string
9415
9416         * lyxtext.h: layout as string
9417
9418         * lyxlayout.[Ch]: layout as string
9419
9420         * lyx_cb.C: layout as string
9421
9422         * bufferview_funcs.C: layout as string
9423
9424         * bufferparams.C: layout as string
9425
9426         * buffer.C: layout as string
9427
9428         * LyXView.[Ch]: layout as string
9429
9430         * LaTeXFeatures.[Ch]: layout as string
9431
9432         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9433
9434         * BufferView_pimpl.C: change current_layout to string, remove
9435         lyx::layout_type.
9436         (Dispatch):
9437         (smartQuote):
9438         (insertInset):
9439         (workAreaButtonRelease): layout as string
9440
9441         * BufferView2.C (unlockInset): adjust
9442
9443         * vspace.C (asLatexCommand): use an explict temp variable.
9444
9445 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9446
9447         * Makefile.am: use FRONTEND_*
9448
9449 2002-03-01  Juergen Vigna  <jug@sad.it>
9450
9451         * tabular.C (SetWidthOfMulticolCell): changed to something better
9452         I hope but still work in progress.
9453         (recalculateMulticolumnsOfColumn): renamed function from
9454         recalculateMulticolCells as it is more appropriate now.
9455         (SetWidthOfCell): calculate multicols better.
9456
9457 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9458
9459         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9460
9461         * lyxfunc.C (processKeySym): print sequence also if it is
9462         `deleted' (complete)
9463
9464         * kbsequence.C (print): print sequence even if it is deleted
9465         (complete would be a better word, actually).
9466
9467         * lyxfunc.C (dispatch): print complete options after a prefix key
9468
9469         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9470
9471 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9472
9473         * text2.C (setCharFont): eliminate setCharFont code duplication.
9474
9475 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9476
9477         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9478         LFUN_TABULAR_FEATURE (bug #177)
9479
9480 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9481
9482         * Makefile.am: remove figure.h
9483
9484 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9485
9486         * Bufferview_pimpl.C:
9487         * CutAndPasteC:
9488         * LaTeX.C:
9489         * LyXSendto.C:
9490         * buffer.C:
9491         * bufferlist.C:
9492         * converter.C:
9493         * language.C:
9494         * lyxfunc.C:
9495         * lyxvc.C:
9496         * paragraph.C:
9497         * text.C:
9498         * text2.C: remove #include "lyx_gui_misc.h".
9499
9500         * LaTeX.C: added #include <cstdio>
9501
9502 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9503
9504         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9505         that the paragraph following this one can have.
9506
9507         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9508
9509         * vspace.C (asLatexCommand): fix bogus gcc warning
9510
9511         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9512
9513 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9514
9515         * text2.C (setLayout): get rid of redundant code
9516
9517 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9518
9519         * text2.C (incDepth): make sure depth cannot be increased beyond
9520         reasonable values.
9521
9522 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9523
9524         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9525         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9526
9527         * PainterBase.h (image):
9528         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9529         a LyXImage const *.
9530
9531 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9532
9533         * BufferView.C:
9534         * BufferView.h:
9535         * BufferView_pimpl.C:
9536         * BufferView_pimpl.h:
9537         * LaTeXFeatures.C:
9538         * LyXAction.C:
9539         * LyXView.C:
9540         * Makefile.am:
9541         * UpdateList.h:
9542         * UpdateList.C:
9543         * buffer.C:
9544         * figure.h:
9545         * figureForm.C:
9546         * figureForm.h:
9547         * figure_form.C:
9548         * figure_form.h:
9549         * lyx_cb.C:
9550         * lyx_gui.C:
9551         * lyx_gui_misc.C:
9552         * lyxfunc.C:
9553         * sp_base.h:
9554         * sp_ispell.h:
9555         * sp_pspell.h:
9556         * sp_spell.C: remove fig inset, and the crap house of
9557           cards that follows it
9558
9559 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9560
9561         * Makefile.am:
9562         * lyxserver.C:
9563         * os2_defines.h:
9564         * os2_errortable.h:
9565         * nt_defines.h: move .h into support/
9566
9567         * vms_defines.h: remove
9568
9569         * WorkArea.C: add space in debug output
9570
9571         * text2.C:
9572         * paragraph.C:
9573         * buffer.C: add WITH_WARNINGS
9574
9575         * vc-backend.h:
9576         * vc-backend.C:
9577         * bufferlist.C: s/retrive/retrieve/, add docs
9578
9579         * vspace.h:
9580         * vspace.C:
9581         * kbmap.h:
9582         * lyxlength.h:
9583         * lyxgluelength.h:
9584         * length_common.h:
9585         * chset.h:
9586         * chset.C: add docs
9587
9588         * lyxgui.C: add ID to X error handler
9589
9590         * lyxtestclass.c: fix typo
9591
9592 2002-02-26  Juergen Vigna  <jug@sad.it>
9593
9594         * tabular_funcs.C (write_attribute): changed so that some default
9595         attributes are not written at all.
9596         (getTokenValue): set default values before trying to read the
9597         value so we have the return value always set as default if we don't
9598         find the token we search for.
9599
9600         * tabular.C (Write): write bools as bools not as strings!
9601
9602 2002-02-22  Juergen Vigna  <jug@sad.it>
9603
9604         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9605         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9606
9607         * text.C (leftMargin): don't add an indent for paragraphs inside
9608         tabular cells (fix #208).
9609
9610 2002-02-21  José Matos  <jamatos@fep.up.pt>
9611
9612         * tabular.C (docBook): fixed support for long tables.
9613
9614 2002-02-20  Juergen Vigna  <jug@sad.it>
9615
9616         * text2.C (getFont): get the drawing font of the Inset if this
9617         paragraph is inside an inset (only important for InsetERT for now).
9618
9619         * buffer.C (insertErtContents): use new lanugage params in ERT
9620         constructor.
9621
9622         * CutAndPaste.C: commenting out seemingly uneeded code.
9623
9624 2002-02-19  Allan Rae  <rae@lyx.org>
9625
9626         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9627         Iterators might be simple to use but they also get invalidated.
9628         (removeAutoInsets): renamed saved cursor tracking variables and added
9629         some comments to clarify what everything does.
9630
9631 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9632
9633         * Chktex.C:
9634         * LaTeX.C:
9635         * LyXSendto.C:
9636         * converter.C:
9637         * lyx_cb.C:
9638         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9639         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9640
9641         * lyxfunc.C:
9642         * vc-backend.h: remove #include "support/syscall.h"
9643
9644         * LaTeX.C:
9645         * LyXSendto.C:
9646         * converter.C: rearrange #includes in Lars' approved fashion.
9647
9648         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9649         forward declare class Timeout in the header file.
9650
9651         * XFormsView.C: changes due to the above.
9652
9653         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9654         similar to LyXView.
9655
9656         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9657         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9658
9659 2002-02-18  José Matos  <jamatos@fep.up.pt>
9660
9661         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9662         insets contents.
9663
9664 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9665
9666         * a lot of small ws changes
9667         * add a lot of using std::XXX
9668         * use std construcs some places where approp.
9669         * use some exisint stuff from lyxfunctional where approp.
9670         * Make file changes to use partial linking (lets test this now...)
9671
9672 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9673
9674         * Chktex.C:
9675         * buffer.C:
9676         remove #include "support/syscontr.h" as it's redundant. Always has been.
9677
9678         * Chktex.C:
9679         * LaTeX.C:
9680         * LyXSendto.C:
9681         * converter.C:
9682         * lyx_cb.C:
9683         * vc-backend.C:
9684         change Systemcalls::System to Systemcalls::Wait and
9685         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9686         No change of functionality, just reflects the stripped down Systemcalls
9687         class.
9688
9689 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9690
9691         * debug.[Ch]: add a GRAPHICS type to the enum.
9692
9693 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9694
9695         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9696
9697         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9698         there is an inset.
9699
9700 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9701
9702         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9703         match the changes below.
9704
9705         * text2.C (toggleInset): if there is not editable inset at cursor
9706         position, try to see if cursor is _inside_ a collapsable inset
9707         and close it.
9708
9709 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9710
9711         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9712         document menu has a nice checkbox
9713
9714 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9715
9716         * lyxlength.C (asLatexString): change PW to output as percent of
9717         \textwidth.
9718
9719         * lengthcommon.C: change '%' to 't%'
9720
9721         * lyxfunc.C (dispatch): a few comments from Martin
9722
9723 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9724
9725         * WorkArea.h:
9726         * WorkArea.C:
9727         * BufferView_pimpl.h:
9728         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9729           the X selection.
9730
9731 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9732
9733         * vspace.C (inPixels): fix compiler warning
9734
9735 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9736
9737         * lyxfunc.C (getStatus): fix status message for disabled commands.
9738
9739 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9740
9741         * BufferView_pimpl.C: fix crash on close buffer
9742         during selection (#227)
9743
9744 2002-01-27  Herbert Voss  <voss@lyx.org>
9745
9746         * buffer.C: link old Figure to new graphic inset
9747
9748 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9749
9750         * FontLoader.C (getFontinfo): Change the latex font names in order
9751         to match the names of type1inst.
9752
9753 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9754
9755         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9756
9757         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9758         (extchanged): ditto
9759         (ext_exist): ditto
9760         (remove_files_with_extension): ditto
9761         (remove_file): ditto
9762         (write): ditto
9763
9764         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9765         document is smaller than the work area height. Do not initialize
9766         static variables to 0.
9767
9768 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9769
9770         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9771
9772         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9773         LFUN_LAYOUT_PARAGRAPHS.
9774
9775         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9776         tabular. It is possible to provide a possible cell, which will
9777         typically be the actcell from the corresponding insettabular
9778
9779         * lyxfunc.C (getStatus): small cleanup; disable
9780         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9781         true
9782
9783 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9784
9785         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9786
9787         * paragraph.C (startTeXParParams):
9788         (endTeXParParams): new methods. The LaTeX code to
9789         start/end paragraph formatting
9790         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9791         empty (fixes bug #200)
9792
9793         * vspace.C (inPixels): adapt to the change below
9794         (inPixels): [later] more cleanups (remove unused variables)
9795
9796         * lyxlength.C (inPixels): change to use a width and a height as
9797         parameter.
9798
9799 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9800
9801         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9802         Replaced with \paperwidth
9803
9804         * DepTable.C (insert): add std:: qualifier
9805
9806 2002-01-18  Allan Rae  <rae@lyx.org>
9807
9808         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9809         updated also?
9810
9811         * text.C (drawInset): Turned out I didn't know enough about how
9812         rebreaking worked.  This fixes most of the redraw problems.  I see
9813         an occasional cursor trail when a line is broken now and the cursor
9814         placement can seem out by a few pixels also after a rebreak.
9815
9816 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9817
9818         * buffer.C (parseSingleLyXformat2Token): update because minipage
9819         width is now a LyXLength
9820
9821         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9822
9823         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9824         math insets
9825
9826 2002-01-17  Juergen Vigna  <jug@sad.it>
9827
9828         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9829
9830         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9831         is set correctly and the inset is updated correctly.
9832
9833 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9834
9835         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9836         the beginning of the loop.
9837
9838 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9839
9840         * lyxrc.C: improve help for use_scalable_fonts
9841
9842 2002-01-17  Allan Rae  <rae@lyx.org>
9843
9844         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9845
9846 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9847
9848         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9849         make sure to set their inset_owner to the right value (bug #171)
9850
9851 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9852
9853         * DepTable.h
9854         * DepTable.C: Implement mtime checking to reduce time spent doing
9855         CRCs.
9856
9857 2002-01-16  Juergen Vigna  <jug@sad.it>
9858
9859         * tabular.C (GetAdditionalHeight): one of error fixed.
9860
9861         * lyxrc.C (output): small fix in writing use_pspell.
9862
9863 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9864
9865         * sp_base.h: #include LString.h
9866
9867 2002-01-16  Allan Rae  <rae@lyx.org>
9868
9869         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9870         Can someone check this please?
9871
9872         * text.C (drawInset): It was possible that p.row would be removed by
9873         breakAgainOneRow upsetting a few other settings.  There may be another
9874         small tweak possible by setting need_break_row = 0 when p.row has been
9875         removed but I don't know enough about the logic here.
9876
9877 2002-01-15  Allan Rae  <rae@lyx.org>
9878
9879         * text.C (insertChar): removed conditional truism.
9880
9881         * BufferView2.C (removeAutoInsets): More tweaks.
9882         cur_par_prev could be a stray pointer.  Check for trailing empty line
9883         in case last line was cur_par and only had an error inset on it.
9884
9885 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9886
9887         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9888         absolute
9889
9890         * vc-backend.C (most methods):
9891         * exporter.C (Export):
9892         * converter.C (convert):
9893         (runLaTeX):
9894         * LyXSendto.C (SendtoApplyCB):
9895         * lyxfunc.C (dispatch):
9896         (menuNew):
9897         (open):
9898         (doImport):
9899         * lyx_cb.C (AutoSave):
9900         (InsertAsciiFile):
9901         * BufferView_pimpl.C (MenuInsertLyXFile):
9902         * buffer.C (runChktex): use Buffer::filePath().
9903
9904         * buffer.h: rename filename to filename_; rename filepath to
9905         filepath_ and make it private
9906         (filePath): new method
9907
9908         * buffer.C (writeFile): use fileName()
9909         (getLatexName):
9910
9911         * lyx_main.C (init): fix starting  of LyX when the binary is a
9912         link from so,ewhere else.
9913
9914         * minibuffer.C: include <cctype> for isprint
9915
9916 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9917
9918         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9919         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9920         name clash with InsetCollapsable's width function.
9921
9922 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9923
9924         * lastfiles.C: include <iterator>
9925
9926 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9927
9928         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9929         std::count.
9930
9931         * buffer.C (makeLaTeXFile): ditto.
9932         Also make loop operation more transparent.
9933
9934 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9935
9936         * ToolbarDefaults.C: remove trailing comma closing namespace.
9937
9938         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9939
9940         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9941         as in WorkArea.
9942
9943         * trans.C (Load): comment out unused variable, allowed.
9944
9945 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9946
9947         * minibuffer.[Ch] (append_char): new method to recieve input from the
9948         drop-down completion browser. If a key was pressed, then recieve this
9949         char and append it to the existing string.
9950         (peek_event): modify the positioning data passed to the completion
9951         browser so that it can be placed above the minibuffer rather than below.
9952 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9953
9954         * LyXAction.C (init): alloe error-next for readonly documents.
9955
9956         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9957         count.
9958
9959 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9960
9961         * bufferlist.C (readFile): create the buffer _after_ checking that
9962         the file exists.
9963
9964         * lyxfunc.C (verboseDispatch): fix handling of arguments
9965
9966         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9967
9968         * lyxrc.C: use string::erase() instead of initializing to "".
9969
9970
9971 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9972
9973         * BufferView_pimpl.h:
9974         * BufferView_pimpl.C:
9975         * WorkArea.h:
9976         * WorkArea.C:
9977         * text2.C: tell X when we have made a selection for copying
9978
9979 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9980
9981         * BufferView_pimpl.C (MenuInsertLyXFile):
9982         * lyxfunc.C (menuNew):
9983         (open):
9984         (doImport): add shortcuts to directory buttons
9985
9986         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9987         open a float)
9988
9989         * lyxfunc.C (setStatusMessage):
9990         (getStatusMessage): new methods
9991         (getStatus):use setStatusMessage instead of setErrorMessage
9992         (dispatch): when function is disabled, set error message here
9993         [instead of in getStatus previously]
9994
9995         * BufferView_pimpl.C (workAreaButtonRelease): update
9996         toolbar/menubar here too.
9997
9998 2002-01-13  Allan Rae  <rae@lyx.org>
9999
10000         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10001         Now seems indestructible.  Remaining task is to audit all other
10002         code affected by deleteEmptyParagraphMechanism.  One small quirk
10003         left is that an empty document with an error in the preamble can
10004         be made to report an error but no error box appears.  I don't know
10005         where it goes.
10006         (removeAutoInsets): Improved comments.
10007
10008 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10009
10010         * Thesaurus.h:
10011         * Thesaurus.C: update for Aiksaurus 0.14
10012
10013 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10014
10015         * text2.C (firstParagraph): removed member function, all uses
10016         replaces with ownerParagraph
10017         (redoParagraphs): here
10018         (updateInset): here
10019         (toggleAppendix): here
10020         * BufferView2.C (insertErrors): here
10021         (setCursorFromRow): here
10022
10023 2002-01-13  Allan Rae  <rae@lyx.org>
10024
10025         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10026         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10027         There is still a way to segfault this although you may have to do this
10028         multiple times: Have an InsetERT with an unknown command in it.
10029         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10030         <down-arrow>, <Enter> again, View->DVI, BANG!
10031
10032         * text2.C (setCursor):
10033         (deleteEmptyParagraphMechanism):
10034         * lyxtext.h (setCursor):
10035         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10036         Making use of the return value may help fix other bugs.
10037
10038 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10039
10040         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10041
10042         * LyXView.C (updateMenubar): call MenuBar::update here
10043         (updateToolbar): but not here
10044         (showState): do not update toolbar/menubar
10045
10046         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10047         should need to care about that.
10048
10049         * lyxfunc.C (verboseDispatch): simplify a bit
10050         (getStatus): have a version which takes a pseudoaction, and
10051         another which requires a (kb_action,string).
10052
10053         * LyXAction.C (retrieveActionArg): make it work also when action
10054         is not a pseudo-action.
10055         (getActionName): simplify a bit
10056         (helpText):
10057
10058 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10059
10060         * lyxfunc.C (verboseDispatch): new families of methods with
10061         several ways to specify a command and a bool to indicate whether
10062         the command name and shortcut should be displayed in minibuffer
10063         (eventually, we could extend that to a finer bitmask like
10064         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10065         (dispatch): the pristine dispatch command which just, well,
10066         dispatchs! Note it still sets its result to minibuffer; I'm not
10067         sure we want that.
10068
10069         * lyxfunc.h: remove setHintMessage
10070
10071         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10072
10073 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10074
10075         * BufferView_pimpl.C (specialChar): delete new inset if we have
10076         not been able to insert it.
10077
10078         * kbmap.C: revert to using int instead of kb_action, since all we
10079         are dealing with is pseudo-actions.
10080
10081         * LyXAction.C (searchActionArg): change to return int instead of
10082         kb_action, since the result is a pseudoaction.
10083
10084 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10085
10086         * buffer.C (insertErtContents): Fix (partially) the font bug.
10087
10088 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10089
10090         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10091         as the other one is broken on my machine!
10092
10093 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10094
10095         * commandtags.h:
10096         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10097
10098 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10099
10100         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10101         reflect their actual use. Provide compatibility code for older lyxrc
10102         files.
10103
10104         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10105         FL_NORMAL_STYLE.
10106         change names of popup font variables in line with the changes to lyxrc.C
10107
10108 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10109
10110         * buffer.C (asciiParagraph): avoid outputing a word twice after
10111         an inset.
10112
10113         * lyxrc.C (getDescription): document that document_path and
10114         template_path can be empty.
10115
10116 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10117
10118         * LaTeXFeatures.C (getMacros):
10119         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10120
10121         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10122
10123         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10124         getPackages.
10125         (getPackages): rename feature "floats" to "float". Use an array to
10126         iterate over 'simple' features (i.e. just a \usepackage). Add
10127         handling of "amsmath" (renamed from "amsstyle").
10128
10129 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10130
10131         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10132         features list.
10133
10134 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10135
10136         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10137         FuncStaus::FuncStatus & FuncStaus::some_method().
10138
10139 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10140
10141         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10142         of the func_satus stuff. Edited and massaged in various ways by
10143         JMarc.
10144
10145         * lyxfunc.C (getStatus): use FuncStatus
10146
10147 2002-01-08  Juergen Vigna  <jug@sad.it>
10148
10149         * text.C (nextBreakPoint): use function Inset::isChar().
10150
10151         * paragraph.C (TeXOnePar): use function
10152         Inset::forceDefaultParagraphs.
10153
10154         * buffer.C (latexParagraphs): use function
10155         Inset::forceDefaultParagraphs.
10156
10157 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10158
10159         * lyx_gui.C (init): set the style of the menu popups to
10160         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10161
10162 2002-01-07  Juergen Vigna  <jug@sad.it>
10163
10164         * text.C (setHeightOfRow): small fix
10165         (prepareToPrint): don't look at alignment if we don't have the place
10166         for doing it.
10167
10168 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10169
10170         * box.C: New file. Move the Box methods and functions out of box.h,
10171         following Lars' suggestion.
10172
10173 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10174
10175         * box.h: #include "support/LOstream.h", needed for inlined function.
10176
10177         * lyxtextclass.C:
10178         * lyxtextclasslist.C: added some using std declarations.
10179
10180 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10181
10182         * box.h: make signed dimensions to allow insets wider than
10183           the screen (bug #162)
10184
10185         * BufferView_pimpl.C: add some insetHit debug
10186
10187 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10188
10189         * vc-backend.C: add FIXME
10190
10191 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10192
10193         * lyxfunc.C (getStatus): enable code for showing math font status
10194         in toolbar/menu.
10195
10196 2002-01-07  Juergen Vigna  <jug@sad.it>
10197
10198         * text.C (nextBreakPoint): removed debug output not needed anymore.
10199
10200 2002-01-06  Juergen Vigna  <jug@sad.it>
10201
10202         * text.C (nextBreakPoint): fixed up this function we had this bug
10203         since ever but now hopefully we break row better.
10204         (insertChar): we have to check if an inset is the next char as it
10205         could now happen that a large inset is causing a break.
10206
10207 2002-01-05  Juergen Vigna  <jug@sad.it>
10208
10209         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10210         if it doesn't like to be drawed.
10211
10212 2002-01-04  Juergen Vigna  <jug@sad.it>
10213
10214         * BufferView2.C (lockInset): forgot to set a cursor.
10215
10216         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10217
10218 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10219
10220         * FormMathsPanel.C:
10221         * FormMathsPanel.h
10222         * MathsSymbols.C:
10223         * form_maths_panel.C:
10224         * form_maths_panel.h:
10225         * form_maths_panel.fd: implemented sub- and super- buttons in math
10226         panel.
10227
10228         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10229         (or ^ space) to be used as in TeX (req'd by André).
10230
10231         * lyxfunc.C: Allow ^ and _ again to be used both as
10232         super/subscript (mathed) and as themselves (in text).
10233
10234 2002-01-03  Allan Rae  <rae@lyx.org>
10235
10236         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10237         "LyX" or the filename of the current buffer if it has one.  This is a
10238         modified form of John Levon's patch.
10239
10240         * XFormsView.C (setWindowTitle): also set icon title.
10241
10242         * LyXView.h (setWindowTitle): signature changed.
10243         * XFormsView.h (setWindowTitle): ditto.
10244
10245 2002-01-02  Juergen Vigna  <jug@sad.it>
10246
10247         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10248
10249 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10250
10251         * screen.C (topCursorVisible): introduce a temp var for
10252         text->cursor.row(), handle the case where this row is null. (kindo
10253         hachish)
10254
10255         * text2.C (setCursor): add a couple of asserts.
10256
10257         * paragraph.h (inset_iterator): add -> operator
10258
10259         * paragraph.[Ch] (autoDeleteInsets): remove member function
10260
10261         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10262         cursor pos correctly and handle inset deletion by itself.
10263         (insertErrors): move iterator declaration out of for expression
10264
10265         * lyxtextclass.C: add <algorithm>
10266
10267         * Makefile.am: added the new files to sources, removed layout.C
10268
10269         * layout.C: removed file
10270
10271         * layout.h: remove LYX_DUMMY_LAYOUT
10272
10273         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10274         layout.
10275
10276         * lyxlayout.[Ch]:
10277         * lyxtextclass.[Ch]:
10278         * lyxtextclasslist.[Ch]: new files
10279
10280         * include order changes to a lot of files, also changes because of
10281         the six new files.
10282
10283 2001-12-27  Juergen Vigna  <jug@sad.it>
10284
10285         * buffer.C (asciiParagraph): more fixes.
10286
10287         * tabular.C (ascii): make ascii export support export of only the
10288         data separated by a column-delimiter.
10289         (ascii): better support for ascii export.
10290
10291         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10292
10293 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10294
10295         * tabular_funcs.C: use a "using std::getline" instead of the
10296         previous fix from Angus (necessary for cxx + lyxstring)
10297
10298 2001-12-24  Juergen Vigna  <jug@sad.it>
10299
10300         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10301
10302         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10303         problems. First check a minipage also if we have some ert-contents
10304         (not only on par->size(), second set the right depth of the paragraph
10305         on the relink to the root-paragraph-list!
10306
10307         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10308         which then did not anymore update the main paragraphs on undo/redo!
10309
10310 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10311
10312         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10313         code. Support all font-changing funcs (even those which are not in
10314         menu currently). Support for reporting font settings in
10315         mathed (disabled until Andre provides a function on mathed's side).
10316
10317         * func_status.h (toggle): small helper function to set toggle
10318         state on a flag.
10319
10320 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10321
10322         * tabular_funcs.C: getline -> std::getline
10323
10324 2001-12-21  Juergen Vigna  <jug@sad.it>
10325
10326         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10327         accessed and could be 0 (I couldn't generate this but it seems
10328         Michael could!).
10329
10330 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10331
10332         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10333         * tabular_funcs.h: here and include iosfwd
10334
10335 2001-12-20  Juergen Vigna  <jug@sad.it>
10336
10337         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10338         inside inset but undo_par was.
10339
10340 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10341
10342         * Thesaurus.C: always include <config.h> in sources.
10343
10344         * Painter.h:
10345         * lyxlookup.h:
10346         * box.h: do not include <config.h> in header files
10347
10348         * text.C (paintLastRow): remove unused variable
10349
10350         * text.C (transformChar):
10351         (insertChar):
10352         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10353
10354         * Painter.C (text):
10355         * font.C (width): rewrite to use uppercase() instead of
10356         islower/toupper.
10357
10358         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10359
10360 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10361
10362         * lyxfind.C: clean up of find failure position change
10363
10364 2001-12-20  Juergen Vigna  <jug@sad.it>
10365
10366         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10367
10368         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10369         (TeXRow): added to LaTeX a single tabular row.
10370         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10371         (Latex): simplified and finally good LT-h/f support.
10372         (various_functions): just small adaptions for LT-h/f support.
10373
10374         * tabular_funcs.[hC]: added and moved here all not classfunctions
10375         of LyXTabular.
10376
10377 2001-12-19  Juergen Vigna  <jug@sad.it>
10378
10379         * tabular.[Ch]: better support for longtabular options (not finished
10380         yet!)
10381
10382 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10383
10384         * text.C (paintLastRow): use the label font instead of the font of
10385         the last character to compute the size of *_BOX. This makes more
10386         sense and avoids a crash with empty paragraphs.
10387         Use Painter::rectangle to draw EMPTY_BOX.
10388
10389 2001-12-19  Juergen Vigna  <jug@sad.it>
10390
10391         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10392         the paragraphs if the replaced paragraph is not the first one!
10393         Tried to delete not used paragraphs but does not work yet so for
10394         now it's inside #ifdef's and by default off!
10395
10396 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10397
10398         * MenuBackend.C: include "lyx_main.h" instead of declaring
10399         lastfiles (actually was declared as LastFiles* instead of a
10400         scoped_ptr).
10401
10402 2001-12-17  Juergen Vigna  <jug@sad.it>
10403
10404         * tabular.C (AppendColumn): applied John's fix
10405
10406 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10407
10408         * BufferView.h:
10409         * BufferView.C:
10410         * BufferView_pimpl.h:
10411         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10412
10413         * Makefile.am:
10414         * box.h: new start of class for above
10415
10416         * lyxfunc.C: ignore space-only minibuffer dispatches.
10417           Show the command name when it doesn't exist
10418
10419         * minibuffer.C: don't add empty lines to the history
10420
10421         * minibuffer.C: add a space on dropdown completion
10422
10423 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10424
10425         * text.C: fix line above/below drawing in insets
10426
10427 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10428
10429         * lyxlength.C (LyXLength): Initialize private variables.
10430
10431 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10432
10433         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10434         when inserting error insets.
10435
10436 2001-12-13  Juergen Vigna  <jug@sad.it>
10437
10438         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10439         actually sometimes the before-paragraph.
10440         (setUndo): don't clear the redostack if we're not actually undoing!
10441
10442 2001-12-06  Juergen Vigna  <jug@sad.it>
10443
10444         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10445         and fixed redoing of main paragraph, so we can use it now ;)
10446
10447         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10448
10449 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10450
10451         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10452         Juergen's request
10453
10454 2001-12-13  André Pönitz <poenitz@gmx.net>
10455
10456         * undostack.[Ch]:
10457         * undo_func.C: minor cleanup
10458
10459 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10460
10461         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10462         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10463         font in urw-fonts package which is marked as -urw-fontspecific and
10464         does not work (incidentally, changing the encoding in the
10465         fonts.dir of this package to -adobe-fontspecific fixes the
10466         problem).
10467
10468         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10469         is a crash when undoing first paragraph (Juergen, please take a
10470         look). THis does not mean the undo fix is wrong, just that it
10471         uncovers problems.
10472
10473         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10474         the (Paragraph*) version when needed instead of duplicating the
10475         code.
10476
10477         * text.C (workWidth): use Inset::parOwner to find out where the
10478         inset has been inserted. This is a huge performance gain for large
10479         documents with lots of insets. If Inset::parOwner is not set, fall
10480         back on the brute force method
10481
10482         * paragraph_pimpl.C (insertInset):
10483         * paragraph.C (Paragraph):
10484         (cutIntoMinibuffer): set parOwner of insets when
10485         inserting/removing them
10486
10487         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10488
10489 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10490
10491         * commandtags.h:
10492         * LyXAction.C:
10493         * lyx_main.C:
10494         * lyxfunc.C:
10495         * mathed/formulabase.C:
10496         * mathed/math_cursor.[Ch]:
10497         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10498
10499
10500 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10501
10502         * lyxlength.[Ch] (operator!=): new function
10503
10504 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10505
10506         * text.C (workWidth): use Inset::parOwner to find out where the
10507         inset has been inserted. This is a huge performance gain for large
10508         documents with lots of insets. If Inset::parOwner is not set, fall
10509         back on the brute force method
10510
10511         * paragraph_pimpl.C (insertInset):
10512         * paragraph.C (Paragraph):
10513         (cutIntoMinibuffer): set parOwner of insets when
10514         inserting/removing them
10515
10516         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10517
10518 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10519
10520         * tabular-old.C (getTokenValue):
10521         * tabular.C (getTokenValue):
10522         (write_attribute): new versions for LyXLength
10523         (everywhere): adjust the use of widths
10524
10525         * tabular.h: change the type of widths from string to LyXLength
10526
10527 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10528
10529         * paragraph.C: fixed missing line number count when exporting
10530         Environments to LaTeX file
10531
10532         * buffer.C: added informational message for checking line numbers.
10533
10534 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10535
10536         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10537         paragraph, do the 'double space' part, but not the 'empty
10538         paragraph' one.
10539
10540         * text.C (workWidth): small optimization
10541         (getLengthMarkerHeight): use minimal size for negative lengths.
10542
10543 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10544
10545         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10546
10547         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10548
10549 2001-12-11  André Pönitz <poenitz@gmx.net>
10550
10551         * FontLoader.C:
10552         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10553
10554 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10555
10556         * text2.C: keep selection on a setFont()
10557
10558 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10559
10560         * lyx_cb.C: another bv->text misuse, from insert label
10561
10562 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10563
10564         * kbsequence.h:
10565         * kbsequence.C: re-instate nmodifier mask
10566
10567 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10568
10569         * lyx_main.h: make lyxGUI private.
10570
10571 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10572
10573         * lyxfind.C: place the cursor correctly on failed search
10574
10575 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10576
10577         * text.C (getLengthMarkerHeight): for small heights, the arrows
10578         are not always on top/bottom of the text
10579         (drawLengthMarker): smaller arrows; take the left margin in
10580         account; draw also vfills.
10581         (paintFirstRow):
10582         (paintLastRow): remove special code for vfill and standard spaces,
10583         since everything is handled in drawLengthMarker now.
10584
10585 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10586
10587         * buffer.C (insertErtContents): try to handle font and language
10588         interaction a bit better.g
10589
10590         * ColorHandler.C (updateColor): change the hash to cover the whole
10591         LColor enum, ws cleanup
10592         (getGCLinepars): ditto
10593         (getGCLinepars): only lookup in the linecache once.
10594
10595 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10596
10597         * iterators.C (operator++): Make the iterator more robust
10598
10599         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10600         (John's patch)
10601         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10602
10603 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10604
10605         * lyxtext.h:
10606         * text.C: better added space drawing
10607
10608 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10609
10610         * LyXView.C:
10611         * BufferView2.C: fix layout combo update on inset unlock
10612
10613 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10614
10615         * Makefile.am: don't compile unused files
10616
10617 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10618
10619         * lyxfunc.C:
10620         * commandtags.h:
10621         * LyXAction.C: remove old LFUN_LAYOUTNO
10622
10623 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10624
10625         * paragraph_pimpl.h:
10626         * paragraph_pimpl.C: isTextAt() doesn't need font param
10627
10628 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10629
10630         * lyxlex.h:
10631         * lyxlex.C: little cleanup
10632
10633 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10634
10635         * BufferView_pimpl.C: fix insertAscii for insets
10636
10637 2001-12-05  Juergen Vigna  <jug@sad.it>
10638
10639         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10640         set the right font on the "multi" paragraph paste!
10641
10642 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10643
10644         * trans_decl.h:
10645         * trans_mgr.[Ch]:
10646         * trans.[Ch]:
10647         * lyxgluelength.C:
10648         * lyxlength.C: remove out-commented code.
10649
10650         * BufferView_pimpl:
10651         * CutAndPaste.C:
10652         * DepTable.C:
10653         * buffer.C:
10654         * chset.C:
10655         * lastfiles.C:
10656         * lyxlex.C:
10657         * lyxlex_pimpl.C:
10658         * lyxserver.C:
10659         * screen.C:
10660         * tabular-old.C:
10661         * tabular.C:
10662         * text.C:
10663         * trans_mgr.C:
10664         * vc-backend.C: change "while(" to "while ("
10665
10666         * lyxlength.[Ch]: add zero function to check if length is zero or
10667         not
10668         * lyxgluelength.C: use it
10669
10670 2001-12-05  Allan Rae  <rae@lyx.org>
10671
10672         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10673         Works for 2.95.3, from what I understand of Garst's reports this should
10674         work for other g++ versions.  We're screwed if the abs(int) definition
10675         changed between bugfix releases of gcc.
10676
10677 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10678
10679         * text.C: fix chapter label offset !
10680
10681 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10682
10683         * lyxtext.h:
10684         * text.C: fix hfill at end of line, clean up
10685
10686 2001-12-04  Juergen Vigna  <jug@sad.it>
10687
10688         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10689         that we force an update of the inset and it's owners if neccessary.
10690
10691 2001-12-03  Juergen Vigna  <jug@sad.it>
10692
10693         * text.C (rowLast): simplified code
10694
10695 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10696
10697         * lyxfunc.C: fix show options on timeout
10698
10699 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10700
10701         * screen.C (topCursorVisible): scroll half a page when the cursor
10702         reached top of bottom of screen
10703
10704 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10705
10706         * minibuffer.C: deactivate on loss of focus
10707
10708 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10709
10710         * vspace.[Ch] (operator!=): add operator.
10711
10712 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10713
10714         * BufferView_pimpl.C: refuse to open an inset when
10715         there's a selection.
10716
10717 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10718
10719         * BufferView_pimpl.C: allow to click on RHS of full row insets
10720
10721 2001-11-30  Juergen Vigna  <jug@sad.it>
10722
10723         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10724         insets for undo reasons.
10725
10726 2001-11-28  André Pönitz <poenitz@gmx.net>
10727
10728         * vspace.[Ch]: cosmetical changes
10729
10730 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10731
10732         * LyXAction.h:
10733         * LyXAction.C:
10734         * lyxfunc.h:
10735         * lyxfunc.C:
10736         * kbmap.h:
10737         * kbmap.C:
10738         * lyxrc.C:
10739         * kbsequence.h:
10740         * kbsequence.C: part re-write of old kb code
10741
10742         * Painter.C:
10743         * WorkArea.C: remove Lgb_bug_find_hack
10744
10745 2001-11-30  José Matos <jamatos@fep.up.pt>
10746
10747         * buffer.C (makeDocBookFile): add a comment to point a hack.
10748         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10749         Fixed a double write of labels.
10750
10751 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10752
10753         * LaTeX.C:
10754         * LaTeX.h Fixed bug in LaTeX class where it would not
10755         re-run latex if no depfiles were changed, but the .dvi was removed.
10756
10757 2001-11-28  André Pönitz <poenitz@gmx.net>
10758
10759         * all the files from the change on 2001/11/26:
10760         use lyx::layout_type instead of LyXTextClass::size_type
10761         use lyx::textclass_type instead of LyXTextClassList::size_type
10762
10763 2001-11-29  Juergen Vigna  <jug@sad.it>
10764
10765         * text.C: added support for paragraph::isFreeSpacing()
10766
10767         * buffer.C: same as above
10768
10769         * paragraph.h: inserted isFreeSpacing() function to enable
10770         FreeSpacing inside InsetERT.
10771
10772         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10773         of the paragraph's in the cut/copy buffer to 0!
10774
10775         * text2.C (removeRow): remove the assert as it can!
10776
10777         * lyxtext.h: added helper function firstRow returning firstrow and
10778         made firstrow private again.
10779
10780         * BufferView2.C (lockInset): don't relock if we're already locked!
10781
10782         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10783         the only paragraph.
10784         (removeRow): added Assert::(firstrow)
10785
10786         * debug.C: forgot to add INSETTEXT here.
10787
10788 2001-11-28  Juergen Vigna  <jug@sad.it>
10789
10790         * sp_spell.C (initialize): changed error text to more general
10791         spellchecker command use (not only ispell!)
10792
10793         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10794
10795         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10796
10797 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10798
10799         * vspace.C: initialise lyxgluelength on failure
10800
10801 2001-11-28  Allan Rae  <rae@lyx.org>
10802
10803         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10804         declaration & definition that looks like a function declaration.
10805
10806 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10807
10808         * BufferView2.C (copy):
10809         (copyEnvironment): do not clear the selection when doing a copy.
10810
10811         * text.C (paintFirstRow): compilation fix
10812
10813 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10814
10815         * tabular.C (Latex): correct line count when writing latex.
10816
10817 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10818
10819         * paragraph_pimpl.h:
10820         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10821           bug a bit
10822
10823 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10824
10825         * text.C:
10826         * LColor.h:
10827         * LColor.C: change vfillline->added_space
10828
10829         * text.C: add markers and text for added space
10830
10831         * vspace.C: fix comment
10832
10833 2001-11-28  André Pönitz <poenitz@gmx.net>
10834
10835         * paragraph.C: whitespace changes
10836         * all the other files from the change on 2001/11/26:
10837         change *::pos_type into lyx::pos_type
10838
10839 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10840
10841         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10842         language of the document when inserting error insets.
10843
10844 2001-11-26  André Pönitz <poenitz@gmx.net>
10845
10846         * BufferView_pimpl.[Ch]:
10847         *       CutAndPaste.C:
10848         * buffer.[Ch]:
10849         * lyxcursor.[Ch]:
10850         * lyxfind.C:
10851         * lyxfunc.C:
10852         * lyxrow.[Ch]:
10853         * paragraph.[Ch]:
10854         * paragraph_pimpl.[Ch]:
10855         * sp_spell.C:
10856         * text.C:
10857         * text2.C: reduce header dependencies, introduce type for positions
10858
10859 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10860
10861         * <various>: change to use Alert.h
10862
10863 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10864
10865         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10866         when encountering an unknown token.
10867         (readLyXformat2): Show an error message if there were unknown tokens.
10868
10869 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10870
10871         * BufferView2.C:
10872         * BufferView_pimpl.C:
10873         * buffer.C:
10874         * paragraph.h:
10875         * text.C:
10876         * text2.C: use par->isInset()
10877
10878 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10879
10880         * paragraph_pimpl.h:
10881         * paragraph_pimpl.C: cleanup
10882
10883 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10884
10885         * text2.C (removeRow):
10886         * text.C (setHeightOfRow): remove useless (and costly) call to
10887         getRow.
10888
10889 2001-11-20  Allan Rae  <rae@lyx.org>
10890
10891         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10892         Now need Inset*::checkInsertChar() to return true for appropriate
10893         cases so that the characters in the minibuffer will actually be
10894         inserted.
10895
10896 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10897
10898         * text.C: change the order of the includes.
10899         (workWidth): initialize it at once.
10900         (workWidth): make maxw unsigned
10901         (setHeightOfRow): remove unused variable (inset)
10902         (selectSelectedWord): remove unused variable (inset)
10903         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10904
10905 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10906
10907         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10908         server is not running.
10909         (openConnection):
10910         (closeConnection): add debug info when server is disabled.
10911
10912         * ColorHandler.C (getGCForeground): send debug message to GUI
10913         channel.
10914
10915         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10916
10917         * kbmap.C (bind): modify because return conventions of
10918         kb_sequence::parse have changed.
10919
10920         * kbsequence.C (parse): only ignore spaces and not any stupid
10921         control character. This avoids tests like s[i] <= ' ', which are
10922         guaranteed to fail with 8bit characters and signed chars.
10923         Change return code to string::npos when there have been no error
10924         (0 was a bad idea when error is at first character)
10925
10926 2001-11-14  José Matos  <jamatos@fep.up.pt>
10927
10928         * buffer.h:
10929         * buffer.C (simpleDocBookOnePar): removed unused argument.
10930
10931 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10932
10933         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10934         insets which are part of a word. Paragraph::isLetter takes care of
10935         that now. Use Paragraph::isInset to identify insets.
10936         (selectSelectedWord): do not test for hyphenation break.
10937
10938         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10939         that protected spaces are considered as spaces.
10940
10941         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10942         Inset::isLetter.
10943
10944 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10945
10946         * lyxserver.h:
10947         * lyxserver.C: fix it. and small cleanup.
10948
10949 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10950
10951         * BufferView_pimpl.C: use inline helpers
10952
10953         * LaTeXFeatures.h:
10954         * LaTeXFeatures.C: fix typos
10955
10956         * Spacing.h:
10957         * Spacing.C: move spacing_string into class
10958
10959         * ToolbarDefaults.C: move stuff into namespace anon
10960
10961         * layout.h: update enum
10962
10963         * lyxfunc.C: use better debug
10964
10965         * minibuffer.h: fix typo
10966
10967         * debug.h:
10968         * debug.C:
10969         * WorkArea.C: add and use Debug::WORKAREA
10970
10971         * lyxtext.h:
10972         * text.C:
10973         * text2.C: code re-organisation, inline helpers
10974
10975 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10976
10977         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10978         std::vector.empty().
10979
10980 2001-11-09  Allan Rae  <rae@lyx.org>
10981
10982         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10983         '\n's after tables.  Tabular and ERT inset work now makes this no
10984         longer necessary.
10985
10986 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10987
10988         * minibuffer.h:
10989         * minibuffer.C: fix crash, improve drop-down completion
10990
10991 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10992
10993         * lyxserver.h:
10994         * lyxserver.C: invalidate fd's when doing endPipe()
10995
10996 2001-11-08  José Matos  <jamatos@fep.up.pt>
10997
10998         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10999         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11000
11001         * paragraph.h:
11002         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11003
11004 2001-11-07  José Matos  <jamatos@fep.up.pt>
11005
11006         * buffer.h:
11007         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11008         const qualifier.
11009
11010         * buffer.C (sgmlOpenTag):
11011         * buffer.C (sgmlCloseTag): removed debug info.
11012
11013         * buffer.h (sgmlOpenTag):
11014         * buffer.h (sgmlCloseTag): made public.
11015
11016 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11017
11018         * buffer.C (saveParamsAsDefaults):
11019         * lyx_cb.C (MenuLayoutSave): remove
11020
11021         * LyXAction.C (init):
11022         * commandtags.h:
11023         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11024
11025 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11026
11027         * buffer.C (setPaperStuff): removed from here...
11028
11029         * bufferparams.C (setPaperStuff): ... and moved there.
11030
11031 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11032
11033         * minibuffer.h:
11034         * minibuffer.C:
11035         * XFormsView.C: add support for drop-down completion
11036
11037 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11038
11039         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11040         commands.
11041
11042 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11043
11044         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11045         disabled.
11046
11047 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11048
11049         * lyx_main.C: change ref to known bugs
11050
11051 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11052
11053         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11054         to work around older babel problems.
11055
11056 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11057
11058         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11059
11060 2001-10-24  Juergen Vigna  <jug@sad.it>
11061
11062         * tabular-old.C (ReadOld): below variable changes reflected.
11063
11064         * tabular.[Ch]: added ltType struct for longtable header/footer
11065         defines and changed all instances where they are used. Added
11066         future support for double top/bottom rows.
11067
11068 2001-10-24  José Matos  <jamatos@fep.up.pt>
11069
11070         * buffer.h (docbookHandleCaption):
11071         * buffer.C (docbookHandleCaption): removed unused function.
11072         (makeDocBookFile): moved docbook supported version to v4.1.
11073
11074 2001-10-24  José Matos  <jamatos@fep.up.pt>
11075
11076         * tabular.h:
11077         * tabular.C (docbookRow): new function to export docbook code of a row.
11078         (DocBook): now honors the longtable flags.
11079
11080 2001-10-23  José Matos  <jamatos@fep.up.pt>
11081
11082         * LaTeXFeatures.h:
11083         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11084         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11085
11086         * buffer.C (makeLinuxDocFile):
11087         (makeDocBookFile): reworked the preamble, more clean, and with
11088         support for lyx defined entities. Changed the document declaration
11089         to be more XML friendly.
11090
11091         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11092         if we need to output XML that should be done with a filter.
11093
11094 2001-10-22  Juergen Vigna  <jug@sad.it>
11095
11096         * sp_pspell.h (class PSpell): add alive function needed in the
11097         controller to see if the spellchecker could be started.
11098
11099 2001-10-22  Juergen Vigna  <jug@sad.it>
11100
11101         * buffer.C (insertStringAsLines): modify the font for inserting
11102         chars in certain conditions by calling checkInsertChar(font).
11103
11104 2001-10-19  Juergen Vigna  <jug@sad.it>
11105
11106         * text.C (workWidth): use getRow instead of wrong algorithm.
11107         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11108
11109 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11110
11111         * lyxserver.h:
11112         * lyxserver.C:
11113         * lyx_main.h:
11114         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11115
11116 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11117
11118         * text.C (workWidth): do not search for the exact row when
11119         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11120         optimization for big documents.
11121
11122 2001-10-18  Juergen Vigna  <jug@sad.it>
11123
11124         * text.C (workWidth): new function with added Inset * parameter.
11125
11126 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11127
11128         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11129
11130         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11131         change return type of getColumnNearX.
11132
11133
11134         * text.C (changeRegionCase): use uppercase/lowercase instead of
11135         toupper/tolower.
11136         (leftMargin):
11137         (rightMargin): simplify code by factoring out the uses of
11138         textclasslist.
11139         (labelFill):
11140         (numberOfHfills):
11141         (setHeightOfRow):
11142         (appendParagraph): use Paragraph::size_type
11143
11144 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11145
11146         * vspace.C (asLatexString): add a missing break
11147
11148 2001-10-15  Herbert Voss  <voss@perce.de>
11149
11150         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11151
11152 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11153
11154         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11155         is not available.
11156
11157 2001-10-10  André Pönitz <poenitz@gmx.net>
11158
11159         * lyxfunc.C: removed greek_kb_flag.
11160
11161 2001-10-10  Herbert Voss  <voss@perce.de>
11162
11163         * lyx_main.C: delete global string help_lyxdir.
11164
11165 2001-10-09  Herbert Voss  <voss@perce.de>
11166
11167         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11168
11169         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11170
11171         * lyx_main.C: added global string help_lyxdir.
11172
11173         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11174
11175 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11176
11177         * lyxrc.C (set_font_norm_type): support iso8859-4
11178
11179 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11180
11181         * LaTeX.C (deplog): add another regex for MikTeX
11182
11183 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11184
11185         * lyxrc.C (set_font_norm_type): support iso8859-3
11186
11187 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11188
11189         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11190
11191         * LaTeXFeatures.C: remove special case of french and index
11192
11193         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11194         before \begin{document}). This solves several incompatibilities.
11195
11196 2001-10-03  Garst Reese  <reese@isn.net>
11197
11198         * lyx_cb.C: change CheckTex error msg.
11199
11200 2001-10-03  José Matos  <jamatos@fep.up.pt>
11201
11202         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11203
11204 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11205
11206         * .cvsignore: update
11207
11208         * lyx_main.C (commandLineVersionInfo): use new style version info.
11209
11210         * buffer.C (writeFile):
11211         (makeLaTeXFile):
11212         (makeLinuxDocFile):
11213         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11214
11215         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11216
11217         * version.h: update to use stuff in version.C
11218
11219         * version.C.in: new file. Contains version information determined
11220         at compile time. This is a merging of version.h and
11221         version_info.h.in.
11222
11223 2001-10-03  Juergen Vigna  <jug@sad.it>
11224
11225         * BufferView_pimpl.C (update): don't change "dirty" status in
11226         updateInset call.
11227
11228 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11229
11230         * WorkArea.C (c-tor): re-position version string slightly.
11231
11232 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11233
11234         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11235         revert to previous code.
11236
11237         WorkArea.[Ch]: (show, destroySplash): methods removed.
11238
11239         WorkArea.C: rework code so that it's an amalgam of the codes before and
11240         after the splash screen was moved to WorkArea.
11241
11242 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11243
11244         * lyxrc.C (read):
11245         * vspace.C (inPixels):
11246         (lyx_advance):
11247         * kbmap.C (bind):
11248         * buffer.C (insertStringAsLines):
11249         (asciiParagraph): fix types to be large enough
11250
11251         * lyxlex_pimpl.h: change member status from short to int
11252
11253         * layout.h: fix type of endlabeltype
11254
11255         * kbmap.C (bind):
11256         * kbsequence.C (parse): change return type to string::size_type
11257
11258         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11259         variable
11260
11261         * Bullet.C (bulletSize):
11262         (bulletEntry): do not use short ints as parameters
11263
11264         * BufferView2.C (insertLyXFile): change a char to an int.
11265
11266         * WorkArea.C (WorkArea): remove unneeded floats in computation
11267
11268 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11269
11270         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11271
11272         * paragraph.C (asString): Do not ignore newline/hfill chars when
11273         copying to the clipboard.
11274
11275 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11276
11277         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11278         after a multi-line inset.
11279
11280 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11281
11282         * paragraph.C (validate): Set NeedLyXFootnoteCode
11283
11284 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11285
11286         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11287         and decrease-error to decrease.
11288
11289 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11290
11291         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11292         it more readable (should be equivalent)
11293
11294 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11295
11296         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11297
11298 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11299
11300         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11301         of a cursor (row, etc.) after a character has been deleted
11302         (deleteEmptyParagraphMechanism): call the method above on _all_
11303         cursors held by the LyXText when a double space has been
11304         detected/deleted.
11305
11306 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11307
11308         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11309         pixmap.
11310         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11311
11312         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11313         background. Use greyOut() and the new show() methods to toggle between
11314         the foreground and background. Add code to remove the splash after
11315         its initial showing.
11316
11317         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11318         (create_forms): no longer call Dialogs::showSplash.
11319
11320 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11321
11322         * .cvsignore: add version_info.h
11323
11324 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11325
11326         * version_info.h.in: new file
11327
11328         * Makefile.am: add version_info.h.in
11329
11330         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11331         version_info.h instead of VERSION_INFO
11332
11333 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11334
11335         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11336         The ERT inset now returns string().
11337
11338 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11339
11340         * lyxtext.h, text.C (selectNextWord): renamed as
11341         selectNextWordToSpellcheck.
11342
11343         * text.C (selectNextWordToSpellcheck): Modified to not select
11344         words inside an ERT inset.
11345
11346 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11347
11348         * lyx_cb.C (MenuLayoutSave): change a bit the question
11349
11350         * sp_base.h: include <sys/types.h>
11351
11352 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11353
11354         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11355
11356 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11357
11358         * several files: fix typos in user-visible strings
11359
11360 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11361
11362         * text2.C (pasteSelection): do not set the selection, since it
11363         will be cleared later. Actually, the intent was to fix the way the
11364         selection was set, but I figured rmoving the code was just as good.
11365
11366 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11367
11368         * FontLoader.C (available): Check if font is available without
11369         loading the font.
11370
11371 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11372
11373         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11374
11375 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11376
11377         * lyxrc.[Ch]: added display_graphics variable and associated code.
11378
11379 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11380
11381         * bufferparams.C (hasClassDefaults): new method. Returns true if
11382         the buffer parameters correspond to known class defaults
11383
11384 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11385
11386         * XFormsView.C (show): set minimum size to the main window.
11387
11388 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11389
11390         * text2.C (copySelection):
11391         (cutSelection):
11392         * lyxfind.C (LyXReplace):
11393         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11394         LyXText::selectionAsString.
11395
11396         * paragraph.C (asString): add "label" argument to the second form
11397
11398         * text2.C (selectionAsString): add "label" argument and pass it to
11399         Paragraph::asString.
11400
11401 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11402
11403         * lyx_main.C (commandLineHelp): remove version information
11404
11405 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11406
11407         * lyx_main.C: add -version commandline option
11408
11409 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11410
11411         * paragraph.h: make the optional constructor arg required instead.
11412         some modifications to other files because of this.
11413
11414         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11415
11416         * lyxserver.C (C_LyXComm_callback): make it static
11417
11418         * lyx_main.C (error_handler): make it static
11419
11420         * lyx_gui.C (LyX_XErrHandler): make it static
11421
11422         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11423
11424         * WorkArea.C: make the extern "C" methods static.
11425
11426         * Makefile.am (lyx_LDADD): simplify
11427
11428 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11429
11430         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11431         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11432
11433         * LyXAction.C (init):
11434         * lyxfunc.C (dispatch): associated code removal.
11435
11436 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11437
11438         * lyxfont.h (isSymbolFont): shut off warning
11439
11440         * text.C (setHeightOfRow):
11441         (getVisibleRow): fix crash with empty paragraphs which have a
11442         bottom line
11443
11444 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11445
11446         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11447         code.
11448
11449 2001-09-04  José Matos  <jamatos@fep.up.pt>
11450         * buffer.C
11451         * buffer.h
11452         * tabular.C (docbook): rename docBook method to docbook.
11453
11454 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11455
11456         * Makefile.am: add dependencies to main.o.
11457
11458 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11459
11460         * FontLoader.C (available): Return false if !lyxrc.use_gui
11461
11462 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11463
11464         * FontInfo.C (query):
11465         * converter.C (view):
11466         * importer.C (Import):
11467         * exporter.C (Export): Can not -> cannot.
11468
11469 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11470
11471         * BufferView_pimpl.C: allow to create index inset even if
11472           string is empty
11473
11474 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11475
11476         * buffer.C (getLists): replace boost::tie code with an explicit pair
11477         as boost::tie can break some compilers.
11478
11479         * iterators.h: Added a std:: declaration to the return type of
11480         ParIterator::size.
11481
11482 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11483
11484         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11485           case.
11486
11487 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11488
11489         * iterators.[Ch]: New files. Provide paragraph iterators.
11490
11491         * buffer.C (changeLanguage): Use paragraph iterators.
11492         (isMultiLingual): ditto
11493
11494         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11495
11496 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11497
11498         * FontLoader.C: Support for cmr font.
11499
11500 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11501
11502         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11503         (available): New method.
11504
11505         * FontInfo.C (getFontname): Use scalable fonts even when
11506         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11507         found.
11508
11509 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11510
11511         * converter.C (Formats::view): reverted! Incorrect fix.
11512
11513 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11514
11515         * converter.C (Formats::view): only output the -paper option
11516         if the dvi viewer is xdvi, thereby fixing bug #233429.
11517
11518 2001-08-23  Herbert Voss  <voss@perce>
11519
11520         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11521
11522 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11523
11524         * Spacing.h (Spacing): Set space to Default on in the default
11525         constructor.
11526
11527 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11528
11529         * vc-backend.h (RCS::versionString): add RCS to version
11530         (CVS::versionString): add CVS to version
11531
11532         * vc-backend.C (scanMaster): do not add CVS to version.
11533         (scanMaster): do not add RCS to version
11534
11535         * lyxvc.C (versionString): new method
11536
11537         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11538
11539 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11540
11541         * Spacing.C (set): initialize fval
11542
11543 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11544
11545         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11546         " or \.
11547
11548 2001-08-16  Juergen Vigna  <jug@sad.it>
11549
11550         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11551
11552 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11553
11554         * BufferView_pimpl.C:
11555         * figureForm.C:
11556         * lyxtext.h:
11557         * text2.C: setParagraph takes linespacing now
11558
11559 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11560
11561         * LyxAction.C: add internal LFUN_CITATION_INSERT
11562
11563         * LyXView.C: actually apply fix
11564
11565         * bufferlist.C: fix open non-existent file
11566
11567         * lyxfind.C: fix indentation
11568
11569         * lyxfunc.C: remove unneeded assert, fix typo
11570
11571 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11572
11573         * MenuBackend.C: use "Floatname List"
11574
11575 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11576
11577         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11578         when converting LaTeX layout to insetERT.
11579         Generate a non-collapsed float when reading old float
11580
11581 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11582
11583         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11584         ERT insets.
11585
11586 2001-08-13  Juergen Vigna  <jug@sad.it>
11587
11588         * text.C (fill): return 0 instead of 20 as this seems to be the more
11589         correct value.
11590
11591 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11592
11593         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11594         lyxrc.font_norm.
11595
11596 2001-08-13  Juergen Vigna  <jug@sad.it>
11597
11598         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11599         casesensitive off.
11600         (SearchBackward): comment out the unlocking of the inset_owner this
11601         should not be needed!
11602
11603 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11604
11605         * Many files: Remove inherit_language, and add latex_language
11606
11607         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11608         collapsible insets.
11609
11610 2001-08-10  Juergen Vigna  <jug@sad.it>
11611
11612         * text.C (prepareToPrint): fixed hfill-width in draw!
11613
11614         * BufferView2.C (selectLastWord): save the selection cursor as this
11615         now is cleared in the function LyXText::clearSelection!
11616
11617 2001-08-08  Juergen Vigna  <jug@sad.it>
11618
11619         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11620         BACKSPACE type functions.
11621
11622         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11623         is only cutted from the document but not put in the cut-buffer, where
11624         still the old stuff should be.
11625
11626         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11627
11628         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11629
11630         * tabular.C (SetWidthOfCell): fixed special case where the width
11631         was not updated!
11632         (LeftLine): handle '|' in align_special.
11633         (RightLine): ditto
11634         (LeftAlreadyDrawed): ditto
11635         (SetWidthOfCell): ditto
11636
11637 2001-08-07  Juergen Vigna  <jug@sad.it>
11638
11639         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11640
11641 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11642
11643         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11644         * lyxlex.[hC]: ditto
11645
11646 2001-08-06  Juergen Vigna  <jug@sad.it>
11647
11648         * text.C (getVisibleRow): fix up row clearing a bit.
11649
11650 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11651
11652         * minibuffer.C: make sure the X server sees the changes in the input.
11653
11654 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11655
11656         * paragraph.C (getFont): split into...
11657         (getLabelFont): this
11658         (getLayoutFont): and this
11659         * paragraph_pimpl.C (realizeFont): calling this
11660
11661         * text2.C (getFont): split into...
11662         (getLayoutFont): this
11663         (getLabelFont): and this
11664         (realizeFont): all three calling this
11665
11666         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11667         files where used.
11668
11669 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11670
11671         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11672
11673 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11674
11675         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11676         layouts from the Quote inset insertion.
11677
11678 2001-08-03  Juergen Vigna  <jug@sad.it>
11679
11680         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11681
11682         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11683         only if status not is already CHANGED_IN_DRAW (second level).
11684
11685         * text.C (draw): don't set the need_break_row when inside an
11686         InsetText LyXText.
11687
11688 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11689
11690         * buffer.C (parseSingleLyXformat2Token): handle more latex
11691         conversion cases.
11692
11693         * bufferview_funcs.[hC]: change function names to
11694         begin with small char, adjust other files.
11695
11696 2001-08-02  André Pönitz <poenitz@gmx.net>
11697
11698         * lyxfunc.C:
11699         BufferView_pimpl.C: remove broken special code for math-greek
11700
11701 2001-08-02  Juergen Vigna  <jug@sad.it>
11702
11703         * BufferView_pimpl.C (update): redone this function so that we
11704         update the text again if there was a CHANGE_IN_DRAW.
11705
11706         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11707         (drawFromTo): added a new internal bool which is used by draw() and
11708         redraw() function.
11709         (general): some cursor drawing problems fixed.
11710
11711 2001-08-01  Juergen Vigna  <jug@sad.it>
11712
11713         * lyxfind.C (LyXFind): fixed
11714         (SearchForward): ditto
11715         (SearchBackward): ditto
11716
11717         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11718         spurius drawing of the cursor in the main area.
11719
11720         * text2.C (status): small fix which could lead to a segfault!
11721         (clearSelection): remove unneeded BufferView param.
11722
11723 2001-08-01  André Pönitz <poenitz@gmx.net>
11724
11725         * lyxfunc.C: small change due to changed mathed interface
11726
11727 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11728
11729         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11730
11731 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11732
11733         * lyxfunc.c: fail gracefully if file doesn't exist
11734
11735         * LyXSendto.C:
11736         * buffer.C:
11737         * lyxfunc.C:
11738         * BufferView_pimpl.C: IsDirWriteable() proto changed
11739
11740         * LyXView.C: fix updateWindowTitle() to store the last title
11741
11742 2001-07-31  Juergen Vigna  <jug@sad.it>
11743
11744         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11745         the font (wrong since using of Paragraph::highestFontInRange).
11746
11747         * paragraph.C (highestFontInRange): added a default_size parameter.
11748
11749         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11750         (setHeightOfRow): reformat
11751
11752 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11753
11754         * converter.[hC] + affected files: move to (inital-char)lowercase
11755         function names.
11756
11757         * ParagraphParameters.C (ParagraphParameters): remove commented code
11758
11759         * PainterBase.[Ch]: remove commented code
11760
11761         * LaTeXFeatures.h: add "bool floats" for float.sty
11762
11763         * LaTeXFeatures.C (LaTeXFeatures): init floats
11764         (require): handle float
11765         (getPackages): do it with floats
11766
11767 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11768
11769         * BufferView_pimpl.C (Dispatch): improve handling of
11770         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11771
11772         * commandtags.h: #include lyxfont.h here temporarily to avoid
11773         keybinding bug.
11774
11775         * bufferlist.h: include LString.h here.
11776
11777 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11778
11779         * text2.C (getStringToIndex): new method.
11780
11781 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11782
11783         * *: Reduced header file dependencies all over.
11784
11785 2001-07-30  Baruch Even  <baruch@lyx.org>
11786
11787         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11788
11789 2001-07-29  Baruch Even  <baruch@lyx.org>
11790
11791         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11792
11793 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11794
11795         * ParameterStruct.h (endif): add a default constructor to make
11796         sure that all variables is initialized.
11797
11798         * ParagraphParameters.C (ParagraphParameters): adjust
11799
11800 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11801
11802         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11803         index; also, check that there is something to index, and that it
11804         does not span over several paragraphs.
11805         (doubleClick): use WHOLE_WORD_STRICT for double click.
11806
11807         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11808
11809         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11810         scheme.
11811
11812 2001-07-26  Baruch Even  <baruch@lyx.org>
11813
11814         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11815         an InsetFig figure, backwards compatible reading of old figure code.
11816
11817 2001-07-27  Juergen Vigna  <jug@sad.it>
11818
11819         * text2.C: font.realize function adaption.
11820
11821         * text.C (draw): add a warnings lyxerr text if needed.
11822
11823         * layout.C: font.realize function adaption.
11824
11825         * language.C: add inherit_language and implement it's handlings
11826
11827         * bufferview_funcs.C (StyleReset): remove language parameter from
11828         font creation (should be language_inherit now).
11829
11830         * bufferparams.C (writeFile): handle ignore_language.
11831
11832         * paragraph.C (getFontSettings): the language has to be resolved
11833         otherwise we have problems in LyXFont!
11834
11835         * lyxfont.C (lyxWriteChanges): added document_language parameter
11836         (update): removed unneeded language parameter
11837
11838         * paragraph.C (validate): fixed wrong output of color-package when
11839         using interface colors for certain fonts in certain environments,
11840         which should not seen as that on the final output.
11841
11842 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11843
11844         * BufferView_pimpl.C:
11845         * Thesaurus.h:
11846         * Thesaurus.C:
11847         * Makefile.am:
11848         * commandtags.h:
11849         * LyXAction.C: add thesaurus support
11850
11851         * lyxfind.h:
11852         * lyxfind.C: add "once" parameter, for thesaurus, to not
11853           move to the next match
11854
11855 2001-07-26  Juergen Vigna  <jug@sad.it>
11856
11857         * lyxfont.C (realize): honor ignore_language too!
11858         (resolved): ditto.
11859
11860         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11861
11862         * text.C (draw): one place more for ignore_language to not draw
11863         itself!
11864
11865 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11866
11867         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11868
11869 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11870
11871         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11872         the minipage conversion problem.
11873
11874 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11875
11876         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11877         insert an inset.
11878
11879 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11880
11881         * BufferView.h: don't forward declare WorkArea
11882
11883         * BufferView.C: don't include WorkArea.h
11884
11885 2001-07-25  André Pönitz <poenitz@gmx.net>
11886
11887         * commandtags.h:
11888         * LyXAction.C:
11889         * lyxfunc.C:  new LFUN 'math-space'
11890
11891         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11892
11893 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11894
11895         * text2.C (toggleInset): call open/close
11896
11897 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11898
11899         * lyxfunc.C (dispatch): add debug for the disabled case
11900
11901         * font.C (buttonText): make similar to rectText
11902
11903         * buffer.C (readInset): comment out parsing of insetlist and
11904         insttheorem
11905
11906         * PainterBase.C (rectText): small correction
11907
11908         * BufferView_pimpl.C: comment out insettheorem and insetlist
11909         * LyXAction.C: ditto
11910         * commandtags.h: ditto
11911
11912 2001-07-24  Juergen Vigna  <jug@sad.it>
11913
11914         * text.C (draw): honor the ignore_language.
11915
11916         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11917
11918 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11919
11920         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11921         char inset.
11922
11923 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11924
11925         * lyxtext.h: remove unused (and unimplemented) methods
11926
11927 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11928
11929         * text.C (getVisibleRow): honor background color
11930
11931         * PainterBase.h:
11932         * Painter.h: remove default color argument for fillRectangle
11933
11934         * text.C (backgroundColor): new method
11935
11936 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11937
11938         * text.C (getVisibleRow): adjust
11939
11940         * font.[Ch] (rectText): new method, metrics
11941         (buttonText): new method, metrics
11942
11943         * PainterBase.[hC]: make rectText and buttonText always draw and take
11944         fewer paramteres.
11945
11946 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11947
11948         * ToolbarDefaults.C (read):
11949         * MenuBackend.C (read): allow escaping in all strings
11950
11951         * BufferView_pimpl.C (insertAndEditInset): new method.
11952         (Dispatch): use insertAndEditInset whenever appropriate.
11953
11954         * BufferView_pimpl.C (insertNote): removed
11955
11956         * BufferView_pimpl.C (smartQuote): new method, moved from
11957         BufferView; if an insetquote cannot be inserted, insert a '"'
11958         character instead.
11959
11960         * BufferView2.C: remove insertCorrectQuote();
11961
11962         * lyxfunc.C (getStatus): Add support for all remaingin
11963         inset-insert lfuns.
11964
11965         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11966
11967         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11968         command (necessary to pass " as parameter of self-insert.
11969
11970         * text.C (selectWordWhenUnderCursor):
11971         (selectWord): add word_location parameter
11972         (selectWordWhenUnderCursor): same + remove special code for word
11973         boundary.
11974         (selectNextWord): use kind() to guess type of insetspecialchar,
11975         not latex().
11976
11977         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11978         (insertErtContents): create ert insets as collapsed.
11979         (readInset): better compatibility code for Info inset.
11980
11981 2001-07-20  Juergen Vigna  <jug@sad.it>
11982
11983         * lyxfunc.C (dispatch): use always LyXFind now!
11984
11985         * text2.C (init): add a reinit flag so that the LyXText can be
11986         reinited instead of deleted and reallocated (used in InsetText).
11987
11988         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11989
11990         * text.C: ditto
11991
11992         * text2.C: ditto
11993
11994 2001-07-18  Juergen Vigna  <jug@sad.it>
11995
11996         * text.C (selectNextWord): handle insets inside inset by calling
11997         always the bv->text functions so that we can go up the_locking_inset!
11998
11999         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12000         in strange locations when inside an inset!
12001
12002         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12003         handling to include insets.
12004
12005         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12006
12007 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12008
12009         * LyXAction.C (init):
12010         * commandtags.h:
12011         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12012         LIGATURE_BREAK, since the name is so stupid.
12013
12014 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12015
12016         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12017         InsetInfos.
12018
12019         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12020
12021         * sp_form.[Ch]: remove.
12022
12023         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12024
12025         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12026         InsetInfo.
12027
12028         * src/buffer.C (readInset): ditto.
12029
12030 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12031
12032         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12033         menuSeparator(), endOfSentenceDot(), ldots() and
12034         hyphenationPoint(), which are therefore removed.
12035         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12036
12037         * LyXAction.C (init):
12038         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12039
12040         * paragraph.C (getWord): removed.
12041
12042         * BufferView_pimpl.C (Dispatch): use last word or selection for
12043         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12044
12045         * lyx_main.C (queryUserLyXDir): do not ask before creating
12046         user_dir, except if it has been named explicitely.
12047
12048 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12049
12050         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12051         a document of zero size.
12052
12053 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12054
12055         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12056         approriately in the c-tor and in require().
12057         (getPackages): output the appropriate LaTeX for natbib support.
12058
12059         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12060         variables "use_natbib" and "use_numerical_citations" when reading the
12061         LyX file.
12062         (readInset): read the various natbib cite commands.
12063         (validate): white-space change.
12064
12065         * bufferparams.[Ch]: new variables "bool use_natbib" and
12066         "bool use_numerical_citations".
12067         (writeFile): output them in the LyX file.
12068
12069 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12070
12071         * lyxfunc.C (getStatus): add support for all the inset insertion
12072         commands.
12073
12074         * text2.C (insertInset):
12075         * paragraph.C (insetAllowed):
12076         * BufferView_pimpl.C (insertInset): update to take in account the
12077         renaming of insertInsetAllowed
12078
12079         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12080
12081         * text2.C (getInset): new method. returns inset at cursor position.
12082
12083         * BufferView_pimpl.C (Dispatch): changes because of this.
12084
12085         * LyXAction.C (init): rename open-stuff to inset-toggle.
12086
12087         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12088
12089         * text2.C (toggleInset): renamed from openStuff; use
12090         Inset::open().
12091
12092 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12093
12094         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12095
12096         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12097
12098 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12099
12100         * buffer.C (readLyXformat2): Add filename to the error dialog
12101
12102 2001-07-18  Juergen Vigna  <jug@sad.it>
12103
12104         * tabular.C (GetCellNumber): put an assert here instead of the check!
12105
12106 2001-07-17  Juergen Vigna  <jug@sad.it>
12107
12108         * BufferView_pimpl.C (toggleSelection): adapted too.
12109
12110         * text.C (selectNextWord): adapted for use with insets.
12111         (selectSelectedWord): ditto
12112
12113 2001-07-17  Juergen Vigna  <jug@sad.it>
12114
12115         * sp_spell.C (PSpell): fix initialitation order.
12116
12117 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12118
12119         * paragraph.C: spacing
12120
12121 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12122
12123         * sp_spell.C: repair language selection for pspell
12124
12125 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12126
12127         * lyxfunc.h: change more methods to begin with lower char.
12128
12129 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12130
12131         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12132         for unknown layouts.
12133
12134 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12135
12136         * buffer.C (readLyXformat2): Generate an error dialog if there are
12137         unknown layouts.
12138
12139 2001-07-16  Juergen Vigna  <jug@sad.it>
12140
12141         * sp_spell.C: always compile ISpell part.
12142
12143         * lyxrc.C: added use_pspell entry and it's handling.
12144
12145 2001-07-13  Juergen Vigna  <jug@sad.it>
12146
12147         * sp_spell.C: removed double includes.
12148
12149 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12150
12151         Consistent use of Lsstream.h:
12152         * Lsstream.h: added using std::stringstream for consistencies sake.
12153
12154         * buffer.C: removed using std::stringstream
12155
12156         * lyxfont.C (stateText):
12157         * paragraph.C (asString):
12158         * text.C (selectNextWord, selectSelectedWord):
12159         * text2.C (setCounter):
12160         * vspace.C (asString, asLatexString):
12161         std::ostringstream -> ostringstream.
12162
12163 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12164
12165         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12166         * commandtags.h: add LFUN_HELP_ABOUTLYX
12167         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12168
12169 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12170
12171         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12172         cursorToggle()
12173         * lyx_gui_misc.C: remove spellchecker
12174         * lyxfunc.C: showSpellchecker
12175         * sp_base.h: added
12176         * sp_ispell.h: added
12177         * sp_pspell.h: added
12178         * sp_spell.C: added
12179         * sp_form.[Ch]: removed
12180         * spellchecker.[Ch]: removed
12181
12182 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12183
12184         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12185         is set.
12186         (simpleTeXSpecialChars): Simply print the input character without
12187         any special translation if pass_thru is set.
12188
12189         * layout.h: Added bool pass_thru to layout class for being able to
12190         implement pass through of a paragraph for Literate Programming.
12191
12192         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12193         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12194         * layout.C (Read): add "passthru" to list of layout tags and add
12195         code to set the pass_thru boolean when it is read.
12196
12197 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12198
12199         * trans_decl.h: remove allowed from KmodInfo
12200
12201         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12202         remove allowed code
12203         (Load): adjust
12204
12205         * paragraph_pimpl.C (erase): use boost::prior
12206
12207         * Painter.C (text): use data() instead of c_str() when length is
12208         also provided.
12209         * WorkArea.C (putClipboard): ditto
12210         * font.h (width): ditto
12211
12212         * BufferView2.C: use it-> instead of (*it). for iterators
12213         * texrow.C: ditto
12214         * paragraph_pimpl.C: ditto
12215         * paragraph.C: ditto
12216         * minibuffer.C: ditto
12217         * language.C: ditto
12218         * kbmap.C: ditto
12219         * encoding.C: ditto
12220         * counters.C: ditto
12221         * converter.C: ditto
12222         * chset.C: ditto
12223         * Variables.C: ditto
12224         * TextCache.C: ditto
12225         * MenuBackend.C: ditto
12226         * LyXAction.C: ditto
12227         * LColor.C: ditto
12228         * FloatList.C: ditto
12229         * DepTable.C: ditto
12230         * ColorHandler.C (LyXColorHandler): ditto
12231
12232 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12233
12234         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12235
12236         * text2.C (openStuff): reintroduce this method (which had been
12237         nuked in NEW_INSETS frenzy).
12238
12239         * lyxfunc.C (Dispatch): when an action has not been handled, use
12240         its name in the error message, not its number.
12241
12242         * paragraph.C (inInset): change method name to begin with lowercase.
12243
12244         * undo_funcs.C:
12245         * text2.C: updates because of this.
12246
12247 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12248
12249         * ToolbarDefaults.C (add): add spaces in error message
12250
12251 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12252
12253         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12254         (readLyXformat2): rename return_par to first_par, use lyxlex's
12255         pushToken and remove the manual push handling.
12256         (parseSingleLyXformat2Token): add another ert comp. variable:
12257         in_tabular, rename return_par to first_par. handle newlines better
12258
12259 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12260
12261         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12262
12263 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12264
12265         * text2.C (getParFromID): removed
12266
12267         * buffer.C (getParFromID): new method moved form lyxtext.
12268         * BufferView2.C (insertErrors): adjust
12269         (setCursorFromRow): adjust
12270         * BufferView_pimpl.C (restorePosition): adjust
12271         * lyxfunc.C (Dispatch): adjust
12272         * undo_funcs.C (textUndo): adjust
12273         (textRedo): adjust
12274         (textHandleUndo): adjust
12275         (textHandleUndo): adjust
12276
12277 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12278
12279         * buffer.C: up' the LYX_FORMAT
12280
12281         * lyxfont.h: turn NO_LATEX on as default
12282
12283         * buffer.C (insertErtContents): new methods of tex style compability.
12284         (parseSingleLyXformat2Token): use it several places.
12285         * tabular.C (OldFormatRead): and here
12286
12287 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12288
12289         * text2.C: remove some commented code.
12290         reindent file.
12291
12292         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12293         * trans.C: changes because of the above.
12294
12295 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12296
12297         * text2.C (setCounter): Fix counters bug with bibliography layout.
12298
12299 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12300
12301         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12302         own member functions
12303         (simpleTeXSpecialChars): ditto
12304
12305 2001-07-06  Juergen Vigna  <jug@sad.it>
12306
12307         * a lot of files: changed the access to LyXText::status and the
12308         call of undo-functions.
12309
12310         * undo.[Ch]: added a inset_id to the undo informations.
12311
12312         * undo_funcs.[Ch]: added and moved here all undo functions.
12313
12314         * lyxtext.h: give the status enum a weight, made status_ a private
12315         variable and made accessor functions for it, removed the whole bunch
12316         of undo-functions as they are now in their own file, make some
12317         functions publically available. Added function ownerParagraph with
12318         int parameter.
12319
12320         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12321         made InInset() a const function, added getParFromID() function.
12322
12323         * buffer.[Ch]: added const version for inset_iterator functions,
12324         added getInsetFromID() function.
12325
12326         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12327         changed undo functions for new version.
12328
12329 2001-07-05  Juergen Vigna  <jug@sad.it>
12330
12331         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12332         unknow mechanism does not call the proper constructor but only this
12333         one also if I request the other!?
12334
12335 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12336
12337         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12338
12339         * text2.C (LyXText): use initialization lists.
12340
12341         * lyxtext.h (Selection): initialize set_ and mark_
12342         (init): remove method
12343
12344 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12345
12346         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12347
12348 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12349
12350         * screen.[Ch]: change method names to begin with lowercase
12351
12352         * BufferView_pimpl.C (updateScrollbar): simplify further and
12353         hopefully make it a bit faster.
12354
12355 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12356
12357         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12358         calling directly xforms functions.
12359
12360         * Painter.C (Painter):
12361         * lyx_cb.C (MenuWrite):
12362         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12363         fl_display.
12364
12365         * lyx_gui.C: remove bogus guiruntime extern declaration.
12366
12367 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12368
12369         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12370         in NEW_INSETS
12371         (redoDrawingOfParagraph): ditto
12372         (redoParagraphs): ditto
12373         (cutSelection): don't create a object for CutAndPaste use the
12374         static method directly
12375         (pasteSelection): ditto
12376
12377         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12378         LyXview (+ rename)
12379
12380 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12381
12382         * modifications to some other files because of this.
12383
12384         * Makefile.am (lyx_SOURCES): add XFormsView
12385
12386         * XFormsView.[Ch]: new files
12387
12388         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12389         the main window. Move the gui dependent stuff to XFormsView
12390
12391 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12392
12393         * tabular.C (GetCellInset): update cur_cell also in the row/col
12394         version of this function.
12395
12396         * lyxfunc.C: no need to include figure_form.h here.
12397
12398         * FontLoader.h:
12399         * lyxfunc.h:
12400         * lyxscreen.h:
12401         * text2.C:
12402         * lyxvc.C: no need to include forms.h here.
12403
12404 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12405
12406         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12407
12408         * lyxfunc.C (Dispatch):
12409         * Spacing.C (set):
12410         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12411         constructor argument.
12412
12413 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12414
12415         * paragraph.C (Paragraph): dont't clear, and just set layout.
12416         (makeSameLayout): use params's copy contructor.
12417
12418         * ParagraphParameters.[Ch] (makeSame): delete method
12419
12420 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12421
12422         * Variables.[Ch]: fix indentation, rename set to isSet
12423
12424 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12425
12426         * lyxfunc.C (Dispatch): fix typo
12427
12428 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12429
12430         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12431         upper_bound.
12432
12433         * bufferlist.C: include assert.h for emergencyWrite().
12434
12435 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12436
12437         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12438           give up at last (bug #425202) !
12439
12440 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12441
12442         * lyx_gui_misc.C:
12443         * sp_form.h:
12444         * sp_form.C:
12445         * spellchecker.h:
12446         * spellchecker.C: strip spellchecker options and bring up
12447           preferences tab instead
12448
12449 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12450
12451         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12452         the istringstream constructor
12453
12454 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12455
12456         * paragraph.C (getLayout): fix return value
12457
12458         * paragraph.h: do not declare getLayout as inline.
12459
12460         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12461
12462 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12463
12464         * lyxcursor.h (operator<): new func
12465         (operator>): new func
12466         (operator>=): new func
12467         (operator<=): new func
12468
12469         * text.C (changeCase): use selection.start and selection.end
12470         (changeRegionCase): require from to be <= to. Require par to be a
12471         valid paragraph.
12472
12473         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12474
12475 2001-06-27  Juergen Vigna  <jug@sad.it>
12476
12477         * text.C (cursorLeftOneWord): changed to return the cursor and added
12478         overlay with BufferView * parameter which calls this one.
12479         (getWord): added
12480         (selectWord): use new getWord function.
12481         (changeCase): renamed from changeWordCase as and extended to work
12482         also on selections.
12483
12484         * lyxtext.h: added enum word_location
12485
12486         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12487         changeCase as this operates now also on selections.
12488
12489 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12490
12491         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12492
12493         * many files: send debug output to Debug::INFO instead of
12494         Debug::ANY.
12495
12496         * converter.C (View):
12497         (Convert):
12498         (Move): send debug output to Debug::FILES instead of console.
12499
12500 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12501
12502         * lyxfunc.C (getStatus): use func_status
12503
12504         * func_status.h: new header, describing the results of
12505         LyXFunc::getStatus;
12506
12507         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12508         LFUN_MATH_HALIGN.
12509
12510 2001-06-25  The LyX Project  <jug@sad.it>
12511
12512         * buffer.C (sgmlOpenTag):
12513         (sgmlCloseTag):
12514         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12515
12516 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12517
12518         * text2.C: remove some dead code
12519
12520         * tabular.C (GetCellInset): store the last cell checked (gotten)
12521
12522         * tabular.h: add the helper for the speedup
12523
12524         * lyxtext.h: remove some dead code
12525
12526 2001-06-26  The LyX Project  <Asger>
12527
12528         * paragraph.C: Change export to LaTeX of alignment to
12529         \begin{center} and family for better roundtrip work with reLyX.
12530
12531         * Tune the math drawing a bit.
12532
12533 2001-06-25  The LyX Project  <Asger>
12534
12535         * LColor.C (LColor): New color for math background. New color
12536         for buttons.
12537
12538 2001-06-25  The LyX Project  <jug@sad.it>
12539
12540         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12541
12542         * lyxfunc.C (Open):
12543         * bufferlist.C (newFile): do not restrict to files ending with
12544         .lyx
12545
12546         * BufferView_pimpl.C (MenuInsertLyXFile):
12547
12548 2001-06-24  The LyX Project  <jug@sad.it>
12549
12550         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12551         of compare_no_case
12552
12553 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12554
12555         * lyxtext.h: rename most methods to begin with a small char.
12556         Lots of changes because of this.
12557
12558         * paragraph.C (Paragraph): do not call fitToSize
12559         (erase): call Pimpl::erase
12560         (insertChar): call Pimpl::insertChar
12561         (insertInset): call Pipl::insertInset
12562         (breakParagraph): do not call fitToSize
12563         (breakParagraphConservative): do not call fitToSize
12564         (fitToSize): remove method
12565
12566         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12567
12568 2001-06-24  The LyX Project  <Asger>
12569
12570         * Fix Qt compilation^2
12571
12572 2001-06-24  The LyX Project  <jug@sad.it>
12573
12574         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12575         depthHook(getDepth()-1).
12576
12577         * paragraph.h:
12578         * ParagraphParameters.h:
12579         * ParameterStruct.h: change type of depth to unsigned int ==
12580         depth_type. Many adaptations to other files before of that.
12581
12582 2001-06-24  The LyX Project  <Asger>
12583
12584         * Fix Qt compilation.
12585
12586 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12587
12588         * paragraph.h: renamed several methods to begin with small letter.
12589         several changes to many parts of the code because of this.
12590
12591 2001-06-23  The LyX Project  <jug@sad.it>
12592
12593         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12594         rewritten to discard all double spaces when KeepEmpty is off
12595         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12596         to only handle newlines but not fiddle with spaces and friends.
12597
12598         * lyxfunc.C (MenuNew): when doing 'new from template', use
12599         template_path as default directory
12600
12601 2001-06-23  The LyX Project  <Asger>
12602
12603         * Clean-up of header file includes all over
12604         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12605
12606 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12607
12608         * paragraph.h: renamed from lyxparagraph.h
12609
12610 2001-06-23  Asger  <lyx@violet.home.sad.it>
12611
12612         * Buffer.h: Removed Buffer::resize
12613         * BufferList.h: Removed BufferList::resize
12614         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12615         the document lazily when we change the width, or the font settings.
12616
12617 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12618
12619         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12620
12621 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12622
12623         * buffer.h: remove out of date comment
12624
12625 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12626
12627         * lyxscreen.h:
12628         * screen.C: fix "theoretical" GC leak
12629
12630 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12631
12632         * LaTeX.C (scanAuxFile):
12633         (deplog): remove trailing \r when reading stream (useful under
12634         win32)
12635
12636 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12637
12638         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12639         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12640         and BufferView::theLockingInset(Inset*), so should use them and not
12641         access bv_->text->the_locking_inset directly.
12642
12643         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12644
12645 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12646
12647         * Makefile.am:
12648         * tex-defs.h: remove old unused file
12649
12650 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12651
12652         * BufferView_pimpl.C: fix typo, remove minibuffer message
12653           when buffer has loaded
12654
12655 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12656
12657         * lyxfunc.C (Dispatch): use stringstream
12658         (MenuNew): use stringstream
12659         (Open): use stringstream
12660
12661         * importer.C (Import): use stringstream
12662
12663         * bufferview_funcs.C (CurrentState): use stringstream
12664
12665         * LaTeX.C (run): use stringstream
12666
12667         * BufferView_pimpl.C (savePosition): use stringstream
12668         (restorePosition): use stringstream
12669         (MenuInsertLyXFile): use stringstream
12670
12671 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12672
12673         * BufferView.C:
12674         * Bullet.C:
12675         * ColorHandler.C:
12676         * FontInfo.C:
12677         * FontLoader.C:
12678         * LColor.C:
12679         * LaTeXFeatures.C:
12680         * Painter.C:
12681         * gettext.C:
12682         * lyx_gui_misc.C:
12683         * lyxserver.C:
12684         * vspace.C: removed // -*- C++ -*- as first line.
12685
12686         * lyxfind.h:
12687         * version.h: added // -*- C++ -*- as first line.
12688
12689 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12690
12691         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12692
12693         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12694         of string
12695
12696 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12697
12698         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12699         of floats.
12700
12701 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12702
12703         * gettext.C: include LString.h even when --disable-nls is on.
12704
12705 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12706
12707         * converter.h (Get): changed argument type from int to
12708         FormatList::size_type to avoid unnecessary conversion.
12709
12710         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12711         before using it.
12712
12713 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12714
12715         * gettext.h: include LString.h even when --disable-nls is on.
12716
12717 2001-06-07  Juergen Vigna  <jug@sad.it>
12718
12719         * text.C (BreakAgain): subst spaces with tabs.
12720
12721         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12722         (resizeInsetsLyXText): set force on resizeLyXText.
12723
12724 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12725
12726         * gettext.h (gettext_init):
12727         (locale_init): use a real definition instead of a macro
12728
12729 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12730
12731         * Bufferview_pimpl.C:
12732         * LColor.h:
12733         * LColor.C: further lcolor tidies
12734
12735 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12736
12737         * BufferView_pimpl.C (updateScrollbar): simplify.
12738
12739         * BufferView2.C: don't include insets/insetinfo.h, change
12740         prototype for insertInset and call the Pimpl version. let
12741         updateInset call Pimpl version.
12742
12743         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12744         gotoInset to BufferView::Pimpl
12745
12746 2001-06-01  Juergen Vigna  <jug@sad.it>
12747
12748         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12749         inside a LockingInset (is the update needed at all?).
12750
12751 2001-05-31  Juergen Vigna  <jug@sad.it>
12752
12753         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12754         here not the old one otherwise how should we compare it afterwards
12755         if it's the same!
12756
12757 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12758
12759         * lyxfont.C:
12760         * tabular.C:
12761         * tabular-old.C:
12762         * FontInfo.C: bring C functions into global namespace when
12763         necessary
12764
12765 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12766
12767         * LString.h: make sure config.h has been loaded before LString.h.
12768
12769         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12770         (one for each char read by EatLine!).
12771
12772         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12773         variables.
12774
12775 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12776
12777         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12778         to the same as the par we break from
12779
12780 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12781
12782         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12783
12784         * MenuBackend.C (expand): also create menu entries for wide
12785         versions of the floats.
12786
12787         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12788
12789         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12790
12791         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12792         frontends/Makefile.am
12793
12794         * text2.C: adjust
12795         * text.C: adjust
12796
12797
12798         * tabular.C (getTokenValue): add std::
12799
12800         * tabular-old.C (getTokenValue): add std::
12801         (getTokenValue): ditto
12802         (getTokenValue): ditto
12803
12804         * screen.C (ToggleSelection): adjust
12805
12806         * lyxtext.h: put selection cursors inside a Selection struct.
12807
12808         * lyxfunc.C (moveCursorUpdate): adjust
12809
12810         * lyxfont.C (latexWriteStartChanges): add std::
12811
12812         * lyxfind.C: adjust
12813
12814         * font.h: delete with(char const *, LyXFont const &)
12815
12816         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12817
12818         * FontInfo.C (getFontname): add std::
12819
12820         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12821         (workAreaButtonPress): adjust
12822         (tripleClick): adjust
12823         (update): adjust
12824         (moveCursorUpdate): adjust
12825         (Dispatch): adjust
12826
12827         * BufferView2.C (gotoInset): adjust
12828
12829 2001-05-30  Juergen Vigna  <jug@sad.it>
12830
12831         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12832         to check pspell I add this as default as I now have new pspell
12833         libraries and they seem to use this.
12834
12835 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12836
12837         * text2.C (CutSelection): make the cursor valid before the call to
12838         ClearSelection.
12839
12840 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12841
12842         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12843         relied on 0 terminated strings and other horrors. Bug found due to
12844         the new assert in lyxstring!
12845
12846         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12847         KP_ keys.
12848
12849 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12850
12851         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12852         to latinkeys.bind.
12853
12854         * lyxfunc.C (processKeySym): change method of getting to the
12855         self-insert char.
12856
12857         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12858         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12859         * BufferView_pimpl.[Ch]: here as private methods.
12860
12861 2001-05-28  Juergen Vigna  <jug@sad.it>
12862
12863         * text.C (SetHeightOfRow): added the update() call again as it is
12864         needed to initialize inset dimensions!
12865
12866 2001-05-16  Juergen Vigna  <jug@sad.it>
12867
12868         * text2.C (SetCharFont): Add new function with BufferView * and
12869         bool toggleall parameters for setting insets internal fonts.
12870         (SetFont): Freeze the undo as we may change fonts in Insets and
12871         all this change should be inside only one Undo!
12872
12873         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12874         setting font's in insets as for them we have the SetFont function!
12875
12876 2001-05-15  Juergen Vigna  <jug@sad.it>
12877
12878         * text2.C (ClearSelection): to be sure we REALLY don't have any
12879         selection anymore!
12880
12881         * tabular.C (TeXCellPreamble): fixed the left border problem for
12882         multicolumn cells.
12883
12884 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12885
12886         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12887         dependancy file
12888
12889 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12890
12891         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12892         LFUN_BREAKPARAGRAPH.
12893
12894         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12895         help test to "internal only", similar for LFUN_INSERT_URL
12896
12897         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12898         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12899         auto_region_delete and deadkeys.
12900
12901 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12902
12903         * LColor.h:
12904         * LColor.C: remove some dead entries, tidy a little
12905
12906 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12907
12908         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12909         commented code.
12910         (Dispatch): implement LFUN_ESCAPE
12911
12912         * commandtags.h: add LFUN_ESCAPE
12913
12914         * LyXAction.C (init): add entry for LFUN_ESCAPE
12915
12916         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12917         Remove commented code.
12918         (insertNote): moved here
12919         (open_new_inset): moved here
12920
12921         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12922         BufferView_pimpl
12923
12924 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12925
12926         * kbmap.C (findbinding): clean it up and make it work correctly.
12927
12928         * lyx_main.C (init): do not pass argc and argv as parameters
12929
12930 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12931
12932         * buffer.C: fix path for OS/2 & Win32
12933
12934         * lyx_gui.C:
12935         * lyx_main:
12936         * lyx_main.C: Added os:: class.
12937
12938         * os2_defines.h: update
12939
12940 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12941
12942         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12943         better by trying again with reduced state.
12944
12945 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12946
12947         * lyxrc.C (read): print error about invalid key sequence only when
12948         debugging (because not all latinX keysyms are known to some X
12949         servers)
12950
12951         * kbsequence.C (getiso): add a few std:: qualifiers
12952         (getiso): comment out extra return statement.
12953
12954 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12955
12956         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12957         handling.
12958         (Dispatch): enhance the accent inset a bit. (not perfect)
12959
12960 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12961
12962         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12963
12964 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12965
12966         * bufferlist.C (emergencyWrite): fix assert() call
12967
12968 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12969
12970         * text.C (InsertChar): Added trivial patch to only send the "you
12971         can not do multiple spaces this way" message once during a
12972         session.
12973
12974 2001-05-08  Baruch Even  <baruch@lyx.org>
12975
12976         * Makefile.am: Changed order of libraries to get LyX to link properly
12977         with the gnome frontend.
12978
12979 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12980
12981         * LaTeXFeatures.h: add a std:: qualifier
12982
12983 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12984
12985         * paragraph.C (String): use stringstream
12986
12987 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12988
12989         * paragraph.C (writeFile): remove footflag arg
12990
12991         * buffer.C (makeLaTeXFile): use stringstream
12992         (latexParagraphs): remove footnot gurba
12993
12994         * LaTeXFeatures.C (getPackages): use stringstream
12995         (getMacros): likewise
12996         (getTClassPreamble): likewise
12997         (getFloatDefinitions): new method
12998
12999         * paragraph.C (writeFile): reindent
13000         (Erase): reindent
13001
13002         * WorkArea.h: revert the xpos + etc changes.
13003
13004         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13005
13006         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13007
13008         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13009         (pasteSelection): likewise
13010         * text2.C (CreateUndo): likewise
13011
13012 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13013
13014         * minibuffer.C (peek_event): temporarily reduce the functionality
13015         of the minibuffer (to allow args on lfuns)
13016
13017         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13018         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13019
13020         * buffer.C (readInset): add compability reading of old float
13021         lists, add reading of new style float list.
13022         (readInset): avoid reevaluation of inscmd.getCmdName()
13023         (getLists): reindent
13024
13025         * MenuBackend.C (MenuItem): implement parsing of
13026         md_floatlistinsert and md_floatinsert.
13027         (expand::LastFiles): move initalizaton of iterators out of loop,
13028         avoid reevaluation.
13029         (expand::Documents): introduce typdedef vector<string> Strings,
13030         and use it.
13031         (expand::ExportFormats): introduce typedef vector<Format const *>
13032         Formats, and use it.
13033         (expand): implement FloatListInsert and FloatInsert.
13034
13035         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13036         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13037         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13038
13039         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13040         handling.
13041         (Dispatch::LFUN_FLOAT_LIST): implement
13042
13043 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13044
13045         * LaTeX.C (run): Fix problem with --export code.
13046
13047 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13048
13049         * BufferView.[Ch] (workarea): removed.
13050         (getClipboard) new method; wrapper for workarea()->getClipboard()
13051
13052         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13053         bug.
13054
13055         * WorkArea.h (width, height, xpos, ypos): These methods all
13056         returned the dimensions of the work_area sub-area of WorkArea,
13057         resulting in a position error if the WorkArea were resized. Now
13058         return the dimensions of the entire WorkArea.
13059
13060         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13061
13062 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13063
13064         * LaTeX.C (deplog): correct the syntax of regex reg1
13065
13066 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13067
13068         * undo.C: remove !NEW_INSETS cruft
13069
13070 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13071
13072         * text2.C: remove !NEW_INSETS cruft
13073
13074         * text.C: remove !NEW_INSETS cruft
13075
13076         * tabular.C: remove !NEW_INSETS cruft
13077
13078         * spellchecker.C: remove !NEW_INSETS cruft
13079
13080         * lyxtext.h: remove !NEW_INSETS cruft
13081
13082         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13083
13084         * lyxfunc.C: remove !NEW_INSETS cruft
13085
13086         * lyxfind.C: remove !NEW_INSETS cruft
13087
13088         * lyx_cb.C: remove !NEW_INSETS cruft
13089
13090         * figureForm.C: remove  !NEW_INSETS cruft
13091
13092         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13093
13094         * buffer.[Ch]: remove !NEW_INSETS cruft
13095
13096         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13097
13098         * CutAndPaste.C: remove !NEW_INSETS cruft
13099
13100         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13101
13102         * BufferView2.C: remove !NEW_INSETS cruft
13103
13104         * BufferView.h: remove !NEW_INSETS cruft
13105
13106 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13107
13108         * Lsstream.h: include LString.h before the sstream headers to
13109         fix problem with gcc 2.95.3 and lyxstring
13110
13111 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13112
13113         * lyx_main.C: add using directives when needed for C functions
13114         declared in std:: namespace.
13115
13116 2001-04-27  Juergen Vigna  <jug@sad.it>
13117
13118         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13119         (SetHeightOfRow): comment out the update call should not be needed!
13120
13121 2001-04-13  Juergen Vigna  <jug@sad.it>
13122
13123         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13124         (LyXTabular): tried to minimize operator= operations (and realized
13125         hopfully Lars wish).
13126
13127 2001-04-27  Juergen Vigna  <jug@sad.it>
13128
13129         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13130
13131 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13132
13133         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13134
13135         * buffer.C (readInset): hack to make listof algorithm work
13136
13137         * BufferView_pimpl.C: hack to make listof algorithm work
13138
13139 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13140
13141         * LyXAction.C: removed all !NEW_INSETS cruft
13142         (init): moved lfun_item in method
13143
13144         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13145
13146 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13147
13148         * BufferView2.C (theLockingInset): white space.
13149
13150 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13151
13152         * minibuffer.C: include <iostream>
13153
13154         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13155
13156         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13157
13158         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13159
13160         * text.[Ch] (TransposeChars): new method
13161
13162 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13163
13164         * call message directly through LyXView instead of through LyXFunc
13165         * BufferView2.C: adjust
13166         * BufferView_pimpl.C: adjust
13167         * FontLoader.C: adjust
13168         * buffer.C: adjust
13169         * bufferview_funcs.C: adjust
13170         * converter.C: adjust
13171         * figureForm.C: adjust
13172         * importer.C: adjust
13173         * lyx_cb.C: adjust
13174         * lyx_gui_misc.C: adjust
13175         * lyxfunc.C: adjust
13176         * lyxvc.C: adjust
13177         * text2.C: adjust
13178         + more files in subdirs
13179
13180         * lyxparagraph.h (size): move up int file
13181         (GetLayout): ditto
13182
13183         * adjust all uses of Assert to lyx::Assert.
13184
13185         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13186         lyxfunctional in namespace lyx
13187         * layout.C (hasLayout): ditto
13188         (GetLayout): ditto
13189         (GetLayout): ditto
13190         (delete_layout): ditto
13191         (NumberOfClass): ditto
13192         * converter.C (GetFormat): ditto
13193         (GetNumber): ditto
13194         (Add): ditto
13195         (Delete): ditto
13196         (SetViewer): ditto
13197         * bufferlist.C (getFileNames): ditto
13198         (emergencyWriteAll): ditto
13199         (exists): ditto
13200         (getBuffer): ditto
13201         * MenuBackend.C (hasSubmenu): ditto
13202         (hasMenu): ditto
13203         (getMenu): ditto
13204         * BufferView_pimpl.C (getInsetByCode): ditto
13205
13206 2001-04-18  Juergen Vigna  <jug@sad.it>
13207
13208         * vspace.C (asLatexString): fixed the 100% problem.
13209
13210 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13211
13212         * lyxfunc.C (Dispatch):
13213         * minibuffer.C:
13214         * minibuffer.h: add a few std:: qualifiers
13215
13216 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13217
13218         * minibuffer.[Ch]: reimplement so that commands is initiated and
13219         run from lyxfunc, simplified som handling, and made the completion
13220         and history code for complete. wip.
13221
13222         * lyxfunc.C (processKeySym): call message
13223         (miniDispatch): new temporary method
13224         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13225         (LFUN_MESSAGE): implement
13226         (LFUN_MESSAGE_PUSH): implement
13227         (LFUN_MESSAGE_POP): implement
13228         (initMiniBuffer): the initial/defualt minibuffer message.
13229
13230         * lyxfont.[Ch]: inline some more getters
13231
13232         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13233
13234         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13235
13236         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13237         (AutoSave): use LFUN_MESSAGE
13238         (Reconfigure): ditto
13239
13240         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13241
13242         * figureForm.C: use LFUN_MESSAGE
13243
13244         * converter.C (runLaTeX): use LFUN_MESSAGE
13245
13246         * bufferview_funcs.C: use LFUN_MESSAGE
13247         (Melt): ditto
13248         (changeDepth): ditto
13249
13250         * bufferparams.h: use boost::
13251
13252         * bufferlist.h: inherit privately from noncopyable
13253
13254         * bufferlist.C (loadLyXFile): remove some commented code.
13255
13256         * buffer.C (runChktex): use LFUN_MESSAGE
13257
13258         * ShareContainer.h: inherit privately from noncopyable
13259
13260         * ParagraphParameters.[hC] (depth): inline it.
13261
13262         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13263         methods.
13264         (message): new method
13265         (messagePush): ditto
13266         (messagePop): ditto
13267         (show): init minibuffer
13268         (showState): direct call
13269
13270         * LaTeX.[Ch]: inherit privately from noncopyable
13271         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13272         instead of WriteStatus.
13273
13274         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13275
13276         * BufferView_pimpl.C (buffer): don't init minibuffer
13277         (workAreaButtonPress): use LFUN_MESSAGE
13278         (workAreaButtonRelease): ditto
13279         (savePosition): ditto
13280         (restorePosition): ditto
13281         (MenuInsertLyXFile): ditto
13282         (workAreaExpose): don't init minibuffer
13283         (update): remove commented code, simplify
13284
13285         * BufferView2.C (openStuff): use LFUN_MESSAGE
13286         (toggleFloat): ditto
13287         (menuUndo): ditto
13288         (menuRedo): ditto
13289         (copyEnvironment): ditto
13290         (pasteEnvironment): ditto
13291         (copy): ditto
13292         (cut): ditto
13293         (paste): ditto
13294         (gotoInset): ditto
13295         (updateInset): remove some commented code
13296
13297         * lastfiles.h: inherit privately from noncopyable
13298         * layout.h: ditto
13299         * lyx_gui.h: ditto
13300         * lyx_main.h: ditto
13301         * lyxlex.h: ditto
13302         * lyxlex_pimpl.h: ditto
13303
13304         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13305         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13306         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13307
13308         * LyXAction.h: inherit privately from noncopyable, add methods
13309         func_begin, func_end, returning iterators to the func map.
13310
13311         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13312         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13313         (func_begin): new method
13314         (func_end): new method
13315
13316         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13317         and not)
13318         (copySelection): ditto
13319         (pasteSelection): ditto
13320
13321         * BufferView.C: whitespace change
13322         * BufferView.h: inherit privately from noncopyable
13323
13324 2001-04-16  Allan Rae  <rae@lyx.org>
13325
13326         * tabular-old.C (l_getline):
13327         * spellchecker.C (sc_check_word):
13328         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13329         an unrecognised preprocessor directive.  So ensure they're wrapped.
13330
13331 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13332
13333         * src/exporter.C (Export): Give an error message when path to file
13334         contains spaces.
13335
13336 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13337
13338         * LaTeX.C (deplog): Always check that foundfile exists.
13339
13340 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13341
13342         * lyx_main.h:
13343         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13344
13345 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13346
13347         * tabular.[Ch] (getLabelList): implement new method
13348
13349         * minibuffer.h: comment ouf setTiimer
13350
13351         * minibuffer.C (ExecutingCB): constify res
13352         (peek_event): constify s
13353         (Set): constify ntext
13354         (Init): constify nicename
13355
13356         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13357
13358         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13359         (savePosition): use two params to Minibuffer::Set
13360         (restorePosition): ditto
13361
13362 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13363
13364         * lyx_main.C: include language.h
13365
13366         * Makefile.am (lyx_main.o): add language.h
13367
13368 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13369
13370         * exporter.C:
13371         * paragraph.C:
13372         * screen.C:
13373         * tabular.C:
13374         * CutAndPaste.C: include gettext.h
13375
13376         * lyxfont.h: remove old hack with ON and OFF.
13377
13378         * lyxparagraph.h:
13379         * lyxfont.h: do not include language.h...
13380
13381         * BufferView2.C:
13382         * LaTeXFeatures.C:
13383         * Painter.C:
13384         * bufferview_funcs.C:
13385         * font.C:
13386         * lyxfont.C:
13387         * text.C:
13388         * text2.C:
13389         * trans_mgr.C:
13390         * paragraph.C: ... but do it here instead
13391
13392 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13393
13394         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13395
13396         * tabular.C: small reformat
13397
13398         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13399         NEW_INSETS version
13400         (GetChar): ditto
13401         (BreakParagraph): ditto
13402         (SetOnlyLayout): ditto
13403         (SetLayout): ditto
13404
13405         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13406         with one arg less.
13407
13408         * lastfiles.C: removed most using decl, add std:: where needed
13409
13410         * buffer.C: ws changes
13411
13412         * MenuBackend.C (class compare_format): put into anon namespace
13413         (expand): constify label, names, action, action2
13414         (expand):
13415
13416         * text.C (SingleWidth): constify font
13417         (IsBoundary): constify rtl2
13418         (GetVisibleRow): constify ww
13419
13420         * LaTeX.C (deplog): constify logfile
13421
13422         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13423         start_x, end_x
13424         (workAreaExpose): constify widthChange, heightChange
13425
13426         * lyxrow.C (par): moved
13427         (height): moved
13428         (next): moved
13429         * lyxrow.h: as inlines here
13430
13431         * lyxfont.h (shape): moved from lyxfont.C
13432         (emph): moved from lyxfont.C
13433
13434         * lyxfont.C (LyXFont): use initialization list for all
13435         constructors
13436         (shape): move to lyxfont.h as inline
13437         (emph): move to lyxfont.h as inline
13438
13439
13440 2001-04-04  Juergen Vigna  <jug@sad.it>
13441
13442         * vspace.C: had to include stdio.h for use of sscanf
13443
13444 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13445
13446         * BufferView.h:
13447         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13448         independent of xforms.
13449
13450 2001-04-02  Juergen Vigna  <jug@sad.it>
13451
13452         * spellchecker.C: fixed namespace placing!
13453
13454 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13455
13456         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13457         the LyXParagraph * is 0.
13458
13459 2001-03-29  Juergen Vigna  <jug@sad.it>
13460
13461         * vspace.C: added support for %, c%, p%, l%.
13462         (stringFromUnit): added helper function.
13463         (asLatexString): changed to give right results for the %-values.
13464
13465         * buffer.C: convert the widthp in a width%.
13466
13467 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13468
13469         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13470         figureForm.[Ch].
13471
13472         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13473         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13474
13475         * lyx_cb.[Ch]: see above.
13476
13477         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13478         form1.[Ch].
13479
13480         * form1.[Ch]:
13481         * lyx.[Ch]: replaced by figure_form.[Ch].
13482
13483         * lyx_gui.C:
13484         * lyx_gui_misc.C:
13485         * lyxfunc.C: changed headers associated with above changes.
13486
13487 2001-03-27  Juergen Vigna  <jug@sad.it>
13488
13489         * BufferView_pimpl.C: set the temporary cursor right!
13490
13491 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13492
13493         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13494
13495 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13496
13497         * LString.h: removed "using std::getline"!
13498
13499         * BufferView_pimpl.C (Dispatch): changes due to changes in
13500         InsetInclude::Params.
13501
13502         * buffer.C (tag_name): removed redundant break statements as they were
13503         producing lots of warnings with my compiler.
13504
13505 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13506
13507         * LString.h: add "using std::getline" when using the real <string>.
13508
13509 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13510
13511         * buffer.C: removed bitset usage.
13512         PAR_TAG moved to an anonymous name space.
13513         (tag_name): new funtion, also in the anonymous namespace.
13514         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13515         (makeDocBookFile): clean code. Completed transition from string arrays
13516         to string vectors.
13517         (SimpleDocBookOnePar): code clean.
13518
13519 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13520
13521         * tabular.C: add some comments.
13522
13523 2001-03-22  Juergen Vigna  <jug@sad.it>
13524
13525         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13526         compatibility read a bit and fixed bug with minipage in different
13527         depth.
13528
13529 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13530
13531         * buffer.C (pop_tag): removed.
13532         (push_tag): removed.
13533         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13534         array replaced with vector. Added support for CDATA sections.
13535         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13536         at any nest level.
13537         (makeDocBookFile): XML conformant declaration of CDATA section,
13538         fixed bug related to <emphasis> in the first paragraph char.
13539         (sgmlOpenTag): exclude empty tags.
13540         (sgmlCloseTag): ditto.
13541
13542         * buffer.h (pop_tag): removed.
13543         (push_tag): removed.
13544
13545 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13546
13547         * language.h (Languages): added size_type and size().
13548
13549 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13550
13551         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13552         response on compability reading of minipages. One probliem is that
13553         the old usage of minipages was «flertydig»
13554
13555         * several files here and in subdirs: don't use static at file
13556         scope use anon namespaces instead.
13557
13558 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13559
13560         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13561         LaTeX output. This is necessary for Literate document
13562         processing.
13563
13564 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13565
13566         * buffer.C: insert hfill when needed.
13567
13568         * tabular.C (l_getline): use string::erase, small whitespace change.
13569
13570         * BufferView_pimpl.C: try the anon namespace.
13571         * WorkArea.C: ditto
13572
13573 2001-03-16  Juergen Vigna  <jug@sad.it>
13574
13575         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13576         otherwise it won't open options-dialogs.
13577
13578         * buffer.C: honor pextraWidth(p) on converting minipages.
13579
13580         * tabular.C (l_getline): changed the functions to strip trailing \r.
13581
13582 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13583
13584         * BufferView_pimpl.C:
13585         * minibuffer..C: added "using SigC::slot" declaration.
13586
13587 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13588
13589         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13590
13591         * text2.C: ditto
13592
13593         * text.C: ditto
13594
13595         * paragraph.C: ditto
13596
13597         * lyxtext.h: NO_PEXTRA
13598
13599         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13600
13601         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13602         * ParameterStruct.h: ditto
13603         * ParagraphParameters.h: ditto
13604         * lyxparagraph.h: ditto
13605
13606 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13607
13608         * buffer.C: add compability for minipage alignment.
13609         (latexParagraphs): remove unwanted pextra check.
13610
13611         * several files: remove CXX_WORKING_NAMESPACES
13612
13613         * buffer.C (pop_tag): tie is in namespace boost
13614
13615         * BufferView.h: noncopyable is in namespace boost
13616         * lyxlex.h: ditto
13617         * lyx_main.h: ditto
13618         * lyx_gui.h: ditto
13619         * layout.h: ditto
13620         * lastfiles.h: ditto
13621         * bufferlist.h: ditto
13622         * ShareContainer.h: ditto
13623         * LyXView.h: ditto
13624         * LyXAction.h: ditto
13625         * LaTeX.h: ditto
13626
13627 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13628
13629         * Merging changes from BRANCH_MVC back into HEAD.
13630
13631         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13632
13633 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13634
13635         * BufferView_pimpl.C: change from intl.C
13636
13637         * combox.h:
13638         * combox.C:
13639         * Makefile.am: move combox.*
13640
13641         * form1.h:
13642         * form1.C:
13643         * lyx_gui.C:
13644         * intl.h:
13645         * intl.C: remove dialog (covered by prefs)
13646
13647 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13648
13649         * lyxfunc.C (Dispatch): removed redundant break statement.
13650
13651 2001-03-14  Juergen Vigna  <jug@sad.it>
13652
13653         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13654
13655 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13656
13657         * buffer.C: add hack to fix compability reading of minipages.
13658
13659 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13660
13661         * buffer.C (getLists): Cleanup.
13662
13663 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13664
13665         * lyxfont.C (update): don't honor toggleall on font size.
13666
13667 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13668
13669         * bmtable.c:
13670         * bmtable.h:
13671         * Makefile.am: moved to frontends/xforms/
13672
13673         * lyx_gui_misc.C:
13674         * lyxfunc.C:
13675         * BufferView_pimpl.C: changes for moved mathpanel
13676
13677 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13678
13679         * gettext.h: fix gettext_init() in --disable-nls
13680
13681 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13682
13683         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13684
13685 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13686
13687         * lyx.C:
13688         * lyx.h: strip external form
13689
13690 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13691
13692         * BufferView_pimpl.C: add comment, destroySplash()
13693
13694 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13695
13696         * BufferView_pimpl.C:
13697         * LyXAction.C:
13698         * buffer.C:
13699         * commandtags.h:
13700         * lyxfunc.C: use re-worked insetinclude
13701
13702 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13703
13704         * buffer.C: add using std::stringstream.
13705
13706         * lyx_cb.C: readd using std::ios.
13707
13708         * buffer.C: add using std::map.
13709
13710         * BufferView_pimpl.C: add using std::vector.
13711
13712         * ShareContainer.h: add std:: to swap.
13713
13714         * buffer.h: add some typedefs
13715         * buffer.C (getLists): use them
13716         (getLists): renamed from getTocList.
13717         add a counter for the different float types and use it in the
13718         generated string.
13719         (getLists): use the same counter for the NEW_INSETS and the "non"
13720         NEW_INSETS
13721
13722         * lyx_cb.h: remove unused items, includes, using etc.
13723
13724         * ShareContainer.h: remove some commented code, add more comments
13725         and "documentation".
13726
13727 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13728
13729         * buffer.C (getTocList): make the list also when NEW_INSETS is
13730         defined.
13731
13732         * buffer.h: remove TocType
13733
13734         * buffer.C (getTocList): change to return a map<string,
13735         vector<TocItem> >, implement for dynamic number of list.
13736
13737         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13738         * text2.C (PasteSelection): adjust
13739         * CutAndPaste.C (pasteSelection): adjust
13740
13741         * FloatList.C (FloatList): update from the new_insets branch.
13742         * Floating.[Ch]: ditto
13743         * LaTeXFeatures.C: ditto
13744         * buffer.C: ditto
13745         * lyxlex_pimpl.C: ditto
13746
13747         * paragraph.C (Last): remove when NEW_INSETS is defined.
13748
13749         * other file: changes because of the above.
13750
13751 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13752
13753         * lyxparagraph.h: rename next to next_, previous to previous_,
13754         make them private for NEW_INSETS. Rename Next() to next(),
13755         Previous() to previous().
13756
13757         * other files: changes because of the above.
13758
13759 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13760
13761         * BufferView.h:
13762         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13763         problem.
13764
13765 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13766
13767         * main.C (main): pass lyx_localedir to gettext_init().
13768
13769         * gettext.h: remove locale_init and gettext_init macros
13770
13771         * gettext.C (locale_init): new function
13772         (gettext_init): new function
13773
13774         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13775         setlocale().
13776
13777 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13778
13779         * Moved credits to frontends:
13780         * credits.[Ch]: removed
13781         * credits_form.[Ch]: removed
13782         * lyx_gui_misc.C: remove credits stuff
13783         * Makefile.am:
13784
13785 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13786
13787         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13788
13789         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13790         unneeded destructor.
13791
13792         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13793         a standalone pointer again.
13794
13795         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13796
13797 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13798
13799         * Makefile.am:
13800         * filedlg.h:
13801         * filedlg.C:
13802         * LyXAction.C:
13803         * ToolbarDefaults.C:
13804         * bufferlist.C:
13805         * commandtags.h:
13806         * form1.C:
13807         * form1.h:
13808         * lyx_cb.C:
13809         * lyx_cb.h:
13810         * lyxfunc.h:
13811         * lyxfunc.C:
13812         * BufferView_pimpl.C: use new file dialog in GUII
13813
13814         * lyx_cb.h:
13815         * lyx_cb.C: remove LayoutsCB to Toolbar
13816
13817 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13818
13819         * ShareContainer.h (get): add std:: qualifier
13820
13821 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13822
13823         * ShareContainer.h: define a proper ShareContainer::value_type
13824         type (and use typename to please compaq cxx)
13825
13826 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13827
13828         * lyxparagraph.h: move serveral local vars to
13829         ParameterStruct/ParagraphParameters., use ShareContainer in
13830         FontTable., make vars in FontTable private and add getter and
13831         setter.
13832
13833         * paragraph.C: changes because of the above.
13834
13835         * lyxfont.h: remove copy constructor and copy assignment. (the
13836         default ones is ok), move number inside FontBits. move inlines to
13837         lyxfont.C
13838
13839         * lyxfont.C: add number to initializaton of statics, move several
13840         inlines here. constify several local vars. some whitespace
13841         cleanup. Dont hide outerscope variables.
13842
13843         * Spacing.h: add two new constructors to match the set methods.
13844
13845         * ShareContainer.h: new file, will perhaps be moved to support
13846
13847         * ParameterStruct.h: new file
13848
13849         * ParagraphParameters.h: new file
13850
13851         * ParagraphParameters.C: new file
13852
13853         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13854         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13855
13856         * BufferView_pimpl.C: ParagraphParameter changes.
13857         * buffer.C: Likewise.
13858         * bufferview_funcs.C: Likewise.
13859         * text.C: Likewise.
13860         * text2.C: Likewise.
13861
13862 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13863
13864         * lyxfind.C (LyXReplace): do not redefine default argument in
13865         implementation.
13866         (IsStringInText): ditto
13867         (SearchForward): ditto
13868         (SearchBackward): ditto
13869
13870 2001-03-06  Juergen Vigna  <jug@sad.it>
13871
13872         * lyxfind.C (IsStringInText): put parentes around expressions.
13873
13874 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13875
13876         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13877
13878 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13879
13880         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13881
13882         * stl_string_fwd.h: add comment
13883
13884         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13885
13886         * tabular.h:
13887         * tabular.C: remove unused DocBook methods
13888
13889         * intl.C:
13890         * language.C:
13891         * paragraph.C:
13892         * buffer.C:
13893         killed DO_USE_DEFAULT_LANGUAGE
13894
13895 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13896
13897         * lyx_gui.C: do not include language.h.
13898
13899         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13900         arguments in function implementation.
13901
13902 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13903
13904         * BufferView_pimpl.C: add <ctime>
13905
13906 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13907
13908         * BufferView_pimpl.C: add using std::find_if
13909
13910 2001-02-27  José Matos  <jamatos@fep.up.pt>
13911
13912         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13913         by OnlyPath.
13914
13915 2001-02-11  José Matos  <jamatos@fep.up.pt>
13916
13917         * buffer.C (makeDocBookFile): command styles now have a parameter as
13918         "title" by default.
13919
13920 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13921
13922         * layout_forms.[Ch]: removed
13923         * lyx_cb.[Ch]: out character
13924         * lyx_gui.C: out character
13925         * lyx_gui_misc.C: out character
13926         * bufferview_funcs.C: : out character,
13927         added toggleall as parameter in ToggleAndShow
13928
13929 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13930
13931         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13932
13933         * text2.C (SetCurrentFont): Disable number property at boundary.
13934
13935 2001-02-26  Juergen Vigna  <jug@sad.it>
13936
13937         * lyxfunc.C (getStatus): added a string argument override function so
13938         that this is correctly called from LyXFunc::Dispatch if it contains a
13939         do_not_use_argument which is used!
13940         (Dispatch): added check for "custom" export and call appropriate func.
13941
13942 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13943
13944         * lyxrc.C: Add language_command_local, language_use_babel and
13945         language_global_options.
13946
13947         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13948
13949         * buffer.C (makeLaTeXFile): Use language_use_babel and
13950         language_global_options.
13951
13952 2001-02-23  Juergen Vigna  <jug@sad.it>
13953
13954         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13955         which works with LyXText and putted it inside BufferView. Here now we
13956         only call for that part the BufferView::Dispatch() function.
13957
13958         * BufferView.C (Dispatch): added.
13959
13960         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13961         functions which needs to use a LyXText over from LyXFunc.
13962         (MenuInsertLyXFile): added
13963         (getInsetByCode): added
13964         (moveCursorUpdate): added
13965         (static TEXT): added
13966
13967 2001-02-22  Juergen Vigna  <jug@sad.it>
13968
13969         * BufferView_pimpl.C (update): call a status update to see if LyXText
13970         needs it.
13971
13972 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13973
13974         * vc-backend.C (revert): implement for CVS
13975         (getLog): implement for CVS
13976
13977 2001-02-20  Juergen Vigna  <jug@sad.it>
13978
13979         * text2.C (ClearSelection): added BufferView param for inset_owner call
13980
13981         * lyxfunc.C (TEXT): added this function and use it instead of
13982         directly owner->view()-text of getLyXText().
13983
13984 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13985
13986         * src/layout_forms.C: out preamble
13987         * src/layout_forms.h: out preamble
13988         * src/lyx_cb.C: out preamble
13989         * src/lyx_cb.h: out preamble
13990         * src/lyx_gui.C: out preamble
13991         * src/lyx_gui_misc.C: out preamble
13992         * src/lyxfunc.C: connect with guii preamble
13993
13994 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13995
13996         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13997
13998 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13999
14000         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14001         whether to run bibtex.
14002
14003 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14004
14005         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14006
14007 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14008
14009         * Makefile.am (lyx_SOURCES): removed bibforms.h
14010
14011         * vspace.h: doxygen
14012
14013         * text.C (GetVisibleRow): make several local vars const
14014
14015         * tabular.C: small cleanup.
14016
14017         * lyxserver.C (callback): use compare instead of strncmp
14018
14019         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14020         inlines to after class or to paragraph.C
14021
14022         * lyxfont.h: remove friend operator!=
14023
14024         * converter.h: move friend bool operator< to non friend and after
14025         class def.
14026
14027         * combox.h: small cleanup
14028
14029         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14030         to inlines after class def.
14031
14032         * buffer.C (pop_tag): use string operations instead of strcmp
14033
14034         * bmtable.c: doxygen, small cleanup
14035
14036         * LaTeX.h: remove friend operator==
14037
14038 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14039
14040         * screen.C:
14041         * lyxrc.[Ch]:
14042         * lyxfunc.C:
14043         * lyxfont.[Ch]:
14044         * lyx_cb.C:
14045         * intl.[Ch]:
14046         * commandtags.h:
14047         * buffer.C:
14048         * WorkArea.[Ch]:
14049         * LyXAction.C:
14050         * BufferView_pimpl.C:
14051         * BufferView.[Ch]: remove cruft
14052
14053 2001-02-14  Juergen Vigna  <jug@sad.it>
14054
14055         * lyxfunc.C: removed #if 0 unused code
14056
14057         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14058
14059         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14060
14061         * text2.C (SetSelection): added a BufferView * parameter
14062
14063 2001-02-13  Juergen Vigna  <jug@sad.it>
14064
14065         * lyxfunc.C (Dispatch): fixed protected blank problem.
14066         * BufferView2.C (protectedBlank): added LyxText * parameter.
14067
14068         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14069         (AppendColumn): same as above for column_info.
14070
14071         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14072         (moveCursorUpdate): use a LyXText param for support of InsetText.
14073
14074         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14075         (tripleClick): ditto
14076
14077         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14078
14079         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14080
14081         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14082
14083         * text2.C (SetSelection): set correct update status if inset_owner
14084         (ToggleFree): ditto
14085
14086 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14087
14088         * tabular.C: remove some commented code.
14089
14090 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14091
14092         * BufferView_pimpl.C: call hideSplash()
14093
14094         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14095
14096         * include_form.h:
14097         * bibforms.h: remove
14098
14099         * lyxfunc.C:
14100         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14101           add LFUN_CHILD_CREATE
14102
14103         * counters.h: fix tiny typo
14104
14105         * lyx_cb.C:
14106         * lyx.h:
14107         * lyx_gui.C:
14108         * lyx.C: move splash to frontends/xforms/
14109
14110         * lyx_gui_misc.C: move Include and Bibform to frontends
14111
14112         * lyxvc.h: clarify comment
14113
14114         * vspace.C: tiny housekeeping
14115
14116 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14117
14118         * text.C (PrepareToPrint): RTL Fix.
14119
14120         * paragraph.C (GetUChar): New method.
14121         (String):  Use GetUChar.
14122
14123         * buffer.C (asciiParagraph): Use GetUChar.
14124
14125 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14126
14127         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14128
14129 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14130
14131         * buffer.h:
14132         * buffer.C: rename to getLogName(), handle
14133           build log / latex log nicely
14134
14135 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14136
14137         * MenuBackend.C:
14138         * MenuBackend.h: remove support for reference menuitem type.
14139
14140 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14141
14142         * BufferView_pimpl.C: housekeeping
14143         * BufferView_pimpl.h:
14144         * LyXView.h:
14145         * Makefile.am:
14146         * Timeout.C:
14147         * Timeout.h:
14148         * minibuffer.h: move Timeout GUI-I
14149
14150 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14151
14152         * lyxrc.C (read): Update converters data-structures.
14153
14154 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14155
14156         * LaTeX.h (operator!=): add operator != for Aux_Info
14157
14158 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14159
14160         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14161
14162         * LaTeXLog.C: deleted, useful code moved to Buffer
14163
14164         * buffer.h:
14165         * buffer.C: new function getLatexLogName()
14166
14167         * lyx_gui_misc.C:
14168         * lyx_gui.C:
14169         * lyxvc.C:
14170         * lyxvc.h:
14171         * lyxfunc.C: use frontends for LaTeX and VC logs
14172
14173 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14174
14175         * LaTeX.h: yet another std:: that Allan forgot.
14176
14177         * Variables.C (set): renamed from isset(), because this clashes
14178         with some HP-UX macros (grr).
14179
14180 2001-02-06  Allan Rae  <rae@lyx.org>
14181
14182         * LaTeX.h: Another bug fix.  Missing std:: this time.
14183
14184 2001-02-04  Allan Rae  <rae@lyx.org>
14185
14186         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14187         floats problem. I've left it commented out because it's not quite
14188         correct.  It should also test that the current object is a table or
14189         figure inset.  But I haven't gotten around to figuring out how to do
14190         that.  I *think* it'll be something like: "table" == inset.type()
14191
14192         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14193         bool.
14194
14195 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14196
14197         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14198         all the citation/databases/styles in the auxilary file.
14199         (run): Rerun latex if there was a babel language error.
14200
14201 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14202
14203         * text.C (Backspace): Preserve the font when changing newline char
14204         with a space.
14205         (BreakParagraph): If the cursor is before a space, delete the space.
14206
14207         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14208
14209 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14210
14211         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14212         new argument (code).
14213         (ChangeCitationsIfUnique): New method.
14214
14215         * paragraph.C (GetPositionOfInset): Handle bibkey.
14216
14217 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14218
14219         * BufferView_pimpl.h: change type of Position::par_pos to
14220         LyXParagraph::size_type.
14221
14222 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14223
14224         * BufferView_pimpl.C (savePosition, restorePosition): Write
14225         messages to minibuffer.
14226
14227 2001-01-28  José Matos  <jamatos@fep.up.pt>
14228
14229         * buffer.C (makeDocBookFile): adds support for document language.
14230         A silly restriction on the name of LatexCommand types where removed.
14231         Added support for CDATA sections, allows to chars unescaped, used
14232         among others in code, to avoid escape < and >.
14233
14234 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14235
14236         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14237         saved positions instrad of a stack. Furthermore, a position is
14238         stored using paragraph id/paragraph position.
14239
14240         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14241         Remove LFUN_REF_BACK.
14242
14243 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14244
14245         * converter.C (dvipdfm_options): New method.
14246
14247 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14248
14249         * vspace.C (isValidLength): Fix for empty input string.
14250
14251 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14252
14253         * LyXAction.C (init): change description of LFUN_FIGURE to
14254         "Insert Graphics"
14255
14256 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14257
14258         * LaTeX.C: add using directive
14259
14260 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14261
14262         * MenuBackend.C (expand): Fix the sorting of the formats.
14263
14264 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14265
14266         * lyx_main.C: tiny error message fix
14267
14268 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14269
14270         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14271         calling fl_initialize(). This fixes the problem with ',' as
14272         decimal separator in text files.
14273
14274 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14275
14276         * trans.C (process): Fix the keymap bug.
14277
14278 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14279
14280         * LaTeX.C (scanAuxFiles): New method. Provides support for
14281         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14282         (scanLogFile) Scan for "run BibTeX" messages.
14283
14284         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14285         OT1 font encoding. Also, load the aecompl package if the ae
14286         package is loaded.
14287
14288         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14289
14290 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14291
14292         * texrow.C (increasePos): turn two error messages into debug
14293         messages.
14294
14295 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14296
14297         * LaTeX.C (scanAux): Handle the \@input macro.
14298         (runBibTeX): Use scanAux().
14299
14300         * language.C (latex_options_): New field.
14301
14302         * LaTeXFeatures.C (getMacros): Add language macros.
14303
14304         * buffer.C (makeLaTeXFile): Small fix.
14305
14306 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14307
14308         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14309
14310         * text2.C: add a using directive.
14311
14312 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14313
14314         * BufferView2.C:
14315         * lyx_gui_misc.h:
14316         * lyxfr1.C:
14317         * lyxfunc.C: kill LyXBell.
14318
14319 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14320
14321         * text.C (IsBoundary): Remove the error message
14322
14323         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14324
14325         * lyxrc.C (setDefaults): Correct initialization value for
14326         font_norm_type.
14327
14328 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14329
14330         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14331         gotoError().
14332
14333         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14334         and GotoNextNote().
14335
14336         * src/LyXAction.C: Added reference-next.
14337
14338         * text.C (InsertChar): Use contains instead of strchr.
14339
14340         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14341
14342 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14343
14344         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14345         alignment commands (when needed).
14346
14347         * text.C (InsertChar): Add ':' to number separator chars.