]> git.lyx.org Git - features.git/blob - src/ChangeLog
* lyxlex_pimpl.[Ch]: don't use '__' in identifiers
[features.git] / src / ChangeLog
1
2 2003-12-02  André Pönitz  <poenitz@gmx.net>
3
4         * lyxlex.[Ch]: make interface more similar to std::stream
5
6         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
7
8 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
9
10         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
11
12 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
13
14         * vspace.[Ch]: remove VSpace::NONE
15
16 2003-12-01  André Pönitz  <poenitz@gmx.net>
17
18         * buffer.[Ch]:
19         * lyxtext.h: move ParagraphList member to LyXText
20         rename LyXText::ownerParagraphs to LyXText::paragraph
21
22         * CutAndPaste.C:
23         * bufferview_funcs.C:
24         * iterators.[Ch]:
25         * lyx_cb.C:
26         * paragraph.C:
27         * rowpainter.C:
28         * tabular.C:
29         * text.C:
30         * text2.C:
31         * text3.C: adjust
32
33         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
34
35         * undo.C: fix cursor positioning 
36
37 2003-12-01  John Levon  <levon@movementarian.org>
38
39         * BufferView_pimpl.C: fix a crash on exit with
40         a buffer open
41
42 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
43
44         * BranchList.C: fix setSelected() method.
45
46 2003-11-28  André Pönitz  <poenitz@gmx.net>
47
48         * ParagraphParameters.[Ch]:
49         * ParameterStruct.h: remove space above/below from Paragraph to
50          InsetVSpace
51
52         * BufferView_pimpl.C:
53         * factory.C:
54         * lyxfunc.C:
55         * lyxtext.h:
56         * output_latex.C:
57         * paragraph.C:
58         * paragraph_funcs.C:
59         * rowpainter.[Ch]:
60         * text.C:
61         * text2.C:
62         * text3.C: adjust
63
64 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
65
66         * factory.C: Syntax change for CharStyles
67
68 2003-11-28  André Pönitz  <poenitz@gmx.net>
69
70         * BufferView.[Ch]:
71         * BufferView.[Ch]:
72         * buffer.[Ch]:
73         * buffer.[Ch]: move LyXText member
74
75 2003-11-28  André Pönitz  <poenitz@gmx.net>
76
77         * BufferView.[Ch]: make LyXText * text a private member
78
79         * BufferView_pimpl.C:
80         * cursor.C:
81         * iterators.C:
82         * lyx_cb.C:
83         * lyxfind.C:
84         * lyxtext.h:
85         * rowpainter.[Ch]:
86         * text.C:
87         * text2.C:
88         * undo.C: adjust
89
90         * output_plaintext.C: cleanup
91
92 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
93
94         * buffer.C: 
95         * lyxtextclass.[Ch]: parametrize SGML document header
96
97 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
98
99         * converter.[Ch]:
100         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
101         getFlavor().
102
103 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
104
105         * text2.C (setFont): rework using PosIterator (no more recursive)
106         (setCharFont): no more needed 
107         (setLayout): no more selection cursors fiddling (done by redoCursor)
108         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
109         destroy remaining ones)
110
111 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
112
113         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
114         * lyxtext.h: ditto
115         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
116         selection cursors
117         * lyxfunc.C: adjust
118         * text3.C: adjust + re-allow multi par depth changes
119         * textcursor.C: simplify a bit
120
121 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
122
123         * src/buffer.C:
124         * src/lyxlayout.C:
125         * src/lyxlayout.h:
126         * src/lyxtext.h:
127         * src/output_docbook.C:
128         * src/output_latex.C:
129         * src/paragraph.C:
130         * src/paragraph.h:
131         * src/sgml.C:
132         * src/sgml.h:
133         * src/text2.C: Introducing a number of tags parametrizing various
134         XML formats that we may want to support
135
136 2003-11-25  André Pönitz  <poenitz@gmx.net>
137
138         * InsetList.[Ch] (begein, end): inline as suggested by profiler
139
140         * lyxtext.h (leftMargin/rightMargin): simplify interface
141
142         * rowpainter.C:
143         * text.C:
144         * text2.C:
145         * text3.C: adjust
146
147 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
148
149         * lyxfunc.C (dispatch): propogate the bibtex databases from the
150         master file to any child files. Fixes bug 546.
151
152 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
153
154         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
155
156 2003-11-24  André Pönitz  <poenitz@gmx.net>
157
158         * rowpainter.C: simplification
159
160         * text2.C (updateCounters): remove call to redoParagraph on 
161         changed labels as this is far too expensive.
162
163 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
164
165         * converter.C (convert): fix a crash: this function gets
166         called with buffer == 0 from importer code.
167
168 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
169
170         * text3.C (cursorPrevious): make sure that we do not compare
171         iterators form different containers.
172         (cursorNext): ditto
173
174         * rowpainter.C (paintSelection): make sure that we do not compare
175         iterators from different containers.
176
177         * text3.C (dispatch): [PRIOR] make sure that we do not compare
178         iterators from different ParagraphList containers.
179         [NEXT] ditto
180
181         * text2.C (LyXText): change order of initialization slightly
182         (operator=): new function. copy all variables except cache_par_
183         (moveUp): make sure that we do not compare iterators from
184         different ParagraphList constainers.
185         (moveDown): ditto
186
187         * text.C (firstPar): new function
188         (lastPar): new function
189         (endPar): new function
190
191         * lyxtext.h: move things around and group public functions, public
192         variables, private functions, private variables
193
194 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
195
196         * factory.C: change call to InsetERT constructor to avoid
197         additional invocation of method status
198         * text2.C (toggleInset): remove redundant update() call
199         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
200         instead of a Bufferview pointer
201
202 2003-11-21  André Pönitz  <poenitz@gmx.net>
203
204         * rowpainter.C: simplification
205
206 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
207
208         * text3.C (dispatch): make possible to extend a word/row selection
209         with the mouse
210
211 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
212
213         * lyxtext.h: x0_,y0_ -> xo_,yo_
214         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
215         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
216         * rowpainter.C (paintRows): paint full paragraphs
217
218 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
219
220         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
221         screen coordinates)
222
223 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
224
225         * lyxtext.h: add x0_, y0_
226         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
227         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
228
229 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
230
231         * text2.C (setCursorIntern): move the x_target update here *
232         * text3.C: change some bv() to true/false in calls to
233         cursorUp/Down/Right/Left
234         * cursor.C: use helper function.
235
236 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
237
238         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
239         * paragraph_funcs.[Ch]: correct comment
240         * rowpainter.C: do not paint selections away from bv->cursor()
241         Fix a long standing selection painting bug.
242         * text3.C: generalize mouse-selection code to LyXTexts other that
243         top one
244         * textcursor.C: do not use y coords if we can use par offsets
245
246 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
247
248         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
249         cursor position after e.g. inset insert)
250
251 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
252
253         * lyxfind.C (replace): adjust to locking removal + some
254         code simplification
255
256 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
257
258         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
259         of the path
260
261 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
262
263         * lyxlayout.[Ch]:
264         * output_docbook.C: XML sanitation: new layout
265         parameters InnerTag and CommandDepth
266
267 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
268
269         * BufferView_pimpl.C:
270         * factory.C:
271         * text3.C: Fix the insertion and modification of button-style
272         insets
273
274 2003-11-13  André Pönitz  <poenitz@gmx.net>
275
276         * InsetList.[Ch]: remove deleteLyXText
277
278         * paragraph.[Ch]: cache beginOfBody position
279
280         * Bidi.C:
281         * text.C:
282         * text2.C:
283         * text3.C: remove superfluous update() calls
284
285         * vspace.C: cleanup
286
287 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
288
289         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
290         * BufferView.C (fitLockedInsetCursor): remove
291         * cursor.[Ch] (getDim): add
292         * text.C (getRowNearY): add faster version
293         * text3.C: remove some update calls
294
295 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
296
297         * LaTeXFeatures.C:
298         * LyXAction.C:
299         * MenuBackend.C:
300         * MenuBackend.h:
301         * dispatchresult.h:
302         * factory.C:
303         * lfuns.h:
304         * lyxfunc.C:
305         * lyxtextclass.C:
306         * lyxtextclass.h:
307         * text3.C: The Character Style /XML short element patch.
308
309 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
310
311         * text3.C:
312         * factory.C: Small step to solving 'unable to insert some insets'
313         problem
314
315 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
316
317         * cursor.[Ch] (updatePos): new function for updating the y
318         position of the tip inset
319         * bufferview_funcs.C (put_selection_at):
320         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
321
322 2003-11-11  André Pönitz  <poenitz@gmx.net>
323
324         * text.C: remove big comment on invalid Paragraph pointers as it is
325         not valid anymore
326
327 2003-11-11  André Pönitz  <poenitz@gmx.net>
328
329         * text_funcs.[Ch]: merge with ...
330
331         * text.C: ... this
332
333         * lyxtext.h:
334         * text2.C:
335         * text3.C: adjust
336
337         * Makefile.am: remove text_funcs.[Ch]
338
339 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
340
341         * cursor.C (getPos): return absolute cached y coord
342
343         * BufferView_pimpl.C (fitCursor): new simplistic code
344         (workAreaDispatch): add a fitCursor call
345
346 2003-11-10  André Pönitz  <poenitz@gmx.net>
347
348         * BufferView.[Ch]:
349         * BufferView_pimpl.[Ch]: merge update() and updateInset()
350
351 2003-11-10  André Pönitz  <poenitz@gmx.net>
352
353         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
354         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
355         indicate that the cursor needs to leave an inset
356
357         * lyxtext.h: remove inset locking
358
359         * cursor.[Ch]: re-implement functionality provided by inset locking
360
361         * BufferView.[Ch]:
362         * BufferView_pimpl.[Ch]:
363         * LyXAction.C:
364         * bufferview_funcs.[Ch]:
365         * factory.C:
366         * funcrequest.[Ch]:
367         * iterators.C:
368         * lyx_cb.C:
369         * lyxfind.C:
370         * lyxfunc.C:
371         * text.C:
372         * text2.C:
373         * text3.C:
374         * undo.C: adjust
375
376 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
377
378         * PosIterator.[Ch]: replace the stack with a vector, add inset
379         accesor
380         * iterators.[C]: adjust
381
382 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
383
384         * lyxfind.C (replaceAll): mark the buffer dirty if something was
385         replaced
386         * paragraph_funcs.C (readParToken): put the correct id in the
387         error item, not the id of the top paragraph
388
389 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
390
391         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
392         * bufferview_funcs.C (put_selection_at): use the above
393
394 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
395
396         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
397
398 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
399
400         * output_linuxdoc.h:
401         * output_plaintext.h:
402         * output.h:
403         * output_docbook.h: add #include statements
404
405 2003-11-05  José Matos  <jamatos@lyx.org>
406
407         * output_docbook.[Ch]:
408         * output_latex.[Ch]:
409         * output_linuxdoc.[Ch]:
410         * output_plaintext.[Ch]: New files for output formats.
411         * output.[Ch]: New file for helper functions.
412
413         * buffer.[Ch]:
414         * paragraph_funcs.[Ch]: output functions moved to new files.
415
416         * outputparams.h: rename of latexrunparams.h
417
418         * LaTeX.[Ch]:
419         * buffer.[Ch]:
420         * bufferlist.[Ch]:
421         * converter.[Ch]:
422         * exporter.C:
423         * paragraph.[Ch]:
424         * paragraph_funcs.[Ch]:
425         * paragraph_pimpl.[Ch]:
426         * tabular.[Ch]: rename ascii to plaintext
427         and LatexRunParams to OutputParams.
428
429 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
430
431         * iterators.[Ch] (text): require bv argument
432         * undo.C (recordUndo):
433         * lyxfunc.C (dispatch):
434         * bufferview_funcs.C (put_selection_at): adjust
435
436 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
437
438         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
439
440 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
441
442         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
443         nestings
444
445 2003-11-04  André Pönitz  <poenitz@gmx.net>
446
447         * cursor.[Ch]: restructure
448
449         * BufferView.[Ch]:
450         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
451
452         * iterators.[Ch] (asCursor): remove
453
454         * lfuns.h: remove LFUN_INSET_EDIT
455
456         * lyxfunc.C:
457         * tabular.C:
458         * text.C:
459         * text2.C:
460         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
461
462 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
463
464         * lyxfind.[Ch]: complete overhaul
465         * BufferView_pimpl.C:
466         * lyxfunc.C: adjust
467         * paragraph.[Ch] (insert): add
468
469 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
470
471         * BufferView.[Ch]:
472         * lyxtext.h:
473         * text.C: remove dead spellcheck code
474
475 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
476
477         * dispatchresult.h: add a val setter
478
479         * cursor.C (dispatch): use a tempvar for data_[i]
480
481 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
482
483         * PosIterator.[Ch]: compile fix
484
485 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
486
487         * text.C (cursorPar): deactivate the cursor cache
488
489 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
490
491         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
492
493 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
494
495         * text3.C (dispatch): adjust for new DisptchResult semantics.
496
497         * lyxfunc.C (dispatch): handle update when return from
498         Cursor::dispatch, adjust for new DispatchResult semantics.
499
500         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
501         DispatchResult(true) mean to not update. Add class functions for
502         setting dispatched and update, as well as reading.
503
504         * cursor.C (dispatch): don't handle update here
505
506 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
507
508         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
509         * trans_mgr.C: adjust
510
511         * paragraph_funcs.C (readParToken): exception safety
512
513         * lyxvc.h: store the vcs pointer in a scoped_ptr
514         * lyxvc.C: adjust
515
516         * lyxsocket.C (serverCallback): exception safety
517
518         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
519
520         * ispell.C (clone): make it return a auto_ptr
521
522         * factory.C (createInset): exception safety
523         (readInset): exception safety
524
525         * bufferlist.C (newBuffer): exception safety
526
527         * Thesaurus.C (Thesaurus): use initialization for aik_
528
529         * MenuBackend.C (expandToc): exception safety.
530
531 2003-11-03  André Pönitz  <poenitz@gmx.net>
532
533         * buffer.C:
534         * buffer.h:
535         * bufferview_funcs.C: remove getInsetFromId()
536
537         * lyxcursor.[Ch]:
538         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
539
540         * lyxfunc.C:
541         * text2.C:
542         * text3.C: adjust
543
544 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
545
546         * PosIterator.C (distance, advance): new
547         * bufferview_funcs.[Ch] (put_selection_at): new
548         * iterators.[Ch] (lockPath): new
549
550 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
551
552         * iterators.[Ch] (asPosIterator): added
553         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
554         * PosIterator.[Ch]: added
555
556 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
557
558         * text3.C:
559         * lyxfunc.C:
560         * cursor.C (dispatch):
561         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
562
563         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
564         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
565         contructor, add a class function dispatched. Remove operator>=
566
567 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
568
569         * debug.C: only use the default constructor for debugstream
570         (lyxerr) here.
571
572         * main.C (main): include debug.h and setup the lyxerr streambuf
573         here.
574
575 2003-10-31  José Matos  <jamatos@lyx.org>
576
577         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
578
579         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
580         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
581         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
582         * paragraph_pimpl.C (simpleTeXSpecialC):
583         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
584         add LatexRunParams argument.
585
586         * exporter.C (Export): change call accordingly.
587
588         * latexrunparams.h: add new member to take care of the other backends.
589 2003-10-30  José Matos  <jamatos@lyx.org>
590
591         * buffer.C (makeLinuxDocFile, makeDocBookFile):
592         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
593         factorise code for paragraph output.
594         * buffer.[Ch]:
595         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
596         move functions.
597
598 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
599
600         * text3.C (dispatch):
601         * lyxfunc.C (dispatch):
602         * cursor.C (dispatch):
603         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
604
605         * dispatchresult.h: make the dispatch_result_t ctor explicit
606
607 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
608
609         * sgml.[Ch]:
610         * buffer.C: small refactoring of docbook stuff
611
612 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
613
614         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
615         meaning.
616
617 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
618
619         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
620         operator dispatch_result_t, and operators for == != and >=
621
622         * cursor.C (dispatch): adjust for operator dispatch_result_t
623         removal. comment out call to update
624
625         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
626
627 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
628
629         * text3.C:
630         * text2.C:
631         * text.C:
632         * lyxtext.h:
633         * lyxfunc.C:
634         * cursor.C:
635         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
636         (dispatch):
637
638         * dispatchresult.h: new file, DispatchResult broken out of
639         insets/insetbase.h
640
641         * Makefile.am (lyx_SOURCES): add dispatchresult.h
642
643 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
644
645         * text.C (rowBreakPoint): put a hack inside #if 0
646
647 2003-10-28  André Pönitz  <poenitz@gmx.net>
648
649         * lyxtext.h:
650         * metricsinfo.C:
651         * paragraph_funcs.C:
652         * rowpainter.C:
653         * text.C:
654         * text2.C: general cleanup (lots of small stuff)
655
656 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
657
658         * text2.C (cursorEnd): simple fix to the "end key goes to one
659         before the end on last row" bug
660
661 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
662
663         * text.C (backspace): fix the "zombie characters"
664
665 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
666
667         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
668
669 2003-10-27  André Pönitz  <poenitz@gmx.net>
670
671         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
672
673         * factory.C: handle new InsetPagebreak, InsetLine
674
675         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
676         and move handling into new InsetPagebreak, InsetLine
677
678         * BufferView_pimpl.C:
679         * LyXAction.C:
680         * ParagraphParameters.C:
681         * ParameterStruct.h:
682         * lyxfunc.C:
683         * lyxtext.h:
684         * paragraph.C:
685         * paragraph.h:
686         * paragraph_funcs.C:
687         * paragraph_pimpl.C:
688         * rowpainter.C:
689         * text.C:
690         * text2.C:
691         * text3.C: adjust
692
693 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
694
695         * text.C:
696         * lyxrow_funcs.[Ch]:
697         * Bidi.C:
698         * paragraph.C:
699         * lyxtext.h:
700         * rowpainter.C:
701         * text2.C:
702         * text3.C: remove lastPos uses in favour of Row::endpos
703
704 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
705
706         * undo.C (performUndoOrRedo): fix two crashes by setting a
707         cursor by hand and reordering some calls. Use bv->lockInset instead
708         of inset->edit because the latter loses cursor information
709
710 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
711
712         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
713         by Martin
714         (rowBreakPoint): fix width. change point to point + 1.
715         Add a missing check.
716
717 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
718
719         * MenuBackend.C:
720         * lyxfunc.C: fix (at least partly) the problems
721         with the Nav menu and headers inside branch insets
722         reported by Kayvan
723
724 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
725
726         * paragraph.C (getChar): add strong asserts
727
728         * lyxrow_funcs.C (lastPos): remove hideous hack
729
730         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
731         (fill): adjust to that (avoid an infinite loop)
732
733 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
734
735         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
736
737 2003-10-23  André Pönitz  <poenitz@gmx.net>
738
739         * RowList_fwd.h: change list<> to vector<> to gain speed
740         after suggestion from Alfredo
741
742 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
743
744         * lyxtext.h: move the bidi stuff from here...
745         * text.C: and here
746         * text2.C: and here
747         * Bidi.[Ch]: ... to here
748
749 2003-10-23  André Pönitz  <poenitz@gmx.net>
750
751         * lyxtext.h:
752         * text.C (isLastRow, isFirstRow): new functions
753
754         * paragraph.h: new width cache member
755
756         * rowpainter.C: replace RowList::iterator with Row & where possible
757
758         * lyxfunc.C: replace several view()->text with a single call
759
760         * toc.C: fix 'unused' warning
761
762 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
763
764         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
765         when woring with stream::pos_type
766         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
767
768 2003-10-22  André Pönitz  <poenitz@gmx.net>
769
770         * lyxtext.h:
771         * text.C: use Row & instead of RowList::iterator
772
773         * lyxrow.h: rename end() to endpos()
774
775         * rowpainter.C:
776         * text.C:
777         * text2.C: adjust
778
779 2003-10-22  Angus Leeming  <leeming@lyx.org>
780
781         * buffer.[Ch] (fully_loaded): new member function, returning true
782         only when the file has been loaded fully.
783         Used to prevent the premature generation of previews and by the
784         citation inset to prevent computation of the natbib-style label.
785
786         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
787         templates are all set up.
788
789         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
790
791 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
792
793         * text.C: fixed an "oops" in the "is a bit silly"
794         bug fix
795
796 2003-10-21  André Pönitz  <poenitz@gmx.net>
797
798         * FuncStatus.[Ch]: small stuff, whitespace
799
800         * lyxfont.[Ch]: operator<<() for debug reasons
801
802         * lyxfunc.C:
803         * lyxrow_funcs.C:
804         * lyxtext.h: whitespace, spelling
805
806         * paragraph.C: naming of variables
807
808         * text.C:
809         * text2.C: small stuff
810
811
812 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
813
814         * text.C: (1) finish off the inset display() work;
815         (2) fix the "is a bit silly" bug (accessing char
816         past end of par).
817
818 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
819
820         * text.C: re-introduce display() for insets, fixing the
821         various bugs (stretch of line above, math inset
822         positioning, ...)
823
824 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
825
826         * text.C (rightMargin): remove spurious semicolon
827
828         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
829         1415)
830
831 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
832
833         * text3.C: fix one crash due to wrong cursor def
834
835 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
836
837         * vc-backend.C (scanMaster): make the regex static
838
839         * LaTeX.C (scanAuxFile): make the regexs static
840
841         * text3.C (doInsertInset, dispatch, dispatch):
842         * text2.C (cursorUp, cursorDown):
843         * text.C (selectNextWordToSpellcheck):
844         * BufferView_pimpl.C (dispatch):
845         * lyxfunc.C (dispatch):  localDispatch -> dispatch
846
847 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
848
849         * lyxsocket.C: include <cerrno>
850
851 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
852
853         * lyxfunc.C (dispatch): remove textcache stuff
854
855         * bufferlist.C (release): remove textcache stuff
856         (closeAll): ditto
857
858         * TextCache.C: delete file
859         * TextCache.h: delete file
860
861         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
862
863         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
864         delete of the bv_->text.
865         (resizeCurrentBuffer): remove texcache stuff
866         (workAreaResize): ditto
867
868 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
869
870         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
871         action.
872
873 2003-10-16  André Pönitz  <poenitz@gmx.net>
874
875         * lyxrow.[Ch]:
876         * paragraph.h:
877         * rowpainter.C:
878         * text.C:
879         * text2.C:
880         * text3.C: speed up by storing y positions per paragraph plus per-row
881         offset instead of having a 'full' y position in the row.
882
883 2003-10-15  André Pönitz  <poenitz@gmx.net>
884
885         * iterators.[Ch]:
886         * iterators.[Ch]:
887         * undo.[Ch]: make undo aware of inner insets
888
889 2003-10-14  Angus Leeming  <leeming@lyx.org>
890
891         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
892         static member functions LyX::ref() and LyX::cref.
893         (lastfiles): new accessor functions for the new lastfiles_ member var.
894         (addLyXView, views_): add a new LyXView to the list of views_.
895         (updateInset): loop over all LyXViews to call their own updateInset
896         member function, returning a pointer to the Buffer owning the inset.
897
898         * BufferView_pimpl.C (loadLyXFile):
899         * MenuBackend.C (expandLastfiles):
900         * bufferlist.C (MenuWrite, QuitLyX):
901         lastfiles is no longer a global variable.
902         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
903
904         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
905         static function. Access through LyX::cref().emergencyCleanup().
906
907 2003-10-14  André Pönitz  <poenitz@gmx.net>
908
909         * iterators.[Ch]: new direct access to innermost LyXText and Inset
910
911         * undo.[Ch]: restoring part of 'undo in insets'
912
913         * Makefile.am:
914         * undo_funcs.[Ch]: merge with undo.[Ch]
915
916         * tabular.C: small cleansing stuff
917
918 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
919
920         * paragraph_funcs.C (readParToken): report unknown insets as error
921         boxes. Use the outer paragraph as location (also for unknown
922         tokens).
923
924         * factory.C (readInset): do not abort on reading an unknown inset.
925         Eat it and return 0.
926
927 2003-10-13  Angus Leeming  <leeming@lyx.org>
928
929         * lyx_main.C (LyX): remove call to setDisplayTranslator().
930
931         * lyxrc.C: displayTranslator is now a function,
932         declared in GraphicsTypes.h.
933
934 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
935
936         * format.C: new placeholder $$a to pass the socket address.
937
938         * bufferlist.[Ch]: new function getBufferFromTmp.
939
940         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
941           files in the temporary dir.
942
943 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
944
945         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
946
947         * Makefile.am: add lyxsocket.[Ch].
948
949         * lyx_main.C (error_handler): handle SIGPIPE.
950
951 2003-10-13  André Pönitz  <poenitz@gmx.net>
952
953         * BufferView_pimpl.C:
954         * lyxtext.h:
955         * text.C:
956         * text2.C:
957         * text3.C:
958         * undo_funcs.[Ch]: use paroffset_type instead of
959           ParagraphList::iterators to prevent multiple conversion
960           (and get a more robust interface)
961
962 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
963
964         * lyxfunc.C (dispatch): RESULT -> dispatch_result
965         * lyxtext.h: ditto
966         * text3.C (dispatch): ditto
967
968 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
969
970         * LaTeX.C (handleFoundFile): move the static to smaller scope,
971         move the onlyfile, use onlyfile instead of foundfile in a couple
972         of places.
973
974         * DepTable.C (update): flush the error stream a bit more
975
976 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
977
978         * lyxserver.C (callback): adjust
979
980         * lyxfunc.C (getStatus): add a missing brace in commented code
981         (ensureBufferClean): reindent
982         (dispatch): delete version taking a string
983
984 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
985
986         * LaTeX.C (deplog): move found file handlig from here...
987         (handleFoundFile): .. to new function here.
988         (deplog): make sure to discover several files mentioned on the
989         same log line.
990
991 2003-10-10  André Pönitz  <poenitz@gmx.net>
992
993         * lyxfunc.C:
994         * lyxtext.h:
995         * tabular.C:
996         * text.C:
997         * text2.C:
998         * text3.C: fix some of the tabular crashes
999
1000 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1001
1002         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1003
1004         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1005
1006 2003-10-09  André Pönitz  <poenitz@gmx.net>
1007
1008         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1009
1010         * BufferView.C:
1011         * BufferView_pimpl.C:
1012         * bufferview_funcs.C:
1013         * lyx_cb.C:
1014         * lyxcursor.C:
1015         * lyxfind.C:
1016         * lyxfunc.C:
1017         * lyxtext.h:
1018         * text.C:
1019         * text2.C:
1020         * text3.C:
1021         * text_funcs.[Ch]:
1022         * textcursor.[Ch]:
1023         * undo_funcs.C: adjust
1024
1025 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1026
1027         * text2.C (incrementItemDepth): new function, use a backtracking
1028         algorithm to discover the correct item depth.
1029         (resetEnumCounterIfNeeded): new function, use a backtracking
1030         algorithm to discover if counter reset is needed.
1031         (setCounter): use them. Simplify a bit. Add different labels for
1032         different item depths for itemize.
1033
1034         * paragraph.C (Paragraph): remove initialization of enumdepth
1035         (operator=): ditto
1036
1037         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1038         enumerate and itemize. Change the type of itemdepth to signed char.
1039
1040 2003-10-08  André Pönitz  <poenitz@gmx.net>
1041
1042         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1043           thing assignable.
1044         * text.C:
1045         * text2.C: adjust
1046
1047         * tabular.[Ch]: fix crash after 'row-insert'
1048
1049 2003-10-08  Angus Leeming  <leeming@lyx.org>
1050
1051         Fix doxygen warnings.
1052
1053         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1054         Remove CutAndPaste:: prefix from header file declaration.
1055
1056         * LColor.h (fill): remove LColor:: prefix from declaration.
1057
1058         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1059         use lyx::depth_type rather than Paragraph::depth_type so that
1060         header file and .C file match.
1061
1062         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1063
1064         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1065         * aspell.C: \file aspell_local.C -> \file aspell.C
1066         * gettext.C: \file gettext.C -> \file src/gettext.C
1067         * gettext.h: \file gettext.h -> \file src/gettext.h
1068         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1069         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1070         * text.C: \file text.C -> \file src/text.C
1071
1072         * toc.C: move comment so that doxygen is not confused.
1073
1074 2003-10-07  Angus Leeming  <leeming@lyx.org>
1075
1076         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1077
1078 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1079
1080         * aspell.C:
1081         * aspell_local.h: add forgotten std::string's.
1082
1083 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1084
1085         * LaTeXFeatures.C:
1086         * LyXAction.C:
1087         * factory.C:
1088         * lfuns.h:
1089         * lyxfunc.C:
1090         * text3.C: The Box patch. Fancybox support, minipage, parbox
1091
1092 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1093
1094         * CutAndPaste.h:
1095         * DepTable.h:
1096         * FloatList.h:
1097         * LaTeXFeatures.h:
1098         * ParagraphParameters.h:
1099         * TextCache.h:
1100         * Thesaurus.h:
1101         * bufferlist.h:
1102         * exporter.h:
1103         * importer.h:
1104         * lastfiles.h:
1105         * lyxfind.h:
1106         * lyxfont.h:
1107         * lyxlex.h:
1108         * lyxtextclasslist.h:
1109         * messages.h:
1110         * paragraph.h:
1111         * paragraph_pimpl.C:
1112         * textcursor.h: add <string> and other small fixes to make Lars'
1113         std::string patch compile with STLport.
1114
1115 2003-10-06  Angus Leeming  <leeming@lyx.org>
1116
1117         * LColor.h: Add missing #include <string>.
1118
1119 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1120
1121         * All most all file in all subdirs: Make <string> be the prefered
1122         way of getting to std::string, add using declarations.
1123
1124 2003-10-06  André Pönitz  <poenitz@gmx.net>
1125
1126         * metricsinfo.C: initialize LyXFont before changing attribute.
1127         (fixes the 'math in \emph is upright' bug)
1128
1129 2003-10-06  André Pönitz  <poenitz@gmx.net>
1130
1131         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1132
1133 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1134
1135         * graph.C:
1136         * paragraph_pimpl.C: Small fixes to build using STLport
1137
1138 2003-10-02  André Pönitz  <poenitz@gmx.net>
1139
1140         * lyxfunc.C:
1141         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1142
1143 2003-10-01  André Pönitz  <poenitz@gmx.net>
1144
1145         * factory.C: assert early
1146
1147 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1148
1149         * lyx_main.C: remove the global debug object
1150
1151         * debug.h: adjust for new debugstream
1152
1153         * debug.C: adjust for new debugstream and keep the global debug
1154         object here.
1155
1156 2003-09-22  Angus Leeming  <leeming@lyx.org>
1157
1158         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1159         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1160         an incomplete class LyXFont.
1161
1162 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1163
1164         * factory.C: bug fix in branches
1165
1166 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1167
1168         * lyxfunc.C (processKeySym): adjust
1169         (dispatch): adjust
1170         (dispatch): change arg name from ev to func, adjust
1171         (sendDispatchMessage): ditto
1172
1173         * lyx_main.C (defaultKeyBindings): adjust keybindings
1174         (deadKeyBindings): ditto
1175
1176         * kbsequence.C (addkey): return a FuncRequest
1177
1178         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1179
1180         * kbmap.C (bind): take a FuncRequest as arg, adjust
1181         (read): adjust
1182         (lookup): adjust
1183         (defkey): change to take a FuncRequest as arg, adjust
1184         (findbinding): take a FuncRequest as arg, adjust.
1185
1186         * funcrequest.h (operator=): added
1187
1188         * funcrequest.C (FuncRequest): default kb_action changed from
1189         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1190
1191         * buffer.C (dispatch): simplify
1192         (dispatch): adjust to take a FuncRequest as arg, adjust
1193
1194         * boost.C (assertion_failed): change assertion message slightly
1195
1196         * ToolbarBackend.C (read): simplify
1197
1198         * MenuBackend.C (binding): adjust call to findbinding, add a
1199         message if no binding is found.
1200         (read): simplify
1201         (expandToc): correct by adding a empty FuncRequest
1202
1203         * LyXAction.C: include <boost/assert.hpp>
1204         (isPseudoAction): delete function
1205         (LookupFunc): change name to...
1206         (lookupFunc): this. change return type to FuncRequest.
1207         (getActionName): take kb_action as arg, simplify
1208         (funcHasFlag): add an assert, simplify.
1209
1210 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1211
1212         * toc.C (action): return a FuncRequest, simplify
1213
1214         * lyxfunc.C (processKeySym): adjust
1215         (getStatus): delete version that takes an int.
1216         (getStatus): adjust
1217         (dispatch): delete version that takes action as int
1218         (dispatch): adjust
1219         (sendDispatchMessage): simplify and adjust
1220
1221         * funcrequest.C (getArg): take unsigned int as arg
1222
1223         * ToolbarBackend.C (read): adjust
1224         (add): delete version that takes func as a string.
1225         (getIton): take a FuncRequest as arg
1226
1227         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1228         action.
1229
1230         * MenuBackend.C (MenuItem): add a new construct that only takes a
1231         Kind, simplify the constructor use for submenus.
1232         (add): adjust
1233         (expandLastfiles): adjust
1234         (expandDocuments): adjust
1235         (expandFormats): adjust
1236         (expandFloatListInsert): adjust
1237         (expandFloatInsert): adjust
1238         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1239
1240         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1241         Remove class variables lyx_pseudo_map and lyx_arg_map
1242
1243         * LyXAction.C (searchActionArg): delete function
1244         (getPseudoAction): delete function
1245         (retrieveActionArg): delete function
1246         (LookupFunc): make it return kb_action, simplify.
1247         (getActionName): simplify
1248
1249         * factory.C (createInset): fix new bug
1250
1251 2003-09-19  Angus Leeming  <leeming@lyx.org>
1252
1253         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1254         masterFilename_ parameter in the include inset.
1255
1256         * factory.C (createInset): changes due to the changes to InsetInclude.
1257
1258 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1259
1260         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1261
1262 2003-09-18  Angus Leeming  <leeming@lyx.org>
1263
1264         * buffer.C:
1265         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1266         Inset::fillWithBibKeys.
1267         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1268
1269 2003-09-18  Angus Leeming  <leeming@lyx.org>
1270
1271         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1272         variables.
1273         (ctor): pass and store a 'Buffer const &'
1274         (buffer): new member function.
1275
1276         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1277         '*this' to the LaTeXFeatures ctor.
1278
1279 2003-09-18  Angus Leeming  <leeming@lyx.org>
1280
1281         * LColor.h:
1282         * lyxfont.C:
1283         * lyxfont.h:
1284         * lyxtext.h:
1285         * text.C: rename EnumLColor as LColor_color.
1286
1287 2003-09-18  Angus Leeming  <leeming@lyx.org>
1288
1289         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1290         remove #include "insets/insetbase.h" from cursor.h.
1291
1292 2003-09-18  Angus Leeming  <leeming@lyx.org>
1293
1294         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1295         InsetOld_code to remove #include "inset.h".
1296
1297         * iterators.C: add #include "insets/inset.h"
1298
1299 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1300
1301         * BufferView.C: remove more locking stuff that apparently doesn't
1302         do anything sensible.
1303
1304 2003-09-16  André Pönitz  <poenitz@gmx.net>
1305
1306         * paragraph.[Ch]:
1307         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1308           performance boost.
1309
1310 2003-09-16  Angus Leeming  <leeming@lyx.org>
1311
1312         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1313
1314         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1315         arg/return type.
1316
1317         * paragraph.h: remove #include "lyxfont.h". Forward declare
1318         LyXFont_size.
1319
1320 2003-09-16  Angus Leeming  <leeming@lyx.org>
1321
1322         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1323         of support/textutils.h.
1324         (isWord): move the contents of support/textutils.h's IsWordChar here.
1325
1326         * buffer.C:
1327         * lyxfind.C:
1328         * rowpainter.C:
1329         * text.C:
1330         * text2.C: add #include "paragraph.h".
1331
1332         * rowpainter.C:
1333         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1334
1335 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1336
1337         * main.C:
1338         * lyx_main.C:
1339         * lyx_cb.C:
1340         * buffer.C:
1341         * LaTeX.C: use namespace alias for lyx::support::os
1342
1343 2003-09-16  Angus Leeming  <leeming@lyx.org>
1344
1345         * bufferparams.C:
1346         * bufferview_funcs.C:
1347         * factory.C:
1348         * lyxfunc.C:
1349         * paragraph_pimpl.C:
1350         * rowpainter.C:
1351         * text.C: add #include "LColor.h".
1352
1353 2003-09-16  Angus Leeming  <leeming@lyx.org>
1354
1355         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1356         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1357         return LyXFont &.
1358         Store the FontBits::color variable as an int rather than as an
1359         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1360         file.
1361
1362         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1363         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1364         string calls together.
1365
1366         * lyxrc.C: add #include "LColor.h".
1367
1368 2003-09-15  Angus Leeming  <leeming@lyx.org>
1369
1370         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1371         a cow_ptr.
1372
1373 2003-09-15  Angus Leeming  <leeming@lyx.org>
1374
1375         * LColor.h: add an EnumLColor wrapper for LColor::color.
1376
1377         * lyxfont.[Ch] (color, setColor, realColor):
1378         * lyxtext.h, text.C (backgroundColor):
1379         pass EnumLColor args to/from the functions, rather than LColor::color
1380         ones.
1381
1382         * lyxfont.h:
1383         * lyxtext.h: forward declare EnumLColor.
1384
1385         * lyx_main.C: add #include "LColor.h".
1386
1387 2003-09-15  Angus Leeming  <leeming@lyx.org>
1388
1389         * .cvsignore: add lyx-gtk.
1390
1391 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1392
1393         * Chktex.C
1394         * LaTeX.C
1395         * LaTeXFeatures.C
1396         * ParagraphParameters.C
1397         * Spacing.C
1398         * buffer.C
1399         * bufferparams.C
1400         * bufferview_funcs.C
1401         * chset.C
1402         * counters.C
1403         * funcrequest.C
1404         * lyxfont.C
1405         * lyxgluelength.C
1406         * lyxlength.C
1407         * paragraph.C
1408         * paragraph_funcs.C
1409         * text3.C
1410         * vc-backend.C: remove usage of STRCONV
1411
1412 2003-09-15  Angus Leeming  <leeming@lyx.org>
1413
1414         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1415         explicitly define the color passed to the painter.
1416
1417 2003-09-15  Angus Leeming  <leeming@lyx.org>
1418
1419         * bufferparams.C (BufferParams): reorder member initializers to avoid
1420         compiler warning.
1421
1422 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1423
1424         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1425         * text.C (updateRowPositions): remove an unusual nop
1426
1427 2003-09-12  André Pönitz  <poenitz@gmx.net>
1428
1429         * BufferView_pimpl.C:
1430         * Bullet.C:
1431         * layout.h:
1432         * lyxfunc.C:
1433         * lyxlayout.[Ch]:
1434         * lyxtextclass.C:
1435         * rowpainter.C:
1436         * text.C:
1437         * text2.C:
1438         * Counters.[Ch]: finish the 'automatic counters' job
1439
1440 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1441
1442         * aspell.C: include <boost/assert.cpp> (compile fix)
1443
1444 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1445
1446         * boost.C (assertion_failed): use lyx::support::abort instead of
1447         assert.
1448
1449 2003-09-10  Angus Leeming  <leeming@lyx.org>
1450
1451         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1452         with their _fwd progeny.
1453
1454 2003-09-09  Angus Leeming  <leeming@lyx.org>
1455
1456         134 files throughtout the source tree: replace 'using namespace abc;'
1457         directives with the appropriate 'using abc::xyz;' declarations.
1458
1459 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1460
1461         * boost.C (emergencyCleanup): moved here from LAssert.c
1462         (assertion_failed): new function, called by BOOST_ASSERT
1463
1464         * several files: change Assert to BOOST_ASSERT
1465
1466 2003-09-09  Angus Leeming  <leeming@lyx.org>
1467
1468         * buffer.[Ch]: Add an Impl class and move Buffer's member
1469         variables into it. As a result move several header files out of
1470         buffer.h.
1471
1472         Add header files to lots of .C files all over the tree as a result.
1473
1474 2003-09-09  Angus Leeming  <leeming@lyx.org>
1475
1476         * buffer.[Ch]: make Buffer's member variables private. Add
1477         accessor functions.
1478
1479         Lots of changes all over the tree as a result.
1480
1481 2003-09-08  Angus Leeming  <leeming@lyx.org>
1482
1483         * graph.C: #include <config.h>.
1484
1485 2003-09-08  Angus Leeming  <leeming@lyx.org>
1486
1487         * BranchList.C:
1488         * BufferView.C:
1489         * BufferView_pimpl.C:
1490         * CutAndPaste.C:
1491         * DepTable.C:
1492         * LaTeX.C:
1493         * LaTeXFeatures.C:
1494         * LyXAction.C:
1495         * MenuBackend.C:
1496         * TextCache.C:
1497         * aspell.C:
1498         * buffer.C:
1499         * bufferlist.C:
1500         * changes.C:
1501         * chset.C:
1502         * converter.C:
1503         * counters.C:
1504         * debug.C:
1505         * graph.C:
1506         * ispell.C:
1507         * lyx_cb.C:
1508         * lyxfind.C:
1509         * lyxfunc.C:
1510         * lyxlex_pimpl.C:
1511         * lyxrc.C:
1512         * lyxrow.C:
1513         * paragraph.C:
1514         * rowpainter.C:
1515         * texrow.C:
1516         * text.C:
1517         * text2.C:
1518         * toc.C: remove redundant using directives.
1519
1520 2003-09-07  Angus Leeming  <leeming@lyx.org>
1521
1522         * LaTeXFeatures.h: remove #include "support/types.h".
1523         * ToolbarBackend.h: remove #include <algorithm>.
1524         * changes.h: remove #include <ctime>.
1525         * debug.h: remove #include <iosfwd>.
1526         * graph.h: remove #include "support/std_string.h".
1527         * lyx_main.h: remove #include <csignal>.
1528         * lyxlex_pimpl.h: remove #include <fstream>.
1529         * sgml.h: remove #include <algorithm>, <utility>.
1530         * toc.h: remove #include "support/std_ostream.h".
1531         Add #include <iosfwd>.
1532
1533 2003-09-07  Angus Leeming  <leeming@lyx.org>
1534
1535         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1536
1537         * converter.h: forward declare LatexRunParams.
1538         * encoding.h: remove #include "lyxrc.h".
1539         * lyxtext.h: remove #include "LColor.h".
1540         * lyxtextclass.h: remove #include "support/types.h".
1541         * trans.h: remove #include "tex-accent.h".
1542         * trans_mgr.h: remove #include "tex-accent.h".
1543         * insets/inset.h: remove #include "support/types.h", <vector>.
1544         * insets/insetcollapsable.h: remove #include "LColor.h".
1545         * insets/insetinclude.h: remove #include "dimension.h".
1546         * insets/insetlatexaccent.h: remove #include "dimension.h".
1547         * insets/insetoptarg.h:: remove #include "insettext.h".
1548         * insets/insettext.h: remove #include "dimension.h",
1549         <boost/shared_ptr.hpp>
1550
1551         * insets/renderers.h: add #include "dimension.h".
1552         * insets/updatableinset.h: add #include "support/types.h".
1553
1554         * many .C files: Associated changes.
1555
1556 2003-09-06  Angus Leeming  <leeming@lyx.org>
1557
1558         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1559         one, inside testInvariant.
1560
1561         * PrinterParams.C: new file.
1562         * PrinterParams.[Ch]: move the function bodies out of line.
1563
1564 2003-09-06  Angus Leeming  <leeming@lyx.org>
1565
1566         * ParagraphParameters.h: forward declare ParameterStruct rather than
1567         including its header file.
1568         (depth): moved out-of-line.
1569
1570 2003-09-06  Angus Leeming  <leeming@lyx.org>
1571
1572         * BufferView_pimpl.h:
1573         * kbmap.h:
1574         * kbsequence.h:
1575         * lyxfunc.h: forward declare LyXKeySym rather than
1576         #include "frontends/LyXKeySym.h".
1577
1578         * BufferView_pimpl.C:
1579         * kbmap.C:
1580         * kbsequence.C:
1581         * lyxfunc.C: associated changes.
1582
1583 2003-09-06  Angus Leeming  <leeming@lyx.org>
1584
1585         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1586         As a result, can remove the #include "insets/inset.h" from BufferView.h
1587
1588 2003-09-06  Angus Leeming  <leeming@lyx.org>
1589
1590         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1591         As a result, can remove the #include "insets/inset.h" from BufferView.h
1592
1593 2003-09-06  Angus Leeming  <leeming@lyx.org>
1594
1595         * buffer_funcs.C:
1596         * buffer.h:
1597         * bufferlist.C:
1598         * BufferView.C:
1599         * bufferview_funcs.C:
1600         * BufferView_pimpl.C:
1601         * CutAndPaste.C:
1602         * lyx_cb.C:
1603         * lyxfunc.C:
1604         * paragraph.h:
1605         * ParagraphParameters.C:
1606         * tabular.C:
1607         * text3.C:
1608         * toc.C:
1609         * undo_funcs.C:
1610         * frontends/controllers/ControlDocument.C:
1611         * insets/insetcaption.C: rearrange the #includes into some sort of
1612         coherent order.
1613
1614         * buffer.h: remove #includes ErrorList.h, undo.h
1615
1616 2003-09-06  Angus Leeming  <leeming@lyx.org>
1617
1618         * support/types.h: add a 'depth_type' typedef, used to store the
1619         nesting depth of a paragraph.
1620
1621         * paragraph.h:
1622         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1623         defining explicitly.
1624
1625         * buffer.h:
1626         * paragraph_funcs.h:
1627         * ParagraphParameters.h:
1628         * sgml.h: use lyx::depth_type rather than Paragraph or
1629         ParameterStruct's depth_type.
1630
1631         * buffer.h
1632         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1633
1634         * BufferView.C:
1635         * BufferView_pimpl.C:
1636         * CutAndPaste.C:
1637         * ParagraphParameters.C:
1638         * buffer_funcs.C:
1639         * bufferlist.C:
1640         * bufferview_funcs.C:
1641         * lyx_cb.C:
1642         * lyxfunc.C:
1643         * tabular.C:
1644         * text3.C:
1645         * toc.C:
1646         * undo_funcs.C:
1647         * frontends/LyXView.C:
1648         * frontends/controllers/ControlDocument.C:
1649         * frontends/controllers/ControlErrorList.C:
1650         * insets/insetbibitem.C:
1651         * insets/insetbranch.C:
1652         * insets/insetcaption.C:
1653         * insets/insetcollapsable.C:
1654         * insets/insetenv.C:
1655         * insets/insetert.C:
1656         * insets/insetfloat.C:
1657         * insets/insetfoot.C:
1658         * insets/insetfootlike.C:
1659         * insets/insetnewline.C:
1660         * insets/insetquotes.C:
1661         * insets/insettabular.C:
1662         * insets/insettext.C:
1663         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1664
1665         * frontends/controllers/ControlChanges.C: #include "changes.h".
1666
1667 2003-09-06  Angus Leeming  <leeming@lyx.org>
1668
1669         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1670         than #including paragraph.h.
1671
1672         * ParagraphList.h:
1673         * RowList.h: deleted. Superfluous.
1674
1675         * CutAndPaste.h:
1676         * iterators.h:
1677         * lyxcursor.h:
1678         * lyxtext.h:
1679         * text_funcs.h:
1680         * undo.h:
1681         * undo_funcs.h:
1682         * insets/inset.h:
1683         * insets/insettext.h: use ParagraphList_fwd.h rather than
1684         ParagraphList.h.
1685
1686         * paragraph.h: don't forward declare ParagraphList.
1687
1688         * buffer.h:
1689         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1690         rather than ParagraphList.h. paragraph.h is still needed for the
1691         Paragraph::depth_type parameters.
1692
1693         * textcursor.h: enable it to compile stand-alone in light of the
1694         above changes.
1695
1696         * bufferview_funcs.C:
1697         * iterators.C:
1698         * lyxfunc.C:
1699         * lyxrow_funcs.C:
1700         * paragraph.C:
1701         * rowpainter.C:
1702         * text.C:
1703         * text2.C:
1704         * text3.C:
1705         * text_funcs.C:
1706         * textcursor.C:
1707         * undo.C:
1708         * frontends/controllers/ControlParagraph.C:
1709         * frontends/controllers/ControlTabular.C:
1710         * insets/insetmarginal.C:
1711         * insets/insetminipage.C:
1712         * insets/insetnote.C:
1713         * insets/insetoptarg.C: add header files needed to compile again.
1714
1715 2003-09-06  Angus Leeming  <leeming@lyx.org>
1716
1717         * RowList_fwd.h: new file, forward-declaring Row rather than
1718         #including lyxrow.h.
1719
1720         * lyxrow_funcs.h:
1721         * lyxtext.h:
1722         * paragraph.h:
1723         * insets/insettext.h: use it instead of RowList.h
1724
1725         * bufferview_funcs.C:
1726         * lyxfunc.C:
1727         * lyxrow_funcs.C:
1728         * paragraph.C:
1729         * rowpainter.C:
1730         * text.C:
1731         * text2.C:
1732         * text3.C: #include "RowList.h".
1733
1734 2003-09-05  Angus Leeming  <leeming@lyx.org>
1735
1736         * factory.C (createInset):
1737         * vspace.C (c-tor): replace sscanf call with an istringstream.
1738         * ispell.C: re-add missing HP/UX headers.
1739         * lyxserver.C: re-add missing  os2 headers.
1740
1741 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1742
1743         * BranchList.C:
1744         * graph.C:
1745         * ispell.C:
1746         * lastfiles.C:
1747         * lyx_cb.C:
1748         * lyxserver.C:
1749         * texrow.C:
1750         * text3.C: re-add missing system headers, needed for 2.95.2.
1751
1752 2003-09-05  Angus Leeming  <leeming@lyx.org>
1753
1754         Changes most place everywhere due to the removal of using directives
1755         from support/std_sstream.h.
1756
1757 2003-09-05  Angus Leeming  <leeming@lyx.org>
1758
1759         Replace LString.h with support/std_string.h,
1760         Lsstream.h with support/std_sstream.h,
1761         support/LIstream.h with support/std_istream.h,
1762         support/LOstream.h with support/std_ostream.h.
1763
1764         Changes resulting throughout the tree.
1765
1766 2003-09-05  Angus Leeming  <leeming@lyx.org>
1767
1768         * sgml.h: ensure that the header file can be compiled stand-alone.
1769         * *.C: strip out redundant #includes. (320 in total.)
1770
1771 2003-09-04  Angus Leeming  <leeming@lyx.org>
1772
1773         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1774         here (from getPackages).
1775
1776         * debug.[Ch]: add a new EXTERNAL tag.
1777
1778 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1779
1780         * text2.C (cursorEnd): simplify
1781         (setCursor): adjust
1782         (getColumnNearX): adjust
1783
1784         * text.C (computeBidiTables): adjust
1785         (fill): adjust
1786
1787         * rowpainter.C (paintChars): adjust
1788         (paintSelection): adjust
1789         (paintChangeBar): adjust
1790         (paintText): adjust
1791
1792         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1793         lastPos instead.
1794         (numberOfSeparators): adjust
1795
1796 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1797
1798         * LyXAction.C:
1799         * box.[Ch]:
1800         * lfuns.h:
1801         * lyxfunc.C:
1802         * text3.C: Restricts the mouse click functionality
1803         of insets like bibtex, include, toc and floatlist to the visible
1804         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1805         up the dialogs. Cursor has to be in front of the inset (i.e.
1806         start of row) for this to function.
1807
1808 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1809
1810         * bufferview_funcs.C (currentState): output row information
1811
1812 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1813
1814         * bufferview_funcs.C (currentState): output paragraph position
1815
1816 2003-09-04  Angus Leeming  <leeming@lyx.org>
1817
1818         * FloatList.h: move out #include "Floating.h".
1819         * LaTeX.h: move out #include "DepTable.h".
1820         * LyXAction.h: move out #include "funcrequest.h".
1821         * buffer.h: move out #include "author.h", "iterators.h".
1822         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1823         * lyx_main.h: move out #include "errorlist.h".
1824         * lyxfunc.h: move out #include "FuncStatus.h".
1825         * lyxtext: move out #include "lyxcursor.h".
1826         * paragraph_pimpl.h: move out #include "counters.h".
1827
1828 2003-09-03  Angus Leeming  <leeming@lyx.org>
1829
1830         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1831         preamble_snippets list, enabling us to add snippets to the preamble
1832         only if the snippet was not there already.
1833
1834 2003-09-04  Angus Leeming  <leeming@lyx.org>
1835
1836         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1837
1838 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1839
1840         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1841         update
1842
1843 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1844
1845         * BranchList.C: point fix, earlier forgotten
1846
1847 2003-09-02  Angus Leeming  <leeming@lyx.org>
1848
1849         * box.C (contains): renamed from 'contained' after a fantastic
1850         amount of hot air.
1851
1852 2003-09-02  John Levon  <levon@movementarian.org>
1853
1854         * BufferView.C:
1855         * lyxcursor.h:
1856         * lyxcursor.C:
1857         * lyxfunc.C:
1858         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1859
1860 2003-09-02  John Levon  <levon@movementarian.org>
1861
1862         * text2.C: simplification of cursorEnd(), including partial
1863         fix for bug 1376
1864
1865 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1866
1867         * buffer.C (readFile): add a space
1868
1869 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1870
1871         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1872
1873 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1874
1875         * buffer.C (readFile): new function, take a filename and a
1876         ParagraphList::iterator
1877         (readFile): adjust
1878         (readFile): adjust, make it private. don't use setStream, make
1879         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1880         always contain the filename.
1881
1882         * BufferView.C (insertLyXFile): simplify and make it work for
1883         gzipped files.
1884
1885 2003-08-30  John Levon  <levon@movementarian.org>
1886
1887         * Makefile.am: fix dist (from Kayvan)
1888
1889 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1890
1891         * most files: change to use const Buffer refs
1892
1893 2003-08-27  André Pönitz  <poenitz@gmx.net>
1894
1895         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1896         on top of ownerPar().
1897
1898 2003-08-27  John Levon  <levon@movementarian.org>
1899
1900         * funcrequest.C: properly initialise POD members
1901
1902 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1903
1904         * lyxtext.h (top_y): move top_y from here
1905         * text.C:
1906         * text2.C:
1907         * text3.C:
1908         * BufferView.[Ch]:
1909         * BufferView_pimpl.[Ch]: to here
1910         * frontends/screen.C:
1911         * insets/insettabular.C:
1912         * insets/insettext.C: adjust
1913         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1914
1915 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1916
1917         * BufferView.[Ch]:
1918         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1919
1920 2003-08-26  André Pönitz  <poenitz@gmx.net>
1921
1922         * paragraph_func.[Ch] (outerPar): new function
1923
1924         * paragraph.C:
1925         * paragraph_funcs.C:
1926         * paragraph_funcs.h:
1927         * paragraph_pimpl.C:
1928         * text2.C: remove Inset::par_owner
1929
1930 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1931
1932         * lyxrow_funcs.C:
1933         * lyxtext.h:
1934         * text.C:
1935         * text2.C: eliminates the needFullRow/display() stuff
1936         altogether, putting the logic in metrics/draw in the insets.
1937
1938 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1939
1940         * text2.C (redoParagraphInternal, redoParagraphs):
1941         * text.C (redoParagraph): add a call to updateRowPositions at the
1942         end of each 'metrics-like' call. Remove all others.
1943         (getRow): remove the 'y-computing' version.
1944         (getRowNearY): do not compute nor return the real y. Solve the
1945         'y < 0' problem and simplify.
1946
1947 2003-08-22  Angus Leeming  <leeming@lyx.org>
1948
1949         * *.[Ch]: clean-up of licence and author blurbs.
1950         Also move config.h out of a few .h files and into a few .C files.
1951
1952 2003-08-22  André Pönitz  <poenitz@gmx.net>
1953
1954         * lyxrow.[Ch]: add x_ and *fill_ members
1955
1956         * lyxtext.h:
1957         * text.C:
1958         * rowpainter.C:
1959         * text2.C: adjust/remove prepareToPrint() calls
1960
1961 2003-08-22  André Pönitz  <poenitz@gmx.net>
1962
1963         * lyxrow.[Ch]: add  end_ member
1964
1965         * lyxrow_funcs.C: use LyXRow::end_
1966
1967         * lyxtext.h (singleWidth): add LyXFont parameter
1968
1969         * rowpainter.C:
1970         * text2.C: adjust LyXText::singleWidth() calls
1971
1972         * text.C (redoParagraph): simplify row breaking logic
1973
1974
1975 2003-08-19  André Pönitz  <poenitz@gmx.net>
1976
1977         * funcrequest.C: initialize button_ member
1978
1979         * text3.C:
1980         * rowpainter.[Ch]: interface consolidation
1981
1982 2003-08-18  André Pönitz  <poenitz@gmx.net>
1983
1984         * BufferView.C:
1985         * BufferView_pimpl.C:
1986         * lyxfind.C:
1987         * paragraph_funcs.C:
1988         * rowpainter.C:
1989         * text3.C: remove LyXScreen::draw() and fitCursor calls
1990
1991         * BranchList.h: remove spurious semicolons
1992
1993         * MenuBackend.C: fix branchlist related crash
1994
1995 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1996
1997         * BranchList.[Ch]:
1998         * InsetList.[Ch]:
1999         * LColor.[Ch]:
2000         * LyXAction.C:
2001         * Makefile.am:
2002         * MenuBackend.[Ch]:
2003         * bufferparams.[Ch]:
2004         * factory.C:
2005         * lfuns.h:
2006         * lyxfunc.C:
2007         * text3.C: implements the 'branch inset'
2008         idea. This allows the output of various versions of a document
2009         from a single source version, selectively outputing or suppressing
2010         output of parts of the text.
2011         This implementation contains a 'branch list editor' in a separate
2012         tab of the document settings dialog. Branches are user definable
2013         and have a "display colour" to distinguish them on-screen.
2014
2015         ColorHandler was somewhat cleaned up.
2016         (1) make possible a dynamically growing LColor list by allowing
2017         the graphic context cache to grow along (vector);
2018         (2) eliminate an IMHO unnecessary step in colour allocation.
2019
2020 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2021
2022         * BufferView_pimpl.C: compile fix
2023
2024 2003-08-15  André Pönitz  <poenitz@gmx.net>
2025
2026         * rowpainter.C: remove extra metrics calls
2027
2028         * lyxtext.h: merge the two constructors into a single one,
2029           pass reference to owner's par list
2030
2031         * BufferView_pimpl.C:
2032         * text.C:
2033         * text2.C: adjust
2034
2035 2003-08-15  André Pönitz  <poenitz@gmx.net>
2036
2037         * lyxrow_funcs.[Ch]:
2038         * lyxtext.h:
2039         * paragraph.h:
2040         * paragraph_funcs.C:
2041         * rowpainter.C:
2042         * text.C:
2043         * text2.C:
2044         * text3.C:
2045         * text_funcs.C: split LyXText::rowlist_ into individual
2046         Paragraph::rows_ chunks
2047
2048         * BufferView.[Ch]:
2049         * BufferView_pimpl.[Ch]:
2050         * lyxfind.C:
2051         * lyxtext.h:
2052         * text3.C: remove toggleSelection()
2053
2054 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2055
2056         * bufferlist.C: beautify two alerts (shorter text of buttons)
2057         * buffer.C: Remove redundant ' ' from message
2058         * tabular.h:
2059         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2060         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2061         rename VALIGN_CENTER to VALIGN_MIDDLE
2062
2063 2003-08-11  André Pönitz  <poenitz@gmx.net>
2064
2065         * lyxtext.h (getPar):
2066         * text.C: new function
2067
2068 2003-08-11  André Pönitz  <poenitz@gmx.net>
2069
2070         * Makefile.am:
2071         * tracer.[Ch]: remove unneeded files
2072
2073         * InsetList.[Ch]: remove resizeInsetsLyXText()
2074
2075         * lyxtext.h:
2076         * text.C:
2077         * text2.C:
2078         * text3.C: merge insertParagraphs() and appendParagraph()
2079         remove breakAgain(), update()
2080
2081         * BufferView_pimpl.[Ch]:
2082         * bufferview_funcs.[Ch]:
2083         * lyxfunc.C:
2084         * paragraph.[Ch]:
2085         * rowpainter.C:
2086         * tabular.C: adjust after text & InsetList changes.
2087
2088 2003-08-08  André Pönitz  <poenitz@gmx.net>
2089
2090         * text.C (insertChar, backspace): replace rowlist fiddling
2091         with rebreak of full par
2092
2093         * lyxtext.h:
2094         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2095         checkParagraph, updateInset): removed
2096
2097 2003-08-07  André Pönitz  <poenitz@gmx.net>
2098
2099         * paragraph.C:
2100         * text3.C: merge some LFUN handlers, remove dead code
2101
2102 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2103
2104         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2105
2106 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2107
2108         * text2.C (DEPM): fix part of bug 1255 and 1256
2109
2110 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2111
2112         * BufferView_pimpl.C (workAreaDispatch): change to use
2113         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2114         that are no mouse related.
2115
2116 2003-08-05  André Pönitz  <poenitz@gmx.net>
2117
2118         * BufferView.[Ch]:
2119         * BufferView_pimpl.[Ch]:
2120         * bufferview_funcs.C:
2121         * text2.C:
2122         * text3.C: rip out "deep update"
2123
2124         * textcursor.[Ch] (last_sel_cursor): remove unused member
2125
2126 2003-08-04  André Pönitz  <poenitz@gmx.net>
2127
2128         * BufferView.[Ch]:
2129         * BufferView_pimpl.[Ch]:
2130         * ParagraphParameters.C:
2131         * bufferview_funcs.C:
2132         * lyx_cb.C:
2133         * lyxfind.C:
2134         * lyxfunc.C:
2135         * text.C:
2136         * text2.C:
2137         * text3.C: replace "complicated" BufferView::update(...) calls with
2138         simpler ones.
2139
2140         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2141
2142 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2143
2144         * Makefile.am (lyx_SOURCES): add paper.h
2145
2146 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2147
2148         * Makefile.am: move things around so that both lyx-qt and
2149         lyx-xforms can be built (according to --with-frontend). Then lyx
2150         is a symbolic link to lyx-[firstfrontend]
2151
2152 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2153
2154         * Always use std::endl with lyxerr
2155
2156 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2157
2158         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2159
2160 2003-08-01  André Pönitz  <poenitz@gmx.net>
2161
2162         * BufferView.[Ch]:
2163         * BufferView_pimpl.[Ch]:
2164         * lyxfunc.C:
2165         * text3.C: merge BufferView::repaint() and BufferView::update()
2166
2167 2003-08-01  José Matos  <jamatos@lyx.org>
2168
2169         * buffer.[Ch]: file_format is no longer a buffer data element.
2170
2171 2003-08-01  André Pönitz  <poenitz@gmx.net>
2172
2173         * BufferView.C:
2174         * lyxtext.h:
2175         * text.C:
2176         * text2.C: make redoParagraph more independent of current cursor
2177
2178         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2179         * text.C:
2180         * text2.C: remove unneeded members
2181
2182 2003-07-30  André Pönitz  <poenitz@gmx.net>
2183
2184         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2185
2186         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2187           create a single function...
2188
2189         * paragraph_funcs.C (moveItem): ... here.
2190
2191         * text.C:
2192           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2193
2194 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2195
2196         * LColor.[Ch]: Add comment and greyedout logical colors.
2197
2198 2003-07-30  André Pönitz  <poenitz@gmx.net>
2199
2200         * tabular.C: don't use Assert too heavily. This crashes where it
2201           shouldn't
2202
2203 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2204
2205         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2206         is disabled (bug 1232)
2207
2208 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2209
2210         * factory.C: limited 'arg' scope
2211
2212 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2213
2214         * factory.C: fixed Note submenu issues
2215
2216 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2217
2218         * factory.C: submenu for Note/Comment/Greyedout
2219
2220 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2221
2222         * lyx_main.C (LyX):
2223         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2224
2225 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2226
2227         * LaTeXFeatures.C:
2228         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2229         greyedout. Patch provided by Jürgen Spitzmüller.
2230
2231 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2232
2233         * kbmap.C (read): fix error message when reading bind files
2234
2235 2003-07-29  Angus Leeming  <leeming@lyx.org>
2236
2237         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2238         certainly does not do what it purports to do. I am doing it, and
2239         us, a favour by killing it.
2240
2241 2003-07-28  José Matos  <jamatos@lyx.org>
2242
2243         * buffer.C (readBody, do_writeFile):
2244         * paragraph.C(readParagraph): \end_document replaces \the_end.
2245
2246 2003-07-29  André Pönitz  <poenitz@gmx.net>
2247
2248         * BufferView.[Ch]:
2249         * BufferView_pimpl.[Ch]:
2250         * lyxfunc.C:
2251         * text2.C:
2252         * text3.C:
2253         * textcursor.[Ch]: remove toggleToggle & Co
2254
2255 2003-07-28  José Matos  <jamatos@fep.up.pt>
2256
2257         * buffer.C (readParagraph):
2258         * params_func (readParToken, readParagraph):
2259         * paragraph.C (write): \layout -> \begin_layout.
2260
2261 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2262
2263         * lyxlex_pimpl.C (setFile): clean up slightly.
2264
2265         * bufferparams.h: add compressed var
2266
2267         * buffer_funcs.C (readFile): adjust for LyXLex change
2268         (newFile): ditto + simplify
2269
2270         * buffer.C (writeFile): handle writing of compressed files
2271
2272         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2273         Check if the file is compressed and set a bufferparm if so.
2274
2275         * Makefile.am (lyx_LDADD): remove explicit -lz
2276
2277 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2278
2279         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2280         makeDocBookFile): put the real LyX version in the first line of
2281         the file
2282
2283         * version.h:
2284         * version.C.in: remove lyx_docversion
2285
2286         * tabular.C (write_attribute): add a template-based version to
2287         write enums properly
2288
2289 2003-07-28  André Pönitz  <poenitz@gmx.net>
2290
2291         * lyxtext.h:
2292         * text.C:
2293         * text2.C:
2294         * text3.C: use doubles again for x-coordinates. They are needed.
2295
2296 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2297
2298         * messages.C (getLocaleDir): use lyx_localedir()
2299
2300         * lyxlex_pimpl.C (setFile): compress stuff
2301
2302         * buffer.C (writeFile): add some compression stuff
2303         (do_writeFile): new func, dont call expliti close... will this
2304         breake anything?
2305
2306         * Makefile.am (lyx_LDADD): add -lz
2307
2308 2003-07-28  José Matos  <jamatos@fep.up.pt>
2309
2310         * buffer.C: increment file format.
2311         * paragraph_funcs (readParagraph, readParToken):
2312         * paragraph.C (readParagraph): add \end_layout.
2313
2314 2003-07-27  Angus Leeming  <leeming@lyx.org>
2315
2316         * Makefile.am: remove special casing for configure-time setting of
2317         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2318
2319         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2320         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2321
2322 2003-07-26  André Pönitz  <poenitz@gmx.net>
2323
2324         * paragraph_func.[Ch]:
2325         * paragraph.C (realizeFont): inline it whereever it is used
2326
2327         * rowpainter.C:
2328         * text.C:
2329         * text2.C:
2330         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2331
2332
2333 2003-07-26  André Pönitz  <poenitz@gmx.net>
2334
2335         *       lyxtext.h:
2336         * text.C:
2337         * text2.C: get rid of LyXText::need_break_row
2338
2339 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2340
2341         * toc.[Ch]: put namespace toc inside namespace lyx
2342
2343         * MenuBackend.C (expandToc2): adjust for lyx::toc
2344         (expandToc): ditto
2345
2346         * lyxfunc.C (dispatch): adjust for lyx::find
2347
2348         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2349         lyx::find instead. Reorganize a bit.
2350         (LyXReplace): rename to replace
2351         (LyXFind): rename to find
2352
2353         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2354         (dispatch): ditto
2355
2356 2003-07-26  André Pönitz  <poenitz@gmx.net>
2357
2358         * text.C (setHeightOfRow): restrict scope of temporary variable
2359
2360         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2361           code (never has been used?)
2362
2363 2003-07-27  Asger Alstrup  <alstrup@local>
2364
2365         * text.C (fill): Optimise algorithm to exploit that we can reuse
2366         the LyXFont for many characters.
2367         (setHeightOfRow): Same thing.
2368         (rowBreakPoint): Same thing.
2369
2370 2003-07-26  Asger Alstrup  <alstrup@local>
2371
2372         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2373
2374         * text.C (singleWidth): Spurious font copying in hot-spot
2375         singleWidth avoided. Reorder tests for arabic for efficiency.
2376
2377         * text.C (fill): handle empty paragraphs better.
2378
2379 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2380
2381         * ispell.C:
2382         * encoding.h: add includes
2383
2384         * lyxrc.C: remove reading of bind files
2385
2386         * lyx_main.C (init): setup bindings and menus only if we have a
2387         gui.
2388
2389         * kbmap.C (read): new method. Do the actual reading of bind
2390         files.
2391
2392         * converter.C (dvipdfm_options):
2393         * bufferparams.C:
2394         * lyxrc.C (read):
2395         (output): adapt PAPER_* enums.
2396
2397         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2398
2399         * bufferparams.h: remove paper-related enums from there
2400
2401         * paper.h: New file. A trivial header file to hold paper-related
2402         enums. It should later expand to contain many paper-related
2403         horrors access.
2404
2405         * lyxrc.C: declare extern displayTranslator
2406
2407 2003-07-27  José Matos  <jamatos@fep.up.pt>
2408
2409         * tabular.[Ch] (linuxdoc): add support for tables and figures
2410         (linuxdoc).
2411
2412 2003-07-27  José Matos  <jamatos@fep.up.pt>
2413
2414         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2415         consistency in both functions.
2416         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2417
2418 2003-07-26  Asger Alstrup  <alstrup@local>
2419
2420         * rowpainter.C (paintRows): Change algorithm to work directly on
2421         the insets rather than asking every character in the document
2422         whether its an inset.
2423
2424 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2425
2426         * buffer.C (openFileWrite): factorize some code
2427
2428 2003-07-26  Angus Leeming  <leeming@lyx.org>
2429
2430         * lyx_cb.C:
2431         * lyx_main.[Ch]: replace occurances of system_tempdir with
2432         os::getTmpDir().
2433
2434 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2435
2436         * rename Inset to InsetOld
2437
2438 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2439
2440         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2441         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2442         which I think is a bit clearer. EDIT is gone, since it was
2443         premature optimisation, and broken for mathed anyway.
2444         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2445         with cursor positioning in insets as well (math insets still do not
2446         work, but that's a different story anyway.) It mysteriously
2447         crashes sometimes with undo in the first paragraph, but I'm fairly
2448         confident that this is a compiler bug.
2449
2450 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2451
2452         * paragraph.C (Paragraph): adjust for new clone return type
2453         (operator==): ditto
2454         (copyIntoMinibuffer): ditto
2455
2456 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2457
2458         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2459         by not having a special case, and always doing a full rebreak of
2460         the document after undo.
2461
2462 2003-07-23  Angus Leeming  <leeming@lyx.org>
2463
2464         * factory.C (createInset): InsetExternal::setParams now takes a
2465         Buffer const * arg.
2466
2467 2003-07-23  Angus Leeming  <leeming@lyx.org>
2468
2469         * factory.C (createInset): changed interface to the external and
2470         graphics mailers' string2params functions.
2471
2472 2003-07-23  Angus Leeming  <leeming@lyx.org>
2473
2474         * factory.C (createInset): pass a
2475         Buffer const * parameter to InsetExternalMailer's string2params.
2476
2477 2003-07-22  John Levon  <levon@movementarian.org>
2478
2479         * Thesaurus.h: include the right aiksaurus header
2480
2481 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2482
2483         * MenuBackend.C (expand): check menu shortcuts unconditionally
2484
2485 2003-07-21  Angus Leeming  <leeming@lyx.org>
2486
2487         * factory.C (createInset): pass a
2488         buffer_path parameter to InsetGraphicsMailer's string2params.
2489
2490 2003-07-21  Angus Leeming  <leeming@lyx.org>
2491
2492         * BufferView_pimpl.C (buffer):
2493         * buffer.C (d-tor):
2494         * lyx_main.C (LyX):
2495         * lyxfunc.C (dispatch):
2496         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2497         rather than the grfx shortcut.
2498
2499 2003-07-21  André Pönitz  <poenitz@gmx.net>
2500
2501         * rowpainter.C: remove unused variables
2502
2503         * tabular_funcs.C:
2504         * tabular_funcs.h: move to tabular.C
2505         * Makefile.am: adjust
2506
2507         * tabular.[Ch]: basic optical cleaning
2508
2509         * author.h: pass references, not values
2510
2511 2003-07-18  André Pönitz  <poenitz@gmx.net>
2512
2513         * lyxtext.h:
2514         * metricsinfo.C:
2515         * metricsinfo.h:
2516         * rowpainter.C:
2517         * text.C:
2518         * text2.C:
2519         * text3.C: two-phase drawing for InsetText and InsetTabular
2520         some float -> int changes.
2521
2522 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2523
2524         * lyx_main.C: fix the fix
2525
2526 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2527
2528         * lyx_main.C: fix a crash in batch mode if no files specified
2529         * converter.C: ws
2530
2531 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2532
2533         * format.[Ch] (papersize): moved to BufferParams
2534         * converter.[Ch] (dvips_options): moved to BufferParams
2535         (dvipdfm_options): moved to anon namespace
2536         * bufferparams.[Ch]: added above functions.
2537
2538 2003-07-17  André Pönitz  <poenitz@gmx.net>
2539
2540         * lyxtext.h:
2541         * rowpainter.C:
2542         * text2.C: don't call inset->update() anymore
2543
2544         * metricsinfo.[Ch]: add convenience constructor
2545
2546 2003-07-16  André Pönitz  <poenitz@gmx.net>
2547
2548         * lyxcursor.[Ch]:
2549         * lyxfunc.[Ch]:
2550         * text.C:
2551         * text2.C: replace the LyXCursor::irow_ member with
2552          on-demand computation of the value
2553
2554 2003-07-16  John Levon  <levon@movementarian.org>
2555
2556         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2557
2558 2003-07-15  André Pönitz  <poenitz@gmx.net>
2559
2560         * text.C:
2561         * text2.C: remove no more needed refresh_row
2562
2563 2003-07-15  André Pönitz  <poenitz@gmx.net>
2564
2565         * lyxtext.h:
2566         * rowpainter.C:
2567         * text2.C:
2568         * text3.C: refresh_status tristate -> need_update bool
2569
2570 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2571
2572         * lyxtext.h (init): remove reinit argument (act as if always true)
2573         * text2.C: adjust to that
2574
2575 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2576
2577         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2578         * text3.C: use it to delete selections in some cases
2579         (bugs 441, 673, 702, 954).
2580
2581 2003-07-14  André Pönitz  <poenitz@gmx.net>
2582
2583         * rowpainter.[Ch]: reduce interface
2584
2585 2003-07-14  André Pönitz  <poenitz@gmx.net>
2586
2587         * BufferView_pimpl.C:
2588         * text2.C: adjust after removing unused BufferView * argument
2589
2590 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2591
2592         * text2.C (init): fix a crash fired on resize
2593
2594 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2595
2596         * buffer.[Ch]: added new closing signal
2597         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2598         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2599         BufferView::Pimpl via the closing the signal
2600
2601 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2602
2603         * buffer.[Ch]: take out all bv-related from buffer
2604         * BufferView.C:
2605         * BufferView_pimpl.[Ch]: connect to new signals
2606         * CutAndPaste.C: removed useless asserts
2607         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2608         * lyxvc.[Ch]:
2609         * vc-backend.[Ch]:
2610         * lyxfunc.C: moved view-related funciontality from vc here
2611         * paragraph.C: removed outdated comments
2612         * text.C: ws
2613
2614 2003-07-10  André Pönitz  <poenitz@gmx.net>
2615
2616         * BufferView_pimpl.C:
2617         * tabular.h:
2618         * tabular_funcs.C:
2619         * text.C:
2620         * text2.C: remove InsetText::InnerCache, clean up consequences
2621
2622 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2623
2624         * ispell.C: fix two typos in error messages
2625
2626 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2627
2628         * Extend Note inset to other forms of annotation like Comment
2629         and Greyedout. Right button click gives dialog.
2630
2631         Files modified or added (+):
2632
2633         * insetnote.[Ch]
2634         * FormNote.[Ch]      +
2635         * ControlNote.[Ch]   +
2636         * form_note.fd       +
2637         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2638         frontends/controllers
2639         * xforms/Dialogs.C
2640         * factory.C
2641
2642 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2643
2644         * aspell.C: add missing namespace lyx::support
2645
2646 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2647
2648         * BufferView.[Ch] (newFile): Add
2649         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2650         * LaTeX.[Ch] (message): added this signal and use it
2651         * buffer.[Ch] (busy, message): added these signals and use them
2652         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2653         * converter.C:
2654         * exporter.C:
2655         * format.C:
2656         * importer.C: use buffer signals instead of direct bv calling
2657         * lyx_cb.[Ch] (ShowMessage): removed
2658         * lyx_main.C:
2659         * lyxfunc.C:
2660         * paragraph_funcs.C:
2661         * text2.C: use buffer signals
2662
2663 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2664
2665         * introduce namespace lyx::graphics
2666
2667 2003-07-02  André Pönitz  <poenitz@gmx.net>
2668
2669         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2670
2671 2003-07-01  André Pönitz  <poenitz@gmx.net>
2672
2673         * text.C:
2674         * text2.C:
2675         * text3.C:
2676         * text_funcs.[Ch]:
2677         * textcursor.h:
2678         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2679           text*.C to text_func.C
2680
2681 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2682
2683         * introduce namespace lyx::support
2684
2685 2003-06-30  André Pönitz  <poenitz@gmx.net>
2686
2687         * Chktex.C:
2688         * funcrequest.C:
2689         * lyxtext.h:
2690         * text.C: re-enable --with-included-string
2691
2692 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2693
2694         * textcursor.C: add <config.h>
2695
2696         * text.C (getWord): remove const from word_location arg
2697
2698         * lyxvc.C (getLogFile): fix const type order
2699
2700         * lyxtext.h: remove const from word_location arg, add arg name
2701
2702         * lyxlayout.h: currect type on labeltype.
2703
2704         * importer.C: correct \file
2705
2706         * converter.C (intToFormat): use std:: on ret val, ws changes
2707
2708         * bufferlist.h: correct \file
2709
2710         * buffer.C (makeLinuxDocFile): fix const type order
2711         (makeDocBookFile): ditto
2712         (fillWithBibKeys): use std:: on stdlib args.
2713
2714         * CutAndPaste.C: fix authors.
2715         (availableSelections): use std:: on return vector
2716
2717 2003-06-27  André Pönitz  <poenitz@gmx.net>
2718
2719         * BufferView_pimpl.C:
2720         * bufferview_funcs.C:
2721         * lyxcursor.C:
2722         * lyxcursor.h:
2723         * lyxfunc.C:
2724         * lyxtext.h:
2725         * rowpainter.C:
2726         * text.C:
2727         * text2.C:
2728         * text3.C: remove LyXCursor::row_ member
2729
2730         * lyxtext.h:
2731         * text.C: rename fullRebreak() to partialRebreak() and implement
2732           a fullRebreak() that really bereks fully
2733
2734         * textcursor.h: new struct for cursor-related data
2735
2736 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2737
2738         * lyx_main.C (LyX): get full path of document loaded on the
2739         command line
2740
2741 2003-06-26  André Pönitz  <poenitz@gmx.net>
2742
2743         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2744           remove unused/broken operator>,<,>=.
2745
2746         *       text.C: remove only use of broken operator<= in an Assert().
2747
2748 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2749
2750         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2751         moved errorlist_.clear to showErrorList
2752
2753 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2754
2755         * converter.C (scanLog, runLaTeX):
2756         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2757         move the bv->showErrorList call to the callers
2758         * lyxfunc.C: i.e. here...
2759         * text2.C: and here
2760         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2761         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2762         namespace, the second to...
2763         * buffer_funcs (BufferFormat, parseErrors): added
2764         * errorlist.C (ErrorList(TeXErrors const &)): removed
2765
2766 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2767
2768         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2769
2770 2003-06-24  "Garst R. Reese" <reese@isn.net>
2771
2772         * debug.C: fix typo
2773
2774 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2775
2776         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2777
2778         * version.C.in: change docversion to 1.4
2779
2780 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2781
2782         * buffer.C: fix a bug just introduced
2783
2784 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2785
2786         * buffer.[Ch]: added the parseError signal and use it, removed
2787         sgmlError
2788         * BufferView.[Ch] (addError): moved to ...
2789         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2790         to the Buffer::parseError signal to catch (guess what) parse errors
2791         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2792
2793 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2794
2795         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2796         ability to create a buffer and to return an existing one from
2797         the list. Moved these functions to...
2798         * buffer_funcs.[Ch]: added
2799         * BufferView.[Ch] (loadLyXFile): added
2800         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2801         job removed from bufferlist::loadLyXFile.
2802         * buffer.C (setReadOnly): make it work without view
2803         (i.e added an if (users))
2804
2805 2003-06-19  Angus Leeming  <leeming@lyx.org>
2806
2807         * lfuns.h:
2808         * LyXAction.C (init):
2809         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2810         with LFUN_DIALOG_SHOW <name> <data>.
2811
2812 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2813
2814         * CutAndPaste.C (availableSelections): small compilation fix for
2815         ancient (gcc 2.9x) compilers
2816
2817 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2818
2819         * text3.C (cursorNext): add tmp var
2820
2821         * text2.C (updateCounters): for function calling out of for clause
2822         (replaceSelectionWithString): ditto
2823         (insertStringAsParagraphs): ditto
2824         (getColumnNearX): add tmp var
2825         (setCursorFromCoordinates): add tmp var
2826         (cursorDownParagraph): add tmp var
2827         (deleteEmptyParagraphMechanism): add tmp var
2828
2829         * text.C (insertChar): add tmp var
2830
2831         * rowpainter.C (paintDepthBar): add tmp var
2832
2833         * CutAndPaste.C (availableSelections): potentially check all
2834         paragraphs in a cut to fill the shown strings.
2835
2836 2003-06-18  André Pönitz  <poenitz@gmx.net>
2837
2838         * kbmap.[Ch]: use vector<> instead of list<>
2839
2840 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2841
2842         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2843         pasteSelection with index
2844
2845         * text2.C (pasteSelection): modify, call pasteSelection with index
2846
2847         * paragraph.C (asString): reimplement version with no interval to
2848         call the one with interval.
2849
2850         * lyxtext.h: add index arg to pasteSelection
2851
2852         * MenuBackend.C (MenuItem): handle PasteRecent
2853         (Menu::read::Menutags): add md_pasterecent
2854         (read): handle it
2855         (expandPasteRecent): new function
2856         (expand): use it
2857
2858         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2859
2860         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2861         the limited stack
2862         (availableSelections): new function
2863
2864 2003-06-17  Angus Leeming  <leeming@lyx.org>
2865
2866         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2867
2868 2003-06-17  Angus Leeming  <leeming@lyx.org>
2869
2870         * lfuns.h:
2871         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2872
2873         * lyxfunc.C (dispatch): invoke it.
2874
2875 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2876
2877         * iterators.C (operator++, ParPosition): reintroduce some
2878         const_cast for the benefit of older compilers.
2879
2880 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2881
2882         * text3.C (dispatch): do not modify clipboard when doing
2883         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2884         LFUN_DELETE_SKIP on a selection selection
2885
2886 2003-06-16  André Pönitz  <poenitz@gmx.net>
2887
2888         * BufferView.C:
2889         * buffer.C:
2890         * buffer.h:
2891         * paragraph.C:
2892         * tabular.[Ch]: IU of clone() and getLabelList();
2893
2894 2003-06-13  André Pönitz  <poenitz@gmx.net>
2895
2896         * tabular.h: compactification
2897
2898 2003-06-12  André Pönitz  <poenitz@gmx.net>
2899
2900         * tabular.C:
2901         * tabular.h:
2902         * tabular_funcs.h: some renaming plus whitespace
2903
2904 2003-06-12  André Pönitz  <poenitz@gmx.net>
2905
2906         * BufferView.C:
2907         * BufferView_pimpl.C:
2908         * CutAndPaste.C:
2909         * buffer.C:
2910         * iterators.[Ch]:
2911         * lyxfunc.C:
2912         * text.C:
2913         * toc.C: Return a Paragraph & for ParIterator::operator*()
2914
2915 2003-06-11  John Levon  <levon@movementarian.org>
2916
2917         * lyx_main.C:
2918         * ToolbarBackend.h:
2919         * ToolbarBackend.C: add "Toolbars" section and
2920         put the flags there
2921
2922 2003-06-10  Angus Leeming  <leeming@lyx.org>
2923
2924         * lfuns.h:
2925         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2926
2927         * lyxfunc.C (dispatch): invoke it.
2928
2929 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2930
2931         * main.C: protect <ios> with HAVE_IOS
2932         (main): protect sync_with_stdio with HAVE_IOS
2933
2934 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2935
2936         * text2.C (cutSelection): adjust
2937         (pasteSelection): adjust
2938
2939         * messages.C: handle get of empty string
2940
2941         * main.C (main): use sync_with_stdio(false)
2942
2943         * lyxfunc.C (dispatch): adjust
2944
2945         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2946         (WriteAs): remove unneeded BufferView arg.
2947
2948         * bufferparams.h: use correct types on papersize, papersize2 and
2949         paperpackage.
2950
2951         * bufferparams.C (readToken): adjust for type
2952         (writeLaTeX): add missing cases to switch.
2953
2954         * bufferlist.C (quitWriteBuffer): adjust
2955         (close): adjust
2956
2957         * buffer.C (asciiParagraph): remove some commented code.
2958
2959         * CutAndPaste.C: remove current_view extern variable.
2960         (cutSelection): add BufferParams arg.
2961         (eraseSelection): add BufferParams arg.
2962         (pasteSelection): add Buffer const & arg
2963
2964 2003-06-07  John Levon  <levon@movementarian.org>
2965
2966         * buffer.C:
2967         * paragraph_funcs.C:
2968         * paragraph_pimpl.C:
2969         * text.C:
2970         * text2.C:
2971         * paragraph.h:
2972         * paragraph.C: allow InsetERT to freely space lines,
2973         and some consolidation of code
2974
2975 2003-06-06  José Matos  <jamatos@fep.up.pt>
2976
2977         * buffer.C (makeDocBookFile): fix bug #821
2978
2979 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2980
2981         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2982
2983 2003-06-04  Angus Leeming  <leeming@lyx.org>
2984
2985         * buffer.C: bump format to 224.
2986
2987 2003-06-05  André Pönitz  <poenitz@gmx.net>
2988
2989         * text2.C (redoParagraphs): remove two const_cast<>
2990
2991 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2992
2993         * ParagraphList.h: remove last remnants of NO_STD_LIST
2994
2995 2003-06-03  Angus Leeming  <leeming@lyx.org>
2996
2997         * factory.C (createInset): small change to the way InsetExternal's params
2998         are set.
2999
3000 2003-06-04  André Pönitz  <poenitz@gmx.net>
3001
3002         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3003
3004         * paragraph_pimpl.h:
3005         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3006
3007         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3008
3009         * undo_funcs.C: make some simple cases of undo work again
3010
3011 2003-06-03  John Levon  <levon@movementarian.org>
3012
3013         * ispell.C: HPUX doesn't have sys/select.h
3014         (from Albert Chin)
3015
3016 2003-06-03  John Levon  <levon@movementarian.org>
3017
3018         * CutAndPaste.C: update tabular and include inset
3019         buffer references
3020
3021         * buffer.h:
3022         * paragraph.h:
3023         * paragraph.C: remove owningBuffer(), don't pass Buffer
3024         to clone()
3025
3026         * factory.C: insetGraphicsParams changed
3027
3028 2003-06-02  John Levon  <levon@movementarian.org>
3029
3030         * LyXAction.C:
3031         * factory.C:
3032         * lfuns.h:
3033         * lyxfunc.C:
3034         * text3.C: remove insetparent
3035
3036 2003-06-02  John Levon  <levon@movementarian.org>
3037
3038         * buffer.h:
3039         * buffer.C: fix inset_iterator.end(), move out of line
3040         (bug 1149)
3041
3042 2003-06-01  John Levon  <levon@movementarian.org>
3043
3044         * text3.C: use a proper cut/paste when doing inset
3045         insert (from Jürgen Spitzmüller)
3046
3047 2003-06-01  John Levon  <levon@movementarian.org>
3048
3049         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3050
3051 2003-05-30  André Pönitz  <poenitz@gmx.net>
3052
3053         * rowpainter.C: unify second drawing phase
3054
3055 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3056
3057         * trans_mgr.C: remove one case of current_view
3058
3059         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3060
3061         * paragraph_funcs.h: remove paragraph.h include
3062
3063         * paragraph.h: delete NO_STD_LIST stuff
3064
3065         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3066
3067         * buffer.h: remove paragraph.h include
3068
3069         * ParagraphList.C: delete file
3070
3071         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3072
3073         * toc.C (getTocList): adjust
3074
3075         * paragraph_pimpl.C (validate): adjust
3076
3077         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3078
3079         * paragraph.C (Paragraph): adjust
3080         (getPositionOfInset): use const_iterator, adjust
3081         (bibitem): use const_iterator, adjust
3082         (setInsetOwner): adjust
3083
3084         * iterators.C (operator++): adjust
3085
3086         * InsetList.[Ch]: Replace selfmade iterator with standard
3087         vector::iterator also introduce const_iterator. Remove getPos,
3088         getInset and setInset from InsetTable. Adjust accordingly.
3089
3090         * BufferView.C (lockInset): adjust
3091         (ChangeInsets): adjust
3092
3093         * tabular.[Ch]: delete commented same_id functions
3094
3095 2003-05-28  John Levon  <levon@movementarian.org>
3096
3097         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3098
3099 2003-05-28  André Pönitz  <poenitz@gmx.net>
3100
3101         * metricsinfo.[Ch]: remove 'fullredraw' member
3102
3103 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3104
3105         * lyxtextclass.C (operator): remove caching.
3106
3107 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3108
3109         * text3.C: adjust
3110
3111         * text2.C (cursorBottom): adjust
3112         (setCounter): use ParagraphList::find, adjust
3113
3114         * text.C (workWidth): use ParagraphList::find, adjust
3115
3116         * lyxcursor.C (LyXCursor): adjust
3117
3118         * buffer.C (inset_iterator): adjust
3119
3120         * ParagraphList.h: make iterator(value_type) private, make
3121         ParagraphList a friend of iterator.
3122
3123         * ParagraphList.C (find): new function
3124
3125         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3126
3127 2003-05-27  André Pönitz  <poenitz@gmx.net>
3128
3129         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3130
3131 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3132
3133         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3134
3135 2003-05-26  John Levon  <levon@movementarian.org>
3136
3137         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3138
3139 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3140
3141         * remove same_id from function signatures, adjust.
3142
3143 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3144
3145         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3146
3147         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3148
3149         * paragraph.C (Paragraph): get rid of same_ids parameter
3150
3151         * ParagraphList.C (insert): adjust
3152         (push_back): adjust
3153
3154 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3155
3156         * paragraph_funcs.C (breakParagraph): adjust
3157         (breakParagraphConservative): adjust
3158
3159         * buffer.C (readParagraph): adjust
3160
3161         * ParagraphList.C (insert): take a reference instead of a pointer
3162         (insert): adjust
3163
3164         * paragraph.[Ch] (id): new function
3165
3166         * bufferlist.C (newFile): adjust
3167
3168         * ParagraphList.C (ParagraphList): adjust
3169         (assign): adjust
3170         (push_back): take a reference instead of a pointer.
3171
3172         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3173
3174         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3175         instead.
3176
3177         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3178         set else use old code.
3179
3180         * ParagraphList.C: remove all NO_NEXT code and only compile this
3181         code of NO_STD_LIST is set.
3182
3183 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3184
3185         * BufferView_pimpl.C:
3186         * TextCache.C:
3187         * TextCache.h:
3188         * bufferlist.C:
3189         * errorlist.h:
3190         * format.C:
3191         * format.h:
3192         * graph.C:
3193         * lyxfunc.C:
3194         * lyxrc.C:
3195         * graphics/GraphicsConverter.C:
3196         * graphics/PreviewLoader.C: header adjustment
3197
3198 2003-05-23  Angus Leeming  <leeming@lyx.org>
3199
3200         * LaTeXFeatures.[Ch] (useBabel): new method.
3201         * bufferparams.C (writeLaTeX): use it.
3202
3203 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3204
3205         * ParagraphList.h (set): remove unused function.
3206
3207 2003-05-23  André Pönitz  <poenitz@gmx.net>
3208
3209         * BufferView.C:
3210         * BufferView_pimpl.C:
3211         * buffer.C:
3212         * buffer.h:
3213         * lyxfunc.C:
3214         * undo_funcs.C: setUndo reworked
3215
3216         * iterators.[Ch]: add access to topmost ParagraphList
3217
3218         * lyxtext.[Ch] (workWidth): add a const
3219
3220 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3221
3222         * texrow.[Ch] (increasePos): remove function
3223         * exporter.C (export): removed unused var and outdated comment
3224
3225 2003-05-23  Angus Leeming  <leeming@lyx.org>
3226
3227         * latexrunparams.h: rename fragile as moving_arg.
3228         * paragraph.C (simpleTeXOnePar): ditto.
3229         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3230
3231 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3232
3233         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3234         (createUndo): ditto
3235         (textUndoOrRedo): comment out a currently unused var.
3236
3237         * paragraph.h (NO_NEXT): enable NO_NEXT
3238
3239         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3240
3241         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3242
3243         * exporter.C (Export): adjust for removeAutoInsets removal.
3244
3245         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3246
3247         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3248
3249         * BufferView.[Ch] (removeAutoInsets): delete function
3250
3251 2003-05-22  Angus Leeming  <leeming@lyx.org>
3252
3253         * latexrunparams.h: add a free_spacing variable.
3254
3255         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3256         to pass moving_arg, as the data is stored in runparams.fragile.
3257
3258         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3259         to Inset::latexOptional or to simpleTeXOnePar.
3260
3261         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3262         free_spacing arg to Inset::latexOptional.
3263
3264         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3265         free_spacing arg.
3266
3267 2003-05-22  Angus Leeming  <leeming@lyx.org>
3268
3269         * latexrunparams.h: add fragile and use_babel variables.
3270
3271         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3272         * buffer.C (makeLaTeXFile): store this returned value in
3273         runparams.use_babel, thus passing it to the inset::latex methods.
3274
3275         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3276         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3277
3278         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3279         longer has a fragile arg, as it is stored in runparams.fragile.
3280
3281         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3282         moving_arg parameter as the data is stored in runparams.fragile.
3283
3284         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3285         a fragile parameter as the data is stored in runparams.fragile.
3286
3287 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3288
3289         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3290
3291 2003-05-22  Angus Leeming  <leeming@lyx.org>
3292
3293         * latexrunparams.h: add a 'bool nice' which defaults to false.
3294
3295         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3296         now encapsulated within runparams.
3297
3298         * bufferlist.C (updateIncludedTeXfiles):
3299         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3300
3301 2003-05-22  Angus Leeming  <leeming@lyx.org>
3302
3303         * latexrunparams.h: new file containing struct LatexRunParams.
3304         * Makefile.am: add new file.
3305
3306         * LaTeX.[Ch] (c-tor, run):
3307         * buffer.[Ch] (makeLaTeXFile):
3308         * bufferlist.[Ch] (updateIncludedTeXfiles):
3309         * converter.C (convert, scanLog):
3310         * converter.[Ch] (runLaTeX):
3311         * exporter.C (Export):
3312         * paragraph.[Ch] (simpleTeXOnePar):
3313         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3314         * paragraph_funcs.[Ch] (latexParagraphs):
3315         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3316         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3317         pass around a LatexRunParams parameter.
3318
3319 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3320
3321         * paragraph.[Ch]: remove unused constructor
3322
3323         * ParagraphList.C (erase): new function, taking two iterators
3324
3325 2003-05-22  André Pönitz  <poenitz@gmx.net>
3326
3327         * undo_funcs.C: remove duplicated code
3328
3329         * iterator.[Ch]: operator=
3330
3331 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3332
3333         * tabular.C (SetMultiColumn): ws changes
3334
3335         * rowpainter.C (paintFirst): get rid of a ->previous
3336
3337         * lyx_cb.C (getPossibleLabel): parlist simplification
3338
3339         * BufferView.C (ChangeInsets): simplify slightly.
3340
3341 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3342
3343         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3344         * lfuns.h: new LFUN_SPACE
3345         * lyxfunc.C: protected space has a new lfun
3346         * paragraph_funcs.C: read new space insets
3347         * text3.C:
3348         * factory.C: handle new space insets
3349
3350 2003-05-22  André Pönitz  <poenitz@gmx.net>
3351
3352         * BufferView.C:
3353         * BufferView_pimpl.C:
3354         * buffer.[Ch]:
3355         * lyxfunc.C:
3356         * undo_funcs.C: return a ParIterator from getParFromID.
3357
3358         * iterators.[Ch]: add two const's
3359
3360 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3361
3362         * toc.C (getTocList): adjust
3363
3364         * iterators.[Ch]: rework for parlist
3365
3366         * buffer.C (par_iterator_begin): adjust
3367         (par_iterator_end): adjust
3368
3369         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3370
3371         * BufferView.C (removeAutoInsets): adjust
3372         (ChangeInsets): adjust
3373
3374 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3375
3376         * text.C (top_y): fix bug 1110
3377
3378 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3379
3380         * errorlist.[Ch]: added
3381         * buffer.C:
3382         * BufferView.[Ch]:
3383         * BufferView_pimpl.C:
3384         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3385         instead
3386
3387 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3388
3389         * Makefile.am: ensure that lyx is relinked upon changes to the
3390         various "convenience" libs.
3391
3392 2003-05-20  Angus Leeming  <leeming@lyx.org>
3393
3394         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3395         files are compiled in alphabetical order again.
3396
3397         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3398
3399 2003-05-19  Angus Leeming  <leeming@lyx.org>
3400
3401         * gettext.[Ch]: remove "char const * _(char const *)".
3402
3403 2003-05-19  André Pönitz  <poenitz@gmx.net>
3404
3405         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3406
3407         * Makefile.am:
3408         * BufferView.C:
3409         * DepTable.h:
3410         * LaTeXFeatures.C:
3411         * buffer.C:
3412         * lyxfont.C:
3413         * lyxlex.h:
3414         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3415
3416 2003-05-19  André Pönitz  <poenitz@gmx.net>
3417
3418         * buffer.C:
3419         * lyxlayout.[Ch]:
3420         * lyxtextclass.[Ch]:
3421         * paragraph.C:
3422         * paragraph_funcs.[Ch]:
3423         * text2.C:
3424         * text3.C: more insetenv work
3425
3426 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3427
3428         * ParagraphParameters.C (params2string): small bug fixed
3429
3430 2003-05-16  André Pönitz  <poenitz@gmx.net>
3431
3432         * debug.C:
3433         * bufferview_funcs.C: patch from Kornel Benko to prevent
3434           crash when _(...) is called twice in a statement
3435
3436 2003-05-16  André Pönitz  <poenitz@gmx.net>
3437
3438         * BufferView.C:
3439         * lyxfunc.C:
3440         * text.C:
3441         * text2.C:
3442         * text3.C:
3443         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3444
3445 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3446
3447         * lyx_main.C (init): remove spurious static_cast
3448
3449 2003-05-14  André Pönitz  <poenitz@gmx.net>
3450
3451         * BufferView.C: fix format string
3452
3453 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3454
3455         * BufferView.[Ch] (insertErrors): removed
3456         * BufferView.[Ch] (showErrorList): added
3457         * buffer.C (runChkTeX):
3458         * converter.C (scanLog): call showErrorList instead of inserterrors
3459
3460 2003-05-13  André Pönitz  <poenitz@gmx.net>
3461
3462         * BufferView_pimpl.C:
3463         * buffer.C:
3464         * bufferview_func.C:
3465         * MenuBackend.C:
3466         * lyxfunc.C:
3467         * lyxrc.C:
3468         * tex-accent.C:
3469         * text3.C:
3470         * toc.C:
3471         * tabular_funcs.h: tostr() from its own header
3472
3473         * ParagraphParameters.C:
3474         * ToolbarBackend.C:
3475         * bufferparams.C:
3476         * format.C:
3477         * lyxlex_pimpl.C:
3478         * text3.C: STRCONV()
3479
3480 2003-05-12  André Pönitz  <poenitz@gmx.net>
3481
3482         * BufferView.C:
3483         * BufferView_pimpl.C:
3484         * CutAndPaste.C:
3485         * LaTeX.C:
3486         * LaTeXFeatures.C:
3487         * ParagraphParameters.C:
3488         * buffer.C:
3489         * bufferlist.C:
3490         * bufferparams.C:
3491         * bufferview_funcs.C:
3492         * converter.C:
3493         * counters.C:
3494         * debug.C:
3495         * exporter.C:
3496         * format.C:
3497         * importer.C:
3498         * lyx_cb.C:
3499         * lyx_main.C:
3500         * lyxfont.C:
3501         * lyxfunc.C:
3502         * lyxvc.C:
3503         * paragraph.C:
3504         * paragraph_funcs.C:
3505         * tabular.C:
3506         * tabular_funcs.C:
3507         * text2.C:
3508         * text3.C:  boost::format -> bformat  all over the place
3509
3510
3511 2003-05-09  André Pönitz  <poenitz@gmx.net>
3512
3513         * LColor.[Ch]: Pimpl the #include <map> away
3514
3515 2003-05-09  John Levon  <levon@movementarian.org>
3516
3517         * bufferlist.C: never remove emergency saves
3518
3519 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3520
3521         * Makefile.am: better lib building
3522
3523 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3524
3525         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3526         instead.
3527         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3528         (simpleTeXSpecialChars): adjust
3529         (simpleTeXSpecialChars): adjust
3530         * paragraph.C (simpleTeXOnePar): adjust
3531         * buffer.C (makeLaTeXFile): adjust
3532
3533         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3534
3535         * text2.C (changeDepth): parlist cleanup
3536         (getColumnNearX): ditto
3537
3538         * rowpainter.C (getLabelFont): parlist cleanup
3539
3540         * bufferlist.C (newFile): parlist cleanup
3541
3542         * CutAndPaste.C (eraseSelection): parlist cleanup
3543
3544         * BufferView_pimpl.C (trackChanges): parlist cleanup
3545         (dispatch): ditto
3546
3547         * BufferView.C (lockInset): parlist cleanup.
3548         (ChangeInsets): ditto
3549
3550 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3551
3552         * CutAndPaste.h: Update file header.
3553
3554         * CutAndPaste.C: Update file header.
3555         Store the parts cut out of the Document in a limited_stack.
3556         (copySelection): adjust
3557         (pasteSelection): new function, takes the index in the limited stack.
3558         (nrOfParagraphs): adjust
3559         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3560         simplify error inset insertion.
3561         (checkPastePossible): adjust
3562
3563 2003-05-06  John Levon  <levon@movementarian.org>
3564
3565         * text2.C: don't cast wrap inset to float
3566
3567 2003-05-05  André Pönitz  <poenitz@gmx.net>
3568
3569         * iterator.C:
3570         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3571
3572         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3573           few naked Paragraph *.
3574
3575 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3576
3577         * bufferparams.C: Output warning if a document with missing
3578         TeX document class is loaded
3579         * exporter.C: Disable TeX exports if the document class is missing
3580         * lyxtextclass.C:
3581         * lyxtextclass.h:
3582         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3583         isTeXClassAvailable()
3584
3585 2003-05-03  John Levon  <levon@movementarian.org>
3586
3587         * BufferView.h:
3588         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3589         explicit cursor show/hide
3590
3591         * BufferView_pimpl.h:
3592         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3593         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3594
3595         * lyxfunc.C: hide cursor before dispatching.
3596
3597         * lyx_cb.C:
3598         * lyxfind.C:
3599         * text.C:
3600         * text3.C: remove explicit cursor hides
3601
3602 2003-05-02  André Pönitz  <poenitz@gmx.net>
3603
3604         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3605
3606         * undo_funcs.C:
3607         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3608           linked lists
3609
3610         * text2.C: tiny whitespace
3611
3612 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3613
3614         * undo_funcs.C: almost only ws changes.
3615
3616         * ParagraphList.C (splice): just return if pl is empty.
3617
3618 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3619
3620         * ParagraphList.C (splice): new function.
3621
3622         * CutAndPaste.C (pasteSelection): use it
3623
3624 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3625
3626         * CutAndPaste.C (pasteSelection): remove the last next and
3627         previous from this file.
3628
3629 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3630
3631         * CutAndPaste.C (pasteSelection): more clean up, user proper
3632         ParagraphList functions for pasteing.
3633
3634         * ParagraphList.C (insert): new function, three arg insert
3635
3636 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3637
3638         * ParagraphList.C (insert): new function, three arg insert
3639
3640         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3641         not on paragraphs.
3642
3643 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3644
3645         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3646
3647 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3648
3649         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3650
3651 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3652
3653         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3654         (copySelection): clean up a bit.
3655         (pasteSelection): use make_pair
3656
3657         * ParagraphList.C (ParagraphList): implement copy constructor
3658         (operator=): implement, base on copy constructor.
3659         (assign): new func
3660
3661         * paragraph.C (erase): return a bool
3662
3663         * paragraph_pimpl.C (erasePos): remove function, move contents...
3664         (erase): ... here. Return a bool.
3665         (erase): call erase instead of erasePos.
3666
3667 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3668
3669         * ParagraphList.h: define PitPosPair
3670         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3671         ParagraphList, fix a bug on pasting multiple pars
3672         * text2.C: change interface to C&P
3673
3674 2003-04-30  André Pönitz  <poenitz@gmx.net>
3675
3676         * undo_func.C: revert part of yesterday's patch 2
3677
3678 2003-04-30  John Levon  <levon@movementarian.org>
3679
3680         * LColor.C: s/tabular/table/
3681
3682 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3683
3684         * text3.C (dispatch): do not convert iterator -> pointer
3685         * undo_funcs.C (setCursorParUndo): ditto
3686         * text_funcs.C (transposeChars): ditto
3687
3688         * text2.C (setLayout): ws changes only
3689
3690         * text.C (breakParagraph): do not convert iterator -> pointer
3691         (insertChar): ditto
3692         (acceptChange): ditto
3693         (rejectChange): ditto
3694         (changeCase): ditto
3695         (Delete): ditto
3696         (backspace): ditto
3697
3698         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3699         pointer
3700
3701 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3702
3703         * text3.C (gotoInset): YABG (yet another bad getChar)
3704
3705 2003-04-29  André Pönitz  <poenitz@gmx.net>
3706
3707         * paragraph.h: make operator= private unimplemented as long as
3708           it is unusable
3709
3710         * ParagraphList.C: whitespace
3711
3712         * paragraph.[Ch]:
3713         * paragraph_pimpl.[Ch]:
3714         * paragraph_funcs.C:
3715         * CutAndPaste.C:
3716         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3717
3718         * text2.C:
3719           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3720
3721 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3722
3723         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3724         * paragraph.[Ch] (erase):
3725         * paragraph_pimpl.[Ch] (erase): change return type and value
3726         * text2.C (cutSelection): some rework
3727
3728 2003-04-28  John Levon  <levon@movementarian.org>
3729
3730         * bufferlist.C: changes for unsaved changes dialog
3731
3732 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3733
3734         * bufferlist.C (newFile): set language (messages_) for new
3735         documents also.
3736
3737         * buffer.C (readFile): ws changes only.
3738
3739 2003-04-28  André Pönitz  <poenitz@gmx.net>
3740
3741         * undo_funcs.C:
3742         * lyxfunc.C:
3743         * buffer.[Ch]:
3744         * BufferView_pimpl.C:
3745         * BufferView.C: getParFromID related ParagraphList::iterator changes
3746
3747 2003-04-28  André Pönitz  <poenitz@gmx.net>
3748
3749         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3750           Changes
3751
3752 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3753
3754         * messages.C: remove one more localedir class variable.
3755
3756 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3757
3758         * messages.C (getLocaleDir): singleton generation function
3759         (Pimpl): use it.
3760         (Messages): add a default constructor.
3761
3762         * main.C (main): do not setup localedir here, do not call
3763         gettext_init.
3764
3765         * gettext.C (_): use it.
3766         (gettext_init): delete funciton
3767
3768 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3769
3770         * gettext.C (getLyXMessages): new singleton generating function.
3771
3772         * buffer.C (updateDocLang): adjust
3773
3774         * Makefile.am (messages.o): add target
3775         (main.o): remove target
3776
3777 2003-04-27  John Levon  <levon@movementarian.org>
3778
3779         * bufferlist.C:
3780         * lyx_cb.C:
3781         * lyxfunc.C:
3782         * lyxvc.C: specify cancel button in Alert::prompt
3783
3784 2003-04-26  John Levon  <levon@movementarian.org>
3785
3786         * text3.C:
3787         * lyxfunc.C:
3788         * lfuns.h:
3789         * LyXAction.C: add LFUN_INSET_SETTINGS
3790
3791         * lyxfunc.C: don't enable tabular-feature when there's
3792         just any locking inset
3793
3794 2003-04-26  John Levon  <levon@movementarian.org>
3795
3796         * bufferlist.C: re-add Cancel to buffer close question
3797
3798         * lyxfunc.C: fix import UI a bit
3799
3800 2003-04-25  John Levon  <levon@movementarian.org>
3801
3802         * gettext.C: remove the broken asserts for now
3803
3804 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3805
3806         * messages.C: make case where setlocale cannot comply work better.
3807
3808         * buffer.C (updateDocLang): new function
3809         (changeLanguage): use it
3810         (readFile): use it
3811
3812         * text2.C (setCounter): use B_ a bit.
3813
3814         * lyxlayout.C (Read): be sure to trim the label strings.
3815
3816         * messages.C (Messages): fix typo in comment
3817
3818         * buffer.C (readFile): set message_ after file is loaded.
3819         (makeDocBookFile): remove double return
3820         (changeLanguage): reset message_ upon language change.
3821         (B_): new func, use this to get translated buffer strings.
3822
3823         * main.C: add myself and Jean Marc as authors.
3824
3825 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3826
3827         * messages.[hC]: pimplify Messages, and three different pimpls to be
3828         used in different circumstances.
3829
3830         * gettext.[Ch]: change for use with new message code.
3831
3832 2003-04-24 André Pönitz <poenitz@gmx.net>
3833
3834         * factory.C: support for eqref
3835
3836 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3837
3838         * messages.[Ch]: add missing char
3839
3840         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3841
3842         * messages.[Ch]: New files
3843
3844 2003-04-18  John Levon  <levon@movementarian.org>
3845
3846         * BufferView.h:
3847         * BufferView.C:
3848         * BufferView_pimpl.C:
3849         * lfuns.h:
3850         * LyXAction.C:
3851         * lyxtext.h:
3852         * text2.C: remove layout-copy/paste (bug 778)
3853
3854 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3855
3856         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3857
3858 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3859
3860         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3861         if they succeed. Act accordingly.
3862
3863 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3864
3865         * text2.C (setCharFont): adjust
3866         (setCounter): adjust
3867         (insertStringAsLines): adjust
3868
3869         * text.C (leftMargin): adjust
3870         (setHeightOfRow): adjust
3871
3872         * rowpainter.C (paintFirst): adjust
3873         (paintLast): adjust
3874
3875         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3876         (outerHook): ditto
3877         (isFirstInSequence): ditto
3878         (getEndLabel): ditto
3879         (outerFont): adjust
3880
3881         * paragraph.C (getParLanguage): comment out some hard stuff.
3882
3883         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3884         (sgmlError): ditto
3885         (simpleDocBookOnePar): ditto
3886         (makeDocBookFile): use ParagraphList::iterator
3887
3888         * CutAndPaste.C (pasteSelection): adjust
3889
3890 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3891
3892         * text2.C (getFont): adjust
3893         (getLayoutFont): adjust
3894         (getLabelFont): adjust
3895
3896         * paragraph_funcs.C (TeXOnePar): adjust
3897
3898         * buffer.C (simpleLinuxDocOnePar): adjust
3899         (simpleDocBookOnePar): adjust
3900
3901         * CutAndPaste.C (pasteSelection): adjust
3902
3903         * BufferView.C (getEncoding): adjust
3904
3905         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3906
3907 2003-04-16  John Levon  <levon@movementarian.org>
3908
3909         * lyxfind.C: use parlist stuff for search/changes
3910
3911 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3912
3913         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3914
3915         * text2.C (deleteEmptyParagraphMechanism): adjust
3916
3917         * text2.[Ch] (ownerParagraph): delete func (both of them
3918
3919 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3920
3921         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3922
3923 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3924
3925         * ParagraphList.C: prepare for NO_NEXT
3926
3927 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3928
3929         * text2.C (getFont): adjust
3930         (getLayoutFont): adjust
3931         (getLabelFont): adjust
3932
3933         * paragraph.C (getFont): adjust
3934         (getLabelFont): adjust
3935         (getLayoutFont): adjust
3936
3937         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3938
3939 2003-04-15  John Levon  <levon@movementarian.org>
3940
3941         From Angus Leeming
3942
3943         * lyx_main.C: handle Include in .ui files
3944
3945 2003-04-15  John Levon  <levon@movementarian.org>
3946
3947         * MenuBackend.C: make the doc files length shorter
3948
3949         * ToolbarBackend.h:
3950         * ToolbarBackend.C: handle toolbar placement flags,
3951         Minibuffer
3952
3953 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3954
3955         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3956         adjust
3957
3958         * paragraph_funcs.C (TeXOnePar): adjust
3959
3960         * paragraph.C (getLabelFont): add outerfont arg, adjust
3961         (getLayoutFont): ditto
3962         (simpleTeXOnePar): adjust
3963
3964         * paragraph_pimpl.C (realizeFont): delete func
3965
3966 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3967
3968         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3969         row argument, constify cur argument.
3970
3971 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3972
3973         * text2.C (getFont): adjust
3974         (getLayoutFont): adjust
3975         (getLabelFont): adjust
3976
3977         * paragraph_funcs.C (TeXOnePar): adjust
3978         (outerFont): new func...
3979         (realizeFont): ...moved out from here, changed this to facilitate
3980         transition
3981
3982         * paragraph.C (getFont): take outerfont as arg, adjust
3983         (simpleTeXOnePar): add outerfont arg, adjust
3984
3985         * buffer.C (simpleLinuxDocOnePar): adjust
3986         (simpleDocBookOnePar): adjust
3987
3988         * CutAndPaste.C (pasteSelection): adjust
3989
3990         * BufferView.C (getEncoding): adjust
3991
3992 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3993
3994         * text2.C (setCharFont): adjust
3995         (setCounter): adjust
3996
3997         * text.C (leftMargin): adjust
3998         (setHeightOfRow): adjust
3999
4000         * rowpainter.C (paintFirst): adjust
4001         (paintLast): adjust
4002
4003         * paragraph_pimpl.C (realizeFont): adjust
4004
4005         * paragraph.C (isFirstInSequence): move from here...
4006         * paragraph_funcs.C (isFirstInSequence): ...to here
4007
4008         * paragraph.C (outerHook): move from here...
4009         * paragraph_funcs.C (outerHook): ...to here
4010
4011         * paragraph.C (depthHook): move from here...
4012         * paragraph_funcs.C (depthHook): ...to here
4013
4014         * paragraph.C (getEndLabel): move from here...
4015         * paragraph_funcs.C (getEndLabel): ...to here
4016
4017         * text2.C (realizeFont): move from here...
4018         * paragraph_funcs.C (realizeFont): ...to here
4019
4020 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4021
4022         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4023
4024 2003-04-14  Angus Leeming  <leeming@lyx.org>
4025
4026         * LColor.[Ch]: scrap LColor mathcursor.
4027
4028 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4029
4030         * lyxlex.[Ch] (text): delete function
4031         * trans.C (Load): adjust
4032         * paragraph_funcs.C (readParToken): adjust
4033
4034 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4035
4036         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4037         vector<char> instead of a char[].
4038
4039         * lyxlex_pimpl.C (getString): adjust
4040         (next): adjust
4041         (lex): use getString
4042         (eatLine): adjust
4043         (nextToken): adjust
4044
4045         * lyxlex.C (text): use pimpl_->getString()
4046         (getBool): ditto
4047         (findToken): ditto
4048
4049 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4050
4051         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4052         (makeFontEntriesLayoutSpecific): temp var for par.size()
4053         (setLayout): temp var for ownerParagraphs().end()
4054         (fullRebreak): temp var for rows().end()
4055         (selectionAsString): temp var for boost::next(startpit), realize
4056         that the while really is a regular for loop.
4057         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4058         setCursor in one place.
4059         (setParagraph): temp vr for ownerParagraphs().end()
4060         (updateCounters): make the while loop a for loop
4061         (cutSelection): temp var for ownerParagraphs().end()
4062         (updateInset): make the do {} while() a regular for loop
4063         (getCursorX): use temp vars
4064         (setCurrentFont): use temp vars
4065         (getColumnNearX): use temp vars
4066
4067 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4068
4069         * text.C (transformChar): use temp var for getChar
4070         (computeBidiTables): use temp var for row->par()
4071         (fill): move temp vars for row->par() and pit->layout() earlier in
4072         the function.
4073         (labelFill): use temp var for row->par()
4074         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4075         asc and desc, realize that pit never changes and that firstpit is
4076         just a duplicate and not needed. Exchange rit->par() with pit in a
4077         lot of places.
4078         (breakAgain): use a temp var for boost::next(rit)
4079         (breakAgainOneRow): ditto
4080         (breakParagraph): use a temp var for rows().begin()
4081         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4082         (cursorRightOneWord): use temp var for cursor.par() and
4083         cursor.pos(), remove usage of tmpcursor.
4084         (cursorLeftOneWord): use temp var for cursor.par() and
4085         cursor.pos() only set cur at end of function.
4086
4087 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4088
4089         * text.C, text2.C: exchange all usage of Paragraph::next with
4090         boost::next(ParagraphList::iterator)
4091
4092         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4093
4094         * text2.C (cursorTop): simplify implementation
4095         (cursorBottom): ditto
4096         (setParagraph): use ParagraphList::iterator
4097         (setCurrentFont): adjust
4098         (getColumnNearX): adjust
4099         (cursorRight): adjust
4100         (cursorLeft): remove usage of Paragraph::previous
4101         (cursorUpParagraph): ditto
4102         (deleteEmptyParagraphMechanism): slight cleanup
4103
4104         * text.C (isBoundary): take a Paragraph const & instead of a
4105         pointer as arg.
4106         (addressBreakPoint): ditto
4107         (leftMargin): remove usage of Paragraph::previous.
4108         (setHeightOfRow): ditto
4109         (cursorLeftOneWord): ditto
4110         (selectNextWordToSpellcheck): ditto
4111         (Delete): ditto
4112         (backspace): ditto
4113         (breakParagraph): remove one usage of Paragraph::next
4114         (redoParagraph): ditto
4115         (acceptChange): ditto
4116         (insertChar): adjust
4117         (rowBreakPoint): adjust
4118
4119         * bufferview_funcs.C (toggleAndShow): adjust
4120
4121 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4122
4123         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4124         methods to access it.
4125         * lyxtext.h:
4126         * text.C: Added updateRowPositions to compute all row positions.
4127         Make top_y and getRowNearY() to use the cached y position
4128
4129 2003-04-11  John Levon  <levon@movementarian.org>
4130
4131         * text.C (rowBreakPoint): reintroduce the labelEnd
4132         checks, code copied from the row fill stuff. Deep voodoo.
4133
4134         * text.C (fill): add a comment and debugging for the
4135         next poor soul.
4136
4137 2003-04-11  John Levon  <levon@movementarian.org>
4138
4139         * text.C: make sure fullrow insets get wrapped to the next line,
4140         even when they're in a manual label
4141
4142 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4143
4144         * text2.C (insertParagraph): make it take ParagraphList::iterator
4145         as arg.
4146         (setLayout): make it return ParagraphList::iterator
4147         (redoParagraphs): ditto
4148         (setCounter): ditto
4149         (checkParagraph): ditto
4150
4151         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4152
4153         * text2.C: adjust several funcs.
4154         (realizeFont): take a ParagraphList::iterator as arg.
4155         (getLayoutFont): ditto
4156         (getLabelFont): ditto
4157         (setCharFont): ditto
4158
4159         * text.C: adjust several funcs.
4160
4161 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4162
4163         * text.C (selectNextWordToSpellcheck): don't accidentally
4164         skip insets
4165
4166 2003-04-10  John Levon  <levon@movementarian.org>
4167
4168         * ToolbarBackend.C (getIcon): special handling for
4169         LFUN_MATH_DELIM
4170
4171 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4172
4173         * text2.C (cursorRight): a getChar assert fixed
4174
4175 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4176
4177         * text2.C (getFont): change to take a ParagraphList::iterator
4178         instead of Paragraph*
4179         Adjust several functions.
4180
4181         * text.C (transformChar): change to take a ParagraphList::iterator
4182         instead of Paragraph*
4183         (singleWidth): ditto
4184         Adjust several functions.
4185
4186         * rowpainter.C: adjust several functions
4187         * rowpainter.h:store a ParagraphList::iterator and not a
4188         Paragraph&.
4189
4190
4191 2003-04-09  John Levon  <levon@movementarian.org>
4192
4193         * lyxfunc.C:
4194         * lfuns.h:
4195         * LyXAction.h:
4196         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4197         and the "help" bits as well
4198
4199 2003-04-09  John Levon  <levon@movementarian.org>
4200
4201         * ToolbarBackend.h:
4202         * ToolbarBackend.C: allow multiple toolbars
4203
4204 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4205
4206         * undo_funcs.C (setCursorParUndo): adjust
4207
4208         * text_funcs.C (transposeChars): adjust
4209
4210         * text3.C (gotoNextInset): adjust
4211         (dispatch): adjust
4212
4213         * text2.C (setLayout): adjust
4214         (changeDepth): adjust
4215         (setFont): adjust
4216         (redoParagraphs): adjust
4217         (selectionAsString): adjust
4218         (setParagraph): adjust
4219         (insertInset): adjust
4220         (cutSelection): adjust
4221         (copySelection): adjust
4222         (pasteSelection): adjust
4223         (insertStringAsLines): adjust
4224         (updateInset): adjust
4225         (setCursor): change to take a ParagraphList::iterator parameter
4226         (setCursorIntern): change to take a ParagraphList::iterator parameter
4227         (setCurrentFont): adjust
4228         (cursorLeft): adjust
4229         (cursorRight): adjust
4230         (deleteEmptyParagraphMechanism): adjust
4231
4232         * text.C (breakParagraph): adjust
4233         (insertChar): adjust
4234         (acceptChange): adjust
4235         (rejectChange): adjust
4236         (selectNextWordToSpellcheck): adjust
4237         (changeCase): adjust
4238         (Delete): adjust
4239         (backspace): adjust
4240
4241         * lyxfind.C (SearchForward): adjust
4242         (SearchBackward): adjust
4243         (nextChange): adjust
4244
4245         * lyxcursor.C (par): adjust
4246
4247         * lyxcursor.h: store a ParagraphList::iterator instead of a
4248         Paragraph*
4249
4250         * lyx_cb.C (getPossibleLabel): adjust
4251
4252         * bufferview_funcs.C (toggleAndShow): adjust
4253
4254         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4255         (dispatch): adjust
4256
4257         * BufferView.C (removeAutoInsets): adjust
4258         (lockedInsetStoreUndo): adjust
4259
4260 2003-04-09  John Levon  <levon@movementarian.org>
4261
4262         * ToolbarBackend.C: try icon without argument
4263         if with argument fails
4264
4265 2003-04-08  John Levon  <levon@movementarian.org>
4266
4267         * ToolbarBackend.h:
4268         * ToolbarBackend.C: add getIcon(), handle tooltip,
4269         and change from "Icon" to "Item".
4270
4271 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4272
4273         * BufferView.C (lockInset): another bad getchar crunched
4274
4275 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4276
4277         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4278         again)
4279
4280 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4281
4282         * lyxfind.C (searchForward, searchBackwards): bug 782
4283
4284 2003-04-07  John Levon  <levon@movementarian.org>
4285
4286         * paragraph.C: remove dead comment
4287
4288         * text.C: remove troublesome depth-fiddling code
4289         in leftMargin() and rightMargin() (bug 1017)
4290
4291         * text.C: fix breaking of rows in nested lists
4292         (bug 1004)
4293
4294         * text2.C (updateCounters): fix up depth values
4295         (bug 1013)
4296
4297 2003-04-07  John Levon  <levon@movementarian.org>
4298
4299         * BufferView_pimpl.C: clear message when doc finishes resizing,
4300         and after a mouse event
4301
4302         * lyxfunc.C: clear message after exiting inset
4303
4304 2003-04-07  John Levon  <levon@movementarian.org>
4305
4306         * bufferview_funcs.C: show math status not outside
4307         status in the statusbar
4308
4309 2003-04-07  John Levon  <levon@movementarian.org>
4310
4311         * lyxfunc.C: note status changed after a depth change
4312
4313 2003-04-04  Angus Leeming  <leeming@lyx.org>
4314
4315         * LaTeX.h: move AuxInfo operator==, != out of line.
4316         Remove LaTeX virtual destructor; nothing derives from it.
4317         Move operator()() out of public area and rename it startscript().
4318         Change protected for private.
4319
4320 2003-04-04  Angus Leeming  <leeming@lyx.org>
4321
4322         * lyxfunc.C:
4323         * text2.C: remove unneeded #includes.
4324
4325 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4326
4327         * text2.C (dEPM): fix the heigth of the next row
4328
4329 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4330
4331         * text.C: squashed an invalid getChar requester + some ws changes
4332
4333 2003-04-03  John Levon  <levon@movementarian.org>
4334
4335         * bufferview_funcs.h:
4336         * bufferview_funcs.C:
4337         * lyxfunc.C:
4338         * lyxtext.h:
4339         * text2.C: make getStatus work for the env depth lfuns
4340
4341 2003-04-03  John Levon  <levon@movementarian.org>
4342
4343         * bufferview_funcs.h:
4344         * bufferview_funcs.C:
4345         * lyxfunc.C:
4346         * lyxtext.h:
4347         * text2.C: parlistize decDepth(), by merging it with incDepth()
4348
4349 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4350
4351         * lyxrow.h: store a ParagraphList::iterator instead of a
4352         Paragraph* and adjust other class functions to suit.
4353
4354         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4355         above.
4356
4357 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4358
4359         * text2.C (setCursor): do not anchor to cursor row for the time being
4360
4361 2003-04-02  John Levon  <levon@movementarian.org>
4362
4363         * LyXAction.C:
4364         * lfuns.h:
4365         * lyx_main.C:
4366         * lyxtext.h:
4367         * text.C:
4368         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4369
4370 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4371
4372         * paragraph.h: make ParagraphList and ParagraphList::iterator
4373         friends of Paragraph.
4374
4375         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4376
4377         * ParagraphList.C: Use the private next_ and previous_ from
4378         Paragraph.
4379
4380 2003-04-01  John Levon  <levon@movementarian.org>
4381
4382         * ToolbarBackend.h:
4383         * ToolbarBackend.C:
4384         * Makefile.am: rename, remove defaults gunk
4385
4386         * MenuBackend.h:
4387         * MenuBackend.C: remove defaults gunk
4388
4389         * Languages.h:
4390         * Languages.C: remove defaults gunk
4391
4392         * lyx_main.h:
4393         * lyx_main.C: error out if files couldn't be found.
4394
4395 2003-04-02  John Levon  <levon@movementarian.org>
4396
4397         * text2.C: make incDepth() use parlist
4398
4399 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4400
4401         * undo_funcs.C (firstUndoParagraph): adjust
4402
4403         * text3.C (gotoInset): adjust
4404         (dispatch): adjust, and rewrite loop.
4405
4406         * text2.C (init): adjust, and rewrite loop.
4407         (redoParagraphs): adjust
4408         (updateInset): adjust, and rewrite loop.
4409         (deleteEmptyParagraphMechanism): adjust
4410
4411         * tabular.C (LyXTabular): adjust
4412         (SetMultiColumn): adjust
4413         (TeXRow): adjust
4414
4415         * lyxtext.[Ch] (ownerParagraph): delete function
4416         (ownerParagraphs): new function returns a ParagraphList.
4417
4418         * BufferView.C (removeAutoInsets): adjust
4419         (insertErrors): adjust
4420         (setCursorFromRow): adjust
4421
4422 2003-04-01  Angus Leeming  <leeming@lyx.org>
4423
4424         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4425         in the frontends.
4426
4427 2003-04-02  John Levon  <levon@movementarian.org>
4428
4429         * lyxtext.h:
4430         * text.C:
4431         * Makefile.am:
4432         * text_funcs.h:
4433         * text_funcs.C: make transposeChars a free function
4434
4435         * lyxrow_funcs.C: remove wrong comment
4436
4437 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4438
4439         * lyxtext.h: adjust
4440         * rowpainter.C: adjust
4441         * text.C: adjust
4442         * text2.C: adjust
4443         * text3.C: adjust
4444
4445         * lyxrow_funcs. [Ch]: new files
4446
4447         * lyxrow.[Ch]: remove next and previous pointers
4448         (next,previous): remove accessor functions
4449         (isParEnd): move to lyxrow_funcs
4450         (lastPos): move to lyxrow_funcs
4451         (nextRowIsAllInset): move to lyxrow_funcs
4452         (lastPrintablePos): move to lyxrow_funcs
4453         (numberOfSeparators): move to lyxrow_funcs
4454         (numberOfHfills): move to lyxrow_funcs
4455         (numberOfLabelHfills): move to lyxrow_funcs
4456         (hfillExpansion): move to lyxrow_funcs
4457
4458         * lyxfunc.C: adjust
4459
4460         * bufferview_funcs.C (toggleAndShow): adjust
4461
4462         * RowList.h: Remove class RowList from file leave just a
4463         std::list<Row>.
4464
4465         * RowList.C: delete file
4466
4467         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4468         and lyxrow_funcs.h
4469
4470 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4471
4472         * text3.C (cursorPrevious): adjust
4473         (cursorNext): adjust
4474         (dispatch): adjust
4475
4476         * text2.C (redoHeightOfParagraph): adjust
4477         (redoDrawingOfParagraph): adjust
4478         (setCursor): adjust
4479
4480         * text.C (breakParagraph): adjust
4481         (insertChar): adjust
4482         (backspace): adjust
4483
4484         * rowpainter.C (RowPainter): adjust
4485         (leftMargin): simplify and adjust
4486         (most rowpainter functions): adjust.
4487
4488         * rowpainter.h: store the row as RowList::iterator not as Row*
4489
4490         * lyxcursor.C (row): taka RowList::iterator as arg
4491         (irow): ditto
4492
4493         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4494         of Row*.
4495
4496 2003-04-01  Angus Leeming  <leeming@lyx.org>
4497
4498         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4499         stuff like bool Bool.
4500
4501 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4502
4503         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4504         rewrite a loop
4505
4506 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4507
4508         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4509         RowList::iterator.
4510
4511         * lyxtext.h (rows): drop one version and leve a const variant that
4512         returns a RowList::iterator.
4513
4514 2003-03-31  Angus Leeming  <leeming@lyx.org>
4515
4516         * text.C (fill): ensure that the signature is the same as that in the
4517         header file.
4518
4519 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4520
4521         * text2.C (redoParagraphs): adjust
4522         (updateCounters): adjust
4523         (checkParagraph): adjust
4524         (getColumnNearX): adjust and reformat a bit.
4525
4526         * text.C (top_y): adjust
4527         (workWidth): adjust
4528         (leftMargin): adjust
4529         (prepareToPrint): adjust
4530         (getRow): adjust
4531         (getRowNearY): adjust
4532
4533         * lyxtext.h: make rowlist_ mutable.
4534
4535         * RowList.h: add const_iterator
4536         * RowList.C: adjust for RowList::const_iterator.
4537
4538         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4539         adjust.
4540
4541 2003-03-31  John Levon  <levon@movementarian.org>
4542
4543         * lyxrc.h:
4544         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4545
4546         * lyx_main.C: set default fonts from using lyx_gui funcs
4547
4548         * exporter.C: pdf_mode moved from lyxrc
4549
4550         * lyx_cb.C:
4551         * lyxfunc.C: changes from above
4552
4553 2003-03-31  John Levon  <levon@movementarian.org>
4554
4555         * lyx_main.C: fix to the last fix
4556
4557 2003-03-31  John Levon  <levon@movementarian.org>
4558
4559         * bufferlist.C: "Load original" -> "Load Original"
4560
4561         * converter.C:
4562         * exporter.C:
4563         * importer.C:
4564         * lyx_main.C:
4565         * format.C: more Alert cleanups
4566
4567 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4568
4569         * text2.C (removeParagraph): make it take a RowList::iterator as
4570         arg, adjust.
4571         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4572         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4573
4574         * text.C (anchor_row): make it take a RowList::iterator as arg,
4575         adjust.
4576         (computeBidiTables): make it take a const reference to Row instead
4577         of Row pointer, adjust.
4578         (leftMargin): make it take a RowList::iterator as arg, adjust.
4579         (rowBreakPoint): adjust
4580         (breakAgainOneRow): make it take a RowList::iterator as arg,
4581         adjust.
4582         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4583
4584         * bufferview_funcs.C (toggleAndShow): adjust
4585
4586 2003-03-30  John Levon  <levon@movementarian.org>
4587
4588         * Makefile.am:
4589         * BoostFormat.h:
4590         * boost-inst.C: moved to support
4591
4592         * several files: changes as a result
4593
4594 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4595
4596         * text2.C (LyXText): adjust.
4597         (init): adjust
4598         (removeRow): make it take a RowList::iterator as arg, adjust.
4599         (fullRebreak): adjust
4600         (deleteEmptyParagraphMechanism): adjust
4601         (clearPaint): adjust
4602         (postPaint): adjust
4603
4604         * text.C (top_y): adjust
4605         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4606         (breakAgain): make it take a RowList::iterator as arg, adjust.
4607         (breakParagraph): adjust
4608         (insertChar): adjust
4609         (backspace): adjust
4610
4611         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4612         need_break_row, and refresh_row.
4613
4614         * text3.C (dispatch): adjust
4615
4616         * text2.C (checkParagraph): adjust
4617         (setCursor): adjust
4618         (setCursorFromCoordinates): adjust
4619
4620         * text.C (top_y): adjust
4621         (workWidth): adjust
4622         (getRow): make it return a RowList::iterator, adjust
4623         (getRowNearY): make it return a RowList::iterator, adjust
4624
4625         * text2.C (init): adjust
4626         (insertRow): remove function
4627         (insertParagraph): adjust
4628         (redoParagraphs): adjust
4629         (fullRebreak): adjust
4630         (updateCounters): adjust
4631
4632         * text.C (top_y): rewrite to use RowList iterators.
4633         (top_y): adjust
4634         (setHeightOfRow): rewrite to sue RowList iterators.
4635         (appendParagraph): adjust
4636         (breakAgain): adjust
4637         (breakAgainOneRow): adjust
4638         (breakParagraph): adjust
4639         (getRow): adjust
4640         (getRowNearY): adjust, and remove commented code.
4641
4642         * lyxtext.h (firstRow): delete function
4643         (lastRow): delete function
4644         (rows): new function (const and non-const versions.)
4645         (insertRow): delete function
4646
4647         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4648
4649 2003-03-29  John Levon  <levon@movementarian.org>
4650
4651         * BufferView_pimpl.C: always update scrollbar top
4652         because pasting text when we're anchored could mean we
4653         miss an update altogether
4654
4655 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4656
4657         * text2.C (init): use rowlist_.end() and not 0.
4658         (insertRow): change to take a RowList::iterator as arg, adjust
4659         for this.
4660         (insertParagraph): change to take a RowList::iterator as arg,
4661         adjust for this.
4662         (redoParagraphs): remove some debug msgs.
4663
4664         * text.C (appendParagraph): change to take a RowList::iterator
4665         arg, adjust for this.
4666         (breakAgain): add an assert
4667         (breakAgainOneRow): ditto
4668
4669 2003-03-29  John Levon  <levon@movementarian.org>
4670
4671         * text2.C: do not clear selection after inc/decDepth
4672         (bug 550)
4673
4674 2003-03-29  John Levon  <levon@movementarian.org>
4675
4676         * BufferView.C:
4677         * buffer.C: fix broken strerrors according to Lars
4678
4679 2003-03-29  John Levon  <levon@movementarian.org>
4680
4681         * converters.C: more Alert cleanups
4682
4683 2003-03-29  John Levon  <levon@movementarian.org>
4684
4685         * bufferview_funcs.C: remove pointless Alert
4686
4687         * buffer.C: fix confusing error message when
4688         a template is chmoded 000
4689
4690 2003-03-29  John Levon  <levon@movementarian.org>
4691
4692         * BufferView.C:
4693         * BufferView.h:
4694         * BufferView_pimpl.C: Alert fixes
4695
4696         * Makefile.am:
4697         * tabular.C:
4698         * tabular-old.C: remove unused table compat reading
4699
4700 2003-03-29  John Levon  <levon@movementarian.org>
4701
4702         * BufferView.C:
4703         * buffer.C:
4704         * lyx_cb.h:
4705         * lyx_cb.C: more Alert cleanups
4706
4707         * lyxfunc.C: don't allow chktex if not latex document
4708
4709 2003-03-29  John Levon  <levon@movementarian.org>
4710
4711         * lyx_cb.C:
4712         * BufferView.C:
4713         * buffer.C: warnings pushed down from support/,
4714         kill err_alert
4715
4716 2003-03-29  John Levon  <levon@movementarian.org>
4717
4718         * lyxfunc.C: safety check for C-r (revert)
4719
4720 2003-03-29  John Levon  <levon@movementarian.org>
4721
4722         * bufferlist.h:
4723         * bufferlist.C: several UI fixes using Alert::prompt.
4724         Fix the pointless looping quit code. Fix stupid revert
4725         behaviour (bug 938)
4726
4727         * lyxvc.h:
4728         * lyxvc.C:
4729         * lyx_cb.C: use Alert::prompt
4730
4731         * lyx_main.C: remove a silly question
4732
4733         * lyxfunc.C: remove a couple of silly questions,
4734         use Alert::prompt
4735
4736 2003-03-28  John Levon  <levon@movementarian.org>
4737
4738         * text2.C: fix bug 974 (End on empty par)
4739
4740 2003-03-28  John Levon  <levon@movementarian.org>
4741
4742         * BufferView_pimpl.C:
4743         * LyXAction.C:
4744         * lfuns.h: remove do-nothing math greek lfuns
4745
4746 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4747
4748         * lyxgluelength.h (isValidGlueLength): add default arg on
4749         parameter 2. Remove default arg from friend in class.
4750
4751         * lyxlength.h (isValidLength): add default arg on parameter 2.
4752         Remove default arg from friend in class.
4753
4754         * text2.C (LyXText): adjust, initialize refresh_row.
4755         (init): adjust
4756         (removeRow): adjust
4757         (insertRow): adjust
4758         (insertParagraph): adjst
4759         (redoParagraphs): adjust
4760         (fullRebreak): adjust
4761         (updateCounters): adjust
4762         (deleteEmptyParagraphMechanism): first attempt at fixing a
4763         crashing bug.
4764
4765         * text.C (top_y): adjust
4766         (setHeightOfRow): adjust
4767         (getRow): adjust
4768         (getRowNearY): adjust
4769
4770         * lyxtext.h: include RowList.h
4771         (~LyXText): not needed anymore, deleted.
4772         (firstRow): modify for RowList
4773         (lastRow): new function
4774         Delete firstrow and lastrow class variables, add a Rowlist
4775         rowlist_ class variable.
4776
4777         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4778         paragraph is empty.
4779
4780         * RowList.C (insert): fix case where it == begin().
4781
4782 2003-03-26  Angus Leeming  <leeming@lyx.org>
4783
4784         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4785         the thesaurus dialog.
4786
4787 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4788
4789         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4790
4791         * RowList.[Ch]: new files
4792
4793         * ParagraphList.C (erase): handle the case where it == begin
4794         correctly.
4795
4796 2003-03-25  John Levon  <levon@movementarian.org>
4797
4798         * Makefile.am:
4799         * aspell_local.h:
4800         * aspell.C: add new aspell support
4801
4802         * lyxrc.h:
4803         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4804         have it accessible.
4805
4806 2003-03-25  Angus Leeming  <leeming@lyx.org>
4807
4808         * lfuns.h:
4809         * LyXAction.C (init): new LFUN_INSET_INSERT.
4810
4811         * BufferView_pimpl.C (dispatch): split out part of the
4812         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4813
4814         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4815         LFUN_INSET_APPLY.
4816
4817 2003-03-25  Angus Leeming  <leeming@lyx.org>
4818
4819         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4820
4821 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4822
4823         * text2.C:
4824         * text3.C: remove useless row->height(0)
4825
4826 2003-03-25  John Levon  <levon@movementarian.org>
4827
4828         * lyxtext.h:
4829         * text2.C:
4830         * text3.C: rename the refreshing stuff to better names
4831
4832 2003-03-24  John Levon  <levon@movementarian.org>
4833
4834         * BufferView_pimpl.h:
4835         * BufferView_pimpl.C: update layout choice on a mouse
4836         press/release
4837
4838 2003-03-23  John Levon  <levon@movementarian.org>
4839
4840         * Makefile.am: fix commandtags.h reference
4841
4842 2003-03-22  John Levon  <levon@movementarian.org>
4843
4844         * BufferView_pimpl.C:
4845         * lyxtext.h:
4846         * rowpainter.C:
4847         * rowpainter.h:
4848         * text.C:
4849         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4850
4851 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4852
4853         * lyxtext.h:
4854         * text.C: take the rtl methods out of line
4855
4856 2003-03-21 André Pönitz <poenitz@gmx.net>
4857
4858         * metricsinfo.[Ch]: new files containing structures to be passed around
4859         during the two-phase-drawing...
4860
4861 2003-03-21 André Pönitz <poenitz@gmx.net>
4862
4863         * lyxtextclass.C: read 'environment' tag.
4864
4865 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4866
4867         * text2.C (removeRow): fix bug 964
4868
4869 2003-03-20  John Levon  <levon@movementarian.org>
4870
4871         * rowpainter.C:
4872         * text.C:
4873         * text2.C: paint cleanups. Inset::update() dropped font
4874         parameter
4875
4876 2003-03-19  John Levon  <levon@movementarian.org>
4877
4878         * lyxfunc.C: only fitcursor/markDirty if available()
4879
4880 2003-03-19  John Levon  <levon@movementarian.org>
4881
4882         * commandtags.h: rename to ...
4883
4884         * lfuns.h: ... this, and renumber / cleanup
4885
4886 2003-03-19  John Levon  <levon@movementarian.org>
4887
4888         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4889         fit the cursor after an lfun
4890
4891         * BufferView.h:
4892         * BufferView.C:
4893         * BufferView_pimpl.h:
4894         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4895
4896         * LyXAction.C: layout-character should have ReadOnly
4897
4898         * ParagraphParameters.C:
4899         * buffer.C:
4900         * bufferview_funcs.C:
4901         * lyx_cb.C:
4902         * lyxfind.C:
4903         * lyxtext.h:
4904         * text.C:
4905         * text2.C:
4906         * text3.C:
4907         * undo_funcs.C: changes from above
4908
4909 2003-03-18  John Levon  <levon@movementarian.org>
4910
4911         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4912         remove it from update()
4913
4914         * lyxfunc.C: update layout choice after an lfun
4915
4916         * text3.C: remove extra updateLayoutChoice()s
4917
4918 2003-03-18  John Levon  <levon@movementarian.org>
4919
4920         * text.C: top_y change means full repaint, fix
4921         a drawing bug with cursor movement
4922
4923 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4924
4925         * lyxtext.h:
4926         * text.C:
4927         * text2.C: anchor row on setCursor
4928
4929 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4930
4931         * lyxtext.h: remove almost all mutable keywords
4932         * text.C:
4933         * text2.C:
4934         * text3.C: remove const keywords accordingly
4935
4936 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4937
4938         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4939         anon namespace
4940         (TeXEnvironment): ditto
4941         (TeXOnePar): ditto
4942
4943 2003-03-17  John Levon  <levon@movementarian.org>
4944
4945         * text.C (rowBreakPoint): remove attempt to fix displayed
4946         math insets inside a manual label
4947
4948 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4949
4950         * lyxtext.h: remove BufferView* as first arg from almost all class
4951         functions.
4952         * other files: adjust.
4953
4954 2003-03-17  John Levon  <levon@movementarian.org>
4955
4956         * lyxtext.h:
4957         * undo_funcs.C:
4958         * text2.C: more paint cleanups
4959
4960         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4961
4962         * rowpainter.h:
4963         * rowpainter.C: remove "smart" background painting code
4964
4965 2003-03-16  John Levon  <levon@movementarian.org>
4966
4967         * lyxtext.h:
4968         * text.C:
4969         * text2.C:
4970         * text3.C: add helper functions for setting refresh_row/y
4971
4972 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4973
4974         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4975         newline inset which *can* get inserted in the pass_thru layouts.
4976         This is primarily for literate documents.
4977
4978 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4979
4980         * buffer.C: increment LYX_FORMAT to 223
4981
4982 2003-03-14 André Pönitz <poenitz@gmx.net>
4983
4984         * textclass.h: prepare for environment handling, ws changes
4985         * lyxlayout.C: read latexheader and latexfooter tags
4986
4987 2003-03-14  John Levon  <levon@movementarian.org>
4988
4989         * text2.C: rewrite ::status() a bit
4990
4991 2003-03-13  John Levon  <levon@movementarian.org>
4992
4993         * lyxtext.h: add some docs
4994
4995 2003-03-13  John Levon  <levon@movementarian.org>
4996
4997         * lyxtext.h:
4998         * text.C:
4999         * text2.C:
5000         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5001
5002 2003-03-13  John Levon  <levon@movementarian.org>
5003
5004         * text3.C: fix appendix redrawing
5005
5006 2003-03-13  John Levon  <levon@movementarian.org>
5007
5008         * text.C (setHeightOfRow):
5009         * rowpainter.h:
5010         * rowpainter.C: make appendix mark have the text
5011           "Appendix" so the user knows what it is
5012
5013         * LColor.h:
5014         * LColor.C: s/appendixline/appendix/ from above
5015
5016 2003-03-13  John Levon  <levon@movementarian.org>
5017
5018         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5019
5020         * text.C: fix a getChar(pos) bug properly
5021
5022 2003-03-13  Angus Leeming  <leeming@lyx.org>
5023
5024         * commandtags.h:
5025         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5026         Probably only temporary. Let's see how things pan out.
5027
5028         * BufferView.C (unlockInset):
5029         * BufferView_pimpl.C (fitCursor):
5030         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5031
5032         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5033         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5034
5035         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5036         new functions that convert ParagraphParameters to and from a string.
5037
5038         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5039         BufferView::Pimpl's dispatch.
5040         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5041
5042 2003-03-13 André Pönitz <poenitz@gmx.net>
5043
5044         * lyxfunc.C:
5045         * text3.C:
5046         * factory.C: make it aware of InsetEnv
5047
5048 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5049
5050         * text2.C (setCursor): never ask for one past last
5051         (setCursor): add some debugging messages.
5052
5053         * text.C (singleWidth): never ask for one past last
5054         (singleWidth): ditto
5055         (leftMargin): ditto
5056         (rightMargin): ditto
5057         (rowBreakPoint): ditto
5058         (setHeightOfRow): ditto
5059         (prepareToPrint): ditto
5060
5061         * rowpainter.C (paintBackground): never ask for one past last
5062         (paintText): never ask for one past last
5063
5064         * paragraph_pimpl.C (getChar): make the assert stricter, never
5065         allow the one past last pos to be taken
5066
5067         * paragraph.C (getChar): ws changes only
5068
5069         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5070         (numberOfSeparators): ditto
5071         (numberOfHfills): ditto
5072
5073 2003-03-12  John Levon  <levon@movementarian.org>
5074
5075         * author.h:
5076         * author.C:
5077         * bufferparams.h:
5078         * bufferparams.C:
5079         * paragraph_funcs.C: fix per-buffer authorlists
5080
5081 2003-03-12  John Levon  <levon@movementarian.org>
5082
5083         * text.C: fix newline in right address
5084
5085 2003-03-12  Angus Leeming  <leeming@lyx.org>
5086
5087         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5088         duplicate those in LyXFunc::dispatch.
5089
5090         * commandtags.h:
5091         * LyXAction.C:
5092         * ToolbarDefaults.C:
5093         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5094         Add LFUN_FONTFREE_UPDATE.
5095
5096         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5097         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5098
5099         * bufferview_func.[Ch]: several new functions to facilliate
5100         transfer of data to and from the character dialog.
5101
5102 2003-03-12  John Levon  <levon@movementarian.org>
5103
5104         * buffer.C:
5105         * paragraph.h:
5106         * paragraph.C:
5107         * paragraph_funcs.C:
5108         * paragraph_pimpl.C:
5109         * sgml.C:
5110         * tabular.C:
5111         * text.C:
5112         * text3.C: remove META_NEWLINE in favour of an inset
5113
5114         * rowpainter.h:
5115         * rowpainter.C: remove paintNewline (done by inset)
5116
5117 2003-03-12  John Levon  <levon@movementarian.org>
5118
5119         * paragraph_pimpl.C: complain about bad getChar()s
5120         for a while at least
5121
5122 2003-03-12  John Levon  <levon@movementarian.org>
5123
5124         * buffer.h:
5125         * buffer.C: move paragraph read into a separate function,
5126         a little renaming to reflect that.
5127
5128         * bufferparams.h:
5129         * bufferparams.C: remove the author_ids map, not necessary now
5130
5131         * factory.h:
5132         * factory.C: moved Buffer::readInset to here
5133
5134         * paragraph_funcs.h:
5135         * paragraph_funcs.C: readParagraph free function moved from
5136         buffer.C
5137
5138         * tabular.C: name change
5139
5140 2003-03-12  John Levon  <levon@movementarian.org>
5141
5142         * buffer.C:
5143         * ParagraphParameters.C: move par params input to
5144         a read() method
5145
5146         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5147         behave like a normal read from the stream wrt reading
5148         a line vs. a \\token
5149
5150 2003-03-12  John Levon  <levon@movementarian.org>
5151
5152         * paragraph.C:
5153         * ParagraphParameters.h:
5154         * ParagraphParameters.C: move output code to a
5155         ::write() method
5156
5157 2003-03-12  John Levon  <levon@movementarian.org>
5158
5159         * BufferView.C (insertLyXFile):
5160         * buffer.h:
5161         * buffer.C:
5162         * tabular.C: use a parlist iterator for creating the
5163           document.
5164
5165 2003-03-12  John Levon  <levon@movementarian.org>
5166
5167         * buffer.C: make current_change static local not
5168           static file-scope
5169
5170 2003-03-12  John Levon  <levon@movementarian.org>
5171
5172         * buffer.C: fix insertStringAsLines for change tracking
5173
5174 2003-03-12  John Levon  <levon@movementarian.org>
5175
5176         * BufferView.C:
5177         * tabular.C:
5178         * buffer.h:
5179         * buffer.C:
5180         * bufferparams.h:
5181         * bufferparams.C: move author list into params. Rename some
5182           functions. Move the header reading into a separate token
5183           loop. Move the header token reading into BufferParams.
5184
5185 2003-03-12  John Levon  <levon@movementarian.org>
5186
5187         * changes.C: put debug inside lyxerr.debugging() checks
5188
5189 2003-03-11 André Pönitz <poenitz@gmx.net>
5190
5191         * factory.C: make it aware of InsetHFill
5192
5193 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5194
5195         * buffer.C (latexParagraphs): move function from here...
5196         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5197         args.
5198
5199 2003-03-10  Angus Leeming  <leeming@lyx.org>
5200
5201         * LyXAction.C (init): fix bug in poplating array with multiple entries
5202         with the same LFUN (spotted by JMarc).
5203
5204 2003-03-10  John Levon  <levon@movementarian.org>
5205
5206         * text.C:
5207         * text2.C: move getColumnNearX() near its
5208         only call site
5209
5210 2003-03-10  John Levon  <levon@movementarian.org>
5211
5212         * text.C: fix break before a minipage
5213
5214 2003-03-10  John Levon  <levon@movementarian.org>
5215
5216         * text.C: fix the last commit
5217
5218 2003-03-09  John Levon  <levon@movementarian.org>
5219
5220         * lyxtext.h:
5221         * text.C:
5222         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5223         bug 365 (don't break before insets unless needed). Don't
5224         return a value > last under any circumstances.
5225
5226 2003-03-09  Angus Leeming  <leeming@lyx.org>
5227
5228         * BufferView_pimpl.C (trackChanges, dispatch): call
5229         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5230
5231 2003-03-09  Angus Leeming  <leeming@lyx.org>
5232
5233         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5234         than Dialogs::showAboutlyx().
5235
5236 2003-03-09  Angus Leeming  <leeming@lyx.org>
5237
5238         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5239         than Dialogs::showTabularCreate().
5240
5241 2003-03-09  John Levon  <levon@movementarian.org>
5242
5243         * lyxtext.h:
5244         * text.C:
5245         * text2.C: 3rd arg to nextBreakPoint was always the same.
5246           Use references.
5247
5248 2003-03-08  John Levon  <levon@movementarian.org>
5249
5250         * lyxrow.C:
5251         * paragraph.C:
5252         * paragraph.h:
5253         * rowpainter.C:
5254         * text.C:
5255         * text2.C: Remove the "main" bit from the "main body"
5256           notion.
5257
5258 2003-03-08  John Levon  <levon@movementarian.org>
5259
5260         * text.C (leftMargin): The left margin of an empty
5261         manual label paragraph should not include the label width
5262         string length.
5263
5264         * text.C (prepareToPrint): don't attempt to measure hfills
5265         for empty manual label paragraphs - the answer should be 0
5266
5267 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5268
5269         * CutAndPaste.C: remove commented code and reindent.
5270
5271 2003-03-08  John Levon  <levon@movementarian.org>
5272
5273         * lyxfunc.h:
5274         * lyxfunc.C: move reloadBuffer()
5275
5276         * BufferView.h:
5277         * BufferView.C: to here
5278
5279         * lyxvc.C: add comment
5280
5281         * vc-backend.h:
5282         * vc-backend.C: call bv->reload() to avoid
5283           getStatus() check on MENURELOAD
5284
5285 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5286
5287         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5288         to an old format .dep file.
5289
5290 2003-03-07  Angus Leeming  <leeming@lyx.org>
5291
5292         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5293         when the LFUN_MOUSE_RELEASE should have been handled by
5294         inset->localDispatch.
5295
5296 2003-03-07  Angus Leeming  <leeming@lyx.org>
5297
5298         * BufferView_pimpl.C (dispatch):
5299         * LyXAction.C (init):
5300         * ToolbarDefaults.C (init):
5301         * commandtags.h:
5302         * lyxfunc.C (getStatus):
5303         remove LFUN_INSET_GRAPHICS.
5304
5305         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5306
5307 2003-03-07  Angus Leeming  <leeming@lyx.org>
5308
5309         * commandtags.h:
5310         * LyXAction.C (init):
5311         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5312
5313         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5314
5315         * commandtags.h:
5316         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5317
5318         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5319         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5320
5321 2003-03-07  Angus Leeming  <leeming@lyx.org>
5322
5323         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5324         remove "ert".
5325
5326 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5327
5328         * ParagraphList.C (front): new function
5329         (back): implement
5330
5331 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5332
5333         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5334         and top_row_offset_. removed var first_y.
5335         * text.C (top_y):
5336         * text2.C (LyXText, removeRow):
5337         * text3.C:
5338         * BufferView_pimpl.C:
5339         use these methods instead of using first_y
5340
5341 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5342
5343         * text2.C (pasteSelection): adjust for checkPastePossible
5344
5345         * CutAndPaste.C: remove Paragraph * buf and replace with
5346         ParagraphList paragraphs.
5347         (DeleteBuffer): delete
5348         (cutSelection): change the tc type to textclass_type
5349         (copySelection): change the tc type to textclass_type
5350         (copySelection): adjust for ParagraphList
5351         (pasteSelection): change the tc type to textclass_type
5352         (pasteSelection): adjust for Paragraphlist
5353         (nrOfParagraphs): simplify for ParagraphList
5354         (checkPastePossible): simplify for ParagraphList
5355         (checkPastePossible): remove unused arg
5356
5357         * ParagraphList.C (insert): handle the case where there are no
5358         paragraphs yet.
5359
5360         * CutAndPaste.h: make CutAndPaste a namespace.
5361
5362         * text3.C (dispatch): adjust
5363
5364         * text.C (breakParagraph): add a ParagraphList as arg
5365
5366         * paragraph_funcs.C (breakParagraph): change to take a
5367         BufferParams and a ParagraphList as args.
5368         (breakParagraphConservative): ditto
5369         (mergeParagraph): ditto
5370         (TeXDeeper): add a ParagraphList arg
5371         (TeXEnvironment): ditto
5372         (TeXOnePar): ditto
5373
5374         * buffer.C (readLyXformat2): adjust
5375         (insertStringAsLines): adjust
5376         (latexParagraphs): adjust
5377
5378         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5379         (cutSelection): adjust
5380         (pasteSelection): adjust
5381
5382         * BufferView_pimpl.C (insertInset): adjust
5383
5384 2003-03-05  Angus Leeming  <leeming@lyx.org>
5385
5386         * commandtags.h:
5387         * LyXAction.C (init):
5388         * BufferView_pimpl.C (dispatch):
5389         * lyxfunc.C (getStatus):
5390         remove LFUN_CHILD_INSERT.
5391
5392         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5393
5394 2003-03-05  Angus Leeming  <leeming@lyx.org>
5395
5396         * commandtags.h:
5397         * LyXAction.C (init):
5398         * src/factory.C (createInset):
5399         * lyxfunc.C (getStatus):
5400         * text3.C (dispatch):
5401         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5402
5403         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5404
5405 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5406
5407         * ParagraphList.C (insert): handle insert right before end()
5408         (erase): fix cases where it can be first or last paragraph.
5409
5410 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5411
5412         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5413         Paragraph::next and Paragraph::previous
5414         (TeXOnePar): ditto
5415
5416         * text.C (breakParagraph): adjust
5417
5418         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5419         BufferParams& as arg.
5420         (breakParagraph): use ParagraphList::insert
5421         (breakParagraphConservative): take a Buffer* instead of a
5422         BufferParams& as arg.
5423         (breakParagraphConservative): use ParagraphList::insert.
5424
5425         * buffer.C (insertStringAsLines): un-const it
5426         (insertStringAsLines): adjust
5427
5428         * ParagraphList.C (insert): new function
5429
5430         * CutAndPaste.C (pasteSelection): adjust
5431
5432         * text.C (backspace): adjust
5433
5434         * tabular.C (SetMultiColumn): adjust
5435
5436         * CutAndPaste.C (cutSelection): adjust
5437         (pasteSelection): adjust
5438
5439         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5440         Buffer const * as arg
5441
5442         * ParagraphList.C (erase): new function
5443         * paragraph_funcs.C (mergeParagraph): use it
5444         (mergeParagraph): make it take a Buffer* instead of a
5445         BufferParams* as arg
5446
5447         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5448         as arg
5449         (breakParagraphConservative): ditto
5450
5451         * paragraph.h: remove the breakParagraph friend
5452
5453         * paragraph.C (eraseIntern): new function
5454         (setChange): new function
5455
5456         * paragraph_funcs.C (mergeParagraph): make it take a
5457         ParagraphList::iterator instead of a Paragraph *, adjust
5458         accordingly.
5459
5460         * paragraph.h: move an #endif so that the change tracking stuff
5461         also works in the NO_NEXT case.
5462
5463 2003-03-04  Angus Leeming  <leeming@lyx.org>
5464
5465         * commandtags.h:
5466         * LyXAction.C: new LFUN_INSET_MODIFY.
5467
5468         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5469         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5470
5471 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5472
5473         * several files: ws changes only
5474
5475         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5476         (TeXEnvironment): ditto
5477         (TeXDeeper): ditto
5478
5479         * buffer.C (makeLaTeXFile): adjust
5480         (latexParagraphs): make it take ParagraphList::iterator as args
5481
5482 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5483
5484         * buffer.C (latexParagraphs): adjust
5485
5486         * paragraph.C (TeXOnePar): move function...
5487         (optArgInset): move function...
5488         (TeXEnvironment): move function...
5489         * paragraph_pimpl.C (TeXDeeper): move function...
5490         * paragraph_funcs.C: ...here
5491
5492         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5493
5494 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5495
5496         * buffer.C (readInset): remove compability code for old Figure and
5497         InsetInfo insets
5498
5499 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5500
5501         * buffer.C: ws changes
5502         (readInset):
5503
5504         * BufferView_pimpl.C: ditto
5505         * author.C: ditto
5506         * buffer.h: ditto
5507         * bufferlist.h: ditto
5508         * changes.h: ditto
5509         * lyxfunc.C: ditto
5510
5511 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5512
5513         * converter.[Ch]: split into itself +
5514         * graph.[Ch]
5515         * format.[Ch]
5516         * Makefile.am: += graph.[Ch] + format.[Ch]
5517         * MenuBackend.C
5518         * buffer.C
5519         * exporter.C
5520         * importer.C
5521         * lyx_main.C
5522         * lyxfunc.C
5523         * lyxrc.C: added #include "format.h"
5524
5525 2003-02-27  Angus Leeming  <leeming@lyx.org>
5526
5527         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5528           a label.
5529
5530         * factory.C (createInset): add "label" to the factory.
5531
5532         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5533           string and do no more.
5534
5535 2003-02-27  Angus Leeming  <leeming@lyx.org>
5536
5537         * commandtags.h:
5538         * LyXAction.C (init):
5539         * factory.C (createInset):
5540         * BufferView_pimpl.C (dispatch):
5541           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5542
5543         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5544
5545         * lyxfunc.C (dispatch):
5546         * text3.C (dispatch): pass name to params2string.
5547
5548 2003-02-26  Angus Leeming  <leeming@lyx.org>
5549
5550         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5551           blocks together.
5552           Rearrange the ~includes. Strip out the unnecessary ones.
5553
5554         * factory.C (createInset): reformat.
5555           create new insets for the various LFUN_XYZ_APPLY lfuns.
5556
5557 2003-02-26  John Levon  <levon@movementarian.org>
5558
5559         * lyxrow.h:
5560         * lyxrow.C: add isParStart,isParEnd helpers
5561
5562         * paragraph.h: make isInserted/DeletedText take refs
5563
5564         * paragraph_funcs.h:
5565         * paragraph_funcs.C: remove #if 0'd code
5566
5567         * lyxtext.h:
5568         * text3.C:
5569         * text2.C:
5570         * text.C: use lyxrow helpers above.
5571           Move draw and paint routines to RowPainter.
5572           Make several methods use refs not pointers.
5573           Make backgroundColor() const.
5574           Add markChangeInDraw(), isInInset().
5575           Merge changeRegionCase into changeCase.
5576           Make workWidth() shouldn't-happen code into an Assert.
5577
5578         * rowpainter.h:
5579         * rowpainter.C: new class for painting a row.
5580
5581         * vspace.h:
5582         * vspace.C: make inPixels take a ref
5583
5584 2003-02-26  Angus Leeming  <leeming@lyx.org>
5585
5586         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5587         LFUN_REF_APPLY.
5588
5589 2003-02-25  John Levon  <levon@movementarian.org>
5590
5591         * ispell.C: give the forked command a more accurate name
5592
5593 2003-02-22  John Levon  <levon@movementarian.org>
5594
5595         * toc.h:
5596         * toc.C: make TocItem store an id not a Paragraph *
5597           (bug #913)
5598
5599 2003-02-21  Angus Leeming  <leeming@lyx.org>
5600
5601         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5602           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5603           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5604           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5605           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5606           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5607
5608         * BufferView_pimpl.C (dispatch):
5609         * LyXAction.C (init):
5610         * factory.C (createInset):
5611         * lyxfunc.C (getStatus, dispatch):
5612         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5613
5614 2003-02-21  Angus Leeming  <leeming@lyx.org>
5615
5616         * BufferView_pimpl.C (MenuInsertLyXFile):
5617         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5618         * lyxfunc.C (menuNew, open, doImport):
5619           no longer pass a LyXView & to fileDlg.
5620
5621 2003-02-21  Angus Leeming  <leeming@lyx.org>
5622
5623         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5624         * LyXAction.C: change, BIBKEY to BIBITEM.
5625         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5626         Change InsetBibKey to InsetBibitem.
5627         Change BIBKEY_CODE to BIBITEM_CODE.
5628         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5629         * factory.C: replace insetbib.h with insetbibitem.h.
5630         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5631         * paragraph.C: replace insetbib.h with insetbibitem.h.
5632         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5633         Change bibkey() to bibitem().
5634         * text.C: remove insetbib.h.
5635         * text2.C: replace insetbib.h with insetbibitem.h.
5636         change bibkey() to bibitem().
5637         * text3.C: remove insetbib.h.
5638         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5639
5640 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5641
5642         * lyxrc.C (output): enclose user email in quotes (in case there are
5643         several words)
5644
5645 2003-02-18  John Levon  <levon@movementarian.org>
5646
5647         * buffer.h: add std::
5648
5649 2003-02-17  John Levon  <levon@movementarian.org>
5650
5651         * SpellBase.h:
5652         * ispell.h:
5653         * ispell.C:
5654         * pspell.h:
5655         * pspell.C: reworking. Especially in ispell, a large
5656           number of clean ups and bug fixes.
5657
5658         * lyxfunc.C: fix revert to behave sensibly
5659
5660 2003-02-17 André Pönitz <poenitz@gmx.net>
5661
5662         * LyXAction.C:
5663         * commandtags.h: new LFUN_INSERT_BIBKEY
5664
5665         * layout.h:
5666         * lyxlayout.C:
5667         * buffer.C:
5668         * factory.C:
5669         * text.C:
5670         * text2.C:
5671         * text3.C:
5672         * paragraph.[Ch]:
5673         * paragraph_func.C: remove special bibkey handling
5674
5675 2003-02-17  John Levon  <levon@movementarian.org>
5676
5677         * text.C (Delete): fix case where delete at the end of
5678           the very first paragraph would not merge the pars
5679
5680 2003-02-17  John Levon  <levon@movementarian.org>
5681
5682         * lyxrow.C: fix lastPrintablePos()
5683
5684 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5685
5686         * bufferparams.C (writeLaTeX): add a std:here
5687
5688         * buffer.C: and remove a using directive there
5689
5690 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5691
5692         * buffer.C (makeLaTeXFile): move the code that generates the
5693           preamble...
5694
5695         * bufferparams.C (writeLaTeX): ... in this new method
5696
5697         * LaTeXFeatures.C (getEncodingSet): make const
5698           (getLanguages): make const
5699
5700         * MenuBackend.C (binding): returns the binding associated to this
5701           action
5702           (add): sets the status of each item by calling getStatus. Adds
5703           some intelligence.
5704           (read): add support for OptSubMenu
5705           (expand): remove extra separator at the end of expanded menu
5706
5707 2003-02-15  John Levon  <levon@movementarian.org>
5708
5709         * BufferView.C:
5710         * BufferView_pimpl.C:
5711         * bufferlist.h:
5712         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5713           inset code that had no actual effect. Remove unneeded status
5714           code.
5715
5716 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5717
5718         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5719           in preamble
5720
5721 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5722
5723         * text.C (drawLengthMarker): also draw an arrow marker for
5724           symbolic lengths (medskip...)
5725
5726 2003-02-14  John Levon  <levon@movementarian.org>
5727
5728         * tabular.h:
5729         * tabular.C: better method names
5730
5731 2003-02-14  John Levon  <levon@movementarian.org>
5732
5733         * BufferView_pimpl.C:
5734         * bufferlist.C:
5735         * buffer.C:
5736         * converter.C:
5737         * lyx_cb.C:
5738         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5739           it's a more accurate name. Remove some pointless uses.
5740
5741 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5742
5743         * text2.C (LyXText): change order of initilizers to shut off
5744           warnings
5745
5746 2003-02-14  John Levon  <levon@movementarian.org>
5747
5748         * buffer.C: use ParIterator for getParFromID()
5749
5750         * paragraph.h:
5751         * paragraph.C:
5752         * paragraph_pimpl.h:
5753         * paragraph_pimpl.C: remove unused getParFromID()
5754
5755 2003-02-14  John Levon  <levon@movementarian.org>
5756
5757         * buffer.C: remove some very old #if 0'd parse code
5758
5759 2003-02-13  John Levon  <levon@movementarian.org>
5760
5761         * text.h:
5762         * text.C:
5763         * text2.C: move hfillExpansion(), numberOfSeparators(),
5764           rowLast(), rowLastPrintable(), numberofHfills(),
5765           numberOfLabelHfills() ...
5766
5767         * lyxrow.h:
5768         * lyxrow.C: ... to member functions here.
5769
5770         * paragraph.h:
5771         * paragraph.C:
5772         * lyxtext.h:
5773         * text.C: remove LyXText::beginningOfMainBody(), and call
5774           p->beginningOfMainBody() directly. Move the check for
5775           LABEL_MANUAL into the latter.
5776
5777         * text.h:
5778         * text.C:
5779         * text2.C:
5780         * vspace.C:
5781         * BufferView.h:
5782         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5783
5784         * text.h:
5785         * text.C:
5786         * text2.C:
5787         * text3.C:
5788         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5789           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5790
5791 2003-02-13  John Levon  <levon@movementarian.org>
5792
5793         * CutAndPaste.C: remove debug
5794
5795 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5796
5797         * paragraph.C (asString): remove two unused variables
5798
5799         * lyxtextclass.C (readTitleType):
5800           (Read):
5801           (LyXTextClass): handle new members titletype_ and titlename_
5802
5803         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5804
5805 2003-02-09  John Levon  <levon@movementarian.org>
5806
5807         * buffer.h:
5808         * buffer.C: replace hand-coded list with a map for the dep clean
5809
5810 2003-02-08  John Levon  <levon@movementarian.org>
5811
5812         * LaTeX.C: consolidate code into showRunMessage() helper
5813
5814 2003-02-08  John Levon  <levon@movementarian.org>
5815
5816         * lyxfind.C:
5817         * lyxtext.h:
5818         * text2.C:
5819         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5820           and pass the size in explicitly
5821
5822         * BufferView_pimpl.h:
5823         * BufferView_pimpl.C:
5824         * BufferView.h:
5825         * BufferView.C: add getCurrentChange()
5826
5827         * BufferView_pimpl.h:
5828         * BufferView_pimpl.C: handle change lfuns
5829
5830         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5831           for changes. Mark pasted paragraphs as new.
5832
5833         * support/lyxtime.h:
5834         * support/lyxtime.C:
5835         * DepTable.C: abstract time_t as lyx::time_type
5836
5837         * LColor.h:
5838         * LColor.C: add colours for new text, deleted text, changebars
5839
5840         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5841           package use "usenames" option.
5842
5843         * commandtags.h:
5844         * lyxfunc.C:
5845         * LyXAction.C: add change lfuns
5846
5847         * Makefile.am:
5848         * author.h:
5849         * author.C: author handling
5850
5851         * buffer.h:
5852         * buffer.C: add a per-buffer author list, with first entry as
5853           current author. Handle new .lyx tokens for change tracking. Output
5854           author list to .lyx file. Output dvipost stuff to .tex preamble.
5855           Bump lyx format to 222.
5856
5857         * bufferlist.h:
5858         * bufferlist.C: add setCurrentAuthor() to reset current author details
5859           in all buffers.
5860
5861         * bufferparams.h:
5862         * bufferparams.C: add param for tracking
5863
5864         * bufferview_funcs.C: output change info in minibuffer
5865
5866         * Makefile.am:
5867         * changes.h:
5868         * changes.C: add change-tracking structure
5869
5870         * debug.h:
5871         * debug.C: add CHANGES debug flag
5872
5873         * lyxfind.h:
5874         * lyxfind.C: add code for finding the next change piece
5875
5876         * lyxrc.h:
5877         * lyxrc.C: add user_name and user_email
5878
5879         * lyxrow.h:
5880         * lyxrow.C: add a metric for the top of the text line
5881
5882         * lyxtext.h:
5883         * text.C: implement accept/rejectChange()
5884
5885         * lyxtext.h:
5886         * text.C: paint changebars. Paint new/deleted text in the chosen
5887         colours. Strike through deleted text.
5888
5889         * paragraph.h:
5890         * paragraph.C:
5891         * paragraph_pimpl.h:
5892         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5893           in the current change to the insert functions. Rework erase to
5894           mark text as deleted, adding an eraseIntern() and a range-based
5895           erase(). Implement per-paragraph change lookup and
5896           accept/reject.
5897
5898         * paragraph_funcs.C: Fixup paste for change tracking.
5899
5900         * tabular.C: mark added row/columns as new.
5901
5902         * text.C: fix rowLast() to never return -1. Don't allow
5903           spellchecking of deleted text. Track transpose changes. Don't
5904           allow paragraph break or merge where appropriate.
5905
5906         * text2.C: leave cursor at end of selection after a cut.
5907
5908 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5909
5910         * text.C (getLengthMarkerHeight):
5911         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5912         visible on screen too.
5913
5914 2003-02-07  John Levon  <levon@movementarian.org>
5915
5916         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5917
5918 2003-02-05  Angus Leeming  <leeming@lyx.org>
5919
5920         * lyxserver.C (read_ready): revert my patch of 11 September last year
5921         as it sends PC cpu through the roof. Presumably this means that
5922         the lyxserver will no longer run on an Alpha...
5923
5924 2003-01-30  Angus Leeming  <leeming@lyx.org>
5925
5926         * factory.C (createInset): create an InsetCommandParam of type "index"
5927         and use it to 'do the right thing'.
5928
5929         * text2.C (getStringToIndex): ensure that cursor position is always
5930         reset to the reset_cursor position.
5931
5932 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5933
5934         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5935         disabled.
5936
5937 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5938
5939         * bufferview.C:
5940         * lyxcb.C:
5941         * lyxfunc.C: Output messages with identical spelling, punctuation,
5942         and spaces
5943
5944 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5945
5946         * MenuBackend.C (expandFormats): List only viewable export formats
5947         in "View" menu
5948
5949         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5950         message
5951
5952         * lyxfunc.C (getStatus): Make sure that formats other than
5953         "fax" can also be disabled
5954
5955 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5956
5957         * text3.C (dispatch): put the lfuns that insert insets in 3
5958         groups, and call doInsertInset with appropriate arguments.
5959         (doInsertInset): new function, that creates an inset and inserts
5960         it according to some boolean parameters.
5961
5962 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5963
5964         * buffer.C (readFile): remember to pass on 'par' when calling
5965         readFile recursively.
5966
5967 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5968
5969         * MenuBackend.C (expandFormats): add "..." to import formats.
5970
5971 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5972
5973         * paragraph.C (asString): Remove XForms RTL hacks.
5974
5975 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5976         * buffer.C: fix typo
5977
5978 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5979
5980         * Makefile.am (LIBS): delete var
5981         (lyx_LDADD): add @LIBS@ here instead.
5982
5983 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5984
5985         * Clarify the meaning of "wheel mouse jump"
5986
5987 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5988
5989         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5990         tabular in a float
5991
5992 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5993
5994         * importer.C (Loaders): do not preallocate 3 elements in the
5995         vector, since one ends up with 6 elements otherwise
5996
5997 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5998
5999         * DepTable.C (write): write the file name as last element of the
6000         .dep file (because it may contain spaces)
6001         (read): read info in the right order
6002
6003 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6004
6005         * paragraph_pimpl.C (simpleTeXBlanks):
6006         (simpleTeXSpecialChars):
6007         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6008
6009         * tabular.C (latex): add some missing case statements. Reindent.
6010
6011         * MenuBackend.C (expandToc): remove unused variable.
6012
6013 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6014
6015         * LColor.C:
6016         * LaTeX.C:
6017         * LyXAction.C:
6018         * MenuBackend.C:
6019         * buffer.C:
6020         * exporter.C:
6021         * lyxfunc.C:
6022         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6023         and the like.
6024
6025 2003-01-05  John Levon  <levon@movementarian.org>
6026
6027         * BufferView.h:
6028         * BufferView.C: add getEncoding()
6029
6030         * kbsequence.h:
6031         * kbsequence.C: do not store last keypress
6032
6033         * lyxfunc.h:
6034         * lyxfunc.C: store last keypress here instead. Pass encoding
6035           to getISOEncoded()
6036
6037 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6038
6039         * lyx_main.C (init): remove annoying error message when following
6040         symbolic links (bug #780)
6041
6042 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6043
6044         * text.C (insertChar):
6045         * lyxrc.C (getDescription): remove extra spaces
6046
6047 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6048
6049         * lyxrc.C (getDescription): remove extra spaces
6050
6051 2002-12-20  John Levon  <levon@movementarian.org>
6052
6053         * text3.C: hack fix for page up/down across tall rows
6054
6055 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6056
6057         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6058         not been invoked
6059
6060 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6061
6062         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6063         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6064         thesaurus is not compiled in
6065
6066 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6067
6068         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6069
6070 2002-12-16  Angus Leeming  <leeming@lyx.org>
6071
6072         * lyxrc.[Ch]:
6073         * lyx_main.C (init): remove override_x_deadkeys stuff.
6074
6075 2002-12-12  John Levon  <levon@movementarian.org>
6076
6077         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6078           insert. Only remove shift modifier under strict
6079           circumstances.
6080
6081 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6082
6083         * MenuBackend.C (expandToc): fix crash.
6084
6085 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6086
6087         * MenuBackend.C (expandToc): gettext on float names.
6088
6089 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6090
6091         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6092         implement bool empty() [bug 490]
6093
6094 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6095
6096         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6097
6098 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6099
6100         * several files: ws changes
6101
6102 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6103
6104         * text2.C (setCounter): clean up a bit, use boost.format.
6105         (updateCounters): initialize par upon declaration.
6106
6107         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6108         if the layout exists. We do not just store the layout any more.
6109         (SwitchLayoutsBetweenClasses): use boost.format
6110
6111 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6112
6113         * converter.C (convert): if from and to files are the same, use a
6114         temporary files as intermediary
6115
6116 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6117
6118         * commandtags.h:
6119         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6120
6121 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6122
6123         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6124
6125 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6126
6127         * tabular.C (asciiPrintCell): use string(size, char) instead of
6128         explicit loop.
6129
6130         * sgml.C (openTag): fix order of arguments to string constructor
6131         (closeTag): ditto
6132
6133         * lyxfunc.C (dispatch): use boost.format
6134
6135         * lots of files: change "c" -> 'c'
6136
6137 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6138
6139         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6140
6141 2002-11-25  Angus Leeming  <leeming@lyx.org>
6142
6143         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6144
6145         * lyx_main.C (init): compile fix.
6146
6147 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6148
6149         * lyx_cb.C (start): boost.formatify
6150         do not include <iostream>
6151
6152         * lengthcommon.C: ws only
6153
6154         * boost-inst.C,BoostFormat.h: add more explict instantations
6155
6156 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6157
6158         * lots of files: handle USE_BOOST_FORMAT
6159
6160 2002-11-21  John Levon  <levon@movementarian.org>
6161
6162         * pspell.C: fix compile
6163
6164 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6165
6166         * lyxfunc.C (dispatch): use boost::format
6167         (open): ditto
6168         (doImport): ditto
6169
6170         * lyxfont.C (stateText): use boost::format
6171
6172         * lyx_main.C (LyX): use boost::format
6173         (init): ditto
6174         (queryUserLyXDir): ditto
6175         (readRcFile): ditto
6176         (parse_dbg): ditto
6177         (typedef boost::function): use the recommened syntax.
6178
6179         * importer.C (Import): use boost::format
6180
6181         * debug.C (showLevel): use boost::format
6182
6183         * converter.C (view): use boost::format
6184         (convert): ditto
6185         (move): ditto
6186         (scanLog): ditto
6187
6188         * bufferview_funcs.C (currentState): use boost::format
6189
6190         * bufferlist.C (emergencyWrite): use boost::format
6191
6192         * buffer.C (readLyXformat2): use boost::format
6193         (parseSingleLyXformat2Token): ditto
6194
6195         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6196
6197         * LaTeX.C (run): use boost::format
6198
6199         * Chktex.C (scanLogFile): use boost::format
6200
6201         * BufferView_pimpl.C (savePosition): use boost::format
6202         (restorePosition): ditto
6203         (MenuInsertLyXFile): ditto
6204
6205         * BoostFormat.h: help file for explicit instation.
6206
6207 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6208
6209         * tabular.C (latex): Support for block alignment in fixed width
6210         columns.
6211
6212 2002-11-17  John Levon  <levon@movementarian.org>
6213
6214         * BufferView_pimpl.C:
6215         * lyx_cb.C:
6216         * lyxfunc.C: split filedialog into open/save
6217
6218 2002-11-08  Juergen Vigna  <jug@sad.it>
6219
6220         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6221         by my last patch (hopefully).
6222
6223 2002-11-08  John Levon  <levon@movementarian.org>
6224
6225         * iterators.h:
6226         * iterators.C:
6227         * buffer.h:
6228         * buffer.C:
6229         * paragraph.h:
6230         * paragraph.C:
6231         * toc.h:
6232         * toc.C: ParConstIterator, and use it (from Lars)
6233
6234 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6235
6236         * lyxtextclass.[Ch]: revise and add doxygen comments
6237
6238 2002-11-07  John Levon  <levon@movementarian.org>
6239
6240         * text.C: fix progress value for spellchecker
6241
6242         * toc.C: fix navigate menu for insetwrap inside minipage
6243
6244         * paragraph_funcs.C: added FIXME for suspect code
6245
6246 2002-11-07  John Levon  <levon@movementarian.org>
6247
6248         * BufferView_pimpl.C: fix redrawing of insets
6249           on buffer switch
6250
6251 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6252
6253         * text2.C (updateCounters): fix bug 668
6254
6255 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6256
6257         * text3.C (dispatch): Do not make the buffer dirty when moving the
6258         cursor.
6259
6260 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6261
6262         * vc-backend.C: STRCONV
6263         (scanMaster): ditto
6264
6265         * text2.C (setCounter): STRCONV
6266
6267         * paragraph.C (asString): STRCONV
6268
6269         * lyxlength.C (asString): STRCONV
6270         (asLatexString): ditto
6271
6272         * lyxgluelength.C (asString): STRCONV
6273         (asLatexString): ditto
6274
6275         * lyxfunc.C (dispatch): STRCONV
6276         (open): ditto
6277
6278         * lyxfont.C (stateText): STRCONV
6279
6280         * importer.C (Import): STRCONV
6281
6282         * counters.C (labelItem): STRCONV
6283         (numberLabel): ditto
6284         (numberLabel): remove unused ostringstream o
6285
6286         * chset.C: STRCONV
6287         (loadFile): ditto
6288
6289         * bufferview_funcs.C (currentState): STRCONV
6290
6291         * buffer.C (readFile): STRCONV
6292         (asciiParagraph): ditto
6293         (makeLaTeXFile): ditto
6294
6295         * Spacing.C (writeEnvirBegin): STRCONV
6296
6297         * LaTeXFeatures.C (getLanguages): STRCONV
6298         (getPackages): ditto
6299         (getMacros): ditto
6300         (getBabelOptions): ditto
6301         (getTClassPreamble): ditto
6302         (getLyXSGMLEntities): ditto
6303         (getIncludedFiles): ditto
6304
6305         * LaTeX.C: STRCONV
6306         (run): ditto
6307         (scanAuxFile): ditto
6308         (deplog): ditto
6309
6310         * LString.h: add the STRCONV macros
6311
6312         * BufferView_pimpl.C (savePosition): STRCONV
6313         (restorePosition): ditto
6314         (MenuInsertLyXFile): ditto
6315
6316         * vc-backend.C (scanMaster): change from submatch[...] to
6317         submatch.str(...)
6318
6319         * funcrequest.C: include config.h
6320
6321         * factory.C: include config.h
6322
6323         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6324
6325         * box.C: include config.h
6326
6327         * LaTeX.C (scanAuxFile): change from submatch[...] to
6328         submatch.str(...)
6329         (deplog): ditto
6330
6331 2002-10-25  Angus Leeming  <leeming@lyx.org>
6332
6333         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6334
6335         * ispell.[Ch] (setError): new method.
6336         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6337         Use setError() insetead of goto END.
6338
6339         * lyx_cb.C (AutoSave): move out child process into new class
6340         AutoSaveBuffer.
6341
6342 2002-10-30  John Levon  <levon@movementarian.org>
6343
6344         * text3.C: make start appendix undoable
6345
6346 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6347
6348         * lyxlength.C (inPixels): Fix returned value.
6349
6350         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6351         environment.
6352
6353 2002-10-24  Angus Leeming  <leeming@lyx.org>
6354
6355         * lyxgluelength.h: no need to forward declare BufferParams
6356         or BufferView, so don't.
6357
6358 2002-10-21  John Levon  <levon@movementarian.org>
6359
6360         * BufferView.C: menuUndo ->undo, redo
6361
6362         * BufferView.h: document, remove dead, make some methods private
6363
6364         * paragraph_funcs.h:
6365         * paragraph_funcs.C:
6366         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6367
6368         * buffer.h:
6369         * buffer.C:
6370         * sgml.h:
6371         * sgml.C: move sgml open/close tag into sgml.C
6372
6373         * bufferview_funcs.h: unused prototype
6374
6375         * lyxfunc.h:
6376         * lyxfunc.C: remove unused
6377
6378         * lyxtext.h:
6379         * text.C: remove unused
6380
6381 2002-10-21  John Levon  <levon@movementarian.org>
6382
6383         * BufferView.h:
6384         * BufferView.C:
6385         * BufferView_pimpl.h:
6386         * BufferView_pimpl.C: fix mouse wheel handling based on
6387           patch from Darren Freeman
6388
6389 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6390
6391         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6392
6393 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6394
6395         * lyxlength.C (inPixels): Fix hanfling of negative length.
6396         Fix LyXLength::MU case.
6397
6398 2002-10-16  John Levon  <levon@movementarian.org>
6399
6400         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6401
6402 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6403
6404         * converter.C (view): add support for $$i (file name) and $$p
6405         (file path) for the viewer command. If $$i is not specified, then
6406         it is appended to the command (for compatibility with old syntax)
6407
6408 2002-10-14  Juergen Vigna  <jug@sad.it>
6409
6410         * undo_funcs.C (textHandleUndo): alter the order in which the
6411         new undopar is added to the LyXText, as we have to set first
6412         the right prev/next and then add it as otherwise the rebuild of
6413         LyXText is not correct. Also reset the cursor to the right paragraph,
6414         with this IMO we could remove the hack in "redoParagraphs()".
6415
6416 2002-10-09  Angus Leeming  <leeming@lyx.org>
6417
6418         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6419         to turn off an optimisation if a new inset is to be inserted.
6420
6421 2002-10-11 André Pönitz <poenitz@gmx.net>
6422
6423         * lyxtext.h: make some functions public to allow access
6424         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6425
6426 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6427
6428         * text3.C (dispatch): when changing layout, avoid an infinite loop
6429         [bug #652]
6430
6431 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6432
6433         * lyxrc.C (read): treat a viewer or converter command of "none" as
6434         if it were empty.
6435
6436         * MenuBackend.C (expandFormats): for an update, also allow the
6437         formats that are not viewable
6438
6439         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6440         script if it is newer than the lyxrc.defaults in user directory
6441
6442 2002-10-07 André Pönitz <poenitz@gmx.net>
6443
6444         * text.C: Vitaly Lipatov's small i18n fix
6445
6446 2002-09-25  Angus Leeming  <leeming@lyx.org>
6447
6448         * ispell.h: doxygen fix.
6449
6450 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6451
6452         * buffer.h (readFile): Add a new argument to the method, to allow
6453         reading of old-format templates.
6454
6455 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6456
6457         * toc.C (getTocList): Get TOC from InsetWrap.
6458
6459 2002-09-16  John Levon  <levon@movementarian.org>
6460
6461         * lyxfunc.C: check tabular for cut/copy too
6462
6463 2002-09-12  John Levon  <levon@movementarian.org>
6464
6465         * LyXAction.C: tidy
6466
6467         * factory.h:
6468         * factory.C: add header
6469
6470         * paragraph_funcs.h:
6471         * paragraph_funcs.C: cleanup
6472
6473 2002-09-11  John Levon  <levon@movementarian.org>
6474
6475         * PrinterParams.h: odd/even default to true
6476
6477 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6478
6479         * PrinterParams.h: update printer parameters for new xforms dialog
6480
6481 2002-09-11  Angus Leeming  <leeming@lyx.org>
6482
6483         * lyxserver.C (read_ready): re-write to make it more transparent
6484         and to make it work in coherent fashion under Tru64 Unix.
6485
6486 2002-09-11  André Pönitz <poenitz@gmx.net>
6487
6488         * commandtags.h:
6489         * LyXAction.C:
6490         * text3.C: implement LFUN_WORDSEL
6491
6492 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6493
6494         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6495         make floatlist_ a boost::shared_ptr<FloatList>
6496
6497         * lyxtextclass.C: include FloatList.h
6498         (LyXTextClass): initialize floatlist_
6499         (TextClassTags): add TC_NOFLOAT
6500         (Read): match "nofloat" to TC_NOFLOAT and use it.
6501         (readFloat): modify call to floatlist_
6502         (floats): ditto
6503         (floats): ditto
6504
6505         * FloatList.[Ch] (FloatList): remove commented out float
6506         initialization.
6507         (erase): new function
6508
6509 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6510
6511         * MenuBackend.C (expandToc): fix crash when there is no document
6512         open
6513
6514 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6515
6516         * many files: Add insetwrap.
6517
6518 2002-09-09  John Levon  <levon@movementarian.org>
6519
6520         * text2.C: remove confusing and awkward depth wraparound
6521
6522 2002-09-09  John Levon  <levon@movementarian.org>
6523
6524         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6525
6526         * buffer.h:
6527         * buffer.C: remove getIncludeonlyList()
6528
6529         * paragraph.C:
6530         * lyxfunc.C: remove headers
6531
6532 2002-09-09  Juergen Vigna  <jug@sad.it>
6533
6534         * text.C (getColumnNearX): fix form Michael this is most
6535         probably a cut&paste bug.
6536
6537 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6538
6539         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6540
6541         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6542         references, ws changes.
6543
6544         * text2.C (init): update counters after init
6545         (insertParagraph): no need to set counter on idividual paragraphs.
6546         (setCounter): access the counters object in the textclass object
6547         on in the buffer object.
6548         (updateCounters): ditto
6549
6550         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6551         shared_ptr<Counters> to avoid loading counters.h in all
6552         compilation units.
6553         (LyXTextClass): initialize ctrs_
6554         (TextClassTags): add TC_COUNTER, and ...
6555         (Read): use it here.
6556         (CounterTags): new tags
6557         (readCounter): new function
6558         (counters): new funtion
6559         (defaultLayoutName): return a const reference
6560
6561         * counters.C (Counters): remove contructor
6562         (newCounter): remove a couple of unneeded statements.
6563         (newCounter): simplify a bit.
6564         (numberLabel): some small formatting changes.
6565
6566         * buffer.[Ch]: remove all traces of counters, move the Counters
6567         object to the LyXTextClass.
6568
6569 2002-09-06  Alain Castera  <castera@in2p3.fr>
6570
6571         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6572         package to set the horizontal alignment on fixed width columns.
6573
6574         * lyx_sty.C:
6575         * lyx_sty.h: added tabularnewline macro def.
6576
6577         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6578
6579 2002-09-06  John Levon  <levon@movementarian.org>
6580
6581         * LyXAction.C: tooltips for sub/superscript
6582
6583         * MenuBackend.C: a bit more verbose
6584
6585         * lyxfunc.C: tiny clean
6586
6587         * undo_funcs.C: document undo_frozen
6588
6589 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6590
6591         * counters.C (Counters): add missing algorithm counter.
6592
6593         * text2.C (setCounter): lookup the counter with layouts latexname
6594         instead of by section number.
6595         (setCounter): use a hackish way to lookup the correct enum
6596         counter.
6597         a float name->type change
6598         reset enum couners with counter name directly instead of depth value.
6599
6600         * counters.C (Counters): remove the push_backs, change to use the
6601         float type not the float name.
6602         (labelItem): remove unused string, float name->type change
6603
6604         * counters.h: don't include vector, loose the enums and sects vectors
6605
6606 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6607
6608         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6609         (Read): add float->TC_FLOAT to textclassTags
6610         (Read): and handle it in the switch
6611         (readFloat): new function
6612
6613         * FloatList.C (FloatList): comment out the hardcoded float
6614         definitions.
6615
6616         * lyxlayout.h: ws change.
6617
6618 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6619
6620         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6621
6622 2002-09-03  Angus Leeming  <leeming@lyx.org>
6623
6624         * BufferView_pimpl.h: qualified name is not allowed in member
6625         declaration: WorkArea & Pimpl::workarea() const;
6626
6627         * factory.C: added using std::endl directive.
6628
6629         * text3.C: added using std::find and std::vector directives.
6630
6631 2002-08-29  André Pönitz <poenitz@gmx.net>
6632
6633         * lyxtext.h:
6634         * text2.C: remove unused member number_of_rows
6635
6636         * Makefile.am:
6637         * BufferView2.C: remove file, move contents to...
6638         * BufferView.C: ... here
6639
6640         * BufferView_pimpl.C:
6641         * factory.C: move more inset creation to factory
6642
6643         * vspace.C: avoid direct usage of LyXText, ws changes
6644
6645         * BufferView.[Ch]:
6646                 don't provide direct access to WorkArea, use two simple
6647                 acessors haveSelction() and workHeight() instead
6648
6649
6650 2002-08-29  John Levon  <levon@movementarian.org>
6651
6652         * BufferView_pimpl.C (dispatch): do not continue when
6653           no buffer
6654
6655 2002-08-28  André Pönitz <poenitz@gmx.net>
6656
6657         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6658
6659         * BufferView.h:
6660         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6661
6662 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6663
6664         * buffer.C: increment LYX_FORMAT to 221
6665
6666         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6667         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6668
6669         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6670
6671         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6672
6673 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6674
6675         * factory.C (createInset): use LyXTextClass::floats
6676
6677         * MenuBackend.C (expandFloatListInsert):
6678         (expandFloatInsert):
6679         (expandToc):
6680
6681         * text2.C (setCounter):
6682
6683         * LaTeXFeatures.C (useFloat):
6684         (getFloatDefinitions):
6685
6686         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6687
6688         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6689         floatlist_, with accessor floats().
6690
6691         * FloatList.h: remove global FloatList
6692
6693 2002-08-26  André Pönitz <poenitz@gmx.net>
6694
6695         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6696
6697         * BufferView.h:
6698         * BufferView2.C:
6699         * BufferView_pimpl.C:
6700         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6701
6702 2002-08-25  John Levon  <levon@movementarian.org>
6703
6704         * LyXAction.C: fix margin note description
6705
6706 2002-08-24  John Levon  <levon@movementarian.org>
6707
6708         * buffer.C:
6709         * bufferlist.C:
6710         * bufferview_funcs.C:
6711         * lyxfont.C:
6712         * undo_funcs.C: cleanups
6713
6714         * lyxfunc.C: disable CUT/COPY when no selection
6715
6716 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6717
6718         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6719         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6720
6721         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6722         Add backward compatibility to "mono", "gray" and "no".
6723
6724 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6725
6726         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6727         (and file_format >= 200).
6728
6729 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6730
6731         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6732
6733 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6734
6735         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6736
6737 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6738
6739         * BufferView_pimpl.C:
6740         * LyXAction.C:
6741         * buffer.C:
6742         * commandtags.h:
6743         * lyxfunc.C:
6744         * paragraph.[Ch]:
6745         * text2.C:
6746         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6747         inset and code to make it  work with the paragraph code. The inset
6748         can be anywhere in the paragraph, but will only do the expected
6749         thing in LaTeX if the layout file contains the parameter line
6750                         OptionalArgs    1
6751         (or more generally, a nonzero value) for that layout.
6752
6753 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6754
6755         * paragraph.h: remove the declaration of undefined counters class
6756         function.
6757
6758 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6759
6760         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6761         Dr. Richard Hawkins.
6762
6763 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6764
6765         * paragraph_funcs.h: remove some unneeded includes
6766
6767         * text.C (backspace): pasteParagraph now in global scipe
6768
6769         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6770         (pasteSelection): ditto
6771
6772         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6773         * paragraph_funcs.C (pasteParagraph): ... here
6774
6775 2002-08-20  André Pönitz <poenitz@gmx.net>
6776
6777         * commandtags.h: new LFUNs for swapping/copying table row/colums
6778
6779         * LyXAction.C:
6780         * lyxfunc.C: support for new lfuns
6781
6782 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6783
6784         * tabular.C:
6785         * buffer.[Ch]: remove NO_COMPABILITY stuff
6786
6787 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6788
6789         * boost.C (throw_exception): new file, with helper function for
6790         boost compiled without exceptions.
6791
6792         * paragraph.h:
6793         * lyxlength.C:
6794         * buffer.C:
6795         * ParameterStruct.h:
6796         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6797
6798         * bufferlist.C (emergencyWriteAll): use boost bind
6799
6800         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6801
6802         * text.C: include paragraph_funcs.h
6803         (breakParagraph): breakParagraph is now in global scope
6804
6805         * paragraph_funcs.[Ch]: new files
6806
6807         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6808         global scope
6809
6810         * buffer.C: include paragraph_funcs.h
6811         (insertStringAsLines): breakParagraph is now in global scope
6812
6813         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6814         paragraph_funcs.C
6815
6816         * CutAndPaste.C: include paragraph_funcs.h
6817         (cutSelection): breakParagraphConservative is now in global scope
6818         (pasteSelection): ditto
6819
6820         * buffer.h: declare oprator== and operator!= for
6821         Buffer::inset_iterator
6822
6823         * bufferlist.C (emergencyWrite): don't use fmt(...)
6824
6825         * text3.C: add using std::endl
6826
6827         * BufferView.C (moveCursorUpdate): remove default arg
6828
6829 2002-08-20  André Pönitz <poenitz@gmx.net>
6830
6831         * buffer.[Ch]: move inline functions to .C
6832
6833         * BufferView2.C:
6834         * BufferView_pimpl.C:
6835         * text.C:
6836         * buffer.[Ch]: use improved inset_iterator
6837
6838         * buffer.C:
6839         * paragraph.[Ch]: write one paragraph at a time
6840
6841 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6842
6843         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6844         style if style is not specified.
6845
6846 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6847
6848         * text2.C (setCounter): when searching for right label for a
6849         caption, make sure to recurse to parent insets (so that a caption
6850         in a minipage in a figure float works) (bug #568)
6851
6852 2002-08-20  André Pönitz <poenitz@gmx.net>
6853
6854         * text3.C: new file for LyXText::dispatch() and helpers
6855
6856         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6857
6858         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6859
6860 2002-08-19  André Pönitz <poenitz@gmx.net>
6861
6862         * lyxtext.h:
6863         * text.C: new LyXText::dispatch()
6864
6865         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6866
6867 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6868
6869         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6870
6871         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6872         Hebrew text.
6873
6874 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6875
6876         * Makefile.am: use $(variables) instead of @substitutions@
6877
6878 2002-08-15  André Pönitz <poenitz@gmx.net>
6879
6880         * lyxfunc.C:
6881         * BufferView_pimpl.C: streamlining mathed <-> outer world
6882         interaction
6883
6884         * commandtags.h:
6885         * LyXAction.C: remove unused LFUN_MATH
6886
6887 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6888
6889         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6890
6891 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6892
6893         * paragraph.C (Paragraph): reformat a bit
6894         (cutIntoMinibuffer): use builtin InsetList function instad of
6895         doing it manually.
6896         (getInset): ditto
6897
6898         * buffer.C: include boost/bind.hpp, add using std::for_each
6899         (writeFileAscii): use ParagraphList iterators
6900         (validate): use for_each for validate traversal of paragraphs
6901         (getBibkeyList): use ParagraphList iterators
6902         (resizeInsets): use for_each to resizeInsetsLyXText for all
6903         paragraphs.
6904         (getParFromID): use ParagraphList iterators
6905
6906         * BufferView2.C (lockInset): use paragraph list and iterators
6907
6908 2002-08-14  John Levon  <levon@movementarian.org>
6909
6910         * lyxserver.C: remove spurious xforms include
6911
6912 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6913
6914         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6915
6916 2002-08-13  André Pönitz <poenitz@gmx.net>
6917
6918         * LyXAction.[Ch]:
6919         * lyxfunc.C: further cleaning
6920
6921 2002-08-13  André Pönitz <poenitz@gmx.net>
6922
6923         * funcrequest.h: new constructor
6924
6925         * funcrequest.C: move stuff here from .h
6926
6927         * Makefile.am:
6928         * BufferView_pimpl.C:
6929         * LyXAction.C:
6930         * toc.C:
6931         * lyxfunc.C: subsequent changes
6932
6933         * lyxfunc.h: new view() member function
6934
6935         * lyxfunc.C: subsequent changes
6936
6937 2002-08-13  Angus Leeming  <leeming@lyx.org>
6938
6939         * BufferView2.C:
6940         * BufferView_pimpl.C:
6941         * buffer.C:
6942         * converter.C:
6943         * importer.C:
6944         * lyxfunc.C:
6945         * lyxvc.C:
6946         * toc.C:
6947         * vc-backend.C:
6948         changes due to the changed LyXView interface that now returns references
6949         to member variables not pointers.
6950
6951 2002-08-13  Angus Leeming  <leeming@lyx.org>
6952
6953         * WordLangTuple (word, lang_code): return references to strings,
6954         not strings.
6955
6956         * BufferView.h:
6957         * SpellBase.h:
6958         * lyxtext.h: forward-declare WordLangTuple.
6959
6960         * BufferView2.C:
6961         * ispell.C:
6962         * pspell.C:
6963         * text.C: #include "WordLangTuple.h".
6964
6965         * lyxtext.h:
6966         * text.C: (selectNextWordToSpellcheck): constify return type.
6967
6968 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6969
6970         * buffer.C:
6971         * buffer.h:
6972         * lyxtext.h:
6973         * paragraph.C:
6974         * paragraph_pimpl.h:
6975         * text.C:
6976         * text2.C:
6977         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6978         suggested by Angus.
6979         Made updateCounter always count from start of buffer, and removed
6980         second argument (par).
6981         Reverted floats number display to '#'. Perhaps I'll try again when the
6982         code base is sanitized a bit.
6983
6984 2002-08-12  Angus Leeming  <leeming@lyx.org>
6985
6986         * buffer.[Ch] (getLabelList): constify.
6987
6988 2002-08-07  André Pönitz <poenitz@gmx.net>
6989
6990         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6991
6992         * funcrequest.h: extension to keep mouse (x,y) position
6993
6994 2002-08-12  Juergen Vigna  <jug@sad.it>
6995
6996         * BufferView2.C (insertErrors): forbid undo when inserting error
6997         insets.
6998
6999         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7000
7001 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7002
7003         * ParagraphList.[Ch]: new files
7004
7005         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7006
7007         * BufferView2.C (lockInset): ParagraphList changes
7008         * toc.C: ditto
7009         * text2.C: ditto
7010         * bufferlist.C: ditto
7011         * buffer.h: ditto
7012         * buffer.C: ditto
7013
7014 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7015
7016         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7017         unused class variable counter_,
7018
7019         * paragraph.[Ch] (getFirstCounter): delete unused function
7020
7021         * counters.C: include LAssert.h
7022         (reset): add a new function with no arg, change other version to
7023         not have def. arg and to not allow empty arg.
7024
7025         * text2.C (setCounter): remove empty arg from call to Counters::reset
7026
7027 2002-08-11  John Levon  <levon@movementarian.org>
7028
7029         * Makefile.am: add WordLangTuple.h
7030
7031 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7032
7033         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7034         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7035
7036         * insets/insettext.C: InsetList changes
7037
7038         * graphics/GraphicsSupport.C (operator()): InsetList changes
7039
7040         * toc.C (getTocList): InsetList changes
7041
7042         * paragraph_pimpl.[Ch]: InsetList changes
7043
7044         * paragraph.[Ch]: InsetList changes
7045
7046         * buffer.C (inset_iterator): InsetList changes
7047         (setParagraph): ditto
7048         * buffer.h (inset_iterator): ditto
7049         * iterators.C (operator++): ditto
7050         * iterators.h: ditto
7051
7052         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7053
7054         * InsetList.[Ch]: new files, most InsetList handling moved out of
7055         paragraph.C.
7056
7057         * BufferView2.C (removeAutoInsets): InsetList changes
7058         (lockInset): ditto
7059         (ChangeInsets): ditto
7060
7061 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7062
7063         * paragraph_pimpl.h (empty): new function
7064
7065         * paragraph.[Ch] (empty): new function
7066
7067         * other files: use the new Paragraph::empty function
7068
7069 2002-08-09  John Levon  <levon@movementarian.org>
7070
7071         * lyxtext.h: remove unused refresh_height
7072
7073 2002-08-09  John Levon  <levon@movementarian.org>
7074
7075         * Makefile.am:
7076         * sgml.h:
7077         * sgml.C:
7078         * buffer.C:
7079         * paragraph.h:
7080         * paragraph.C: move sgml char escaping out of paragraph
7081
7082         * paragraph.h:
7083         * paragraph.C: remove id setter
7084
7085         * buffer.C:
7086         * paragraph.C:
7087         * paragraph_pimpl.C: remove dead tex_code_break_column
7088
7089         * bufferview_funcs.C: small cleanup
7090
7091         * lyxfunc.C: remove dead proto
7092
7093         * lyxtext.h: make some stuff private. Remove some dead stuff.
7094
7095         * lyxgluelength.C: make as[LyX]String() readable
7096
7097 2002-08-08  John Levon  <levon@movementarian.org>
7098
7099         * LyXAction.h:
7100         * LyXAction.C:
7101         * MenuBackend.C:
7102         * ToolbarDefaults.C:
7103         * lyxfunc.C:
7104         * lyxrc.C:
7105         * toc.C: lyxaction cleanup
7106
7107 2002-08-08  John Levon  <levon@movementarian.org>
7108
7109         * BufferView2.C: small cleanup
7110
7111         * lyxfind.h:
7112         * lyxfind.C: move unnecessary header into the .C
7113
7114 2002-08-08  John Levon  <levon@movementarian.org>
7115
7116         * funcrequest.h: just tedious nonsense
7117
7118         * lyx_main.h:
7119         * lyx_main.C: cleanups
7120
7121         * buffer.C:
7122         * vspace.C: remove dead header lyx_main.h
7123
7124 2002-08-07  Angus Leeming  <leeming@lyx.org>
7125
7126         * Paragraph.[Ch]:
7127         * paragraph_pimpl.h:
7128         Forward declare class Counters in paragraph.h by moving the ctrs member
7129         variable into Paragraph::Pimpl.
7130         (counters): new method, returning a reference to pimpl_->ctrs.
7131
7132         * text2.C: ensuing changes.
7133
7134 2002-08-07  John Levon  <levon@movementarian.org>
7135
7136         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7137
7138         * BufferView_pimpl.C: announce X selection on double/triple
7139           click
7140
7141         * lyx_main.C: use correct bool in batch dispatch
7142
7143         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7144
7145 2002-08-07  André Pönitz <poenitz@gmx.net>
7146
7147         * funcrequest.h: new class to wrap a kb_action and its argument
7148
7149         * BufferView.[Ch]:
7150         * BufferView_pimpl[Ch]:
7151         * LaTeX.C:
7152         * LyXAction.[Ch]:
7153         * lyxfunc.[Ch]:
7154         * lyxrc.C: subsequent changes
7155
7156
7157 2002-08-07  John Levon  <levon@movementarian.org>
7158
7159         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7160           document options change.
7161
7162 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7163
7164         * counters.[Ch]
7165         * text2.C
7166         * paragraph.[Ch]
7167         * makefile.am: move counters functionality over from
7168         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7169
7170 2002-08-06  John Levon  <levon@movementarian.org>
7171
7172         * WordLangTuple.h: new file for word + language code tuple
7173
7174         * SpellBase.h:
7175         * pspell.h:
7176         * pspell.C:
7177         * ispell.h:
7178         * ispell.C:
7179         * lyxtext.h:
7180         * text.C:
7181         * text2.C:
7182         * BufferView.h:
7183         * BufferView2.C: use WordLangTuple
7184
7185         * layout.h:
7186         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7187
7188 2002-08-06  John Levon  <levon@movementarian.org>
7189
7190         * lyx_main.C: fix cmdline batch handling
7191
7192 2002-08-06  André Pönitz <poenitz@gmx.net>
7193
7194         * lyxrc.C: set default for show_banner to true
7195
7196 2002-08-06  John Levon  <levon@movementarian.org>
7197
7198         * pspell.C: fix a crash, and allow new aspell to work
7199
7200 2002-08-06  John Levon  <levon@movementarian.org>
7201
7202         * lyxfunc.C:
7203         * kbmap.C: small cleanup
7204
7205         * vspace.h:
7206         * vspace.C: add const
7207
7208 2002-08-05  John Levon  <levon@movementarian.org>
7209
7210         * LyXAction.C: back to tabular-insert
7211
7212 2002-08-04  John Levon  <levon@movementarian.org>
7213
7214         * BufferView.h:
7215         * BufferView.C: cosmetic change
7216
7217         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7218
7219         * bufferlist.C:
7220         * buffer.h:
7221         * buffer.C:
7222         * lyxcb.h:
7223         * lyxcb.C:
7224         * lyxserver.C:
7225         * lyxvc.C:
7226         * vc-backend.C:
7227         * BufferView2.C: purge all "Lyx" not "LyX" strings
7228
7229         * lyxcursor.h:
7230         * lyxcursor.C: attempt to add some documentation
7231
7232         * lyxfunc.C:
7233         * commandtags.h:
7234         * LyXAction.C:
7235         * ToolbarDefaults.C:
7236         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7237           merge with LFUN_TABULAR_INSERT
7238
7239         * Makefile.am:
7240         * SpellBase.h:
7241         * ispell.h:
7242         * ispell.C:
7243         * pspell.h:
7244         * pspell.C: split up i/pspell implementations into separate
7245           files, many cleanups
7246
7247         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7248
7249         * text2.C: some cleanup
7250
7251         * lyxfunc.C: don't check for isp_command == "none" any more, it
7252           didn't make any sense
7253
7254 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7255
7256         * counters.[Ch]
7257         * text2.C
7258         * paragraph.[Ch]
7259         * makefile.am: move counters functionality over
7260         from text2.C/paragraph.[Ch] to counters.[Ch], and
7261         make proper C++.
7262 2002-08-02  John Levon  <levon@movementarian.org>
7263
7264         * buffer.C: s/lyxconvert/lyx2lyx/
7265
7266 2002-08-02  Angus Leeming  <leeming@lyx.org>
7267
7268         * lyxlex.C: revert John's change as it breaks reading of the user
7269         preamble.
7270
7271 2002-08-02  Angus Leeming  <leeming@lyx.org>
7272
7273         * importer.C (Import):
7274         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7275         changes due to LyXView::view() now returning a boost::shared_ptr.
7276
7277 2002-08-02  John Levon  <levon@movementarian.org>
7278
7279         * lyxlex.C: small cleanup
7280
7281 2002-08-02  John Levon  <levon@movementarian.org>
7282
7283         * text2.C (status): small cleanup, no logic change
7284
7285 2002-08-01  John Levon  <levon@movementarian.org>
7286
7287         * buffer.h:
7288         * buffer.C (writeFile): don't output alerts, caller
7289           handles this
7290
7291         * bufferlist.C:
7292         * lyx_cb.C: from above
7293
7294         * lyxfunc.C: allow to open non-existent files
7295
7296 2002-07-31  John Levon  <levon@movementarian.org>
7297
7298         * lyxserver.C: don't let incidental errors get
7299           in the way (errno)
7300
7301 2002-07-30  John Levon  <levon@movementarian.org>
7302
7303         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7304
7305 2002-07-30  John Levon  <levon@movementarian.org>
7306
7307         * lyxserver.h:
7308         * lyxserver.C: remove I/O callback too
7309
7310 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7311
7312         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7313         log.
7314
7315 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7316
7317         * many files: strip,frontStrip -> trim,ltrim,rtrim
7318
7319 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7320
7321         * PrinterParams.h: remove extern containsOnly, and include
7322         support/lstrings.h instead.
7323
7324         * LaTeX.C (scanAuxFile): modify because of strip changes
7325         (deplog): ditto
7326         * buffer.C (makeLaTeXFile): ditto
7327         * bufferparams.C (writeFile): ditt
7328         * lyxfont.C (stateText): ditto
7329         * lyxserver.C (read_ready): ditto
7330         * vc-backend.C (scanMaster): ditto
7331
7332         * BufferView_pimpl.h: ws changes
7333
7334         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7335
7336 2002-07-26  André Pönitz <poenitz@gmx.net>
7337
7338         * kb_sequence.C: remove unnedred usings
7339
7340 2002-07-26  Juergen Vigna  <jug@sad.it>
7341
7342         * lyxfind.C (LyXReplace): we have to check better if the returned
7343         text is not of theLockingInset()->getLockingInset().
7344
7345 2002-07-25  Juergen Vigna  <jug@sad.it>
7346
7347         * lyxfind.C (LyXReplace): don't replace if we don't get the
7348         right LyXText.
7349
7350         * undo_funcs.C (createUndo): remove debugging code.
7351
7352 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7353
7354         * buffer.C (parseSingleLyXformat2Token): Use default placement
7355         when reading old floats.
7356
7357         * FloatList.C (FloatList): Change the default placement of figure
7358         and tables to "tbp".
7359
7360 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7361
7362         * MenuBackend.C: using std::max
7363
7364 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7365
7366         * MenuBackend.C (expandToc):
7367         (expandToc2): code moved from xforms menu frontend. It is now
7368         generic and TOCs are transparent to menu frontends.
7369
7370 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7371
7372         * toc.C (getTocList): protect against buf=0
7373
7374         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7375         Menu as first parameter. Now, this calls itself recursively to
7376         expand a whole tree (this will be useful for TOC handling)
7377         (expandFloatInsert): remove 'wide' version of floats
7378
7379         * MenuBackend.h (submenuname): returns the name of the submenu.
7380         (submenu): returns the submenu itself, provided it has been
7381         created by MenuBackend::expand
7382
7383 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7384
7385         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7386         insets which have noFontChange == true. (bug #172)
7387
7388 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7389
7390         * BufferView_pimpl.C: add connection objects and use them...
7391         (Pimpl): here.
7392
7393 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7394
7395         * MenuBackend.C (expandLastfiles):
7396         (expandDocuments):
7397         (expandFormats):
7398         (expandFloatListInsert):
7399         (expandFloatInsert):
7400         (expand): split expand in parts
7401
7402 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7403
7404         * lyx_gui.C: use lyx_gui::exit()
7405
7406 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7407
7408         * LyXAction.C: show the failing pseudo action
7409
7410 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7411
7412         * buffer.C (readFile): Run the lyxconvert script in order to read
7413         old files.
7414
7415 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7416
7417         * LyXAction.C:
7418         * commandtags.h:
7419         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7420
7421 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7422
7423         * LyXAction.C:
7424         * commandtags.h:
7425         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7426
7427 2002-07-22  Herbert Voss  <voss@lyx.org>
7428
7429         * lengthcommon.C:
7430         * lyxlength.[Ch]: add support for the vertical lengths
7431
7432 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7433
7434         * toc.[Ch]: std:: fixes
7435
7436 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7437
7438         * lyxrc.C: do not include lyx_main.h
7439
7440         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7441         for layouts
7442
7443         * lyxrc.C:
7444         * encoding.C:
7445         * bufferlist.C:
7446         * BufferView2.C: include "lyxlex.h"
7447
7448         * tabular.h:
7449         * bufferparams.h: do not #include "lyxlex.h"
7450
7451         * lyxtextclasslist.C (Add): remove method
7452         (classlist): renamed to classlist_
7453
7454         * paragraph_pimpl.C:
7455         * paragraph.C:
7456         * text2.C:
7457         * CutAndPaste.C:
7458         * bufferview_funcs.C:
7459         * bufferlist.C:
7460         * text.C:
7461         * LaTeXFeatures.C:
7462         * buffer.C:
7463         * toc.C (getTocList): use BufferParams::getLyXTextClass
7464
7465         * toc.C (getTocList): use InsetFloat::addToToc
7466
7467         * toc.[Ch]: new files, containing helper functions to handle table
7468         of contents
7469
7470         * lyxfunc.C (dispatch): no need to remove spaces around command
7471         given as a string
7472         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7473         first command of the sequence; it is not very clever, but I do not
7474         have a better idea, actually
7475
7476         * LyXAction.C (LookupFunc): make sure to remove space at the
7477         beginning and end of the command
7478
7479 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7480
7481         * MenuBackend.C (getMenubar): new method: return the menubar of
7482         this menu set
7483         (read): treat differently reading of menu and menubar (in
7484         particular, the menubar has no name now)
7485         (Menu::menubar): remove
7486
7487         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7488         saving is finished
7489
7490 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7491
7492         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7493         a bibitem inset in a RTL paragraph.
7494
7495 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7496
7497         * paragraph_pimpl.C: constify
7498
7499         * BufferView_pimpl.C:
7500         * LaTeX.C:
7501         * lyxfunc.C: fix dispatch in a nicer way
7502
7503 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7504
7505         * lyxfunc.C (dispatch):
7506         * BufferView_pimpl.C:
7507         * BufferView_pimpl.h:
7508         * BufferView.C:
7509         * BufferView.h: rename Dispatch() to dispatch()
7510
7511         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7512
7513         * lyxlayout.C (Read): honor DependsOn tag
7514
7515         * lyxlayout.[Ch] (depends_on): new method
7516
7517         * version.C.in: update lyx_docversion
7518
7519         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7520
7521         * paragraph.C (validate): remove from here...
7522         * paragraph_pimpl.C (validate): ... and move here
7523         (isTextAt): make it const
7524
7525         * buffer.C (getLists): ws cleanup
7526
7527 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7528
7529         * language.C (read): Use iso8859-1 encoding in latex_lang
7530         (this prevents LyX from crashing when using iso10646-1 encoding).
7531
7532 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7533
7534         * text2.C (toggleInset): if cursor is inside an inset, close the
7535         inset and leave cursor _after_ it
7536
7537 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7538
7539         * lyxfunc.C: move minibuffer completion handling out of here
7540
7541 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7542
7543         * BufferView_pimpl.C:
7544         * LaTeX.C: fix dispatch calls
7545
7546 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7547
7548         * text.C (drawChars): Fix Arabic text rendering.
7549
7550 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7551
7552         * LyXAction.C:
7553         * commandtags.h:
7554         * lyxfunc.C: remove message-push/pop
7555
7556         * lyxserver.C:
7557         * lyxfunc.h:
7558         * lyxfunc.C: rationalise some code by removing verboseDispatch
7559           in favour of a bool argument to dispatch()
7560
7561 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7562
7563         * lyx_main.C (init): make sure to read symlinks as absolute paths
7564
7565 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7566
7567         * lyxfunc.h:
7568         * lyxfunc.C: no need for commandshortcut to be a member
7569
7570 2002-07-15  André Pönitz <poenitz@gmx.net>
7571
7572         * converter.C: add support for $$s (scripts from lib/scripts dir)
7573         * lyx_main.C: white space
7574
7575 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7576
7577         * bufferlist.C:
7578         * lyxrc.h:
7579         * lyxrc.C: remove second exit confirmation
7580
7581 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7582
7583         * BufferView.h:
7584         * BufferView.C:
7585         * BufferView2.C:
7586         * BufferView_pimpl.h:
7587         * BufferView_pimpl.C:
7588         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7589
7590 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7591
7592         * MenuBackend.C (expand): add numeric shortcuts to document menu
7593
7594         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7595
7596 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7597
7598         * lyxfont.C (setLyXFamily):
7599         (setLyXSeries):
7600         (setLyXShape):
7601         (setLyXSize):
7602         (setLyXMisc):
7603         (lyxRead):
7604         * debug.C (value):
7605         * buffer.C (asciiParagraph): use ascii_lowercase
7606
7607 2002-07-15  Mike Fabian  <mfabian@suse.de>
7608
7609         * lyxlex_pimpl.C (search_kw):
7610         * lyxlex.C (getLongString):
7611         * converter.h (operator<):
7612         * converter.C (operator<):
7613         * buffer.C (parseSingleLyXformat2Token):
7614         (asciiParagraph):
7615         * ToolbarDefaults.C (read):
7616         * MenuBackend.C (checkShortcuts):
7617         (read):
7618         * LColor.C (getFromGUIName):
7619         (getFromLyXName): use the compare_ascii_no_case instead of
7620         compare_no_case, because in turkish, 'i' is not the lowercase
7621         version of 'I', and thus turkish locale breaks parsing of tags.
7622
7623 2002-07-16  Angus Leeming  <leeming@lyx.org>
7624
7625         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7626         now takes a Buffer const & argument.
7627
7628 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7629
7630         * BufferView.C (resize): check there's a buffer to resize
7631
7632 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7633
7634         * lyxfunc.C: remove dead code
7635
7636         * lyxserver.h:
7637         * lyxserver.C: use lyx_guii::set_read_callback
7638
7639 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7640
7641         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7642         an inset in a RTL paragraph.
7643
7644 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7645
7646         * lyxfunc.C: repaint after a font size update
7647
7648 2002-07-15  André Pönitz <poenitz@gmx.net>
7649
7650         * lyxlength.C: inBP should be able to return negative values
7651
7652 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7653
7654         * lyxfunc.C: use lyx_gui::update_fonts()
7655
7656 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7657
7658         * lyxfunc.C: use lyx_gui::update_color()
7659
7660 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7661
7662         * bufferlist.C:
7663         * lyxfunc.h:
7664         * lyxfunc.C:
7665         * lyxrc.h:
7666         * lyxrc.C: remove file->new asks for name option, and let
7667           buffer-new take an argument
7668
7669 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7670
7671         * BufferView_pimpl.C: remove unneeded extra repaint()
7672
7673 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7674
7675         * LyXAction.C: allow command-sequence with NoBuffer
7676
7677         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7678
7679 2002-07-10  Angus Leeming  <leeming@lyx.org>
7680
7681         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7682
7683 2002-07-09  Angus Leeming  <leeming@lyx.org>
7684
7685         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7686
7687 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7688
7689         * lengthcommon.h: whitespace
7690
7691         * lyxfunc.C: update scrollbar after goto paragraph
7692
7693         * lyxtext.h: factor out page break drawing, and fix it so
7694           page break/added space paints as selected nicely
7695
7696 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7697
7698         * BufferView_pimpl.C: add FIXMEs, clean up a little
7699
7700 2002-07-09  André Pönitz <poenitz@gmx.net>
7701
7702         * lyxfont.[Ch]: support for wasy symbols
7703
7704 2002-07-08  André Pönitz <poenitz@gmx.net>
7705
7706         * BufferView_pimpl.C: apply John's patch for #93.
7707
7708 2002-07-05  Angus Leeming  <leeming@lyx.org>
7709
7710         * BufferView_pimpl.C (buffer): generate previews if desired.
7711
7712         * LColor.h: add "preview" to the color enum.
7713
7714         * LColor.C (LColor): add a corresponding entry to the items array.
7715
7716         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7717         with this buffer.
7718
7719 2002-07-05  Angus Leeming  <leeming@lyx.org>
7720
7721         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7722         The body of the code is now in the method that is passed an ostream &
7723         rather than a file name.
7724         Pass an additional only_preamble parameter, useful for the forthcoming
7725         preview stuff.
7726
7727 2002-07-03  André Pönitz <poenitz@gmx.net>
7728
7729         * lyxfunc.C: simplify getStatus() a bit for math stuff
7730
7731 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7732
7733         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7734
7735 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7736
7737         * text.C (changeRegionCase): do not change case of all the
7738         document when region ends at paragraph end (bug #461)
7739
7740 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7741
7742         * paragraph.C (startTeXParParams):
7743         (endTeXParParams): add \protect when necessary
7744
7745 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7746
7747         * BufferView_pimpl.C (workAreaExpose): remove warning
7748
7749 2002-06-27  Angus Leeming  <leeming@lyx.org>
7750
7751         * Makefile.am: add lyxlayout_ptr_fwd.h.
7752
7753 2002-06-26  André Pönitz <poenitz@gmx.net>
7754
7755         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7756
7757 2002-06-25  Angus Leeming  <leeming@lyx.org>
7758
7759         * lyxfunc.C (dispatch): Comment out the call to
7760         grfx::GCache::changeDisplay. The method no longer exists now that the
7761         pixmap generation part of the graphics loader has been moved into
7762         InsetGraphics.
7763
7764 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7765
7766         * text2.C: layout as layout
7767
7768         * text.C: layout as layout
7769
7770         * tabular.C (OldFormatRead): layout as layout
7771
7772         * paragraph_pimpl.C (TeXDeeper): layout as layout
7773         (realizeFont): layout as layout
7774
7775         * paragraph.C (writeFile): layout as layout
7776         (validate): layout as layout
7777         (getFont): layout as layout
7778         (getLabelFont): layout as layout
7779         (getLayoutFont): layout as layout
7780         (breakParagraph): layout as layout
7781         (stripLeadingSpaces): layout as layout
7782         (getEndLabel): layout as layout
7783         (getMaxDepthAfter): layout as layout
7784         (applyLayout): layout as layout
7785         (TeXOnePar): layout as layout
7786         (simpleTeXOnePar): layout as layout
7787         (TeXEnvironment): layout as layout
7788         (layout): layout as layout
7789         (layout): layout as layout
7790
7791         * lyxtextclass.C (compare_name): new functor to work with
7792         shared_ptr, layout as layout
7793         (Read): layout as layout
7794         (hasLayout): layout as layout
7795         (operator): layout as layout
7796         (delete_layout): layout as layout
7797         (defaultLayout): layout as layout
7798
7799         * lyxlayout_ptr_fwd.h: new file
7800
7801         * lyxlayout.C (Read): layout as layout
7802
7803         * lyx_cb.C (MenuInsertLabel): layout as layout
7804
7805         * bufferlist.C (newFile): layout as layout
7806
7807         * buffer.C (readLyXformat2): layout as layout
7808         (parseSingleLyXformat2Token): layout as layout
7809         (insertStringAsLines): layout as layout
7810         (asciiParagraph): layout as layout
7811         (latexParagraphs): layout as layout
7812         (makeLinuxDocFile): layout as layout
7813         (simpleLinuxDocOnePar): layout as layout
7814         (makeDocBookFile): layout as layout
7815         (simpleDocBookOnePar): layout as layout
7816         (getLists): layout as layout
7817
7818         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7819
7820         * CutAndPaste.C (cutSelection): layout as layout
7821         (pasteSelection): layout as layout
7822         (SwitchLayoutsBetweenClasses): layout as layout
7823
7824         * BufferView_pimpl.C (Dispatch): layout as layout
7825         (smartQuote): layout as layout
7826
7827         * BufferView2.C (unlockInset): layout as layout
7828
7829 2002-06-24  André Pönitz <poenitz@gmx.net>
7830
7831         * lyxfunc.C: fix #487
7832
7833 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7834
7835         * lyxrc.h:
7836         * lyxrc.C:
7837         * lyxfunc.C: remove display_shortcuts, show_banner
7838
7839 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7840
7841         * Buffer_pimpl.C: oops, update on resize
7842
7843 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7844
7845         * buffer.C:
7846         * converter.C:
7847         * exporter.C:
7848         * lyxfunc.C:
7849         * BufferView.h:
7850         * BufferView.C: use repaint()
7851
7852         * BufferView_pimpl.h:
7853         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7854           as it's a clearer description. Remove superfluous
7855           redraws.
7856
7857 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7858
7859         * text.C: fix bug 488. Not ideal, but getting
7860           getWord() to work properly for the insets that
7861           matter is more difficult ...
7862
7863 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7864
7865         * BufferView_pimpl.C:
7866         * LyXAction.C:
7867         * commandtags.h:
7868         * lyxfunc.C: remove the six million index lyxfuncs to just
7869           one, and DTRT (bug 458)
7870
7871 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7872
7873         * BufferView.h:
7874         * BufferView.C:
7875         * BufferView_pimpl.h:
7876         * BufferView_pimpl.C: clean up resize() stuff,
7877           and unnecessary updateScreen()s
7878
7879 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7880
7881         * BufferView.h:
7882         * BufferView.C:
7883         * BufferView_pimpl.h:
7884         * BufferView_pimpl.C:
7885         * lyxfind.h:
7886         * lyxfind.C:
7887         * minibuffer.C: remove focus management of workarea,
7888           not needed. Use screen's greyOut()
7889
7890 2002-06-17  Herbert Voss  <voss@lyx.org>
7891
7892         * converter.C: (convert) do not post a message, when converting
7893         fails, let the calling function decide what to do in this case
7894
7895 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7896
7897         * lyxfunc.C: tidy up a little
7898
7899 2002-06-16    <alstrup@diku.dk>
7900
7901         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7902         Got rid of FORMS_H_LOCATION include. Now we are
7903         GUII.
7904
7905 2002-06-15  LyX Development team  <lyx@rilke>
7906
7907         * buffer.[Ch] (sgmlOpenTag):
7908         (sgmlCloseTag): Added support for avoiding pernicious mixed
7909         content. Return number of lines written.
7910
7911         (makeLinuxDocFile):
7912         (makeDocBookFile): Fixed calls to sgml*Tag.
7913         Simple white space clean.
7914
7915         (simpleDocBookOnePar): Simple white space clean.
7916
7917         * tabular.[Ch] (docBook): Renamed to docbook and got another
7918         argument to related with the pernicious mixed content.
7919
7920         (docbookRow): Fixed calls for docbook inset method.
7921
7922 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7923
7924         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7925         so it's X11 independent.
7926
7927         * kb*.[Ch]: ditto.
7928
7929         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7930
7931 2002-06-15  Lyx Development team  <lyx@electronia>
7932
7933         * intl.h: Renamed getTrans to getTransManager.
7934
7935 2002-06-14  Angus Leeming  <leeming@lyx.org>
7936
7937         * Makefile.am: nuke forgotten stl_string_fwd.h.
7938
7939 2002-06-12  Angus Leeming  <leeming@lyx.org>
7940
7941         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7942
7943 2002-06-13  Angus Leeming  <leeming@lyx.org>
7944
7945         * LaTeX.C:
7946         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7947
7948 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7949
7950         * kbmap.C (getiso): add support for cyrillic and greek
7951
7952 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7953
7954         * BufferView.h:
7955         * BufferView.C:
7956         * BufferView_pimpl.h:
7957         * BufferView_pimpl.C: move bogus scrolling logic
7958           to xforms
7959
7960 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7961
7962         * lyxfunc.C:
7963         * BufferView_pimpl.C: view->resize() change
7964
7965 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7966
7967         * BufferView_pimpl.C: topCursorVisible
7968           prototype change
7969
7970 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7971
7972         * Makefile.am:
7973         * lyx_gui.h:
7974         * lyx_gui.C: move to frontends/
7975
7976         * main.C:
7977         * lyx_main.h:
7978         * lyx_main.C: changes from above
7979
7980 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7981
7982         * intl.C:
7983         * intl.h:
7984         * kbmap.C:
7985         * kbsequence.C:
7986         * lyx_cb.C:
7987         * lyx_main.C: minor tidy
7988
7989 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7990
7991         * BufferView_pimpl.h:
7992         * BufferView_pimpl.C:
7993         * BufferView.h:
7994         * BufferView.C: make painter() const,
7995           remove dead code
7996
7997         * BufferView2.C: use screen() accessor
7998
7999         * lyx_main.h:
8000         * lyx_main.C: some minor cleanup
8001
8002 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8003
8004         * BufferView_pimpl.h:
8005         * BufferView_pimpl.C: remove enter/leaveView,
8006           use workHeight()
8007
8008 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8009
8010         * BufferView.h:
8011         * BufferView.C:
8012         * BufferView2.C:
8013         * BufferView_pimpl.h:
8014         * BufferView_pimpl.C: only construct screen once,
8015           rename
8016
8017         * lyxrc.C: remove pointless comment
8018
8019 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8020
8021         * BufferView.h:
8022         * BufferView.C: remove active() and belowMouse()
8023
8024         * BufferView_pimpl.h:
8025         * BufferView_pimpl.C: use workarea() not workarea_,
8026           and make it use a scoped_ptr instead
8027
8028 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8029
8030         * lyx_gui.C: add debug message on BadWindow
8031
8032 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8033
8034         * sp_spell.C: fdopen is not part of the C++ standard.
8035
8036         * paragraph.C (InsetIterator): use >= instead of ==
8037
8038 2002-06-07  Angus Leeming  <leeming@lyx.org>
8039
8040         Fixes needed to compile with Compaq cxx 6.5.
8041         * BufferView_pimpl.C:
8042         * DepTable.C:
8043         * buffer.C:
8044         * converter.C:
8045         * encoding.C:
8046         * lyx_gui.C:
8047         * lyx_main.C:
8048         * lyxtextclasslist.C:
8049         * minibuffer.C:
8050         * sp_spell.C:
8051         * tabular_funcs.C:
8052         * vc-backend.C:
8053         all c-library variables have been moved into namespace std. Wrap
8054         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8055
8056         * lyxlength.C:
8057         * tabular-old.C:
8058         * tabular.C:
8059         Add a using std::abs declaration.
8060
8061         * kbmap.h (modifier_pair):
8062         * paragraph.h (InsetTable, InsetList):
8063         * lyxfont.h (FontBits):
8064         type definition made public.
8065
8066         * bufferlist.C (emergencyWriteAll): the compiler complains that
8067         there is more than one possible lyx::class_fun template to choose from.
8068         I re-named the void specialisation as lyx::void_class_fun.
8069
8070         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8071
8072         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8073         the compiler is is unable to find tostr in write_attribute.
8074
8075 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8076
8077         * buffer.C (sgmlError): hide #warning
8078
8079 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8080
8081         * xtl/*: get rid of xtl, which is not in use anyway
8082
8083         * LyXAction.C (init):
8084         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8085         were unimplemented xtl experimentation
8086
8087 2002-06-04  André Pönitz <poenitz@gmx.net>
8088
8089         * lyxfunc.C: disable array operation on simple formulae
8090
8091 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8092
8093         * converter.C: constify a bit
8094
8095 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8096
8097         * lyx_gui.C: check xforms version correctly
8098
8099 2002-04-30  Herbert Voss  <voss@lyx.org>
8100
8101         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8102         "keep" option
8103
8104 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8105
8106         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8107           attempt to register it with a VCS)
8108
8109 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8110
8111         * lyx_main.C (init): honor variables LYX_DIR_13x and
8112         LYX_USERDIR_13x
8113
8114 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8115
8116         * buffer.h:
8117         * buffer.C:
8118         * lyx_main.C: fix a crash on bad command line,
8119           and give a useful exit status on error
8120
8121         * lyxfunc.C (doImport): allow -i lyx to work
8122
8123 2002-03-30  André Pönitz <poenitz@gmx.net>
8124
8125         * lyxfunc.C: mathed font changes
8126
8127 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8128
8129         * LaTeX.C:
8130         * importer.h:
8131         * importer.C:
8132         * lyx_sty.h:
8133         * lyx_sty.C:
8134         * lyxlex.C:
8135         * lyxrow.h:
8136         * lyxtext.h:
8137         * paragraph.h:
8138         * paragraph.C:
8139         * texrow.h:
8140         * texrow.C:
8141         * text.C:
8142         * trans_mgr.h: srcdocs, and some minor cleanups
8143
8144 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8145
8146         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8147         call getFont all the time)
8148
8149 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8150
8151         * switch from SigC signals to boost::signals
8152
8153 2002-05-29  André Pönitz <poenitz@gmx.net>
8154
8155         * paragraph_pimpl.C (getChar): don't call size() too often...
8156
8157 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8158
8159         * paragraph_pimpl.C (insertChar): do not try to update tables when
8160         appending (pos == size())
8161
8162         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8163         in order to reduce drastically the number of comparisons needed to
8164         parse a large document
8165
8166 2002-05-29  André Pönitz <poenitz@gmx.net>
8167
8168         * text.C:
8169         * text2.C:
8170         * lyxtextclass.C:
8171         * sp_pspell.h:
8172         * textclasslist.[Ch]:
8173         * sp_ispell.h: whitespace change
8174
8175 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8176
8177         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8178         lyxaction directly now.
8179
8180 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8181
8182         * trans.C:
8183         * lyxfont.C:
8184         * lyxvc.C: remove unused headers
8185
8186 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8187
8188         * Makefile.am:
8189         * buffer.h:
8190         * undostack.h:
8191         * undostack.C:
8192         * undo_funcs.h:
8193         * undo_funcs.C: some cleanups. Use shared_ptr
8194           and a template for the undo stacks.
8195
8196 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8197
8198         * BufferView_pimpl.h:
8199         * BufferView_pimpl.C:
8200         * kbmap.h:
8201         * kbmap.C:
8202         * kbsequence.h:
8203         * kbsequence.C:
8204         * lyxfunc.h:
8205         * lyxfunc.C:
8206         * text2.C: use key_state/mouse_state
8207
8208 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8209
8210         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8211         and LSubstring
8212
8213         * chset.C: change include order
8214         (loadFile): use boost regex and get rid of LRegex and LSubstring
8215
8216         * Makefile.am (BOOST_LIBS): new variable
8217         (lyx_LDADD): use it
8218
8219         * LaTeX.C: change include order.
8220         (scanAuxFile): use boost regex and get rid of LRegex and
8221         LSubstring
8222         (deplog): ditto
8223
8224 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8225
8226         * ColorHandler.h:
8227         * ColorHandler.C:
8228         * FontInfo.h:
8229         * FontInfo.C: moved to frontends/xforms/
8230
8231         * FontLoader.h:
8232         * FontLoader.C: moved into frontends for GUIIzation
8233
8234         * Makefile.am:
8235         * lyx_gui.C:
8236         * lyxfont.C:
8237         * lyxfunc.C: changes from above
8238
8239 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8240
8241         * LColor.C: remove spurious X include
8242
8243         * BufferView_pimpl.C:
8244         * Makefile.am:
8245         * font.h:
8246         * font.C:
8247         * text.C:
8248         * text2.C: move font metrics to frontends/
8249
8250 2002-05-24  Juergen Vigna  <jug@sad.it>
8251
8252         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8253         setting the undo_cursor.
8254
8255         * ParagraphParameters.h: include local includes first.
8256
8257 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8258
8259         * BufferView_pimpl.C:
8260         * BufferView_pimpl.h:
8261         * Makefile.am:
8262         * WorkArea.h:
8263         * WorkArea.C:
8264         * screen.C: move WorkArea into frontends/
8265
8266         * lyxscreen.h:
8267         * screen.C:
8268         * text.C:
8269         * BufferView.C:
8270         * BufferView2.C: move LyXScreen into frontends/
8271
8272         * lyxlookup.h:
8273         * lyxlookup.C:
8274         * lyx_gui.C: move lyxlookup into frontends/xforms/
8275
8276 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8277
8278         * BufferView2.C:
8279         * BufferView_pimpl.C:
8280         * FontLoader.C:
8281         * LyXView.h:
8282         * LyXView.C:
8283         * Makefile.am:
8284         * WorkArea.C:
8285         * XFormsView.h:
8286         * XFormsView.C:
8287         * buffer.C:
8288         * bufferlist.C:
8289         * bufferview_funcs.C:
8290         * converter.C:
8291         * importer.C:
8292         * lyx_cb.C:
8293         * lyx_gui.C:
8294         * lyx_main.C:
8295         * lyx_find.C:
8296         * lyxfunc.C:
8297         * lyxvc.C:
8298         * minibuffer.C:
8299         * text.C:
8300         * text2.C:
8301         * trans.C:
8302         * vc-backend.C: move LyX/XFormsView into frontends/
8303
8304 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8305
8306         * Makefile.am:
8307         * PainterBase.C:
8308         * PainterBase.h:
8309         * Painter.C:
8310         * Painter.h:
8311         * WorkArea.C:
8312         * WorkArea.h:
8313         * screen.C:
8314         * tabular.C:
8315         * text.C:
8316         * text2.C: move Painter to frontends/
8317
8318 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8319
8320         * buffer.C: comment out some some code that depend upon lyx_format
8321         < 220
8322
8323         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8324         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8325
8326         * buffer.h (NO_COMPABILITY): turn off compability
8327
8328         * ColorHandler.C: include scoped_array.hpp
8329
8330         * font.C: Use more specific smart_ptr header.
8331         * Painter.C: ditto
8332         * gettext.C: ditto
8333         * ShareContainer.h: ditto
8334         * lyx_main.h: ditto
8335         * kbmap.h: ditto
8336         * FontInfo.h: ditto
8337         * BufferView_pimpl.h: ditto
8338         * ColorHandler.h: ditto
8339
8340         * kbmap.C (defkey): change call to shared_ptr::reset
8341
8342 2002-05-21  Juergen Vigna  <jug@sad.it>
8343
8344         * buffer.C (insertErtContents): fix to insert ert asis if it is
8345         non empty. Skip it completely if it contains only whitespaces.
8346
8347 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8348
8349         * BufferView_pimpl.C:
8350         * BufferView2.C: clear selection on paste (bug 393)
8351
8352 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8353
8354         * DepTable.C: include ctime
8355
8356 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8357
8358         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8359
8360 2002-05-14  Juergen Vigna  <jug@sad.it>
8361
8362         * text.C (breakParagraph): fixed function to honor the keepempty
8363         layout in the right maner and also to permit the right breaking
8364         algorithm on empty or non empyt keepempty paragraphs.
8365
8366         * paragraph.C (breakParagraph): we have to check also if the par
8367         is really empty (!size()) for isempty otherwise we do the wrong
8368         paragraph break.
8369
8370 2002-05-10  Juergen Vigna  <jug@sad.it>
8371
8372         * buffer.[Ch] : The following are only changes to the ert
8373         compatibility read reading old LaTeX layout and font stuff and
8374         convert it to ERTInsets.
8375
8376         * buffer.h: added isErtInset().
8377
8378         * buffer.C (struct ErtComp): add a fromlayout bool to check
8379         if we're inside a LaTeX layout.
8380         (isErtInset): new helper function.
8381         (insertErtContents): look for other ert insets before this one
8382         and insert the contents there, so that we don't have subsequent
8383         ERT insets with nothing between them. This way we create only one
8384         inset with multiple paragraphs. Also check if we don't insert only
8385         spaces ' ' as they are ignored anyway afterwards in the .tex file
8386         so if we have only spaces we will ignore this latex part in the
8387         new file.
8388         (parseSingleLyXformat2Token \\layout): better compatibility when
8389         reading layout-latex stuff.
8390         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8391         language tag.
8392         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8393         stuff after reading the inset only get the information back from
8394         the stack.
8395
8396 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8397
8398         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8399
8400         * LaTeXFeatures.C (getBabelOptions): New method.
8401
8402 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8403
8404         * BufferView_pimpl.C (Dispatch): work around missing argument for
8405         'layout'
8406
8407 2002-05-08  Juergen Vigna  <jug@sad.it>
8408
8409         * text.C (leftMargin): handle paragraph leftindent.
8410
8411         * paragraph.C (writeFile): write the new \\leftindent tag.
8412         (validate): handle leftindent code.
8413         (TeXEnvironment): handle paragraphleftindent code again.
8414
8415         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8416
8417         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8418         for paragrap_extra indent code and new token \\leftindent.
8419         (latexParagraphs): handle the leftindent as environment.
8420
8421         * ParameterStruct.h: added leftindent support.
8422
8423         * ParagraphParameters.C (leftIndent): added support functions for
8424         the paragraph left indent.
8425
8426         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8427         more appropriate.
8428
8429 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8430
8431         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8432         inside insetERT.
8433
8434         * text.C (computeBidiTables): No bidi in insetERT.
8435
8436         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8437         in RTL documents.
8438
8439 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8440
8441         * version.C.in: pre 5
8442
8443 2002-05-02  José Matos  <jamatos@fep.up.pt>
8444         * buffer.C (makeDocBookFile): white space changes, add newline to
8445         command styles.
8446         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8447
8448         * tabular.C (docBook): fix typo.
8449
8450 2002-05-03  Juergen Vigna  <jug@sad.it>
8451
8452         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8453         change in LyXText as we can not be sure it was not freed.
8454         (drawOneRow): remove unused code.
8455
8456         * text.C (drawInset): redo the calculation of the need_break_row as
8457         it could have a row which was already freed.
8458         (draw): look at the return value of drawInset and return false if
8459         it also returned false.
8460         (paintRowText): look at the return value of draw and return false if
8461         it also returned false.
8462
8463         * lyxtext.h: added bool return type to drawInset() and draw() so that
8464         if we have a change in the row so that the rowbreak has to be redone
8465         we abort drawing as it will be called again.
8466
8467 2002-05-02  Juergen Vigna  <jug@sad.it>
8468
8469         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8470         a change in the maintext also if we're inside an inset.
8471         (Dispatch): set the cursor again after a break line and after the
8472         screen has been updated as it could be we're in a different row.
8473
8474         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8475         to set the cursor behind the pargraph with > size().
8476         (setCursor): check also for the same paragraph when checking where
8477         to put the cursor if we have a NFR inset.
8478
8479         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8480         parts of layout read further up as it still was in the wrong
8481         position.
8482
8483 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8484
8485         * screen.C (drawFromTo): change sine fullRebreak always return
8486         true.
8487
8488         * buffer.C (parseSingleLyXformat2Token): reindent some
8489
8490         * BufferView_pimpl.C (update): change since fullRebreak always
8491         return true.
8492         (Dispatch): git rid of the last hardcoded "Standard"s.
8493
8494 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8495
8496         * text2.[Ch] (fullRebreak): make it return void now that we always
8497         returned true.
8498
8499 2002-04-30  Juergen Vigna  <jug@sad.it>
8500
8501         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8502         ert compatibility check for "latex" layout.
8503
8504 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8505
8506         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8507         minipages: use col% instead of p%, and also use the current font.
8508         (makeLaTeXFile): Fix use babel condition.
8509         (parseSingleLyXformat2Token): Correct font when reading old floats.
8510
8511 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8512
8513         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8514         inserting list of floats.
8515
8516 2002-04-25  Herbert Voss  <voss@lyx.org>
8517
8518         * MenuBackend.C (expand): don't add the graphics extensions to the
8519         export menu
8520
8521 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8522
8523         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8524         non-existing layout, do not complain if it was the default layout
8525         of the original class (bug #342)
8526
8527 2002-04-24  Juergen Vigna  <jug@sad.it>
8528
8529         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8530         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8531
8532 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8533
8534         * buffer.C (getBibkeyList): If using \bibliography, return the
8535         option field with the reference itself. Enables us to provide natbib
8536         support when using \bibliography.
8537
8538 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8539
8540         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8541
8542         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8543         natbib is provided by the LaTeX class.
8544
8545 2002-04-23  Juergen Vigna  <jug@sad.it>
8546
8547         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8548         Wakeup functions.
8549
8550         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8551
8552 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8553
8554         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8555
8556         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8557         ensuremath around textordmasculine, textordfeminine and
8558         textdegree.
8559
8560 2002-04-19  Juergen Vigna  <jug@sad.it>
8561
8562         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8563         reinitializing the buffer otherwise row-dimensions may be wrong.
8564         (update): reset also the selection cursors if they do exits otherwise
8565         their x/y positions may be wrong.
8566
8567         * text2.C (cursorDown): don't enter the inset if we came from a row
8568         above and are one row over the inset.
8569
8570         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8571         really leaving an inset.
8572
8573 2002-04-18  Juergen Vigna  <jug@sad.it>
8574
8575         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8576         of the selected paragraph does not have the selected layout also if
8577         the last one had!
8578
8579         * text2.C (setLayout): fixed bug which did not change last selected
8580         paragraph.
8581
8582         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8583         changed the read and substituted \\end_float with \\end_inset!
8584
8585         * BufferView_pimpl.C (cursorPrevious):
8586         (cursorNext): fixed to make it work with rows heigher than the work
8587         area without moving the cursor only the draw of the row.
8588         (workAreaMotionNotify): fix jumping over high rows.
8589
8590 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8591
8592         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8593         Ressler.
8594
8595 2002-04-16  Juergen Vigna  <jug@sad.it>
8596
8597         * text2.C (setCursor): set also the irow().
8598         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8599         (cursorUp):
8600         (cursorDown): support for locking an inset if the x_fix value goes
8601         inside it. That way I can transverse insets too with cursor up/down.
8602
8603         * lyxrow.h: added irow helper function same as other (i) functions.
8604
8605         * BufferView_pimpl.C (cursorPrevious):
8606         (cursorNext): fixed for insets!
8607
8608 2002-04-15  Juergen Vigna  <jug@sad.it>
8609
8610         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8611         position otherwise it is wrong in some cases.
8612
8613         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8614         inside the inset before the call.
8615
8616 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8617
8618         * buffer.[Ch] (getBibkeyList): make it const.
8619
8620 2002-04-12  Juergen Vigna  <jug@sad.it>
8621
8622         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8623
8624         * text2.C (getCursorX): new helper function
8625         (setCursor): compute also ix_
8626         (setCursorFromCoordinates): set also ix.
8627
8628         * lyxcursor.h: added ix_ and helper functions.
8629
8630         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8631
8632         * buffer.C (insertStringAsLines): dont break paragraph if the this
8633         paragraph is inside an inset which does not permit it!
8634
8635         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8636         also with no chars on this paragraph.
8637         (paintRowText): only paint stuff if it's inside the workarea!
8638
8639         * paragraph.C (breakParagraph): honor keepempty flag and break the
8640         paragraph always below not above.
8641
8642         * BufferView2.C (unlockInset): update the paragraph layout on inset
8643         unlock as we changed paragraph in such a case.
8644
8645         * lyxfind.C (LyXFind): clear the former selection if not found!
8646
8647         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8648         again called in insertChar().
8649
8650         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8651         an inset which uses the whole row!
8652         (rightMargin): ditto.
8653         (insertChar): force a rebreak if we inserted an inset!
8654
8655 2002-03-28  Herbert Voss  <voss@lyx.org>
8656
8657         * lyxlength.[Ch]: add inBP() to get the right PS-point
8658         units (BigPoint). With inPixels we have rounding errors
8659
8660 2002-04-11  Juergen Vigna  <jug@sad.it>
8661
8662         * text2.C (setCursorFromCoordinates): set iy to the right value.
8663         (setCursor): add check if row->previous exists!
8664
8665         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8666         an old float_type as this was the case in the old code!
8667
8668         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8669
8670         * BufferView2.C (showLockedInsetCursor): use iy
8671         (fitLockedInsetCursor): ditto
8672
8673         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8674         locked insets as there we have the right value now.
8675
8676         * lyxcursor.C: added iy_ variable and iy functions to set to the
8677         baseline of cursor-y of the locked inset.
8678
8679         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8680         (setCursor): fixed for insets which need a full row.
8681
8682         * text.C (rowLastPrintable): don't ignore the last space when before
8683         an inset which needs a full row.
8684         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8685         as last character of a row when before a inset which needs a full row.
8686
8687 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8688
8689         * version.C.in: update date
8690
8691         * text2.C (fullRebreak): try to always return true and see what
8692         happens...
8693
8694 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8695
8696         * MenuBackend.C (expand): use Floating::listName
8697
8698         * FloatList.C (FloatList): add listName argument to the built-in
8699         floats
8700
8701         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8702         text associated with the float.
8703
8704 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8705
8706         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8707
8708 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8709
8710         * ShareContainer.h: add a couple of missing typenames.
8711
8712 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8713
8714         * lyxrc.C (getDescription): use _() correctly rather than N_().
8715
8716 2002-03-28  Herbert Voss  <voss@lyx.org>
8717
8718         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8719         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8720
8721 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8722
8723         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8724         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8725
8726 2002-03-29  Juergen Vigna  <jug@sad.it>
8727
8728         * lyxfunc.C (dispatch): add a missing fitCursor call.
8729
8730         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8731         it was scrolled by a cursor move, so return the bool status.
8732
8733         * BufferView.C (fitCursor): return the bool flag also to the outside
8734         world as this is needed.
8735
8736         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8737
8738         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8739         call the edit() as it is not needed (and wrong) IMO.
8740         (workAreaButtonPress): set the screen_first variable before evt.
8741         unlock the inset as this may change screen_first and then we have
8742         a wrong y position for the click!
8743
8744 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8745
8746         * MenuBackend.C (expand): another translation that I missed
8747
8748 2002-03-28  Juergen Vigna  <jug@sad.it>
8749
8750         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8751
8752         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8753
8754 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8755
8756         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8757
8758         * MenuBackend.C (expand): fix export/view/update when there is no
8759         document open.
8760
8761 2002-03-27  Herbert Voss  <voss@lyx.org>
8762
8763         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8764         and text%
8765
8766 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8767
8768         * bufferview_funcs.C (currentState): only show paragraph number
8769         for is DEVEL_VERSION is set.
8770
8771         * lyxfunc.C (dispatch): put warning in INFO channel
8772
8773         * MenuBackend.C (expand): translate the name of floats
8774
8775         * FloatList.C (FloatList): mark the float names for translation
8776
8777         * converter.C (convert): use LibScriptSearch
8778
8779 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8780
8781         * MenuBackend.C (defaults): fix default menu (we might as well get
8782         rid of it...)
8783
8784 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8785
8786         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8787         directory.
8788
8789 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8790
8791         * lyxvc.C: reorder includes.
8792
8793 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8794
8795         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8796           properly
8797
8798 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8799
8800         * CutAndPaste.C: change layouts earlier on paste
8801           to avoid crashing when calling getFont()
8802
8803 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8804
8805         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8806         irritating #error.
8807
8808 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8809
8810         * WorkArea.C: remove 'Pending' debug message.
8811
8812         * most files: ws cleanup
8813
8814         * buffer.[Ch]: ws changes
8815
8816         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8817
8818 2002-03-21  Juergen Vigna  <jug@sad.it>
8819
8820         * tabular.C (SetMultiColumn): collapse also the contents of the
8821         cells and set the last border right. Added a Buffer const * param.
8822
8823 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8824
8825         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8826         linking or not.
8827
8828 2002-03-19  Juergen Vigna  <jug@sad.it>
8829
8830         * text2.C (clearSelection): reset also xsel_cache.
8831
8832         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8833         where it needs to be called (John tells us to do so too :)
8834         (selectionLost): reset sel_cache.
8835
8836         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8837
8838 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8839
8840         * text2.C (setCursorIntern): put debuging code in INSETS channel
8841
8842 2002-03-19  André Pönitz <poenitz@gmx.net>
8843
8844         * lyxfunc.C: tiny whitespace change
8845
8846 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8847
8848         * ToolbarDefaults.C (init):
8849         * LyXAction.C (init):
8850         * commandtags.h:
8851         * BufferView_pimpl.C (Dispatch):
8852         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8853
8854 2002-03-19  Allan Rae  <rae@lyx.org>
8855
8856         * exporter.C (Export): removeAutoInsets before doing anything else.
8857         While I've just introduced a dependency on BufferView this really is
8858         the best place to clean the buffer otherwise you need to cleanup in
8859         a dozen places before calling export or cleanup in a dozen functions
8860         that export calls.
8861
8862         * converter.C (runLaTeX):
8863         (scanLog): Better handling of removeAutoInsets and screen updates.
8864
8865         * lyxfunc.C (dispatch): small whitespace changes
8866
8867 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8868
8869         * WorkArea.C (C_WorkAreaEvent): return a value.
8870         (event_cb): return 1 if we handled the event, 0 otherwise.
8871
8872         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8873
8874 2002-03-18  Juergen Vigna  <jug@sad.it>
8875
8876         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8877         (GetAdditionalWidth): ditto.
8878         (RightLine): ditto.
8879         (LeftLine): ditto.
8880
8881         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8882         inset if we're there actually (probably not used right now but this
8883         is the direction to go for unifying code).
8884         (paste): disable code to clear the selection.
8885
8886         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8887         inside an InsetText and move the check further up as it is in the
8888         wrong place.
8889
8890         * text2.C (pasteSelection): set a selection over the pasted text.
8891
8892 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8893
8894         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8895         and libgraphics to build on Cygwin.
8896
8897 2002-03-15  Juergen Vigna  <jug@sad.it>
8898
8899         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8900         inserting an Inset into the paragraph. I know this is not the best
8901         fix but we already use current_view in CutAndPaste so we will remove
8902         all of it's using at the same time.
8903
8904         * buffer.C (sgmlError): deactivated function till it is rewritten in
8905         the right mode, now it can create problems.
8906
8907         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8908         before accessing it.
8909
8910 2002-03-14  Juergen Vigna  <jug@sad.it>
8911
8912         * undo_funcs.C (textHandleUndo): do the right thing when updating
8913         the inset after the undo/redo.
8914
8915         * text2.C (setCursor): just some testcode for #44 not ready yet.
8916
8917         * undo_funcs.C (textHandleUndo): set the next() and previous()
8918         pointers of the paragraph to 0 before deleting otherwise we have
8919         problems with the Paragraph::[destructor].
8920
8921         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8922         on a paragraph insertion.
8923
8924 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8925
8926         * buffer.C (asciiParagraph): use += operator for char append to
8927         string.
8928
8929         * paragraph.C (getFontSettings): compare >= not just >
8930         (highestFontInRange): ditto
8931         (setFont): ditto
8932
8933 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8934
8935         * paragraph.C: change several algorithm to be more appripriate for
8936         the problem domain. This is lookip in FontList and in the InsetList.
8937
8938 2002-03-13  André Pönitz <poenitz@gmx.net>
8939
8940         * commandtags.h:
8941         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8942
8943 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8944
8945         * commandtags.h:
8946         * LyXAction.C:
8947         * lyxfunc.C:
8948         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8949
8950 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8951
8952         * Painter.C (display): anon helper function, adjust code for this
8953         change.
8954         (pixmap): remove function.
8955
8956         * Painter.h: remove private display variable.
8957
8958         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8959
8960 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8961
8962         * WorkArea.[Ch]: remove figinset_canvas cruft.
8963
8964 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8965
8966         * lyxtextclass.C (operator): add one item cache optimization.
8967
8968         * bufferlist.h: doxy changes
8969
8970         * bufferlist.C: ws changes
8971
8972         * DepTable.[Ch] (ext_exist): place const in the right spot.
8973
8974         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8975         call resizeInsets.
8976         (workAreaExpose): call resizeInsets when the with BufferView changes.
8977         (Dispatch): adjust for protectedBlank removal
8978         (specialChar): call updateInset if the insert went ok.
8979
8980         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8981         specialChar instead.
8982
8983         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8984
8985         * BufferView.h: doxy change
8986
8987         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8988
8989         * lyxtextclass.C (operator[]): remove non-const version
8990         (defaultLayout): remove non-const version
8991
8992 2002-03-12  Juergen Vigna  <jug@sad.it>
8993
8994         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8995         did resize the LyXText too.
8996
8997         * buffer.C (readLyXformat2): set layout information on newly allocated
8998         paragraphs.
8999
9000         * tabular.C (OldFormatRead): set layout information on the paragraph.
9001
9002 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9003
9004         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9005
9006 2002-03-11  Juergen Vigna  <jug@sad.it>
9007
9008         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9009         plainly wrong.
9010         (resizeCurrentBuffer): force also the insets to resize themselfes.
9011         (moveCursorUpdate): fixed up for InsetText.
9012
9013 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9014
9015         * commandtags.h:
9016         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9017         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9018         value of Dialogs::tooltipsEnabled().
9019         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9020
9021 2002-03-08  Juergen Vigna  <jug@sad.it>
9022
9023         * BufferView_pimpl.C (updateInset): update inset inside inset also
9024         if it isn't inside theLockingInset().
9025
9026 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9027
9028         * buffer.C (asciiParagraph): redo some of the word and line length
9029         handling.
9030         (getLists): look for Caption instead of caption.
9031
9032 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9033
9034         * buffer.C (Buffer): initialize niceFile to true
9035         (makeLaTeXFile):
9036         (makeLinuxDocFile):
9037         (makeDocBookFile): make sure niceFile is true on exit
9038
9039 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9040
9041         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9042
9043 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9044
9045         * LyXSendto.C: remove.
9046         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9047         * lyx_gui.C: remove now-redundant comment.
9048         * ColorHandler.h: remove forward declaration of class WorkArea.
9049         * lyxfunc.C: remove #include "WorkArea.h".
9050
9051 2002-03-07  Juergen Vigna  <jug@sad.it>
9052
9053         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9054         got moved away with the DEPM and also set the inset_owner always
9055         right which before could have been omitted.
9056
9057 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9058
9059         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9060         wanted layout is not found.
9061
9062 2002-03-07  Juergen Vigna  <jug@sad.it>
9063
9064         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9065
9066 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9067
9068         * paragraph.C (breakParagraph): use default layout not layout of
9069         prev paragraph.
9070         (Paragraph): clear ParagraphParameters.
9071
9072 2002-03-06  Juergen Vigna  <jug@sad.it>
9073
9074         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9075         otherwise it would not be a valid lenght. Fixed a special case in
9076         the minipage compatibility read where we end the document with a
9077         minipage.
9078
9079         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9080         was set as it could be 0 for InsetTexts first entry.
9081
9082 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9083
9084         * paragraph.C (writeFile): if layout is empty write out
9085         defaultLayoutName().
9086
9087         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9088         file without named layout we set layout to defaultLayoutName().
9089
9090 2002-03-06  Juergen Vigna  <jug@sad.it>
9091
9092         * CutAndPaste.C (copySelection): set layout for new paragraph.
9093
9094         * text.C (prepareToPrint): leave ERT inset left aligned
9095         (leftMargin): don't indent paragraphs inside ERT insets
9096
9097 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9098
9099         * paragraph.C (breakParagraph): dont call clear do the work manually
9100
9101         * paragraph.[Ch] (clear): remove function
9102
9103 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9104
9105         * paragraph.C (Paragraph): dont call clear, the work has already
9106         been done.
9107
9108         * lyxtextclass.C (operator): assert if n is empty
9109
9110         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9111         work manually instead.
9112
9113 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9114
9115         * BufferView_pimpl.C: protect selectionLost against text == 0
9116
9117 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9118
9119         * text.C (breakParagraph): fix a setting layout to '0' problem.
9120
9121 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9122
9123         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9124         final location of file, for the included files, and graphics.
9125
9126 2002-03-05  Juergen Vigna  <jug@sad.it>
9127
9128         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9129
9130 2002-03-04  Juergen Vigna  <jug@sad.it>
9131
9132         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9133
9134         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9135         last column of multicolumn cells.
9136         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9137
9138 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9139
9140         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9141         file if it doesn't go to a temporary file.
9142
9143         * buffer.C (sgmlOpenTag):
9144         (sgmlCloseTag):  remove extra newline insertion.
9145
9146 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9147
9148         * text.C (getRowNearY): comment out debug msg
9149
9150 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9151
9152         * text2.C: first -> first_y
9153
9154         * text.C (getRowNearY): add some attemts at a possible
9155         optimization, not working.
9156
9157         * tabular.[Ch]: add BufferParams to several function so that newly
9158         created paragraph can be initialized to he default layotu for the
9159         buffers textclass.
9160
9161         * tabular-old.C (ReadOld): add buf->params to call of Init
9162
9163         * screen.C: rename text->first to text->first_y
9164
9165         * paragraph.C (breakParagraph): always set layout in the broken
9166         paragraph
9167
9168         * lyxtextclass.C (Read): remove lowercase
9169         (hasLayout): ditto
9170         (operator): ditto
9171         (delete_layout): ditto
9172
9173         * lyxtext.h: rename first -> first_y
9174
9175         * lyxlayout.C (Read): remove lowercase
9176         (name): ditto
9177         (setName): ditto
9178         (obsoleted_by): ditto
9179
9180         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9181
9182         * buffer.C (insertErtContents): add params are to InsetERT
9183         (parseSingleLyXformat2Token): add code to check if a paragraphs
9184         layout really exist.
9185         (parseSingleLyXformat2Token): add params to several inset
9186         constructors
9187         (asciiParagraph): remove lowercase, do the layout comparisons with
9188         no_case
9189
9190         * BufferView_pimpl.C (cursorNext): first -> first_y
9191         (resizeCurrentBuffer): first -> first_y
9192         (updateScrollbar): first -> first_y
9193         (scrollCB): first -> first_y
9194         (workAreaMotionNotify): first -> first_y
9195         (workAreaButtonPress): first -> first_y
9196         (checkInsetHit): first -> first_y
9197         (cursorPrevious): first -> first_y
9198         (cursorNext): first -> first_y
9199         (Dispatch): add buffer_->params to severl inset contructors
9200
9201 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9202
9203         * lyxlayout.C (Read): remove some debug info that I forgot.
9204
9205         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9206         clean up the code slightly.
9207         (makeLinuxDocFile): ditto
9208         (makeDocBookFile): ditto
9209
9210         * text2.C: layout as string
9211
9212         * text.C: layout as string
9213
9214         * paragraph_pimpl.C: layout as string
9215
9216         * paragraph.[Ch]: layout as string
9217
9218         * lyxtextclasslist.[Ch]: layout as string
9219
9220         * lyxtextclass.[Ch]: layout as string
9221
9222         * lyxtext.h: layout as string
9223
9224         * lyxlayout.[Ch]: layout as string
9225
9226         * lyx_cb.C: layout as string
9227
9228         * bufferview_funcs.C: layout as string
9229
9230         * bufferparams.C: layout as string
9231
9232         * buffer.C: layout as string
9233
9234         * LyXView.[Ch]: layout as string
9235
9236         * LaTeXFeatures.[Ch]: layout as string
9237
9238         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9239
9240         * BufferView_pimpl.C: change current_layout to string, remove
9241         lyx::layout_type.
9242         (Dispatch):
9243         (smartQuote):
9244         (insertInset):
9245         (workAreaButtonRelease): layout as string
9246
9247         * BufferView2.C (unlockInset): adjust
9248
9249         * vspace.C (asLatexCommand): use an explict temp variable.
9250
9251 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9252
9253         * Makefile.am: use FRONTEND_*
9254
9255 2002-03-01  Juergen Vigna  <jug@sad.it>
9256
9257         * tabular.C (SetWidthOfMulticolCell): changed to something better
9258         I hope but still work in progress.
9259         (recalculateMulticolumnsOfColumn): renamed function from
9260         recalculateMulticolCells as it is more appropriate now.
9261         (SetWidthOfCell): calculate multicols better.
9262
9263 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9264
9265         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9266
9267         * lyxfunc.C (processKeySym): print sequence also if it is
9268         `deleted' (complete)
9269
9270         * kbsequence.C (print): print sequence even if it is deleted
9271         (complete would be a better word, actually).
9272
9273         * lyxfunc.C (dispatch): print complete options after a prefix key
9274
9275         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9276
9277 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9278
9279         * text2.C (setCharFont): eliminate setCharFont code duplication.
9280
9281 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9282
9283         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9284         LFUN_TABULAR_FEATURE (bug #177)
9285
9286 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9287
9288         * Makefile.am: remove figure.h
9289
9290 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9291
9292         * Bufferview_pimpl.C:
9293         * CutAndPasteC:
9294         * LaTeX.C:
9295         * LyXSendto.C:
9296         * buffer.C:
9297         * bufferlist.C:
9298         * converter.C:
9299         * language.C:
9300         * lyxfunc.C:
9301         * lyxvc.C:
9302         * paragraph.C:
9303         * text.C:
9304         * text2.C: remove #include "lyx_gui_misc.h".
9305
9306         * LaTeX.C: added #include <cstdio>
9307
9308 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9309
9310         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9311         that the paragraph following this one can have.
9312
9313         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9314
9315         * vspace.C (asLatexCommand): fix bogus gcc warning
9316
9317         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9318
9319 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9320
9321         * text2.C (setLayout): get rid of redundant code
9322
9323 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9324
9325         * text2.C (incDepth): make sure depth cannot be increased beyond
9326         reasonable values.
9327
9328 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9329
9330         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9331         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9332
9333         * PainterBase.h (image):
9334         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9335         a LyXImage const *.
9336
9337 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9338
9339         * BufferView.C:
9340         * BufferView.h:
9341         * BufferView_pimpl.C:
9342         * BufferView_pimpl.h:
9343         * LaTeXFeatures.C:
9344         * LyXAction.C:
9345         * LyXView.C:
9346         * Makefile.am:
9347         * UpdateList.h:
9348         * UpdateList.C:
9349         * buffer.C:
9350         * figure.h:
9351         * figureForm.C:
9352         * figureForm.h:
9353         * figure_form.C:
9354         * figure_form.h:
9355         * lyx_cb.C:
9356         * lyx_gui.C:
9357         * lyx_gui_misc.C:
9358         * lyxfunc.C:
9359         * sp_base.h:
9360         * sp_ispell.h:
9361         * sp_pspell.h:
9362         * sp_spell.C: remove fig inset, and the crap house of
9363           cards that follows it
9364
9365 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9366
9367         * Makefile.am:
9368         * lyxserver.C:
9369         * os2_defines.h:
9370         * os2_errortable.h:
9371         * nt_defines.h: move .h into support/
9372
9373         * vms_defines.h: remove
9374
9375         * WorkArea.C: add space in debug output
9376
9377         * text2.C:
9378         * paragraph.C:
9379         * buffer.C: add WITH_WARNINGS
9380
9381         * vc-backend.h:
9382         * vc-backend.C:
9383         * bufferlist.C: s/retrive/retrieve/, add docs
9384
9385         * vspace.h:
9386         * vspace.C:
9387         * kbmap.h:
9388         * lyxlength.h:
9389         * lyxgluelength.h:
9390         * length_common.h:
9391         * chset.h:
9392         * chset.C: add docs
9393
9394         * lyxgui.C: add ID to X error handler
9395
9396         * lyxtestclass.c: fix typo
9397
9398 2002-02-26  Juergen Vigna  <jug@sad.it>
9399
9400         * tabular_funcs.C (write_attribute): changed so that some default
9401         attributes are not written at all.
9402         (getTokenValue): set default values before trying to read the
9403         value so we have the return value always set as default if we don't
9404         find the token we search for.
9405
9406         * tabular.C (Write): write bools as bools not as strings!
9407
9408 2002-02-22  Juergen Vigna  <jug@sad.it>
9409
9410         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9411         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9412
9413         * text.C (leftMargin): don't add an indent for paragraphs inside
9414         tabular cells (fix #208).
9415
9416 2002-02-21  José Matos  <jamatos@fep.up.pt>
9417
9418         * tabular.C (docBook): fixed support for long tables.
9419
9420 2002-02-20  Juergen Vigna  <jug@sad.it>
9421
9422         * text2.C (getFont): get the drawing font of the Inset if this
9423         paragraph is inside an inset (only important for InsetERT for now).
9424
9425         * buffer.C (insertErtContents): use new lanugage params in ERT
9426         constructor.
9427
9428         * CutAndPaste.C: commenting out seemingly uneeded code.
9429
9430 2002-02-19  Allan Rae  <rae@lyx.org>
9431
9432         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9433         Iterators might be simple to use but they also get invalidated.
9434         (removeAutoInsets): renamed saved cursor tracking variables and added
9435         some comments to clarify what everything does.
9436
9437 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9438
9439         * Chktex.C:
9440         * LaTeX.C:
9441         * LyXSendto.C:
9442         * converter.C:
9443         * lyx_cb.C:
9444         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9445         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9446
9447         * lyxfunc.C:
9448         * vc-backend.h: remove #include "support/syscall.h"
9449
9450         * LaTeX.C:
9451         * LyXSendto.C:
9452         * converter.C: rearrange #includes in Lars' approved fashion.
9453
9454         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9455         forward declare class Timeout in the header file.
9456
9457         * XFormsView.C: changes due to the above.
9458
9459         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9460         similar to LyXView.
9461
9462         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9463         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9464
9465 2002-02-18  José Matos  <jamatos@fep.up.pt>
9466
9467         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9468         insets contents.
9469
9470 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9471
9472         * a lot of small ws changes
9473         * add a lot of using std::XXX
9474         * use std construcs some places where approp.
9475         * use some exisint stuff from lyxfunctional where approp.
9476         * Make file changes to use partial linking (lets test this now...)
9477
9478 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9479
9480         * Chktex.C:
9481         * buffer.C:
9482         remove #include "support/syscontr.h" as it's redundant. Always has been.
9483
9484         * Chktex.C:
9485         * LaTeX.C:
9486         * LyXSendto.C:
9487         * converter.C:
9488         * lyx_cb.C:
9489         * vc-backend.C:
9490         change Systemcalls::System to Systemcalls::Wait and
9491         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9492         No change of functionality, just reflects the stripped down Systemcalls
9493         class.
9494
9495 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9496
9497         * debug.[Ch]: add a GRAPHICS type to the enum.
9498
9499 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9500
9501         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9502
9503         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9504         there is an inset.
9505
9506 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9507
9508         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9509         match the changes below.
9510
9511         * text2.C (toggleInset): if there is not editable inset at cursor
9512         position, try to see if cursor is _inside_ a collapsable inset
9513         and close it.
9514
9515 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9516
9517         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9518         document menu has a nice checkbox
9519
9520 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9521
9522         * lyxlength.C (asLatexString): change PW to output as percent of
9523         \textwidth.
9524
9525         * lengthcommon.C: change '%' to 't%'
9526
9527         * lyxfunc.C (dispatch): a few comments from Martin
9528
9529 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9530
9531         * WorkArea.h:
9532         * WorkArea.C:
9533         * BufferView_pimpl.h:
9534         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9535           the X selection.
9536
9537 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9538
9539         * vspace.C (inPixels): fix compiler warning
9540
9541 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9542
9543         * lyxfunc.C (getStatus): fix status message for disabled commands.
9544
9545 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9546
9547         * BufferView_pimpl.C: fix crash on close buffer
9548         during selection (#227)
9549
9550 2002-01-27  Herbert Voss  <voss@lyx.org>
9551
9552         * buffer.C: link old Figure to new graphic inset
9553
9554 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9555
9556         * FontLoader.C (getFontinfo): Change the latex font names in order
9557         to match the names of type1inst.
9558
9559 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9560
9561         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9562
9563         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9564         (extchanged): ditto
9565         (ext_exist): ditto
9566         (remove_files_with_extension): ditto
9567         (remove_file): ditto
9568         (write): ditto
9569
9570         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9571         document is smaller than the work area height. Do not initialize
9572         static variables to 0.
9573
9574 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9575
9576         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9577
9578         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9579         LFUN_LAYOUT_PARAGRAPHS.
9580
9581         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9582         tabular. It is possible to provide a possible cell, which will
9583         typically be the actcell from the corresponding insettabular
9584
9585         * lyxfunc.C (getStatus): small cleanup; disable
9586         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9587         true
9588
9589 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9590
9591         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9592
9593         * paragraph.C (startTeXParParams):
9594         (endTeXParParams): new methods. The LaTeX code to
9595         start/end paragraph formatting
9596         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9597         empty (fixes bug #200)
9598
9599         * vspace.C (inPixels): adapt to the change below
9600         (inPixels): [later] more cleanups (remove unused variables)
9601
9602         * lyxlength.C (inPixels): change to use a width and a height as
9603         parameter.
9604
9605 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9606
9607         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9608         Replaced with \paperwidth
9609
9610         * DepTable.C (insert): add std:: qualifier
9611
9612 2002-01-18  Allan Rae  <rae@lyx.org>
9613
9614         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9615         updated also?
9616
9617         * text.C (drawInset): Turned out I didn't know enough about how
9618         rebreaking worked.  This fixes most of the redraw problems.  I see
9619         an occasional cursor trail when a line is broken now and the cursor
9620         placement can seem out by a few pixels also after a rebreak.
9621
9622 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9623
9624         * buffer.C (parseSingleLyXformat2Token): update because minipage
9625         width is now a LyXLength
9626
9627         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9628
9629         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9630         math insets
9631
9632 2002-01-17  Juergen Vigna  <jug@sad.it>
9633
9634         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9635
9636         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9637         is set correctly and the inset is updated correctly.
9638
9639 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9640
9641         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9642         the beginning of the loop.
9643
9644 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9645
9646         * lyxrc.C: improve help for use_scalable_fonts
9647
9648 2002-01-17  Allan Rae  <rae@lyx.org>
9649
9650         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9651
9652 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9653
9654         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9655         make sure to set their inset_owner to the right value (bug #171)
9656
9657 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9658
9659         * DepTable.h
9660         * DepTable.C: Implement mtime checking to reduce time spent doing
9661         CRCs.
9662
9663 2002-01-16  Juergen Vigna  <jug@sad.it>
9664
9665         * tabular.C (GetAdditionalHeight): one of error fixed.
9666
9667         * lyxrc.C (output): small fix in writing use_pspell.
9668
9669 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9670
9671         * sp_base.h: #include LString.h
9672
9673 2002-01-16  Allan Rae  <rae@lyx.org>
9674
9675         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9676         Can someone check this please?
9677
9678         * text.C (drawInset): It was possible that p.row would be removed by
9679         breakAgainOneRow upsetting a few other settings.  There may be another
9680         small tweak possible by setting need_break_row = 0 when p.row has been
9681         removed but I don't know enough about the logic here.
9682
9683 2002-01-15  Allan Rae  <rae@lyx.org>
9684
9685         * text.C (insertChar): removed conditional truism.
9686
9687         * BufferView2.C (removeAutoInsets): More tweaks.
9688         cur_par_prev could be a stray pointer.  Check for trailing empty line
9689         in case last line was cur_par and only had an error inset on it.
9690
9691 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9692
9693         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9694         absolute
9695
9696         * vc-backend.C (most methods):
9697         * exporter.C (Export):
9698         * converter.C (convert):
9699         (runLaTeX):
9700         * LyXSendto.C (SendtoApplyCB):
9701         * lyxfunc.C (dispatch):
9702         (menuNew):
9703         (open):
9704         (doImport):
9705         * lyx_cb.C (AutoSave):
9706         (InsertAsciiFile):
9707         * BufferView_pimpl.C (MenuInsertLyXFile):
9708         * buffer.C (runChktex): use Buffer::filePath().
9709
9710         * buffer.h: rename filename to filename_; rename filepath to
9711         filepath_ and make it private
9712         (filePath): new method
9713
9714         * buffer.C (writeFile): use fileName()
9715         (getLatexName):
9716
9717         * lyx_main.C (init): fix starting  of LyX when the binary is a
9718         link from so,ewhere else.
9719
9720         * minibuffer.C: include <cctype> for isprint
9721
9722 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9723
9724         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9725         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9726         name clash with InsetCollapsable's width function.
9727
9728 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9729
9730         * lastfiles.C: include <iterator>
9731
9732 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9733
9734         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9735         std::count.
9736
9737         * buffer.C (makeLaTeXFile): ditto.
9738         Also make loop operation more transparent.
9739
9740 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9741
9742         * ToolbarDefaults.C: remove trailing comma closing namespace.
9743
9744         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9745
9746         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9747         as in WorkArea.
9748
9749         * trans.C (Load): comment out unused variable, allowed.
9750
9751 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9752
9753         * minibuffer.[Ch] (append_char): new method to recieve input from the
9754         drop-down completion browser. If a key was pressed, then recieve this
9755         char and append it to the existing string.
9756         (peek_event): modify the positioning data passed to the completion
9757         browser so that it can be placed above the minibuffer rather than below.
9758 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9759
9760         * LyXAction.C (init): alloe error-next for readonly documents.
9761
9762         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9763         count.
9764
9765 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9766
9767         * bufferlist.C (readFile): create the buffer _after_ checking that
9768         the file exists.
9769
9770         * lyxfunc.C (verboseDispatch): fix handling of arguments
9771
9772         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9773
9774         * lyxrc.C: use string::erase() instead of initializing to "".
9775
9776
9777 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9778
9779         * BufferView_pimpl.h:
9780         * BufferView_pimpl.C:
9781         * WorkArea.h:
9782         * WorkArea.C:
9783         * text2.C: tell X when we have made a selection for copying
9784
9785 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9786
9787         * BufferView_pimpl.C (MenuInsertLyXFile):
9788         * lyxfunc.C (menuNew):
9789         (open):
9790         (doImport): add shortcuts to directory buttons
9791
9792         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9793         open a float)
9794
9795         * lyxfunc.C (setStatusMessage):
9796         (getStatusMessage): new methods
9797         (getStatus):use setStatusMessage instead of setErrorMessage
9798         (dispatch): when function is disabled, set error message here
9799         [instead of in getStatus previously]
9800
9801         * BufferView_pimpl.C (workAreaButtonRelease): update
9802         toolbar/menubar here too.
9803
9804 2002-01-13  Allan Rae  <rae@lyx.org>
9805
9806         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9807         Now seems indestructible.  Remaining task is to audit all other
9808         code affected by deleteEmptyParagraphMechanism.  One small quirk
9809         left is that an empty document with an error in the preamble can
9810         be made to report an error but no error box appears.  I don't know
9811         where it goes.
9812         (removeAutoInsets): Improved comments.
9813
9814 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9815
9816         * Thesaurus.h:
9817         * Thesaurus.C: update for Aiksaurus 0.14
9818
9819 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9820
9821         * text2.C (firstParagraph): removed member function, all uses
9822         replaces with ownerParagraph
9823         (redoParagraphs): here
9824         (updateInset): here
9825         (toggleAppendix): here
9826         * BufferView2.C (insertErrors): here
9827         (setCursorFromRow): here
9828
9829 2002-01-13  Allan Rae  <rae@lyx.org>
9830
9831         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9832         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9833         There is still a way to segfault this although you may have to do this
9834         multiple times: Have an InsetERT with an unknown command in it.
9835         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9836         <down-arrow>, <Enter> again, View->DVI, BANG!
9837
9838         * text2.C (setCursor):
9839         (deleteEmptyParagraphMechanism):
9840         * lyxtext.h (setCursor):
9841         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9842         Making use of the return value may help fix other bugs.
9843
9844 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9845
9846         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9847
9848         * LyXView.C (updateMenubar): call MenuBar::update here
9849         (updateToolbar): but not here
9850         (showState): do not update toolbar/menubar
9851
9852         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9853         should need to care about that.
9854
9855         * lyxfunc.C (verboseDispatch): simplify a bit
9856         (getStatus): have a version which takes a pseudoaction, and
9857         another which requires a (kb_action,string).
9858
9859         * LyXAction.C (retrieveActionArg): make it work also when action
9860         is not a pseudo-action.
9861         (getActionName): simplify a bit
9862         (helpText):
9863
9864 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9865
9866         * lyxfunc.C (verboseDispatch): new families of methods with
9867         several ways to specify a command and a bool to indicate whether
9868         the command name and shortcut should be displayed in minibuffer
9869         (eventually, we could extend that to a finer bitmask like
9870         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9871         (dispatch): the pristine dispatch command which just, well,
9872         dispatchs! Note it still sets its result to minibuffer; I'm not
9873         sure we want that.
9874
9875         * lyxfunc.h: remove setHintMessage
9876
9877         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9878
9879 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9880
9881         * BufferView_pimpl.C (specialChar): delete new inset if we have
9882         not been able to insert it.
9883
9884         * kbmap.C: revert to using int instead of kb_action, since all we
9885         are dealing with is pseudo-actions.
9886
9887         * LyXAction.C (searchActionArg): change to return int instead of
9888         kb_action, since the result is a pseudoaction.
9889
9890 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9891
9892         * buffer.C (insertErtContents): Fix (partially) the font bug.
9893
9894 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9895
9896         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9897         as the other one is broken on my machine!
9898
9899 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9900
9901         * commandtags.h:
9902         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9903
9904 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9905
9906         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9907         reflect their actual use. Provide compatibility code for older lyxrc
9908         files.
9909
9910         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9911         FL_NORMAL_STYLE.
9912         change names of popup font variables in line with the changes to lyxrc.C
9913
9914 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9915
9916         * buffer.C (asciiParagraph): avoid outputing a word twice after
9917         an inset.
9918
9919         * lyxrc.C (getDescription): document that document_path and
9920         template_path can be empty.
9921
9922 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9923
9924         * LaTeXFeatures.C (getMacros):
9925         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9926
9927         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9928
9929         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9930         getPackages.
9931         (getPackages): rename feature "floats" to "float". Use an array to
9932         iterate over 'simple' features (i.e. just a \usepackage). Add
9933         handling of "amsmath" (renamed from "amsstyle").
9934
9935 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9936
9937         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9938         features list.
9939
9940 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9941
9942         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9943         FuncStaus::FuncStatus & FuncStaus::some_method().
9944
9945 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9946
9947         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9948         of the func_satus stuff. Edited and massaged in various ways by
9949         JMarc.
9950
9951         * lyxfunc.C (getStatus): use FuncStatus
9952
9953 2002-01-08  Juergen Vigna  <jug@sad.it>
9954
9955         * text.C (nextBreakPoint): use function Inset::isChar().
9956
9957         * paragraph.C (TeXOnePar): use function
9958         Inset::forceDefaultParagraphs.
9959
9960         * buffer.C (latexParagraphs): use function
9961         Inset::forceDefaultParagraphs.
9962
9963 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9964
9965         * lyx_gui.C (init): set the style of the menu popups to
9966         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9967
9968 2002-01-07  Juergen Vigna  <jug@sad.it>
9969
9970         * text.C (setHeightOfRow): small fix
9971         (prepareToPrint): don't look at alignment if we don't have the place
9972         for doing it.
9973
9974 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9975
9976         * box.C: New file. Move the Box methods and functions out of box.h,
9977         following Lars' suggestion.
9978
9979 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9980
9981         * box.h: #include "support/LOstream.h", needed for inlined function.
9982
9983         * lyxtextclass.C:
9984         * lyxtextclasslist.C: added some using std declarations.
9985
9986 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9987
9988         * box.h: make signed dimensions to allow insets wider than
9989           the screen (bug #162)
9990
9991         * BufferView_pimpl.C: add some insetHit debug
9992
9993 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9994
9995         * vc-backend.C: add FIXME
9996
9997 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9998
9999         * lyxfunc.C (getStatus): enable code for showing math font status
10000         in toolbar/menu.
10001
10002 2002-01-07  Juergen Vigna  <jug@sad.it>
10003
10004         * text.C (nextBreakPoint): removed debug output not needed anymore.
10005
10006 2002-01-06  Juergen Vigna  <jug@sad.it>
10007
10008         * text.C (nextBreakPoint): fixed up this function we had this bug
10009         since ever but now hopefully we break row better.
10010         (insertChar): we have to check if an inset is the next char as it
10011         could now happen that a large inset is causing a break.
10012
10013 2002-01-05  Juergen Vigna  <jug@sad.it>
10014
10015         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10016         if it doesn't like to be drawed.
10017
10018 2002-01-04  Juergen Vigna  <jug@sad.it>
10019
10020         * BufferView2.C (lockInset): forgot to set a cursor.
10021
10022         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10023
10024 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10025
10026         * FormMathsPanel.C:
10027         * FormMathsPanel.h
10028         * MathsSymbols.C:
10029         * form_maths_panel.C:
10030         * form_maths_panel.h:
10031         * form_maths_panel.fd: implemented sub- and super- buttons in math
10032         panel.
10033
10034         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10035         (or ^ space) to be used as in TeX (req'd by André).
10036
10037         * lyxfunc.C: Allow ^ and _ again to be used both as
10038         super/subscript (mathed) and as themselves (in text).
10039
10040 2002-01-03  Allan Rae  <rae@lyx.org>
10041
10042         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10043         "LyX" or the filename of the current buffer if it has one.  This is a
10044         modified form of John Levon's patch.
10045
10046         * XFormsView.C (setWindowTitle): also set icon title.
10047
10048         * LyXView.h (setWindowTitle): signature changed.
10049         * XFormsView.h (setWindowTitle): ditto.
10050
10051 2002-01-02  Juergen Vigna  <jug@sad.it>
10052
10053         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10054
10055 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10056
10057         * screen.C (topCursorVisible): introduce a temp var for
10058         text->cursor.row(), handle the case where this row is null. (kindo
10059         hachish)
10060
10061         * text2.C (setCursor): add a couple of asserts.
10062
10063         * paragraph.h (inset_iterator): add -> operator
10064
10065         * paragraph.[Ch] (autoDeleteInsets): remove member function
10066
10067         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10068         cursor pos correctly and handle inset deletion by itself.
10069         (insertErrors): move iterator declaration out of for expression
10070
10071         * lyxtextclass.C: add <algorithm>
10072
10073         * Makefile.am: added the new files to sources, removed layout.C
10074
10075         * layout.C: removed file
10076
10077         * layout.h: remove LYX_DUMMY_LAYOUT
10078
10079         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10080         layout.
10081
10082         * lyxlayout.[Ch]:
10083         * lyxtextclass.[Ch]:
10084         * lyxtextclasslist.[Ch]: new files
10085
10086         * include order changes to a lot of files, also changes because of
10087         the six new files.
10088
10089 2001-12-27  Juergen Vigna  <jug@sad.it>
10090
10091         * buffer.C (asciiParagraph): more fixes.
10092
10093         * tabular.C (ascii): make ascii export support export of only the
10094         data separated by a column-delimiter.
10095         (ascii): better support for ascii export.
10096
10097         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10098
10099 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10100
10101         * tabular_funcs.C: use a "using std::getline" instead of the
10102         previous fix from Angus (necessary for cxx + lyxstring)
10103
10104 2001-12-24  Juergen Vigna  <jug@sad.it>
10105
10106         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10107
10108         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10109         problems. First check a minipage also if we have some ert-contents
10110         (not only on par->size(), second set the right depth of the paragraph
10111         on the relink to the root-paragraph-list!
10112
10113         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10114         which then did not anymore update the main paragraphs on undo/redo!
10115
10116 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10117
10118         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10119         code. Support all font-changing funcs (even those which are not in
10120         menu currently). Support for reporting font settings in
10121         mathed (disabled until Andre provides a function on mathed's side).
10122
10123         * func_status.h (toggle): small helper function to set toggle
10124         state on a flag.
10125
10126 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10127
10128         * tabular_funcs.C: getline -> std::getline
10129
10130 2001-12-21  Juergen Vigna  <jug@sad.it>
10131
10132         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10133         accessed and could be 0 (I couldn't generate this but it seems
10134         Michael could!).
10135
10136 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10137
10138         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10139         * tabular_funcs.h: here and include iosfwd
10140
10141 2001-12-20  Juergen Vigna  <jug@sad.it>
10142
10143         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10144         inside inset but undo_par was.
10145
10146 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10147
10148         * Thesaurus.C: always include <config.h> in sources.
10149
10150         * Painter.h:
10151         * lyxlookup.h:
10152         * box.h: do not include <config.h> in header files
10153
10154         * text.C (paintLastRow): remove unused variable
10155
10156         * text.C (transformChar):
10157         (insertChar):
10158         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10159
10160         * Painter.C (text):
10161         * font.C (width): rewrite to use uppercase() instead of
10162         islower/toupper.
10163
10164         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10165
10166 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10167
10168         * lyxfind.C: clean up of find failure position change
10169
10170 2001-12-20  Juergen Vigna  <jug@sad.it>
10171
10172         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10173
10174         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10175         (TeXRow): added to LaTeX a single tabular row.
10176         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10177         (Latex): simplified and finally good LT-h/f support.
10178         (various_functions): just small adaptions for LT-h/f support.
10179
10180         * tabular_funcs.[hC]: added and moved here all not classfunctions
10181         of LyXTabular.
10182
10183 2001-12-19  Juergen Vigna  <jug@sad.it>
10184
10185         * tabular.[Ch]: better support for longtabular options (not finished
10186         yet!)
10187
10188 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10189
10190         * text.C (paintLastRow): use the label font instead of the font of
10191         the last character to compute the size of *_BOX. This makes more
10192         sense and avoids a crash with empty paragraphs.
10193         Use Painter::rectangle to draw EMPTY_BOX.
10194
10195 2001-12-19  Juergen Vigna  <jug@sad.it>
10196
10197         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10198         the paragraphs if the replaced paragraph is not the first one!
10199         Tried to delete not used paragraphs but does not work yet so for
10200         now it's inside #ifdef's and by default off!
10201
10202 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10203
10204         * MenuBackend.C: include "lyx_main.h" instead of declaring
10205         lastfiles (actually was declared as LastFiles* instead of a
10206         scoped_ptr).
10207
10208 2001-12-17  Juergen Vigna  <jug@sad.it>
10209
10210         * tabular.C (AppendColumn): applied John's fix
10211
10212 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10213
10214         * BufferView.h:
10215         * BufferView.C:
10216         * BufferView_pimpl.h:
10217         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10218
10219         * Makefile.am:
10220         * box.h: new start of class for above
10221
10222         * lyxfunc.C: ignore space-only minibuffer dispatches.
10223           Show the command name when it doesn't exist
10224
10225         * minibuffer.C: don't add empty lines to the history
10226
10227         * minibuffer.C: add a space on dropdown completion
10228
10229 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10230
10231         * text.C: fix line above/below drawing in insets
10232
10233 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10234
10235         * lyxlength.C (LyXLength): Initialize private variables.
10236
10237 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10238
10239         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10240         when inserting error insets.
10241
10242 2001-12-13  Juergen Vigna  <jug@sad.it>
10243
10244         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10245         actually sometimes the before-paragraph.
10246         (setUndo): don't clear the redostack if we're not actually undoing!
10247
10248 2001-12-06  Juergen Vigna  <jug@sad.it>
10249
10250         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10251         and fixed redoing of main paragraph, so we can use it now ;)
10252
10253         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10254
10255 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10256
10257         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10258         Juergen's request
10259
10260 2001-12-13  André Pönitz <poenitz@gmx.net>
10261
10262         * undostack.[Ch]:
10263         * undo_func.C: minor cleanup
10264
10265 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10266
10267         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10268         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10269         font in urw-fonts package which is marked as -urw-fontspecific and
10270         does not work (incidentally, changing the encoding in the
10271         fonts.dir of this package to -adobe-fontspecific fixes the
10272         problem).
10273
10274         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10275         is a crash when undoing first paragraph (Juergen, please take a
10276         look). THis does not mean the undo fix is wrong, just that it
10277         uncovers problems.
10278
10279         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10280         the (Paragraph*) version when needed instead of duplicating the
10281         code.
10282
10283         * text.C (workWidth): use Inset::parOwner to find out where the
10284         inset has been inserted. This is a huge performance gain for large
10285         documents with lots of insets. If Inset::parOwner is not set, fall
10286         back on the brute force method
10287
10288         * paragraph_pimpl.C (insertInset):
10289         * paragraph.C (Paragraph):
10290         (cutIntoMinibuffer): set parOwner of insets when
10291         inserting/removing them
10292
10293         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10294
10295 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10296
10297         * commandtags.h:
10298         * LyXAction.C:
10299         * lyx_main.C:
10300         * lyxfunc.C:
10301         * mathed/formulabase.C:
10302         * mathed/math_cursor.[Ch]:
10303         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10304
10305
10306 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10307
10308         * lyxlength.[Ch] (operator!=): new function
10309
10310 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10311
10312         * text.C (workWidth): use Inset::parOwner to find out where the
10313         inset has been inserted. This is a huge performance gain for large
10314         documents with lots of insets. If Inset::parOwner is not set, fall
10315         back on the brute force method
10316
10317         * paragraph_pimpl.C (insertInset):
10318         * paragraph.C (Paragraph):
10319         (cutIntoMinibuffer): set parOwner of insets when
10320         inserting/removing them
10321
10322         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10323
10324 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10325
10326         * tabular-old.C (getTokenValue):
10327         * tabular.C (getTokenValue):
10328         (write_attribute): new versions for LyXLength
10329         (everywhere): adjust the use of widths
10330
10331         * tabular.h: change the type of widths from string to LyXLength
10332
10333 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10334
10335         * paragraph.C: fixed missing line number count when exporting
10336         Environments to LaTeX file
10337
10338         * buffer.C: added informational message for checking line numbers.
10339
10340 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10341
10342         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10343         paragraph, do the 'double space' part, but not the 'empty
10344         paragraph' one.
10345
10346         * text.C (workWidth): small optimization
10347         (getLengthMarkerHeight): use minimal size for negative lengths.
10348
10349 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10350
10351         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10352
10353         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10354
10355 2001-12-11  André Pönitz <poenitz@gmx.net>
10356
10357         * FontLoader.C:
10358         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10359
10360 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10361
10362         * text2.C: keep selection on a setFont()
10363
10364 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10365
10366         * lyx_cb.C: another bv->text misuse, from insert label
10367
10368 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10369
10370         * kbsequence.h:
10371         * kbsequence.C: re-instate nmodifier mask
10372
10373 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10374
10375         * lyx_main.h: make lyxGUI private.
10376
10377 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10378
10379         * lyxfind.C: place the cursor correctly on failed search
10380
10381 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10382
10383         * text.C (getLengthMarkerHeight): for small heights, the arrows
10384         are not always on top/bottom of the text
10385         (drawLengthMarker): smaller arrows; take the left margin in
10386         account; draw also vfills.
10387         (paintFirstRow):
10388         (paintLastRow): remove special code for vfill and standard spaces,
10389         since everything is handled in drawLengthMarker now.
10390
10391 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10392
10393         * buffer.C (insertErtContents): try to handle font and language
10394         interaction a bit better.g
10395
10396         * ColorHandler.C (updateColor): change the hash to cover the whole
10397         LColor enum, ws cleanup
10398         (getGCLinepars): ditto
10399         (getGCLinepars): only lookup in the linecache once.
10400
10401 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10402
10403         * iterators.C (operator++): Make the iterator more robust
10404
10405         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10406         (John's patch)
10407         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10408
10409 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10410
10411         * lyxtext.h:
10412         * text.C: better added space drawing
10413
10414 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10415
10416         * LyXView.C:
10417         * BufferView2.C: fix layout combo update on inset unlock
10418
10419 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10420
10421         * Makefile.am: don't compile unused files
10422
10423 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10424
10425         * lyxfunc.C:
10426         * commandtags.h:
10427         * LyXAction.C: remove old LFUN_LAYOUTNO
10428
10429 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10430
10431         * paragraph_pimpl.h:
10432         * paragraph_pimpl.C: isTextAt() doesn't need font param
10433
10434 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10435
10436         * lyxlex.h:
10437         * lyxlex.C: little cleanup
10438
10439 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10440
10441         * BufferView_pimpl.C: fix insertAscii for insets
10442
10443 2001-12-05  Juergen Vigna  <jug@sad.it>
10444
10445         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10446         set the right font on the "multi" paragraph paste!
10447
10448 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10449
10450         * trans_decl.h:
10451         * trans_mgr.[Ch]:
10452         * trans.[Ch]:
10453         * lyxgluelength.C:
10454         * lyxlength.C: remove out-commented code.
10455
10456         * BufferView_pimpl:
10457         * CutAndPaste.C:
10458         * DepTable.C:
10459         * buffer.C:
10460         * chset.C:
10461         * lastfiles.C:
10462         * lyxlex.C:
10463         * lyxlex_pimpl.C:
10464         * lyxserver.C:
10465         * screen.C:
10466         * tabular-old.C:
10467         * tabular.C:
10468         * text.C:
10469         * trans_mgr.C:
10470         * vc-backend.C: change "while(" to "while ("
10471
10472         * lyxlength.[Ch]: add zero function to check if length is zero or
10473         not
10474         * lyxgluelength.C: use it
10475
10476 2001-12-05  Allan Rae  <rae@lyx.org>
10477
10478         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10479         Works for 2.95.3, from what I understand of Garst's reports this should
10480         work for other g++ versions.  We're screwed if the abs(int) definition
10481         changed between bugfix releases of gcc.
10482
10483 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10484
10485         * text.C: fix chapter label offset !
10486
10487 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10488
10489         * lyxtext.h:
10490         * text.C: fix hfill at end of line, clean up
10491
10492 2001-12-04  Juergen Vigna  <jug@sad.it>
10493
10494         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10495         that we force an update of the inset and it's owners if neccessary.
10496
10497 2001-12-03  Juergen Vigna  <jug@sad.it>
10498
10499         * text.C (rowLast): simplified code
10500
10501 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10502
10503         * lyxfunc.C: fix show options on timeout
10504
10505 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10506
10507         * screen.C (topCursorVisible): scroll half a page when the cursor
10508         reached top of bottom of screen
10509
10510 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10511
10512         * minibuffer.C: deactivate on loss of focus
10513
10514 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10515
10516         * vspace.[Ch] (operator!=): add operator.
10517
10518 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10519
10520         * BufferView_pimpl.C: refuse to open an inset when
10521         there's a selection.
10522
10523 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10524
10525         * BufferView_pimpl.C: allow to click on RHS of full row insets
10526
10527 2001-11-30  Juergen Vigna  <jug@sad.it>
10528
10529         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10530         insets for undo reasons.
10531
10532 2001-11-28  André Pönitz <poenitz@gmx.net>
10533
10534         * vspace.[Ch]: cosmetical changes
10535
10536 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10537
10538         * LyXAction.h:
10539         * LyXAction.C:
10540         * lyxfunc.h:
10541         * lyxfunc.C:
10542         * kbmap.h:
10543         * kbmap.C:
10544         * lyxrc.C:
10545         * kbsequence.h:
10546         * kbsequence.C: part re-write of old kb code
10547
10548         * Painter.C:
10549         * WorkArea.C: remove Lgb_bug_find_hack
10550
10551 2001-11-30  José Matos <jamatos@fep.up.pt>
10552
10553         * buffer.C (makeDocBookFile): add a comment to point a hack.
10554         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10555         Fixed a double write of labels.
10556
10557 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10558
10559         * LaTeX.C:
10560         * LaTeX.h Fixed bug in LaTeX class where it would not
10561         re-run latex if no depfiles were changed, but the .dvi was removed.
10562
10563 2001-11-28  André Pönitz <poenitz@gmx.net>
10564
10565         * all the files from the change on 2001/11/26:
10566         use lyx::layout_type instead of LyXTextClass::size_type
10567         use lyx::textclass_type instead of LyXTextClassList::size_type
10568
10569 2001-11-29  Juergen Vigna  <jug@sad.it>
10570
10571         * text.C: added support for paragraph::isFreeSpacing()
10572
10573         * buffer.C: same as above
10574
10575         * paragraph.h: inserted isFreeSpacing() function to enable
10576         FreeSpacing inside InsetERT.
10577
10578         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10579         of the paragraph's in the cut/copy buffer to 0!
10580
10581         * text2.C (removeRow): remove the assert as it can!
10582
10583         * lyxtext.h: added helper function firstRow returning firstrow and
10584         made firstrow private again.
10585
10586         * BufferView2.C (lockInset): don't relock if we're already locked!
10587
10588         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10589         the only paragraph.
10590         (removeRow): added Assert::(firstrow)
10591
10592         * debug.C: forgot to add INSETTEXT here.
10593
10594 2001-11-28  Juergen Vigna  <jug@sad.it>
10595
10596         * sp_spell.C (initialize): changed error text to more general
10597         spellchecker command use (not only ispell!)
10598
10599         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10600
10601         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10602
10603 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10604
10605         * vspace.C: initialise lyxgluelength on failure
10606
10607 2001-11-28  Allan Rae  <rae@lyx.org>
10608
10609         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10610         declaration & definition that looks like a function declaration.
10611
10612 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10613
10614         * BufferView2.C (copy):
10615         (copyEnvironment): do not clear the selection when doing a copy.
10616
10617         * text.C (paintFirstRow): compilation fix
10618
10619 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10620
10621         * tabular.C (Latex): correct line count when writing latex.
10622
10623 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10624
10625         * paragraph_pimpl.h:
10626         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10627           bug a bit
10628
10629 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10630
10631         * text.C:
10632         * LColor.h:
10633         * LColor.C: change vfillline->added_space
10634
10635         * text.C: add markers and text for added space
10636
10637         * vspace.C: fix comment
10638
10639 2001-11-28  André Pönitz <poenitz@gmx.net>
10640
10641         * paragraph.C: whitespace changes
10642         * all the other files from the change on 2001/11/26:
10643         change *::pos_type into lyx::pos_type
10644
10645 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10646
10647         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10648         language of the document when inserting error insets.
10649
10650 2001-11-26  André Pönitz <poenitz@gmx.net>
10651
10652         * BufferView_pimpl.[Ch]:
10653         *       CutAndPaste.C:
10654         * buffer.[Ch]:
10655         * lyxcursor.[Ch]:
10656         * lyxfind.C:
10657         * lyxfunc.C:
10658         * lyxrow.[Ch]:
10659         * paragraph.[Ch]:
10660         * paragraph_pimpl.[Ch]:
10661         * sp_spell.C:
10662         * text.C:
10663         * text2.C: reduce header dependencies, introduce type for positions
10664
10665 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10666
10667         * <various>: change to use Alert.h
10668
10669 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10670
10671         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10672         when encountering an unknown token.
10673         (readLyXformat2): Show an error message if there were unknown tokens.
10674
10675 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10676
10677         * BufferView2.C:
10678         * BufferView_pimpl.C:
10679         * buffer.C:
10680         * paragraph.h:
10681         * text.C:
10682         * text2.C: use par->isInset()
10683
10684 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10685
10686         * paragraph_pimpl.h:
10687         * paragraph_pimpl.C: cleanup
10688
10689 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10690
10691         * text2.C (removeRow):
10692         * text.C (setHeightOfRow): remove useless (and costly) call to
10693         getRow.
10694
10695 2001-11-20  Allan Rae  <rae@lyx.org>
10696
10697         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10698         Now need Inset*::checkInsertChar() to return true for appropriate
10699         cases so that the characters in the minibuffer will actually be
10700         inserted.
10701
10702 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10703
10704         * text.C: change the order of the includes.
10705         (workWidth): initialize it at once.
10706         (workWidth): make maxw unsigned
10707         (setHeightOfRow): remove unused variable (inset)
10708         (selectSelectedWord): remove unused variable (inset)
10709         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10710
10711 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10712
10713         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10714         server is not running.
10715         (openConnection):
10716         (closeConnection): add debug info when server is disabled.
10717
10718         * ColorHandler.C (getGCForeground): send debug message to GUI
10719         channel.
10720
10721         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10722
10723         * kbmap.C (bind): modify because return conventions of
10724         kb_sequence::parse have changed.
10725
10726         * kbsequence.C (parse): only ignore spaces and not any stupid
10727         control character. This avoids tests like s[i] <= ' ', which are
10728         guaranteed to fail with 8bit characters and signed chars.
10729         Change return code to string::npos when there have been no error
10730         (0 was a bad idea when error is at first character)
10731
10732 2001-11-14  José Matos  <jamatos@fep.up.pt>
10733
10734         * buffer.h:
10735         * buffer.C (simpleDocBookOnePar): removed unused argument.
10736
10737 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10738
10739         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10740         insets which are part of a word. Paragraph::isLetter takes care of
10741         that now. Use Paragraph::isInset to identify insets.
10742         (selectSelectedWord): do not test for hyphenation break.
10743
10744         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10745         that protected spaces are considered as spaces.
10746
10747         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10748         Inset::isLetter.
10749
10750 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10751
10752         * lyxserver.h:
10753         * lyxserver.C: fix it. and small cleanup.
10754
10755 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10756
10757         * BufferView_pimpl.C: use inline helpers
10758
10759         * LaTeXFeatures.h:
10760         * LaTeXFeatures.C: fix typos
10761
10762         * Spacing.h:
10763         * Spacing.C: move spacing_string into class
10764
10765         * ToolbarDefaults.C: move stuff into namespace anon
10766
10767         * layout.h: update enum
10768
10769         * lyxfunc.C: use better debug
10770
10771         * minibuffer.h: fix typo
10772
10773         * debug.h:
10774         * debug.C:
10775         * WorkArea.C: add and use Debug::WORKAREA
10776
10777         * lyxtext.h:
10778         * text.C:
10779         * text2.C: code re-organisation, inline helpers
10780
10781 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10782
10783         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10784         std::vector.empty().
10785
10786 2001-11-09  Allan Rae  <rae@lyx.org>
10787
10788         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10789         '\n's after tables.  Tabular and ERT inset work now makes this no
10790         longer necessary.
10791
10792 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10793
10794         * minibuffer.h:
10795         * minibuffer.C: fix crash, improve drop-down completion
10796
10797 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10798
10799         * lyxserver.h:
10800         * lyxserver.C: invalidate fd's when doing endPipe()
10801
10802 2001-11-08  José Matos  <jamatos@fep.up.pt>
10803
10804         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10805         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10806
10807         * paragraph.h:
10808         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10809
10810 2001-11-07  José Matos  <jamatos@fep.up.pt>
10811
10812         * buffer.h:
10813         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10814         const qualifier.
10815
10816         * buffer.C (sgmlOpenTag):
10817         * buffer.C (sgmlCloseTag): removed debug info.
10818
10819         * buffer.h (sgmlOpenTag):
10820         * buffer.h (sgmlCloseTag): made public.
10821
10822 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10823
10824         * buffer.C (saveParamsAsDefaults):
10825         * lyx_cb.C (MenuLayoutSave): remove
10826
10827         * LyXAction.C (init):
10828         * commandtags.h:
10829         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10830
10831 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10832
10833         * buffer.C (setPaperStuff): removed from here...
10834
10835         * bufferparams.C (setPaperStuff): ... and moved there.
10836
10837 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10838
10839         * minibuffer.h:
10840         * minibuffer.C:
10841         * XFormsView.C: add support for drop-down completion
10842
10843 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10844
10845         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10846         commands.
10847
10848 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10849
10850         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10851         disabled.
10852
10853 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10854
10855         * lyx_main.C: change ref to known bugs
10856
10857 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10858
10859         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10860         to work around older babel problems.
10861
10862 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10863
10864         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10865
10866 2001-10-24  Juergen Vigna  <jug@sad.it>
10867
10868         * tabular-old.C (ReadOld): below variable changes reflected.
10869
10870         * tabular.[Ch]: added ltType struct for longtable header/footer
10871         defines and changed all instances where they are used. Added
10872         future support for double top/bottom rows.
10873
10874 2001-10-24  José Matos  <jamatos@fep.up.pt>
10875
10876         * buffer.h (docbookHandleCaption):
10877         * buffer.C (docbookHandleCaption): removed unused function.
10878         (makeDocBookFile): moved docbook supported version to v4.1.
10879
10880 2001-10-24  José Matos  <jamatos@fep.up.pt>
10881
10882         * tabular.h:
10883         * tabular.C (docbookRow): new function to export docbook code of a row.
10884         (DocBook): now honors the longtable flags.
10885
10886 2001-10-23  José Matos  <jamatos@fep.up.pt>
10887
10888         * LaTeXFeatures.h:
10889         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10890         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10891
10892         * buffer.C (makeLinuxDocFile):
10893         (makeDocBookFile): reworked the preamble, more clean, and with
10894         support for lyx defined entities. Changed the document declaration
10895         to be more XML friendly.
10896
10897         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10898         if we need to output XML that should be done with a filter.
10899
10900 2001-10-22  Juergen Vigna  <jug@sad.it>
10901
10902         * sp_pspell.h (class PSpell): add alive function needed in the
10903         controller to see if the spellchecker could be started.
10904
10905 2001-10-22  Juergen Vigna  <jug@sad.it>
10906
10907         * buffer.C (insertStringAsLines): modify the font for inserting
10908         chars in certain conditions by calling checkInsertChar(font).
10909
10910 2001-10-19  Juergen Vigna  <jug@sad.it>
10911
10912         * text.C (workWidth): use getRow instead of wrong algorithm.
10913         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10914
10915 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10916
10917         * lyxserver.h:
10918         * lyxserver.C:
10919         * lyx_main.h:
10920         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10921
10922 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10923
10924         * text.C (workWidth): do not search for the exact row when
10925         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10926         optimization for big documents.
10927
10928 2001-10-18  Juergen Vigna  <jug@sad.it>
10929
10930         * text.C (workWidth): new function with added Inset * parameter.
10931
10932 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10933
10934         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10935
10936         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10937         change return type of getColumnNearX.
10938
10939
10940         * text.C (changeRegionCase): use uppercase/lowercase instead of
10941         toupper/tolower.
10942         (leftMargin):
10943         (rightMargin): simplify code by factoring out the uses of
10944         textclasslist.
10945         (labelFill):
10946         (numberOfHfills):
10947         (setHeightOfRow):
10948         (appendParagraph): use Paragraph::size_type
10949
10950 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10951
10952         * vspace.C (asLatexString): add a missing break
10953
10954 2001-10-15  Herbert Voss  <voss@perce.de>
10955
10956         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10957
10958 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10959
10960         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10961         is not available.
10962
10963 2001-10-10  André Pönitz <poenitz@gmx.net>
10964
10965         * lyxfunc.C: removed greek_kb_flag.
10966
10967 2001-10-10  Herbert Voss  <voss@perce.de>
10968
10969         * lyx_main.C: delete global string help_lyxdir.
10970
10971 2001-10-09  Herbert Voss  <voss@perce.de>
10972
10973         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10974
10975         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10976
10977         * lyx_main.C: added global string help_lyxdir.
10978
10979         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10980
10981 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10982
10983         * lyxrc.C (set_font_norm_type): support iso8859-4
10984
10985 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10986
10987         * LaTeX.C (deplog): add another regex for MikTeX
10988
10989 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10990
10991         * lyxrc.C (set_font_norm_type): support iso8859-3
10992
10993 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10994
10995         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10996
10997         * LaTeXFeatures.C: remove special case of french and index
10998
10999         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11000         before \begin{document}). This solves several incompatibilities.
11001
11002 2001-10-03  Garst Reese  <reese@isn.net>
11003
11004         * lyx_cb.C: change CheckTex error msg.
11005
11006 2001-10-03  José Matos  <jamatos@fep.up.pt>
11007
11008         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11009
11010 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11011
11012         * .cvsignore: update
11013
11014         * lyx_main.C (commandLineVersionInfo): use new style version info.
11015
11016         * buffer.C (writeFile):
11017         (makeLaTeXFile):
11018         (makeLinuxDocFile):
11019         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11020
11021         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11022
11023         * version.h: update to use stuff in version.C
11024
11025         * version.C.in: new file. Contains version information determined
11026         at compile time. This is a merging of version.h and
11027         version_info.h.in.
11028
11029 2001-10-03  Juergen Vigna  <jug@sad.it>
11030
11031         * BufferView_pimpl.C (update): don't change "dirty" status in
11032         updateInset call.
11033
11034 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11035
11036         * WorkArea.C (c-tor): re-position version string slightly.
11037
11038 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11039
11040         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11041         revert to previous code.
11042
11043         WorkArea.[Ch]: (show, destroySplash): methods removed.
11044
11045         WorkArea.C: rework code so that it's an amalgam of the codes before and
11046         after the splash screen was moved to WorkArea.
11047
11048 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11049
11050         * lyxrc.C (read):
11051         * vspace.C (inPixels):
11052         (lyx_advance):
11053         * kbmap.C (bind):
11054         * buffer.C (insertStringAsLines):
11055         (asciiParagraph): fix types to be large enough
11056
11057         * lyxlex_pimpl.h: change member status from short to int
11058
11059         * layout.h: fix type of endlabeltype
11060
11061         * kbmap.C (bind):
11062         * kbsequence.C (parse): change return type to string::size_type
11063
11064         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11065         variable
11066
11067         * Bullet.C (bulletSize):
11068         (bulletEntry): do not use short ints as parameters
11069
11070         * BufferView2.C (insertLyXFile): change a char to an int.
11071
11072         * WorkArea.C (WorkArea): remove unneeded floats in computation
11073
11074 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11075
11076         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11077
11078         * paragraph.C (asString): Do not ignore newline/hfill chars when
11079         copying to the clipboard.
11080
11081 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11082
11083         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11084         after a multi-line inset.
11085
11086 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11087
11088         * paragraph.C (validate): Set NeedLyXFootnoteCode
11089
11090 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11091
11092         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11093         and decrease-error to decrease.
11094
11095 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11096
11097         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11098         it more readable (should be equivalent)
11099
11100 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11101
11102         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11103
11104 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11105
11106         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11107         of a cursor (row, etc.) after a character has been deleted
11108         (deleteEmptyParagraphMechanism): call the method above on _all_
11109         cursors held by the LyXText when a double space has been
11110         detected/deleted.
11111
11112 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11113
11114         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11115         pixmap.
11116         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11117
11118         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11119         background. Use greyOut() and the new show() methods to toggle between
11120         the foreground and background. Add code to remove the splash after
11121         its initial showing.
11122
11123         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11124         (create_forms): no longer call Dialogs::showSplash.
11125
11126 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11127
11128         * .cvsignore: add version_info.h
11129
11130 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11131
11132         * version_info.h.in: new file
11133
11134         * Makefile.am: add version_info.h.in
11135
11136         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11137         version_info.h instead of VERSION_INFO
11138
11139 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11140
11141         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11142         The ERT inset now returns string().
11143
11144 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11145
11146         * lyxtext.h, text.C (selectNextWord): renamed as
11147         selectNextWordToSpellcheck.
11148
11149         * text.C (selectNextWordToSpellcheck): Modified to not select
11150         words inside an ERT inset.
11151
11152 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11153
11154         * lyx_cb.C (MenuLayoutSave): change a bit the question
11155
11156         * sp_base.h: include <sys/types.h>
11157
11158 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11159
11160         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11161
11162 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11163
11164         * several files: fix typos in user-visible strings
11165
11166 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11167
11168         * text2.C (pasteSelection): do not set the selection, since it
11169         will be cleared later. Actually, the intent was to fix the way the
11170         selection was set, but I figured rmoving the code was just as good.
11171
11172 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11173
11174         * FontLoader.C (available): Check if font is available without
11175         loading the font.
11176
11177 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11178
11179         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11180
11181 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11182
11183         * lyxrc.[Ch]: added display_graphics variable and associated code.
11184
11185 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11186
11187         * bufferparams.C (hasClassDefaults): new method. Returns true if
11188         the buffer parameters correspond to known class defaults
11189
11190 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11191
11192         * XFormsView.C (show): set minimum size to the main window.
11193
11194 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11195
11196         * text2.C (copySelection):
11197         (cutSelection):
11198         * lyxfind.C (LyXReplace):
11199         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11200         LyXText::selectionAsString.
11201
11202         * paragraph.C (asString): add "label" argument to the second form
11203
11204         * text2.C (selectionAsString): add "label" argument and pass it to
11205         Paragraph::asString.
11206
11207 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11208
11209         * lyx_main.C (commandLineHelp): remove version information
11210
11211 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11212
11213         * lyx_main.C: add -version commandline option
11214
11215 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11216
11217         * paragraph.h: make the optional constructor arg required instead.
11218         some modifications to other files because of this.
11219
11220         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11221
11222         * lyxserver.C (C_LyXComm_callback): make it static
11223
11224         * lyx_main.C (error_handler): make it static
11225
11226         * lyx_gui.C (LyX_XErrHandler): make it static
11227
11228         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11229
11230         * WorkArea.C: make the extern "C" methods static.
11231
11232         * Makefile.am (lyx_LDADD): simplify
11233
11234 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11235
11236         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11237         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11238
11239         * LyXAction.C (init):
11240         * lyxfunc.C (dispatch): associated code removal.
11241
11242 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11243
11244         * lyxfont.h (isSymbolFont): shut off warning
11245
11246         * text.C (setHeightOfRow):
11247         (getVisibleRow): fix crash with empty paragraphs which have a
11248         bottom line
11249
11250 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11251
11252         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11253         code.
11254
11255 2001-09-04  José Matos  <jamatos@fep.up.pt>
11256         * buffer.C
11257         * buffer.h
11258         * tabular.C (docbook): rename docBook method to docbook.
11259
11260 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11261
11262         * Makefile.am: add dependencies to main.o.
11263
11264 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11265
11266         * FontLoader.C (available): Return false if !lyxrc.use_gui
11267
11268 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11269
11270         * FontInfo.C (query):
11271         * converter.C (view):
11272         * importer.C (Import):
11273         * exporter.C (Export): Can not -> cannot.
11274
11275 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11276
11277         * BufferView_pimpl.C: allow to create index inset even if
11278           string is empty
11279
11280 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11281
11282         * buffer.C (getLists): replace boost::tie code with an explicit pair
11283         as boost::tie can break some compilers.
11284
11285         * iterators.h: Added a std:: declaration to the return type of
11286         ParIterator::size.
11287
11288 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11289
11290         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11291           case.
11292
11293 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11294
11295         * iterators.[Ch]: New files. Provide paragraph iterators.
11296
11297         * buffer.C (changeLanguage): Use paragraph iterators.
11298         (isMultiLingual): ditto
11299
11300         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11301
11302 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11303
11304         * FontLoader.C: Support for cmr font.
11305
11306 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11307
11308         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11309         (available): New method.
11310
11311         * FontInfo.C (getFontname): Use scalable fonts even when
11312         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11313         found.
11314
11315 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11316
11317         * converter.C (Formats::view): reverted! Incorrect fix.
11318
11319 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11320
11321         * converter.C (Formats::view): only output the -paper option
11322         if the dvi viewer is xdvi, thereby fixing bug #233429.
11323
11324 2001-08-23  Herbert Voss  <voss@perce>
11325
11326         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11327
11328 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11329
11330         * Spacing.h (Spacing): Set space to Default on in the default
11331         constructor.
11332
11333 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11334
11335         * vc-backend.h (RCS::versionString): add RCS to version
11336         (CVS::versionString): add CVS to version
11337
11338         * vc-backend.C (scanMaster): do not add CVS to version.
11339         (scanMaster): do not add RCS to version
11340
11341         * lyxvc.C (versionString): new method
11342
11343         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11344
11345 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11346
11347         * Spacing.C (set): initialize fval
11348
11349 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11350
11351         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11352         " or \.
11353
11354 2001-08-16  Juergen Vigna  <jug@sad.it>
11355
11356         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11357
11358 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11359
11360         * BufferView_pimpl.C:
11361         * figureForm.C:
11362         * lyxtext.h:
11363         * text2.C: setParagraph takes linespacing now
11364
11365 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11366
11367         * LyxAction.C: add internal LFUN_CITATION_INSERT
11368
11369         * LyXView.C: actually apply fix
11370
11371         * bufferlist.C: fix open non-existent file
11372
11373         * lyxfind.C: fix indentation
11374
11375         * lyxfunc.C: remove unneeded assert, fix typo
11376
11377 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11378
11379         * MenuBackend.C: use "Floatname List"
11380
11381 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11382
11383         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11384         when converting LaTeX layout to insetERT.
11385         Generate a non-collapsed float when reading old float
11386
11387 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11388
11389         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11390         ERT insets.
11391
11392 2001-08-13  Juergen Vigna  <jug@sad.it>
11393
11394         * text.C (fill): return 0 instead of 20 as this seems to be the more
11395         correct value.
11396
11397 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11398
11399         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11400         lyxrc.font_norm.
11401
11402 2001-08-13  Juergen Vigna  <jug@sad.it>
11403
11404         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11405         casesensitive off.
11406         (SearchBackward): comment out the unlocking of the inset_owner this
11407         should not be needed!
11408
11409 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11410
11411         * Many files: Remove inherit_language, and add latex_language
11412
11413         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11414         collapsible insets.
11415
11416 2001-08-10  Juergen Vigna  <jug@sad.it>
11417
11418         * text.C (prepareToPrint): fixed hfill-width in draw!
11419
11420         * BufferView2.C (selectLastWord): save the selection cursor as this
11421         now is cleared in the function LyXText::clearSelection!
11422
11423 2001-08-08  Juergen Vigna  <jug@sad.it>
11424
11425         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11426         BACKSPACE type functions.
11427
11428         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11429         is only cutted from the document but not put in the cut-buffer, where
11430         still the old stuff should be.
11431
11432         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11433
11434         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11435
11436         * tabular.C (SetWidthOfCell): fixed special case where the width
11437         was not updated!
11438         (LeftLine): handle '|' in align_special.
11439         (RightLine): ditto
11440         (LeftAlreadyDrawed): ditto
11441         (SetWidthOfCell): ditto
11442
11443 2001-08-07  Juergen Vigna  <jug@sad.it>
11444
11445         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11446
11447 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11448
11449         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11450         * lyxlex.[hC]: ditto
11451
11452 2001-08-06  Juergen Vigna  <jug@sad.it>
11453
11454         * text.C (getVisibleRow): fix up row clearing a bit.
11455
11456 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11457
11458         * minibuffer.C: make sure the X server sees the changes in the input.
11459
11460 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11461
11462         * paragraph.C (getFont): split into...
11463         (getLabelFont): this
11464         (getLayoutFont): and this
11465         * paragraph_pimpl.C (realizeFont): calling this
11466
11467         * text2.C (getFont): split into...
11468         (getLayoutFont): this
11469         (getLabelFont): and this
11470         (realizeFont): all three calling this
11471
11472         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11473         files where used.
11474
11475 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11476
11477         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11478
11479 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11480
11481         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11482         layouts from the Quote inset insertion.
11483
11484 2001-08-03  Juergen Vigna  <jug@sad.it>
11485
11486         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11487
11488         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11489         only if status not is already CHANGED_IN_DRAW (second level).
11490
11491         * text.C (draw): don't set the need_break_row when inside an
11492         InsetText LyXText.
11493
11494 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11495
11496         * buffer.C (parseSingleLyXformat2Token): handle more latex
11497         conversion cases.
11498
11499         * bufferview_funcs.[hC]: change function names to
11500         begin with small char, adjust other files.
11501
11502 2001-08-02  André Pönitz <poenitz@gmx.net>
11503
11504         * lyxfunc.C:
11505         BufferView_pimpl.C: remove broken special code for math-greek
11506
11507 2001-08-02  Juergen Vigna  <jug@sad.it>
11508
11509         * BufferView_pimpl.C (update): redone this function so that we
11510         update the text again if there was a CHANGE_IN_DRAW.
11511
11512         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11513         (drawFromTo): added a new internal bool which is used by draw() and
11514         redraw() function.
11515         (general): some cursor drawing problems fixed.
11516
11517 2001-08-01  Juergen Vigna  <jug@sad.it>
11518
11519         * lyxfind.C (LyXFind): fixed
11520         (SearchForward): ditto
11521         (SearchBackward): ditto
11522
11523         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11524         spurius drawing of the cursor in the main area.
11525
11526         * text2.C (status): small fix which could lead to a segfault!
11527         (clearSelection): remove unneeded BufferView param.
11528
11529 2001-08-01  André Pönitz <poenitz@gmx.net>
11530
11531         * lyxfunc.C: small change due to changed mathed interface
11532
11533 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11534
11535         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11536
11537 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11538
11539         * lyxfunc.c: fail gracefully if file doesn't exist
11540
11541         * LyXSendto.C:
11542         * buffer.C:
11543         * lyxfunc.C:
11544         * BufferView_pimpl.C: IsDirWriteable() proto changed
11545
11546         * LyXView.C: fix updateWindowTitle() to store the last title
11547
11548 2001-07-31  Juergen Vigna  <jug@sad.it>
11549
11550         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11551         the font (wrong since using of Paragraph::highestFontInRange).
11552
11553         * paragraph.C (highestFontInRange): added a default_size parameter.
11554
11555         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11556         (setHeightOfRow): reformat
11557
11558 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11559
11560         * converter.[hC] + affected files: move to (inital-char)lowercase
11561         function names.
11562
11563         * ParagraphParameters.C (ParagraphParameters): remove commented code
11564
11565         * PainterBase.[Ch]: remove commented code
11566
11567         * LaTeXFeatures.h: add "bool floats" for float.sty
11568
11569         * LaTeXFeatures.C (LaTeXFeatures): init floats
11570         (require): handle float
11571         (getPackages): do it with floats
11572
11573 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11574
11575         * BufferView_pimpl.C (Dispatch): improve handling of
11576         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11577
11578         * commandtags.h: #include lyxfont.h here temporarily to avoid
11579         keybinding bug.
11580
11581         * bufferlist.h: include LString.h here.
11582
11583 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11584
11585         * text2.C (getStringToIndex): new method.
11586
11587 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11588
11589         * *: Reduced header file dependencies all over.
11590
11591 2001-07-30  Baruch Even  <baruch@lyx.org>
11592
11593         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11594
11595 2001-07-29  Baruch Even  <baruch@lyx.org>
11596
11597         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11598
11599 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11600
11601         * ParameterStruct.h (endif): add a default constructor to make
11602         sure that all variables is initialized.
11603
11604         * ParagraphParameters.C (ParagraphParameters): adjust
11605
11606 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11607
11608         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11609         index; also, check that there is something to index, and that it
11610         does not span over several paragraphs.
11611         (doubleClick): use WHOLE_WORD_STRICT for double click.
11612
11613         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11614
11615         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11616         scheme.
11617
11618 2001-07-26  Baruch Even  <baruch@lyx.org>
11619
11620         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11621         an InsetFig figure, backwards compatible reading of old figure code.
11622
11623 2001-07-27  Juergen Vigna  <jug@sad.it>
11624
11625         * text2.C: font.realize function adaption.
11626
11627         * text.C (draw): add a warnings lyxerr text if needed.
11628
11629         * layout.C: font.realize function adaption.
11630
11631         * language.C: add inherit_language and implement it's handlings
11632
11633         * bufferview_funcs.C (StyleReset): remove language parameter from
11634         font creation (should be language_inherit now).
11635
11636         * bufferparams.C (writeFile): handle ignore_language.
11637
11638         * paragraph.C (getFontSettings): the language has to be resolved
11639         otherwise we have problems in LyXFont!
11640
11641         * lyxfont.C (lyxWriteChanges): added document_language parameter
11642         (update): removed unneeded language parameter
11643
11644         * paragraph.C (validate): fixed wrong output of color-package when
11645         using interface colors for certain fonts in certain environments,
11646         which should not seen as that on the final output.
11647
11648 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11649
11650         * BufferView_pimpl.C:
11651         * Thesaurus.h:
11652         * Thesaurus.C:
11653         * Makefile.am:
11654         * commandtags.h:
11655         * LyXAction.C: add thesaurus support
11656
11657         * lyxfind.h:
11658         * lyxfind.C: add "once" parameter, for thesaurus, to not
11659           move to the next match
11660
11661 2001-07-26  Juergen Vigna  <jug@sad.it>
11662
11663         * lyxfont.C (realize): honor ignore_language too!
11664         (resolved): ditto.
11665
11666         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11667
11668         * text.C (draw): one place more for ignore_language to not draw
11669         itself!
11670
11671 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11672
11673         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11674
11675 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11676
11677         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11678         the minipage conversion problem.
11679
11680 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11681
11682         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11683         insert an inset.
11684
11685 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11686
11687         * BufferView.h: don't forward declare WorkArea
11688
11689         * BufferView.C: don't include WorkArea.h
11690
11691 2001-07-25  André Pönitz <poenitz@gmx.net>
11692
11693         * commandtags.h:
11694         * LyXAction.C:
11695         * lyxfunc.C:  new LFUN 'math-space'
11696
11697         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11698
11699 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11700
11701         * text2.C (toggleInset): call open/close
11702
11703 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11704
11705         * lyxfunc.C (dispatch): add debug for the disabled case
11706
11707         * font.C (buttonText): make similar to rectText
11708
11709         * buffer.C (readInset): comment out parsing of insetlist and
11710         insttheorem
11711
11712         * PainterBase.C (rectText): small correction
11713
11714         * BufferView_pimpl.C: comment out insettheorem and insetlist
11715         * LyXAction.C: ditto
11716         * commandtags.h: ditto
11717
11718 2001-07-24  Juergen Vigna  <jug@sad.it>
11719
11720         * text.C (draw): honor the ignore_language.
11721
11722         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11723
11724 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11725
11726         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11727         char inset.
11728
11729 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11730
11731         * lyxtext.h: remove unused (and unimplemented) methods
11732
11733 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11734
11735         * text.C (getVisibleRow): honor background color
11736
11737         * PainterBase.h:
11738         * Painter.h: remove default color argument for fillRectangle
11739
11740         * text.C (backgroundColor): new method
11741
11742 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11743
11744         * text.C (getVisibleRow): adjust
11745
11746         * font.[Ch] (rectText): new method, metrics
11747         (buttonText): new method, metrics
11748
11749         * PainterBase.[hC]: make rectText and buttonText always draw and take
11750         fewer paramteres.
11751
11752 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11753
11754         * ToolbarDefaults.C (read):
11755         * MenuBackend.C (read): allow escaping in all strings
11756
11757         * BufferView_pimpl.C (insertAndEditInset): new method.
11758         (Dispatch): use insertAndEditInset whenever appropriate.
11759
11760         * BufferView_pimpl.C (insertNote): removed
11761
11762         * BufferView_pimpl.C (smartQuote): new method, moved from
11763         BufferView; if an insetquote cannot be inserted, insert a '"'
11764         character instead.
11765
11766         * BufferView2.C: remove insertCorrectQuote();
11767
11768         * lyxfunc.C (getStatus): Add support for all remaingin
11769         inset-insert lfuns.
11770
11771         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11772
11773         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11774         command (necessary to pass " as parameter of self-insert.
11775
11776         * text.C (selectWordWhenUnderCursor):
11777         (selectWord): add word_location parameter
11778         (selectWordWhenUnderCursor): same + remove special code for word
11779         boundary.
11780         (selectNextWord): use kind() to guess type of insetspecialchar,
11781         not latex().
11782
11783         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11784         (insertErtContents): create ert insets as collapsed.
11785         (readInset): better compatibility code for Info inset.
11786
11787 2001-07-20  Juergen Vigna  <jug@sad.it>
11788
11789         * lyxfunc.C (dispatch): use always LyXFind now!
11790
11791         * text2.C (init): add a reinit flag so that the LyXText can be
11792         reinited instead of deleted and reallocated (used in InsetText).
11793
11794         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11795
11796         * text.C: ditto
11797
11798         * text2.C: ditto
11799
11800 2001-07-18  Juergen Vigna  <jug@sad.it>
11801
11802         * text.C (selectNextWord): handle insets inside inset by calling
11803         always the bv->text functions so that we can go up the_locking_inset!
11804
11805         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11806         in strange locations when inside an inset!
11807
11808         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11809         handling to include insets.
11810
11811         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11812
11813 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11814
11815         * LyXAction.C (init):
11816         * commandtags.h:
11817         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11818         LIGATURE_BREAK, since the name is so stupid.
11819
11820 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11821
11822         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11823         InsetInfos.
11824
11825         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11826
11827         * sp_form.[Ch]: remove.
11828
11829         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11830
11831         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11832         InsetInfo.
11833
11834         * src/buffer.C (readInset): ditto.
11835
11836 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11837
11838         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11839         menuSeparator(), endOfSentenceDot(), ldots() and
11840         hyphenationPoint(), which are therefore removed.
11841         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11842
11843         * LyXAction.C (init):
11844         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11845
11846         * paragraph.C (getWord): removed.
11847
11848         * BufferView_pimpl.C (Dispatch): use last word or selection for
11849         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11850
11851         * lyx_main.C (queryUserLyXDir): do not ask before creating
11852         user_dir, except if it has been named explicitely.
11853
11854 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11855
11856         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11857         a document of zero size.
11858
11859 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11860
11861         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11862         approriately in the c-tor and in require().
11863         (getPackages): output the appropriate LaTeX for natbib support.
11864
11865         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11866         variables "use_natbib" and "use_numerical_citations" when reading the
11867         LyX file.
11868         (readInset): read the various natbib cite commands.
11869         (validate): white-space change.
11870
11871         * bufferparams.[Ch]: new variables "bool use_natbib" and
11872         "bool use_numerical_citations".
11873         (writeFile): output them in the LyX file.
11874
11875 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11876
11877         * lyxfunc.C (getStatus): add support for all the inset insertion
11878         commands.
11879
11880         * text2.C (insertInset):
11881         * paragraph.C (insetAllowed):
11882         * BufferView_pimpl.C (insertInset): update to take in account the
11883         renaming of insertInsetAllowed
11884
11885         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11886
11887         * text2.C (getInset): new method. returns inset at cursor position.
11888
11889         * BufferView_pimpl.C (Dispatch): changes because of this.
11890
11891         * LyXAction.C (init): rename open-stuff to inset-toggle.
11892
11893         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11894
11895         * text2.C (toggleInset): renamed from openStuff; use
11896         Inset::open().
11897
11898 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11899
11900         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11901
11902         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11903
11904 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11905
11906         * buffer.C (readLyXformat2): Add filename to the error dialog
11907
11908 2001-07-18  Juergen Vigna  <jug@sad.it>
11909
11910         * tabular.C (GetCellNumber): put an assert here instead of the check!
11911
11912 2001-07-17  Juergen Vigna  <jug@sad.it>
11913
11914         * BufferView_pimpl.C (toggleSelection): adapted too.
11915
11916         * text.C (selectNextWord): adapted for use with insets.
11917         (selectSelectedWord): ditto
11918
11919 2001-07-17  Juergen Vigna  <jug@sad.it>
11920
11921         * sp_spell.C (PSpell): fix initialitation order.
11922
11923 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11924
11925         * paragraph.C: spacing
11926
11927 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11928
11929         * sp_spell.C: repair language selection for pspell
11930
11931 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11932
11933         * lyxfunc.h: change more methods to begin with lower char.
11934
11935 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11936
11937         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11938         for unknown layouts.
11939
11940 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11941
11942         * buffer.C (readLyXformat2): Generate an error dialog if there are
11943         unknown layouts.
11944
11945 2001-07-16  Juergen Vigna  <jug@sad.it>
11946
11947         * sp_spell.C: always compile ISpell part.
11948
11949         * lyxrc.C: added use_pspell entry and it's handling.
11950
11951 2001-07-13  Juergen Vigna  <jug@sad.it>
11952
11953         * sp_spell.C: removed double includes.
11954
11955 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11956
11957         Consistent use of Lsstream.h:
11958         * Lsstream.h: added using std::stringstream for consistencies sake.
11959
11960         * buffer.C: removed using std::stringstream
11961
11962         * lyxfont.C (stateText):
11963         * paragraph.C (asString):
11964         * text.C (selectNextWord, selectSelectedWord):
11965         * text2.C (setCounter):
11966         * vspace.C (asString, asLatexString):
11967         std::ostringstream -> ostringstream.
11968
11969 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11970
11971         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11972         * commandtags.h: add LFUN_HELP_ABOUTLYX
11973         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11974
11975 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11976
11977         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11978         cursorToggle()
11979         * lyx_gui_misc.C: remove spellchecker
11980         * lyxfunc.C: showSpellchecker
11981         * sp_base.h: added
11982         * sp_ispell.h: added
11983         * sp_pspell.h: added
11984         * sp_spell.C: added
11985         * sp_form.[Ch]: removed
11986         * spellchecker.[Ch]: removed
11987
11988 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11989
11990         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11991         is set.
11992         (simpleTeXSpecialChars): Simply print the input character without
11993         any special translation if pass_thru is set.
11994
11995         * layout.h: Added bool pass_thru to layout class for being able to
11996         implement pass through of a paragraph for Literate Programming.
11997
11998         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11999         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12000         * layout.C (Read): add "passthru" to list of layout tags and add
12001         code to set the pass_thru boolean when it is read.
12002
12003 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12004
12005         * trans_decl.h: remove allowed from KmodInfo
12006
12007         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12008         remove allowed code
12009         (Load): adjust
12010
12011         * paragraph_pimpl.C (erase): use boost::prior
12012
12013         * Painter.C (text): use data() instead of c_str() when length is
12014         also provided.
12015         * WorkArea.C (putClipboard): ditto
12016         * font.h (width): ditto
12017
12018         * BufferView2.C: use it-> instead of (*it). for iterators
12019         * texrow.C: ditto
12020         * paragraph_pimpl.C: ditto
12021         * paragraph.C: ditto
12022         * minibuffer.C: ditto
12023         * language.C: ditto
12024         * kbmap.C: ditto
12025         * encoding.C: ditto
12026         * counters.C: ditto
12027         * converter.C: ditto
12028         * chset.C: ditto
12029         * Variables.C: ditto
12030         * TextCache.C: ditto
12031         * MenuBackend.C: ditto
12032         * LyXAction.C: ditto
12033         * LColor.C: ditto
12034         * FloatList.C: ditto
12035         * DepTable.C: ditto
12036         * ColorHandler.C (LyXColorHandler): ditto
12037
12038 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12039
12040         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12041
12042         * text2.C (openStuff): reintroduce this method (which had been
12043         nuked in NEW_INSETS frenzy).
12044
12045         * lyxfunc.C (Dispatch): when an action has not been handled, use
12046         its name in the error message, not its number.
12047
12048         * paragraph.C (inInset): change method name to begin with lowercase.
12049
12050         * undo_funcs.C:
12051         * text2.C: updates because of this.
12052
12053 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12054
12055         * ToolbarDefaults.C (add): add spaces in error message
12056
12057 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12058
12059         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12060         (readLyXformat2): rename return_par to first_par, use lyxlex's
12061         pushToken and remove the manual push handling.
12062         (parseSingleLyXformat2Token): add another ert comp. variable:
12063         in_tabular, rename return_par to first_par. handle newlines better
12064
12065 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12066
12067         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12068
12069 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12070
12071         * text2.C (getParFromID): removed
12072
12073         * buffer.C (getParFromID): new method moved form lyxtext.
12074         * BufferView2.C (insertErrors): adjust
12075         (setCursorFromRow): adjust
12076         * BufferView_pimpl.C (restorePosition): adjust
12077         * lyxfunc.C (Dispatch): adjust
12078         * undo_funcs.C (textUndo): adjust
12079         (textRedo): adjust
12080         (textHandleUndo): adjust
12081         (textHandleUndo): adjust
12082
12083 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12084
12085         * buffer.C: up' the LYX_FORMAT
12086
12087         * lyxfont.h: turn NO_LATEX on as default
12088
12089         * buffer.C (insertErtContents): new methods of tex style compability.
12090         (parseSingleLyXformat2Token): use it several places.
12091         * tabular.C (OldFormatRead): and here
12092
12093 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12094
12095         * text2.C: remove some commented code.
12096         reindent file.
12097
12098         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12099         * trans.C: changes because of the above.
12100
12101 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12102
12103         * text2.C (setCounter): Fix counters bug with bibliography layout.
12104
12105 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12106
12107         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12108         own member functions
12109         (simpleTeXSpecialChars): ditto
12110
12111 2001-07-06  Juergen Vigna  <jug@sad.it>
12112
12113         * a lot of files: changed the access to LyXText::status and the
12114         call of undo-functions.
12115
12116         * undo.[Ch]: added a inset_id to the undo informations.
12117
12118         * undo_funcs.[Ch]: added and moved here all undo functions.
12119
12120         * lyxtext.h: give the status enum a weight, made status_ a private
12121         variable and made accessor functions for it, removed the whole bunch
12122         of undo-functions as they are now in their own file, make some
12123         functions publically available. Added function ownerParagraph with
12124         int parameter.
12125
12126         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12127         made InInset() a const function, added getParFromID() function.
12128
12129         * buffer.[Ch]: added const version for inset_iterator functions,
12130         added getInsetFromID() function.
12131
12132         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12133         changed undo functions for new version.
12134
12135 2001-07-05  Juergen Vigna  <jug@sad.it>
12136
12137         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12138         unknow mechanism does not call the proper constructor but only this
12139         one also if I request the other!?
12140
12141 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12142
12143         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12144
12145         * text2.C (LyXText): use initialization lists.
12146
12147         * lyxtext.h (Selection): initialize set_ and mark_
12148         (init): remove method
12149
12150 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12151
12152         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12153
12154 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12155
12156         * screen.[Ch]: change method names to begin with lowercase
12157
12158         * BufferView_pimpl.C (updateScrollbar): simplify further and
12159         hopefully make it a bit faster.
12160
12161 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12162
12163         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12164         calling directly xforms functions.
12165
12166         * Painter.C (Painter):
12167         * lyx_cb.C (MenuWrite):
12168         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12169         fl_display.
12170
12171         * lyx_gui.C: remove bogus guiruntime extern declaration.
12172
12173 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12174
12175         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12176         in NEW_INSETS
12177         (redoDrawingOfParagraph): ditto
12178         (redoParagraphs): ditto
12179         (cutSelection): don't create a object for CutAndPaste use the
12180         static method directly
12181         (pasteSelection): ditto
12182
12183         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12184         LyXview (+ rename)
12185
12186 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12187
12188         * modifications to some other files because of this.
12189
12190         * Makefile.am (lyx_SOURCES): add XFormsView
12191
12192         * XFormsView.[Ch]: new files
12193
12194         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12195         the main window. Move the gui dependent stuff to XFormsView
12196
12197 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12198
12199         * tabular.C (GetCellInset): update cur_cell also in the row/col
12200         version of this function.
12201
12202         * lyxfunc.C: no need to include figure_form.h here.
12203
12204         * FontLoader.h:
12205         * lyxfunc.h:
12206         * lyxscreen.h:
12207         * text2.C:
12208         * lyxvc.C: no need to include forms.h here.
12209
12210 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12211
12212         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12213
12214         * lyxfunc.C (Dispatch):
12215         * Spacing.C (set):
12216         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12217         constructor argument.
12218
12219 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12220
12221         * paragraph.C (Paragraph): dont't clear, and just set layout.
12222         (makeSameLayout): use params's copy contructor.
12223
12224         * ParagraphParameters.[Ch] (makeSame): delete method
12225
12226 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12227
12228         * Variables.[Ch]: fix indentation, rename set to isSet
12229
12230 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12231
12232         * lyxfunc.C (Dispatch): fix typo
12233
12234 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12235
12236         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12237         upper_bound.
12238
12239         * bufferlist.C: include assert.h for emergencyWrite().
12240
12241 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12242
12243         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12244           give up at last (bug #425202) !
12245
12246 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12247
12248         * lyx_gui_misc.C:
12249         * sp_form.h:
12250         * sp_form.C:
12251         * spellchecker.h:
12252         * spellchecker.C: strip spellchecker options and bring up
12253           preferences tab instead
12254
12255 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12256
12257         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12258         the istringstream constructor
12259
12260 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12261
12262         * paragraph.C (getLayout): fix return value
12263
12264         * paragraph.h: do not declare getLayout as inline.
12265
12266         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12267
12268 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12269
12270         * lyxcursor.h (operator<): new func
12271         (operator>): new func
12272         (operator>=): new func
12273         (operator<=): new func
12274
12275         * text.C (changeCase): use selection.start and selection.end
12276         (changeRegionCase): require from to be <= to. Require par to be a
12277         valid paragraph.
12278
12279         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12280
12281 2001-06-27  Juergen Vigna  <jug@sad.it>
12282
12283         * text.C (cursorLeftOneWord): changed to return the cursor and added
12284         overlay with BufferView * parameter which calls this one.
12285         (getWord): added
12286         (selectWord): use new getWord function.
12287         (changeCase): renamed from changeWordCase as and extended to work
12288         also on selections.
12289
12290         * lyxtext.h: added enum word_location
12291
12292         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12293         changeCase as this operates now also on selections.
12294
12295 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12296
12297         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12298
12299         * many files: send debug output to Debug::INFO instead of
12300         Debug::ANY.
12301
12302         * converter.C (View):
12303         (Convert):
12304         (Move): send debug output to Debug::FILES instead of console.
12305
12306 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12307
12308         * lyxfunc.C (getStatus): use func_status
12309
12310         * func_status.h: new header, describing the results of
12311         LyXFunc::getStatus;
12312
12313         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12314         LFUN_MATH_HALIGN.
12315
12316 2001-06-25  The LyX Project  <jug@sad.it>
12317
12318         * buffer.C (sgmlOpenTag):
12319         (sgmlCloseTag):
12320         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12321
12322 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12323
12324         * text2.C: remove some dead code
12325
12326         * tabular.C (GetCellInset): store the last cell checked (gotten)
12327
12328         * tabular.h: add the helper for the speedup
12329
12330         * lyxtext.h: remove some dead code
12331
12332 2001-06-26  The LyX Project  <Asger>
12333
12334         * paragraph.C: Change export to LaTeX of alignment to
12335         \begin{center} and family for better roundtrip work with reLyX.
12336
12337         * Tune the math drawing a bit.
12338
12339 2001-06-25  The LyX Project  <Asger>
12340
12341         * LColor.C (LColor): New color for math background. New color
12342         for buttons.
12343
12344 2001-06-25  The LyX Project  <jug@sad.it>
12345
12346         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12347
12348         * lyxfunc.C (Open):
12349         * bufferlist.C (newFile): do not restrict to files ending with
12350         .lyx
12351
12352         * BufferView_pimpl.C (MenuInsertLyXFile):
12353
12354 2001-06-24  The LyX Project  <jug@sad.it>
12355
12356         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12357         of compare_no_case
12358
12359 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12360
12361         * lyxtext.h: rename most methods to begin with a small char.
12362         Lots of changes because of this.
12363
12364         * paragraph.C (Paragraph): do not call fitToSize
12365         (erase): call Pimpl::erase
12366         (insertChar): call Pimpl::insertChar
12367         (insertInset): call Pipl::insertInset
12368         (breakParagraph): do not call fitToSize
12369         (breakParagraphConservative): do not call fitToSize
12370         (fitToSize): remove method
12371
12372         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12373
12374 2001-06-24  The LyX Project  <Asger>
12375
12376         * Fix Qt compilation^2
12377
12378 2001-06-24  The LyX Project  <jug@sad.it>
12379
12380         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12381         depthHook(getDepth()-1).
12382
12383         * paragraph.h:
12384         * ParagraphParameters.h:
12385         * ParameterStruct.h: change type of depth to unsigned int ==
12386         depth_type. Many adaptations to other files before of that.
12387
12388 2001-06-24  The LyX Project  <Asger>
12389
12390         * Fix Qt compilation.
12391
12392 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12393
12394         * paragraph.h: renamed several methods to begin with small letter.
12395         several changes to many parts of the code because of this.
12396
12397 2001-06-23  The LyX Project  <jug@sad.it>
12398
12399         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12400         rewritten to discard all double spaces when KeepEmpty is off
12401         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12402         to only handle newlines but not fiddle with spaces and friends.
12403
12404         * lyxfunc.C (MenuNew): when doing 'new from template', use
12405         template_path as default directory
12406
12407 2001-06-23  The LyX Project  <Asger>
12408
12409         * Clean-up of header file includes all over
12410         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12411
12412 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12413
12414         * paragraph.h: renamed from lyxparagraph.h
12415
12416 2001-06-23  Asger  <lyx@violet.home.sad.it>
12417
12418         * Buffer.h: Removed Buffer::resize
12419         * BufferList.h: Removed BufferList::resize
12420         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12421         the document lazily when we change the width, or the font settings.
12422
12423 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12424
12425         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12426
12427 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12428
12429         * buffer.h: remove out of date comment
12430
12431 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12432
12433         * lyxscreen.h:
12434         * screen.C: fix "theoretical" GC leak
12435
12436 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12437
12438         * LaTeX.C (scanAuxFile):
12439         (deplog): remove trailing \r when reading stream (useful under
12440         win32)
12441
12442 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12443
12444         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12445         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12446         and BufferView::theLockingInset(Inset*), so should use them and not
12447         access bv_->text->the_locking_inset directly.
12448
12449         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12450
12451 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12452
12453         * Makefile.am:
12454         * tex-defs.h: remove old unused file
12455
12456 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12457
12458         * BufferView_pimpl.C: fix typo, remove minibuffer message
12459           when buffer has loaded
12460
12461 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12462
12463         * lyxfunc.C (Dispatch): use stringstream
12464         (MenuNew): use stringstream
12465         (Open): use stringstream
12466
12467         * importer.C (Import): use stringstream
12468
12469         * bufferview_funcs.C (CurrentState): use stringstream
12470
12471         * LaTeX.C (run): use stringstream
12472
12473         * BufferView_pimpl.C (savePosition): use stringstream
12474         (restorePosition): use stringstream
12475         (MenuInsertLyXFile): use stringstream
12476
12477 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12478
12479         * BufferView.C:
12480         * Bullet.C:
12481         * ColorHandler.C:
12482         * FontInfo.C:
12483         * FontLoader.C:
12484         * LColor.C:
12485         * LaTeXFeatures.C:
12486         * Painter.C:
12487         * gettext.C:
12488         * lyx_gui_misc.C:
12489         * lyxserver.C:
12490         * vspace.C: removed // -*- C++ -*- as first line.
12491
12492         * lyxfind.h:
12493         * version.h: added // -*- C++ -*- as first line.
12494
12495 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12496
12497         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12498
12499         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12500         of string
12501
12502 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12503
12504         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12505         of floats.
12506
12507 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12508
12509         * gettext.C: include LString.h even when --disable-nls is on.
12510
12511 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12512
12513         * converter.h (Get): changed argument type from int to
12514         FormatList::size_type to avoid unnecessary conversion.
12515
12516         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12517         before using it.
12518
12519 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12520
12521         * gettext.h: include LString.h even when --disable-nls is on.
12522
12523 2001-06-07  Juergen Vigna  <jug@sad.it>
12524
12525         * text.C (BreakAgain): subst spaces with tabs.
12526
12527         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12528         (resizeInsetsLyXText): set force on resizeLyXText.
12529
12530 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12531
12532         * gettext.h (gettext_init):
12533         (locale_init): use a real definition instead of a macro
12534
12535 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12536
12537         * Bufferview_pimpl.C:
12538         * LColor.h:
12539         * LColor.C: further lcolor tidies
12540
12541 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12542
12543         * BufferView_pimpl.C (updateScrollbar): simplify.
12544
12545         * BufferView2.C: don't include insets/insetinfo.h, change
12546         prototype for insertInset and call the Pimpl version. let
12547         updateInset call Pimpl version.
12548
12549         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12550         gotoInset to BufferView::Pimpl
12551
12552 2001-06-01  Juergen Vigna  <jug@sad.it>
12553
12554         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12555         inside a LockingInset (is the update needed at all?).
12556
12557 2001-05-31  Juergen Vigna  <jug@sad.it>
12558
12559         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12560         here not the old one otherwise how should we compare it afterwards
12561         if it's the same!
12562
12563 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12564
12565         * lyxfont.C:
12566         * tabular.C:
12567         * tabular-old.C:
12568         * FontInfo.C: bring C functions into global namespace when
12569         necessary
12570
12571 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12572
12573         * LString.h: make sure config.h has been loaded before LString.h.
12574
12575         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12576         (one for each char read by EatLine!).
12577
12578         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12579         variables.
12580
12581 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12582
12583         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12584         to the same as the par we break from
12585
12586 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12587
12588         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12589
12590         * MenuBackend.C (expand): also create menu entries for wide
12591         versions of the floats.
12592
12593         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12594
12595         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12596
12597         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12598         frontends/Makefile.am
12599
12600         * text2.C: adjust
12601         * text.C: adjust
12602
12603
12604         * tabular.C (getTokenValue): add std::
12605
12606         * tabular-old.C (getTokenValue): add std::
12607         (getTokenValue): ditto
12608         (getTokenValue): ditto
12609
12610         * screen.C (ToggleSelection): adjust
12611
12612         * lyxtext.h: put selection cursors inside a Selection struct.
12613
12614         * lyxfunc.C (moveCursorUpdate): adjust
12615
12616         * lyxfont.C (latexWriteStartChanges): add std::
12617
12618         * lyxfind.C: adjust
12619
12620         * font.h: delete with(char const *, LyXFont const &)
12621
12622         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12623
12624         * FontInfo.C (getFontname): add std::
12625
12626         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12627         (workAreaButtonPress): adjust
12628         (tripleClick): adjust
12629         (update): adjust
12630         (moveCursorUpdate): adjust
12631         (Dispatch): adjust
12632
12633         * BufferView2.C (gotoInset): adjust
12634
12635 2001-05-30  Juergen Vigna  <jug@sad.it>
12636
12637         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12638         to check pspell I add this as default as I now have new pspell
12639         libraries and they seem to use this.
12640
12641 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12642
12643         * text2.C (CutSelection): make the cursor valid before the call to
12644         ClearSelection.
12645
12646 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12647
12648         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12649         relied on 0 terminated strings and other horrors. Bug found due to
12650         the new assert in lyxstring!
12651
12652         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12653         KP_ keys.
12654
12655 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12656
12657         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12658         to latinkeys.bind.
12659
12660         * lyxfunc.C (processKeySym): change method of getting to the
12661         self-insert char.
12662
12663         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12664         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12665         * BufferView_pimpl.[Ch]: here as private methods.
12666
12667 2001-05-28  Juergen Vigna  <jug@sad.it>
12668
12669         * text.C (SetHeightOfRow): added the update() call again as it is
12670         needed to initialize inset dimensions!
12671
12672 2001-05-16  Juergen Vigna  <jug@sad.it>
12673
12674         * text2.C (SetCharFont): Add new function with BufferView * and
12675         bool toggleall parameters for setting insets internal fonts.
12676         (SetFont): Freeze the undo as we may change fonts in Insets and
12677         all this change should be inside only one Undo!
12678
12679         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12680         setting font's in insets as for them we have the SetFont function!
12681
12682 2001-05-15  Juergen Vigna  <jug@sad.it>
12683
12684         * text2.C (ClearSelection): to be sure we REALLY don't have any
12685         selection anymore!
12686
12687         * tabular.C (TeXCellPreamble): fixed the left border problem for
12688         multicolumn cells.
12689
12690 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12691
12692         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12693         dependancy file
12694
12695 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12696
12697         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12698         LFUN_BREAKPARAGRAPH.
12699
12700         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12701         help test to "internal only", similar for LFUN_INSERT_URL
12702
12703         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12704         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12705         auto_region_delete and deadkeys.
12706
12707 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12708
12709         * LColor.h:
12710         * LColor.C: remove some dead entries, tidy a little
12711
12712 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12713
12714         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12715         commented code.
12716         (Dispatch): implement LFUN_ESCAPE
12717
12718         * commandtags.h: add LFUN_ESCAPE
12719
12720         * LyXAction.C (init): add entry for LFUN_ESCAPE
12721
12722         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12723         Remove commented code.
12724         (insertNote): moved here
12725         (open_new_inset): moved here
12726
12727         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12728         BufferView_pimpl
12729
12730 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12731
12732         * kbmap.C (findbinding): clean it up and make it work correctly.
12733
12734         * lyx_main.C (init): do not pass argc and argv as parameters
12735
12736 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12737
12738         * buffer.C: fix path for OS/2 & Win32
12739
12740         * lyx_gui.C:
12741         * lyx_main:
12742         * lyx_main.C: Added os:: class.
12743
12744         * os2_defines.h: update
12745
12746 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12747
12748         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12749         better by trying again with reduced state.
12750
12751 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12752
12753         * lyxrc.C (read): print error about invalid key sequence only when
12754         debugging (because not all latinX keysyms are known to some X
12755         servers)
12756
12757         * kbsequence.C (getiso): add a few std:: qualifiers
12758         (getiso): comment out extra return statement.
12759
12760 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12761
12762         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12763         handling.
12764         (Dispatch): enhance the accent inset a bit. (not perfect)
12765
12766 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12767
12768         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12769
12770 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12771
12772         * bufferlist.C (emergencyWrite): fix assert() call
12773
12774 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12775
12776         * text.C (InsertChar): Added trivial patch to only send the "you
12777         can not do multiple spaces this way" message once during a
12778         session.
12779
12780 2001-05-08  Baruch Even  <baruch@lyx.org>
12781
12782         * Makefile.am: Changed order of libraries to get LyX to link properly
12783         with the gnome frontend.
12784
12785 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12786
12787         * LaTeXFeatures.h: add a std:: qualifier
12788
12789 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12790
12791         * paragraph.C (String): use stringstream
12792
12793 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12794
12795         * paragraph.C (writeFile): remove footflag arg
12796
12797         * buffer.C (makeLaTeXFile): use stringstream
12798         (latexParagraphs): remove footnot gurba
12799
12800         * LaTeXFeatures.C (getPackages): use stringstream
12801         (getMacros): likewise
12802         (getTClassPreamble): likewise
12803         (getFloatDefinitions): new method
12804
12805         * paragraph.C (writeFile): reindent
12806         (Erase): reindent
12807
12808         * WorkArea.h: revert the xpos + etc changes.
12809
12810         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12811
12812         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12813
12814         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12815         (pasteSelection): likewise
12816         * text2.C (CreateUndo): likewise
12817
12818 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12819
12820         * minibuffer.C (peek_event): temporarily reduce the functionality
12821         of the minibuffer (to allow args on lfuns)
12822
12823         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12824         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12825
12826         * buffer.C (readInset): add compability reading of old float
12827         lists, add reading of new style float list.
12828         (readInset): avoid reevaluation of inscmd.getCmdName()
12829         (getLists): reindent
12830
12831         * MenuBackend.C (MenuItem): implement parsing of
12832         md_floatlistinsert and md_floatinsert.
12833         (expand::LastFiles): move initalizaton of iterators out of loop,
12834         avoid reevaluation.
12835         (expand::Documents): introduce typdedef vector<string> Strings,
12836         and use it.
12837         (expand::ExportFormats): introduce typedef vector<Format const *>
12838         Formats, and use it.
12839         (expand): implement FloatListInsert and FloatInsert.
12840
12841         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12842         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12843         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12844
12845         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12846         handling.
12847         (Dispatch::LFUN_FLOAT_LIST): implement
12848
12849 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12850
12851         * LaTeX.C (run): Fix problem with --export code.
12852
12853 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12854
12855         * BufferView.[Ch] (workarea): removed.
12856         (getClipboard) new method; wrapper for workarea()->getClipboard()
12857
12858         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12859         bug.
12860
12861         * WorkArea.h (width, height, xpos, ypos): These methods all
12862         returned the dimensions of the work_area sub-area of WorkArea,
12863         resulting in a position error if the WorkArea were resized. Now
12864         return the dimensions of the entire WorkArea.
12865
12866         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12867
12868 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12869
12870         * LaTeX.C (deplog): correct the syntax of regex reg1
12871
12872 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12873
12874         * undo.C: remove !NEW_INSETS cruft
12875
12876 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12877
12878         * text2.C: remove !NEW_INSETS cruft
12879
12880         * text.C: remove !NEW_INSETS cruft
12881
12882         * tabular.C: remove !NEW_INSETS cruft
12883
12884         * spellchecker.C: remove !NEW_INSETS cruft
12885
12886         * lyxtext.h: remove !NEW_INSETS cruft
12887
12888         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12889
12890         * lyxfunc.C: remove !NEW_INSETS cruft
12891
12892         * lyxfind.C: remove !NEW_INSETS cruft
12893
12894         * lyx_cb.C: remove !NEW_INSETS cruft
12895
12896         * figureForm.C: remove  !NEW_INSETS cruft
12897
12898         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12899
12900         * buffer.[Ch]: remove !NEW_INSETS cruft
12901
12902         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12903
12904         * CutAndPaste.C: remove !NEW_INSETS cruft
12905
12906         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12907
12908         * BufferView2.C: remove !NEW_INSETS cruft
12909
12910         * BufferView.h: remove !NEW_INSETS cruft
12911
12912 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12913
12914         * Lsstream.h: include LString.h before the sstream headers to
12915         fix problem with gcc 2.95.3 and lyxstring
12916
12917 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12918
12919         * lyx_main.C: add using directives when needed for C functions
12920         declared in std:: namespace.
12921
12922 2001-04-27  Juergen Vigna  <jug@sad.it>
12923
12924         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12925         (SetHeightOfRow): comment out the update call should not be needed!
12926
12927 2001-04-13  Juergen Vigna  <jug@sad.it>
12928
12929         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12930         (LyXTabular): tried to minimize operator= operations (and realized
12931         hopfully Lars wish).
12932
12933 2001-04-27  Juergen Vigna  <jug@sad.it>
12934
12935         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12936
12937 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12938
12939         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12940
12941         * buffer.C (readInset): hack to make listof algorithm work
12942
12943         * BufferView_pimpl.C: hack to make listof algorithm work
12944
12945 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12946
12947         * LyXAction.C: removed all !NEW_INSETS cruft
12948         (init): moved lfun_item in method
12949
12950         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12951
12952 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12953
12954         * BufferView2.C (theLockingInset): white space.
12955
12956 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12957
12958         * minibuffer.C: include <iostream>
12959
12960         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12961
12962         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12963
12964         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12965
12966         * text.[Ch] (TransposeChars): new method
12967
12968 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12969
12970         * call message directly through LyXView instead of through LyXFunc
12971         * BufferView2.C: adjust
12972         * BufferView_pimpl.C: adjust
12973         * FontLoader.C: adjust
12974         * buffer.C: adjust
12975         * bufferview_funcs.C: adjust
12976         * converter.C: adjust
12977         * figureForm.C: adjust
12978         * importer.C: adjust
12979         * lyx_cb.C: adjust
12980         * lyx_gui_misc.C: adjust
12981         * lyxfunc.C: adjust
12982         * lyxvc.C: adjust
12983         * text2.C: adjust
12984         + more files in subdirs
12985
12986         * lyxparagraph.h (size): move up int file
12987         (GetLayout): ditto
12988
12989         * adjust all uses of Assert to lyx::Assert.
12990
12991         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12992         lyxfunctional in namespace lyx
12993         * layout.C (hasLayout): ditto
12994         (GetLayout): ditto
12995         (GetLayout): ditto
12996         (delete_layout): ditto
12997         (NumberOfClass): ditto
12998         * converter.C (GetFormat): ditto
12999         (GetNumber): ditto
13000         (Add): ditto
13001         (Delete): ditto
13002         (SetViewer): ditto
13003         * bufferlist.C (getFileNames): ditto
13004         (emergencyWriteAll): ditto
13005         (exists): ditto
13006         (getBuffer): ditto
13007         * MenuBackend.C (hasSubmenu): ditto
13008         (hasMenu): ditto
13009         (getMenu): ditto
13010         * BufferView_pimpl.C (getInsetByCode): ditto
13011
13012 2001-04-18  Juergen Vigna  <jug@sad.it>
13013
13014         * vspace.C (asLatexString): fixed the 100% problem.
13015
13016 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13017
13018         * lyxfunc.C (Dispatch):
13019         * minibuffer.C:
13020         * minibuffer.h: add a few std:: qualifiers
13021
13022 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13023
13024         * minibuffer.[Ch]: reimplement so that commands is initiated and
13025         run from lyxfunc, simplified som handling, and made the completion
13026         and history code for complete. wip.
13027
13028         * lyxfunc.C (processKeySym): call message
13029         (miniDispatch): new temporary method
13030         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13031         (LFUN_MESSAGE): implement
13032         (LFUN_MESSAGE_PUSH): implement
13033         (LFUN_MESSAGE_POP): implement
13034         (initMiniBuffer): the initial/defualt minibuffer message.
13035
13036         * lyxfont.[Ch]: inline some more getters
13037
13038         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13039
13040         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13041
13042         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13043         (AutoSave): use LFUN_MESSAGE
13044         (Reconfigure): ditto
13045
13046         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13047
13048         * figureForm.C: use LFUN_MESSAGE
13049
13050         * converter.C (runLaTeX): use LFUN_MESSAGE
13051
13052         * bufferview_funcs.C: use LFUN_MESSAGE
13053         (Melt): ditto
13054         (changeDepth): ditto
13055
13056         * bufferparams.h: use boost::
13057
13058         * bufferlist.h: inherit privately from noncopyable
13059
13060         * bufferlist.C (loadLyXFile): remove some commented code.
13061
13062         * buffer.C (runChktex): use LFUN_MESSAGE
13063
13064         * ShareContainer.h: inherit privately from noncopyable
13065
13066         * ParagraphParameters.[hC] (depth): inline it.
13067
13068         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13069         methods.
13070         (message): new method
13071         (messagePush): ditto
13072         (messagePop): ditto
13073         (show): init minibuffer
13074         (showState): direct call
13075
13076         * LaTeX.[Ch]: inherit privately from noncopyable
13077         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13078         instead of WriteStatus.
13079
13080         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13081
13082         * BufferView_pimpl.C (buffer): don't init minibuffer
13083         (workAreaButtonPress): use LFUN_MESSAGE
13084         (workAreaButtonRelease): ditto
13085         (savePosition): ditto
13086         (restorePosition): ditto
13087         (MenuInsertLyXFile): ditto
13088         (workAreaExpose): don't init minibuffer
13089         (update): remove commented code, simplify
13090
13091         * BufferView2.C (openStuff): use LFUN_MESSAGE
13092         (toggleFloat): ditto
13093         (menuUndo): ditto
13094         (menuRedo): ditto
13095         (copyEnvironment): ditto
13096         (pasteEnvironment): ditto
13097         (copy): ditto
13098         (cut): ditto
13099         (paste): ditto
13100         (gotoInset): ditto
13101         (updateInset): remove some commented code
13102
13103         * lastfiles.h: inherit privately from noncopyable
13104         * layout.h: ditto
13105         * lyx_gui.h: ditto
13106         * lyx_main.h: ditto
13107         * lyxlex.h: ditto
13108         * lyxlex_pimpl.h: ditto
13109
13110         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13111         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13112         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13113
13114         * LyXAction.h: inherit privately from noncopyable, add methods
13115         func_begin, func_end, returning iterators to the func map.
13116
13117         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13118         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13119         (func_begin): new method
13120         (func_end): new method
13121
13122         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13123         and not)
13124         (copySelection): ditto
13125         (pasteSelection): ditto
13126
13127         * BufferView.C: whitespace change
13128         * BufferView.h: inherit privately from noncopyable
13129
13130 2001-04-16  Allan Rae  <rae@lyx.org>
13131
13132         * tabular-old.C (l_getline):
13133         * spellchecker.C (sc_check_word):
13134         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13135         an unrecognised preprocessor directive.  So ensure they're wrapped.
13136
13137 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13138
13139         * src/exporter.C (Export): Give an error message when path to file
13140         contains spaces.
13141
13142 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13143
13144         * LaTeX.C (deplog): Always check that foundfile exists.
13145
13146 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13147
13148         * lyx_main.h:
13149         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13150
13151 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13152
13153         * tabular.[Ch] (getLabelList): implement new method
13154
13155         * minibuffer.h: comment ouf setTiimer
13156
13157         * minibuffer.C (ExecutingCB): constify res
13158         (peek_event): constify s
13159         (Set): constify ntext
13160         (Init): constify nicename
13161
13162         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13163
13164         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13165         (savePosition): use two params to Minibuffer::Set
13166         (restorePosition): ditto
13167
13168 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13169
13170         * lyx_main.C: include language.h
13171
13172         * Makefile.am (lyx_main.o): add language.h
13173
13174 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13175
13176         * exporter.C:
13177         * paragraph.C:
13178         * screen.C:
13179         * tabular.C:
13180         * CutAndPaste.C: include gettext.h
13181
13182         * lyxfont.h: remove old hack with ON and OFF.
13183
13184         * lyxparagraph.h:
13185         * lyxfont.h: do not include language.h...
13186
13187         * BufferView2.C:
13188         * LaTeXFeatures.C:
13189         * Painter.C:
13190         * bufferview_funcs.C:
13191         * font.C:
13192         * lyxfont.C:
13193         * text.C:
13194         * text2.C:
13195         * trans_mgr.C:
13196         * paragraph.C: ... but do it here instead
13197
13198 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13199
13200         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13201
13202         * tabular.C: small reformat
13203
13204         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13205         NEW_INSETS version
13206         (GetChar): ditto
13207         (BreakParagraph): ditto
13208         (SetOnlyLayout): ditto
13209         (SetLayout): ditto
13210
13211         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13212         with one arg less.
13213
13214         * lastfiles.C: removed most using decl, add std:: where needed
13215
13216         * buffer.C: ws changes
13217
13218         * MenuBackend.C (class compare_format): put into anon namespace
13219         (expand): constify label, names, action, action2
13220         (expand):
13221
13222         * text.C (SingleWidth): constify font
13223         (IsBoundary): constify rtl2
13224         (GetVisibleRow): constify ww
13225
13226         * LaTeX.C (deplog): constify logfile
13227
13228         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13229         start_x, end_x
13230         (workAreaExpose): constify widthChange, heightChange
13231
13232         * lyxrow.C (par): moved
13233         (height): moved
13234         (next): moved
13235         * lyxrow.h: as inlines here
13236
13237         * lyxfont.h (shape): moved from lyxfont.C
13238         (emph): moved from lyxfont.C
13239
13240         * lyxfont.C (LyXFont): use initialization list for all
13241         constructors
13242         (shape): move to lyxfont.h as inline
13243         (emph): move to lyxfont.h as inline
13244
13245
13246 2001-04-04  Juergen Vigna  <jug@sad.it>
13247
13248         * vspace.C: had to include stdio.h for use of sscanf
13249
13250 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13251
13252         * BufferView.h:
13253         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13254         independent of xforms.
13255
13256 2001-04-02  Juergen Vigna  <jug@sad.it>
13257
13258         * spellchecker.C: fixed namespace placing!
13259
13260 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13261
13262         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13263         the LyXParagraph * is 0.
13264
13265 2001-03-29  Juergen Vigna  <jug@sad.it>
13266
13267         * vspace.C: added support for %, c%, p%, l%.
13268         (stringFromUnit): added helper function.
13269         (asLatexString): changed to give right results for the %-values.
13270
13271         * buffer.C: convert the widthp in a width%.
13272
13273 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13274
13275         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13276         figureForm.[Ch].
13277
13278         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13279         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13280
13281         * lyx_cb.[Ch]: see above.
13282
13283         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13284         form1.[Ch].
13285
13286         * form1.[Ch]:
13287         * lyx.[Ch]: replaced by figure_form.[Ch].
13288
13289         * lyx_gui.C:
13290         * lyx_gui_misc.C:
13291         * lyxfunc.C: changed headers associated with above changes.
13292
13293 2001-03-27  Juergen Vigna  <jug@sad.it>
13294
13295         * BufferView_pimpl.C: set the temporary cursor right!
13296
13297 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13298
13299         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13300
13301 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13302
13303         * LString.h: removed "using std::getline"!
13304
13305         * BufferView_pimpl.C (Dispatch): changes due to changes in
13306         InsetInclude::Params.
13307
13308         * buffer.C (tag_name): removed redundant break statements as they were
13309         producing lots of warnings with my compiler.
13310
13311 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13312
13313         * LString.h: add "using std::getline" when using the real <string>.
13314
13315 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13316
13317         * buffer.C: removed bitset usage.
13318         PAR_TAG moved to an anonymous name space.
13319         (tag_name): new funtion, also in the anonymous namespace.
13320         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13321         (makeDocBookFile): clean code. Completed transition from string arrays
13322         to string vectors.
13323         (SimpleDocBookOnePar): code clean.
13324
13325 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13326
13327         * tabular.C: add some comments.
13328
13329 2001-03-22  Juergen Vigna  <jug@sad.it>
13330
13331         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13332         compatibility read a bit and fixed bug with minipage in different
13333         depth.
13334
13335 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13336
13337         * buffer.C (pop_tag): removed.
13338         (push_tag): removed.
13339         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13340         array replaced with vector. Added support for CDATA sections.
13341         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13342         at any nest level.
13343         (makeDocBookFile): XML conformant declaration of CDATA section,
13344         fixed bug related to <emphasis> in the first paragraph char.
13345         (sgmlOpenTag): exclude empty tags.
13346         (sgmlCloseTag): ditto.
13347
13348         * buffer.h (pop_tag): removed.
13349         (push_tag): removed.
13350
13351 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13352
13353         * language.h (Languages): added size_type and size().
13354
13355 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13356
13357         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13358         response on compability reading of minipages. One probliem is that
13359         the old usage of minipages was «flertydig»
13360
13361         * several files here and in subdirs: don't use static at file
13362         scope use anon namespaces instead.
13363
13364 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13365
13366         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13367         LaTeX output. This is necessary for Literate document
13368         processing.
13369
13370 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13371
13372         * buffer.C: insert hfill when needed.
13373
13374         * tabular.C (l_getline): use string::erase, small whitespace change.
13375
13376         * BufferView_pimpl.C: try the anon namespace.
13377         * WorkArea.C: ditto
13378
13379 2001-03-16  Juergen Vigna  <jug@sad.it>
13380
13381         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13382         otherwise it won't open options-dialogs.
13383
13384         * buffer.C: honor pextraWidth(p) on converting minipages.
13385
13386         * tabular.C (l_getline): changed the functions to strip trailing \r.
13387
13388 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13389
13390         * BufferView_pimpl.C:
13391         * minibuffer..C: added "using SigC::slot" declaration.
13392
13393 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13394
13395         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13396
13397         * text2.C: ditto
13398
13399         * text.C: ditto
13400
13401         * paragraph.C: ditto
13402
13403         * lyxtext.h: NO_PEXTRA
13404
13405         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13406
13407         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13408         * ParameterStruct.h: ditto
13409         * ParagraphParameters.h: ditto
13410         * lyxparagraph.h: ditto
13411
13412 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13413
13414         * buffer.C: add compability for minipage alignment.
13415         (latexParagraphs): remove unwanted pextra check.
13416
13417         * several files: remove CXX_WORKING_NAMESPACES
13418
13419         * buffer.C (pop_tag): tie is in namespace boost
13420
13421         * BufferView.h: noncopyable is in namespace boost
13422         * lyxlex.h: ditto
13423         * lyx_main.h: ditto
13424         * lyx_gui.h: ditto
13425         * layout.h: ditto
13426         * lastfiles.h: ditto
13427         * bufferlist.h: ditto
13428         * ShareContainer.h: ditto
13429         * LyXView.h: ditto
13430         * LyXAction.h: ditto
13431         * LaTeX.h: ditto
13432
13433 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13434
13435         * Merging changes from BRANCH_MVC back into HEAD.
13436
13437         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13438
13439 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13440
13441         * BufferView_pimpl.C: change from intl.C
13442
13443         * combox.h:
13444         * combox.C:
13445         * Makefile.am: move combox.*
13446
13447         * form1.h:
13448         * form1.C:
13449         * lyx_gui.C:
13450         * intl.h:
13451         * intl.C: remove dialog (covered by prefs)
13452
13453 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13454
13455         * lyxfunc.C (Dispatch): removed redundant break statement.
13456
13457 2001-03-14  Juergen Vigna  <jug@sad.it>
13458
13459         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13460
13461 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13462
13463         * buffer.C: add hack to fix compability reading of minipages.
13464
13465 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13466
13467         * buffer.C (getLists): Cleanup.
13468
13469 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13470
13471         * lyxfont.C (update): don't honor toggleall on font size.
13472
13473 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13474
13475         * bmtable.c:
13476         * bmtable.h:
13477         * Makefile.am: moved to frontends/xforms/
13478
13479         * lyx_gui_misc.C:
13480         * lyxfunc.C:
13481         * BufferView_pimpl.C: changes for moved mathpanel
13482
13483 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13484
13485         * gettext.h: fix gettext_init() in --disable-nls
13486
13487 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13488
13489         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13490
13491 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13492
13493         * lyx.C:
13494         * lyx.h: strip external form
13495
13496 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13497
13498         * BufferView_pimpl.C: add comment, destroySplash()
13499
13500 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13501
13502         * BufferView_pimpl.C:
13503         * LyXAction.C:
13504         * buffer.C:
13505         * commandtags.h:
13506         * lyxfunc.C: use re-worked insetinclude
13507
13508 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13509
13510         * buffer.C: add using std::stringstream.
13511
13512         * lyx_cb.C: readd using std::ios.
13513
13514         * buffer.C: add using std::map.
13515
13516         * BufferView_pimpl.C: add using std::vector.
13517
13518         * ShareContainer.h: add std:: to swap.
13519
13520         * buffer.h: add some typedefs
13521         * buffer.C (getLists): use them
13522         (getLists): renamed from getTocList.
13523         add a counter for the different float types and use it in the
13524         generated string.
13525         (getLists): use the same counter for the NEW_INSETS and the "non"
13526         NEW_INSETS
13527
13528         * lyx_cb.h: remove unused items, includes, using etc.
13529
13530         * ShareContainer.h: remove some commented code, add more comments
13531         and "documentation".
13532
13533 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13534
13535         * buffer.C (getTocList): make the list also when NEW_INSETS is
13536         defined.
13537
13538         * buffer.h: remove TocType
13539
13540         * buffer.C (getTocList): change to return a map<string,
13541         vector<TocItem> >, implement for dynamic number of list.
13542
13543         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13544         * text2.C (PasteSelection): adjust
13545         * CutAndPaste.C (pasteSelection): adjust
13546
13547         * FloatList.C (FloatList): update from the new_insets branch.
13548         * Floating.[Ch]: ditto
13549         * LaTeXFeatures.C: ditto
13550         * buffer.C: ditto
13551         * lyxlex_pimpl.C: ditto
13552
13553         * paragraph.C (Last): remove when NEW_INSETS is defined.
13554
13555         * other file: changes because of the above.
13556
13557 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13558
13559         * lyxparagraph.h: rename next to next_, previous to previous_,
13560         make them private for NEW_INSETS. Rename Next() to next(),
13561         Previous() to previous().
13562
13563         * other files: changes because of the above.
13564
13565 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13566
13567         * BufferView.h:
13568         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13569         problem.
13570
13571 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13572
13573         * main.C (main): pass lyx_localedir to gettext_init().
13574
13575         * gettext.h: remove locale_init and gettext_init macros
13576
13577         * gettext.C (locale_init): new function
13578         (gettext_init): new function
13579
13580         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13581         setlocale().
13582
13583 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13584
13585         * Moved credits to frontends:
13586         * credits.[Ch]: removed
13587         * credits_form.[Ch]: removed
13588         * lyx_gui_misc.C: remove credits stuff
13589         * Makefile.am:
13590
13591 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13592
13593         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13594
13595         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13596         unneeded destructor.
13597
13598         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13599         a standalone pointer again.
13600
13601         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13602
13603 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13604
13605         * Makefile.am:
13606         * filedlg.h:
13607         * filedlg.C:
13608         * LyXAction.C:
13609         * ToolbarDefaults.C:
13610         * bufferlist.C:
13611         * commandtags.h:
13612         * form1.C:
13613         * form1.h:
13614         * lyx_cb.C:
13615         * lyx_cb.h:
13616         * lyxfunc.h:
13617         * lyxfunc.C:
13618         * BufferView_pimpl.C: use new file dialog in GUII
13619
13620         * lyx_cb.h:
13621         * lyx_cb.C: remove LayoutsCB to Toolbar
13622
13623 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13624
13625         * ShareContainer.h (get): add std:: qualifier
13626
13627 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13628
13629         * ShareContainer.h: define a proper ShareContainer::value_type
13630         type (and use typename to please compaq cxx)
13631
13632 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13633
13634         * lyxparagraph.h: move serveral local vars to
13635         ParameterStruct/ParagraphParameters., use ShareContainer in
13636         FontTable., make vars in FontTable private and add getter and
13637         setter.
13638
13639         * paragraph.C: changes because of the above.
13640
13641         * lyxfont.h: remove copy constructor and copy assignment. (the
13642         default ones is ok), move number inside FontBits. move inlines to
13643         lyxfont.C
13644
13645         * lyxfont.C: add number to initializaton of statics, move several
13646         inlines here. constify several local vars. some whitespace
13647         cleanup. Dont hide outerscope variables.
13648
13649         * Spacing.h: add two new constructors to match the set methods.
13650
13651         * ShareContainer.h: new file, will perhaps be moved to support
13652
13653         * ParameterStruct.h: new file
13654
13655         * ParagraphParameters.h: new file
13656
13657         * ParagraphParameters.C: new file
13658
13659         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13660         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13661
13662         * BufferView_pimpl.C: ParagraphParameter changes.
13663         * buffer.C: Likewise.
13664         * bufferview_funcs.C: Likewise.
13665         * text.C: Likewise.
13666         * text2.C: Likewise.
13667
13668 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13669
13670         * lyxfind.C (LyXReplace): do not redefine default argument in
13671         implementation.
13672         (IsStringInText): ditto
13673         (SearchForward): ditto
13674         (SearchBackward): ditto
13675
13676 2001-03-06  Juergen Vigna  <jug@sad.it>
13677
13678         * lyxfind.C (IsStringInText): put parentes around expressions.
13679
13680 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13681
13682         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13683
13684 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13685
13686         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13687
13688         * stl_string_fwd.h: add comment
13689
13690         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13691
13692         * tabular.h:
13693         * tabular.C: remove unused DocBook methods
13694
13695         * intl.C:
13696         * language.C:
13697         * paragraph.C:
13698         * buffer.C:
13699         killed DO_USE_DEFAULT_LANGUAGE
13700
13701 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13702
13703         * lyx_gui.C: do not include language.h.
13704
13705         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13706         arguments in function implementation.
13707
13708 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13709
13710         * BufferView_pimpl.C: add <ctime>
13711
13712 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13713
13714         * BufferView_pimpl.C: add using std::find_if
13715
13716 2001-02-27  José Matos  <jamatos@fep.up.pt>
13717
13718         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13719         by OnlyPath.
13720
13721 2001-02-11  José Matos  <jamatos@fep.up.pt>
13722
13723         * buffer.C (makeDocBookFile): command styles now have a parameter as
13724         "title" by default.
13725
13726 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13727
13728         * layout_forms.[Ch]: removed
13729         * lyx_cb.[Ch]: out character
13730         * lyx_gui.C: out character
13731         * lyx_gui_misc.C: out character
13732         * bufferview_funcs.C: : out character,
13733         added toggleall as parameter in ToggleAndShow
13734
13735 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13736
13737         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13738
13739         * text2.C (SetCurrentFont): Disable number property at boundary.
13740
13741 2001-02-26  Juergen Vigna  <jug@sad.it>
13742
13743         * lyxfunc.C (getStatus): added a string argument override function so
13744         that this is correctly called from LyXFunc::Dispatch if it contains a
13745         do_not_use_argument which is used!
13746         (Dispatch): added check for "custom" export and call appropriate func.
13747
13748 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13749
13750         * lyxrc.C: Add language_command_local, language_use_babel and
13751         language_global_options.
13752
13753         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13754
13755         * buffer.C (makeLaTeXFile): Use language_use_babel and
13756         language_global_options.
13757
13758 2001-02-23  Juergen Vigna  <jug@sad.it>
13759
13760         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13761         which works with LyXText and putted it inside BufferView. Here now we
13762         only call for that part the BufferView::Dispatch() function.
13763
13764         * BufferView.C (Dispatch): added.
13765
13766         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13767         functions which needs to use a LyXText over from LyXFunc.
13768         (MenuInsertLyXFile): added
13769         (getInsetByCode): added
13770         (moveCursorUpdate): added
13771         (static TEXT): added
13772
13773 2001-02-22  Juergen Vigna  <jug@sad.it>
13774
13775         * BufferView_pimpl.C (update): call a status update to see if LyXText
13776         needs it.
13777
13778 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13779
13780         * vc-backend.C (revert): implement for CVS
13781         (getLog): implement for CVS
13782
13783 2001-02-20  Juergen Vigna  <jug@sad.it>
13784
13785         * text2.C (ClearSelection): added BufferView param for inset_owner call
13786
13787         * lyxfunc.C (TEXT): added this function and use it instead of
13788         directly owner->view()-text of getLyXText().
13789
13790 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13791
13792         * src/layout_forms.C: out preamble
13793         * src/layout_forms.h: out preamble
13794         * src/lyx_cb.C: out preamble
13795         * src/lyx_cb.h: out preamble
13796         * src/lyx_gui.C: out preamble
13797         * src/lyx_gui_misc.C: out preamble
13798         * src/lyxfunc.C: connect with guii preamble
13799
13800 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13801
13802         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13803
13804 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13805
13806         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13807         whether to run bibtex.
13808
13809 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13810
13811         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13812
13813 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13814
13815         * Makefile.am (lyx_SOURCES): removed bibforms.h
13816
13817         * vspace.h: doxygen
13818
13819         * text.C (GetVisibleRow): make several local vars const
13820
13821         * tabular.C: small cleanup.
13822
13823         * lyxserver.C (callback): use compare instead of strncmp
13824
13825         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13826         inlines to after class or to paragraph.C
13827
13828         * lyxfont.h: remove friend operator!=
13829
13830         * converter.h: move friend bool operator< to non friend and after
13831         class def.
13832
13833         * combox.h: small cleanup
13834
13835         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13836         to inlines after class def.
13837
13838         * buffer.C (pop_tag): use string operations instead of strcmp
13839
13840         * bmtable.c: doxygen, small cleanup
13841
13842         * LaTeX.h: remove friend operator==
13843
13844 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13845
13846         * screen.C:
13847         * lyxrc.[Ch]:
13848         * lyxfunc.C:
13849         * lyxfont.[Ch]:
13850         * lyx_cb.C:
13851         * intl.[Ch]:
13852         * commandtags.h:
13853         * buffer.C:
13854         * WorkArea.[Ch]:
13855         * LyXAction.C:
13856         * BufferView_pimpl.C:
13857         * BufferView.[Ch]: remove cruft
13858
13859 2001-02-14  Juergen Vigna  <jug@sad.it>
13860
13861         * lyxfunc.C: removed #if 0 unused code
13862
13863         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13864
13865         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13866
13867         * text2.C (SetSelection): added a BufferView * parameter
13868
13869 2001-02-13  Juergen Vigna  <jug@sad.it>
13870
13871         * lyxfunc.C (Dispatch): fixed protected blank problem.
13872         * BufferView2.C (protectedBlank): added LyxText * parameter.
13873
13874         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13875         (AppendColumn): same as above for column_info.
13876
13877         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13878         (moveCursorUpdate): use a LyXText param for support of InsetText.
13879
13880         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13881         (tripleClick): ditto
13882
13883         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13884
13885         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13886
13887         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13888
13889         * text2.C (SetSelection): set correct update status if inset_owner
13890         (ToggleFree): ditto
13891
13892 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13893
13894         * tabular.C: remove some commented code.
13895
13896 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13897
13898         * BufferView_pimpl.C: call hideSplash()
13899
13900         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13901
13902         * include_form.h:
13903         * bibforms.h: remove
13904
13905         * lyxfunc.C:
13906         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13907           add LFUN_CHILD_CREATE
13908
13909         * counters.h: fix tiny typo
13910
13911         * lyx_cb.C:
13912         * lyx.h:
13913         * lyx_gui.C:
13914         * lyx.C: move splash to frontends/xforms/
13915
13916         * lyx_gui_misc.C: move Include and Bibform to frontends
13917
13918         * lyxvc.h: clarify comment
13919
13920         * vspace.C: tiny housekeeping
13921
13922 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13923
13924         * text.C (PrepareToPrint): RTL Fix.
13925
13926         * paragraph.C (GetUChar): New method.
13927         (String):  Use GetUChar.
13928
13929         * buffer.C (asciiParagraph): Use GetUChar.
13930
13931 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13932
13933         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13934
13935 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13936
13937         * buffer.h:
13938         * buffer.C: rename to getLogName(), handle
13939           build log / latex log nicely
13940
13941 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13942
13943         * MenuBackend.C:
13944         * MenuBackend.h: remove support for reference menuitem type.
13945
13946 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13947
13948         * BufferView_pimpl.C: housekeeping
13949         * BufferView_pimpl.h:
13950         * LyXView.h:
13951         * Makefile.am:
13952         * Timeout.C:
13953         * Timeout.h:
13954         * minibuffer.h: move Timeout GUI-I
13955
13956 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13957
13958         * lyxrc.C (read): Update converters data-structures.
13959
13960 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13961
13962         * LaTeX.h (operator!=): add operator != for Aux_Info
13963
13964 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13965
13966         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13967
13968         * LaTeXLog.C: deleted, useful code moved to Buffer
13969
13970         * buffer.h:
13971         * buffer.C: new function getLatexLogName()
13972
13973         * lyx_gui_misc.C:
13974         * lyx_gui.C:
13975         * lyxvc.C:
13976         * lyxvc.h:
13977         * lyxfunc.C: use frontends for LaTeX and VC logs
13978
13979 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13980
13981         * LaTeX.h: yet another std:: that Allan forgot.
13982
13983         * Variables.C (set): renamed from isset(), because this clashes
13984         with some HP-UX macros (grr).
13985
13986 2001-02-06  Allan Rae  <rae@lyx.org>
13987
13988         * LaTeX.h: Another bug fix.  Missing std:: this time.
13989
13990 2001-02-04  Allan Rae  <rae@lyx.org>
13991
13992         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13993         floats problem. I've left it commented out because it's not quite
13994         correct.  It should also test that the current object is a table or
13995         figure inset.  But I haven't gotten around to figuring out how to do
13996         that.  I *think* it'll be something like: "table" == inset.type()
13997
13998         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13999         bool.
14000
14001 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14002
14003         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14004         all the citation/databases/styles in the auxilary file.
14005         (run): Rerun latex if there was a babel language error.
14006
14007 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14008
14009         * text.C (Backspace): Preserve the font when changing newline char
14010         with a space.
14011         (BreakParagraph): If the cursor is before a space, delete the space.
14012
14013         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14014
14015 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14016
14017         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14018         new argument (code).
14019         (ChangeCitationsIfUnique): New method.
14020
14021         * paragraph.C (GetPositionOfInset): Handle bibkey.
14022
14023 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14024
14025         * BufferView_pimpl.h: change type of Position::par_pos to
14026         LyXParagraph::size_type.
14027
14028 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14029
14030         * BufferView_pimpl.C (savePosition, restorePosition): Write
14031         messages to minibuffer.
14032
14033 2001-01-28  José Matos  <jamatos@fep.up.pt>
14034
14035         * buffer.C (makeDocBookFile): adds support for document language.
14036         A silly restriction on the name of LatexCommand types where removed.
14037         Added support for CDATA sections, allows to chars unescaped, used
14038         among others in code, to avoid escape < and >.
14039
14040 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14041
14042         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14043         saved positions instrad of a stack. Furthermore, a position is
14044         stored using paragraph id/paragraph position.
14045
14046         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14047         Remove LFUN_REF_BACK.
14048
14049 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14050
14051         * converter.C (dvipdfm_options): New method.
14052
14053 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14054
14055         * vspace.C (isValidLength): Fix for empty input string.
14056
14057 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14058
14059         * LyXAction.C (init): change description of LFUN_FIGURE to
14060         "Insert Graphics"
14061
14062 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14063
14064         * LaTeX.C: add using directive
14065
14066 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14067
14068         * MenuBackend.C (expand): Fix the sorting of the formats.
14069
14070 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14071
14072         * lyx_main.C: tiny error message fix
14073
14074 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14075
14076         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14077         calling fl_initialize(). This fixes the problem with ',' as
14078         decimal separator in text files.
14079
14080 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14081
14082         * trans.C (process): Fix the keymap bug.
14083
14084 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14085
14086         * LaTeX.C (scanAuxFiles): New method. Provides support for
14087         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14088         (scanLogFile) Scan for "run BibTeX" messages.
14089
14090         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14091         OT1 font encoding. Also, load the aecompl package if the ae
14092         package is loaded.
14093
14094         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14095
14096 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14097
14098         * texrow.C (increasePos): turn two error messages into debug
14099         messages.
14100
14101 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14102
14103         * LaTeX.C (scanAux): Handle the \@input macro.
14104         (runBibTeX): Use scanAux().
14105
14106         * language.C (latex_options_): New field.
14107
14108         * LaTeXFeatures.C (getMacros): Add language macros.
14109
14110         * buffer.C (makeLaTeXFile): Small fix.
14111
14112 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14113
14114         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14115
14116         * text2.C: add a using directive.
14117
14118 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14119
14120         * BufferView2.C:
14121         * lyx_gui_misc.h:
14122         * lyxfr1.C:
14123         * lyxfunc.C: kill LyXBell.
14124
14125 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14126
14127         * text.C (IsBoundary): Remove the error message
14128
14129         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14130
14131         * lyxrc.C (setDefaults): Correct initialization value for
14132         font_norm_type.
14133
14134 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14135
14136         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14137         gotoError().
14138
14139         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14140         and GotoNextNote().
14141
14142         * src/LyXAction.C: Added reference-next.
14143
14144         * text.C (InsertChar): Use contains instead of strchr.
14145
14146         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14147
14148 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14149
14150         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14151         alignment commands (when needed).
14152
14153         * text.C (InsertChar): Add ':' to number separator chars.