]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
f67591c2f4cc72a1f7c3c30018c3f33eaaaae432
[lyx.git] / src / ChangeLog
1 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2
3         * text3.C (dispatch): make possible to extend a word/row selection
4         with the mouse
5
6 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
7
8         * lyxtext.h: x0_,y0_ -> xo_,yo_ 
9         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
10         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
11         * rowpainter.C (paintRows): paint full paragraphs
12
13 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
14
15         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
16         screen coordinates)
17
18 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
19
20         * lyxtext.h: add x0_, y0_
21         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
22         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
23
24 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
25
26         * text2.C (setCursorIntern): move the x_target update here *
27         * text3.C: change some bv() to true/false in calls to
28         cursorUp/Down/Right/Left
29         * cursor.C: use helper function.
30
31 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
32
33         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
34         * paragraph_funcs.[Ch]: correct comment
35         * rowpainter.C: do not paint selections away from bv->cursor()
36         Fix a long standing selection painting bug.
37         * text3.C: generalize mouse-selection code to LyXTexts other that
38         top one
39         * textcursor.C: do not use y coords if we can use par offsets
40
41 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
42
43         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
44         cursor position after e.g. inset insert)
45
46 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
47
48         * lyxfind.C (replace): adjust to locking removal + some
49         code simplification
50
51 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
52
53         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
54         of the path
55
56 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
57
58         * lyxlayout.[Ch]: 
59         * output_docbook.C: XML sanitation: new layout 
60         parameters InnerTag and CommandDepth
61
62 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
63
64         * BufferView_pimpl.C:
65         * factory.C:
66         * text3.C: Fix the insertion and modification of button-style
67         insets
68
69 2003-11-13  André Pönitz  <poenitz@gmx.net>
70
71         * InsetList.[Ch]: remove deleteLyXText
72
73         * paragraph.[Ch]: cache beginOfBody position
74
75         * Bidi.C:
76         * text.C:
77         * text2.C:
78         * text3.C: remove superfluous update() calls
79
80         * vspace.C: cleanup
81
82 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
83
84         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
85         * BufferView.C (fitLockedInsetCursor): remove
86         * cursor.[Ch] (getDim): add
87         * text.C (getRowNearY): add faster version
88         * text3.C: remove some update calls
89
90 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
91
92         * LaTeXFeatures.C:
93         * LyXAction.C:
94         * MenuBackend.C:
95         * MenuBackend.h:
96         * dispatchresult.h:
97         * factory.C:
98         * lfuns.h:
99         * lyxfunc.C:
100         * lyxtextclass.C:
101         * lyxtextclass.h:
102         * text3.C: The Character Style /XML short element patch.
103
104 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
105
106         * text3.C:
107         * factory.C: Small step to solving 'unable to insert some insets'
108         problem
109
110 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
111
112         * cursor.[Ch] (updatePos): new function for updating the y
113         position of the tip inset
114         * bufferview_funcs.C (put_selection_at): 
115         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
116
117 2003-11-11  André Pönitz  <poenitz@gmx.net>
118
119         * text.C: remove big comment on invalid Paragraph pointers as it is
120         not valid anymore
121
122 2003-11-11  André Pönitz  <poenitz@gmx.net>
123
124         * text_funcs.[Ch]: merge with ...
125
126         * text.C: ... this
127
128         * lyxtext.h:
129         * text2.C:
130         * text3.C: adjust
131
132         * Makefile.am: remove text_funcs.[Ch]
133
134 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
135
136         * cursor.C (getPos): return absolute cached y coord
137
138         * BufferView_pimpl.C (fitCursor): new simplistic code
139         (workAreaDispatch): add a fitCursor call
140
141 2003-11-10  André Pönitz  <poenitz@gmx.net>
142
143         * BufferView.[Ch]:
144         * BufferView_pimpl.[Ch]: merge update() and updateInset()
145
146 2003-11-10  André Pönitz  <poenitz@gmx.net>
147
148         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
149         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
150         indicate that the cursor needs to leave an inset
151
152         * lyxtext.h: remove inset locking
153
154         * cursor.[Ch]: re-implement functionality provided by inset locking
155
156         * BufferView.[Ch]:
157         * BufferView_pimpl.[Ch]:
158         * LyXAction.C:
159         * bufferview_funcs.[Ch]:
160         * factory.C:
161         * funcrequest.[Ch]:
162         * iterators.C:
163         * lyx_cb.C:
164         * lyxfind.C:
165         * lyxfunc.C:
166         * text.C:
167         * text2.C:
168         * text3.C:
169         * undo.C: adjust
170
171 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
172
173         * PosIterator.[Ch]: replace the stack with a vector, add inset 
174         accesor
175         * iterators.[C]: adjust
176
177 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
178
179         * lyxfind.C (replaceAll): mark the buffer dirty if something was
180         replaced
181         * paragraph_funcs.C (readParToken): put the correct id in the
182         error item, not the id of the top paragraph
183
184 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
185
186         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
187         * bufferview_funcs.C (put_selection_at): use the above
188
189 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
190
191         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
192
193 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
194
195         * output_linuxdoc.h: 
196         * output_plaintext.h: 
197         * output.h: 
198         * output_docbook.h: add #include statements
199
200 2003-11-05  José Matos  <jamatos@lyx.org>
201
202         * output_docbook.[Ch]:
203         * output_latex.[Ch]:
204         * output_linuxdoc.[Ch]:
205         * output_plaintext.[Ch]: New files for output formats.
206         * output.[Ch]: New file for helper functions.
207
208         * buffer.[Ch]:
209         * paragraph_funcs.[Ch]: output functions moved to new files.
210
211         * outputparams.h: rename of latexrunparams.h
212
213         * LaTeX.[Ch]:
214         * buffer.[Ch]:
215         * bufferlist.[Ch]:
216         * converter.[Ch]:
217         * exporter.C:
218         * paragraph.[Ch]:
219         * paragraph_funcs.[Ch]:
220         * paragraph_pimpl.[Ch]:
221         * tabular.[Ch]: rename ascii to plaintext
222         and LatexRunParams to OutputParams.
223         
224 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
225
226         * iterators.[Ch] (text): require bv argument
227         * undo.C (recordUndo): 
228         * lyxfunc.C (dispatch): 
229         * bufferview_funcs.C (put_selection_at): adjust
230
231 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
232
233         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
234
235 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
236
237         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
238         nestings
239
240 2003-11-04  André Pönitz  <poenitz@gmx.net>
241
242         * cursor.[Ch]: restructure
243
244         * BufferView.[Ch]:
245         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
246
247         * iterators.[Ch] (asCursor): remove
248
249         * lfuns.h: remove LFUN_INSET_EDIT
250
251         * lyxfunc.C:
252         * tabular.C:
253         * text.C:
254         * text2.C:
255         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
256
257 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
258
259         * lyxfind.[Ch]: complete overhaul
260         * BufferView_pimpl.C:
261         * lyxfunc.C: adjust
262         * paragraph.[Ch] (insert): add
263
264 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
265
266         * BufferView.[Ch]:
267         * lyxtext.h:
268         * text.C: remove dead spellcheck code
269         
270 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
271
272         * dispatchresult.h: add a val setter
273
274         * cursor.C (dispatch): use a tempvar for data_[i]
275
276 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
277
278         * PosIterator.[Ch]: compile fix
279
280 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
281
282         * text.C (cursorPar): deactivate the cursor cache
283
284 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
285
286         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
287
288 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
289
290         * text3.C (dispatch): adjust for new DisptchResult semantics.
291
292         * lyxfunc.C (dispatch): handle update when return from
293         Cursor::dispatch, adjust for new DispatchResult semantics.
294
295         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
296         DispatchResult(true) mean to not update. Add class functions for
297         setting dispatched and update, as well as reading.
298
299         * cursor.C (dispatch): don't handle update here
300
301 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
302
303         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
304         * trans_mgr.C: adjust
305
306         * paragraph_funcs.C (readParToken): exception safety
307
308         * lyxvc.h: store the vcs pointer in a scoped_ptr
309         * lyxvc.C: adjust
310
311         * lyxsocket.C (serverCallback): exception safety
312
313         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
314
315         * ispell.C (clone): make it return a auto_ptr
316
317         * factory.C (createInset): exception safety
318         (readInset): exception safety
319
320         * bufferlist.C (newBuffer): exception safety
321
322         * Thesaurus.C (Thesaurus): use initialization for aik_
323
324         * MenuBackend.C (expandToc): exception safety.
325
326 2003-11-03  André Pönitz  <poenitz@gmx.net>
327
328         * buffer.C:
329         * buffer.h:
330         * bufferview_funcs.C: remove getInsetFromId()
331
332         * lyxcursor.[Ch]:
333         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
334
335         * lyxfunc.C:
336         * text2.C:
337         * text3.C: adjust
338
339 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
340
341         * PosIterator.C (distance, advance): new
342         * bufferview_funcs.[Ch] (put_selection_at): new
343         * iterators.[Ch] (lockPath): new
344
345 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
346
347         * iterators.[Ch] (asPosIterator): added
348         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
349         * PosIterator.[Ch]: added
350
351 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
352
353         * text3.C:
354         * lyxfunc.C:
355         * cursor.C (dispatch):
356         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
357
358         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
359         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
360         contructor, add a class function dispatched. Remove operator>=
361
362 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
363
364         * debug.C: only use the default constructor for debugstream
365         (lyxerr) here.
366
367         * main.C (main): include debug.h and setup the lyxerr streambuf
368         here.
369
370 2003-10-31  José Matos  <jamatos@lyx.org>
371
372         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
373
374         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
375         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
376         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
377         * paragraph_pimpl.C (simpleTeXSpecialC):
378         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
379         add LatexRunParams argument.
380
381         * exporter.C (Export): change call accordingly.
382
383         * latexrunparams.h: add new member to take care of the other backends.
384 2003-10-30  José Matos  <jamatos@lyx.org>
385
386         * buffer.C (makeLinuxDocFile, makeDocBookFile):
387         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
388         factorise code for paragraph output.
389         * buffer.[Ch]:
390         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
391         move functions.
392
393 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
394
395         * text3.C (dispatch):
396         * lyxfunc.C (dispatch):
397         * cursor.C (dispatch):
398         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
399
400         * dispatchresult.h: make the dispatch_result_t ctor explicit
401
402 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
403
404         * sgml.[Ch]:
405         * buffer.C: small refactoring of docbook stuff
406
407 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
408
409         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
410         meaning.
411
412 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
413
414         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
415         operator dispatch_result_t, and operators for == != and >=
416
417         * cursor.C (dispatch): adjust for operator dispatch_result_t
418         removal. comment out call to update
419
420         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
421
422 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
423
424         * text3.C:
425         * text2.C:
426         * text.C:
427         * lyxtext.h:
428         * lyxfunc.C:
429         * cursor.C:
430         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
431         (dispatch):
432
433         * dispatchresult.h: new file, DispatchResult broken out of
434         insets/insetbase.h
435
436         * Makefile.am (lyx_SOURCES): add dispatchresult.h
437
438 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
439
440         * text.C (rowBreakPoint): put a hack inside #if 0
441
442 2003-10-28  André Pönitz  <poenitz@gmx.net>
443
444         * lyxtext.h:
445         * metricsinfo.C:
446         * paragraph_funcs.C:
447         * rowpainter.C:
448         * text.C:
449         * text2.C: general cleanup (lots of small stuff)
450
451 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
452
453         * text2.C (cursorEnd): simple fix to the "end key goes to one
454         before the end on last row" bug
455
456 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
457
458         * text.C (backspace): fix the "zombie characters"
459
460 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
461
462         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
463
464 2003-10-27  André Pönitz  <poenitz@gmx.net>
465
466         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
467
468         * factory.C: handle new InsetPagebreak, InsetLine
469
470         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
471         and move handling into new InsetPagebreak, InsetLine
472
473         * BufferView_pimpl.C:
474         * LyXAction.C:
475         * ParagraphParameters.C:
476         * ParameterStruct.h:
477         * lyxfunc.C:
478         * lyxtext.h:
479         * paragraph.C:
480         * paragraph.h:
481         * paragraph_funcs.C:
482         * paragraph_pimpl.C:
483         * rowpainter.C:
484         * text.C:
485         * text2.C:
486         * text3.C: adjust
487
488 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
489
490         * text.C:
491         * lyxrow_funcs.[Ch]:
492         * Bidi.C:
493         * paragraph.C:
494         * lyxtext.h:
495         * rowpainter.C:
496         * text2.C:
497         * text3.C: remove lastPos uses in favour of Row::endpos
498
499 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
500
501         * undo.C (performUndoOrRedo): fix two crashes by setting a
502         cursor by hand and reordering some calls. Use bv->lockInset instead
503         of inset->edit because the latter loses cursor information
504
505 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
506
507         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
508         by Martin
509         (rowBreakPoint): fix width. change point to point + 1.
510         Add a missing check.
511
512 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
513
514         * MenuBackend.C:
515         * lyxfunc.C: fix (at least partly) the problems
516         with the Nav menu and headers inside branch insets
517         reported by Kayvan
518
519 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
520
521         * paragraph.C (getChar): add strong asserts
522
523         * lyxrow_funcs.C (lastPos): remove hideous hack
524
525         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
526         (fill): adjust to that (avoid an infinite loop)
527
528 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
529
530         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
531
532 2003-10-23  André Pönitz  <poenitz@gmx.net>
533
534         * RowList_fwd.h: change list<> to vector<> to gain speed
535         after suggestion from Alfredo
536
537 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
538
539         * lyxtext.h: move the bidi stuff from here...
540         * text.C: and here
541         * text2.C: and here
542         * Bidi.[Ch]: ... to here
543
544 2003-10-23  André Pönitz  <poenitz@gmx.net>
545
546         * lyxtext.h:
547         * text.C (isLastRow, isFirstRow): new functions
548
549         * paragraph.h: new width cache member
550
551         * rowpainter.C: replace RowList::iterator with Row & where possible
552
553         * lyxfunc.C: replace several view()->text with a single call
554
555         * toc.C: fix 'unused' warning
556
557 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
558
559         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
560         when woring with stream::pos_type
561         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
562
563 2003-10-22  André Pönitz  <poenitz@gmx.net>
564
565         * lyxtext.h:
566         * text.C: use Row & instead of RowList::iterator
567
568         * lyxrow.h: rename end() to endpos()
569
570         * rowpainter.C:
571         * text.C:
572         * text2.C: adjust
573
574 2003-10-22  Angus Leeming  <leeming@lyx.org>
575
576         * buffer.[Ch] (fully_loaded): new member function, returning true
577         only when the file has been loaded fully.
578         Used to prevent the premature generation of previews and by the
579         citation inset to prevent computation of the natbib-style label.
580
581         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
582         templates are all set up.
583
584         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
585
586 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
587
588         * text.C: fixed an "oops" in the "is a bit silly"
589         bug fix
590
591 2003-10-21  André Pönitz  <poenitz@gmx.net>
592
593         * FuncStatus.[Ch]: small stuff, whitespace
594
595         * lyxfont.[Ch]: operator<<() for debug reasons
596
597         * lyxfunc.C:
598         * lyxrow_funcs.C:
599         * lyxtext.h: whitespace, spelling
600
601         * paragraph.C: naming of variables
602
603         * text.C:
604         * text2.C: small stuff
605
606
607 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
608
609         * text.C: (1) finish off the inset display() work;
610         (2) fix the "is a bit silly" bug (accessing char
611         past end of par).
612
613 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
614
615         * text.C: re-introduce display() for insets, fixing the
616         various bugs (stretch of line above, math inset
617         positioning, ...)
618
619 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
620
621         * text.C (rightMargin): remove spurious semicolon
622
623         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
624         1415)
625
626 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
627
628         * text3.C: fix one crash due to wrong cursor def
629
630 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
631
632         * vc-backend.C (scanMaster): make the regex static
633
634         * LaTeX.C (scanAuxFile): make the regexs static
635
636         * text3.C (doInsertInset, dispatch, dispatch):
637         * text2.C (cursorUp, cursorDown):
638         * text.C (selectNextWordToSpellcheck):
639         * BufferView_pimpl.C (dispatch):
640         * lyxfunc.C (dispatch):  localDispatch -> dispatch
641
642 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
643
644         * lyxsocket.C: include <cerrno>
645
646 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
647
648         * lyxfunc.C (dispatch): remove textcache stuff
649
650         * bufferlist.C (release): remove textcache stuff
651         (closeAll): ditto
652
653         * TextCache.C: delete file
654         * TextCache.h: delete file
655
656         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
657
658         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
659         delete of the bv_->text.
660         (resizeCurrentBuffer): remove texcache stuff
661         (workAreaResize): ditto
662
663 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
664
665         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
666         action.
667
668 2003-10-16  André Pönitz  <poenitz@gmx.net>
669
670         * lyxrow.[Ch]:
671         * paragraph.h:
672         * rowpainter.C:
673         * text.C:
674         * text2.C:
675         * text3.C: speed up by storing y positions per paragraph plus per-row
676         offset instead of having a 'full' y position in the row.
677
678 2003-10-15  André Pönitz  <poenitz@gmx.net>
679
680         * iterators.[Ch]:
681         * iterators.[Ch]:
682         * undo.[Ch]: make undo aware of inner insets
683
684 2003-10-14  Angus Leeming  <leeming@lyx.org>
685
686         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
687         static member functions LyX::ref() and LyX::cref.
688         (lastfiles): new accessor functions for the new lastfiles_ member var.
689         (addLyXView, views_): add a new LyXView to the list of views_.
690         (updateInset): loop over all LyXViews to call their own updateInset
691         member function, returning a pointer to the Buffer owning the inset.
692
693         * BufferView_pimpl.C (loadLyXFile):
694         * MenuBackend.C (expandLastfiles):
695         * bufferlist.C (MenuWrite, QuitLyX):
696         lastfiles is no longer a global variable.
697         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
698
699         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
700         static function. Access through LyX::cref().emergencyCleanup().
701
702 2003-10-14  André Pönitz  <poenitz@gmx.net>
703
704         * iterators.[Ch]: new direct access to innermost LyXText and Inset
705
706         * undo.[Ch]: restoring part of 'undo in insets'
707
708         * Makefile.am:
709         * undo_funcs.[Ch]: merge with undo.[Ch]
710
711         * tabular.C: small cleansing stuff
712
713 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
714
715         * paragraph_funcs.C (readParToken): report unknown insets as error
716         boxes. Use the outer paragraph as location (also for unknown
717         tokens).
718
719         * factory.C (readInset): do not abort on reading an unknown inset.
720         Eat it and return 0.
721
722 2003-10-13  Angus Leeming  <leeming@lyx.org>
723
724         * lyx_main.C (LyX): remove call to setDisplayTranslator().
725
726         * lyxrc.C: displayTranslator is now a function,
727         declared in GraphicsTypes.h.
728
729 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
730
731         * format.C: new placeholder $$a to pass the socket address.
732
733         * bufferlist.[Ch]: new function getBufferFromTmp.
734
735         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
736           files in the temporary dir.
737
738 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
739
740         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
741
742         * Makefile.am: add lyxsocket.[Ch].
743
744         * lyx_main.C (error_handler): handle SIGPIPE.
745
746 2003-10-13  André Pönitz  <poenitz@gmx.net>
747
748         * BufferView_pimpl.C:
749         * lyxtext.h:
750         * text.C:
751         * text2.C:
752         * text3.C:
753         * undo_funcs.[Ch]: use paroffset_type instead of
754           ParagraphList::iterators to prevent multiple conversion
755           (and get a more robust interface)
756
757 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
758
759         * lyxfunc.C (dispatch): RESULT -> dispatch_result
760         * lyxtext.h: ditto
761         * text3.C (dispatch): ditto
762
763 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
764
765         * LaTeX.C (handleFoundFile): move the static to smaller scope,
766         move the onlyfile, use onlyfile instead of foundfile in a couple
767         of places.
768
769         * DepTable.C (update): flush the error stream a bit more
770
771 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
772
773         * lyxserver.C (callback): adjust
774
775         * lyxfunc.C (getStatus): add a missing brace in commented code
776         (ensureBufferClean): reindent
777         (dispatch): delete version taking a string
778
779 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
780
781         * LaTeX.C (deplog): move found file handlig from here...
782         (handleFoundFile): .. to new function here.
783         (deplog): make sure to discover several files mentioned on the
784         same log line.
785
786 2003-10-10  André Pönitz  <poenitz@gmx.net>
787
788         * lyxfunc.C:
789         * lyxtext.h:
790         * tabular.C:
791         * text.C:
792         * text2.C:
793         * text3.C: fix some of the tabular crashes
794
795 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
796
797         * MenuBackend.C (binding): put debug message into Debug::KBMAP
798
799         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
800
801 2003-10-09  André Pönitz  <poenitz@gmx.net>
802
803         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
804
805         * BufferView.C:
806         * BufferView_pimpl.C:
807         * bufferview_funcs.C:
808         * lyx_cb.C:
809         * lyxcursor.C:
810         * lyxfind.C:
811         * lyxfunc.C:
812         * lyxtext.h:
813         * text.C:
814         * text2.C:
815         * text3.C:
816         * text_funcs.[Ch]:
817         * textcursor.[Ch]:
818         * undo_funcs.C: adjust
819
820 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
821
822         * text2.C (incrementItemDepth): new function, use a backtracking
823         algorithm to discover the correct item depth.
824         (resetEnumCounterIfNeeded): new function, use a backtracking
825         algorithm to discover if counter reset is needed.
826         (setCounter): use them. Simplify a bit. Add different labels for
827         different item depths for itemize.
828
829         * paragraph.C (Paragraph): remove initialization of enumdepth
830         (operator=): ditto
831
832         * paragraph.h: get rid of enumdepth, and use itemdepth both for
833         enumerate and itemize. Change the type of itemdepth to signed char.
834
835 2003-10-08  André Pönitz  <poenitz@gmx.net>
836
837         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
838           thing assignable.
839         * text.C:
840         * text2.C: adjust
841
842         * tabular.[Ch]: fix crash after 'row-insert'
843
844 2003-10-08  Angus Leeming  <leeming@lyx.org>
845
846         Fix doxygen warnings.
847
848         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
849         Remove CutAndPaste:: prefix from header file declaration.
850
851         * LColor.h (fill): remove LColor:: prefix from declaration.
852
853         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
854         use lyx::depth_type rather than Paragraph::depth_type so that
855         header file and .C file match.
856
857         * converter.h (intToFormat): remove Converters:: prefix from declaration.
858
859         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
860         * aspell.C: \file aspell_local.C -> \file aspell.C
861         * gettext.C: \file gettext.C -> \file src/gettext.C
862         * gettext.h: \file gettext.h -> \file src/gettext.h
863         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
864         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
865         * text.C: \file text.C -> \file src/text.C
866
867         * toc.C: move comment so that doxygen is not confused.
868
869 2003-10-07  Angus Leeming  <leeming@lyx.org>
870
871         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
872
873 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
874
875         * aspell.C:
876         * aspell_local.h: add forgotten std::string's.
877
878 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
879
880         * LaTeXFeatures.C:
881         * LyXAction.C:
882         * factory.C:
883         * lfuns.h:
884         * lyxfunc.C:
885         * text3.C: The Box patch. Fancybox support, minipage, parbox
886
887 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
888
889         * CutAndPaste.h:
890         * DepTable.h:
891         * FloatList.h:
892         * LaTeXFeatures.h:
893         * ParagraphParameters.h:
894         * TextCache.h:
895         * Thesaurus.h:
896         * bufferlist.h:
897         * exporter.h:
898         * importer.h:
899         * lastfiles.h:
900         * lyxfind.h:
901         * lyxfont.h:
902         * lyxlex.h:
903         * lyxtextclasslist.h:
904         * messages.h:
905         * paragraph.h:
906         * paragraph_pimpl.C:
907         * textcursor.h: add <string> and other small fixes to make Lars'
908         std::string patch compile with STLport.
909
910 2003-10-06  Angus Leeming  <leeming@lyx.org>
911
912         * LColor.h: Add missing #include <string>.
913
914 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
915
916         * All most all file in all subdirs: Make <string> be the prefered
917         way of getting to std::string, add using declarations.
918
919 2003-10-06  André Pönitz  <poenitz@gmx.net>
920
921         * metricsinfo.C: initialize LyXFont before changing attribute.
922         (fixes the 'math in \emph is upright' bug)
923
924 2003-10-06  André Pönitz  <poenitz@gmx.net>
925
926         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
927
928 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
929
930         * graph.C:
931         * paragraph_pimpl.C: Small fixes to build using STLport
932
933 2003-10-02  André Pönitz  <poenitz@gmx.net>
934
935         * lyxfunc.C:
936         * text3.C: move handling of LFUN_DEPTH *; fix #1360
937
938 2003-10-01  André Pönitz  <poenitz@gmx.net>
939
940         * factory.C: assert early
941
942 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
943
944         * lyx_main.C: remove the global debug object
945
946         * debug.h: adjust for new debugstream
947
948         * debug.C: adjust for new debugstream and keep the global debug
949         object here.
950
951 2003-09-22  Angus Leeming  <leeming@lyx.org>
952
953         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
954         of g++ which otherwise complain that the scoped_ptr destructor can't delete
955         an incomplete class LyXFont.
956
957 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
958
959         * factory.C: bug fix in branches
960
961 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
962
963         * lyxfunc.C (processKeySym): adjust
964         (dispatch): adjust
965         (dispatch): change arg name from ev to func, adjust
966         (sendDispatchMessage): ditto
967
968         * lyx_main.C (defaultKeyBindings): adjust keybindings
969         (deadKeyBindings): ditto
970
971         * kbsequence.C (addkey): return a FuncRequest
972
973         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
974
975         * kbmap.C (bind): take a FuncRequest as arg, adjust
976         (read): adjust
977         (lookup): adjust
978         (defkey): change to take a FuncRequest as arg, adjust
979         (findbinding): take a FuncRequest as arg, adjust.
980
981         * funcrequest.h (operator=): added
982
983         * funcrequest.C (FuncRequest): default kb_action changed from
984         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
985
986         * buffer.C (dispatch): simplify
987         (dispatch): adjust to take a FuncRequest as arg, adjust
988
989         * boost.C (assertion_failed): change assertion message slightly
990
991         * ToolbarBackend.C (read): simplify
992
993         * MenuBackend.C (binding): adjust call to findbinding, add a
994         message if no binding is found.
995         (read): simplify
996         (expandToc): correct by adding a empty FuncRequest
997
998         * LyXAction.C: include <boost/assert.hpp>
999         (isPseudoAction): delete function
1000         (LookupFunc): change name to...
1001         (lookupFunc): this. change return type to FuncRequest.
1002         (getActionName): take kb_action as arg, simplify
1003         (funcHasFlag): add an assert, simplify.
1004
1005 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1006
1007         * toc.C (action): return a FuncRequest, simplify
1008
1009         * lyxfunc.C (processKeySym): adjust
1010         (getStatus): delete version that takes an int.
1011         (getStatus): adjust
1012         (dispatch): delete version that takes action as int
1013         (dispatch): adjust
1014         (sendDispatchMessage): simplify and adjust
1015
1016         * funcrequest.C (getArg): take unsigned int as arg
1017
1018         * ToolbarBackend.C (read): adjust
1019         (add): delete version that takes func as a string.
1020         (getIton): take a FuncRequest as arg
1021
1022         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1023         action.
1024
1025         * MenuBackend.C (MenuItem): add a new construct that only takes a
1026         Kind, simplify the constructor use for submenus.
1027         (add): adjust
1028         (expandLastfiles): adjust
1029         (expandDocuments): adjust
1030         (expandFormats): adjust
1031         (expandFloatListInsert): adjust
1032         (expandFloatInsert): adjust
1033         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1034
1035         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1036         Remove class variables lyx_pseudo_map and lyx_arg_map
1037
1038         * LyXAction.C (searchActionArg): delete function
1039         (getPseudoAction): delete function
1040         (retrieveActionArg): delete function
1041         (LookupFunc): make it return kb_action, simplify.
1042         (getActionName): simplify
1043
1044         * factory.C (createInset): fix new bug
1045
1046 2003-09-19  Angus Leeming  <leeming@lyx.org>
1047
1048         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1049         masterFilename_ parameter in the include inset.
1050
1051         * factory.C (createInset): changes due to the changes to InsetInclude.
1052
1053 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1054
1055         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1056
1057 2003-09-18  Angus Leeming  <leeming@lyx.org>
1058
1059         * buffer.C:
1060         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1061         Inset::fillWithBibKeys.
1062         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1063
1064 2003-09-18  Angus Leeming  <leeming@lyx.org>
1065
1066         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1067         variables.
1068         (ctor): pass and store a 'Buffer const &'
1069         (buffer): new member function.
1070
1071         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1072         '*this' to the LaTeXFeatures ctor.
1073
1074 2003-09-18  Angus Leeming  <leeming@lyx.org>
1075
1076         * LColor.h:
1077         * lyxfont.C:
1078         * lyxfont.h:
1079         * lyxtext.h:
1080         * text.C: rename EnumLColor as LColor_color.
1081
1082 2003-09-18  Angus Leeming  <leeming@lyx.org>
1083
1084         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1085         remove #include "insets/insetbase.h" from cursor.h.
1086
1087 2003-09-18  Angus Leeming  <leeming@lyx.org>
1088
1089         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1090         InsetOld_code to remove #include "inset.h".
1091
1092         * iterators.C: add #include "insets/inset.h"
1093
1094 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1095
1096         * BufferView.C: remove more locking stuff that apparently doesn't
1097         do anything sensible.
1098
1099 2003-09-16  André Pönitz  <poenitz@gmx.net>
1100
1101         * paragraph.[Ch]:
1102         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1103           performance boost.
1104
1105 2003-09-16  Angus Leeming  <leeming@lyx.org>
1106
1107         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1108
1109         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1110         arg/return type.
1111
1112         * paragraph.h: remove #include "lyxfont.h". Forward declare
1113         LyXFont_size.
1114
1115 2003-09-16  Angus Leeming  <leeming@lyx.org>
1116
1117         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1118         of support/textutils.h.
1119         (isWord): move the contents of support/textutils.h's IsWordChar here.
1120
1121         * buffer.C:
1122         * lyxfind.C:
1123         * rowpainter.C:
1124         * text.C:
1125         * text2.C: add #include "paragraph.h".
1126
1127         * rowpainter.C:
1128         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1129
1130 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1131
1132         * main.C:
1133         * lyx_main.C:
1134         * lyx_cb.C:
1135         * buffer.C:
1136         * LaTeX.C: use namespace alias for lyx::support::os
1137
1138 2003-09-16  Angus Leeming  <leeming@lyx.org>
1139
1140         * bufferparams.C:
1141         * bufferview_funcs.C:
1142         * factory.C:
1143         * lyxfunc.C:
1144         * paragraph_pimpl.C:
1145         * rowpainter.C:
1146         * text.C: add #include "LColor.h".
1147
1148 2003-09-16  Angus Leeming  <leeming@lyx.org>
1149
1150         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1151         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1152         return LyXFont &.
1153         Store the FontBits::color variable as an int rather than as an
1154         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1155         file.
1156
1157         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1158         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1159         string calls together.
1160
1161         * lyxrc.C: add #include "LColor.h".
1162
1163 2003-09-15  Angus Leeming  <leeming@lyx.org>
1164
1165         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1166         a cow_ptr.
1167
1168 2003-09-15  Angus Leeming  <leeming@lyx.org>
1169
1170         * LColor.h: add an EnumLColor wrapper for LColor::color.
1171
1172         * lyxfont.[Ch] (color, setColor, realColor):
1173         * lyxtext.h, text.C (backgroundColor):
1174         pass EnumLColor args to/from the functions, rather than LColor::color
1175         ones.
1176
1177         * lyxfont.h:
1178         * lyxtext.h: forward declare EnumLColor.
1179
1180         * lyx_main.C: add #include "LColor.h".
1181
1182 2003-09-15  Angus Leeming  <leeming@lyx.org>
1183
1184         * .cvsignore: add lyx-gtk.
1185
1186 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1187
1188         * Chktex.C
1189         * LaTeX.C
1190         * LaTeXFeatures.C
1191         * ParagraphParameters.C
1192         * Spacing.C
1193         * buffer.C
1194         * bufferparams.C
1195         * bufferview_funcs.C
1196         * chset.C
1197         * counters.C
1198         * funcrequest.C
1199         * lyxfont.C
1200         * lyxgluelength.C
1201         * lyxlength.C
1202         * paragraph.C
1203         * paragraph_funcs.C
1204         * text3.C
1205         * vc-backend.C: remove usage of STRCONV
1206
1207 2003-09-15  Angus Leeming  <leeming@lyx.org>
1208
1209         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1210         explicitly define the color passed to the painter.
1211
1212 2003-09-15  Angus Leeming  <leeming@lyx.org>
1213
1214         * bufferparams.C (BufferParams): reorder member initializers to avoid
1215         compiler warning.
1216
1217 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1218
1219         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1220         * text.C (updateRowPositions): remove an unusual nop
1221
1222 2003-09-12  André Pönitz  <poenitz@gmx.net>
1223
1224         * BufferView_pimpl.C:
1225         * Bullet.C:
1226         * layout.h:
1227         * lyxfunc.C:
1228         * lyxlayout.[Ch]:
1229         * lyxtextclass.C:
1230         * rowpainter.C:
1231         * text.C:
1232         * text2.C:
1233         * Counters.[Ch]: finish the 'automatic counters' job
1234
1235 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1236
1237         * aspell.C: include <boost/assert.cpp> (compile fix)
1238
1239 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1240
1241         * boost.C (assertion_failed): use lyx::support::abort instead of
1242         assert.
1243
1244 2003-09-10  Angus Leeming  <leeming@lyx.org>
1245
1246         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1247         with their _fwd progeny.
1248
1249 2003-09-09  Angus Leeming  <leeming@lyx.org>
1250
1251         134 files throughtout the source tree: replace 'using namespace abc;'
1252         directives with the appropriate 'using abc::xyz;' declarations.
1253
1254 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1255
1256         * boost.C (emergencyCleanup): moved here from LAssert.c
1257         (assertion_failed): new function, called by BOOST_ASSERT
1258
1259         * several files: change Assert to BOOST_ASSERT
1260
1261 2003-09-09  Angus Leeming  <leeming@lyx.org>
1262
1263         * buffer.[Ch]: Add an Impl class and move Buffer's member
1264         variables into it. As a result move several header files out of
1265         buffer.h.
1266
1267         Add header files to lots of .C files all over the tree as a result.
1268
1269 2003-09-09  Angus Leeming  <leeming@lyx.org>
1270
1271         * buffer.[Ch]: make Buffer's member variables private. Add
1272         accessor functions.
1273
1274         Lots of changes all over the tree as a result.
1275
1276 2003-09-08  Angus Leeming  <leeming@lyx.org>
1277
1278         * graph.C: #include <config.h>.
1279
1280 2003-09-08  Angus Leeming  <leeming@lyx.org>
1281
1282         * BranchList.C:
1283         * BufferView.C:
1284         * BufferView_pimpl.C:
1285         * CutAndPaste.C:
1286         * DepTable.C:
1287         * LaTeX.C:
1288         * LaTeXFeatures.C:
1289         * LyXAction.C:
1290         * MenuBackend.C:
1291         * TextCache.C:
1292         * aspell.C:
1293         * buffer.C:
1294         * bufferlist.C:
1295         * changes.C:
1296         * chset.C:
1297         * converter.C:
1298         * counters.C:
1299         * debug.C:
1300         * graph.C:
1301         * ispell.C:
1302         * lyx_cb.C:
1303         * lyxfind.C:
1304         * lyxfunc.C:
1305         * lyxlex_pimpl.C:
1306         * lyxrc.C:
1307         * lyxrow.C:
1308         * paragraph.C:
1309         * rowpainter.C:
1310         * texrow.C:
1311         * text.C:
1312         * text2.C:
1313         * toc.C: remove redundant using directives.
1314
1315 2003-09-07  Angus Leeming  <leeming@lyx.org>
1316
1317         * LaTeXFeatures.h: remove #include "support/types.h".
1318         * ToolbarBackend.h: remove #include <algorithm>.
1319         * changes.h: remove #include <ctime>.
1320         * debug.h: remove #include <iosfwd>.
1321         * graph.h: remove #include "support/std_string.h".
1322         * lyx_main.h: remove #include <csignal>.
1323         * lyxlex_pimpl.h: remove #include <fstream>.
1324         * sgml.h: remove #include <algorithm>, <utility>.
1325         * toc.h: remove #include "support/std_ostream.h".
1326         Add #include <iosfwd>.
1327
1328 2003-09-07  Angus Leeming  <leeming@lyx.org>
1329
1330         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1331
1332         * converter.h: forward declare LatexRunParams.
1333         * encoding.h: remove #include "lyxrc.h".
1334         * lyxtext.h: remove #include "LColor.h".
1335         * lyxtextclass.h: remove #include "support/types.h".
1336         * trans.h: remove #include "tex-accent.h".
1337         * trans_mgr.h: remove #include "tex-accent.h".
1338         * insets/inset.h: remove #include "support/types.h", <vector>.
1339         * insets/insetcollapsable.h: remove #include "LColor.h".
1340         * insets/insetinclude.h: remove #include "dimension.h".
1341         * insets/insetlatexaccent.h: remove #include "dimension.h".
1342         * insets/insetoptarg.h:: remove #include "insettext.h".
1343         * insets/insettext.h: remove #include "dimension.h",
1344         <boost/shared_ptr.hpp>
1345
1346         * insets/renderers.h: add #include "dimension.h".
1347         * insets/updatableinset.h: add #include "support/types.h".
1348
1349         * many .C files: Associated changes.
1350
1351 2003-09-06  Angus Leeming  <leeming@lyx.org>
1352
1353         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1354         one, inside testInvariant.
1355
1356         * PrinterParams.C: new file.
1357         * PrinterParams.[Ch]: move the function bodies out of line.
1358
1359 2003-09-06  Angus Leeming  <leeming@lyx.org>
1360
1361         * ParagraphParameters.h: forward declare ParameterStruct rather than
1362         including its header file.
1363         (depth): moved out-of-line.
1364
1365 2003-09-06  Angus Leeming  <leeming@lyx.org>
1366
1367         * BufferView_pimpl.h:
1368         * kbmap.h:
1369         * kbsequence.h:
1370         * lyxfunc.h: forward declare LyXKeySym rather than
1371         #include "frontends/LyXKeySym.h".
1372
1373         * BufferView_pimpl.C:
1374         * kbmap.C:
1375         * kbsequence.C:
1376         * lyxfunc.C: associated changes.
1377
1378 2003-09-06  Angus Leeming  <leeming@lyx.org>
1379
1380         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1381         As a result, can remove the #include "insets/inset.h" from BufferView.h
1382
1383 2003-09-06  Angus Leeming  <leeming@lyx.org>
1384
1385         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1386         As a result, can remove the #include "insets/inset.h" from BufferView.h
1387
1388 2003-09-06  Angus Leeming  <leeming@lyx.org>
1389
1390         * buffer_funcs.C:
1391         * buffer.h:
1392         * bufferlist.C:
1393         * BufferView.C:
1394         * bufferview_funcs.C:
1395         * BufferView_pimpl.C:
1396         * CutAndPaste.C:
1397         * lyx_cb.C:
1398         * lyxfunc.C:
1399         * paragraph.h:
1400         * ParagraphParameters.C:
1401         * tabular.C:
1402         * text3.C:
1403         * toc.C:
1404         * undo_funcs.C:
1405         * frontends/controllers/ControlDocument.C:
1406         * insets/insetcaption.C: rearrange the #includes into some sort of
1407         coherent order.
1408
1409         * buffer.h: remove #includes ErrorList.h, undo.h
1410
1411 2003-09-06  Angus Leeming  <leeming@lyx.org>
1412
1413         * support/types.h: add a 'depth_type' typedef, used to store the
1414         nesting depth of a paragraph.
1415
1416         * paragraph.h:
1417         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1418         defining explicitly.
1419
1420         * buffer.h:
1421         * paragraph_funcs.h:
1422         * ParagraphParameters.h:
1423         * sgml.h: use lyx::depth_type rather than Paragraph or
1424         ParameterStruct's depth_type.
1425
1426         * buffer.h
1427         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1428
1429         * BufferView.C:
1430         * BufferView_pimpl.C:
1431         * CutAndPaste.C:
1432         * ParagraphParameters.C:
1433         * buffer_funcs.C:
1434         * bufferlist.C:
1435         * bufferview_funcs.C:
1436         * lyx_cb.C:
1437         * lyxfunc.C:
1438         * tabular.C:
1439         * text3.C:
1440         * toc.C:
1441         * undo_funcs.C:
1442         * frontends/LyXView.C:
1443         * frontends/controllers/ControlDocument.C:
1444         * frontends/controllers/ControlErrorList.C:
1445         * insets/insetbibitem.C:
1446         * insets/insetbranch.C:
1447         * insets/insetcaption.C:
1448         * insets/insetcollapsable.C:
1449         * insets/insetenv.C:
1450         * insets/insetert.C:
1451         * insets/insetfloat.C:
1452         * insets/insetfoot.C:
1453         * insets/insetfootlike.C:
1454         * insets/insetnewline.C:
1455         * insets/insetquotes.C:
1456         * insets/insettabular.C:
1457         * insets/insettext.C:
1458         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1459
1460         * frontends/controllers/ControlChanges.C: #include "changes.h".
1461
1462 2003-09-06  Angus Leeming  <leeming@lyx.org>
1463
1464         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1465         than #including paragraph.h.
1466
1467         * ParagraphList.h:
1468         * RowList.h: deleted. Superfluous.
1469
1470         * CutAndPaste.h:
1471         * iterators.h:
1472         * lyxcursor.h:
1473         * lyxtext.h:
1474         * text_funcs.h:
1475         * undo.h:
1476         * undo_funcs.h:
1477         * insets/inset.h:
1478         * insets/insettext.h: use ParagraphList_fwd.h rather than
1479         ParagraphList.h.
1480
1481         * paragraph.h: don't forward declare ParagraphList.
1482
1483         * buffer.h:
1484         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1485         rather than ParagraphList.h. paragraph.h is still needed for the
1486         Paragraph::depth_type parameters.
1487
1488         * textcursor.h: enable it to compile stand-alone in light of the
1489         above changes.
1490
1491         * bufferview_funcs.C:
1492         * iterators.C:
1493         * lyxfunc.C:
1494         * lyxrow_funcs.C:
1495         * paragraph.C:
1496         * rowpainter.C:
1497         * text.C:
1498         * text2.C:
1499         * text3.C:
1500         * text_funcs.C:
1501         * textcursor.C:
1502         * undo.C:
1503         * frontends/controllers/ControlParagraph.C:
1504         * frontends/controllers/ControlTabular.C:
1505         * insets/insetmarginal.C:
1506         * insets/insetminipage.C:
1507         * insets/insetnote.C:
1508         * insets/insetoptarg.C: add header files needed to compile again.
1509
1510 2003-09-06  Angus Leeming  <leeming@lyx.org>
1511
1512         * RowList_fwd.h: new file, forward-declaring Row rather than
1513         #including lyxrow.h.
1514
1515         * lyxrow_funcs.h:
1516         * lyxtext.h:
1517         * paragraph.h:
1518         * insets/insettext.h: use it instead of RowList.h
1519
1520         * bufferview_funcs.C:
1521         * lyxfunc.C:
1522         * lyxrow_funcs.C:
1523         * paragraph.C:
1524         * rowpainter.C:
1525         * text.C:
1526         * text2.C:
1527         * text3.C: #include "RowList.h".
1528
1529 2003-09-05  Angus Leeming  <leeming@lyx.org>
1530
1531         * factory.C (createInset):
1532         * vspace.C (c-tor): replace sscanf call with an istringstream.
1533         * ispell.C: re-add missing HP/UX headers.
1534         * lyxserver.C: re-add missing  os2 headers.
1535
1536 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1537
1538         * BranchList.C:
1539         * graph.C:
1540         * ispell.C:
1541         * lastfiles.C:
1542         * lyx_cb.C:
1543         * lyxserver.C:
1544         * texrow.C:
1545         * text3.C: re-add missing system headers, needed for 2.95.2.
1546
1547 2003-09-05  Angus Leeming  <leeming@lyx.org>
1548
1549         Changes most place everywhere due to the removal of using directives
1550         from support/std_sstream.h.
1551
1552 2003-09-05  Angus Leeming  <leeming@lyx.org>
1553
1554         Replace LString.h with support/std_string.h,
1555         Lsstream.h with support/std_sstream.h,
1556         support/LIstream.h with support/std_istream.h,
1557         support/LOstream.h with support/std_ostream.h.
1558
1559         Changes resulting throughout the tree.
1560
1561 2003-09-05  Angus Leeming  <leeming@lyx.org>
1562
1563         * sgml.h: ensure that the header file can be compiled stand-alone.
1564         * *.C: strip out redundant #includes. (320 in total.)
1565
1566 2003-09-04  Angus Leeming  <leeming@lyx.org>
1567
1568         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1569         here (from getPackages).
1570
1571         * debug.[Ch]: add a new EXTERNAL tag.
1572
1573 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1574
1575         * text2.C (cursorEnd): simplify
1576         (setCursor): adjust
1577         (getColumnNearX): adjust
1578
1579         * text.C (computeBidiTables): adjust
1580         (fill): adjust
1581
1582         * rowpainter.C (paintChars): adjust
1583         (paintSelection): adjust
1584         (paintChangeBar): adjust
1585         (paintText): adjust
1586
1587         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1588         lastPos instead.
1589         (numberOfSeparators): adjust
1590
1591 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1592
1593         * LyXAction.C:
1594         * box.[Ch]:
1595         * lfuns.h:
1596         * lyxfunc.C:
1597         * text3.C: Restricts the mouse click functionality
1598         of insets like bibtex, include, toc and floatlist to the visible
1599         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1600         up the dialogs. Cursor has to be in front of the inset (i.e.
1601         start of row) for this to function.
1602
1603 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1604
1605         * bufferview_funcs.C (currentState): output row information
1606
1607 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1608
1609         * bufferview_funcs.C (currentState): output paragraph position
1610
1611 2003-09-04  Angus Leeming  <leeming@lyx.org>
1612
1613         * FloatList.h: move out #include "Floating.h".
1614         * LaTeX.h: move out #include "DepTable.h".
1615         * LyXAction.h: move out #include "funcrequest.h".
1616         * buffer.h: move out #include "author.h", "iterators.h".
1617         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1618         * lyx_main.h: move out #include "errorlist.h".
1619         * lyxfunc.h: move out #include "FuncStatus.h".
1620         * lyxtext: move out #include "lyxcursor.h".
1621         * paragraph_pimpl.h: move out #include "counters.h".
1622
1623 2003-09-03  Angus Leeming  <leeming@lyx.org>
1624
1625         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1626         preamble_snippets list, enabling us to add snippets to the preamble
1627         only if the snippet was not there already.
1628
1629 2003-09-04  Angus Leeming  <leeming@lyx.org>
1630
1631         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1632
1633 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1634
1635         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1636         update
1637
1638 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1639
1640         * BranchList.C: point fix, earlier forgotten
1641
1642 2003-09-02  Angus Leeming  <leeming@lyx.org>
1643
1644         * box.C (contains): renamed from 'contained' after a fantastic
1645         amount of hot air.
1646
1647 2003-09-02  John Levon  <levon@movementarian.org>
1648
1649         * BufferView.C:
1650         * lyxcursor.h:
1651         * lyxcursor.C:
1652         * lyxfunc.C:
1653         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1654
1655 2003-09-02  John Levon  <levon@movementarian.org>
1656
1657         * text2.C: simplification of cursorEnd(), including partial
1658         fix for bug 1376
1659
1660 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1661
1662         * buffer.C (readFile): add a space
1663
1664 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1665
1666         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1667
1668 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1669
1670         * buffer.C (readFile): new function, take a filename and a
1671         ParagraphList::iterator
1672         (readFile): adjust
1673         (readFile): adjust, make it private. don't use setStream, make
1674         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1675         always contain the filename.
1676
1677         * BufferView.C (insertLyXFile): simplify and make it work for
1678         gzipped files.
1679
1680 2003-08-30  John Levon  <levon@movementarian.org>
1681
1682         * Makefile.am: fix dist (from Kayvan)
1683
1684 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1685
1686         * most files: change to use const Buffer refs
1687
1688 2003-08-27  André Pönitz  <poenitz@gmx.net>
1689
1690         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1691         on top of ownerPar().
1692
1693 2003-08-27  John Levon  <levon@movementarian.org>
1694
1695         * funcrequest.C: properly initialise POD members
1696
1697 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1698
1699         * lyxtext.h (top_y): move top_y from here
1700         * text.C:
1701         * text2.C:
1702         * text3.C:
1703         * BufferView.[Ch]:
1704         * BufferView_pimpl.[Ch]: to here
1705         * frontends/screen.C:
1706         * insets/insettabular.C:
1707         * insets/insettext.C: adjust
1708         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1709
1710 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1711
1712         * BufferView.[Ch]:
1713         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1714
1715 2003-08-26  André Pönitz  <poenitz@gmx.net>
1716
1717         * paragraph_func.[Ch] (outerPar): new function
1718
1719         * paragraph.C:
1720         * paragraph_funcs.C:
1721         * paragraph_funcs.h:
1722         * paragraph_pimpl.C:
1723         * text2.C: remove Inset::par_owner
1724
1725 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1726
1727         * lyxrow_funcs.C:
1728         * lyxtext.h:
1729         * text.C:
1730         * text2.C: eliminates the needFullRow/display() stuff
1731         altogether, putting the logic in metrics/draw in the insets.
1732
1733 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1734
1735         * text2.C (redoParagraphInternal, redoParagraphs):
1736         * text.C (redoParagraph): add a call to updateRowPositions at the
1737         end of each 'metrics-like' call. Remove all others.
1738         (getRow): remove the 'y-computing' version.
1739         (getRowNearY): do not compute nor return the real y. Solve the
1740         'y < 0' problem and simplify.
1741
1742 2003-08-22  Angus Leeming  <leeming@lyx.org>
1743
1744         * *.[Ch]: clean-up of licence and author blurbs.
1745         Also move config.h out of a few .h files and into a few .C files.
1746
1747 2003-08-22  André Pönitz  <poenitz@gmx.net>
1748
1749         * lyxrow.[Ch]: add x_ and *fill_ members
1750
1751         * lyxtext.h:
1752         * text.C:
1753         * rowpainter.C:
1754         * text2.C: adjust/remove prepareToPrint() calls
1755
1756 2003-08-22  André Pönitz  <poenitz@gmx.net>
1757
1758         * lyxrow.[Ch]: add  end_ member
1759
1760         * lyxrow_funcs.C: use LyXRow::end_
1761
1762         * lyxtext.h (singleWidth): add LyXFont parameter
1763
1764         * rowpainter.C:
1765         * text2.C: adjust LyXText::singleWidth() calls
1766
1767         * text.C (redoParagraph): simplify row breaking logic
1768
1769
1770 2003-08-19  André Pönitz  <poenitz@gmx.net>
1771
1772         * funcrequest.C: initialize button_ member
1773
1774         * text3.C:
1775         * rowpainter.[Ch]: interface consolidation
1776
1777 2003-08-18  André Pönitz  <poenitz@gmx.net>
1778
1779         * BufferView.C:
1780         * BufferView_pimpl.C:
1781         * lyxfind.C:
1782         * paragraph_funcs.C:
1783         * rowpainter.C:
1784         * text3.C: remove LyXScreen::draw() and fitCursor calls
1785
1786         * BranchList.h: remove spurious semicolons
1787
1788         * MenuBackend.C: fix branchlist related crash
1789
1790 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1791
1792         * BranchList.[Ch]:
1793         * InsetList.[Ch]:
1794         * LColor.[Ch]:
1795         * LyXAction.C:
1796         * Makefile.am:
1797         * MenuBackend.[Ch]:
1798         * bufferparams.[Ch]:
1799         * factory.C:
1800         * lfuns.h:
1801         * lyxfunc.C:
1802         * text3.C: implements the 'branch inset'
1803         idea. This allows the output of various versions of a document
1804         from a single source version, selectively outputing or suppressing
1805         output of parts of the text.
1806         This implementation contains a 'branch list editor' in a separate
1807         tab of the document settings dialog. Branches are user definable
1808         and have a "display colour" to distinguish them on-screen.
1809
1810         ColorHandler was somewhat cleaned up.
1811         (1) make possible a dynamically growing LColor list by allowing
1812         the graphic context cache to grow along (vector);
1813         (2) eliminate an IMHO unnecessary step in colour allocation.
1814
1815 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1816
1817         * BufferView_pimpl.C: compile fix
1818
1819 2003-08-15  André Pönitz  <poenitz@gmx.net>
1820
1821         * rowpainter.C: remove extra metrics calls
1822
1823         * lyxtext.h: merge the two constructors into a single one,
1824           pass reference to owner's par list
1825
1826         * BufferView_pimpl.C:
1827         * text.C:
1828         * text2.C: adjust
1829
1830 2003-08-15  André Pönitz  <poenitz@gmx.net>
1831
1832         * lyxrow_funcs.[Ch]:
1833         * lyxtext.h:
1834         * paragraph.h:
1835         * paragraph_funcs.C:
1836         * rowpainter.C:
1837         * text.C:
1838         * text2.C:
1839         * text3.C:
1840         * text_funcs.C: split LyXText::rowlist_ into individual
1841         Paragraph::rows_ chunks
1842
1843         * BufferView.[Ch]:
1844         * BufferView_pimpl.[Ch]:
1845         * lyxfind.C:
1846         * lyxtext.h:
1847         * text3.C: remove toggleSelection()
1848
1849 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1850
1851         * bufferlist.C: beautify two alerts (shorter text of buttons)
1852         * buffer.C: Remove redundant ' ' from message
1853         * tabular.h:
1854         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1855         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1856         rename VALIGN_CENTER to VALIGN_MIDDLE
1857
1858 2003-08-11  André Pönitz  <poenitz@gmx.net>
1859
1860         * lyxtext.h (getPar):
1861         * text.C: new function
1862
1863 2003-08-11  André Pönitz  <poenitz@gmx.net>
1864
1865         * Makefile.am:
1866         * tracer.[Ch]: remove unneeded files
1867
1868         * InsetList.[Ch]: remove resizeInsetsLyXText()
1869
1870         * lyxtext.h:
1871         * text.C:
1872         * text2.C:
1873         * text3.C: merge insertParagraphs() and appendParagraph()
1874         remove breakAgain(), update()
1875
1876         * BufferView_pimpl.[Ch]:
1877         * bufferview_funcs.[Ch]:
1878         * lyxfunc.C:
1879         * paragraph.[Ch]:
1880         * rowpainter.C:
1881         * tabular.C: adjust after text & InsetList changes.
1882
1883 2003-08-08  André Pönitz  <poenitz@gmx.net>
1884
1885         * text.C (insertChar, backspace): replace rowlist fiddling
1886         with rebreak of full par
1887
1888         * lyxtext.h:
1889         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1890         checkParagraph, updateInset): removed
1891
1892 2003-08-07  André Pönitz  <poenitz@gmx.net>
1893
1894         * paragraph.C:
1895         * text3.C: merge some LFUN handlers, remove dead code
1896
1897 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1898
1899         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1900
1901 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1902
1903         * text2.C (DEPM): fix part of bug 1255 and 1256
1904
1905 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1906
1907         * BufferView_pimpl.C (workAreaDispatch): change to use
1908         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1909         that are no mouse related.
1910
1911 2003-08-05  André Pönitz  <poenitz@gmx.net>
1912
1913         * BufferView.[Ch]:
1914         * BufferView_pimpl.[Ch]:
1915         * bufferview_funcs.C:
1916         * text2.C:
1917         * text3.C: rip out "deep update"
1918
1919         * textcursor.[Ch] (last_sel_cursor): remove unused member
1920
1921 2003-08-04  André Pönitz  <poenitz@gmx.net>
1922
1923         * BufferView.[Ch]:
1924         * BufferView_pimpl.[Ch]:
1925         * ParagraphParameters.C:
1926         * bufferview_funcs.C:
1927         * lyx_cb.C:
1928         * lyxfind.C:
1929         * lyxfunc.C:
1930         * text.C:
1931         * text2.C:
1932         * text3.C: replace "complicated" BufferView::update(...) calls with
1933         simpler ones.
1934
1935         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1936
1937 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1938
1939         * Makefile.am (lyx_SOURCES): add paper.h
1940
1941 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1942
1943         * Makefile.am: move things around so that both lyx-qt and
1944         lyx-xforms can be built (according to --with-frontend). Then lyx
1945         is a symbolic link to lyx-[firstfrontend]
1946
1947 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1948
1949         * Always use std::endl with lyxerr
1950
1951 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1952
1953         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1954
1955 2003-08-01  André Pönitz  <poenitz@gmx.net>
1956
1957         * BufferView.[Ch]:
1958         * BufferView_pimpl.[Ch]:
1959         * lyxfunc.C:
1960         * text3.C: merge BufferView::repaint() and BufferView::update()
1961
1962 2003-08-01  José Matos  <jamatos@lyx.org>
1963
1964         * buffer.[Ch]: file_format is no longer a buffer data element.
1965
1966 2003-08-01  André Pönitz  <poenitz@gmx.net>
1967
1968         * BufferView.C:
1969         * lyxtext.h:
1970         * text.C:
1971         * text2.C: make redoParagraph more independent of current cursor
1972
1973         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1974         * text.C:
1975         * text2.C: remove unneeded members
1976
1977 2003-07-30  André Pönitz  <poenitz@gmx.net>
1978
1979         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1980
1981         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1982           create a single function...
1983
1984         * paragraph_funcs.C (moveItem): ... here.
1985
1986         * text.C:
1987           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1988
1989 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1990
1991         * LColor.[Ch]: Add comment and greyedout logical colors.
1992
1993 2003-07-30  André Pönitz  <poenitz@gmx.net>
1994
1995         * tabular.C: don't use Assert too heavily. This crashes where it
1996           shouldn't
1997
1998 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1999
2000         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2001         is disabled (bug 1232)
2002
2003 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2004
2005         * factory.C: limited 'arg' scope
2006
2007 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2008
2009         * factory.C: fixed Note submenu issues
2010
2011 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2012
2013         * factory.C: submenu for Note/Comment/Greyedout
2014
2015 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2016
2017         * lyx_main.C (LyX):
2018         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2019
2020 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2021
2022         * LaTeXFeatures.C:
2023         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2024         greyedout. Patch provided by Jürgen Spitzmüller.
2025
2026 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2027
2028         * kbmap.C (read): fix error message when reading bind files
2029
2030 2003-07-29  Angus Leeming  <leeming@lyx.org>
2031
2032         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2033         certainly does not do what it purports to do. I am doing it, and
2034         us, a favour by killing it.
2035
2036 2003-07-28  José Matos  <jamatos@lyx.org>
2037
2038         * buffer.C (readBody, do_writeFile):
2039         * paragraph.C(readParagraph): \end_document replaces \the_end.
2040
2041 2003-07-29  André Pönitz  <poenitz@gmx.net>
2042
2043         * BufferView.[Ch]:
2044         * BufferView_pimpl.[Ch]:
2045         * lyxfunc.C:
2046         * text2.C:
2047         * text3.C:
2048         * textcursor.[Ch]: remove toggleToggle & Co
2049
2050 2003-07-28  José Matos  <jamatos@fep.up.pt>
2051
2052         * buffer.C (readParagraph):
2053         * params_func (readParToken, readParagraph):
2054         * paragraph.C (write): \layout -> \begin_layout.
2055
2056 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2057
2058         * lyxlex_pimpl.C (setFile): clean up slightly.
2059
2060         * bufferparams.h: add compressed var
2061
2062         * buffer_funcs.C (readFile): adjust for LyXLex change
2063         (newFile): ditto + simplify
2064
2065         * buffer.C (writeFile): handle writing of compressed files
2066
2067         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2068         Check if the file is compressed and set a bufferparm if so.
2069
2070         * Makefile.am (lyx_LDADD): remove explicit -lz
2071
2072 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2073
2074         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2075         makeDocBookFile): put the real LyX version in the first line of
2076         the file
2077
2078         * version.h:
2079         * version.C.in: remove lyx_docversion
2080
2081         * tabular.C (write_attribute): add a template-based version to
2082         write enums properly
2083
2084 2003-07-28  André Pönitz  <poenitz@gmx.net>
2085
2086         * lyxtext.h:
2087         * text.C:
2088         * text2.C:
2089         * text3.C: use doubles again for x-coordinates. They are needed.
2090
2091 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2092
2093         * messages.C (getLocaleDir): use lyx_localedir()
2094
2095         * lyxlex_pimpl.C (setFile): compress stuff
2096
2097         * buffer.C (writeFile): add some compression stuff
2098         (do_writeFile): new func, dont call expliti close... will this
2099         breake anything?
2100
2101         * Makefile.am (lyx_LDADD): add -lz
2102
2103 2003-07-28  José Matos  <jamatos@fep.up.pt>
2104
2105         * buffer.C: increment file format.
2106         * paragraph_funcs (readParagraph, readParToken):
2107         * paragraph.C (readParagraph): add \end_layout.
2108
2109 2003-07-27  Angus Leeming  <leeming@lyx.org>
2110
2111         * Makefile.am: remove special casing for configure-time setting of
2112         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2113
2114         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2115         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2116
2117 2003-07-26  André Pönitz  <poenitz@gmx.net>
2118
2119         * paragraph_func.[Ch]:
2120         * paragraph.C (realizeFont): inline it whereever it is used
2121
2122         * rowpainter.C:
2123         * text.C:
2124         * text2.C:
2125         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2126
2127
2128 2003-07-26  André Pönitz  <poenitz@gmx.net>
2129
2130         *       lyxtext.h:
2131         * text.C:
2132         * text2.C: get rid of LyXText::need_break_row
2133
2134 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2135
2136         * toc.[Ch]: put namespace toc inside namespace lyx
2137
2138         * MenuBackend.C (expandToc2): adjust for lyx::toc
2139         (expandToc): ditto
2140
2141         * lyxfunc.C (dispatch): adjust for lyx::find
2142
2143         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2144         lyx::find instead. Reorganize a bit.
2145         (LyXReplace): rename to replace
2146         (LyXFind): rename to find
2147
2148         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2149         (dispatch): ditto
2150
2151 2003-07-26  André Pönitz  <poenitz@gmx.net>
2152
2153         * text.C (setHeightOfRow): restrict scope of temporary variable
2154
2155         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2156           code (never has been used?)
2157
2158 2003-07-27  Asger Alstrup  <alstrup@local>
2159
2160         * text.C (fill): Optimise algorithm to exploit that we can reuse
2161         the LyXFont for many characters.
2162         (setHeightOfRow): Same thing.
2163         (rowBreakPoint): Same thing.
2164
2165 2003-07-26  Asger Alstrup  <alstrup@local>
2166
2167         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2168
2169         * text.C (singleWidth): Spurious font copying in hot-spot
2170         singleWidth avoided. Reorder tests for arabic for efficiency.
2171
2172         * text.C (fill): handle empty paragraphs better.
2173
2174 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2175
2176         * ispell.C:
2177         * encoding.h: add includes
2178
2179         * lyxrc.C: remove reading of bind files
2180
2181         * lyx_main.C (init): setup bindings and menus only if we have a
2182         gui.
2183
2184         * kbmap.C (read): new method. Do the actual reading of bind
2185         files.
2186
2187         * converter.C (dvipdfm_options):
2188         * bufferparams.C:
2189         * lyxrc.C (read):
2190         (output): adapt PAPER_* enums.
2191
2192         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2193
2194         * bufferparams.h: remove paper-related enums from there
2195
2196         * paper.h: New file. A trivial header file to hold paper-related
2197         enums. It should later expand to contain many paper-related
2198         horrors access.
2199
2200         * lyxrc.C: declare extern displayTranslator
2201
2202 2003-07-27  José Matos  <jamatos@fep.up.pt>
2203
2204         * tabular.[Ch] (linuxdoc): add support for tables and figures
2205         (linuxdoc).
2206
2207 2003-07-27  José Matos  <jamatos@fep.up.pt>
2208
2209         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2210         consistency in both functions.
2211         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2212
2213 2003-07-26  Asger Alstrup  <alstrup@local>
2214
2215         * rowpainter.C (paintRows): Change algorithm to work directly on
2216         the insets rather than asking every character in the document
2217         whether its an inset.
2218
2219 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2220
2221         * buffer.C (openFileWrite): factorize some code
2222
2223 2003-07-26  Angus Leeming  <leeming@lyx.org>
2224
2225         * lyx_cb.C:
2226         * lyx_main.[Ch]: replace occurances of system_tempdir with
2227         os::getTmpDir().
2228
2229 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2230
2231         * rename Inset to InsetOld
2232
2233 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2234
2235         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2236         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2237         which I think is a bit clearer. EDIT is gone, since it was
2238         premature optimisation, and broken for mathed anyway.
2239         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2240         with cursor positioning in insets as well (math insets still do not
2241         work, but that's a different story anyway.) It mysteriously
2242         crashes sometimes with undo in the first paragraph, but I'm fairly
2243         confident that this is a compiler bug.
2244
2245 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2246
2247         * paragraph.C (Paragraph): adjust for new clone return type
2248         (operator==): ditto
2249         (copyIntoMinibuffer): ditto
2250
2251 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2252
2253         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2254         by not having a special case, and always doing a full rebreak of
2255         the document after undo.
2256
2257 2003-07-23  Angus Leeming  <leeming@lyx.org>
2258
2259         * factory.C (createInset): InsetExternal::setParams now takes a
2260         Buffer const * arg.
2261
2262 2003-07-23  Angus Leeming  <leeming@lyx.org>
2263
2264         * factory.C (createInset): changed interface to the external and
2265         graphics mailers' string2params functions.
2266
2267 2003-07-23  Angus Leeming  <leeming@lyx.org>
2268
2269         * factory.C (createInset): pass a
2270         Buffer const * parameter to InsetExternalMailer's string2params.
2271
2272 2003-07-22  John Levon  <levon@movementarian.org>
2273
2274         * Thesaurus.h: include the right aiksaurus header
2275
2276 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2277
2278         * MenuBackend.C (expand): check menu shortcuts unconditionally
2279
2280 2003-07-21  Angus Leeming  <leeming@lyx.org>
2281
2282         * factory.C (createInset): pass a
2283         buffer_path parameter to InsetGraphicsMailer's string2params.
2284
2285 2003-07-21  Angus Leeming  <leeming@lyx.org>
2286
2287         * BufferView_pimpl.C (buffer):
2288         * buffer.C (d-tor):
2289         * lyx_main.C (LyX):
2290         * lyxfunc.C (dispatch):
2291         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2292         rather than the grfx shortcut.
2293
2294 2003-07-21  André Pönitz  <poenitz@gmx.net>
2295
2296         * rowpainter.C: remove unused variables
2297
2298         * tabular_funcs.C:
2299         * tabular_funcs.h: move to tabular.C
2300         * Makefile.am: adjust
2301
2302         * tabular.[Ch]: basic optical cleaning
2303
2304         * author.h: pass references, not values
2305
2306 2003-07-18  André Pönitz  <poenitz@gmx.net>
2307
2308         * lyxtext.h:
2309         * metricsinfo.C:
2310         * metricsinfo.h:
2311         * rowpainter.C:
2312         * text.C:
2313         * text2.C:
2314         * text3.C: two-phase drawing for InsetText and InsetTabular
2315         some float -> int changes.
2316
2317 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2318
2319         * lyx_main.C: fix the fix
2320
2321 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2322
2323         * lyx_main.C: fix a crash in batch mode if no files specified
2324         * converter.C: ws
2325
2326 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2327
2328         * format.[Ch] (papersize): moved to BufferParams
2329         * converter.[Ch] (dvips_options): moved to BufferParams
2330         (dvipdfm_options): moved to anon namespace
2331         * bufferparams.[Ch]: added above functions.
2332
2333 2003-07-17  André Pönitz  <poenitz@gmx.net>
2334
2335         * lyxtext.h:
2336         * rowpainter.C:
2337         * text2.C: don't call inset->update() anymore
2338
2339         * metricsinfo.[Ch]: add convenience constructor
2340
2341 2003-07-16  André Pönitz  <poenitz@gmx.net>
2342
2343         * lyxcursor.[Ch]:
2344         * lyxfunc.[Ch]:
2345         * text.C:
2346         * text2.C: replace the LyXCursor::irow_ member with
2347          on-demand computation of the value
2348
2349 2003-07-16  John Levon  <levon@movementarian.org>
2350
2351         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2352
2353 2003-07-15  André Pönitz  <poenitz@gmx.net>
2354
2355         * text.C:
2356         * text2.C: remove no more needed refresh_row
2357
2358 2003-07-15  André Pönitz  <poenitz@gmx.net>
2359
2360         * lyxtext.h:
2361         * rowpainter.C:
2362         * text2.C:
2363         * text3.C: refresh_status tristate -> need_update bool
2364
2365 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2366
2367         * lyxtext.h (init): remove reinit argument (act as if always true)
2368         * text2.C: adjust to that
2369
2370 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2371
2372         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2373         * text3.C: use it to delete selections in some cases
2374         (bugs 441, 673, 702, 954).
2375
2376 2003-07-14  André Pönitz  <poenitz@gmx.net>
2377
2378         * rowpainter.[Ch]: reduce interface
2379
2380 2003-07-14  André Pönitz  <poenitz@gmx.net>
2381
2382         * BufferView_pimpl.C:
2383         * text2.C: adjust after removing unused BufferView * argument
2384
2385 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2386
2387         * text2.C (init): fix a crash fired on resize
2388
2389 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2390
2391         * buffer.[Ch]: added new closing signal
2392         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2393         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2394         BufferView::Pimpl via the closing the signal
2395
2396 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2397
2398         * buffer.[Ch]: take out all bv-related from buffer
2399         * BufferView.C:
2400         * BufferView_pimpl.[Ch]: connect to new signals
2401         * CutAndPaste.C: removed useless asserts
2402         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2403         * lyxvc.[Ch]:
2404         * vc-backend.[Ch]:
2405         * lyxfunc.C: moved view-related funciontality from vc here
2406         * paragraph.C: removed outdated comments
2407         * text.C: ws
2408
2409 2003-07-10  André Pönitz  <poenitz@gmx.net>
2410
2411         * BufferView_pimpl.C:
2412         * tabular.h:
2413         * tabular_funcs.C:
2414         * text.C:
2415         * text2.C: remove InsetText::InnerCache, clean up consequences
2416
2417 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2418
2419         * ispell.C: fix two typos in error messages
2420
2421 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2422
2423         * Extend Note inset to other forms of annotation like Comment
2424         and Greyedout. Right button click gives dialog.
2425
2426         Files modified or added (+):
2427
2428         * insetnote.[Ch]
2429         * FormNote.[Ch]      +
2430         * ControlNote.[Ch]   +
2431         * form_note.fd       +
2432         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2433         frontends/controllers
2434         * xforms/Dialogs.C
2435         * factory.C
2436
2437 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2438
2439         * aspell.C: add missing namespace lyx::support
2440
2441 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2442
2443         * BufferView.[Ch] (newFile): Add
2444         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2445         * LaTeX.[Ch] (message): added this signal and use it
2446         * buffer.[Ch] (busy, message): added these signals and use them
2447         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2448         * converter.C:
2449         * exporter.C:
2450         * format.C:
2451         * importer.C: use buffer signals instead of direct bv calling
2452         * lyx_cb.[Ch] (ShowMessage): removed
2453         * lyx_main.C:
2454         * lyxfunc.C:
2455         * paragraph_funcs.C:
2456         * text2.C: use buffer signals
2457
2458 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2459
2460         * introduce namespace lyx::graphics
2461
2462 2003-07-02  André Pönitz  <poenitz@gmx.net>
2463
2464         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2465
2466 2003-07-01  André Pönitz  <poenitz@gmx.net>
2467
2468         * text.C:
2469         * text2.C:
2470         * text3.C:
2471         * text_funcs.[Ch]:
2472         * textcursor.h:
2473         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2474           text*.C to text_func.C
2475
2476 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2477
2478         * introduce namespace lyx::support
2479
2480 2003-06-30  André Pönitz  <poenitz@gmx.net>
2481
2482         * Chktex.C:
2483         * funcrequest.C:
2484         * lyxtext.h:
2485         * text.C: re-enable --with-included-string
2486
2487 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2488
2489         * textcursor.C: add <config.h>
2490
2491         * text.C (getWord): remove const from word_location arg
2492
2493         * lyxvc.C (getLogFile): fix const type order
2494
2495         * lyxtext.h: remove const from word_location arg, add arg name
2496
2497         * lyxlayout.h: currect type on labeltype.
2498
2499         * importer.C: correct \file
2500
2501         * converter.C (intToFormat): use std:: on ret val, ws changes
2502
2503         * bufferlist.h: correct \file
2504
2505         * buffer.C (makeLinuxDocFile): fix const type order
2506         (makeDocBookFile): ditto
2507         (fillWithBibKeys): use std:: on stdlib args.
2508
2509         * CutAndPaste.C: fix authors.
2510         (availableSelections): use std:: on return vector
2511
2512 2003-06-27  André Pönitz  <poenitz@gmx.net>
2513
2514         * BufferView_pimpl.C:
2515         * bufferview_funcs.C:
2516         * lyxcursor.C:
2517         * lyxcursor.h:
2518         * lyxfunc.C:
2519         * lyxtext.h:
2520         * rowpainter.C:
2521         * text.C:
2522         * text2.C:
2523         * text3.C: remove LyXCursor::row_ member
2524
2525         * lyxtext.h:
2526         * text.C: rename fullRebreak() to partialRebreak() and implement
2527           a fullRebreak() that really bereks fully
2528
2529         * textcursor.h: new struct for cursor-related data
2530
2531 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2532
2533         * lyx_main.C (LyX): get full path of document loaded on the
2534         command line
2535
2536 2003-06-26  André Pönitz  <poenitz@gmx.net>
2537
2538         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2539           remove unused/broken operator>,<,>=.
2540
2541         *       text.C: remove only use of broken operator<= in an Assert().
2542
2543 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2544
2545         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2546         moved errorlist_.clear to showErrorList
2547
2548 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2549
2550         * converter.C (scanLog, runLaTeX):
2551         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2552         move the bv->showErrorList call to the callers
2553         * lyxfunc.C: i.e. here...
2554         * text2.C: and here
2555         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2556         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2557         namespace, the second to...
2558         * buffer_funcs (BufferFormat, parseErrors): added
2559         * errorlist.C (ErrorList(TeXErrors const &)): removed
2560
2561 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2562
2563         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2564
2565 2003-06-24  "Garst R. Reese" <reese@isn.net>
2566
2567         * debug.C: fix typo
2568
2569 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2570
2571         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2572
2573         * version.C.in: change docversion to 1.4
2574
2575 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2576
2577         * buffer.C: fix a bug just introduced
2578
2579 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2580
2581         * buffer.[Ch]: added the parseError signal and use it, removed
2582         sgmlError
2583         * BufferView.[Ch] (addError): moved to ...
2584         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2585         to the Buffer::parseError signal to catch (guess what) parse errors
2586         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2587
2588 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2589
2590         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2591         ability to create a buffer and to return an existing one from
2592         the list. Moved these functions to...
2593         * buffer_funcs.[Ch]: added
2594         * BufferView.[Ch] (loadLyXFile): added
2595         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2596         job removed from bufferlist::loadLyXFile.
2597         * buffer.C (setReadOnly): make it work without view
2598         (i.e added an if (users))
2599
2600 2003-06-19  Angus Leeming  <leeming@lyx.org>
2601
2602         * lfuns.h:
2603         * LyXAction.C (init):
2604         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2605         with LFUN_DIALOG_SHOW <name> <data>.
2606
2607 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2608
2609         * CutAndPaste.C (availableSelections): small compilation fix for
2610         ancient (gcc 2.9x) compilers
2611
2612 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2613
2614         * text3.C (cursorNext): add tmp var
2615
2616         * text2.C (updateCounters): for function calling out of for clause
2617         (replaceSelectionWithString): ditto
2618         (insertStringAsParagraphs): ditto
2619         (getColumnNearX): add tmp var
2620         (setCursorFromCoordinates): add tmp var
2621         (cursorDownParagraph): add tmp var
2622         (deleteEmptyParagraphMechanism): add tmp var
2623
2624         * text.C (insertChar): add tmp var
2625
2626         * rowpainter.C (paintDepthBar): add tmp var
2627
2628         * CutAndPaste.C (availableSelections): potentially check all
2629         paragraphs in a cut to fill the shown strings.
2630
2631 2003-06-18  André Pönitz  <poenitz@gmx.net>
2632
2633         * kbmap.[Ch]: use vector<> instead of list<>
2634
2635 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2636
2637         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2638         pasteSelection with index
2639
2640         * text2.C (pasteSelection): modify, call pasteSelection with index
2641
2642         * paragraph.C (asString): reimplement version with no interval to
2643         call the one with interval.
2644
2645         * lyxtext.h: add index arg to pasteSelection
2646
2647         * MenuBackend.C (MenuItem): handle PasteRecent
2648         (Menu::read::Menutags): add md_pasterecent
2649         (read): handle it
2650         (expandPasteRecent): new function
2651         (expand): use it
2652
2653         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2654
2655         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2656         the limited stack
2657         (availableSelections): new function
2658
2659 2003-06-17  Angus Leeming  <leeming@lyx.org>
2660
2661         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2662
2663 2003-06-17  Angus Leeming  <leeming@lyx.org>
2664
2665         * lfuns.h:
2666         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2667
2668         * lyxfunc.C (dispatch): invoke it.
2669
2670 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2671
2672         * iterators.C (operator++, ParPosition): reintroduce some
2673         const_cast for the benefit of older compilers.
2674
2675 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2676
2677         * text3.C (dispatch): do not modify clipboard when doing
2678         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2679         LFUN_DELETE_SKIP on a selection selection
2680
2681 2003-06-16  André Pönitz  <poenitz@gmx.net>
2682
2683         * BufferView.C:
2684         * buffer.C:
2685         * buffer.h:
2686         * paragraph.C:
2687         * tabular.[Ch]: IU of clone() and getLabelList();
2688
2689 2003-06-13  André Pönitz  <poenitz@gmx.net>
2690
2691         * tabular.h: compactification
2692
2693 2003-06-12  André Pönitz  <poenitz@gmx.net>
2694
2695         * tabular.C:
2696         * tabular.h:
2697         * tabular_funcs.h: some renaming plus whitespace
2698
2699 2003-06-12  André Pönitz  <poenitz@gmx.net>
2700
2701         * BufferView.C:
2702         * BufferView_pimpl.C:
2703         * CutAndPaste.C:
2704         * buffer.C:
2705         * iterators.[Ch]:
2706         * lyxfunc.C:
2707         * text.C:
2708         * toc.C: Return a Paragraph & for ParIterator::operator*()
2709
2710 2003-06-11  John Levon  <levon@movementarian.org>
2711
2712         * lyx_main.C:
2713         * ToolbarBackend.h:
2714         * ToolbarBackend.C: add "Toolbars" section and
2715         put the flags there
2716
2717 2003-06-10  Angus Leeming  <leeming@lyx.org>
2718
2719         * lfuns.h:
2720         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2721
2722         * lyxfunc.C (dispatch): invoke it.
2723
2724 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2725
2726         * main.C: protect <ios> with HAVE_IOS
2727         (main): protect sync_with_stdio with HAVE_IOS
2728
2729 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2730
2731         * text2.C (cutSelection): adjust
2732         (pasteSelection): adjust
2733
2734         * messages.C: handle get of empty string
2735
2736         * main.C (main): use sync_with_stdio(false)
2737
2738         * lyxfunc.C (dispatch): adjust
2739
2740         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2741         (WriteAs): remove unneeded BufferView arg.
2742
2743         * bufferparams.h: use correct types on papersize, papersize2 and
2744         paperpackage.
2745
2746         * bufferparams.C (readToken): adjust for type
2747         (writeLaTeX): add missing cases to switch.
2748
2749         * bufferlist.C (quitWriteBuffer): adjust
2750         (close): adjust
2751
2752         * buffer.C (asciiParagraph): remove some commented code.
2753
2754         * CutAndPaste.C: remove current_view extern variable.
2755         (cutSelection): add BufferParams arg.
2756         (eraseSelection): add BufferParams arg.
2757         (pasteSelection): add Buffer const & arg
2758
2759 2003-06-07  John Levon  <levon@movementarian.org>
2760
2761         * buffer.C:
2762         * paragraph_funcs.C:
2763         * paragraph_pimpl.C:
2764         * text.C:
2765         * text2.C:
2766         * paragraph.h:
2767         * paragraph.C: allow InsetERT to freely space lines,
2768         and some consolidation of code
2769
2770 2003-06-06  José Matos  <jamatos@fep.up.pt>
2771
2772         * buffer.C (makeDocBookFile): fix bug #821
2773
2774 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2775
2776         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2777
2778 2003-06-04  Angus Leeming  <leeming@lyx.org>
2779
2780         * buffer.C: bump format to 224.
2781
2782 2003-06-05  André Pönitz  <poenitz@gmx.net>
2783
2784         * text2.C (redoParagraphs): remove two const_cast<>
2785
2786 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2787
2788         * ParagraphList.h: remove last remnants of NO_STD_LIST
2789
2790 2003-06-03  Angus Leeming  <leeming@lyx.org>
2791
2792         * factory.C (createInset): small change to the way InsetExternal's params
2793         are set.
2794
2795 2003-06-04  André Pönitz  <poenitz@gmx.net>
2796
2797         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2798
2799         * paragraph_pimpl.h:
2800         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2801
2802         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2803
2804         * undo_funcs.C: make some simple cases of undo work again
2805
2806 2003-06-03  John Levon  <levon@movementarian.org>
2807
2808         * ispell.C: HPUX doesn't have sys/select.h
2809         (from Albert Chin)
2810
2811 2003-06-03  John Levon  <levon@movementarian.org>
2812
2813         * CutAndPaste.C: update tabular and include inset
2814         buffer references
2815
2816         * buffer.h:
2817         * paragraph.h:
2818         * paragraph.C: remove owningBuffer(), don't pass Buffer
2819         to clone()
2820
2821         * factory.C: insetGraphicsParams changed
2822
2823 2003-06-02  John Levon  <levon@movementarian.org>
2824
2825         * LyXAction.C:
2826         * factory.C:
2827         * lfuns.h:
2828         * lyxfunc.C:
2829         * text3.C: remove insetparent
2830
2831 2003-06-02  John Levon  <levon@movementarian.org>
2832
2833         * buffer.h:
2834         * buffer.C: fix inset_iterator.end(), move out of line
2835         (bug 1149)
2836
2837 2003-06-01  John Levon  <levon@movementarian.org>
2838
2839         * text3.C: use a proper cut/paste when doing inset
2840         insert (from Jürgen Spitzmüller)
2841
2842 2003-06-01  John Levon  <levon@movementarian.org>
2843
2844         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2845
2846 2003-05-30  André Pönitz  <poenitz@gmx.net>
2847
2848         * rowpainter.C: unify second drawing phase
2849
2850 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2851
2852         * trans_mgr.C: remove one case of current_view
2853
2854         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2855
2856         * paragraph_funcs.h: remove paragraph.h include
2857
2858         * paragraph.h: delete NO_STD_LIST stuff
2859
2860         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2861
2862         * buffer.h: remove paragraph.h include
2863
2864         * ParagraphList.C: delete file
2865
2866         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2867
2868         * toc.C (getTocList): adjust
2869
2870         * paragraph_pimpl.C (validate): adjust
2871
2872         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2873
2874         * paragraph.C (Paragraph): adjust
2875         (getPositionOfInset): use const_iterator, adjust
2876         (bibitem): use const_iterator, adjust
2877         (setInsetOwner): adjust
2878
2879         * iterators.C (operator++): adjust
2880
2881         * InsetList.[Ch]: Replace selfmade iterator with standard
2882         vector::iterator also introduce const_iterator. Remove getPos,
2883         getInset and setInset from InsetTable. Adjust accordingly.
2884
2885         * BufferView.C (lockInset): adjust
2886         (ChangeInsets): adjust
2887
2888         * tabular.[Ch]: delete commented same_id functions
2889
2890 2003-05-28  John Levon  <levon@movementarian.org>
2891
2892         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2893
2894 2003-05-28  André Pönitz  <poenitz@gmx.net>
2895
2896         * metricsinfo.[Ch]: remove 'fullredraw' member
2897
2898 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2899
2900         * lyxtextclass.C (operator): remove caching.
2901
2902 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2903
2904         * text3.C: adjust
2905
2906         * text2.C (cursorBottom): adjust
2907         (setCounter): use ParagraphList::find, adjust
2908
2909         * text.C (workWidth): use ParagraphList::find, adjust
2910
2911         * lyxcursor.C (LyXCursor): adjust
2912
2913         * buffer.C (inset_iterator): adjust
2914
2915         * ParagraphList.h: make iterator(value_type) private, make
2916         ParagraphList a friend of iterator.
2917
2918         * ParagraphList.C (find): new function
2919
2920         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2921
2922 2003-05-27  André Pönitz  <poenitz@gmx.net>
2923
2924         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2925
2926 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2927
2928         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2929
2930 2003-05-26  John Levon  <levon@movementarian.org>
2931
2932         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2933
2934 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2935
2936         * remove same_id from function signatures, adjust.
2937
2938 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2939
2940         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2941
2942         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2943
2944         * paragraph.C (Paragraph): get rid of same_ids parameter
2945
2946         * ParagraphList.C (insert): adjust
2947         (push_back): adjust
2948
2949 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2950
2951         * paragraph_funcs.C (breakParagraph): adjust
2952         (breakParagraphConservative): adjust
2953
2954         * buffer.C (readParagraph): adjust
2955
2956         * ParagraphList.C (insert): take a reference instead of a pointer
2957         (insert): adjust
2958
2959         * paragraph.[Ch] (id): new function
2960
2961         * bufferlist.C (newFile): adjust
2962
2963         * ParagraphList.C (ParagraphList): adjust
2964         (assign): adjust
2965         (push_back): take a reference instead of a pointer.
2966
2967         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2968
2969         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2970         instead.
2971
2972         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2973         set else use old code.
2974
2975         * ParagraphList.C: remove all NO_NEXT code and only compile this
2976         code of NO_STD_LIST is set.
2977
2978 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2979
2980         * BufferView_pimpl.C:
2981         * TextCache.C:
2982         * TextCache.h:
2983         * bufferlist.C:
2984         * errorlist.h:
2985         * format.C:
2986         * format.h:
2987         * graph.C:
2988         * lyxfunc.C:
2989         * lyxrc.C:
2990         * graphics/GraphicsConverter.C:
2991         * graphics/PreviewLoader.C: header adjustment
2992
2993 2003-05-23  Angus Leeming  <leeming@lyx.org>
2994
2995         * LaTeXFeatures.[Ch] (useBabel): new method.
2996         * bufferparams.C (writeLaTeX): use it.
2997
2998 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2999
3000         * ParagraphList.h (set): remove unused function.
3001
3002 2003-05-23  André Pönitz  <poenitz@gmx.net>
3003
3004         * BufferView.C:
3005         * BufferView_pimpl.C:
3006         * buffer.C:
3007         * buffer.h:
3008         * lyxfunc.C:
3009         * undo_funcs.C: setUndo reworked
3010
3011         * iterators.[Ch]: add access to topmost ParagraphList
3012
3013         * lyxtext.[Ch] (workWidth): add a const
3014
3015 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3016
3017         * texrow.[Ch] (increasePos): remove function
3018         * exporter.C (export): removed unused var and outdated comment
3019
3020 2003-05-23  Angus Leeming  <leeming@lyx.org>
3021
3022         * latexrunparams.h: rename fragile as moving_arg.
3023         * paragraph.C (simpleTeXOnePar): ditto.
3024         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3025
3026 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3027
3028         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3029         (createUndo): ditto
3030         (textUndoOrRedo): comment out a currently unused var.
3031
3032         * paragraph.h (NO_NEXT): enable NO_NEXT
3033
3034         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3035
3036         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3037
3038         * exporter.C (Export): adjust for removeAutoInsets removal.
3039
3040         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3041
3042         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3043
3044         * BufferView.[Ch] (removeAutoInsets): delete function
3045
3046 2003-05-22  Angus Leeming  <leeming@lyx.org>
3047
3048         * latexrunparams.h: add a free_spacing variable.
3049
3050         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3051         to pass moving_arg, as the data is stored in runparams.fragile.
3052
3053         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3054         to Inset::latexOptional or to simpleTeXOnePar.
3055
3056         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3057         free_spacing arg to Inset::latexOptional.
3058
3059         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3060         free_spacing arg.
3061
3062 2003-05-22  Angus Leeming  <leeming@lyx.org>
3063
3064         * latexrunparams.h: add fragile and use_babel variables.
3065
3066         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3067         * buffer.C (makeLaTeXFile): store this returned value in
3068         runparams.use_babel, thus passing it to the inset::latex methods.
3069
3070         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3071         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3072
3073         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3074         longer has a fragile arg, as it is stored in runparams.fragile.
3075
3076         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3077         moving_arg parameter as the data is stored in runparams.fragile.
3078
3079         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3080         a fragile parameter as the data is stored in runparams.fragile.
3081
3082 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3083
3084         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3085
3086 2003-05-22  Angus Leeming  <leeming@lyx.org>
3087
3088         * latexrunparams.h: add a 'bool nice' which defaults to false.
3089
3090         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3091         now encapsulated within runparams.
3092
3093         * bufferlist.C (updateIncludedTeXfiles):
3094         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3095
3096 2003-05-22  Angus Leeming  <leeming@lyx.org>
3097
3098         * latexrunparams.h: new file containing struct LatexRunParams.
3099         * Makefile.am: add new file.
3100
3101         * LaTeX.[Ch] (c-tor, run):
3102         * buffer.[Ch] (makeLaTeXFile):
3103         * bufferlist.[Ch] (updateIncludedTeXfiles):
3104         * converter.C (convert, scanLog):
3105         * converter.[Ch] (runLaTeX):
3106         * exporter.C (Export):
3107         * paragraph.[Ch] (simpleTeXOnePar):
3108         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3109         * paragraph_funcs.[Ch] (latexParagraphs):
3110         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3111         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3112         pass around a LatexRunParams parameter.
3113
3114 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3115
3116         * paragraph.[Ch]: remove unused constructor
3117
3118         * ParagraphList.C (erase): new function, taking two iterators
3119
3120 2003-05-22  André Pönitz  <poenitz@gmx.net>
3121
3122         * undo_funcs.C: remove duplicated code
3123
3124         * iterator.[Ch]: operator=
3125
3126 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3127
3128         * tabular.C (SetMultiColumn): ws changes
3129
3130         * rowpainter.C (paintFirst): get rid of a ->previous
3131
3132         * lyx_cb.C (getPossibleLabel): parlist simplification
3133
3134         * BufferView.C (ChangeInsets): simplify slightly.
3135
3136 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3137
3138         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3139         * lfuns.h: new LFUN_SPACE
3140         * lyxfunc.C: protected space has a new lfun
3141         * paragraph_funcs.C: read new space insets
3142         * text3.C:
3143         * factory.C: handle new space insets
3144
3145 2003-05-22  André Pönitz  <poenitz@gmx.net>
3146
3147         * BufferView.C:
3148         * BufferView_pimpl.C:
3149         * buffer.[Ch]:
3150         * lyxfunc.C:
3151         * undo_funcs.C: return a ParIterator from getParFromID.
3152
3153         * iterators.[Ch]: add two const's
3154
3155 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3156
3157         * toc.C (getTocList): adjust
3158
3159         * iterators.[Ch]: rework for parlist
3160
3161         * buffer.C (par_iterator_begin): adjust
3162         (par_iterator_end): adjust
3163
3164         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3165
3166         * BufferView.C (removeAutoInsets): adjust
3167         (ChangeInsets): adjust
3168
3169 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3170
3171         * text.C (top_y): fix bug 1110
3172
3173 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3174
3175         * errorlist.[Ch]: added
3176         * buffer.C:
3177         * BufferView.[Ch]:
3178         * BufferView_pimpl.C:
3179         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3180         instead
3181
3182 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3183
3184         * Makefile.am: ensure that lyx is relinked upon changes to the
3185         various "convenience" libs.
3186
3187 2003-05-20  Angus Leeming  <leeming@lyx.org>
3188
3189         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3190         files are compiled in alphabetical order again.
3191
3192         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3193
3194 2003-05-19  Angus Leeming  <leeming@lyx.org>
3195
3196         * gettext.[Ch]: remove "char const * _(char const *)".
3197
3198 2003-05-19  André Pönitz  <poenitz@gmx.net>
3199
3200         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3201
3202         * Makefile.am:
3203         * BufferView.C:
3204         * DepTable.h:
3205         * LaTeXFeatures.C:
3206         * buffer.C:
3207         * lyxfont.C:
3208         * lyxlex.h:
3209         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3210
3211 2003-05-19  André Pönitz  <poenitz@gmx.net>
3212
3213         * buffer.C:
3214         * lyxlayout.[Ch]:
3215         * lyxtextclass.[Ch]:
3216         * paragraph.C:
3217         * paragraph_funcs.[Ch]:
3218         * text2.C:
3219         * text3.C: more insetenv work
3220
3221 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3222
3223         * ParagraphParameters.C (params2string): small bug fixed
3224
3225 2003-05-16  André Pönitz  <poenitz@gmx.net>
3226
3227         * debug.C:
3228         * bufferview_funcs.C: patch from Kornel Benko to prevent
3229           crash when _(...) is called twice in a statement
3230
3231 2003-05-16  André Pönitz  <poenitz@gmx.net>
3232
3233         * BufferView.C:
3234         * lyxfunc.C:
3235         * text.C:
3236         * text2.C:
3237         * text3.C:
3238         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3239
3240 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3241
3242         * lyx_main.C (init): remove spurious static_cast
3243
3244 2003-05-14  André Pönitz  <poenitz@gmx.net>
3245
3246         * BufferView.C: fix format string
3247
3248 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3249
3250         * BufferView.[Ch] (insertErrors): removed
3251         * BufferView.[Ch] (showErrorList): added
3252         * buffer.C (runChkTeX):
3253         * converter.C (scanLog): call showErrorList instead of inserterrors
3254
3255 2003-05-13  André Pönitz  <poenitz@gmx.net>
3256
3257         * BufferView_pimpl.C:
3258         * buffer.C:
3259         * bufferview_func.C:
3260         * MenuBackend.C:
3261         * lyxfunc.C:
3262         * lyxrc.C:
3263         * tex-accent.C:
3264         * text3.C:
3265         * toc.C:
3266         * tabular_funcs.h: tostr() from its own header
3267
3268         * ParagraphParameters.C:
3269         * ToolbarBackend.C:
3270         * bufferparams.C:
3271         * format.C:
3272         * lyxlex_pimpl.C:
3273         * text3.C: STRCONV()
3274
3275 2003-05-12  André Pönitz  <poenitz@gmx.net>
3276
3277         * BufferView.C:
3278         * BufferView_pimpl.C:
3279         * CutAndPaste.C:
3280         * LaTeX.C:
3281         * LaTeXFeatures.C:
3282         * ParagraphParameters.C:
3283         * buffer.C:
3284         * bufferlist.C:
3285         * bufferparams.C:
3286         * bufferview_funcs.C:
3287         * converter.C:
3288         * counters.C:
3289         * debug.C:
3290         * exporter.C:
3291         * format.C:
3292         * importer.C:
3293         * lyx_cb.C:
3294         * lyx_main.C:
3295         * lyxfont.C:
3296         * lyxfunc.C:
3297         * lyxvc.C:
3298         * paragraph.C:
3299         * paragraph_funcs.C:
3300         * tabular.C:
3301         * tabular_funcs.C:
3302         * text2.C:
3303         * text3.C:  boost::format -> bformat  all over the place
3304
3305
3306 2003-05-09  André Pönitz  <poenitz@gmx.net>
3307
3308         * LColor.[Ch]: Pimpl the #include <map> away
3309
3310 2003-05-09  John Levon  <levon@movementarian.org>
3311
3312         * bufferlist.C: never remove emergency saves
3313
3314 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3315
3316         * Makefile.am: better lib building
3317
3318 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3319
3320         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3321         instead.
3322         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3323         (simpleTeXSpecialChars): adjust
3324         (simpleTeXSpecialChars): adjust
3325         * paragraph.C (simpleTeXOnePar): adjust
3326         * buffer.C (makeLaTeXFile): adjust
3327
3328         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3329
3330         * text2.C (changeDepth): parlist cleanup
3331         (getColumnNearX): ditto
3332
3333         * rowpainter.C (getLabelFont): parlist cleanup
3334
3335         * bufferlist.C (newFile): parlist cleanup
3336
3337         * CutAndPaste.C (eraseSelection): parlist cleanup
3338
3339         * BufferView_pimpl.C (trackChanges): parlist cleanup
3340         (dispatch): ditto
3341
3342         * BufferView.C (lockInset): parlist cleanup.
3343         (ChangeInsets): ditto
3344
3345 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3346
3347         * CutAndPaste.h: Update file header.
3348
3349         * CutAndPaste.C: Update file header.
3350         Store the parts cut out of the Document in a limited_stack.
3351         (copySelection): adjust
3352         (pasteSelection): new function, takes the index in the limited stack.
3353         (nrOfParagraphs): adjust
3354         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3355         simplify error inset insertion.
3356         (checkPastePossible): adjust
3357
3358 2003-05-06  John Levon  <levon@movementarian.org>
3359
3360         * text2.C: don't cast wrap inset to float
3361
3362 2003-05-05  André Pönitz  <poenitz@gmx.net>
3363
3364         * iterator.C:
3365         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3366
3367         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3368           few naked Paragraph *.
3369
3370 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3371
3372         * bufferparams.C: Output warning if a document with missing
3373         TeX document class is loaded
3374         * exporter.C: Disable TeX exports if the document class is missing
3375         * lyxtextclass.C:
3376         * lyxtextclass.h:
3377         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3378         isTeXClassAvailable()
3379
3380 2003-05-03  John Levon  <levon@movementarian.org>
3381
3382         * BufferView.h:
3383         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3384         explicit cursor show/hide
3385
3386         * BufferView_pimpl.h:
3387         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3388         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3389
3390         * lyxfunc.C: hide cursor before dispatching.
3391
3392         * lyx_cb.C:
3393         * lyxfind.C:
3394         * text.C:
3395         * text3.C: remove explicit cursor hides
3396
3397 2003-05-02  André Pönitz  <poenitz@gmx.net>
3398
3399         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3400
3401         * undo_funcs.C:
3402         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3403           linked lists
3404
3405         * text2.C: tiny whitespace
3406
3407 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3408
3409         * undo_funcs.C: almost only ws changes.
3410
3411         * ParagraphList.C (splice): just return if pl is empty.
3412
3413 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3414
3415         * ParagraphList.C (splice): new function.
3416
3417         * CutAndPaste.C (pasteSelection): use it
3418
3419 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3420
3421         * CutAndPaste.C (pasteSelection): remove the last next and
3422         previous from this file.
3423
3424 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3425
3426         * CutAndPaste.C (pasteSelection): more clean up, user proper
3427         ParagraphList functions for pasteing.
3428
3429         * ParagraphList.C (insert): new function, three arg insert
3430
3431 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3432
3433         * ParagraphList.C (insert): new function, three arg insert
3434
3435         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3436         not on paragraphs.
3437
3438 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3439
3440         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3441
3442 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3443
3444         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3445
3446 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3447
3448         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3449         (copySelection): clean up a bit.
3450         (pasteSelection): use make_pair
3451
3452         * ParagraphList.C (ParagraphList): implement copy constructor
3453         (operator=): implement, base on copy constructor.
3454         (assign): new func
3455
3456         * paragraph.C (erase): return a bool
3457
3458         * paragraph_pimpl.C (erasePos): remove function, move contents...
3459         (erase): ... here. Return a bool.
3460         (erase): call erase instead of erasePos.
3461
3462 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3463
3464         * ParagraphList.h: define PitPosPair
3465         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3466         ParagraphList, fix a bug on pasting multiple pars
3467         * text2.C: change interface to C&P
3468
3469 2003-04-30  André Pönitz  <poenitz@gmx.net>
3470
3471         * undo_func.C: revert part of yesterday's patch 2
3472
3473 2003-04-30  John Levon  <levon@movementarian.org>
3474
3475         * LColor.C: s/tabular/table/
3476
3477 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3478
3479         * text3.C (dispatch): do not convert iterator -> pointer
3480         * undo_funcs.C (setCursorParUndo): ditto
3481         * text_funcs.C (transposeChars): ditto
3482
3483         * text2.C (setLayout): ws changes only
3484
3485         * text.C (breakParagraph): do not convert iterator -> pointer
3486         (insertChar): ditto
3487         (acceptChange): ditto
3488         (rejectChange): ditto
3489         (changeCase): ditto
3490         (Delete): ditto
3491         (backspace): ditto
3492
3493         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3494         pointer
3495
3496 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3497
3498         * text3.C (gotoInset): YABG (yet another bad getChar)
3499
3500 2003-04-29  André Pönitz  <poenitz@gmx.net>
3501
3502         * paragraph.h: make operator= private unimplemented as long as
3503           it is unusable
3504
3505         * ParagraphList.C: whitespace
3506
3507         * paragraph.[Ch]:
3508         * paragraph_pimpl.[Ch]:
3509         * paragraph_funcs.C:
3510         * CutAndPaste.C:
3511         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3512
3513         * text2.C:
3514           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3515
3516 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3517
3518         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3519         * paragraph.[Ch] (erase):
3520         * paragraph_pimpl.[Ch] (erase): change return type and value
3521         * text2.C (cutSelection): some rework
3522
3523 2003-04-28  John Levon  <levon@movementarian.org>
3524
3525         * bufferlist.C: changes for unsaved changes dialog
3526
3527 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3528
3529         * bufferlist.C (newFile): set language (messages_) for new
3530         documents also.
3531
3532         * buffer.C (readFile): ws changes only.
3533
3534 2003-04-28  André Pönitz  <poenitz@gmx.net>
3535
3536         * undo_funcs.C:
3537         * lyxfunc.C:
3538         * buffer.[Ch]:
3539         * BufferView_pimpl.C:
3540         * BufferView.C: getParFromID related ParagraphList::iterator changes
3541
3542 2003-04-28  André Pönitz  <poenitz@gmx.net>
3543
3544         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3545           Changes
3546
3547 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3548
3549         * messages.C: remove one more localedir class variable.
3550
3551 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3552
3553         * messages.C (getLocaleDir): singleton generation function
3554         (Pimpl): use it.
3555         (Messages): add a default constructor.
3556
3557         * main.C (main): do not setup localedir here, do not call
3558         gettext_init.
3559
3560         * gettext.C (_): use it.
3561         (gettext_init): delete funciton
3562
3563 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3564
3565         * gettext.C (getLyXMessages): new singleton generating function.
3566
3567         * buffer.C (updateDocLang): adjust
3568
3569         * Makefile.am (messages.o): add target
3570         (main.o): remove target
3571
3572 2003-04-27  John Levon  <levon@movementarian.org>
3573
3574         * bufferlist.C:
3575         * lyx_cb.C:
3576         * lyxfunc.C:
3577         * lyxvc.C: specify cancel button in Alert::prompt
3578
3579 2003-04-26  John Levon  <levon@movementarian.org>
3580
3581         * text3.C:
3582         * lyxfunc.C:
3583         * lfuns.h:
3584         * LyXAction.C: add LFUN_INSET_SETTINGS
3585
3586         * lyxfunc.C: don't enable tabular-feature when there's
3587         just any locking inset
3588
3589 2003-04-26  John Levon  <levon@movementarian.org>
3590
3591         * bufferlist.C: re-add Cancel to buffer close question
3592
3593         * lyxfunc.C: fix import UI a bit
3594
3595 2003-04-25  John Levon  <levon@movementarian.org>
3596
3597         * gettext.C: remove the broken asserts for now
3598
3599 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3600
3601         * messages.C: make case where setlocale cannot comply work better.
3602
3603         * buffer.C (updateDocLang): new function
3604         (changeLanguage): use it
3605         (readFile): use it
3606
3607         * text2.C (setCounter): use B_ a bit.
3608
3609         * lyxlayout.C (Read): be sure to trim the label strings.
3610
3611         * messages.C (Messages): fix typo in comment
3612
3613         * buffer.C (readFile): set message_ after file is loaded.
3614         (makeDocBookFile): remove double return
3615         (changeLanguage): reset message_ upon language change.
3616         (B_): new func, use this to get translated buffer strings.
3617
3618         * main.C: add myself and Jean Marc as authors.
3619
3620 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3621
3622         * messages.[hC]: pimplify Messages, and three different pimpls to be
3623         used in different circumstances.
3624
3625         * gettext.[Ch]: change for use with new message code.
3626
3627 2003-04-24 André Pönitz <poenitz@gmx.net>
3628
3629         * factory.C: support for eqref
3630
3631 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3632
3633         * messages.[Ch]: add missing char
3634
3635         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3636
3637         * messages.[Ch]: New files
3638
3639 2003-04-18  John Levon  <levon@movementarian.org>
3640
3641         * BufferView.h:
3642         * BufferView.C:
3643         * BufferView_pimpl.C:
3644         * lfuns.h:
3645         * LyXAction.C:
3646         * lyxtext.h:
3647         * text2.C: remove layout-copy/paste (bug 778)
3648
3649 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3650
3651         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3652
3653 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3654
3655         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3656         if they succeed. Act accordingly.
3657
3658 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3659
3660         * text2.C (setCharFont): adjust
3661         (setCounter): adjust
3662         (insertStringAsLines): adjust
3663
3664         * text.C (leftMargin): adjust
3665         (setHeightOfRow): adjust
3666
3667         * rowpainter.C (paintFirst): adjust
3668         (paintLast): adjust
3669
3670         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3671         (outerHook): ditto
3672         (isFirstInSequence): ditto
3673         (getEndLabel): ditto
3674         (outerFont): adjust
3675
3676         * paragraph.C (getParLanguage): comment out some hard stuff.
3677
3678         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3679         (sgmlError): ditto
3680         (simpleDocBookOnePar): ditto
3681         (makeDocBookFile): use ParagraphList::iterator
3682
3683         * CutAndPaste.C (pasteSelection): adjust
3684
3685 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3686
3687         * text2.C (getFont): adjust
3688         (getLayoutFont): adjust
3689         (getLabelFont): adjust
3690
3691         * paragraph_funcs.C (TeXOnePar): adjust
3692
3693         * buffer.C (simpleLinuxDocOnePar): adjust
3694         (simpleDocBookOnePar): adjust
3695
3696         * CutAndPaste.C (pasteSelection): adjust
3697
3698         * BufferView.C (getEncoding): adjust
3699
3700         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3701
3702 2003-04-16  John Levon  <levon@movementarian.org>
3703
3704         * lyxfind.C: use parlist stuff for search/changes
3705
3706 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3707
3708         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3709
3710         * text2.C (deleteEmptyParagraphMechanism): adjust
3711
3712         * text2.[Ch] (ownerParagraph): delete func (both of them
3713
3714 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3715
3716         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3717
3718 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3719
3720         * ParagraphList.C: prepare for NO_NEXT
3721
3722 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3723
3724         * text2.C (getFont): adjust
3725         (getLayoutFont): adjust
3726         (getLabelFont): adjust
3727
3728         * paragraph.C (getFont): adjust
3729         (getLabelFont): adjust
3730         (getLayoutFont): adjust
3731
3732         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3733
3734 2003-04-15  John Levon  <levon@movementarian.org>
3735
3736         From Angus Leeming
3737
3738         * lyx_main.C: handle Include in .ui files
3739
3740 2003-04-15  John Levon  <levon@movementarian.org>
3741
3742         * MenuBackend.C: make the doc files length shorter
3743
3744         * ToolbarBackend.h:
3745         * ToolbarBackend.C: handle toolbar placement flags,
3746         Minibuffer
3747
3748 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3749
3750         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3751         adjust
3752
3753         * paragraph_funcs.C (TeXOnePar): adjust
3754
3755         * paragraph.C (getLabelFont): add outerfont arg, adjust
3756         (getLayoutFont): ditto
3757         (simpleTeXOnePar): adjust
3758
3759         * paragraph_pimpl.C (realizeFont): delete func
3760
3761 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3762
3763         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3764         row argument, constify cur argument.
3765
3766 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3767
3768         * text2.C (getFont): adjust
3769         (getLayoutFont): adjust
3770         (getLabelFont): adjust
3771
3772         * paragraph_funcs.C (TeXOnePar): adjust
3773         (outerFont): new func...
3774         (realizeFont): ...moved out from here, changed this to facilitate
3775         transition
3776
3777         * paragraph.C (getFont): take outerfont as arg, adjust
3778         (simpleTeXOnePar): add outerfont arg, adjust
3779
3780         * buffer.C (simpleLinuxDocOnePar): adjust
3781         (simpleDocBookOnePar): adjust
3782
3783         * CutAndPaste.C (pasteSelection): adjust
3784
3785         * BufferView.C (getEncoding): adjust
3786
3787 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3788
3789         * text2.C (setCharFont): adjust
3790         (setCounter): adjust
3791
3792         * text.C (leftMargin): adjust
3793         (setHeightOfRow): adjust
3794
3795         * rowpainter.C (paintFirst): adjust
3796         (paintLast): adjust
3797
3798         * paragraph_pimpl.C (realizeFont): adjust
3799
3800         * paragraph.C (isFirstInSequence): move from here...
3801         * paragraph_funcs.C (isFirstInSequence): ...to here
3802
3803         * paragraph.C (outerHook): move from here...
3804         * paragraph_funcs.C (outerHook): ...to here
3805
3806         * paragraph.C (depthHook): move from here...
3807         * paragraph_funcs.C (depthHook): ...to here
3808
3809         * paragraph.C (getEndLabel): move from here...
3810         * paragraph_funcs.C (getEndLabel): ...to here
3811
3812         * text2.C (realizeFont): move from here...
3813         * paragraph_funcs.C (realizeFont): ...to here
3814
3815 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3816
3817         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3818
3819 2003-04-14  Angus Leeming  <leeming@lyx.org>
3820
3821         * LColor.[Ch]: scrap LColor mathcursor.
3822
3823 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3824
3825         * lyxlex.[Ch] (text): delete function
3826         * trans.C (Load): adjust
3827         * paragraph_funcs.C (readParToken): adjust
3828
3829 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3830
3831         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3832         vector<char> instead of a char[].
3833
3834         * lyxlex_pimpl.C (getString): adjust
3835         (next): adjust
3836         (lex): use getString
3837         (eatLine): adjust
3838         (nextToken): adjust
3839
3840         * lyxlex.C (text): use pimpl_->getString()
3841         (getBool): ditto
3842         (findToken): ditto
3843
3844 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3845
3846         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3847         (makeFontEntriesLayoutSpecific): temp var for par.size()
3848         (setLayout): temp var for ownerParagraphs().end()
3849         (fullRebreak): temp var for rows().end()
3850         (selectionAsString): temp var for boost::next(startpit), realize
3851         that the while really is a regular for loop.
3852         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3853         setCursor in one place.
3854         (setParagraph): temp vr for ownerParagraphs().end()
3855         (updateCounters): make the while loop a for loop
3856         (cutSelection): temp var for ownerParagraphs().end()
3857         (updateInset): make the do {} while() a regular for loop
3858         (getCursorX): use temp vars
3859         (setCurrentFont): use temp vars
3860         (getColumnNearX): use temp vars
3861
3862 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3863
3864         * text.C (transformChar): use temp var for getChar
3865         (computeBidiTables): use temp var for row->par()
3866         (fill): move temp vars for row->par() and pit->layout() earlier in
3867         the function.
3868         (labelFill): use temp var for row->par()
3869         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3870         asc and desc, realize that pit never changes and that firstpit is
3871         just a duplicate and not needed. Exchange rit->par() with pit in a
3872         lot of places.
3873         (breakAgain): use a temp var for boost::next(rit)
3874         (breakAgainOneRow): ditto
3875         (breakParagraph): use a temp var for rows().begin()
3876         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3877         (cursorRightOneWord): use temp var for cursor.par() and
3878         cursor.pos(), remove usage of tmpcursor.
3879         (cursorLeftOneWord): use temp var for cursor.par() and
3880         cursor.pos() only set cur at end of function.
3881
3882 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3883
3884         * text.C, text2.C: exchange all usage of Paragraph::next with
3885         boost::next(ParagraphList::iterator)
3886
3887         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3888
3889         * text2.C (cursorTop): simplify implementation
3890         (cursorBottom): ditto
3891         (setParagraph): use ParagraphList::iterator
3892         (setCurrentFont): adjust
3893         (getColumnNearX): adjust
3894         (cursorRight): adjust
3895         (cursorLeft): remove usage of Paragraph::previous
3896         (cursorUpParagraph): ditto
3897         (deleteEmptyParagraphMechanism): slight cleanup
3898
3899         * text.C (isBoundary): take a Paragraph const & instead of a
3900         pointer as arg.
3901         (addressBreakPoint): ditto
3902         (leftMargin): remove usage of Paragraph::previous.
3903         (setHeightOfRow): ditto
3904         (cursorLeftOneWord): ditto
3905         (selectNextWordToSpellcheck): ditto
3906         (Delete): ditto
3907         (backspace): ditto
3908         (breakParagraph): remove one usage of Paragraph::next
3909         (redoParagraph): ditto
3910         (acceptChange): ditto
3911         (insertChar): adjust
3912         (rowBreakPoint): adjust
3913
3914         * bufferview_funcs.C (toggleAndShow): adjust
3915
3916 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3917
3918         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3919         methods to access it.
3920         * lyxtext.h:
3921         * text.C: Added updateRowPositions to compute all row positions.
3922         Make top_y and getRowNearY() to use the cached y position
3923
3924 2003-04-11  John Levon  <levon@movementarian.org>
3925
3926         * text.C (rowBreakPoint): reintroduce the labelEnd
3927         checks, code copied from the row fill stuff. Deep voodoo.
3928
3929         * text.C (fill): add a comment and debugging for the
3930         next poor soul.
3931
3932 2003-04-11  John Levon  <levon@movementarian.org>
3933
3934         * text.C: make sure fullrow insets get wrapped to the next line,
3935         even when they're in a manual label
3936
3937 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3938
3939         * text2.C (insertParagraph): make it take ParagraphList::iterator
3940         as arg.
3941         (setLayout): make it return ParagraphList::iterator
3942         (redoParagraphs): ditto
3943         (setCounter): ditto
3944         (checkParagraph): ditto
3945
3946         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3947
3948         * text2.C: adjust several funcs.
3949         (realizeFont): take a ParagraphList::iterator as arg.
3950         (getLayoutFont): ditto
3951         (getLabelFont): ditto
3952         (setCharFont): ditto
3953
3954         * text.C: adjust several funcs.
3955
3956 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3957
3958         * text.C (selectNextWordToSpellcheck): don't accidentally
3959         skip insets
3960
3961 2003-04-10  John Levon  <levon@movementarian.org>
3962
3963         * ToolbarBackend.C (getIcon): special handling for
3964         LFUN_MATH_DELIM
3965
3966 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3967
3968         * text2.C (cursorRight): a getChar assert fixed
3969
3970 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3971
3972         * text2.C (getFont): change to take a ParagraphList::iterator
3973         instead of Paragraph*
3974         Adjust several functions.
3975
3976         * text.C (transformChar): change to take a ParagraphList::iterator
3977         instead of Paragraph*
3978         (singleWidth): ditto
3979         Adjust several functions.
3980
3981         * rowpainter.C: adjust several functions
3982         * rowpainter.h:store a ParagraphList::iterator and not a
3983         Paragraph&.
3984
3985
3986 2003-04-09  John Levon  <levon@movementarian.org>
3987
3988         * lyxfunc.C:
3989         * lfuns.h:
3990         * LyXAction.h:
3991         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3992         and the "help" bits as well
3993
3994 2003-04-09  John Levon  <levon@movementarian.org>
3995
3996         * ToolbarBackend.h:
3997         * ToolbarBackend.C: allow multiple toolbars
3998
3999 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4000
4001         * undo_funcs.C (setCursorParUndo): adjust
4002
4003         * text_funcs.C (transposeChars): adjust
4004
4005         * text3.C (gotoNextInset): adjust
4006         (dispatch): adjust
4007
4008         * text2.C (setLayout): adjust
4009         (changeDepth): adjust
4010         (setFont): adjust
4011         (redoParagraphs): adjust
4012         (selectionAsString): adjust
4013         (setParagraph): adjust
4014         (insertInset): adjust
4015         (cutSelection): adjust
4016         (copySelection): adjust
4017         (pasteSelection): adjust
4018         (insertStringAsLines): adjust
4019         (updateInset): adjust
4020         (setCursor): change to take a ParagraphList::iterator parameter
4021         (setCursorIntern): change to take a ParagraphList::iterator parameter
4022         (setCurrentFont): adjust
4023         (cursorLeft): adjust
4024         (cursorRight): adjust
4025         (deleteEmptyParagraphMechanism): adjust
4026
4027         * text.C (breakParagraph): adjust
4028         (insertChar): adjust
4029         (acceptChange): adjust
4030         (rejectChange): adjust
4031         (selectNextWordToSpellcheck): adjust
4032         (changeCase): adjust
4033         (Delete): adjust
4034         (backspace): adjust
4035
4036         * lyxfind.C (SearchForward): adjust
4037         (SearchBackward): adjust
4038         (nextChange): adjust
4039
4040         * lyxcursor.C (par): adjust
4041
4042         * lyxcursor.h: store a ParagraphList::iterator instead of a
4043         Paragraph*
4044
4045         * lyx_cb.C (getPossibleLabel): adjust
4046
4047         * bufferview_funcs.C (toggleAndShow): adjust
4048
4049         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4050         (dispatch): adjust
4051
4052         * BufferView.C (removeAutoInsets): adjust
4053         (lockedInsetStoreUndo): adjust
4054
4055 2003-04-09  John Levon  <levon@movementarian.org>
4056
4057         * ToolbarBackend.C: try icon without argument
4058         if with argument fails
4059
4060 2003-04-08  John Levon  <levon@movementarian.org>
4061
4062         * ToolbarBackend.h:
4063         * ToolbarBackend.C: add getIcon(), handle tooltip,
4064         and change from "Icon" to "Item".
4065
4066 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4067
4068         * BufferView.C (lockInset): another bad getchar crunched
4069
4070 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4071
4072         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4073         again)
4074
4075 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4076
4077         * lyxfind.C (searchForward, searchBackwards): bug 782
4078
4079 2003-04-07  John Levon  <levon@movementarian.org>
4080
4081         * paragraph.C: remove dead comment
4082
4083         * text.C: remove troublesome depth-fiddling code
4084         in leftMargin() and rightMargin() (bug 1017)
4085
4086         * text.C: fix breaking of rows in nested lists
4087         (bug 1004)
4088
4089         * text2.C (updateCounters): fix up depth values
4090         (bug 1013)
4091
4092 2003-04-07  John Levon  <levon@movementarian.org>
4093
4094         * BufferView_pimpl.C: clear message when doc finishes resizing,
4095         and after a mouse event
4096
4097         * lyxfunc.C: clear message after exiting inset
4098
4099 2003-04-07  John Levon  <levon@movementarian.org>
4100
4101         * bufferview_funcs.C: show math status not outside
4102         status in the statusbar
4103
4104 2003-04-07  John Levon  <levon@movementarian.org>
4105
4106         * lyxfunc.C: note status changed after a depth change
4107
4108 2003-04-04  Angus Leeming  <leeming@lyx.org>
4109
4110         * LaTeX.h: move AuxInfo operator==, != out of line.
4111         Remove LaTeX virtual destructor; nothing derives from it.
4112         Move operator()() out of public area and rename it startscript().
4113         Change protected for private.
4114
4115 2003-04-04  Angus Leeming  <leeming@lyx.org>
4116
4117         * lyxfunc.C:
4118         * text2.C: remove unneeded #includes.
4119
4120 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4121
4122         * text2.C (dEPM): fix the heigth of the next row
4123
4124 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4125
4126         * text.C: squashed an invalid getChar requester + some ws changes
4127
4128 2003-04-03  John Levon  <levon@movementarian.org>
4129
4130         * bufferview_funcs.h:
4131         * bufferview_funcs.C:
4132         * lyxfunc.C:
4133         * lyxtext.h:
4134         * text2.C: make getStatus work for the env depth lfuns
4135
4136 2003-04-03  John Levon  <levon@movementarian.org>
4137
4138         * bufferview_funcs.h:
4139         * bufferview_funcs.C:
4140         * lyxfunc.C:
4141         * lyxtext.h:
4142         * text2.C: parlistize decDepth(), by merging it with incDepth()
4143
4144 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4145
4146         * lyxrow.h: store a ParagraphList::iterator instead of a
4147         Paragraph* and adjust other class functions to suit.
4148
4149         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4150         above.
4151
4152 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4153
4154         * text2.C (setCursor): do not anchor to cursor row for the time being
4155
4156 2003-04-02  John Levon  <levon@movementarian.org>
4157
4158         * LyXAction.C:
4159         * lfuns.h:
4160         * lyx_main.C:
4161         * lyxtext.h:
4162         * text.C:
4163         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4164
4165 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4166
4167         * paragraph.h: make ParagraphList and ParagraphList::iterator
4168         friends of Paragraph.
4169
4170         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4171
4172         * ParagraphList.C: Use the private next_ and previous_ from
4173         Paragraph.
4174
4175 2003-04-01  John Levon  <levon@movementarian.org>
4176
4177         * ToolbarBackend.h:
4178         * ToolbarBackend.C:
4179         * Makefile.am: rename, remove defaults gunk
4180
4181         * MenuBackend.h:
4182         * MenuBackend.C: remove defaults gunk
4183
4184         * Languages.h:
4185         * Languages.C: remove defaults gunk
4186
4187         * lyx_main.h:
4188         * lyx_main.C: error out if files couldn't be found.
4189
4190 2003-04-02  John Levon  <levon@movementarian.org>
4191
4192         * text2.C: make incDepth() use parlist
4193
4194 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4195
4196         * undo_funcs.C (firstUndoParagraph): adjust
4197
4198         * text3.C (gotoInset): adjust
4199         (dispatch): adjust, and rewrite loop.
4200
4201         * text2.C (init): adjust, and rewrite loop.
4202         (redoParagraphs): adjust
4203         (updateInset): adjust, and rewrite loop.
4204         (deleteEmptyParagraphMechanism): adjust
4205
4206         * tabular.C (LyXTabular): adjust
4207         (SetMultiColumn): adjust
4208         (TeXRow): adjust
4209
4210         * lyxtext.[Ch] (ownerParagraph): delete function
4211         (ownerParagraphs): new function returns a ParagraphList.
4212
4213         * BufferView.C (removeAutoInsets): adjust
4214         (insertErrors): adjust
4215         (setCursorFromRow): adjust
4216
4217 2003-04-01  Angus Leeming  <leeming@lyx.org>
4218
4219         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4220         in the frontends.
4221
4222 2003-04-02  John Levon  <levon@movementarian.org>
4223
4224         * lyxtext.h:
4225         * text.C:
4226         * Makefile.am:
4227         * text_funcs.h:
4228         * text_funcs.C: make transposeChars a free function
4229
4230         * lyxrow_funcs.C: remove wrong comment
4231
4232 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4233
4234         * lyxtext.h: adjust
4235         * rowpainter.C: adjust
4236         * text.C: adjust
4237         * text2.C: adjust
4238         * text3.C: adjust
4239
4240         * lyxrow_funcs. [Ch]: new files
4241
4242         * lyxrow.[Ch]: remove next and previous pointers
4243         (next,previous): remove accessor functions
4244         (isParEnd): move to lyxrow_funcs
4245         (lastPos): move to lyxrow_funcs
4246         (nextRowIsAllInset): move to lyxrow_funcs
4247         (lastPrintablePos): move to lyxrow_funcs
4248         (numberOfSeparators): move to lyxrow_funcs
4249         (numberOfHfills): move to lyxrow_funcs
4250         (numberOfLabelHfills): move to lyxrow_funcs
4251         (hfillExpansion): move to lyxrow_funcs
4252
4253         * lyxfunc.C: adjust
4254
4255         * bufferview_funcs.C (toggleAndShow): adjust
4256
4257         * RowList.h: Remove class RowList from file leave just a
4258         std::list<Row>.
4259
4260         * RowList.C: delete file
4261
4262         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4263         and lyxrow_funcs.h
4264
4265 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4266
4267         * text3.C (cursorPrevious): adjust
4268         (cursorNext): adjust
4269         (dispatch): adjust
4270
4271         * text2.C (redoHeightOfParagraph): adjust
4272         (redoDrawingOfParagraph): adjust
4273         (setCursor): adjust
4274
4275         * text.C (breakParagraph): adjust
4276         (insertChar): adjust
4277         (backspace): adjust
4278
4279         * rowpainter.C (RowPainter): adjust
4280         (leftMargin): simplify and adjust
4281         (most rowpainter functions): adjust.
4282
4283         * rowpainter.h: store the row as RowList::iterator not as Row*
4284
4285         * lyxcursor.C (row): taka RowList::iterator as arg
4286         (irow): ditto
4287
4288         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4289         of Row*.
4290
4291 2003-04-01  Angus Leeming  <leeming@lyx.org>
4292
4293         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4294         stuff like bool Bool.
4295
4296 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4297
4298         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4299         rewrite a loop
4300
4301 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4302
4303         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4304         RowList::iterator.
4305
4306         * lyxtext.h (rows): drop one version and leve a const variant that
4307         returns a RowList::iterator.
4308
4309 2003-03-31  Angus Leeming  <leeming@lyx.org>
4310
4311         * text.C (fill): ensure that the signature is the same as that in the
4312         header file.
4313
4314 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4315
4316         * text2.C (redoParagraphs): adjust
4317         (updateCounters): adjust
4318         (checkParagraph): adjust
4319         (getColumnNearX): adjust and reformat a bit.
4320
4321         * text.C (top_y): adjust
4322         (workWidth): adjust
4323         (leftMargin): adjust
4324         (prepareToPrint): adjust
4325         (getRow): adjust
4326         (getRowNearY): adjust
4327
4328         * lyxtext.h: make rowlist_ mutable.
4329
4330         * RowList.h: add const_iterator
4331         * RowList.C: adjust for RowList::const_iterator.
4332
4333         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4334         adjust.
4335
4336 2003-03-31  John Levon  <levon@movementarian.org>
4337
4338         * lyxrc.h:
4339         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4340
4341         * lyx_main.C: set default fonts from using lyx_gui funcs
4342
4343         * exporter.C: pdf_mode moved from lyxrc
4344
4345         * lyx_cb.C:
4346         * lyxfunc.C: changes from above
4347
4348 2003-03-31  John Levon  <levon@movementarian.org>
4349
4350         * lyx_main.C: fix to the last fix
4351
4352 2003-03-31  John Levon  <levon@movementarian.org>
4353
4354         * bufferlist.C: "Load original" -> "Load Original"
4355
4356         * converter.C:
4357         * exporter.C:
4358         * importer.C:
4359         * lyx_main.C:
4360         * format.C: more Alert cleanups
4361
4362 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4363
4364         * text2.C (removeParagraph): make it take a RowList::iterator as
4365         arg, adjust.
4366         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4367         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4368
4369         * text.C (anchor_row): make it take a RowList::iterator as arg,
4370         adjust.
4371         (computeBidiTables): make it take a const reference to Row instead
4372         of Row pointer, adjust.
4373         (leftMargin): make it take a RowList::iterator as arg, adjust.
4374         (rowBreakPoint): adjust
4375         (breakAgainOneRow): make it take a RowList::iterator as arg,
4376         adjust.
4377         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4378
4379         * bufferview_funcs.C (toggleAndShow): adjust
4380
4381 2003-03-30  John Levon  <levon@movementarian.org>
4382
4383         * Makefile.am:
4384         * BoostFormat.h:
4385         * boost-inst.C: moved to support
4386
4387         * several files: changes as a result
4388
4389 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4390
4391         * text2.C (LyXText): adjust.
4392         (init): adjust
4393         (removeRow): make it take a RowList::iterator as arg, adjust.
4394         (fullRebreak): adjust
4395         (deleteEmptyParagraphMechanism): adjust
4396         (clearPaint): adjust
4397         (postPaint): adjust
4398
4399         * text.C (top_y): adjust
4400         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4401         (breakAgain): make it take a RowList::iterator as arg, adjust.
4402         (breakParagraph): adjust
4403         (insertChar): adjust
4404         (backspace): adjust
4405
4406         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4407         need_break_row, and refresh_row.
4408
4409         * text3.C (dispatch): adjust
4410
4411         * text2.C (checkParagraph): adjust
4412         (setCursor): adjust
4413         (setCursorFromCoordinates): adjust
4414
4415         * text.C (top_y): adjust
4416         (workWidth): adjust
4417         (getRow): make it return a RowList::iterator, adjust
4418         (getRowNearY): make it return a RowList::iterator, adjust
4419
4420         * text2.C (init): adjust
4421         (insertRow): remove function
4422         (insertParagraph): adjust
4423         (redoParagraphs): adjust
4424         (fullRebreak): adjust
4425         (updateCounters): adjust
4426
4427         * text.C (top_y): rewrite to use RowList iterators.
4428         (top_y): adjust
4429         (setHeightOfRow): rewrite to sue RowList iterators.
4430         (appendParagraph): adjust
4431         (breakAgain): adjust
4432         (breakAgainOneRow): adjust
4433         (breakParagraph): adjust
4434         (getRow): adjust
4435         (getRowNearY): adjust, and remove commented code.
4436
4437         * lyxtext.h (firstRow): delete function
4438         (lastRow): delete function
4439         (rows): new function (const and non-const versions.)
4440         (insertRow): delete function
4441
4442         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4443
4444 2003-03-29  John Levon  <levon@movementarian.org>
4445
4446         * BufferView_pimpl.C: always update scrollbar top
4447         because pasting text when we're anchored could mean we
4448         miss an update altogether
4449
4450 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4451
4452         * text2.C (init): use rowlist_.end() and not 0.
4453         (insertRow): change to take a RowList::iterator as arg, adjust
4454         for this.
4455         (insertParagraph): change to take a RowList::iterator as arg,
4456         adjust for this.
4457         (redoParagraphs): remove some debug msgs.
4458
4459         * text.C (appendParagraph): change to take a RowList::iterator
4460         arg, adjust for this.
4461         (breakAgain): add an assert
4462         (breakAgainOneRow): ditto
4463
4464 2003-03-29  John Levon  <levon@movementarian.org>
4465
4466         * text2.C: do not clear selection after inc/decDepth
4467         (bug 550)
4468
4469 2003-03-29  John Levon  <levon@movementarian.org>
4470
4471         * BufferView.C:
4472         * buffer.C: fix broken strerrors according to Lars
4473
4474 2003-03-29  John Levon  <levon@movementarian.org>
4475
4476         * converters.C: more Alert cleanups
4477
4478 2003-03-29  John Levon  <levon@movementarian.org>
4479
4480         * bufferview_funcs.C: remove pointless Alert
4481
4482         * buffer.C: fix confusing error message when
4483         a template is chmoded 000
4484
4485 2003-03-29  John Levon  <levon@movementarian.org>
4486
4487         * BufferView.C:
4488         * BufferView.h:
4489         * BufferView_pimpl.C: Alert fixes
4490
4491         * Makefile.am:
4492         * tabular.C:
4493         * tabular-old.C: remove unused table compat reading
4494
4495 2003-03-29  John Levon  <levon@movementarian.org>
4496
4497         * BufferView.C:
4498         * buffer.C:
4499         * lyx_cb.h:
4500         * lyx_cb.C: more Alert cleanups
4501
4502         * lyxfunc.C: don't allow chktex if not latex document
4503
4504 2003-03-29  John Levon  <levon@movementarian.org>
4505
4506         * lyx_cb.C:
4507         * BufferView.C:
4508         * buffer.C: warnings pushed down from support/,
4509         kill err_alert
4510
4511 2003-03-29  John Levon  <levon@movementarian.org>
4512
4513         * lyxfunc.C: safety check for C-r (revert)
4514
4515 2003-03-29  John Levon  <levon@movementarian.org>
4516
4517         * bufferlist.h:
4518         * bufferlist.C: several UI fixes using Alert::prompt.
4519         Fix the pointless looping quit code. Fix stupid revert
4520         behaviour (bug 938)
4521
4522         * lyxvc.h:
4523         * lyxvc.C:
4524         * lyx_cb.C: use Alert::prompt
4525
4526         * lyx_main.C: remove a silly question
4527
4528         * lyxfunc.C: remove a couple of silly questions,
4529         use Alert::prompt
4530
4531 2003-03-28  John Levon  <levon@movementarian.org>
4532
4533         * text2.C: fix bug 974 (End on empty par)
4534
4535 2003-03-28  John Levon  <levon@movementarian.org>
4536
4537         * BufferView_pimpl.C:
4538         * LyXAction.C:
4539         * lfuns.h: remove do-nothing math greek lfuns
4540
4541 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4542
4543         * lyxgluelength.h (isValidGlueLength): add default arg on
4544         parameter 2. Remove default arg from friend in class.
4545
4546         * lyxlength.h (isValidLength): add default arg on parameter 2.
4547         Remove default arg from friend in class.
4548
4549         * text2.C (LyXText): adjust, initialize refresh_row.
4550         (init): adjust
4551         (removeRow): adjust
4552         (insertRow): adjust
4553         (insertParagraph): adjst
4554         (redoParagraphs): adjust
4555         (fullRebreak): adjust
4556         (updateCounters): adjust
4557         (deleteEmptyParagraphMechanism): first attempt at fixing a
4558         crashing bug.
4559
4560         * text.C (top_y): adjust
4561         (setHeightOfRow): adjust
4562         (getRow): adjust
4563         (getRowNearY): adjust
4564
4565         * lyxtext.h: include RowList.h
4566         (~LyXText): not needed anymore, deleted.
4567         (firstRow): modify for RowList
4568         (lastRow): new function
4569         Delete firstrow and lastrow class variables, add a Rowlist
4570         rowlist_ class variable.
4571
4572         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4573         paragraph is empty.
4574
4575         * RowList.C (insert): fix case where it == begin().
4576
4577 2003-03-26  Angus Leeming  <leeming@lyx.org>
4578
4579         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4580         the thesaurus dialog.
4581
4582 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4583
4584         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4585
4586         * RowList.[Ch]: new files
4587
4588         * ParagraphList.C (erase): handle the case where it == begin
4589         correctly.
4590
4591 2003-03-25  John Levon  <levon@movementarian.org>
4592
4593         * Makefile.am:
4594         * aspell_local.h:
4595         * aspell.C: add new aspell support
4596
4597         * lyxrc.h:
4598         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4599         have it accessible.
4600
4601 2003-03-25  Angus Leeming  <leeming@lyx.org>
4602
4603         * lfuns.h:
4604         * LyXAction.C (init): new LFUN_INSET_INSERT.
4605
4606         * BufferView_pimpl.C (dispatch): split out part of the
4607         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4608
4609         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4610         LFUN_INSET_APPLY.
4611
4612 2003-03-25  Angus Leeming  <leeming@lyx.org>
4613
4614         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4615
4616 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4617
4618         * text2.C:
4619         * text3.C: remove useless row->height(0)
4620
4621 2003-03-25  John Levon  <levon@movementarian.org>
4622
4623         * lyxtext.h:
4624         * text2.C:
4625         * text3.C: rename the refreshing stuff to better names
4626
4627 2003-03-24  John Levon  <levon@movementarian.org>
4628
4629         * BufferView_pimpl.h:
4630         * BufferView_pimpl.C: update layout choice on a mouse
4631         press/release
4632
4633 2003-03-23  John Levon  <levon@movementarian.org>
4634
4635         * Makefile.am: fix commandtags.h reference
4636
4637 2003-03-22  John Levon  <levon@movementarian.org>
4638
4639         * BufferView_pimpl.C:
4640         * lyxtext.h:
4641         * rowpainter.C:
4642         * rowpainter.h:
4643         * text.C:
4644         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4645
4646 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4647
4648         * lyxtext.h:
4649         * text.C: take the rtl methods out of line
4650
4651 2003-03-21 André Pönitz <poenitz@gmx.net>
4652
4653         * metricsinfo.[Ch]: new files containing structures to be passed around
4654         during the two-phase-drawing...
4655
4656 2003-03-21 André Pönitz <poenitz@gmx.net>
4657
4658         * lyxtextclass.C: read 'environment' tag.
4659
4660 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4661
4662         * text2.C (removeRow): fix bug 964
4663
4664 2003-03-20  John Levon  <levon@movementarian.org>
4665
4666         * rowpainter.C:
4667         * text.C:
4668         * text2.C: paint cleanups. Inset::update() dropped font
4669         parameter
4670
4671 2003-03-19  John Levon  <levon@movementarian.org>
4672
4673         * lyxfunc.C: only fitcursor/markDirty if available()
4674
4675 2003-03-19  John Levon  <levon@movementarian.org>
4676
4677         * commandtags.h: rename to ...
4678
4679         * lfuns.h: ... this, and renumber / cleanup
4680
4681 2003-03-19  John Levon  <levon@movementarian.org>
4682
4683         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4684         fit the cursor after an lfun
4685
4686         * BufferView.h:
4687         * BufferView.C:
4688         * BufferView_pimpl.h:
4689         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4690
4691         * LyXAction.C: layout-character should have ReadOnly
4692
4693         * ParagraphParameters.C:
4694         * buffer.C:
4695         * bufferview_funcs.C:
4696         * lyx_cb.C:
4697         * lyxfind.C:
4698         * lyxtext.h:
4699         * text.C:
4700         * text2.C:
4701         * text3.C:
4702         * undo_funcs.C: changes from above
4703
4704 2003-03-18  John Levon  <levon@movementarian.org>
4705
4706         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4707         remove it from update()
4708
4709         * lyxfunc.C: update layout choice after an lfun
4710
4711         * text3.C: remove extra updateLayoutChoice()s
4712
4713 2003-03-18  John Levon  <levon@movementarian.org>
4714
4715         * text.C: top_y change means full repaint, fix
4716         a drawing bug with cursor movement
4717
4718 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4719
4720         * lyxtext.h:
4721         * text.C:
4722         * text2.C: anchor row on setCursor
4723
4724 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4725
4726         * lyxtext.h: remove almost all mutable keywords
4727         * text.C:
4728         * text2.C:
4729         * text3.C: remove const keywords accordingly
4730
4731 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4732
4733         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4734         anon namespace
4735         (TeXEnvironment): ditto
4736         (TeXOnePar): ditto
4737
4738 2003-03-17  John Levon  <levon@movementarian.org>
4739
4740         * text.C (rowBreakPoint): remove attempt to fix displayed
4741         math insets inside a manual label
4742
4743 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4744
4745         * lyxtext.h: remove BufferView* as first arg from almost all class
4746         functions.
4747         * other files: adjust.
4748
4749 2003-03-17  John Levon  <levon@movementarian.org>
4750
4751         * lyxtext.h:
4752         * undo_funcs.C:
4753         * text2.C: more paint cleanups
4754
4755         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4756
4757         * rowpainter.h:
4758         * rowpainter.C: remove "smart" background painting code
4759
4760 2003-03-16  John Levon  <levon@movementarian.org>
4761
4762         * lyxtext.h:
4763         * text.C:
4764         * text2.C:
4765         * text3.C: add helper functions for setting refresh_row/y
4766
4767 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4768
4769         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4770         newline inset which *can* get inserted in the pass_thru layouts.
4771         This is primarily for literate documents.
4772
4773 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4774
4775         * buffer.C: increment LYX_FORMAT to 223
4776
4777 2003-03-14 André Pönitz <poenitz@gmx.net>
4778
4779         * textclass.h: prepare for environment handling, ws changes
4780         * lyxlayout.C: read latexheader and latexfooter tags
4781
4782 2003-03-14  John Levon  <levon@movementarian.org>
4783
4784         * text2.C: rewrite ::status() a bit
4785
4786 2003-03-13  John Levon  <levon@movementarian.org>
4787
4788         * lyxtext.h: add some docs
4789
4790 2003-03-13  John Levon  <levon@movementarian.org>
4791
4792         * lyxtext.h:
4793         * text.C:
4794         * text2.C:
4795         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4796
4797 2003-03-13  John Levon  <levon@movementarian.org>
4798
4799         * text3.C: fix appendix redrawing
4800
4801 2003-03-13  John Levon  <levon@movementarian.org>
4802
4803         * text.C (setHeightOfRow):
4804         * rowpainter.h:
4805         * rowpainter.C: make appendix mark have the text
4806           "Appendix" so the user knows what it is
4807
4808         * LColor.h:
4809         * LColor.C: s/appendixline/appendix/ from above
4810
4811 2003-03-13  John Levon  <levon@movementarian.org>
4812
4813         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4814
4815         * text.C: fix a getChar(pos) bug properly
4816
4817 2003-03-13  Angus Leeming  <leeming@lyx.org>
4818
4819         * commandtags.h:
4820         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4821         Probably only temporary. Let's see how things pan out.
4822
4823         * BufferView.C (unlockInset):
4824         * BufferView_pimpl.C (fitCursor):
4825         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4826
4827         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4828         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4829
4830         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4831         new functions that convert ParagraphParameters to and from a string.
4832
4833         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4834         BufferView::Pimpl's dispatch.
4835         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4836
4837 2003-03-13 André Pönitz <poenitz@gmx.net>
4838
4839         * lyxfunc.C:
4840         * text3.C:
4841         * factory.C: make it aware of InsetEnv
4842
4843 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4844
4845         * text2.C (setCursor): never ask for one past last
4846         (setCursor): add some debugging messages.
4847
4848         * text.C (singleWidth): never ask for one past last
4849         (singleWidth): ditto
4850         (leftMargin): ditto
4851         (rightMargin): ditto
4852         (rowBreakPoint): ditto
4853         (setHeightOfRow): ditto
4854         (prepareToPrint): ditto
4855
4856         * rowpainter.C (paintBackground): never ask for one past last
4857         (paintText): never ask for one past last
4858
4859         * paragraph_pimpl.C (getChar): make the assert stricter, never
4860         allow the one past last pos to be taken
4861
4862         * paragraph.C (getChar): ws changes only
4863
4864         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4865         (numberOfSeparators): ditto
4866         (numberOfHfills): ditto
4867
4868 2003-03-12  John Levon  <levon@movementarian.org>
4869
4870         * author.h:
4871         * author.C:
4872         * bufferparams.h:
4873         * bufferparams.C:
4874         * paragraph_funcs.C: fix per-buffer authorlists
4875
4876 2003-03-12  John Levon  <levon@movementarian.org>
4877
4878         * text.C: fix newline in right address
4879
4880 2003-03-12  Angus Leeming  <leeming@lyx.org>
4881
4882         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4883         duplicate those in LyXFunc::dispatch.
4884
4885         * commandtags.h:
4886         * LyXAction.C:
4887         * ToolbarDefaults.C:
4888         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4889         Add LFUN_FONTFREE_UPDATE.
4890
4891         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4892         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4893
4894         * bufferview_func.[Ch]: several new functions to facilliate
4895         transfer of data to and from the character dialog.
4896
4897 2003-03-12  John Levon  <levon@movementarian.org>
4898
4899         * buffer.C:
4900         * paragraph.h:
4901         * paragraph.C:
4902         * paragraph_funcs.C:
4903         * paragraph_pimpl.C:
4904         * sgml.C:
4905         * tabular.C:
4906         * text.C:
4907         * text3.C: remove META_NEWLINE in favour of an inset
4908
4909         * rowpainter.h:
4910         * rowpainter.C: remove paintNewline (done by inset)
4911
4912 2003-03-12  John Levon  <levon@movementarian.org>
4913
4914         * paragraph_pimpl.C: complain about bad getChar()s
4915         for a while at least
4916
4917 2003-03-12  John Levon  <levon@movementarian.org>
4918
4919         * buffer.h:
4920         * buffer.C: move paragraph read into a separate function,
4921         a little renaming to reflect that.
4922
4923         * bufferparams.h:
4924         * bufferparams.C: remove the author_ids map, not necessary now
4925
4926         * factory.h:
4927         * factory.C: moved Buffer::readInset to here
4928
4929         * paragraph_funcs.h:
4930         * paragraph_funcs.C: readParagraph free function moved from
4931         buffer.C
4932
4933         * tabular.C: name change
4934
4935 2003-03-12  John Levon  <levon@movementarian.org>
4936
4937         * buffer.C:
4938         * ParagraphParameters.C: move par params input to
4939         a read() method
4940
4941         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4942         behave like a normal read from the stream wrt reading
4943         a line vs. a \\token
4944
4945 2003-03-12  John Levon  <levon@movementarian.org>
4946
4947         * paragraph.C:
4948         * ParagraphParameters.h:
4949         * ParagraphParameters.C: move output code to a
4950         ::write() method
4951
4952 2003-03-12  John Levon  <levon@movementarian.org>
4953
4954         * BufferView.C (insertLyXFile):
4955         * buffer.h:
4956         * buffer.C:
4957         * tabular.C: use a parlist iterator for creating the
4958           document.
4959
4960 2003-03-12  John Levon  <levon@movementarian.org>
4961
4962         * buffer.C: make current_change static local not
4963           static file-scope
4964
4965 2003-03-12  John Levon  <levon@movementarian.org>
4966
4967         * buffer.C: fix insertStringAsLines for change tracking
4968
4969 2003-03-12  John Levon  <levon@movementarian.org>
4970
4971         * BufferView.C:
4972         * tabular.C:
4973         * buffer.h:
4974         * buffer.C:
4975         * bufferparams.h:
4976         * bufferparams.C: move author list into params. Rename some
4977           functions. Move the header reading into a separate token
4978           loop. Move the header token reading into BufferParams.
4979
4980 2003-03-12  John Levon  <levon@movementarian.org>
4981
4982         * changes.C: put debug inside lyxerr.debugging() checks
4983
4984 2003-03-11 André Pönitz <poenitz@gmx.net>
4985
4986         * factory.C: make it aware of InsetHFill
4987
4988 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4989
4990         * buffer.C (latexParagraphs): move function from here...
4991         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4992         args.
4993
4994 2003-03-10  Angus Leeming  <leeming@lyx.org>
4995
4996         * LyXAction.C (init): fix bug in poplating array with multiple entries
4997         with the same LFUN (spotted by JMarc).
4998
4999 2003-03-10  John Levon  <levon@movementarian.org>
5000
5001         * text.C:
5002         * text2.C: move getColumnNearX() near its
5003         only call site
5004
5005 2003-03-10  John Levon  <levon@movementarian.org>
5006
5007         * text.C: fix break before a minipage
5008
5009 2003-03-10  John Levon  <levon@movementarian.org>
5010
5011         * text.C: fix the last commit
5012
5013 2003-03-09  John Levon  <levon@movementarian.org>
5014
5015         * lyxtext.h:
5016         * text.C:
5017         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5018         bug 365 (don't break before insets unless needed). Don't
5019         return a value > last under any circumstances.
5020
5021 2003-03-09  Angus Leeming  <leeming@lyx.org>
5022
5023         * BufferView_pimpl.C (trackChanges, dispatch): call
5024         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5025
5026 2003-03-09  Angus Leeming  <leeming@lyx.org>
5027
5028         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5029         than Dialogs::showAboutlyx().
5030
5031 2003-03-09  Angus Leeming  <leeming@lyx.org>
5032
5033         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5034         than Dialogs::showTabularCreate().
5035
5036 2003-03-09  John Levon  <levon@movementarian.org>
5037
5038         * lyxtext.h:
5039         * text.C:
5040         * text2.C: 3rd arg to nextBreakPoint was always the same.
5041           Use references.
5042
5043 2003-03-08  John Levon  <levon@movementarian.org>
5044
5045         * lyxrow.C:
5046         * paragraph.C:
5047         * paragraph.h:
5048         * rowpainter.C:
5049         * text.C:
5050         * text2.C: Remove the "main" bit from the "main body"
5051           notion.
5052
5053 2003-03-08  John Levon  <levon@movementarian.org>
5054
5055         * text.C (leftMargin): The left margin of an empty
5056         manual label paragraph should not include the label width
5057         string length.
5058
5059         * text.C (prepareToPrint): don't attempt to measure hfills
5060         for empty manual label paragraphs - the answer should be 0
5061
5062 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5063
5064         * CutAndPaste.C: remove commented code and reindent.
5065
5066 2003-03-08  John Levon  <levon@movementarian.org>
5067
5068         * lyxfunc.h:
5069         * lyxfunc.C: move reloadBuffer()
5070
5071         * BufferView.h:
5072         * BufferView.C: to here
5073
5074         * lyxvc.C: add comment
5075
5076         * vc-backend.h:
5077         * vc-backend.C: call bv->reload() to avoid
5078           getStatus() check on MENURELOAD
5079
5080 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5081
5082         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5083         to an old format .dep file.
5084
5085 2003-03-07  Angus Leeming  <leeming@lyx.org>
5086
5087         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5088         when the LFUN_MOUSE_RELEASE should have been handled by
5089         inset->localDispatch.
5090
5091 2003-03-07  Angus Leeming  <leeming@lyx.org>
5092
5093         * BufferView_pimpl.C (dispatch):
5094         * LyXAction.C (init):
5095         * ToolbarDefaults.C (init):
5096         * commandtags.h:
5097         * lyxfunc.C (getStatus):
5098         remove LFUN_INSET_GRAPHICS.
5099
5100         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5101
5102 2003-03-07  Angus Leeming  <leeming@lyx.org>
5103
5104         * commandtags.h:
5105         * LyXAction.C (init):
5106         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5107
5108         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5109
5110         * commandtags.h:
5111         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5112
5113         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5114         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5115
5116 2003-03-07  Angus Leeming  <leeming@lyx.org>
5117
5118         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5119         remove "ert".
5120
5121 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5122
5123         * ParagraphList.C (front): new function
5124         (back): implement
5125
5126 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5127
5128         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5129         and top_row_offset_. removed var first_y.
5130         * text.C (top_y):
5131         * text2.C (LyXText, removeRow):
5132         * text3.C:
5133         * BufferView_pimpl.C:
5134         use these methods instead of using first_y
5135
5136 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5137
5138         * text2.C (pasteSelection): adjust for checkPastePossible
5139
5140         * CutAndPaste.C: remove Paragraph * buf and replace with
5141         ParagraphList paragraphs.
5142         (DeleteBuffer): delete
5143         (cutSelection): change the tc type to textclass_type
5144         (copySelection): change the tc type to textclass_type
5145         (copySelection): adjust for ParagraphList
5146         (pasteSelection): change the tc type to textclass_type
5147         (pasteSelection): adjust for Paragraphlist
5148         (nrOfParagraphs): simplify for ParagraphList
5149         (checkPastePossible): simplify for ParagraphList
5150         (checkPastePossible): remove unused arg
5151
5152         * ParagraphList.C (insert): handle the case where there are no
5153         paragraphs yet.
5154
5155         * CutAndPaste.h: make CutAndPaste a namespace.
5156
5157         * text3.C (dispatch): adjust
5158
5159         * text.C (breakParagraph): add a ParagraphList as arg
5160
5161         * paragraph_funcs.C (breakParagraph): change to take a
5162         BufferParams and a ParagraphList as args.
5163         (breakParagraphConservative): ditto
5164         (mergeParagraph): ditto
5165         (TeXDeeper): add a ParagraphList arg
5166         (TeXEnvironment): ditto
5167         (TeXOnePar): ditto
5168
5169         * buffer.C (readLyXformat2): adjust
5170         (insertStringAsLines): adjust
5171         (latexParagraphs): adjust
5172
5173         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5174         (cutSelection): adjust
5175         (pasteSelection): adjust
5176
5177         * BufferView_pimpl.C (insertInset): adjust
5178
5179 2003-03-05  Angus Leeming  <leeming@lyx.org>
5180
5181         * commandtags.h:
5182         * LyXAction.C (init):
5183         * BufferView_pimpl.C (dispatch):
5184         * lyxfunc.C (getStatus):
5185         remove LFUN_CHILD_INSERT.
5186
5187         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5188
5189 2003-03-05  Angus Leeming  <leeming@lyx.org>
5190
5191         * commandtags.h:
5192         * LyXAction.C (init):
5193         * src/factory.C (createInset):
5194         * lyxfunc.C (getStatus):
5195         * text3.C (dispatch):
5196         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5197
5198         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5199
5200 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5201
5202         * ParagraphList.C (insert): handle insert right before end()
5203         (erase): fix cases where it can be first or last paragraph.
5204
5205 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5206
5207         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5208         Paragraph::next and Paragraph::previous
5209         (TeXOnePar): ditto
5210
5211         * text.C (breakParagraph): adjust
5212
5213         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5214         BufferParams& as arg.
5215         (breakParagraph): use ParagraphList::insert
5216         (breakParagraphConservative): take a Buffer* instead of a
5217         BufferParams& as arg.
5218         (breakParagraphConservative): use ParagraphList::insert.
5219
5220         * buffer.C (insertStringAsLines): un-const it
5221         (insertStringAsLines): adjust
5222
5223         * ParagraphList.C (insert): new function
5224
5225         * CutAndPaste.C (pasteSelection): adjust
5226
5227         * text.C (backspace): adjust
5228
5229         * tabular.C (SetMultiColumn): adjust
5230
5231         * CutAndPaste.C (cutSelection): adjust
5232         (pasteSelection): adjust
5233
5234         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5235         Buffer const * as arg
5236
5237         * ParagraphList.C (erase): new function
5238         * paragraph_funcs.C (mergeParagraph): use it
5239         (mergeParagraph): make it take a Buffer* instead of a
5240         BufferParams* as arg
5241
5242         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5243         as arg
5244         (breakParagraphConservative): ditto
5245
5246         * paragraph.h: remove the breakParagraph friend
5247
5248         * paragraph.C (eraseIntern): new function
5249         (setChange): new function
5250
5251         * paragraph_funcs.C (mergeParagraph): make it take a
5252         ParagraphList::iterator instead of a Paragraph *, adjust
5253         accordingly.
5254
5255         * paragraph.h: move an #endif so that the change tracking stuff
5256         also works in the NO_NEXT case.
5257
5258 2003-03-04  Angus Leeming  <leeming@lyx.org>
5259
5260         * commandtags.h:
5261         * LyXAction.C: new LFUN_INSET_MODIFY.
5262
5263         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5264         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5265
5266 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5267
5268         * several files: ws changes only
5269
5270         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5271         (TeXEnvironment): ditto
5272         (TeXDeeper): ditto
5273
5274         * buffer.C (makeLaTeXFile): adjust
5275         (latexParagraphs): make it take ParagraphList::iterator as args
5276
5277 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5278
5279         * buffer.C (latexParagraphs): adjust
5280
5281         * paragraph.C (TeXOnePar): move function...
5282         (optArgInset): move function...
5283         (TeXEnvironment): move function...
5284         * paragraph_pimpl.C (TeXDeeper): move function...
5285         * paragraph_funcs.C: ...here
5286
5287         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5288
5289 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5290
5291         * buffer.C (readInset): remove compability code for old Figure and
5292         InsetInfo insets
5293
5294 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5295
5296         * buffer.C: ws changes
5297         (readInset):
5298
5299         * BufferView_pimpl.C: ditto
5300         * author.C: ditto
5301         * buffer.h: ditto
5302         * bufferlist.h: ditto
5303         * changes.h: ditto
5304         * lyxfunc.C: ditto
5305
5306 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5307
5308         * converter.[Ch]: split into itself +
5309         * graph.[Ch]
5310         * format.[Ch]
5311         * Makefile.am: += graph.[Ch] + format.[Ch]
5312         * MenuBackend.C
5313         * buffer.C
5314         * exporter.C
5315         * importer.C
5316         * lyx_main.C
5317         * lyxfunc.C
5318         * lyxrc.C: added #include "format.h"
5319
5320 2003-02-27  Angus Leeming  <leeming@lyx.org>
5321
5322         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5323           a label.
5324
5325         * factory.C (createInset): add "label" to the factory.
5326
5327         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5328           string and do no more.
5329
5330 2003-02-27  Angus Leeming  <leeming@lyx.org>
5331
5332         * commandtags.h:
5333         * LyXAction.C (init):
5334         * factory.C (createInset):
5335         * BufferView_pimpl.C (dispatch):
5336           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5337
5338         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5339
5340         * lyxfunc.C (dispatch):
5341         * text3.C (dispatch): pass name to params2string.
5342
5343 2003-02-26  Angus Leeming  <leeming@lyx.org>
5344
5345         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5346           blocks together.
5347           Rearrange the ~includes. Strip out the unnecessary ones.
5348
5349         * factory.C (createInset): reformat.
5350           create new insets for the various LFUN_XYZ_APPLY lfuns.
5351
5352 2003-02-26  John Levon  <levon@movementarian.org>
5353
5354         * lyxrow.h:
5355         * lyxrow.C: add isParStart,isParEnd helpers
5356
5357         * paragraph.h: make isInserted/DeletedText take refs
5358
5359         * paragraph_funcs.h:
5360         * paragraph_funcs.C: remove #if 0'd code
5361
5362         * lyxtext.h:
5363         * text3.C:
5364         * text2.C:
5365         * text.C: use lyxrow helpers above.
5366           Move draw and paint routines to RowPainter.
5367           Make several methods use refs not pointers.
5368           Make backgroundColor() const.
5369           Add markChangeInDraw(), isInInset().
5370           Merge changeRegionCase into changeCase.
5371           Make workWidth() shouldn't-happen code into an Assert.
5372
5373         * rowpainter.h:
5374         * rowpainter.C: new class for painting a row.
5375
5376         * vspace.h:
5377         * vspace.C: make inPixels take a ref
5378
5379 2003-02-26  Angus Leeming  <leeming@lyx.org>
5380
5381         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5382         LFUN_REF_APPLY.
5383
5384 2003-02-25  John Levon  <levon@movementarian.org>
5385
5386         * ispell.C: give the forked command a more accurate name
5387
5388 2003-02-22  John Levon  <levon@movementarian.org>
5389
5390         * toc.h:
5391         * toc.C: make TocItem store an id not a Paragraph *
5392           (bug #913)
5393
5394 2003-02-21  Angus Leeming  <leeming@lyx.org>
5395
5396         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5397           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5398           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5399           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5400           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5401           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5402
5403         * BufferView_pimpl.C (dispatch):
5404         * LyXAction.C (init):
5405         * factory.C (createInset):
5406         * lyxfunc.C (getStatus, dispatch):
5407         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5408
5409 2003-02-21  Angus Leeming  <leeming@lyx.org>
5410
5411         * BufferView_pimpl.C (MenuInsertLyXFile):
5412         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5413         * lyxfunc.C (menuNew, open, doImport):
5414           no longer pass a LyXView & to fileDlg.
5415
5416 2003-02-21  Angus Leeming  <leeming@lyx.org>
5417
5418         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5419         * LyXAction.C: change, BIBKEY to BIBITEM.
5420         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5421         Change InsetBibKey to InsetBibitem.
5422         Change BIBKEY_CODE to BIBITEM_CODE.
5423         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5424         * factory.C: replace insetbib.h with insetbibitem.h.
5425         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5426         * paragraph.C: replace insetbib.h with insetbibitem.h.
5427         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5428         Change bibkey() to bibitem().
5429         * text.C: remove insetbib.h.
5430         * text2.C: replace insetbib.h with insetbibitem.h.
5431         change bibkey() to bibitem().
5432         * text3.C: remove insetbib.h.
5433         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5434
5435 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5436
5437         * lyxrc.C (output): enclose user email in quotes (in case there are
5438         several words)
5439
5440 2003-02-18  John Levon  <levon@movementarian.org>
5441
5442         * buffer.h: add std::
5443
5444 2003-02-17  John Levon  <levon@movementarian.org>
5445
5446         * SpellBase.h:
5447         * ispell.h:
5448         * ispell.C:
5449         * pspell.h:
5450         * pspell.C: reworking. Especially in ispell, a large
5451           number of clean ups and bug fixes.
5452
5453         * lyxfunc.C: fix revert to behave sensibly
5454
5455 2003-02-17 André Pönitz <poenitz@gmx.net>
5456
5457         * LyXAction.C:
5458         * commandtags.h: new LFUN_INSERT_BIBKEY
5459
5460         * layout.h:
5461         * lyxlayout.C:
5462         * buffer.C:
5463         * factory.C:
5464         * text.C:
5465         * text2.C:
5466         * text3.C:
5467         * paragraph.[Ch]:
5468         * paragraph_func.C: remove special bibkey handling
5469
5470 2003-02-17  John Levon  <levon@movementarian.org>
5471
5472         * text.C (Delete): fix case where delete at the end of
5473           the very first paragraph would not merge the pars
5474
5475 2003-02-17  John Levon  <levon@movementarian.org>
5476
5477         * lyxrow.C: fix lastPrintablePos()
5478
5479 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5480
5481         * bufferparams.C (writeLaTeX): add a std:here
5482
5483         * buffer.C: and remove a using directive there
5484
5485 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5486
5487         * buffer.C (makeLaTeXFile): move the code that generates the
5488           preamble...
5489
5490         * bufferparams.C (writeLaTeX): ... in this new method
5491
5492         * LaTeXFeatures.C (getEncodingSet): make const
5493           (getLanguages): make const
5494
5495         * MenuBackend.C (binding): returns the binding associated to this
5496           action
5497           (add): sets the status of each item by calling getStatus. Adds
5498           some intelligence.
5499           (read): add support for OptSubMenu
5500           (expand): remove extra separator at the end of expanded menu
5501
5502 2003-02-15  John Levon  <levon@movementarian.org>
5503
5504         * BufferView.C:
5505         * BufferView_pimpl.C:
5506         * bufferlist.h:
5507         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5508           inset code that had no actual effect. Remove unneeded status
5509           code.
5510
5511 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5512
5513         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5514           in preamble
5515
5516 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5517
5518         * text.C (drawLengthMarker): also draw an arrow marker for
5519           symbolic lengths (medskip...)
5520
5521 2003-02-14  John Levon  <levon@movementarian.org>
5522
5523         * tabular.h:
5524         * tabular.C: better method names
5525
5526 2003-02-14  John Levon  <levon@movementarian.org>
5527
5528         * BufferView_pimpl.C:
5529         * bufferlist.C:
5530         * buffer.C:
5531         * converter.C:
5532         * lyx_cb.C:
5533         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5534           it's a more accurate name. Remove some pointless uses.
5535
5536 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5537
5538         * text2.C (LyXText): change order of initilizers to shut off
5539           warnings
5540
5541 2003-02-14  John Levon  <levon@movementarian.org>
5542
5543         * buffer.C: use ParIterator for getParFromID()
5544
5545         * paragraph.h:
5546         * paragraph.C:
5547         * paragraph_pimpl.h:
5548         * paragraph_pimpl.C: remove unused getParFromID()
5549
5550 2003-02-14  John Levon  <levon@movementarian.org>
5551
5552         * buffer.C: remove some very old #if 0'd parse code
5553
5554 2003-02-13  John Levon  <levon@movementarian.org>
5555
5556         * text.h:
5557         * text.C:
5558         * text2.C: move hfillExpansion(), numberOfSeparators(),
5559           rowLast(), rowLastPrintable(), numberofHfills(),
5560           numberOfLabelHfills() ...
5561
5562         * lyxrow.h:
5563         * lyxrow.C: ... to member functions here.
5564
5565         * paragraph.h:
5566         * paragraph.C:
5567         * lyxtext.h:
5568         * text.C: remove LyXText::beginningOfMainBody(), and call
5569           p->beginningOfMainBody() directly. Move the check for
5570           LABEL_MANUAL into the latter.
5571
5572         * text.h:
5573         * text.C:
5574         * text2.C:
5575         * vspace.C:
5576         * BufferView.h:
5577         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5578
5579         * text.h:
5580         * text.C:
5581         * text2.C:
5582         * text3.C:
5583         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5584           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5585
5586 2003-02-13  John Levon  <levon@movementarian.org>
5587
5588         * CutAndPaste.C: remove debug
5589
5590 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5591
5592         * paragraph.C (asString): remove two unused variables
5593
5594         * lyxtextclass.C (readTitleType):
5595           (Read):
5596           (LyXTextClass): handle new members titletype_ and titlename_
5597
5598         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5599
5600 2003-02-09  John Levon  <levon@movementarian.org>
5601
5602         * buffer.h:
5603         * buffer.C: replace hand-coded list with a map for the dep clean
5604
5605 2003-02-08  John Levon  <levon@movementarian.org>
5606
5607         * LaTeX.C: consolidate code into showRunMessage() helper
5608
5609 2003-02-08  John Levon  <levon@movementarian.org>
5610
5611         * lyxfind.C:
5612         * lyxtext.h:
5613         * text2.C:
5614         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5615           and pass the size in explicitly
5616
5617         * BufferView_pimpl.h:
5618         * BufferView_pimpl.C:
5619         * BufferView.h:
5620         * BufferView.C: add getCurrentChange()
5621
5622         * BufferView_pimpl.h:
5623         * BufferView_pimpl.C: handle change lfuns
5624
5625         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5626           for changes. Mark pasted paragraphs as new.
5627
5628         * support/lyxtime.h:
5629         * support/lyxtime.C:
5630         * DepTable.C: abstract time_t as lyx::time_type
5631
5632         * LColor.h:
5633         * LColor.C: add colours for new text, deleted text, changebars
5634
5635         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5636           package use "usenames" option.
5637
5638         * commandtags.h:
5639         * lyxfunc.C:
5640         * LyXAction.C: add change lfuns
5641
5642         * Makefile.am:
5643         * author.h:
5644         * author.C: author handling
5645
5646         * buffer.h:
5647         * buffer.C: add a per-buffer author list, with first entry as
5648           current author. Handle new .lyx tokens for change tracking. Output
5649           author list to .lyx file. Output dvipost stuff to .tex preamble.
5650           Bump lyx format to 222.
5651
5652         * bufferlist.h:
5653         * bufferlist.C: add setCurrentAuthor() to reset current author details
5654           in all buffers.
5655
5656         * bufferparams.h:
5657         * bufferparams.C: add param for tracking
5658
5659         * bufferview_funcs.C: output change info in minibuffer
5660
5661         * Makefile.am:
5662         * changes.h:
5663         * changes.C: add change-tracking structure
5664
5665         * debug.h:
5666         * debug.C: add CHANGES debug flag
5667
5668         * lyxfind.h:
5669         * lyxfind.C: add code for finding the next change piece
5670
5671         * lyxrc.h:
5672         * lyxrc.C: add user_name and user_email
5673
5674         * lyxrow.h:
5675         * lyxrow.C: add a metric for the top of the text line
5676
5677         * lyxtext.h:
5678         * text.C: implement accept/rejectChange()
5679
5680         * lyxtext.h:
5681         * text.C: paint changebars. Paint new/deleted text in the chosen
5682         colours. Strike through deleted text.
5683
5684         * paragraph.h:
5685         * paragraph.C:
5686         * paragraph_pimpl.h:
5687         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5688           in the current change to the insert functions. Rework erase to
5689           mark text as deleted, adding an eraseIntern() and a range-based
5690           erase(). Implement per-paragraph change lookup and
5691           accept/reject.
5692
5693         * paragraph_funcs.C: Fixup paste for change tracking.
5694
5695         * tabular.C: mark added row/columns as new.
5696
5697         * text.C: fix rowLast() to never return -1. Don't allow
5698           spellchecking of deleted text. Track transpose changes. Don't
5699           allow paragraph break or merge where appropriate.
5700
5701         * text2.C: leave cursor at end of selection after a cut.
5702
5703 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5704
5705         * text.C (getLengthMarkerHeight):
5706         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5707         visible on screen too.
5708
5709 2003-02-07  John Levon  <levon@movementarian.org>
5710
5711         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5712
5713 2003-02-05  Angus Leeming  <leeming@lyx.org>
5714
5715         * lyxserver.C (read_ready): revert my patch of 11 September last year
5716         as it sends PC cpu through the roof. Presumably this means that
5717         the lyxserver will no longer run on an Alpha...
5718
5719 2003-01-30  Angus Leeming  <leeming@lyx.org>
5720
5721         * factory.C (createInset): create an InsetCommandParam of type "index"
5722         and use it to 'do the right thing'.
5723
5724         * text2.C (getStringToIndex): ensure that cursor position is always
5725         reset to the reset_cursor position.
5726
5727 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5728
5729         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5730         disabled.
5731
5732 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5733
5734         * bufferview.C:
5735         * lyxcb.C:
5736         * lyxfunc.C: Output messages with identical spelling, punctuation,
5737         and spaces
5738
5739 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5740
5741         * MenuBackend.C (expandFormats): List only viewable export formats
5742         in "View" menu
5743
5744         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5745         message
5746
5747         * lyxfunc.C (getStatus): Make sure that formats other than
5748         "fax" can also be disabled
5749
5750 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5751
5752         * text3.C (dispatch): put the lfuns that insert insets in 3
5753         groups, and call doInsertInset with appropriate arguments.
5754         (doInsertInset): new function, that creates an inset and inserts
5755         it according to some boolean parameters.
5756
5757 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5758
5759         * buffer.C (readFile): remember to pass on 'par' when calling
5760         readFile recursively.
5761
5762 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5763
5764         * MenuBackend.C (expandFormats): add "..." to import formats.
5765
5766 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5767
5768         * paragraph.C (asString): Remove XForms RTL hacks.
5769
5770 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5771         * buffer.C: fix typo
5772
5773 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5774
5775         * Makefile.am (LIBS): delete var
5776         (lyx_LDADD): add @LIBS@ here instead.
5777
5778 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5779
5780         * Clarify the meaning of "wheel mouse jump"
5781
5782 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5783
5784         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5785         tabular in a float
5786
5787 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5788
5789         * importer.C (Loaders): do not preallocate 3 elements in the
5790         vector, since one ends up with 6 elements otherwise
5791
5792 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5793
5794         * DepTable.C (write): write the file name as last element of the
5795         .dep file (because it may contain spaces)
5796         (read): read info in the right order
5797
5798 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5799
5800         * paragraph_pimpl.C (simpleTeXBlanks):
5801         (simpleTeXSpecialChars):
5802         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5803
5804         * tabular.C (latex): add some missing case statements. Reindent.
5805
5806         * MenuBackend.C (expandToc): remove unused variable.
5807
5808 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5809
5810         * LColor.C:
5811         * LaTeX.C:
5812         * LyXAction.C:
5813         * MenuBackend.C:
5814         * buffer.C:
5815         * exporter.C:
5816         * lyxfunc.C:
5817         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5818         and the like.
5819
5820 2003-01-05  John Levon  <levon@movementarian.org>
5821
5822         * BufferView.h:
5823         * BufferView.C: add getEncoding()
5824
5825         * kbsequence.h:
5826         * kbsequence.C: do not store last keypress
5827
5828         * lyxfunc.h:
5829         * lyxfunc.C: store last keypress here instead. Pass encoding
5830           to getISOEncoded()
5831
5832 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5833
5834         * lyx_main.C (init): remove annoying error message when following
5835         symbolic links (bug #780)
5836
5837 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5838
5839         * text.C (insertChar):
5840         * lyxrc.C (getDescription): remove extra spaces
5841
5842 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5843
5844         * lyxrc.C (getDescription): remove extra spaces
5845
5846 2002-12-20  John Levon  <levon@movementarian.org>
5847
5848         * text3.C: hack fix for page up/down across tall rows
5849
5850 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5851
5852         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5853         not been invoked
5854
5855 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5856
5857         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5858         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5859         thesaurus is not compiled in
5860
5861 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5862
5863         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5864
5865 2002-12-16  Angus Leeming  <leeming@lyx.org>
5866
5867         * lyxrc.[Ch]:
5868         * lyx_main.C (init): remove override_x_deadkeys stuff.
5869
5870 2002-12-12  John Levon  <levon@movementarian.org>
5871
5872         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5873           insert. Only remove shift modifier under strict
5874           circumstances.
5875
5876 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5877
5878         * MenuBackend.C (expandToc): fix crash.
5879
5880 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5881
5882         * MenuBackend.C (expandToc): gettext on float names.
5883
5884 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5885
5886         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5887         implement bool empty() [bug 490]
5888
5889 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5890
5891         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5892
5893 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5894
5895         * several files: ws changes
5896
5897 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5898
5899         * text2.C (setCounter): clean up a bit, use boost.format.
5900         (updateCounters): initialize par upon declaration.
5901
5902         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5903         if the layout exists. We do not just store the layout any more.
5904         (SwitchLayoutsBetweenClasses): use boost.format
5905
5906 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5907
5908         * converter.C (convert): if from and to files are the same, use a
5909         temporary files as intermediary
5910
5911 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5912
5913         * commandtags.h:
5914         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5915
5916 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5917
5918         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5919
5920 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5921
5922         * tabular.C (asciiPrintCell): use string(size, char) instead of
5923         explicit loop.
5924
5925         * sgml.C (openTag): fix order of arguments to string constructor
5926         (closeTag): ditto
5927
5928         * lyxfunc.C (dispatch): use boost.format
5929
5930         * lots of files: change "c" -> 'c'
5931
5932 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5933
5934         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5935
5936 2002-11-25  Angus Leeming  <leeming@lyx.org>
5937
5938         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5939
5940         * lyx_main.C (init): compile fix.
5941
5942 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5943
5944         * lyx_cb.C (start): boost.formatify
5945         do not include <iostream>
5946
5947         * lengthcommon.C: ws only
5948
5949         * boost-inst.C,BoostFormat.h: add more explict instantations
5950
5951 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5952
5953         * lots of files: handle USE_BOOST_FORMAT
5954
5955 2002-11-21  John Levon  <levon@movementarian.org>
5956
5957         * pspell.C: fix compile
5958
5959 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5960
5961         * lyxfunc.C (dispatch): use boost::format
5962         (open): ditto
5963         (doImport): ditto
5964
5965         * lyxfont.C (stateText): use boost::format
5966
5967         * lyx_main.C (LyX): use boost::format
5968         (init): ditto
5969         (queryUserLyXDir): ditto
5970         (readRcFile): ditto
5971         (parse_dbg): ditto
5972         (typedef boost::function): use the recommened syntax.
5973
5974         * importer.C (Import): use boost::format
5975
5976         * debug.C (showLevel): use boost::format
5977
5978         * converter.C (view): use boost::format
5979         (convert): ditto
5980         (move): ditto
5981         (scanLog): ditto
5982
5983         * bufferview_funcs.C (currentState): use boost::format
5984
5985         * bufferlist.C (emergencyWrite): use boost::format
5986
5987         * buffer.C (readLyXformat2): use boost::format
5988         (parseSingleLyXformat2Token): ditto
5989
5990         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5991
5992         * LaTeX.C (run): use boost::format
5993
5994         * Chktex.C (scanLogFile): use boost::format
5995
5996         * BufferView_pimpl.C (savePosition): use boost::format
5997         (restorePosition): ditto
5998         (MenuInsertLyXFile): ditto
5999
6000         * BoostFormat.h: help file for explicit instation.
6001
6002 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6003
6004         * tabular.C (latex): Support for block alignment in fixed width
6005         columns.
6006
6007 2002-11-17  John Levon  <levon@movementarian.org>
6008
6009         * BufferView_pimpl.C:
6010         * lyx_cb.C:
6011         * lyxfunc.C: split filedialog into open/save
6012
6013 2002-11-08  Juergen Vigna  <jug@sad.it>
6014
6015         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6016         by my last patch (hopefully).
6017
6018 2002-11-08  John Levon  <levon@movementarian.org>
6019
6020         * iterators.h:
6021         * iterators.C:
6022         * buffer.h:
6023         * buffer.C:
6024         * paragraph.h:
6025         * paragraph.C:
6026         * toc.h:
6027         * toc.C: ParConstIterator, and use it (from Lars)
6028
6029 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6030
6031         * lyxtextclass.[Ch]: revise and add doxygen comments
6032
6033 2002-11-07  John Levon  <levon@movementarian.org>
6034
6035         * text.C: fix progress value for spellchecker
6036
6037         * toc.C: fix navigate menu for insetwrap inside minipage
6038
6039         * paragraph_funcs.C: added FIXME for suspect code
6040
6041 2002-11-07  John Levon  <levon@movementarian.org>
6042
6043         * BufferView_pimpl.C: fix redrawing of insets
6044           on buffer switch
6045
6046 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6047
6048         * text2.C (updateCounters): fix bug 668
6049
6050 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6051
6052         * text3.C (dispatch): Do not make the buffer dirty when moving the
6053         cursor.
6054
6055 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6056
6057         * vc-backend.C: STRCONV
6058         (scanMaster): ditto
6059
6060         * text2.C (setCounter): STRCONV
6061
6062         * paragraph.C (asString): STRCONV
6063
6064         * lyxlength.C (asString): STRCONV
6065         (asLatexString): ditto
6066
6067         * lyxgluelength.C (asString): STRCONV
6068         (asLatexString): ditto
6069
6070         * lyxfunc.C (dispatch): STRCONV
6071         (open): ditto
6072
6073         * lyxfont.C (stateText): STRCONV
6074
6075         * importer.C (Import): STRCONV
6076
6077         * counters.C (labelItem): STRCONV
6078         (numberLabel): ditto
6079         (numberLabel): remove unused ostringstream o
6080
6081         * chset.C: STRCONV
6082         (loadFile): ditto
6083
6084         * bufferview_funcs.C (currentState): STRCONV
6085
6086         * buffer.C (readFile): STRCONV
6087         (asciiParagraph): ditto
6088         (makeLaTeXFile): ditto
6089
6090         * Spacing.C (writeEnvirBegin): STRCONV
6091
6092         * LaTeXFeatures.C (getLanguages): STRCONV
6093         (getPackages): ditto
6094         (getMacros): ditto
6095         (getBabelOptions): ditto
6096         (getTClassPreamble): ditto
6097         (getLyXSGMLEntities): ditto
6098         (getIncludedFiles): ditto
6099
6100         * LaTeX.C: STRCONV
6101         (run): ditto
6102         (scanAuxFile): ditto
6103         (deplog): ditto
6104
6105         * LString.h: add the STRCONV macros
6106
6107         * BufferView_pimpl.C (savePosition): STRCONV
6108         (restorePosition): ditto
6109         (MenuInsertLyXFile): ditto
6110
6111         * vc-backend.C (scanMaster): change from submatch[...] to
6112         submatch.str(...)
6113
6114         * funcrequest.C: include config.h
6115
6116         * factory.C: include config.h
6117
6118         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6119
6120         * box.C: include config.h
6121
6122         * LaTeX.C (scanAuxFile): change from submatch[...] to
6123         submatch.str(...)
6124         (deplog): ditto
6125
6126 2002-10-25  Angus Leeming  <leeming@lyx.org>
6127
6128         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6129
6130         * ispell.[Ch] (setError): new method.
6131         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6132         Use setError() insetead of goto END.
6133
6134         * lyx_cb.C (AutoSave): move out child process into new class
6135         AutoSaveBuffer.
6136
6137 2002-10-30  John Levon  <levon@movementarian.org>
6138
6139         * text3.C: make start appendix undoable
6140
6141 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6142
6143         * lyxlength.C (inPixels): Fix returned value.
6144
6145         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6146         environment.
6147
6148 2002-10-24  Angus Leeming  <leeming@lyx.org>
6149
6150         * lyxgluelength.h: no need to forward declare BufferParams
6151         or BufferView, so don't.
6152
6153 2002-10-21  John Levon  <levon@movementarian.org>
6154
6155         * BufferView.C: menuUndo ->undo, redo
6156
6157         * BufferView.h: document, remove dead, make some methods private
6158
6159         * paragraph_funcs.h:
6160         * paragraph_funcs.C:
6161         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6162
6163         * buffer.h:
6164         * buffer.C:
6165         * sgml.h:
6166         * sgml.C: move sgml open/close tag into sgml.C
6167
6168         * bufferview_funcs.h: unused prototype
6169
6170         * lyxfunc.h:
6171         * lyxfunc.C: remove unused
6172
6173         * lyxtext.h:
6174         * text.C: remove unused
6175
6176 2002-10-21  John Levon  <levon@movementarian.org>
6177
6178         * BufferView.h:
6179         * BufferView.C:
6180         * BufferView_pimpl.h:
6181         * BufferView_pimpl.C: fix mouse wheel handling based on
6182           patch from Darren Freeman
6183
6184 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6185
6186         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6187
6188 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6189
6190         * lyxlength.C (inPixels): Fix hanfling of negative length.
6191         Fix LyXLength::MU case.
6192
6193 2002-10-16  John Levon  <levon@movementarian.org>
6194
6195         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6196
6197 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6198
6199         * converter.C (view): add support for $$i (file name) and $$p
6200         (file path) for the viewer command. If $$i is not specified, then
6201         it is appended to the command (for compatibility with old syntax)
6202
6203 2002-10-14  Juergen Vigna  <jug@sad.it>
6204
6205         * undo_funcs.C (textHandleUndo): alter the order in which the
6206         new undopar is added to the LyXText, as we have to set first
6207         the right prev/next and then add it as otherwise the rebuild of
6208         LyXText is not correct. Also reset the cursor to the right paragraph,
6209         with this IMO we could remove the hack in "redoParagraphs()".
6210
6211 2002-10-09  Angus Leeming  <leeming@lyx.org>
6212
6213         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6214         to turn off an optimisation if a new inset is to be inserted.
6215
6216 2002-10-11 André Pönitz <poenitz@gmx.net>
6217
6218         * lyxtext.h: make some functions public to allow access
6219         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6220
6221 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6222
6223         * text3.C (dispatch): when changing layout, avoid an infinite loop
6224         [bug #652]
6225
6226 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6227
6228         * lyxrc.C (read): treat a viewer or converter command of "none" as
6229         if it were empty.
6230
6231         * MenuBackend.C (expandFormats): for an update, also allow the
6232         formats that are not viewable
6233
6234         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6235         script if it is newer than the lyxrc.defaults in user directory
6236
6237 2002-10-07 André Pönitz <poenitz@gmx.net>
6238
6239         * text.C: Vitaly Lipatov's small i18n fix
6240
6241 2002-09-25  Angus Leeming  <leeming@lyx.org>
6242
6243         * ispell.h: doxygen fix.
6244
6245 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6246
6247         * buffer.h (readFile): Add a new argument to the method, to allow
6248         reading of old-format templates.
6249
6250 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6251
6252         * toc.C (getTocList): Get TOC from InsetWrap.
6253
6254 2002-09-16  John Levon  <levon@movementarian.org>
6255
6256         * lyxfunc.C: check tabular for cut/copy too
6257
6258 2002-09-12  John Levon  <levon@movementarian.org>
6259
6260         * LyXAction.C: tidy
6261
6262         * factory.h:
6263         * factory.C: add header
6264
6265         * paragraph_funcs.h:
6266         * paragraph_funcs.C: cleanup
6267
6268 2002-09-11  John Levon  <levon@movementarian.org>
6269
6270         * PrinterParams.h: odd/even default to true
6271
6272 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6273
6274         * PrinterParams.h: update printer parameters for new xforms dialog
6275
6276 2002-09-11  Angus Leeming  <leeming@lyx.org>
6277
6278         * lyxserver.C (read_ready): re-write to make it more transparent
6279         and to make it work in coherent fashion under Tru64 Unix.
6280
6281 2002-09-11  André Pönitz <poenitz@gmx.net>
6282
6283         * commandtags.h:
6284         * LyXAction.C:
6285         * text3.C: implement LFUN_WORDSEL
6286
6287 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6288
6289         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6290         make floatlist_ a boost::shared_ptr<FloatList>
6291
6292         * lyxtextclass.C: include FloatList.h
6293         (LyXTextClass): initialize floatlist_
6294         (TextClassTags): add TC_NOFLOAT
6295         (Read): match "nofloat" to TC_NOFLOAT and use it.
6296         (readFloat): modify call to floatlist_
6297         (floats): ditto
6298         (floats): ditto
6299
6300         * FloatList.[Ch] (FloatList): remove commented out float
6301         initialization.
6302         (erase): new function
6303
6304 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6305
6306         * MenuBackend.C (expandToc): fix crash when there is no document
6307         open
6308
6309 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6310
6311         * many files: Add insetwrap.
6312
6313 2002-09-09  John Levon  <levon@movementarian.org>
6314
6315         * text2.C: remove confusing and awkward depth wraparound
6316
6317 2002-09-09  John Levon  <levon@movementarian.org>
6318
6319         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6320
6321         * buffer.h:
6322         * buffer.C: remove getIncludeonlyList()
6323
6324         * paragraph.C:
6325         * lyxfunc.C: remove headers
6326
6327 2002-09-09  Juergen Vigna  <jug@sad.it>
6328
6329         * text.C (getColumnNearX): fix form Michael this is most
6330         probably a cut&paste bug.
6331
6332 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6333
6334         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6335
6336         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6337         references, ws changes.
6338
6339         * text2.C (init): update counters after init
6340         (insertParagraph): no need to set counter on idividual paragraphs.
6341         (setCounter): access the counters object in the textclass object
6342         on in the buffer object.
6343         (updateCounters): ditto
6344
6345         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6346         shared_ptr<Counters> to avoid loading counters.h in all
6347         compilation units.
6348         (LyXTextClass): initialize ctrs_
6349         (TextClassTags): add TC_COUNTER, and ...
6350         (Read): use it here.
6351         (CounterTags): new tags
6352         (readCounter): new function
6353         (counters): new funtion
6354         (defaultLayoutName): return a const reference
6355
6356         * counters.C (Counters): remove contructor
6357         (newCounter): remove a couple of unneeded statements.
6358         (newCounter): simplify a bit.
6359         (numberLabel): some small formatting changes.
6360
6361         * buffer.[Ch]: remove all traces of counters, move the Counters
6362         object to the LyXTextClass.
6363
6364 2002-09-06  Alain Castera  <castera@in2p3.fr>
6365
6366         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6367         package to set the horizontal alignment on fixed width columns.
6368
6369         * lyx_sty.C:
6370         * lyx_sty.h: added tabularnewline macro def.
6371
6372         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6373
6374 2002-09-06  John Levon  <levon@movementarian.org>
6375
6376         * LyXAction.C: tooltips for sub/superscript
6377
6378         * MenuBackend.C: a bit more verbose
6379
6380         * lyxfunc.C: tiny clean
6381
6382         * undo_funcs.C: document undo_frozen
6383
6384 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6385
6386         * counters.C (Counters): add missing algorithm counter.
6387
6388         * text2.C (setCounter): lookup the counter with layouts latexname
6389         instead of by section number.
6390         (setCounter): use a hackish way to lookup the correct enum
6391         counter.
6392         a float name->type change
6393         reset enum couners with counter name directly instead of depth value.
6394
6395         * counters.C (Counters): remove the push_backs, change to use the
6396         float type not the float name.
6397         (labelItem): remove unused string, float name->type change
6398
6399         * counters.h: don't include vector, loose the enums and sects vectors
6400
6401 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6402
6403         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6404         (Read): add float->TC_FLOAT to textclassTags
6405         (Read): and handle it in the switch
6406         (readFloat): new function
6407
6408         * FloatList.C (FloatList): comment out the hardcoded float
6409         definitions.
6410
6411         * lyxlayout.h: ws change.
6412
6413 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6414
6415         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6416
6417 2002-09-03  Angus Leeming  <leeming@lyx.org>
6418
6419         * BufferView_pimpl.h: qualified name is not allowed in member
6420         declaration: WorkArea & Pimpl::workarea() const;
6421
6422         * factory.C: added using std::endl directive.
6423
6424         * text3.C: added using std::find and std::vector directives.
6425
6426 2002-08-29  André Pönitz <poenitz@gmx.net>
6427
6428         * lyxtext.h:
6429         * text2.C: remove unused member number_of_rows
6430
6431         * Makefile.am:
6432         * BufferView2.C: remove file, move contents to...
6433         * BufferView.C: ... here
6434
6435         * BufferView_pimpl.C:
6436         * factory.C: move more inset creation to factory
6437
6438         * vspace.C: avoid direct usage of LyXText, ws changes
6439
6440         * BufferView.[Ch]:
6441                 don't provide direct access to WorkArea, use two simple
6442                 acessors haveSelction() and workHeight() instead
6443
6444
6445 2002-08-29  John Levon  <levon@movementarian.org>
6446
6447         * BufferView_pimpl.C (dispatch): do not continue when
6448           no buffer
6449
6450 2002-08-28  André Pönitz <poenitz@gmx.net>
6451
6452         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6453
6454         * BufferView.h:
6455         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6456
6457 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6458
6459         * buffer.C: increment LYX_FORMAT to 221
6460
6461         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6462         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6463
6464         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6465
6466         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6467
6468 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6469
6470         * factory.C (createInset): use LyXTextClass::floats
6471
6472         * MenuBackend.C (expandFloatListInsert):
6473         (expandFloatInsert):
6474         (expandToc):
6475
6476         * text2.C (setCounter):
6477
6478         * LaTeXFeatures.C (useFloat):
6479         (getFloatDefinitions):
6480
6481         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6482
6483         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6484         floatlist_, with accessor floats().
6485
6486         * FloatList.h: remove global FloatList
6487
6488 2002-08-26  André Pönitz <poenitz@gmx.net>
6489
6490         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6491
6492         * BufferView.h:
6493         * BufferView2.C:
6494         * BufferView_pimpl.C:
6495         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6496
6497 2002-08-25  John Levon  <levon@movementarian.org>
6498
6499         * LyXAction.C: fix margin note description
6500
6501 2002-08-24  John Levon  <levon@movementarian.org>
6502
6503         * buffer.C:
6504         * bufferlist.C:
6505         * bufferview_funcs.C:
6506         * lyxfont.C:
6507         * undo_funcs.C: cleanups
6508
6509         * lyxfunc.C: disable CUT/COPY when no selection
6510
6511 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6512
6513         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6514         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6515
6516         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6517         Add backward compatibility to "mono", "gray" and "no".
6518
6519 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6520
6521         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6522         (and file_format >= 200).
6523
6524 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6525
6526         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6527
6528 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6529
6530         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6531
6532 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6533
6534         * BufferView_pimpl.C:
6535         * LyXAction.C:
6536         * buffer.C:
6537         * commandtags.h:
6538         * lyxfunc.C:
6539         * paragraph.[Ch]:
6540         * text2.C:
6541         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6542         inset and code to make it  work with the paragraph code. The inset
6543         can be anywhere in the paragraph, but will only do the expected
6544         thing in LaTeX if the layout file contains the parameter line
6545                         OptionalArgs    1
6546         (or more generally, a nonzero value) for that layout.
6547
6548 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6549
6550         * paragraph.h: remove the declaration of undefined counters class
6551         function.
6552
6553 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6554
6555         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6556         Dr. Richard Hawkins.
6557
6558 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6559
6560         * paragraph_funcs.h: remove some unneeded includes
6561
6562         * text.C (backspace): pasteParagraph now in global scipe
6563
6564         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6565         (pasteSelection): ditto
6566
6567         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6568         * paragraph_funcs.C (pasteParagraph): ... here
6569
6570 2002-08-20  André Pönitz <poenitz@gmx.net>
6571
6572         * commandtags.h: new LFUNs for swapping/copying table row/colums
6573
6574         * LyXAction.C:
6575         * lyxfunc.C: support for new lfuns
6576
6577 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6578
6579         * tabular.C:
6580         * buffer.[Ch]: remove NO_COMPABILITY stuff
6581
6582 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6583
6584         * boost.C (throw_exception): new file, with helper function for
6585         boost compiled without exceptions.
6586
6587         * paragraph.h:
6588         * lyxlength.C:
6589         * buffer.C:
6590         * ParameterStruct.h:
6591         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6592
6593         * bufferlist.C (emergencyWriteAll): use boost bind
6594
6595         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6596
6597         * text.C: include paragraph_funcs.h
6598         (breakParagraph): breakParagraph is now in global scope
6599
6600         * paragraph_funcs.[Ch]: new files
6601
6602         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6603         global scope
6604
6605         * buffer.C: include paragraph_funcs.h
6606         (insertStringAsLines): breakParagraph is now in global scope
6607
6608         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6609         paragraph_funcs.C
6610
6611         * CutAndPaste.C: include paragraph_funcs.h
6612         (cutSelection): breakParagraphConservative is now in global scope
6613         (pasteSelection): ditto
6614
6615         * buffer.h: declare oprator== and operator!= for
6616         Buffer::inset_iterator
6617
6618         * bufferlist.C (emergencyWrite): don't use fmt(...)
6619
6620         * text3.C: add using std::endl
6621
6622         * BufferView.C (moveCursorUpdate): remove default arg
6623
6624 2002-08-20  André Pönitz <poenitz@gmx.net>
6625
6626         * buffer.[Ch]: move inline functions to .C
6627
6628         * BufferView2.C:
6629         * BufferView_pimpl.C:
6630         * text.C:
6631         * buffer.[Ch]: use improved inset_iterator
6632
6633         * buffer.C:
6634         * paragraph.[Ch]: write one paragraph at a time
6635
6636 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6637
6638         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6639         style if style is not specified.
6640
6641 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6642
6643         * text2.C (setCounter): when searching for right label for a
6644         caption, make sure to recurse to parent insets (so that a caption
6645         in a minipage in a figure float works) (bug #568)
6646
6647 2002-08-20  André Pönitz <poenitz@gmx.net>
6648
6649         * text3.C: new file for LyXText::dispatch() and helpers
6650
6651         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6652
6653         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6654
6655 2002-08-19  André Pönitz <poenitz@gmx.net>
6656
6657         * lyxtext.h:
6658         * text.C: new LyXText::dispatch()
6659
6660         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6661
6662 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6663
6664         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6665
6666         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6667         Hebrew text.
6668
6669 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6670
6671         * Makefile.am: use $(variables) instead of @substitutions@
6672
6673 2002-08-15  André Pönitz <poenitz@gmx.net>
6674
6675         * lyxfunc.C:
6676         * BufferView_pimpl.C: streamlining mathed <-> outer world
6677         interaction
6678
6679         * commandtags.h:
6680         * LyXAction.C: remove unused LFUN_MATH
6681
6682 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6683
6684         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6685
6686 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6687
6688         * paragraph.C (Paragraph): reformat a bit
6689         (cutIntoMinibuffer): use builtin InsetList function instad of
6690         doing it manually.
6691         (getInset): ditto
6692
6693         * buffer.C: include boost/bind.hpp, add using std::for_each
6694         (writeFileAscii): use ParagraphList iterators
6695         (validate): use for_each for validate traversal of paragraphs
6696         (getBibkeyList): use ParagraphList iterators
6697         (resizeInsets): use for_each to resizeInsetsLyXText for all
6698         paragraphs.
6699         (getParFromID): use ParagraphList iterators
6700
6701         * BufferView2.C (lockInset): use paragraph list and iterators
6702
6703 2002-08-14  John Levon  <levon@movementarian.org>
6704
6705         * lyxserver.C: remove spurious xforms include
6706
6707 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6708
6709         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6710
6711 2002-08-13  André Pönitz <poenitz@gmx.net>
6712
6713         * LyXAction.[Ch]:
6714         * lyxfunc.C: further cleaning
6715
6716 2002-08-13  André Pönitz <poenitz@gmx.net>
6717
6718         * funcrequest.h: new constructor
6719
6720         * funcrequest.C: move stuff here from .h
6721
6722         * Makefile.am:
6723         * BufferView_pimpl.C:
6724         * LyXAction.C:
6725         * toc.C:
6726         * lyxfunc.C: subsequent changes
6727
6728         * lyxfunc.h: new view() member function
6729
6730         * lyxfunc.C: subsequent changes
6731
6732 2002-08-13  Angus Leeming  <leeming@lyx.org>
6733
6734         * BufferView2.C:
6735         * BufferView_pimpl.C:
6736         * buffer.C:
6737         * converter.C:
6738         * importer.C:
6739         * lyxfunc.C:
6740         * lyxvc.C:
6741         * toc.C:
6742         * vc-backend.C:
6743         changes due to the changed LyXView interface that now returns references
6744         to member variables not pointers.
6745
6746 2002-08-13  Angus Leeming  <leeming@lyx.org>
6747
6748         * WordLangTuple (word, lang_code): return references to strings,
6749         not strings.
6750
6751         * BufferView.h:
6752         * SpellBase.h:
6753         * lyxtext.h: forward-declare WordLangTuple.
6754
6755         * BufferView2.C:
6756         * ispell.C:
6757         * pspell.C:
6758         * text.C: #include "WordLangTuple.h".
6759
6760         * lyxtext.h:
6761         * text.C: (selectNextWordToSpellcheck): constify return type.
6762
6763 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6764
6765         * buffer.C:
6766         * buffer.h:
6767         * lyxtext.h:
6768         * paragraph.C:
6769         * paragraph_pimpl.h:
6770         * text.C:
6771         * text2.C:
6772         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6773         suggested by Angus.
6774         Made updateCounter always count from start of buffer, and removed
6775         second argument (par).
6776         Reverted floats number display to '#'. Perhaps I'll try again when the
6777         code base is sanitized a bit.
6778
6779 2002-08-12  Angus Leeming  <leeming@lyx.org>
6780
6781         * buffer.[Ch] (getLabelList): constify.
6782
6783 2002-08-07  André Pönitz <poenitz@gmx.net>
6784
6785         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6786
6787         * funcrequest.h: extension to keep mouse (x,y) position
6788
6789 2002-08-12  Juergen Vigna  <jug@sad.it>
6790
6791         * BufferView2.C (insertErrors): forbid undo when inserting error
6792         insets.
6793
6794         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6795
6796 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6797
6798         * ParagraphList.[Ch]: new files
6799
6800         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6801
6802         * BufferView2.C (lockInset): ParagraphList changes
6803         * toc.C: ditto
6804         * text2.C: ditto
6805         * bufferlist.C: ditto
6806         * buffer.h: ditto
6807         * buffer.C: ditto
6808
6809 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6810
6811         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6812         unused class variable counter_,
6813
6814         * paragraph.[Ch] (getFirstCounter): delete unused function
6815
6816         * counters.C: include LAssert.h
6817         (reset): add a new function with no arg, change other version to
6818         not have def. arg and to not allow empty arg.
6819
6820         * text2.C (setCounter): remove empty arg from call to Counters::reset
6821
6822 2002-08-11  John Levon  <levon@movementarian.org>
6823
6824         * Makefile.am: add WordLangTuple.h
6825
6826 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6827
6828         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6829         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6830
6831         * insets/insettext.C: InsetList changes
6832
6833         * graphics/GraphicsSupport.C (operator()): InsetList changes
6834
6835         * toc.C (getTocList): InsetList changes
6836
6837         * paragraph_pimpl.[Ch]: InsetList changes
6838
6839         * paragraph.[Ch]: InsetList changes
6840
6841         * buffer.C (inset_iterator): InsetList changes
6842         (setParagraph): ditto
6843         * buffer.h (inset_iterator): ditto
6844         * iterators.C (operator++): ditto
6845         * iterators.h: ditto
6846
6847         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6848
6849         * InsetList.[Ch]: new files, most InsetList handling moved out of
6850         paragraph.C.
6851
6852         * BufferView2.C (removeAutoInsets): InsetList changes
6853         (lockInset): ditto
6854         (ChangeInsets): ditto
6855
6856 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6857
6858         * paragraph_pimpl.h (empty): new function
6859
6860         * paragraph.[Ch] (empty): new function
6861
6862         * other files: use the new Paragraph::empty function
6863
6864 2002-08-09  John Levon  <levon@movementarian.org>
6865
6866         * lyxtext.h: remove unused refresh_height
6867
6868 2002-08-09  John Levon  <levon@movementarian.org>
6869
6870         * Makefile.am:
6871         * sgml.h:
6872         * sgml.C:
6873         * buffer.C:
6874         * paragraph.h:
6875         * paragraph.C: move sgml char escaping out of paragraph
6876
6877         * paragraph.h:
6878         * paragraph.C: remove id setter
6879
6880         * buffer.C:
6881         * paragraph.C:
6882         * paragraph_pimpl.C: remove dead tex_code_break_column
6883
6884         * bufferview_funcs.C: small cleanup
6885
6886         * lyxfunc.C: remove dead proto
6887
6888         * lyxtext.h: make some stuff private. Remove some dead stuff.
6889
6890         * lyxgluelength.C: make as[LyX]String() readable
6891
6892 2002-08-08  John Levon  <levon@movementarian.org>
6893
6894         * LyXAction.h:
6895         * LyXAction.C:
6896         * MenuBackend.C:
6897         * ToolbarDefaults.C:
6898         * lyxfunc.C:
6899         * lyxrc.C:
6900         * toc.C: lyxaction cleanup
6901
6902 2002-08-08  John Levon  <levon@movementarian.org>
6903
6904         * BufferView2.C: small cleanup
6905
6906         * lyxfind.h:
6907         * lyxfind.C: move unnecessary header into the .C
6908
6909 2002-08-08  John Levon  <levon@movementarian.org>
6910
6911         * funcrequest.h: just tedious nonsense
6912
6913         * lyx_main.h:
6914         * lyx_main.C: cleanups
6915
6916         * buffer.C:
6917         * vspace.C: remove dead header lyx_main.h
6918
6919 2002-08-07  Angus Leeming  <leeming@lyx.org>
6920
6921         * Paragraph.[Ch]:
6922         * paragraph_pimpl.h:
6923         Forward declare class Counters in paragraph.h by moving the ctrs member
6924         variable into Paragraph::Pimpl.
6925         (counters): new method, returning a reference to pimpl_->ctrs.
6926
6927         * text2.C: ensuing changes.
6928
6929 2002-08-07  John Levon  <levon@movementarian.org>
6930
6931         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6932
6933         * BufferView_pimpl.C: announce X selection on double/triple
6934           click
6935
6936         * lyx_main.C: use correct bool in batch dispatch
6937
6938         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6939
6940 2002-08-07  André Pönitz <poenitz@gmx.net>
6941
6942         * funcrequest.h: new class to wrap a kb_action and its argument
6943
6944         * BufferView.[Ch]:
6945         * BufferView_pimpl[Ch]:
6946         * LaTeX.C:
6947         * LyXAction.[Ch]:
6948         * lyxfunc.[Ch]:
6949         * lyxrc.C: subsequent changes
6950
6951
6952 2002-08-07  John Levon  <levon@movementarian.org>
6953
6954         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6955           document options change.
6956
6957 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6958
6959         * counters.[Ch]
6960         * text2.C
6961         * paragraph.[Ch]
6962         * makefile.am: move counters functionality over from
6963         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6964
6965 2002-08-06  John Levon  <levon@movementarian.org>
6966
6967         * WordLangTuple.h: new file for word + language code tuple
6968
6969         * SpellBase.h:
6970         * pspell.h:
6971         * pspell.C:
6972         * ispell.h:
6973         * ispell.C:
6974         * lyxtext.h:
6975         * text.C:
6976         * text2.C:
6977         * BufferView.h:
6978         * BufferView2.C: use WordLangTuple
6979
6980         * layout.h:
6981         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6982
6983 2002-08-06  John Levon  <levon@movementarian.org>
6984
6985         * lyx_main.C: fix cmdline batch handling
6986
6987 2002-08-06  André Pönitz <poenitz@gmx.net>
6988
6989         * lyxrc.C: set default for show_banner to true
6990
6991 2002-08-06  John Levon  <levon@movementarian.org>
6992
6993         * pspell.C: fix a crash, and allow new aspell to work
6994
6995 2002-08-06  John Levon  <levon@movementarian.org>
6996
6997         * lyxfunc.C:
6998         * kbmap.C: small cleanup
6999
7000         * vspace.h:
7001         * vspace.C: add const
7002
7003 2002-08-05  John Levon  <levon@movementarian.org>
7004
7005         * LyXAction.C: back to tabular-insert
7006
7007 2002-08-04  John Levon  <levon@movementarian.org>
7008
7009         * BufferView.h:
7010         * BufferView.C: cosmetic change
7011
7012         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7013
7014         * bufferlist.C:
7015         * buffer.h:
7016         * buffer.C:
7017         * lyxcb.h:
7018         * lyxcb.C:
7019         * lyxserver.C:
7020         * lyxvc.C:
7021         * vc-backend.C:
7022         * BufferView2.C: purge all "Lyx" not "LyX" strings
7023
7024         * lyxcursor.h:
7025         * lyxcursor.C: attempt to add some documentation
7026
7027         * lyxfunc.C:
7028         * commandtags.h:
7029         * LyXAction.C:
7030         * ToolbarDefaults.C:
7031         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7032           merge with LFUN_TABULAR_INSERT
7033
7034         * Makefile.am:
7035         * SpellBase.h:
7036         * ispell.h:
7037         * ispell.C:
7038         * pspell.h:
7039         * pspell.C: split up i/pspell implementations into separate
7040           files, many cleanups
7041
7042         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7043
7044         * text2.C: some cleanup
7045
7046         * lyxfunc.C: don't check for isp_command == "none" any more, it
7047           didn't make any sense
7048
7049 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7050
7051         * counters.[Ch]
7052         * text2.C
7053         * paragraph.[Ch]
7054         * makefile.am: move counters functionality over
7055         from text2.C/paragraph.[Ch] to counters.[Ch], and
7056         make proper C++.
7057 2002-08-02  John Levon  <levon@movementarian.org>
7058
7059         * buffer.C: s/lyxconvert/lyx2lyx/
7060
7061 2002-08-02  Angus Leeming  <leeming@lyx.org>
7062
7063         * lyxlex.C: revert John's change as it breaks reading of the user
7064         preamble.
7065
7066 2002-08-02  Angus Leeming  <leeming@lyx.org>
7067
7068         * importer.C (Import):
7069         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7070         changes due to LyXView::view() now returning a boost::shared_ptr.
7071
7072 2002-08-02  John Levon  <levon@movementarian.org>
7073
7074         * lyxlex.C: small cleanup
7075
7076 2002-08-02  John Levon  <levon@movementarian.org>
7077
7078         * text2.C (status): small cleanup, no logic change
7079
7080 2002-08-01  John Levon  <levon@movementarian.org>
7081
7082         * buffer.h:
7083         * buffer.C (writeFile): don't output alerts, caller
7084           handles this
7085
7086         * bufferlist.C:
7087         * lyx_cb.C: from above
7088
7089         * lyxfunc.C: allow to open non-existent files
7090
7091 2002-07-31  John Levon  <levon@movementarian.org>
7092
7093         * lyxserver.C: don't let incidental errors get
7094           in the way (errno)
7095
7096 2002-07-30  John Levon  <levon@movementarian.org>
7097
7098         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7099
7100 2002-07-30  John Levon  <levon@movementarian.org>
7101
7102         * lyxserver.h:
7103         * lyxserver.C: remove I/O callback too
7104
7105 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7106
7107         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7108         log.
7109
7110 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7111
7112         * many files: strip,frontStrip -> trim,ltrim,rtrim
7113
7114 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7115
7116         * PrinterParams.h: remove extern containsOnly, and include
7117         support/lstrings.h instead.
7118
7119         * LaTeX.C (scanAuxFile): modify because of strip changes
7120         (deplog): ditto
7121         * buffer.C (makeLaTeXFile): ditto
7122         * bufferparams.C (writeFile): ditt
7123         * lyxfont.C (stateText): ditto
7124         * lyxserver.C (read_ready): ditto
7125         * vc-backend.C (scanMaster): ditto
7126
7127         * BufferView_pimpl.h: ws changes
7128
7129         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7130
7131 2002-07-26  André Pönitz <poenitz@gmx.net>
7132
7133         * kb_sequence.C: remove unnedred usings
7134
7135 2002-07-26  Juergen Vigna  <jug@sad.it>
7136
7137         * lyxfind.C (LyXReplace): we have to check better if the returned
7138         text is not of theLockingInset()->getLockingInset().
7139
7140 2002-07-25  Juergen Vigna  <jug@sad.it>
7141
7142         * lyxfind.C (LyXReplace): don't replace if we don't get the
7143         right LyXText.
7144
7145         * undo_funcs.C (createUndo): remove debugging code.
7146
7147 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7148
7149         * buffer.C (parseSingleLyXformat2Token): Use default placement
7150         when reading old floats.
7151
7152         * FloatList.C (FloatList): Change the default placement of figure
7153         and tables to "tbp".
7154
7155 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7156
7157         * MenuBackend.C: using std::max
7158
7159 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7160
7161         * MenuBackend.C (expandToc):
7162         (expandToc2): code moved from xforms menu frontend. It is now
7163         generic and TOCs are transparent to menu frontends.
7164
7165 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7166
7167         * toc.C (getTocList): protect against buf=0
7168
7169         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7170         Menu as first parameter. Now, this calls itself recursively to
7171         expand a whole tree (this will be useful for TOC handling)
7172         (expandFloatInsert): remove 'wide' version of floats
7173
7174         * MenuBackend.h (submenuname): returns the name of the submenu.
7175         (submenu): returns the submenu itself, provided it has been
7176         created by MenuBackend::expand
7177
7178 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7179
7180         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7181         insets which have noFontChange == true. (bug #172)
7182
7183 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7184
7185         * BufferView_pimpl.C: add connection objects and use them...
7186         (Pimpl): here.
7187
7188 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7189
7190         * MenuBackend.C (expandLastfiles):
7191         (expandDocuments):
7192         (expandFormats):
7193         (expandFloatListInsert):
7194         (expandFloatInsert):
7195         (expand): split expand in parts
7196
7197 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7198
7199         * lyx_gui.C: use lyx_gui::exit()
7200
7201 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7202
7203         * LyXAction.C: show the failing pseudo action
7204
7205 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7206
7207         * buffer.C (readFile): Run the lyxconvert script in order to read
7208         old files.
7209
7210 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7211
7212         * LyXAction.C:
7213         * commandtags.h:
7214         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7215
7216 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7217
7218         * LyXAction.C:
7219         * commandtags.h:
7220         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7221
7222 2002-07-22  Herbert Voss  <voss@lyx.org>
7223
7224         * lengthcommon.C:
7225         * lyxlength.[Ch]: add support for the vertical lengths
7226
7227 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7228
7229         * toc.[Ch]: std:: fixes
7230
7231 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7232
7233         * lyxrc.C: do not include lyx_main.h
7234
7235         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7236         for layouts
7237
7238         * lyxrc.C:
7239         * encoding.C:
7240         * bufferlist.C:
7241         * BufferView2.C: include "lyxlex.h"
7242
7243         * tabular.h:
7244         * bufferparams.h: do not #include "lyxlex.h"
7245
7246         * lyxtextclasslist.C (Add): remove method
7247         (classlist): renamed to classlist_
7248
7249         * paragraph_pimpl.C:
7250         * paragraph.C:
7251         * text2.C:
7252         * CutAndPaste.C:
7253         * bufferview_funcs.C:
7254         * bufferlist.C:
7255         * text.C:
7256         * LaTeXFeatures.C:
7257         * buffer.C:
7258         * toc.C (getTocList): use BufferParams::getLyXTextClass
7259
7260         * toc.C (getTocList): use InsetFloat::addToToc
7261
7262         * toc.[Ch]: new files, containing helper functions to handle table
7263         of contents
7264
7265         * lyxfunc.C (dispatch): no need to remove spaces around command
7266         given as a string
7267         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7268         first command of the sequence; it is not very clever, but I do not
7269         have a better idea, actually
7270
7271         * LyXAction.C (LookupFunc): make sure to remove space at the
7272         beginning and end of the command
7273
7274 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7275
7276         * MenuBackend.C (getMenubar): new method: return the menubar of
7277         this menu set
7278         (read): treat differently reading of menu and menubar (in
7279         particular, the menubar has no name now)
7280         (Menu::menubar): remove
7281
7282         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7283         saving is finished
7284
7285 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7286
7287         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7288         a bibitem inset in a RTL paragraph.
7289
7290 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7291
7292         * paragraph_pimpl.C: constify
7293
7294         * BufferView_pimpl.C:
7295         * LaTeX.C:
7296         * lyxfunc.C: fix dispatch in a nicer way
7297
7298 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7299
7300         * lyxfunc.C (dispatch):
7301         * BufferView_pimpl.C:
7302         * BufferView_pimpl.h:
7303         * BufferView.C:
7304         * BufferView.h: rename Dispatch() to dispatch()
7305
7306         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7307
7308         * lyxlayout.C (Read): honor DependsOn tag
7309
7310         * lyxlayout.[Ch] (depends_on): new method
7311
7312         * version.C.in: update lyx_docversion
7313
7314         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7315
7316         * paragraph.C (validate): remove from here...
7317         * paragraph_pimpl.C (validate): ... and move here
7318         (isTextAt): make it const
7319
7320         * buffer.C (getLists): ws cleanup
7321
7322 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7323
7324         * language.C (read): Use iso8859-1 encoding in latex_lang
7325         (this prevents LyX from crashing when using iso10646-1 encoding).
7326
7327 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7328
7329         * text2.C (toggleInset): if cursor is inside an inset, close the
7330         inset and leave cursor _after_ it
7331
7332 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7333
7334         * lyxfunc.C: move minibuffer completion handling out of here
7335
7336 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7337
7338         * BufferView_pimpl.C:
7339         * LaTeX.C: fix dispatch calls
7340
7341 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7342
7343         * text.C (drawChars): Fix Arabic text rendering.
7344
7345 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7346
7347         * LyXAction.C:
7348         * commandtags.h:
7349         * lyxfunc.C: remove message-push/pop
7350
7351         * lyxserver.C:
7352         * lyxfunc.h:
7353         * lyxfunc.C: rationalise some code by removing verboseDispatch
7354           in favour of a bool argument to dispatch()
7355
7356 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7357
7358         * lyx_main.C (init): make sure to read symlinks as absolute paths
7359
7360 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7361
7362         * lyxfunc.h:
7363         * lyxfunc.C: no need for commandshortcut to be a member
7364
7365 2002-07-15  André Pönitz <poenitz@gmx.net>
7366
7367         * converter.C: add support for $$s (scripts from lib/scripts dir)
7368         * lyx_main.C: white space
7369
7370 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7371
7372         * bufferlist.C:
7373         * lyxrc.h:
7374         * lyxrc.C: remove second exit confirmation
7375
7376 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7377
7378         * BufferView.h:
7379         * BufferView.C:
7380         * BufferView2.C:
7381         * BufferView_pimpl.h:
7382         * BufferView_pimpl.C:
7383         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7384
7385 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7386
7387         * MenuBackend.C (expand): add numeric shortcuts to document menu
7388
7389         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7390
7391 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7392
7393         * lyxfont.C (setLyXFamily):
7394         (setLyXSeries):
7395         (setLyXShape):
7396         (setLyXSize):
7397         (setLyXMisc):
7398         (lyxRead):
7399         * debug.C (value):
7400         * buffer.C (asciiParagraph): use ascii_lowercase
7401
7402 2002-07-15  Mike Fabian  <mfabian@suse.de>
7403
7404         * lyxlex_pimpl.C (search_kw):
7405         * lyxlex.C (getLongString):
7406         * converter.h (operator<):
7407         * converter.C (operator<):
7408         * buffer.C (parseSingleLyXformat2Token):
7409         (asciiParagraph):
7410         * ToolbarDefaults.C (read):
7411         * MenuBackend.C (checkShortcuts):
7412         (read):
7413         * LColor.C (getFromGUIName):
7414         (getFromLyXName): use the compare_ascii_no_case instead of
7415         compare_no_case, because in turkish, 'i' is not the lowercase
7416         version of 'I', and thus turkish locale breaks parsing of tags.
7417
7418 2002-07-16  Angus Leeming  <leeming@lyx.org>
7419
7420         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7421         now takes a Buffer const & argument.
7422
7423 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7424
7425         * BufferView.C (resize): check there's a buffer to resize
7426
7427 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7428
7429         * lyxfunc.C: remove dead code
7430
7431         * lyxserver.h:
7432         * lyxserver.C: use lyx_guii::set_read_callback
7433
7434 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7435
7436         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7437         an inset in a RTL paragraph.
7438
7439 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7440
7441         * lyxfunc.C: repaint after a font size update
7442
7443 2002-07-15  André Pönitz <poenitz@gmx.net>
7444
7445         * lyxlength.C: inBP should be able to return negative values
7446
7447 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7448
7449         * lyxfunc.C: use lyx_gui::update_fonts()
7450
7451 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7452
7453         * lyxfunc.C: use lyx_gui::update_color()
7454
7455 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7456
7457         * bufferlist.C:
7458         * lyxfunc.h:
7459         * lyxfunc.C:
7460         * lyxrc.h:
7461         * lyxrc.C: remove file->new asks for name option, and let
7462           buffer-new take an argument
7463
7464 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7465
7466         * BufferView_pimpl.C: remove unneeded extra repaint()
7467
7468 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7469
7470         * LyXAction.C: allow command-sequence with NoBuffer
7471
7472         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7473
7474 2002-07-10  Angus Leeming  <leeming@lyx.org>
7475
7476         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7477
7478 2002-07-09  Angus Leeming  <leeming@lyx.org>
7479
7480         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7481
7482 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7483
7484         * lengthcommon.h: whitespace
7485
7486         * lyxfunc.C: update scrollbar after goto paragraph
7487
7488         * lyxtext.h: factor out page break drawing, and fix it so
7489           page break/added space paints as selected nicely
7490
7491 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7492
7493         * BufferView_pimpl.C: add FIXMEs, clean up a little
7494
7495 2002-07-09  André Pönitz <poenitz@gmx.net>
7496
7497         * lyxfont.[Ch]: support for wasy symbols
7498
7499 2002-07-08  André Pönitz <poenitz@gmx.net>
7500
7501         * BufferView_pimpl.C: apply John's patch for #93.
7502
7503 2002-07-05  Angus Leeming  <leeming@lyx.org>
7504
7505         * BufferView_pimpl.C (buffer): generate previews if desired.
7506
7507         * LColor.h: add "preview" to the color enum.
7508
7509         * LColor.C (LColor): add a corresponding entry to the items array.
7510
7511         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7512         with this buffer.
7513
7514 2002-07-05  Angus Leeming  <leeming@lyx.org>
7515
7516         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7517         The body of the code is now in the method that is passed an ostream &
7518         rather than a file name.
7519         Pass an additional only_preamble parameter, useful for the forthcoming
7520         preview stuff.
7521
7522 2002-07-03  André Pönitz <poenitz@gmx.net>
7523
7524         * lyxfunc.C: simplify getStatus() a bit for math stuff
7525
7526 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7527
7528         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7529
7530 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7531
7532         * text.C (changeRegionCase): do not change case of all the
7533         document when region ends at paragraph end (bug #461)
7534
7535 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7536
7537         * paragraph.C (startTeXParParams):
7538         (endTeXParParams): add \protect when necessary
7539
7540 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7541
7542         * BufferView_pimpl.C (workAreaExpose): remove warning
7543
7544 2002-06-27  Angus Leeming  <leeming@lyx.org>
7545
7546         * Makefile.am: add lyxlayout_ptr_fwd.h.
7547
7548 2002-06-26  André Pönitz <poenitz@gmx.net>
7549
7550         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7551
7552 2002-06-25  Angus Leeming  <leeming@lyx.org>
7553
7554         * lyxfunc.C (dispatch): Comment out the call to
7555         grfx::GCache::changeDisplay. The method no longer exists now that the
7556         pixmap generation part of the graphics loader has been moved into
7557         InsetGraphics.
7558
7559 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7560
7561         * text2.C: layout as layout
7562
7563         * text.C: layout as layout
7564
7565         * tabular.C (OldFormatRead): layout as layout
7566
7567         * paragraph_pimpl.C (TeXDeeper): layout as layout
7568         (realizeFont): layout as layout
7569
7570         * paragraph.C (writeFile): layout as layout
7571         (validate): layout as layout
7572         (getFont): layout as layout
7573         (getLabelFont): layout as layout
7574         (getLayoutFont): layout as layout
7575         (breakParagraph): layout as layout
7576         (stripLeadingSpaces): layout as layout
7577         (getEndLabel): layout as layout
7578         (getMaxDepthAfter): layout as layout
7579         (applyLayout): layout as layout
7580         (TeXOnePar): layout as layout
7581         (simpleTeXOnePar): layout as layout
7582         (TeXEnvironment): layout as layout
7583         (layout): layout as layout
7584         (layout): layout as layout
7585
7586         * lyxtextclass.C (compare_name): new functor to work with
7587         shared_ptr, layout as layout
7588         (Read): layout as layout
7589         (hasLayout): layout as layout
7590         (operator): layout as layout
7591         (delete_layout): layout as layout
7592         (defaultLayout): layout as layout
7593
7594         * lyxlayout_ptr_fwd.h: new file
7595
7596         * lyxlayout.C (Read): layout as layout
7597
7598         * lyx_cb.C (MenuInsertLabel): layout as layout
7599
7600         * bufferlist.C (newFile): layout as layout
7601
7602         * buffer.C (readLyXformat2): layout as layout
7603         (parseSingleLyXformat2Token): layout as layout
7604         (insertStringAsLines): layout as layout
7605         (asciiParagraph): layout as layout
7606         (latexParagraphs): layout as layout
7607         (makeLinuxDocFile): layout as layout
7608         (simpleLinuxDocOnePar): layout as layout
7609         (makeDocBookFile): layout as layout
7610         (simpleDocBookOnePar): layout as layout
7611         (getLists): layout as layout
7612
7613         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7614
7615         * CutAndPaste.C (cutSelection): layout as layout
7616         (pasteSelection): layout as layout
7617         (SwitchLayoutsBetweenClasses): layout as layout
7618
7619         * BufferView_pimpl.C (Dispatch): layout as layout
7620         (smartQuote): layout as layout
7621
7622         * BufferView2.C (unlockInset): layout as layout
7623
7624 2002-06-24  André Pönitz <poenitz@gmx.net>
7625
7626         * lyxfunc.C: fix #487
7627
7628 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7629
7630         * lyxrc.h:
7631         * lyxrc.C:
7632         * lyxfunc.C: remove display_shortcuts, show_banner
7633
7634 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7635
7636         * Buffer_pimpl.C: oops, update on resize
7637
7638 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7639
7640         * buffer.C:
7641         * converter.C:
7642         * exporter.C:
7643         * lyxfunc.C:
7644         * BufferView.h:
7645         * BufferView.C: use repaint()
7646
7647         * BufferView_pimpl.h:
7648         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7649           as it's a clearer description. Remove superfluous
7650           redraws.
7651
7652 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7653
7654         * text.C: fix bug 488. Not ideal, but getting
7655           getWord() to work properly for the insets that
7656           matter is more difficult ...
7657
7658 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7659
7660         * BufferView_pimpl.C:
7661         * LyXAction.C:
7662         * commandtags.h:
7663         * lyxfunc.C: remove the six million index lyxfuncs to just
7664           one, and DTRT (bug 458)
7665
7666 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7667
7668         * BufferView.h:
7669         * BufferView.C:
7670         * BufferView_pimpl.h:
7671         * BufferView_pimpl.C: clean up resize() stuff,
7672           and unnecessary updateScreen()s
7673
7674 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7675
7676         * BufferView.h:
7677         * BufferView.C:
7678         * BufferView_pimpl.h:
7679         * BufferView_pimpl.C:
7680         * lyxfind.h:
7681         * lyxfind.C:
7682         * minibuffer.C: remove focus management of workarea,
7683           not needed. Use screen's greyOut()
7684
7685 2002-06-17  Herbert Voss  <voss@lyx.org>
7686
7687         * converter.C: (convert) do not post a message, when converting
7688         fails, let the calling function decide what to do in this case
7689
7690 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7691
7692         * lyxfunc.C: tidy up a little
7693
7694 2002-06-16    <alstrup@diku.dk>
7695
7696         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7697         Got rid of FORMS_H_LOCATION include. Now we are
7698         GUII.
7699
7700 2002-06-15  LyX Development team  <lyx@rilke>
7701
7702         * buffer.[Ch] (sgmlOpenTag):
7703         (sgmlCloseTag): Added support for avoiding pernicious mixed
7704         content. Return number of lines written.
7705
7706         (makeLinuxDocFile):
7707         (makeDocBookFile): Fixed calls to sgml*Tag.
7708         Simple white space clean.
7709
7710         (simpleDocBookOnePar): Simple white space clean.
7711
7712         * tabular.[Ch] (docBook): Renamed to docbook and got another
7713         argument to related with the pernicious mixed content.
7714
7715         (docbookRow): Fixed calls for docbook inset method.
7716
7717 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7718
7719         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7720         so it's X11 independent.
7721
7722         * kb*.[Ch]: ditto.
7723
7724         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7725
7726 2002-06-15  Lyx Development team  <lyx@electronia>
7727
7728         * intl.h: Renamed getTrans to getTransManager.
7729
7730 2002-06-14  Angus Leeming  <leeming@lyx.org>
7731
7732         * Makefile.am: nuke forgotten stl_string_fwd.h.
7733
7734 2002-06-12  Angus Leeming  <leeming@lyx.org>
7735
7736         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7737
7738 2002-06-13  Angus Leeming  <leeming@lyx.org>
7739
7740         * LaTeX.C:
7741         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7742
7743 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7744
7745         * kbmap.C (getiso): add support for cyrillic and greek
7746
7747 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7748
7749         * BufferView.h:
7750         * BufferView.C:
7751         * BufferView_pimpl.h:
7752         * BufferView_pimpl.C: move bogus scrolling logic
7753           to xforms
7754
7755 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7756
7757         * lyxfunc.C:
7758         * BufferView_pimpl.C: view->resize() change
7759
7760 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7761
7762         * BufferView_pimpl.C: topCursorVisible
7763           prototype change
7764
7765 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7766
7767         * Makefile.am:
7768         * lyx_gui.h:
7769         * lyx_gui.C: move to frontends/
7770
7771         * main.C:
7772         * lyx_main.h:
7773         * lyx_main.C: changes from above
7774
7775 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7776
7777         * intl.C:
7778         * intl.h:
7779         * kbmap.C:
7780         * kbsequence.C:
7781         * lyx_cb.C:
7782         * lyx_main.C: minor tidy
7783
7784 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7785
7786         * BufferView_pimpl.h:
7787         * BufferView_pimpl.C:
7788         * BufferView.h:
7789         * BufferView.C: make painter() const,
7790           remove dead code
7791
7792         * BufferView2.C: use screen() accessor
7793
7794         * lyx_main.h:
7795         * lyx_main.C: some minor cleanup
7796
7797 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7798
7799         * BufferView_pimpl.h:
7800         * BufferView_pimpl.C: remove enter/leaveView,
7801           use workHeight()
7802
7803 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7804
7805         * BufferView.h:
7806         * BufferView.C:
7807         * BufferView2.C:
7808         * BufferView_pimpl.h:
7809         * BufferView_pimpl.C: only construct screen once,
7810           rename
7811
7812         * lyxrc.C: remove pointless comment
7813
7814 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7815
7816         * BufferView.h:
7817         * BufferView.C: remove active() and belowMouse()
7818
7819         * BufferView_pimpl.h:
7820         * BufferView_pimpl.C: use workarea() not workarea_,
7821           and make it use a scoped_ptr instead
7822
7823 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7824
7825         * lyx_gui.C: add debug message on BadWindow
7826
7827 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7828
7829         * sp_spell.C: fdopen is not part of the C++ standard.
7830
7831         * paragraph.C (InsetIterator): use >= instead of ==
7832
7833 2002-06-07  Angus Leeming  <leeming@lyx.org>
7834
7835         Fixes needed to compile with Compaq cxx 6.5.
7836         * BufferView_pimpl.C:
7837         * DepTable.C:
7838         * buffer.C:
7839         * converter.C:
7840         * encoding.C:
7841         * lyx_gui.C:
7842         * lyx_main.C:
7843         * lyxtextclasslist.C:
7844         * minibuffer.C:
7845         * sp_spell.C:
7846         * tabular_funcs.C:
7847         * vc-backend.C:
7848         all c-library variables have been moved into namespace std. Wrap
7849         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7850
7851         * lyxlength.C:
7852         * tabular-old.C:
7853         * tabular.C:
7854         Add a using std::abs declaration.
7855
7856         * kbmap.h (modifier_pair):
7857         * paragraph.h (InsetTable, InsetList):
7858         * lyxfont.h (FontBits):
7859         type definition made public.
7860
7861         * bufferlist.C (emergencyWriteAll): the compiler complains that
7862         there is more than one possible lyx::class_fun template to choose from.
7863         I re-named the void specialisation as lyx::void_class_fun.
7864
7865         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7866
7867         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7868         the compiler is is unable to find tostr in write_attribute.
7869
7870 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7871
7872         * buffer.C (sgmlError): hide #warning
7873
7874 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7875
7876         * xtl/*: get rid of xtl, which is not in use anyway
7877
7878         * LyXAction.C (init):
7879         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7880         were unimplemented xtl experimentation
7881
7882 2002-06-04  André Pönitz <poenitz@gmx.net>
7883
7884         * lyxfunc.C: disable array operation on simple formulae
7885
7886 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7887
7888         * converter.C: constify a bit
7889
7890 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7891
7892         * lyx_gui.C: check xforms version correctly
7893
7894 2002-04-30  Herbert Voss  <voss@lyx.org>
7895
7896         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7897         "keep" option
7898
7899 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7900
7901         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7902           attempt to register it with a VCS)
7903
7904 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7905
7906         * lyx_main.C (init): honor variables LYX_DIR_13x and
7907         LYX_USERDIR_13x
7908
7909 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7910
7911         * buffer.h:
7912         * buffer.C:
7913         * lyx_main.C: fix a crash on bad command line,
7914           and give a useful exit status on error
7915
7916         * lyxfunc.C (doImport): allow -i lyx to work
7917
7918 2002-03-30  André Pönitz <poenitz@gmx.net>
7919
7920         * lyxfunc.C: mathed font changes
7921
7922 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7923
7924         * LaTeX.C:
7925         * importer.h:
7926         * importer.C:
7927         * lyx_sty.h:
7928         * lyx_sty.C:
7929         * lyxlex.C:
7930         * lyxrow.h:
7931         * lyxtext.h:
7932         * paragraph.h:
7933         * paragraph.C:
7934         * texrow.h:
7935         * texrow.C:
7936         * text.C:
7937         * trans_mgr.h: srcdocs, and some minor cleanups
7938
7939 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7940
7941         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7942         call getFont all the time)
7943
7944 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7945
7946         * switch from SigC signals to boost::signals
7947
7948 2002-05-29  André Pönitz <poenitz@gmx.net>
7949
7950         * paragraph_pimpl.C (getChar): don't call size() too often...
7951
7952 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7953
7954         * paragraph_pimpl.C (insertChar): do not try to update tables when
7955         appending (pos == size())
7956
7957         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7958         in order to reduce drastically the number of comparisons needed to
7959         parse a large document
7960
7961 2002-05-29  André Pönitz <poenitz@gmx.net>
7962
7963         * text.C:
7964         * text2.C:
7965         * lyxtextclass.C:
7966         * sp_pspell.h:
7967         * textclasslist.[Ch]:
7968         * sp_ispell.h: whitespace change
7969
7970 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7971
7972         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7973         lyxaction directly now.
7974
7975 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7976
7977         * trans.C:
7978         * lyxfont.C:
7979         * lyxvc.C: remove unused headers
7980
7981 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7982
7983         * Makefile.am:
7984         * buffer.h:
7985         * undostack.h:
7986         * undostack.C:
7987         * undo_funcs.h:
7988         * undo_funcs.C: some cleanups. Use shared_ptr
7989           and a template for the undo stacks.
7990
7991 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7992
7993         * BufferView_pimpl.h:
7994         * BufferView_pimpl.C:
7995         * kbmap.h:
7996         * kbmap.C:
7997         * kbsequence.h:
7998         * kbsequence.C:
7999         * lyxfunc.h:
8000         * lyxfunc.C:
8001         * text2.C: use key_state/mouse_state
8002
8003 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8004
8005         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8006         and LSubstring
8007
8008         * chset.C: change include order
8009         (loadFile): use boost regex and get rid of LRegex and LSubstring
8010
8011         * Makefile.am (BOOST_LIBS): new variable
8012         (lyx_LDADD): use it
8013
8014         * LaTeX.C: change include order.
8015         (scanAuxFile): use boost regex and get rid of LRegex and
8016         LSubstring
8017         (deplog): ditto
8018
8019 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8020
8021         * ColorHandler.h:
8022         * ColorHandler.C:
8023         * FontInfo.h:
8024         * FontInfo.C: moved to frontends/xforms/
8025
8026         * FontLoader.h:
8027         * FontLoader.C: moved into frontends for GUIIzation
8028
8029         * Makefile.am:
8030         * lyx_gui.C:
8031         * lyxfont.C:
8032         * lyxfunc.C: changes from above
8033
8034 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8035
8036         * LColor.C: remove spurious X include
8037
8038         * BufferView_pimpl.C:
8039         * Makefile.am:
8040         * font.h:
8041         * font.C:
8042         * text.C:
8043         * text2.C: move font metrics to frontends/
8044
8045 2002-05-24  Juergen Vigna  <jug@sad.it>
8046
8047         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8048         setting the undo_cursor.
8049
8050         * ParagraphParameters.h: include local includes first.
8051
8052 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8053
8054         * BufferView_pimpl.C:
8055         * BufferView_pimpl.h:
8056         * Makefile.am:
8057         * WorkArea.h:
8058         * WorkArea.C:
8059         * screen.C: move WorkArea into frontends/
8060
8061         * lyxscreen.h:
8062         * screen.C:
8063         * text.C:
8064         * BufferView.C:
8065         * BufferView2.C: move LyXScreen into frontends/
8066
8067         * lyxlookup.h:
8068         * lyxlookup.C:
8069         * lyx_gui.C: move lyxlookup into frontends/xforms/
8070
8071 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8072
8073         * BufferView2.C:
8074         * BufferView_pimpl.C:
8075         * FontLoader.C:
8076         * LyXView.h:
8077         * LyXView.C:
8078         * Makefile.am:
8079         * WorkArea.C:
8080         * XFormsView.h:
8081         * XFormsView.C:
8082         * buffer.C:
8083         * bufferlist.C:
8084         * bufferview_funcs.C:
8085         * converter.C:
8086         * importer.C:
8087         * lyx_cb.C:
8088         * lyx_gui.C:
8089         * lyx_main.C:
8090         * lyx_find.C:
8091         * lyxfunc.C:
8092         * lyxvc.C:
8093         * minibuffer.C:
8094         * text.C:
8095         * text2.C:
8096         * trans.C:
8097         * vc-backend.C: move LyX/XFormsView into frontends/
8098
8099 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8100
8101         * Makefile.am:
8102         * PainterBase.C:
8103         * PainterBase.h:
8104         * Painter.C:
8105         * Painter.h:
8106         * WorkArea.C:
8107         * WorkArea.h:
8108         * screen.C:
8109         * tabular.C:
8110         * text.C:
8111         * text2.C: move Painter to frontends/
8112
8113 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8114
8115         * buffer.C: comment out some some code that depend upon lyx_format
8116         < 220
8117
8118         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8119         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8120
8121         * buffer.h (NO_COMPABILITY): turn off compability
8122
8123         * ColorHandler.C: include scoped_array.hpp
8124
8125         * font.C: Use more specific smart_ptr header.
8126         * Painter.C: ditto
8127         * gettext.C: ditto
8128         * ShareContainer.h: ditto
8129         * lyx_main.h: ditto
8130         * kbmap.h: ditto
8131         * FontInfo.h: ditto
8132         * BufferView_pimpl.h: ditto
8133         * ColorHandler.h: ditto
8134
8135         * kbmap.C (defkey): change call to shared_ptr::reset
8136
8137 2002-05-21  Juergen Vigna  <jug@sad.it>
8138
8139         * buffer.C (insertErtContents): fix to insert ert asis if it is
8140         non empty. Skip it completely if it contains only whitespaces.
8141
8142 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8143
8144         * BufferView_pimpl.C:
8145         * BufferView2.C: clear selection on paste (bug 393)
8146
8147 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8148
8149         * DepTable.C: include ctime
8150
8151 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8152
8153         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8154
8155 2002-05-14  Juergen Vigna  <jug@sad.it>
8156
8157         * text.C (breakParagraph): fixed function to honor the keepempty
8158         layout in the right maner and also to permit the right breaking
8159         algorithm on empty or non empyt keepempty paragraphs.
8160
8161         * paragraph.C (breakParagraph): we have to check also if the par
8162         is really empty (!size()) for isempty otherwise we do the wrong
8163         paragraph break.
8164
8165 2002-05-10  Juergen Vigna  <jug@sad.it>
8166
8167         * buffer.[Ch] : The following are only changes to the ert
8168         compatibility read reading old LaTeX layout and font stuff and
8169         convert it to ERTInsets.
8170
8171         * buffer.h: added isErtInset().
8172
8173         * buffer.C (struct ErtComp): add a fromlayout bool to check
8174         if we're inside a LaTeX layout.
8175         (isErtInset): new helper function.
8176         (insertErtContents): look for other ert insets before this one
8177         and insert the contents there, so that we don't have subsequent
8178         ERT insets with nothing between them. This way we create only one
8179         inset with multiple paragraphs. Also check if we don't insert only
8180         spaces ' ' as they are ignored anyway afterwards in the .tex file
8181         so if we have only spaces we will ignore this latex part in the
8182         new file.
8183         (parseSingleLyXformat2Token \\layout): better compatibility when
8184         reading layout-latex stuff.
8185         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8186         language tag.
8187         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8188         stuff after reading the inset only get the information back from
8189         the stack.
8190
8191 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8192
8193         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8194
8195         * LaTeXFeatures.C (getBabelOptions): New method.
8196
8197 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8198
8199         * BufferView_pimpl.C (Dispatch): work around missing argument for
8200         'layout'
8201
8202 2002-05-08  Juergen Vigna  <jug@sad.it>
8203
8204         * text.C (leftMargin): handle paragraph leftindent.
8205
8206         * paragraph.C (writeFile): write the new \\leftindent tag.
8207         (validate): handle leftindent code.
8208         (TeXEnvironment): handle paragraphleftindent code again.
8209
8210         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8211
8212         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8213         for paragrap_extra indent code and new token \\leftindent.
8214         (latexParagraphs): handle the leftindent as environment.
8215
8216         * ParameterStruct.h: added leftindent support.
8217
8218         * ParagraphParameters.C (leftIndent): added support functions for
8219         the paragraph left indent.
8220
8221         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8222         more appropriate.
8223
8224 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8225
8226         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8227         inside insetERT.
8228
8229         * text.C (computeBidiTables): No bidi in insetERT.
8230
8231         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8232         in RTL documents.
8233
8234 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8235
8236         * version.C.in: pre 5
8237
8238 2002-05-02  José Matos  <jamatos@fep.up.pt>
8239         * buffer.C (makeDocBookFile): white space changes, add newline to
8240         command styles.
8241         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8242
8243         * tabular.C (docBook): fix typo.
8244
8245 2002-05-03  Juergen Vigna  <jug@sad.it>
8246
8247         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8248         change in LyXText as we can not be sure it was not freed.
8249         (drawOneRow): remove unused code.
8250
8251         * text.C (drawInset): redo the calculation of the need_break_row as
8252         it could have a row which was already freed.
8253         (draw): look at the return value of drawInset and return false if
8254         it also returned false.
8255         (paintRowText): look at the return value of draw and return false if
8256         it also returned false.
8257
8258         * lyxtext.h: added bool return type to drawInset() and draw() so that
8259         if we have a change in the row so that the rowbreak has to be redone
8260         we abort drawing as it will be called again.
8261
8262 2002-05-02  Juergen Vigna  <jug@sad.it>
8263
8264         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8265         a change in the maintext also if we're inside an inset.
8266         (Dispatch): set the cursor again after a break line and after the
8267         screen has been updated as it could be we're in a different row.
8268
8269         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8270         to set the cursor behind the pargraph with > size().
8271         (setCursor): check also for the same paragraph when checking where
8272         to put the cursor if we have a NFR inset.
8273
8274         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8275         parts of layout read further up as it still was in the wrong
8276         position.
8277
8278 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8279
8280         * screen.C (drawFromTo): change sine fullRebreak always return
8281         true.
8282
8283         * buffer.C (parseSingleLyXformat2Token): reindent some
8284
8285         * BufferView_pimpl.C (update): change since fullRebreak always
8286         return true.
8287         (Dispatch): git rid of the last hardcoded "Standard"s.
8288
8289 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8290
8291         * text2.[Ch] (fullRebreak): make it return void now that we always
8292         returned true.
8293
8294 2002-04-30  Juergen Vigna  <jug@sad.it>
8295
8296         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8297         ert compatibility check for "latex" layout.
8298
8299 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8300
8301         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8302         minipages: use col% instead of p%, and also use the current font.
8303         (makeLaTeXFile): Fix use babel condition.
8304         (parseSingleLyXformat2Token): Correct font when reading old floats.
8305
8306 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8307
8308         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8309         inserting list of floats.
8310
8311 2002-04-25  Herbert Voss  <voss@lyx.org>
8312
8313         * MenuBackend.C (expand): don't add the graphics extensions to the
8314         export menu
8315
8316 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8317
8318         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8319         non-existing layout, do not complain if it was the default layout
8320         of the original class (bug #342)
8321
8322 2002-04-24  Juergen Vigna  <jug@sad.it>
8323
8324         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8325         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8326
8327 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8328
8329         * buffer.C (getBibkeyList): If using \bibliography, return the
8330         option field with the reference itself. Enables us to provide natbib
8331         support when using \bibliography.
8332
8333 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8334
8335         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8336
8337         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8338         natbib is provided by the LaTeX class.
8339
8340 2002-04-23  Juergen Vigna  <jug@sad.it>
8341
8342         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8343         Wakeup functions.
8344
8345         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8346
8347 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8348
8349         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8350
8351         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8352         ensuremath around textordmasculine, textordfeminine and
8353         textdegree.
8354
8355 2002-04-19  Juergen Vigna  <jug@sad.it>
8356
8357         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8358         reinitializing the buffer otherwise row-dimensions may be wrong.
8359         (update): reset also the selection cursors if they do exits otherwise
8360         their x/y positions may be wrong.
8361
8362         * text2.C (cursorDown): don't enter the inset if we came from a row
8363         above and are one row over the inset.
8364
8365         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8366         really leaving an inset.
8367
8368 2002-04-18  Juergen Vigna  <jug@sad.it>
8369
8370         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8371         of the selected paragraph does not have the selected layout also if
8372         the last one had!
8373
8374         * text2.C (setLayout): fixed bug which did not change last selected
8375         paragraph.
8376
8377         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8378         changed the read and substituted \\end_float with \\end_inset!
8379
8380         * BufferView_pimpl.C (cursorPrevious):
8381         (cursorNext): fixed to make it work with rows heigher than the work
8382         area without moving the cursor only the draw of the row.
8383         (workAreaMotionNotify): fix jumping over high rows.
8384
8385 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8386
8387         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8388         Ressler.
8389
8390 2002-04-16  Juergen Vigna  <jug@sad.it>
8391
8392         * text2.C (setCursor): set also the irow().
8393         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8394         (cursorUp):
8395         (cursorDown): support for locking an inset if the x_fix value goes
8396         inside it. That way I can transverse insets too with cursor up/down.
8397
8398         * lyxrow.h: added irow helper function same as other (i) functions.
8399
8400         * BufferView_pimpl.C (cursorPrevious):
8401         (cursorNext): fixed for insets!
8402
8403 2002-04-15  Juergen Vigna  <jug@sad.it>
8404
8405         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8406         position otherwise it is wrong in some cases.
8407
8408         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8409         inside the inset before the call.
8410
8411 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8412
8413         * buffer.[Ch] (getBibkeyList): make it const.
8414
8415 2002-04-12  Juergen Vigna  <jug@sad.it>
8416
8417         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8418
8419         * text2.C (getCursorX): new helper function
8420         (setCursor): compute also ix_
8421         (setCursorFromCoordinates): set also ix.
8422
8423         * lyxcursor.h: added ix_ and helper functions.
8424
8425         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8426
8427         * buffer.C (insertStringAsLines): dont break paragraph if the this
8428         paragraph is inside an inset which does not permit it!
8429
8430         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8431         also with no chars on this paragraph.
8432         (paintRowText): only paint stuff if it's inside the workarea!
8433
8434         * paragraph.C (breakParagraph): honor keepempty flag and break the
8435         paragraph always below not above.
8436
8437         * BufferView2.C (unlockInset): update the paragraph layout on inset
8438         unlock as we changed paragraph in such a case.
8439
8440         * lyxfind.C (LyXFind): clear the former selection if not found!
8441
8442         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8443         again called in insertChar().
8444
8445         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8446         an inset which uses the whole row!
8447         (rightMargin): ditto.
8448         (insertChar): force a rebreak if we inserted an inset!
8449
8450 2002-03-28  Herbert Voss  <voss@lyx.org>
8451
8452         * lyxlength.[Ch]: add inBP() to get the right PS-point
8453         units (BigPoint). With inPixels we have rounding errors
8454
8455 2002-04-11  Juergen Vigna  <jug@sad.it>
8456
8457         * text2.C (setCursorFromCoordinates): set iy to the right value.
8458         (setCursor): add check if row->previous exists!
8459
8460         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8461         an old float_type as this was the case in the old code!
8462
8463         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8464
8465         * BufferView2.C (showLockedInsetCursor): use iy
8466         (fitLockedInsetCursor): ditto
8467
8468         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8469         locked insets as there we have the right value now.
8470
8471         * lyxcursor.C: added iy_ variable and iy functions to set to the
8472         baseline of cursor-y of the locked inset.
8473
8474         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8475         (setCursor): fixed for insets which need a full row.
8476
8477         * text.C (rowLastPrintable): don't ignore the last space when before
8478         an inset which needs a full row.
8479         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8480         as last character of a row when before a inset which needs a full row.
8481
8482 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8483
8484         * version.C.in: update date
8485
8486         * text2.C (fullRebreak): try to always return true and see what
8487         happens...
8488
8489 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8490
8491         * MenuBackend.C (expand): use Floating::listName
8492
8493         * FloatList.C (FloatList): add listName argument to the built-in
8494         floats
8495
8496         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8497         text associated with the float.
8498
8499 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8500
8501         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8502
8503 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8504
8505         * ShareContainer.h: add a couple of missing typenames.
8506
8507 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8508
8509         * lyxrc.C (getDescription): use _() correctly rather than N_().
8510
8511 2002-03-28  Herbert Voss  <voss@lyx.org>
8512
8513         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8514         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8515
8516 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8517
8518         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8519         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8520
8521 2002-03-29  Juergen Vigna  <jug@sad.it>
8522
8523         * lyxfunc.C (dispatch): add a missing fitCursor call.
8524
8525         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8526         it was scrolled by a cursor move, so return the bool status.
8527
8528         * BufferView.C (fitCursor): return the bool flag also to the outside
8529         world as this is needed.
8530
8531         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8532
8533         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8534         call the edit() as it is not needed (and wrong) IMO.
8535         (workAreaButtonPress): set the screen_first variable before evt.
8536         unlock the inset as this may change screen_first and then we have
8537         a wrong y position for the click!
8538
8539 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8540
8541         * MenuBackend.C (expand): another translation that I missed
8542
8543 2002-03-28  Juergen Vigna  <jug@sad.it>
8544
8545         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8546
8547         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8548
8549 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8550
8551         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8552
8553         * MenuBackend.C (expand): fix export/view/update when there is no
8554         document open.
8555
8556 2002-03-27  Herbert Voss  <voss@lyx.org>
8557
8558         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8559         and text%
8560
8561 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8562
8563         * bufferview_funcs.C (currentState): only show paragraph number
8564         for is DEVEL_VERSION is set.
8565
8566         * lyxfunc.C (dispatch): put warning in INFO channel
8567
8568         * MenuBackend.C (expand): translate the name of floats
8569
8570         * FloatList.C (FloatList): mark the float names for translation
8571
8572         * converter.C (convert): use LibScriptSearch
8573
8574 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8575
8576         * MenuBackend.C (defaults): fix default menu (we might as well get
8577         rid of it...)
8578
8579 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8580
8581         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8582         directory.
8583
8584 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8585
8586         * lyxvc.C: reorder includes.
8587
8588 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8589
8590         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8591           properly
8592
8593 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8594
8595         * CutAndPaste.C: change layouts earlier on paste
8596           to avoid crashing when calling getFont()
8597
8598 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8599
8600         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8601         irritating #error.
8602
8603 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8604
8605         * WorkArea.C: remove 'Pending' debug message.
8606
8607         * most files: ws cleanup
8608
8609         * buffer.[Ch]: ws changes
8610
8611         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8612
8613 2002-03-21  Juergen Vigna  <jug@sad.it>
8614
8615         * tabular.C (SetMultiColumn): collapse also the contents of the
8616         cells and set the last border right. Added a Buffer const * param.
8617
8618 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8619
8620         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8621         linking or not.
8622
8623 2002-03-19  Juergen Vigna  <jug@sad.it>
8624
8625         * text2.C (clearSelection): reset also xsel_cache.
8626
8627         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8628         where it needs to be called (John tells us to do so too :)
8629         (selectionLost): reset sel_cache.
8630
8631         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8632
8633 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8634
8635         * text2.C (setCursorIntern): put debuging code in INSETS channel
8636
8637 2002-03-19  André Pönitz <poenitz@gmx.net>
8638
8639         * lyxfunc.C: tiny whitespace change
8640
8641 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8642
8643         * ToolbarDefaults.C (init):
8644         * LyXAction.C (init):
8645         * commandtags.h:
8646         * BufferView_pimpl.C (Dispatch):
8647         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8648
8649 2002-03-19  Allan Rae  <rae@lyx.org>
8650
8651         * exporter.C (Export): removeAutoInsets before doing anything else.
8652         While I've just introduced a dependency on BufferView this really is
8653         the best place to clean the buffer otherwise you need to cleanup in
8654         a dozen places before calling export or cleanup in a dozen functions
8655         that export calls.
8656
8657         * converter.C (runLaTeX):
8658         (scanLog): Better handling of removeAutoInsets and screen updates.
8659
8660         * lyxfunc.C (dispatch): small whitespace changes
8661
8662 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8663
8664         * WorkArea.C (C_WorkAreaEvent): return a value.
8665         (event_cb): return 1 if we handled the event, 0 otherwise.
8666
8667         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8668
8669 2002-03-18  Juergen Vigna  <jug@sad.it>
8670
8671         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8672         (GetAdditionalWidth): ditto.
8673         (RightLine): ditto.
8674         (LeftLine): ditto.
8675
8676         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8677         inset if we're there actually (probably not used right now but this
8678         is the direction to go for unifying code).
8679         (paste): disable code to clear the selection.
8680
8681         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8682         inside an InsetText and move the check further up as it is in the
8683         wrong place.
8684
8685         * text2.C (pasteSelection): set a selection over the pasted text.
8686
8687 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8688
8689         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8690         and libgraphics to build on Cygwin.
8691
8692 2002-03-15  Juergen Vigna  <jug@sad.it>
8693
8694         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8695         inserting an Inset into the paragraph. I know this is not the best
8696         fix but we already use current_view in CutAndPaste so we will remove
8697         all of it's using at the same time.
8698
8699         * buffer.C (sgmlError): deactivated function till it is rewritten in
8700         the right mode, now it can create problems.
8701
8702         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8703         before accessing it.
8704
8705 2002-03-14  Juergen Vigna  <jug@sad.it>
8706
8707         * undo_funcs.C (textHandleUndo): do the right thing when updating
8708         the inset after the undo/redo.
8709
8710         * text2.C (setCursor): just some testcode for #44 not ready yet.
8711
8712         * undo_funcs.C (textHandleUndo): set the next() and previous()
8713         pointers of the paragraph to 0 before deleting otherwise we have
8714         problems with the Paragraph::[destructor].
8715
8716         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8717         on a paragraph insertion.
8718
8719 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8720
8721         * buffer.C (asciiParagraph): use += operator for char append to
8722         string.
8723
8724         * paragraph.C (getFontSettings): compare >= not just >
8725         (highestFontInRange): ditto
8726         (setFont): ditto
8727
8728 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8729
8730         * paragraph.C: change several algorithm to be more appripriate for
8731         the problem domain. This is lookip in FontList and in the InsetList.
8732
8733 2002-03-13  André Pönitz <poenitz@gmx.net>
8734
8735         * commandtags.h:
8736         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8737
8738 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8739
8740         * commandtags.h:
8741         * LyXAction.C:
8742         * lyxfunc.C:
8743         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8744
8745 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8746
8747         * Painter.C (display): anon helper function, adjust code for this
8748         change.
8749         (pixmap): remove function.
8750
8751         * Painter.h: remove private display variable.
8752
8753         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8754
8755 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8756
8757         * WorkArea.[Ch]: remove figinset_canvas cruft.
8758
8759 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8760
8761         * lyxtextclass.C (operator): add one item cache optimization.
8762
8763         * bufferlist.h: doxy changes
8764
8765         * bufferlist.C: ws changes
8766
8767         * DepTable.[Ch] (ext_exist): place const in the right spot.
8768
8769         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8770         call resizeInsets.
8771         (workAreaExpose): call resizeInsets when the with BufferView changes.
8772         (Dispatch): adjust for protectedBlank removal
8773         (specialChar): call updateInset if the insert went ok.
8774
8775         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8776         specialChar instead.
8777
8778         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8779
8780         * BufferView.h: doxy change
8781
8782         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8783
8784         * lyxtextclass.C (operator[]): remove non-const version
8785         (defaultLayout): remove non-const version
8786
8787 2002-03-12  Juergen Vigna  <jug@sad.it>
8788
8789         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8790         did resize the LyXText too.
8791
8792         * buffer.C (readLyXformat2): set layout information on newly allocated
8793         paragraphs.
8794
8795         * tabular.C (OldFormatRead): set layout information on the paragraph.
8796
8797 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8798
8799         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8800
8801 2002-03-11  Juergen Vigna  <jug@sad.it>
8802
8803         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8804         plainly wrong.
8805         (resizeCurrentBuffer): force also the insets to resize themselfes.
8806         (moveCursorUpdate): fixed up for InsetText.
8807
8808 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8809
8810         * commandtags.h:
8811         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8812         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8813         value of Dialogs::tooltipsEnabled().
8814         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8815
8816 2002-03-08  Juergen Vigna  <jug@sad.it>
8817
8818         * BufferView_pimpl.C (updateInset): update inset inside inset also
8819         if it isn't inside theLockingInset().
8820
8821 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8822
8823         * buffer.C (asciiParagraph): redo some of the word and line length
8824         handling.
8825         (getLists): look for Caption instead of caption.
8826
8827 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8828
8829         * buffer.C (Buffer): initialize niceFile to true
8830         (makeLaTeXFile):
8831         (makeLinuxDocFile):
8832         (makeDocBookFile): make sure niceFile is true on exit
8833
8834 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8835
8836         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8837
8838 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8839
8840         * LyXSendto.C: remove.
8841         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8842         * lyx_gui.C: remove now-redundant comment.
8843         * ColorHandler.h: remove forward declaration of class WorkArea.
8844         * lyxfunc.C: remove #include "WorkArea.h".
8845
8846 2002-03-07  Juergen Vigna  <jug@sad.it>
8847
8848         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8849         got moved away with the DEPM and also set the inset_owner always
8850         right which before could have been omitted.
8851
8852 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8853
8854         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8855         wanted layout is not found.
8856
8857 2002-03-07  Juergen Vigna  <jug@sad.it>
8858
8859         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8860
8861 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8862
8863         * paragraph.C (breakParagraph): use default layout not layout of
8864         prev paragraph.
8865         (Paragraph): clear ParagraphParameters.
8866
8867 2002-03-06  Juergen Vigna  <jug@sad.it>
8868
8869         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8870         otherwise it would not be a valid lenght. Fixed a special case in
8871         the minipage compatibility read where we end the document with a
8872         minipage.
8873
8874         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8875         was set as it could be 0 for InsetTexts first entry.
8876
8877 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8878
8879         * paragraph.C (writeFile): if layout is empty write out
8880         defaultLayoutName().
8881
8882         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8883         file without named layout we set layout to defaultLayoutName().
8884
8885 2002-03-06  Juergen Vigna  <jug@sad.it>
8886
8887         * CutAndPaste.C (copySelection): set layout for new paragraph.
8888
8889         * text.C (prepareToPrint): leave ERT inset left aligned
8890         (leftMargin): don't indent paragraphs inside ERT insets
8891
8892 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8893
8894         * paragraph.C (breakParagraph): dont call clear do the work manually
8895
8896         * paragraph.[Ch] (clear): remove function
8897
8898 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8899
8900         * paragraph.C (Paragraph): dont call clear, the work has already
8901         been done.
8902
8903         * lyxtextclass.C (operator): assert if n is empty
8904
8905         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8906         work manually instead.
8907
8908 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8909
8910         * BufferView_pimpl.C: protect selectionLost against text == 0
8911
8912 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8913
8914         * text.C (breakParagraph): fix a setting layout to '0' problem.
8915
8916 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8917
8918         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8919         final location of file, for the included files, and graphics.
8920
8921 2002-03-05  Juergen Vigna  <jug@sad.it>
8922
8923         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8924
8925 2002-03-04  Juergen Vigna  <jug@sad.it>
8926
8927         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8928
8929         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8930         last column of multicolumn cells.
8931         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8932
8933 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8934
8935         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8936         file if it doesn't go to a temporary file.
8937
8938         * buffer.C (sgmlOpenTag):
8939         (sgmlCloseTag):  remove extra newline insertion.
8940
8941 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8942
8943         * text.C (getRowNearY): comment out debug msg
8944
8945 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8946
8947         * text2.C: first -> first_y
8948
8949         * text.C (getRowNearY): add some attemts at a possible
8950         optimization, not working.
8951
8952         * tabular.[Ch]: add BufferParams to several function so that newly
8953         created paragraph can be initialized to he default layotu for the
8954         buffers textclass.
8955
8956         * tabular-old.C (ReadOld): add buf->params to call of Init
8957
8958         * screen.C: rename text->first to text->first_y
8959
8960         * paragraph.C (breakParagraph): always set layout in the broken
8961         paragraph
8962
8963         * lyxtextclass.C (Read): remove lowercase
8964         (hasLayout): ditto
8965         (operator): ditto
8966         (delete_layout): ditto
8967
8968         * lyxtext.h: rename first -> first_y
8969
8970         * lyxlayout.C (Read): remove lowercase
8971         (name): ditto
8972         (setName): ditto
8973         (obsoleted_by): ditto
8974
8975         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8976
8977         * buffer.C (insertErtContents): add params are to InsetERT
8978         (parseSingleLyXformat2Token): add code to check if a paragraphs
8979         layout really exist.
8980         (parseSingleLyXformat2Token): add params to several inset
8981         constructors
8982         (asciiParagraph): remove lowercase, do the layout comparisons with
8983         no_case
8984
8985         * BufferView_pimpl.C (cursorNext): first -> first_y
8986         (resizeCurrentBuffer): first -> first_y
8987         (updateScrollbar): first -> first_y
8988         (scrollCB): first -> first_y
8989         (workAreaMotionNotify): first -> first_y
8990         (workAreaButtonPress): first -> first_y
8991         (checkInsetHit): first -> first_y
8992         (cursorPrevious): first -> first_y
8993         (cursorNext): first -> first_y
8994         (Dispatch): add buffer_->params to severl inset contructors
8995
8996 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8997
8998         * lyxlayout.C (Read): remove some debug info that I forgot.
8999
9000         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9001         clean up the code slightly.
9002         (makeLinuxDocFile): ditto
9003         (makeDocBookFile): ditto
9004
9005         * text2.C: layout as string
9006
9007         * text.C: layout as string
9008
9009         * paragraph_pimpl.C: layout as string
9010
9011         * paragraph.[Ch]: layout as string
9012
9013         * lyxtextclasslist.[Ch]: layout as string
9014
9015         * lyxtextclass.[Ch]: layout as string
9016
9017         * lyxtext.h: layout as string
9018
9019         * lyxlayout.[Ch]: layout as string
9020
9021         * lyx_cb.C: layout as string
9022
9023         * bufferview_funcs.C: layout as string
9024
9025         * bufferparams.C: layout as string
9026
9027         * buffer.C: layout as string
9028
9029         * LyXView.[Ch]: layout as string
9030
9031         * LaTeXFeatures.[Ch]: layout as string
9032
9033         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9034
9035         * BufferView_pimpl.C: change current_layout to string, remove
9036         lyx::layout_type.
9037         (Dispatch):
9038         (smartQuote):
9039         (insertInset):
9040         (workAreaButtonRelease): layout as string
9041
9042         * BufferView2.C (unlockInset): adjust
9043
9044         * vspace.C (asLatexCommand): use an explict temp variable.
9045
9046 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9047
9048         * Makefile.am: use FRONTEND_*
9049
9050 2002-03-01  Juergen Vigna  <jug@sad.it>
9051
9052         * tabular.C (SetWidthOfMulticolCell): changed to something better
9053         I hope but still work in progress.
9054         (recalculateMulticolumnsOfColumn): renamed function from
9055         recalculateMulticolCells as it is more appropriate now.
9056         (SetWidthOfCell): calculate multicols better.
9057
9058 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9059
9060         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9061
9062         * lyxfunc.C (processKeySym): print sequence also if it is
9063         `deleted' (complete)
9064
9065         * kbsequence.C (print): print sequence even if it is deleted
9066         (complete would be a better word, actually).
9067
9068         * lyxfunc.C (dispatch): print complete options after a prefix key
9069
9070         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9071
9072 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9073
9074         * text2.C (setCharFont): eliminate setCharFont code duplication.
9075
9076 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9077
9078         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9079         LFUN_TABULAR_FEATURE (bug #177)
9080
9081 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9082
9083         * Makefile.am: remove figure.h
9084
9085 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9086
9087         * Bufferview_pimpl.C:
9088         * CutAndPasteC:
9089         * LaTeX.C:
9090         * LyXSendto.C:
9091         * buffer.C:
9092         * bufferlist.C:
9093         * converter.C:
9094         * language.C:
9095         * lyxfunc.C:
9096         * lyxvc.C:
9097         * paragraph.C:
9098         * text.C:
9099         * text2.C: remove #include "lyx_gui_misc.h".
9100
9101         * LaTeX.C: added #include <cstdio>
9102
9103 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9104
9105         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9106         that the paragraph following this one can have.
9107
9108         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9109
9110         * vspace.C (asLatexCommand): fix bogus gcc warning
9111
9112         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9113
9114 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9115
9116         * text2.C (setLayout): get rid of redundant code
9117
9118 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9119
9120         * text2.C (incDepth): make sure depth cannot be increased beyond
9121         reasonable values.
9122
9123 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9124
9125         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9126         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9127
9128         * PainterBase.h (image):
9129         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9130         a LyXImage const *.
9131
9132 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9133
9134         * BufferView.C:
9135         * BufferView.h:
9136         * BufferView_pimpl.C:
9137         * BufferView_pimpl.h:
9138         * LaTeXFeatures.C:
9139         * LyXAction.C:
9140         * LyXView.C:
9141         * Makefile.am:
9142         * UpdateList.h:
9143         * UpdateList.C:
9144         * buffer.C:
9145         * figure.h:
9146         * figureForm.C:
9147         * figureForm.h:
9148         * figure_form.C:
9149         * figure_form.h:
9150         * lyx_cb.C:
9151         * lyx_gui.C:
9152         * lyx_gui_misc.C:
9153         * lyxfunc.C:
9154         * sp_base.h:
9155         * sp_ispell.h:
9156         * sp_pspell.h:
9157         * sp_spell.C: remove fig inset, and the crap house of
9158           cards that follows it
9159
9160 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9161
9162         * Makefile.am:
9163         * lyxserver.C:
9164         * os2_defines.h:
9165         * os2_errortable.h:
9166         * nt_defines.h: move .h into support/
9167
9168         * vms_defines.h: remove
9169
9170         * WorkArea.C: add space in debug output
9171
9172         * text2.C:
9173         * paragraph.C:
9174         * buffer.C: add WITH_WARNINGS
9175
9176         * vc-backend.h:
9177         * vc-backend.C:
9178         * bufferlist.C: s/retrive/retrieve/, add docs
9179
9180         * vspace.h:
9181         * vspace.C:
9182         * kbmap.h:
9183         * lyxlength.h:
9184         * lyxgluelength.h:
9185         * length_common.h:
9186         * chset.h:
9187         * chset.C: add docs
9188
9189         * lyxgui.C: add ID to X error handler
9190
9191         * lyxtestclass.c: fix typo
9192
9193 2002-02-26  Juergen Vigna  <jug@sad.it>
9194
9195         * tabular_funcs.C (write_attribute): changed so that some default
9196         attributes are not written at all.
9197         (getTokenValue): set default values before trying to read the
9198         value so we have the return value always set as default if we don't
9199         find the token we search for.
9200
9201         * tabular.C (Write): write bools as bools not as strings!
9202
9203 2002-02-22  Juergen Vigna  <jug@sad.it>
9204
9205         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9206         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9207
9208         * text.C (leftMargin): don't add an indent for paragraphs inside
9209         tabular cells (fix #208).
9210
9211 2002-02-21  José Matos  <jamatos@fep.up.pt>
9212
9213         * tabular.C (docBook): fixed support for long tables.
9214
9215 2002-02-20  Juergen Vigna  <jug@sad.it>
9216
9217         * text2.C (getFont): get the drawing font of the Inset if this
9218         paragraph is inside an inset (only important for InsetERT for now).
9219
9220         * buffer.C (insertErtContents): use new lanugage params in ERT
9221         constructor.
9222
9223         * CutAndPaste.C: commenting out seemingly uneeded code.
9224
9225 2002-02-19  Allan Rae  <rae@lyx.org>
9226
9227         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9228         Iterators might be simple to use but they also get invalidated.
9229         (removeAutoInsets): renamed saved cursor tracking variables and added
9230         some comments to clarify what everything does.
9231
9232 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9233
9234         * Chktex.C:
9235         * LaTeX.C:
9236         * LyXSendto.C:
9237         * converter.C:
9238         * lyx_cb.C:
9239         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9240         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9241
9242         * lyxfunc.C:
9243         * vc-backend.h: remove #include "support/syscall.h"
9244
9245         * LaTeX.C:
9246         * LyXSendto.C:
9247         * converter.C: rearrange #includes in Lars' approved fashion.
9248
9249         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9250         forward declare class Timeout in the header file.
9251
9252         * XFormsView.C: changes due to the above.
9253
9254         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9255         similar to LyXView.
9256
9257         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9258         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9259
9260 2002-02-18  José Matos  <jamatos@fep.up.pt>
9261
9262         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9263         insets contents.
9264
9265 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9266
9267         * a lot of small ws changes
9268         * add a lot of using std::XXX
9269         * use std construcs some places where approp.
9270         * use some exisint stuff from lyxfunctional where approp.
9271         * Make file changes to use partial linking (lets test this now...)
9272
9273 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9274
9275         * Chktex.C:
9276         * buffer.C:
9277         remove #include "support/syscontr.h" as it's redundant. Always has been.
9278
9279         * Chktex.C:
9280         * LaTeX.C:
9281         * LyXSendto.C:
9282         * converter.C:
9283         * lyx_cb.C:
9284         * vc-backend.C:
9285         change Systemcalls::System to Systemcalls::Wait and
9286         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9287         No change of functionality, just reflects the stripped down Systemcalls
9288         class.
9289
9290 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9291
9292         * debug.[Ch]: add a GRAPHICS type to the enum.
9293
9294 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9295
9296         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9297
9298         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9299         there is an inset.
9300
9301 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9302
9303         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9304         match the changes below.
9305
9306         * text2.C (toggleInset): if there is not editable inset at cursor
9307         position, try to see if cursor is _inside_ a collapsable inset
9308         and close it.
9309
9310 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9311
9312         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9313         document menu has a nice checkbox
9314
9315 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9316
9317         * lyxlength.C (asLatexString): change PW to output as percent of
9318         \textwidth.
9319
9320         * lengthcommon.C: change '%' to 't%'
9321
9322         * lyxfunc.C (dispatch): a few comments from Martin
9323
9324 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9325
9326         * WorkArea.h:
9327         * WorkArea.C:
9328         * BufferView_pimpl.h:
9329         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9330           the X selection.
9331
9332 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9333
9334         * vspace.C (inPixels): fix compiler warning
9335
9336 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9337
9338         * lyxfunc.C (getStatus): fix status message for disabled commands.
9339
9340 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9341
9342         * BufferView_pimpl.C: fix crash on close buffer
9343         during selection (#227)
9344
9345 2002-01-27  Herbert Voss  <voss@lyx.org>
9346
9347         * buffer.C: link old Figure to new graphic inset
9348
9349 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9350
9351         * FontLoader.C (getFontinfo): Change the latex font names in order
9352         to match the names of type1inst.
9353
9354 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9355
9356         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9357
9358         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9359         (extchanged): ditto
9360         (ext_exist): ditto
9361         (remove_files_with_extension): ditto
9362         (remove_file): ditto
9363         (write): ditto
9364
9365         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9366         document is smaller than the work area height. Do not initialize
9367         static variables to 0.
9368
9369 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9370
9371         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9372
9373         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9374         LFUN_LAYOUT_PARAGRAPHS.
9375
9376         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9377         tabular. It is possible to provide a possible cell, which will
9378         typically be the actcell from the corresponding insettabular
9379
9380         * lyxfunc.C (getStatus): small cleanup; disable
9381         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9382         true
9383
9384 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9385
9386         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9387
9388         * paragraph.C (startTeXParParams):
9389         (endTeXParParams): new methods. The LaTeX code to
9390         start/end paragraph formatting
9391         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9392         empty (fixes bug #200)
9393
9394         * vspace.C (inPixels): adapt to the change below
9395         (inPixels): [later] more cleanups (remove unused variables)
9396
9397         * lyxlength.C (inPixels): change to use a width and a height as
9398         parameter.
9399
9400 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9401
9402         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9403         Replaced with \paperwidth
9404
9405         * DepTable.C (insert): add std:: qualifier
9406
9407 2002-01-18  Allan Rae  <rae@lyx.org>
9408
9409         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9410         updated also?
9411
9412         * text.C (drawInset): Turned out I didn't know enough about how
9413         rebreaking worked.  This fixes most of the redraw problems.  I see
9414         an occasional cursor trail when a line is broken now and the cursor
9415         placement can seem out by a few pixels also after a rebreak.
9416
9417 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9418
9419         * buffer.C (parseSingleLyXformat2Token): update because minipage
9420         width is now a LyXLength
9421
9422         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9423
9424         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9425         math insets
9426
9427 2002-01-17  Juergen Vigna  <jug@sad.it>
9428
9429         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9430
9431         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9432         is set correctly and the inset is updated correctly.
9433
9434 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9435
9436         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9437         the beginning of the loop.
9438
9439 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9440
9441         * lyxrc.C: improve help for use_scalable_fonts
9442
9443 2002-01-17  Allan Rae  <rae@lyx.org>
9444
9445         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9446
9447 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9448
9449         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9450         make sure to set their inset_owner to the right value (bug #171)
9451
9452 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9453
9454         * DepTable.h
9455         * DepTable.C: Implement mtime checking to reduce time spent doing
9456         CRCs.
9457
9458 2002-01-16  Juergen Vigna  <jug@sad.it>
9459
9460         * tabular.C (GetAdditionalHeight): one of error fixed.
9461
9462         * lyxrc.C (output): small fix in writing use_pspell.
9463
9464 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9465
9466         * sp_base.h: #include LString.h
9467
9468 2002-01-16  Allan Rae  <rae@lyx.org>
9469
9470         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9471         Can someone check this please?
9472
9473         * text.C (drawInset): It was possible that p.row would be removed by
9474         breakAgainOneRow upsetting a few other settings.  There may be another
9475         small tweak possible by setting need_break_row = 0 when p.row has been
9476         removed but I don't know enough about the logic here.
9477
9478 2002-01-15  Allan Rae  <rae@lyx.org>
9479
9480         * text.C (insertChar): removed conditional truism.
9481
9482         * BufferView2.C (removeAutoInsets): More tweaks.
9483         cur_par_prev could be a stray pointer.  Check for trailing empty line
9484         in case last line was cur_par and only had an error inset on it.
9485
9486 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9487
9488         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9489         absolute
9490
9491         * vc-backend.C (most methods):
9492         * exporter.C (Export):
9493         * converter.C (convert):
9494         (runLaTeX):
9495         * LyXSendto.C (SendtoApplyCB):
9496         * lyxfunc.C (dispatch):
9497         (menuNew):
9498         (open):
9499         (doImport):
9500         * lyx_cb.C (AutoSave):
9501         (InsertAsciiFile):
9502         * BufferView_pimpl.C (MenuInsertLyXFile):
9503         * buffer.C (runChktex): use Buffer::filePath().
9504
9505         * buffer.h: rename filename to filename_; rename filepath to
9506         filepath_ and make it private
9507         (filePath): new method
9508
9509         * buffer.C (writeFile): use fileName()
9510         (getLatexName):
9511
9512         * lyx_main.C (init): fix starting  of LyX when the binary is a
9513         link from so,ewhere else.
9514
9515         * minibuffer.C: include <cctype> for isprint
9516
9517 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9518
9519         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9520         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9521         name clash with InsetCollapsable's width function.
9522
9523 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9524
9525         * lastfiles.C: include <iterator>
9526
9527 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9528
9529         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9530         std::count.
9531
9532         * buffer.C (makeLaTeXFile): ditto.
9533         Also make loop operation more transparent.
9534
9535 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9536
9537         * ToolbarDefaults.C: remove trailing comma closing namespace.
9538
9539         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9540
9541         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9542         as in WorkArea.
9543
9544         * trans.C (Load): comment out unused variable, allowed.
9545
9546 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9547
9548         * minibuffer.[Ch] (append_char): new method to recieve input from the
9549         drop-down completion browser. If a key was pressed, then recieve this
9550         char and append it to the existing string.
9551         (peek_event): modify the positioning data passed to the completion
9552         browser so that it can be placed above the minibuffer rather than below.
9553 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9554
9555         * LyXAction.C (init): alloe error-next for readonly documents.
9556
9557         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9558         count.
9559
9560 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9561
9562         * bufferlist.C (readFile): create the buffer _after_ checking that
9563         the file exists.
9564
9565         * lyxfunc.C (verboseDispatch): fix handling of arguments
9566
9567         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9568
9569         * lyxrc.C: use string::erase() instead of initializing to "".
9570
9571
9572 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9573
9574         * BufferView_pimpl.h:
9575         * BufferView_pimpl.C:
9576         * WorkArea.h:
9577         * WorkArea.C:
9578         * text2.C: tell X when we have made a selection for copying
9579
9580 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9581
9582         * BufferView_pimpl.C (MenuInsertLyXFile):
9583         * lyxfunc.C (menuNew):
9584         (open):
9585         (doImport): add shortcuts to directory buttons
9586
9587         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9588         open a float)
9589
9590         * lyxfunc.C (setStatusMessage):
9591         (getStatusMessage): new methods
9592         (getStatus):use setStatusMessage instead of setErrorMessage
9593         (dispatch): when function is disabled, set error message here
9594         [instead of in getStatus previously]
9595
9596         * BufferView_pimpl.C (workAreaButtonRelease): update
9597         toolbar/menubar here too.
9598
9599 2002-01-13  Allan Rae  <rae@lyx.org>
9600
9601         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9602         Now seems indestructible.  Remaining task is to audit all other
9603         code affected by deleteEmptyParagraphMechanism.  One small quirk
9604         left is that an empty document with an error in the preamble can
9605         be made to report an error but no error box appears.  I don't know
9606         where it goes.
9607         (removeAutoInsets): Improved comments.
9608
9609 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9610
9611         * Thesaurus.h:
9612         * Thesaurus.C: update for Aiksaurus 0.14
9613
9614 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9615
9616         * text2.C (firstParagraph): removed member function, all uses
9617         replaces with ownerParagraph
9618         (redoParagraphs): here
9619         (updateInset): here
9620         (toggleAppendix): here
9621         * BufferView2.C (insertErrors): here
9622         (setCursorFromRow): here
9623
9624 2002-01-13  Allan Rae  <rae@lyx.org>
9625
9626         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9627         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9628         There is still a way to segfault this although you may have to do this
9629         multiple times: Have an InsetERT with an unknown command in it.
9630         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9631         <down-arrow>, <Enter> again, View->DVI, BANG!
9632
9633         * text2.C (setCursor):
9634         (deleteEmptyParagraphMechanism):
9635         * lyxtext.h (setCursor):
9636         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9637         Making use of the return value may help fix other bugs.
9638
9639 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9640
9641         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9642
9643         * LyXView.C (updateMenubar): call MenuBar::update here
9644         (updateToolbar): but not here
9645         (showState): do not update toolbar/menubar
9646
9647         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9648         should need to care about that.
9649
9650         * lyxfunc.C (verboseDispatch): simplify a bit
9651         (getStatus): have a version which takes a pseudoaction, and
9652         another which requires a (kb_action,string).
9653
9654         * LyXAction.C (retrieveActionArg): make it work also when action
9655         is not a pseudo-action.
9656         (getActionName): simplify a bit
9657         (helpText):
9658
9659 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9660
9661         * lyxfunc.C (verboseDispatch): new families of methods with
9662         several ways to specify a command and a bool to indicate whether
9663         the command name and shortcut should be displayed in minibuffer
9664         (eventually, we could extend that to a finer bitmask like
9665         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9666         (dispatch): the pristine dispatch command which just, well,
9667         dispatchs! Note it still sets its result to minibuffer; I'm not
9668         sure we want that.
9669
9670         * lyxfunc.h: remove setHintMessage
9671
9672         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9673
9674 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9675
9676         * BufferView_pimpl.C (specialChar): delete new inset if we have
9677         not been able to insert it.
9678
9679         * kbmap.C: revert to using int instead of kb_action, since all we
9680         are dealing with is pseudo-actions.
9681
9682         * LyXAction.C (searchActionArg): change to return int instead of
9683         kb_action, since the result is a pseudoaction.
9684
9685 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9686
9687         * buffer.C (insertErtContents): Fix (partially) the font bug.
9688
9689 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9690
9691         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9692         as the other one is broken on my machine!
9693
9694 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9695
9696         * commandtags.h:
9697         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9698
9699 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9700
9701         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9702         reflect their actual use. Provide compatibility code for older lyxrc
9703         files.
9704
9705         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9706         FL_NORMAL_STYLE.
9707         change names of popup font variables in line with the changes to lyxrc.C
9708
9709 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9710
9711         * buffer.C (asciiParagraph): avoid outputing a word twice after
9712         an inset.
9713
9714         * lyxrc.C (getDescription): document that document_path and
9715         template_path can be empty.
9716
9717 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9718
9719         * LaTeXFeatures.C (getMacros):
9720         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9721
9722         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9723
9724         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9725         getPackages.
9726         (getPackages): rename feature "floats" to "float". Use an array to
9727         iterate over 'simple' features (i.e. just a \usepackage). Add
9728         handling of "amsmath" (renamed from "amsstyle").
9729
9730 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9731
9732         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9733         features list.
9734
9735 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9736
9737         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9738         FuncStaus::FuncStatus & FuncStaus::some_method().
9739
9740 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9741
9742         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9743         of the func_satus stuff. Edited and massaged in various ways by
9744         JMarc.
9745
9746         * lyxfunc.C (getStatus): use FuncStatus
9747
9748 2002-01-08  Juergen Vigna  <jug@sad.it>
9749
9750         * text.C (nextBreakPoint): use function Inset::isChar().
9751
9752         * paragraph.C (TeXOnePar): use function
9753         Inset::forceDefaultParagraphs.
9754
9755         * buffer.C (latexParagraphs): use function
9756         Inset::forceDefaultParagraphs.
9757
9758 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9759
9760         * lyx_gui.C (init): set the style of the menu popups to
9761         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9762
9763 2002-01-07  Juergen Vigna  <jug@sad.it>
9764
9765         * text.C (setHeightOfRow): small fix
9766         (prepareToPrint): don't look at alignment if we don't have the place
9767         for doing it.
9768
9769 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9770
9771         * box.C: New file. Move the Box methods and functions out of box.h,
9772         following Lars' suggestion.
9773
9774 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9775
9776         * box.h: #include "support/LOstream.h", needed for inlined function.
9777
9778         * lyxtextclass.C:
9779         * lyxtextclasslist.C: added some using std declarations.
9780
9781 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9782
9783         * box.h: make signed dimensions to allow insets wider than
9784           the screen (bug #162)
9785
9786         * BufferView_pimpl.C: add some insetHit debug
9787
9788 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9789
9790         * vc-backend.C: add FIXME
9791
9792 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9793
9794         * lyxfunc.C (getStatus): enable code for showing math font status
9795         in toolbar/menu.
9796
9797 2002-01-07  Juergen Vigna  <jug@sad.it>
9798
9799         * text.C (nextBreakPoint): removed debug output not needed anymore.
9800
9801 2002-01-06  Juergen Vigna  <jug@sad.it>
9802
9803         * text.C (nextBreakPoint): fixed up this function we had this bug
9804         since ever but now hopefully we break row better.
9805         (insertChar): we have to check if an inset is the next char as it
9806         could now happen that a large inset is causing a break.
9807
9808 2002-01-05  Juergen Vigna  <jug@sad.it>
9809
9810         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9811         if it doesn't like to be drawed.
9812
9813 2002-01-04  Juergen Vigna  <jug@sad.it>
9814
9815         * BufferView2.C (lockInset): forgot to set a cursor.
9816
9817         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9818
9819 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9820
9821         * FormMathsPanel.C:
9822         * FormMathsPanel.h
9823         * MathsSymbols.C:
9824         * form_maths_panel.C:
9825         * form_maths_panel.h:
9826         * form_maths_panel.fd: implemented sub- and super- buttons in math
9827         panel.
9828
9829         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9830         (or ^ space) to be used as in TeX (req'd by André).
9831
9832         * lyxfunc.C: Allow ^ and _ again to be used both as
9833         super/subscript (mathed) and as themselves (in text).
9834
9835 2002-01-03  Allan Rae  <rae@lyx.org>
9836
9837         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9838         "LyX" or the filename of the current buffer if it has one.  This is a
9839         modified form of John Levon's patch.
9840
9841         * XFormsView.C (setWindowTitle): also set icon title.
9842
9843         * LyXView.h (setWindowTitle): signature changed.
9844         * XFormsView.h (setWindowTitle): ditto.
9845
9846 2002-01-02  Juergen Vigna  <jug@sad.it>
9847
9848         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9849
9850 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9851
9852         * screen.C (topCursorVisible): introduce a temp var for
9853         text->cursor.row(), handle the case where this row is null. (kindo
9854         hachish)
9855
9856         * text2.C (setCursor): add a couple of asserts.
9857
9858         * paragraph.h (inset_iterator): add -> operator
9859
9860         * paragraph.[Ch] (autoDeleteInsets): remove member function
9861
9862         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9863         cursor pos correctly and handle inset deletion by itself.
9864         (insertErrors): move iterator declaration out of for expression
9865
9866         * lyxtextclass.C: add <algorithm>
9867
9868         * Makefile.am: added the new files to sources, removed layout.C
9869
9870         * layout.C: removed file
9871
9872         * layout.h: remove LYX_DUMMY_LAYOUT
9873
9874         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9875         layout.
9876
9877         * lyxlayout.[Ch]:
9878         * lyxtextclass.[Ch]:
9879         * lyxtextclasslist.[Ch]: new files
9880
9881         * include order changes to a lot of files, also changes because of
9882         the six new files.
9883
9884 2001-12-27  Juergen Vigna  <jug@sad.it>
9885
9886         * buffer.C (asciiParagraph): more fixes.
9887
9888         * tabular.C (ascii): make ascii export support export of only the
9889         data separated by a column-delimiter.
9890         (ascii): better support for ascii export.
9891
9892         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9893
9894 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9895
9896         * tabular_funcs.C: use a "using std::getline" instead of the
9897         previous fix from Angus (necessary for cxx + lyxstring)
9898
9899 2001-12-24  Juergen Vigna  <jug@sad.it>
9900
9901         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9902
9903         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9904         problems. First check a minipage also if we have some ert-contents
9905         (not only on par->size(), second set the right depth of the paragraph
9906         on the relink to the root-paragraph-list!
9907
9908         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9909         which then did not anymore update the main paragraphs on undo/redo!
9910
9911 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9912
9913         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9914         code. Support all font-changing funcs (even those which are not in
9915         menu currently). Support for reporting font settings in
9916         mathed (disabled until Andre provides a function on mathed's side).
9917
9918         * func_status.h (toggle): small helper function to set toggle
9919         state on a flag.
9920
9921 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9922
9923         * tabular_funcs.C: getline -> std::getline
9924
9925 2001-12-21  Juergen Vigna  <jug@sad.it>
9926
9927         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9928         accessed and could be 0 (I couldn't generate this but it seems
9929         Michael could!).
9930
9931 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9932
9933         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9934         * tabular_funcs.h: here and include iosfwd
9935
9936 2001-12-20  Juergen Vigna  <jug@sad.it>
9937
9938         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9939         inside inset but undo_par was.
9940
9941 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9942
9943         * Thesaurus.C: always include <config.h> in sources.
9944
9945         * Painter.h:
9946         * lyxlookup.h:
9947         * box.h: do not include <config.h> in header files
9948
9949         * text.C (paintLastRow): remove unused variable
9950
9951         * text.C (transformChar):
9952         (insertChar):
9953         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9954
9955         * Painter.C (text):
9956         * font.C (width): rewrite to use uppercase() instead of
9957         islower/toupper.
9958
9959         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9960
9961 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9962
9963         * lyxfind.C: clean up of find failure position change
9964
9965 2001-12-20  Juergen Vigna  <jug@sad.it>
9966
9967         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9968
9969         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9970         (TeXRow): added to LaTeX a single tabular row.
9971         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9972         (Latex): simplified and finally good LT-h/f support.
9973         (various_functions): just small adaptions for LT-h/f support.
9974
9975         * tabular_funcs.[hC]: added and moved here all not classfunctions
9976         of LyXTabular.
9977
9978 2001-12-19  Juergen Vigna  <jug@sad.it>
9979
9980         * tabular.[Ch]: better support for longtabular options (not finished
9981         yet!)
9982
9983 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9984
9985         * text.C (paintLastRow): use the label font instead of the font of
9986         the last character to compute the size of *_BOX. This makes more
9987         sense and avoids a crash with empty paragraphs.
9988         Use Painter::rectangle to draw EMPTY_BOX.
9989
9990 2001-12-19  Juergen Vigna  <jug@sad.it>
9991
9992         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9993         the paragraphs if the replaced paragraph is not the first one!
9994         Tried to delete not used paragraphs but does not work yet so for
9995         now it's inside #ifdef's and by default off!
9996
9997 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9998
9999         * MenuBackend.C: include "lyx_main.h" instead of declaring
10000         lastfiles (actually was declared as LastFiles* instead of a
10001         scoped_ptr).
10002
10003 2001-12-17  Juergen Vigna  <jug@sad.it>
10004
10005         * tabular.C (AppendColumn): applied John's fix
10006
10007 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10008
10009         * BufferView.h:
10010         * BufferView.C:
10011         * BufferView_pimpl.h:
10012         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10013
10014         * Makefile.am:
10015         * box.h: new start of class for above
10016
10017         * lyxfunc.C: ignore space-only minibuffer dispatches.
10018           Show the command name when it doesn't exist
10019
10020         * minibuffer.C: don't add empty lines to the history
10021
10022         * minibuffer.C: add a space on dropdown completion
10023
10024 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10025
10026         * text.C: fix line above/below drawing in insets
10027
10028 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10029
10030         * lyxlength.C (LyXLength): Initialize private variables.
10031
10032 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10033
10034         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10035         when inserting error insets.
10036
10037 2001-12-13  Juergen Vigna  <jug@sad.it>
10038
10039         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10040         actually sometimes the before-paragraph.
10041         (setUndo): don't clear the redostack if we're not actually undoing!
10042
10043 2001-12-06  Juergen Vigna  <jug@sad.it>
10044
10045         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10046         and fixed redoing of main paragraph, so we can use it now ;)
10047
10048         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10049
10050 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10051
10052         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10053         Juergen's request
10054
10055 2001-12-13  André Pönitz <poenitz@gmx.net>
10056
10057         * undostack.[Ch]:
10058         * undo_func.C: minor cleanup
10059
10060 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10061
10062         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10063         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10064         font in urw-fonts package which is marked as -urw-fontspecific and
10065         does not work (incidentally, changing the encoding in the
10066         fonts.dir of this package to -adobe-fontspecific fixes the
10067         problem).
10068
10069         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10070         is a crash when undoing first paragraph (Juergen, please take a
10071         look). THis does not mean the undo fix is wrong, just that it
10072         uncovers problems.
10073
10074         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10075         the (Paragraph*) version when needed instead of duplicating the
10076         code.
10077
10078         * text.C (workWidth): use Inset::parOwner to find out where the
10079         inset has been inserted. This is a huge performance gain for large
10080         documents with lots of insets. If Inset::parOwner is not set, fall
10081         back on the brute force method
10082
10083         * paragraph_pimpl.C (insertInset):
10084         * paragraph.C (Paragraph):
10085         (cutIntoMinibuffer): set parOwner of insets when
10086         inserting/removing them
10087
10088         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10089
10090 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10091
10092         * commandtags.h:
10093         * LyXAction.C:
10094         * lyx_main.C:
10095         * lyxfunc.C:
10096         * mathed/formulabase.C:
10097         * mathed/math_cursor.[Ch]:
10098         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10099
10100
10101 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10102
10103         * lyxlength.[Ch] (operator!=): new function
10104
10105 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10106
10107         * text.C (workWidth): use Inset::parOwner to find out where the
10108         inset has been inserted. This is a huge performance gain for large
10109         documents with lots of insets. If Inset::parOwner is not set, fall
10110         back on the brute force method
10111
10112         * paragraph_pimpl.C (insertInset):
10113         * paragraph.C (Paragraph):
10114         (cutIntoMinibuffer): set parOwner of insets when
10115         inserting/removing them
10116
10117         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10118
10119 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10120
10121         * tabular-old.C (getTokenValue):
10122         * tabular.C (getTokenValue):
10123         (write_attribute): new versions for LyXLength
10124         (everywhere): adjust the use of widths
10125
10126         * tabular.h: change the type of widths from string to LyXLength
10127
10128 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10129
10130         * paragraph.C: fixed missing line number count when exporting
10131         Environments to LaTeX file
10132
10133         * buffer.C: added informational message for checking line numbers.
10134
10135 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10136
10137         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10138         paragraph, do the 'double space' part, but not the 'empty
10139         paragraph' one.
10140
10141         * text.C (workWidth): small optimization
10142         (getLengthMarkerHeight): use minimal size for negative lengths.
10143
10144 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10145
10146         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10147
10148         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10149
10150 2001-12-11  André Pönitz <poenitz@gmx.net>
10151
10152         * FontLoader.C:
10153         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10154
10155 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10156
10157         * text2.C: keep selection on a setFont()
10158
10159 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10160
10161         * lyx_cb.C: another bv->text misuse, from insert label
10162
10163 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10164
10165         * kbsequence.h:
10166         * kbsequence.C: re-instate nmodifier mask
10167
10168 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10169
10170         * lyx_main.h: make lyxGUI private.
10171
10172 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10173
10174         * lyxfind.C: place the cursor correctly on failed search
10175
10176 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10177
10178         * text.C (getLengthMarkerHeight): for small heights, the arrows
10179         are not always on top/bottom of the text
10180         (drawLengthMarker): smaller arrows; take the left margin in
10181         account; draw also vfills.
10182         (paintFirstRow):
10183         (paintLastRow): remove special code for vfill and standard spaces,
10184         since everything is handled in drawLengthMarker now.
10185
10186 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10187
10188         * buffer.C (insertErtContents): try to handle font and language
10189         interaction a bit better.g
10190
10191         * ColorHandler.C (updateColor): change the hash to cover the whole
10192         LColor enum, ws cleanup
10193         (getGCLinepars): ditto
10194         (getGCLinepars): only lookup in the linecache once.
10195
10196 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10197
10198         * iterators.C (operator++): Make the iterator more robust
10199
10200         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10201         (John's patch)
10202         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10203
10204 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10205
10206         * lyxtext.h:
10207         * text.C: better added space drawing
10208
10209 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10210
10211         * LyXView.C:
10212         * BufferView2.C: fix layout combo update on inset unlock
10213
10214 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10215
10216         * Makefile.am: don't compile unused files
10217
10218 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10219
10220         * lyxfunc.C:
10221         * commandtags.h:
10222         * LyXAction.C: remove old LFUN_LAYOUTNO
10223
10224 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10225
10226         * paragraph_pimpl.h:
10227         * paragraph_pimpl.C: isTextAt() doesn't need font param
10228
10229 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10230
10231         * lyxlex.h:
10232         * lyxlex.C: little cleanup
10233
10234 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10235
10236         * BufferView_pimpl.C: fix insertAscii for insets
10237
10238 2001-12-05  Juergen Vigna  <jug@sad.it>
10239
10240         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10241         set the right font on the "multi" paragraph paste!
10242
10243 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10244
10245         * trans_decl.h:
10246         * trans_mgr.[Ch]:
10247         * trans.[Ch]:
10248         * lyxgluelength.C:
10249         * lyxlength.C: remove out-commented code.
10250
10251         * BufferView_pimpl:
10252         * CutAndPaste.C:
10253         * DepTable.C:
10254         * buffer.C:
10255         * chset.C:
10256         * lastfiles.C:
10257         * lyxlex.C:
10258         * lyxlex_pimpl.C:
10259         * lyxserver.C:
10260         * screen.C:
10261         * tabular-old.C:
10262         * tabular.C:
10263         * text.C:
10264         * trans_mgr.C:
10265         * vc-backend.C: change "while(" to "while ("
10266
10267         * lyxlength.[Ch]: add zero function to check if length is zero or
10268         not
10269         * lyxgluelength.C: use it
10270
10271 2001-12-05  Allan Rae  <rae@lyx.org>
10272
10273         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10274         Works for 2.95.3, from what I understand of Garst's reports this should
10275         work for other g++ versions.  We're screwed if the abs(int) definition
10276         changed between bugfix releases of gcc.
10277
10278 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10279
10280         * text.C: fix chapter label offset !
10281
10282 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10283
10284         * lyxtext.h:
10285         * text.C: fix hfill at end of line, clean up
10286
10287 2001-12-04  Juergen Vigna  <jug@sad.it>
10288
10289         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10290         that we force an update of the inset and it's owners if neccessary.
10291
10292 2001-12-03  Juergen Vigna  <jug@sad.it>
10293
10294         * text.C (rowLast): simplified code
10295
10296 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10297
10298         * lyxfunc.C: fix show options on timeout
10299
10300 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10301
10302         * screen.C (topCursorVisible): scroll half a page when the cursor
10303         reached top of bottom of screen
10304
10305 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10306
10307         * minibuffer.C: deactivate on loss of focus
10308
10309 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10310
10311         * vspace.[Ch] (operator!=): add operator.
10312
10313 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10314
10315         * BufferView_pimpl.C: refuse to open an inset when
10316         there's a selection.
10317
10318 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10319
10320         * BufferView_pimpl.C: allow to click on RHS of full row insets
10321
10322 2001-11-30  Juergen Vigna  <jug@sad.it>
10323
10324         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10325         insets for undo reasons.
10326
10327 2001-11-28  André Pönitz <poenitz@gmx.net>
10328
10329         * vspace.[Ch]: cosmetical changes
10330
10331 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10332
10333         * LyXAction.h:
10334         * LyXAction.C:
10335         * lyxfunc.h:
10336         * lyxfunc.C:
10337         * kbmap.h:
10338         * kbmap.C:
10339         * lyxrc.C:
10340         * kbsequence.h:
10341         * kbsequence.C: part re-write of old kb code
10342
10343         * Painter.C:
10344         * WorkArea.C: remove Lgb_bug_find_hack
10345
10346 2001-11-30  José Matos <jamatos@fep.up.pt>
10347
10348         * buffer.C (makeDocBookFile): add a comment to point a hack.
10349         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10350         Fixed a double write of labels.
10351
10352 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10353
10354         * LaTeX.C:
10355         * LaTeX.h Fixed bug in LaTeX class where it would not
10356         re-run latex if no depfiles were changed, but the .dvi was removed.
10357
10358 2001-11-28  André Pönitz <poenitz@gmx.net>
10359
10360         * all the files from the change on 2001/11/26:
10361         use lyx::layout_type instead of LyXTextClass::size_type
10362         use lyx::textclass_type instead of LyXTextClassList::size_type
10363
10364 2001-11-29  Juergen Vigna  <jug@sad.it>
10365
10366         * text.C: added support for paragraph::isFreeSpacing()
10367
10368         * buffer.C: same as above
10369
10370         * paragraph.h: inserted isFreeSpacing() function to enable
10371         FreeSpacing inside InsetERT.
10372
10373         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10374         of the paragraph's in the cut/copy buffer to 0!
10375
10376         * text2.C (removeRow): remove the assert as it can!
10377
10378         * lyxtext.h: added helper function firstRow returning firstrow and
10379         made firstrow private again.
10380
10381         * BufferView2.C (lockInset): don't relock if we're already locked!
10382
10383         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10384         the only paragraph.
10385         (removeRow): added Assert::(firstrow)
10386
10387         * debug.C: forgot to add INSETTEXT here.
10388
10389 2001-11-28  Juergen Vigna  <jug@sad.it>
10390
10391         * sp_spell.C (initialize): changed error text to more general
10392         spellchecker command use (not only ispell!)
10393
10394         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10395
10396         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10397
10398 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10399
10400         * vspace.C: initialise lyxgluelength on failure
10401
10402 2001-11-28  Allan Rae  <rae@lyx.org>
10403
10404         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10405         declaration & definition that looks like a function declaration.
10406
10407 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10408
10409         * BufferView2.C (copy):
10410         (copyEnvironment): do not clear the selection when doing a copy.
10411
10412         * text.C (paintFirstRow): compilation fix
10413
10414 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10415
10416         * tabular.C (Latex): correct line count when writing latex.
10417
10418 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10419
10420         * paragraph_pimpl.h:
10421         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10422           bug a bit
10423
10424 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10425
10426         * text.C:
10427         * LColor.h:
10428         * LColor.C: change vfillline->added_space
10429
10430         * text.C: add markers and text for added space
10431
10432         * vspace.C: fix comment
10433
10434 2001-11-28  André Pönitz <poenitz@gmx.net>
10435
10436         * paragraph.C: whitespace changes
10437         * all the other files from the change on 2001/11/26:
10438         change *::pos_type into lyx::pos_type
10439
10440 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10441
10442         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10443         language of the document when inserting error insets.
10444
10445 2001-11-26  André Pönitz <poenitz@gmx.net>
10446
10447         * BufferView_pimpl.[Ch]:
10448         *       CutAndPaste.C:
10449         * buffer.[Ch]:
10450         * lyxcursor.[Ch]:
10451         * lyxfind.C:
10452         * lyxfunc.C:
10453         * lyxrow.[Ch]:
10454         * paragraph.[Ch]:
10455         * paragraph_pimpl.[Ch]:
10456         * sp_spell.C:
10457         * text.C:
10458         * text2.C: reduce header dependencies, introduce type for positions
10459
10460 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10461
10462         * <various>: change to use Alert.h
10463
10464 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10465
10466         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10467         when encountering an unknown token.
10468         (readLyXformat2): Show an error message if there were unknown tokens.
10469
10470 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10471
10472         * BufferView2.C:
10473         * BufferView_pimpl.C:
10474         * buffer.C:
10475         * paragraph.h:
10476         * text.C:
10477         * text2.C: use par->isInset()
10478
10479 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10480
10481         * paragraph_pimpl.h:
10482         * paragraph_pimpl.C: cleanup
10483
10484 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10485
10486         * text2.C (removeRow):
10487         * text.C (setHeightOfRow): remove useless (and costly) call to
10488         getRow.
10489
10490 2001-11-20  Allan Rae  <rae@lyx.org>
10491
10492         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10493         Now need Inset*::checkInsertChar() to return true for appropriate
10494         cases so that the characters in the minibuffer will actually be
10495         inserted.
10496
10497 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10498
10499         * text.C: change the order of the includes.
10500         (workWidth): initialize it at once.
10501         (workWidth): make maxw unsigned
10502         (setHeightOfRow): remove unused variable (inset)
10503         (selectSelectedWord): remove unused variable (inset)
10504         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10505
10506 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10507
10508         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10509         server is not running.
10510         (openConnection):
10511         (closeConnection): add debug info when server is disabled.
10512
10513         * ColorHandler.C (getGCForeground): send debug message to GUI
10514         channel.
10515
10516         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10517
10518         * kbmap.C (bind): modify because return conventions of
10519         kb_sequence::parse have changed.
10520
10521         * kbsequence.C (parse): only ignore spaces and not any stupid
10522         control character. This avoids tests like s[i] <= ' ', which are
10523         guaranteed to fail with 8bit characters and signed chars.
10524         Change return code to string::npos when there have been no error
10525         (0 was a bad idea when error is at first character)
10526
10527 2001-11-14  José Matos  <jamatos@fep.up.pt>
10528
10529         * buffer.h:
10530         * buffer.C (simpleDocBookOnePar): removed unused argument.
10531
10532 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10533
10534         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10535         insets which are part of a word. Paragraph::isLetter takes care of
10536         that now. Use Paragraph::isInset to identify insets.
10537         (selectSelectedWord): do not test for hyphenation break.
10538
10539         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10540         that protected spaces are considered as spaces.
10541
10542         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10543         Inset::isLetter.
10544
10545 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10546
10547         * lyxserver.h:
10548         * lyxserver.C: fix it. and small cleanup.
10549
10550 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10551
10552         * BufferView_pimpl.C: use inline helpers
10553
10554         * LaTeXFeatures.h:
10555         * LaTeXFeatures.C: fix typos
10556
10557         * Spacing.h:
10558         * Spacing.C: move spacing_string into class
10559
10560         * ToolbarDefaults.C: move stuff into namespace anon
10561
10562         * layout.h: update enum
10563
10564         * lyxfunc.C: use better debug
10565
10566         * minibuffer.h: fix typo
10567
10568         * debug.h:
10569         * debug.C:
10570         * WorkArea.C: add and use Debug::WORKAREA
10571
10572         * lyxtext.h:
10573         * text.C:
10574         * text2.C: code re-organisation, inline helpers
10575
10576 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10577
10578         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10579         std::vector.empty().
10580
10581 2001-11-09  Allan Rae  <rae@lyx.org>
10582
10583         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10584         '\n's after tables.  Tabular and ERT inset work now makes this no
10585         longer necessary.
10586
10587 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10588
10589         * minibuffer.h:
10590         * minibuffer.C: fix crash, improve drop-down completion
10591
10592 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10593
10594         * lyxserver.h:
10595         * lyxserver.C: invalidate fd's when doing endPipe()
10596
10597 2001-11-08  José Matos  <jamatos@fep.up.pt>
10598
10599         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10600         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10601
10602         * paragraph.h:
10603         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10604
10605 2001-11-07  José Matos  <jamatos@fep.up.pt>
10606
10607         * buffer.h:
10608         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10609         const qualifier.
10610
10611         * buffer.C (sgmlOpenTag):
10612         * buffer.C (sgmlCloseTag): removed debug info.
10613
10614         * buffer.h (sgmlOpenTag):
10615         * buffer.h (sgmlCloseTag): made public.
10616
10617 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10618
10619         * buffer.C (saveParamsAsDefaults):
10620         * lyx_cb.C (MenuLayoutSave): remove
10621
10622         * LyXAction.C (init):
10623         * commandtags.h:
10624         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10625
10626 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10627
10628         * buffer.C (setPaperStuff): removed from here...
10629
10630         * bufferparams.C (setPaperStuff): ... and moved there.
10631
10632 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10633
10634         * minibuffer.h:
10635         * minibuffer.C:
10636         * XFormsView.C: add support for drop-down completion
10637
10638 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10639
10640         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10641         commands.
10642
10643 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10644
10645         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10646         disabled.
10647
10648 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10649
10650         * lyx_main.C: change ref to known bugs
10651
10652 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10653
10654         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10655         to work around older babel problems.
10656
10657 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10658
10659         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10660
10661 2001-10-24  Juergen Vigna  <jug@sad.it>
10662
10663         * tabular-old.C (ReadOld): below variable changes reflected.
10664
10665         * tabular.[Ch]: added ltType struct for longtable header/footer
10666         defines and changed all instances where they are used. Added
10667         future support for double top/bottom rows.
10668
10669 2001-10-24  José Matos  <jamatos@fep.up.pt>
10670
10671         * buffer.h (docbookHandleCaption):
10672         * buffer.C (docbookHandleCaption): removed unused function.
10673         (makeDocBookFile): moved docbook supported version to v4.1.
10674
10675 2001-10-24  José Matos  <jamatos@fep.up.pt>
10676
10677         * tabular.h:
10678         * tabular.C (docbookRow): new function to export docbook code of a row.
10679         (DocBook): now honors the longtable flags.
10680
10681 2001-10-23  José Matos  <jamatos@fep.up.pt>
10682
10683         * LaTeXFeatures.h:
10684         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10685         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10686
10687         * buffer.C (makeLinuxDocFile):
10688         (makeDocBookFile): reworked the preamble, more clean, and with
10689         support for lyx defined entities. Changed the document declaration
10690         to be more XML friendly.
10691
10692         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10693         if we need to output XML that should be done with a filter.
10694
10695 2001-10-22  Juergen Vigna  <jug@sad.it>
10696
10697         * sp_pspell.h (class PSpell): add alive function needed in the
10698         controller to see if the spellchecker could be started.
10699
10700 2001-10-22  Juergen Vigna  <jug@sad.it>
10701
10702         * buffer.C (insertStringAsLines): modify the font for inserting
10703         chars in certain conditions by calling checkInsertChar(font).
10704
10705 2001-10-19  Juergen Vigna  <jug@sad.it>
10706
10707         * text.C (workWidth): use getRow instead of wrong algorithm.
10708         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10709
10710 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10711
10712         * lyxserver.h:
10713         * lyxserver.C:
10714         * lyx_main.h:
10715         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10716
10717 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10718
10719         * text.C (workWidth): do not search for the exact row when
10720         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10721         optimization for big documents.
10722
10723 2001-10-18  Juergen Vigna  <jug@sad.it>
10724
10725         * text.C (workWidth): new function with added Inset * parameter.
10726
10727 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10728
10729         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10730
10731         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10732         change return type of getColumnNearX.
10733
10734
10735         * text.C (changeRegionCase): use uppercase/lowercase instead of
10736         toupper/tolower.
10737         (leftMargin):
10738         (rightMargin): simplify code by factoring out the uses of
10739         textclasslist.
10740         (labelFill):
10741         (numberOfHfills):
10742         (setHeightOfRow):
10743         (appendParagraph): use Paragraph::size_type
10744
10745 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10746
10747         * vspace.C (asLatexString): add a missing break
10748
10749 2001-10-15  Herbert Voss  <voss@perce.de>
10750
10751         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10752
10753 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10754
10755         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10756         is not available.
10757
10758 2001-10-10  André Pönitz <poenitz@gmx.net>
10759
10760         * lyxfunc.C: removed greek_kb_flag.
10761
10762 2001-10-10  Herbert Voss  <voss@perce.de>
10763
10764         * lyx_main.C: delete global string help_lyxdir.
10765
10766 2001-10-09  Herbert Voss  <voss@perce.de>
10767
10768         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10769
10770         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10771
10772         * lyx_main.C: added global string help_lyxdir.
10773
10774         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10775
10776 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10777
10778         * lyxrc.C (set_font_norm_type): support iso8859-4
10779
10780 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10781
10782         * LaTeX.C (deplog): add another regex for MikTeX
10783
10784 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10785
10786         * lyxrc.C (set_font_norm_type): support iso8859-3
10787
10788 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10789
10790         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10791
10792         * LaTeXFeatures.C: remove special case of french and index
10793
10794         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10795         before \begin{document}). This solves several incompatibilities.
10796
10797 2001-10-03  Garst Reese  <reese@isn.net>
10798
10799         * lyx_cb.C: change CheckTex error msg.
10800
10801 2001-10-03  José Matos  <jamatos@fep.up.pt>
10802
10803         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10804
10805 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10806
10807         * .cvsignore: update
10808
10809         * lyx_main.C (commandLineVersionInfo): use new style version info.
10810
10811         * buffer.C (writeFile):
10812         (makeLaTeXFile):
10813         (makeLinuxDocFile):
10814         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10815
10816         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10817
10818         * version.h: update to use stuff in version.C
10819
10820         * version.C.in: new file. Contains version information determined
10821         at compile time. This is a merging of version.h and
10822         version_info.h.in.
10823
10824 2001-10-03  Juergen Vigna  <jug@sad.it>
10825
10826         * BufferView_pimpl.C (update): don't change "dirty" status in
10827         updateInset call.
10828
10829 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10830
10831         * WorkArea.C (c-tor): re-position version string slightly.
10832
10833 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10834
10835         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10836         revert to previous code.
10837
10838         WorkArea.[Ch]: (show, destroySplash): methods removed.
10839
10840         WorkArea.C: rework code so that it's an amalgam of the codes before and
10841         after the splash screen was moved to WorkArea.
10842
10843 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10844
10845         * lyxrc.C (read):
10846         * vspace.C (inPixels):
10847         (lyx_advance):
10848         * kbmap.C (bind):
10849         * buffer.C (insertStringAsLines):
10850         (asciiParagraph): fix types to be large enough
10851
10852         * lyxlex_pimpl.h: change member status from short to int
10853
10854         * layout.h: fix type of endlabeltype
10855
10856         * kbmap.C (bind):
10857         * kbsequence.C (parse): change return type to string::size_type
10858
10859         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10860         variable
10861
10862         * Bullet.C (bulletSize):
10863         (bulletEntry): do not use short ints as parameters
10864
10865         * BufferView2.C (insertLyXFile): change a char to an int.
10866
10867         * WorkArea.C (WorkArea): remove unneeded floats in computation
10868
10869 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10870
10871         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10872
10873         * paragraph.C (asString): Do not ignore newline/hfill chars when
10874         copying to the clipboard.
10875
10876 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10877
10878         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10879         after a multi-line inset.
10880
10881 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10882
10883         * paragraph.C (validate): Set NeedLyXFootnoteCode
10884
10885 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10886
10887         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10888         and decrease-error to decrease.
10889
10890 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10891
10892         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10893         it more readable (should be equivalent)
10894
10895 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10896
10897         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10898
10899 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10900
10901         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10902         of a cursor (row, etc.) after a character has been deleted
10903         (deleteEmptyParagraphMechanism): call the method above on _all_
10904         cursors held by the LyXText when a double space has been
10905         detected/deleted.
10906
10907 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10908
10909         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10910         pixmap.
10911         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10912
10913         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10914         background. Use greyOut() and the new show() methods to toggle between
10915         the foreground and background. Add code to remove the splash after
10916         its initial showing.
10917
10918         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10919         (create_forms): no longer call Dialogs::showSplash.
10920
10921 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10922
10923         * .cvsignore: add version_info.h
10924
10925 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10926
10927         * version_info.h.in: new file
10928
10929         * Makefile.am: add version_info.h.in
10930
10931         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10932         version_info.h instead of VERSION_INFO
10933
10934 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10935
10936         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10937         The ERT inset now returns string().
10938
10939 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10940
10941         * lyxtext.h, text.C (selectNextWord): renamed as
10942         selectNextWordToSpellcheck.
10943
10944         * text.C (selectNextWordToSpellcheck): Modified to not select
10945         words inside an ERT inset.
10946
10947 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10948
10949         * lyx_cb.C (MenuLayoutSave): change a bit the question
10950
10951         * sp_base.h: include <sys/types.h>
10952
10953 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10954
10955         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10956
10957 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10958
10959         * several files: fix typos in user-visible strings
10960
10961 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10962
10963         * text2.C (pasteSelection): do not set the selection, since it
10964         will be cleared later. Actually, the intent was to fix the way the
10965         selection was set, but I figured rmoving the code was just as good.
10966
10967 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10968
10969         * FontLoader.C (available): Check if font is available without
10970         loading the font.
10971
10972 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10973
10974         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10975
10976 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10977
10978         * lyxrc.[Ch]: added display_graphics variable and associated code.
10979
10980 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10981
10982         * bufferparams.C (hasClassDefaults): new method. Returns true if
10983         the buffer parameters correspond to known class defaults
10984
10985 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10986
10987         * XFormsView.C (show): set minimum size to the main window.
10988
10989 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10990
10991         * text2.C (copySelection):
10992         (cutSelection):
10993         * lyxfind.C (LyXReplace):
10994         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10995         LyXText::selectionAsString.
10996
10997         * paragraph.C (asString): add "label" argument to the second form
10998
10999         * text2.C (selectionAsString): add "label" argument and pass it to
11000         Paragraph::asString.
11001
11002 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11003
11004         * lyx_main.C (commandLineHelp): remove version information
11005
11006 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11007
11008         * lyx_main.C: add -version commandline option
11009
11010 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11011
11012         * paragraph.h: make the optional constructor arg required instead.
11013         some modifications to other files because of this.
11014
11015         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11016
11017         * lyxserver.C (C_LyXComm_callback): make it static
11018
11019         * lyx_main.C (error_handler): make it static
11020
11021         * lyx_gui.C (LyX_XErrHandler): make it static
11022
11023         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11024
11025         * WorkArea.C: make the extern "C" methods static.
11026
11027         * Makefile.am (lyx_LDADD): simplify
11028
11029 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11030
11031         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11032         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11033
11034         * LyXAction.C (init):
11035         * lyxfunc.C (dispatch): associated code removal.
11036
11037 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11038
11039         * lyxfont.h (isSymbolFont): shut off warning
11040
11041         * text.C (setHeightOfRow):
11042         (getVisibleRow): fix crash with empty paragraphs which have a
11043         bottom line
11044
11045 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11046
11047         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11048         code.
11049
11050 2001-09-04  José Matos  <jamatos@fep.up.pt>
11051         * buffer.C
11052         * buffer.h
11053         * tabular.C (docbook): rename docBook method to docbook.
11054
11055 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11056
11057         * Makefile.am: add dependencies to main.o.
11058
11059 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11060
11061         * FontLoader.C (available): Return false if !lyxrc.use_gui
11062
11063 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11064
11065         * FontInfo.C (query):
11066         * converter.C (view):
11067         * importer.C (Import):
11068         * exporter.C (Export): Can not -> cannot.
11069
11070 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11071
11072         * BufferView_pimpl.C: allow to create index inset even if
11073           string is empty
11074
11075 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11076
11077         * buffer.C (getLists): replace boost::tie code with an explicit pair
11078         as boost::tie can break some compilers.
11079
11080         * iterators.h: Added a std:: declaration to the return type of
11081         ParIterator::size.
11082
11083 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11084
11085         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11086           case.
11087
11088 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11089
11090         * iterators.[Ch]: New files. Provide paragraph iterators.
11091
11092         * buffer.C (changeLanguage): Use paragraph iterators.
11093         (isMultiLingual): ditto
11094
11095         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11096
11097 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11098
11099         * FontLoader.C: Support for cmr font.
11100
11101 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11102
11103         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11104         (available): New method.
11105
11106         * FontInfo.C (getFontname): Use scalable fonts even when
11107         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11108         found.
11109
11110 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11111
11112         * converter.C (Formats::view): reverted! Incorrect fix.
11113
11114 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11115
11116         * converter.C (Formats::view): only output the -paper option
11117         if the dvi viewer is xdvi, thereby fixing bug #233429.
11118
11119 2001-08-23  Herbert Voss  <voss@perce>
11120
11121         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11122
11123 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11124
11125         * Spacing.h (Spacing): Set space to Default on in the default
11126         constructor.
11127
11128 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11129
11130         * vc-backend.h (RCS::versionString): add RCS to version
11131         (CVS::versionString): add CVS to version
11132
11133         * vc-backend.C (scanMaster): do not add CVS to version.
11134         (scanMaster): do not add RCS to version
11135
11136         * lyxvc.C (versionString): new method
11137
11138         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11139
11140 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11141
11142         * Spacing.C (set): initialize fval
11143
11144 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11145
11146         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11147         " or \.
11148
11149 2001-08-16  Juergen Vigna  <jug@sad.it>
11150
11151         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11152
11153 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11154
11155         * BufferView_pimpl.C:
11156         * figureForm.C:
11157         * lyxtext.h:
11158         * text2.C: setParagraph takes linespacing now
11159
11160 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11161
11162         * LyxAction.C: add internal LFUN_CITATION_INSERT
11163
11164         * LyXView.C: actually apply fix
11165
11166         * bufferlist.C: fix open non-existent file
11167
11168         * lyxfind.C: fix indentation
11169
11170         * lyxfunc.C: remove unneeded assert, fix typo
11171
11172 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11173
11174         * MenuBackend.C: use "Floatname List"
11175
11176 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11177
11178         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11179         when converting LaTeX layout to insetERT.
11180         Generate a non-collapsed float when reading old float
11181
11182 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11183
11184         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11185         ERT insets.
11186
11187 2001-08-13  Juergen Vigna  <jug@sad.it>
11188
11189         * text.C (fill): return 0 instead of 20 as this seems to be the more
11190         correct value.
11191
11192 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11193
11194         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11195         lyxrc.font_norm.
11196
11197 2001-08-13  Juergen Vigna  <jug@sad.it>
11198
11199         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11200         casesensitive off.
11201         (SearchBackward): comment out the unlocking of the inset_owner this
11202         should not be needed!
11203
11204 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11205
11206         * Many files: Remove inherit_language, and add latex_language
11207
11208         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11209         collapsible insets.
11210
11211 2001-08-10  Juergen Vigna  <jug@sad.it>
11212
11213         * text.C (prepareToPrint): fixed hfill-width in draw!
11214
11215         * BufferView2.C (selectLastWord): save the selection cursor as this
11216         now is cleared in the function LyXText::clearSelection!
11217
11218 2001-08-08  Juergen Vigna  <jug@sad.it>
11219
11220         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11221         BACKSPACE type functions.
11222
11223         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11224         is only cutted from the document but not put in the cut-buffer, where
11225         still the old stuff should be.
11226
11227         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11228
11229         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11230
11231         * tabular.C (SetWidthOfCell): fixed special case where the width
11232         was not updated!
11233         (LeftLine): handle '|' in align_special.
11234         (RightLine): ditto
11235         (LeftAlreadyDrawed): ditto
11236         (SetWidthOfCell): ditto
11237
11238 2001-08-07  Juergen Vigna  <jug@sad.it>
11239
11240         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11241
11242 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11243
11244         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11245         * lyxlex.[hC]: ditto
11246
11247 2001-08-06  Juergen Vigna  <jug@sad.it>
11248
11249         * text.C (getVisibleRow): fix up row clearing a bit.
11250
11251 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11252
11253         * minibuffer.C: make sure the X server sees the changes in the input.
11254
11255 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11256
11257         * paragraph.C (getFont): split into...
11258         (getLabelFont): this
11259         (getLayoutFont): and this
11260         * paragraph_pimpl.C (realizeFont): calling this
11261
11262         * text2.C (getFont): split into...
11263         (getLayoutFont): this
11264         (getLabelFont): and this
11265         (realizeFont): all three calling this
11266
11267         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11268         files where used.
11269
11270 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11271
11272         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11273
11274 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11275
11276         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11277         layouts from the Quote inset insertion.
11278
11279 2001-08-03  Juergen Vigna  <jug@sad.it>
11280
11281         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11282
11283         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11284         only if status not is already CHANGED_IN_DRAW (second level).
11285
11286         * text.C (draw): don't set the need_break_row when inside an
11287         InsetText LyXText.
11288
11289 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11290
11291         * buffer.C (parseSingleLyXformat2Token): handle more latex
11292         conversion cases.
11293
11294         * bufferview_funcs.[hC]: change function names to
11295         begin with small char, adjust other files.
11296
11297 2001-08-02  André Pönitz <poenitz@gmx.net>
11298
11299         * lyxfunc.C:
11300         BufferView_pimpl.C: remove broken special code for math-greek
11301
11302 2001-08-02  Juergen Vigna  <jug@sad.it>
11303
11304         * BufferView_pimpl.C (update): redone this function so that we
11305         update the text again if there was a CHANGE_IN_DRAW.
11306
11307         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11308         (drawFromTo): added a new internal bool which is used by draw() and
11309         redraw() function.
11310         (general): some cursor drawing problems fixed.
11311
11312 2001-08-01  Juergen Vigna  <jug@sad.it>
11313
11314         * lyxfind.C (LyXFind): fixed
11315         (SearchForward): ditto
11316         (SearchBackward): ditto
11317
11318         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11319         spurius drawing of the cursor in the main area.
11320
11321         * text2.C (status): small fix which could lead to a segfault!
11322         (clearSelection): remove unneeded BufferView param.
11323
11324 2001-08-01  André Pönitz <poenitz@gmx.net>
11325
11326         * lyxfunc.C: small change due to changed mathed interface
11327
11328 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11329
11330         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11331
11332 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11333
11334         * lyxfunc.c: fail gracefully if file doesn't exist
11335
11336         * LyXSendto.C:
11337         * buffer.C:
11338         * lyxfunc.C:
11339         * BufferView_pimpl.C: IsDirWriteable() proto changed
11340
11341         * LyXView.C: fix updateWindowTitle() to store the last title
11342
11343 2001-07-31  Juergen Vigna  <jug@sad.it>
11344
11345         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11346         the font (wrong since using of Paragraph::highestFontInRange).
11347
11348         * paragraph.C (highestFontInRange): added a default_size parameter.
11349
11350         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11351         (setHeightOfRow): reformat
11352
11353 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11354
11355         * converter.[hC] + affected files: move to (inital-char)lowercase
11356         function names.
11357
11358         * ParagraphParameters.C (ParagraphParameters): remove commented code
11359
11360         * PainterBase.[Ch]: remove commented code
11361
11362         * LaTeXFeatures.h: add "bool floats" for float.sty
11363
11364         * LaTeXFeatures.C (LaTeXFeatures): init floats
11365         (require): handle float
11366         (getPackages): do it with floats
11367
11368 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11369
11370         * BufferView_pimpl.C (Dispatch): improve handling of
11371         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11372
11373         * commandtags.h: #include lyxfont.h here temporarily to avoid
11374         keybinding bug.
11375
11376         * bufferlist.h: include LString.h here.
11377
11378 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11379
11380         * text2.C (getStringToIndex): new method.
11381
11382 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11383
11384         * *: Reduced header file dependencies all over.
11385
11386 2001-07-30  Baruch Even  <baruch@lyx.org>
11387
11388         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11389
11390 2001-07-29  Baruch Even  <baruch@lyx.org>
11391
11392         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11393
11394 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11395
11396         * ParameterStruct.h (endif): add a default constructor to make
11397         sure that all variables is initialized.
11398
11399         * ParagraphParameters.C (ParagraphParameters): adjust
11400
11401 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11402
11403         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11404         index; also, check that there is something to index, and that it
11405         does not span over several paragraphs.
11406         (doubleClick): use WHOLE_WORD_STRICT for double click.
11407
11408         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11409
11410         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11411         scheme.
11412
11413 2001-07-26  Baruch Even  <baruch@lyx.org>
11414
11415         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11416         an InsetFig figure, backwards compatible reading of old figure code.
11417
11418 2001-07-27  Juergen Vigna  <jug@sad.it>
11419
11420         * text2.C: font.realize function adaption.
11421
11422         * text.C (draw): add a warnings lyxerr text if needed.
11423
11424         * layout.C: font.realize function adaption.
11425
11426         * language.C: add inherit_language and implement it's handlings
11427
11428         * bufferview_funcs.C (StyleReset): remove language parameter from
11429         font creation (should be language_inherit now).
11430
11431         * bufferparams.C (writeFile): handle ignore_language.
11432
11433         * paragraph.C (getFontSettings): the language has to be resolved
11434         otherwise we have problems in LyXFont!
11435
11436         * lyxfont.C (lyxWriteChanges): added document_language parameter
11437         (update): removed unneeded language parameter
11438
11439         * paragraph.C (validate): fixed wrong output of color-package when
11440         using interface colors for certain fonts in certain environments,
11441         which should not seen as that on the final output.
11442
11443 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11444
11445         * BufferView_pimpl.C:
11446         * Thesaurus.h:
11447         * Thesaurus.C:
11448         * Makefile.am:
11449         * commandtags.h:
11450         * LyXAction.C: add thesaurus support
11451
11452         * lyxfind.h:
11453         * lyxfind.C: add "once" parameter, for thesaurus, to not
11454           move to the next match
11455
11456 2001-07-26  Juergen Vigna  <jug@sad.it>
11457
11458         * lyxfont.C (realize): honor ignore_language too!
11459         (resolved): ditto.
11460
11461         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11462
11463         * text.C (draw): one place more for ignore_language to not draw
11464         itself!
11465
11466 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11467
11468         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11469
11470 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11471
11472         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11473         the minipage conversion problem.
11474
11475 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11476
11477         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11478         insert an inset.
11479
11480 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11481
11482         * BufferView.h: don't forward declare WorkArea
11483
11484         * BufferView.C: don't include WorkArea.h
11485
11486 2001-07-25  André Pönitz <poenitz@gmx.net>
11487
11488         * commandtags.h:
11489         * LyXAction.C:
11490         * lyxfunc.C:  new LFUN 'math-space'
11491
11492         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11493
11494 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11495
11496         * text2.C (toggleInset): call open/close
11497
11498 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11499
11500         * lyxfunc.C (dispatch): add debug for the disabled case
11501
11502         * font.C (buttonText): make similar to rectText
11503
11504         * buffer.C (readInset): comment out parsing of insetlist and
11505         insttheorem
11506
11507         * PainterBase.C (rectText): small correction
11508
11509         * BufferView_pimpl.C: comment out insettheorem and insetlist
11510         * LyXAction.C: ditto
11511         * commandtags.h: ditto
11512
11513 2001-07-24  Juergen Vigna  <jug@sad.it>
11514
11515         * text.C (draw): honor the ignore_language.
11516
11517         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11518
11519 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11520
11521         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11522         char inset.
11523
11524 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11525
11526         * lyxtext.h: remove unused (and unimplemented) methods
11527
11528 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11529
11530         * text.C (getVisibleRow): honor background color
11531
11532         * PainterBase.h:
11533         * Painter.h: remove default color argument for fillRectangle
11534
11535         * text.C (backgroundColor): new method
11536
11537 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11538
11539         * text.C (getVisibleRow): adjust
11540
11541         * font.[Ch] (rectText): new method, metrics
11542         (buttonText): new method, metrics
11543
11544         * PainterBase.[hC]: make rectText and buttonText always draw and take
11545         fewer paramteres.
11546
11547 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11548
11549         * ToolbarDefaults.C (read):
11550         * MenuBackend.C (read): allow escaping in all strings
11551
11552         * BufferView_pimpl.C (insertAndEditInset): new method.
11553         (Dispatch): use insertAndEditInset whenever appropriate.
11554
11555         * BufferView_pimpl.C (insertNote): removed
11556
11557         * BufferView_pimpl.C (smartQuote): new method, moved from
11558         BufferView; if an insetquote cannot be inserted, insert a '"'
11559         character instead.
11560
11561         * BufferView2.C: remove insertCorrectQuote();
11562
11563         * lyxfunc.C (getStatus): Add support for all remaingin
11564         inset-insert lfuns.
11565
11566         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11567
11568         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11569         command (necessary to pass " as parameter of self-insert.
11570
11571         * text.C (selectWordWhenUnderCursor):
11572         (selectWord): add word_location parameter
11573         (selectWordWhenUnderCursor): same + remove special code for word
11574         boundary.
11575         (selectNextWord): use kind() to guess type of insetspecialchar,
11576         not latex().
11577
11578         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11579         (insertErtContents): create ert insets as collapsed.
11580         (readInset): better compatibility code for Info inset.
11581
11582 2001-07-20  Juergen Vigna  <jug@sad.it>
11583
11584         * lyxfunc.C (dispatch): use always LyXFind now!
11585
11586         * text2.C (init): add a reinit flag so that the LyXText can be
11587         reinited instead of deleted and reallocated (used in InsetText).
11588
11589         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11590
11591         * text.C: ditto
11592
11593         * text2.C: ditto
11594
11595 2001-07-18  Juergen Vigna  <jug@sad.it>
11596
11597         * text.C (selectNextWord): handle insets inside inset by calling
11598         always the bv->text functions so that we can go up the_locking_inset!
11599
11600         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11601         in strange locations when inside an inset!
11602
11603         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11604         handling to include insets.
11605
11606         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11607
11608 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11609
11610         * LyXAction.C (init):
11611         * commandtags.h:
11612         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11613         LIGATURE_BREAK, since the name is so stupid.
11614
11615 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11616
11617         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11618         InsetInfos.
11619
11620         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11621
11622         * sp_form.[Ch]: remove.
11623
11624         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11625
11626         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11627         InsetInfo.
11628
11629         * src/buffer.C (readInset): ditto.
11630
11631 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11632
11633         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11634         menuSeparator(), endOfSentenceDot(), ldots() and
11635         hyphenationPoint(), which are therefore removed.
11636         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11637
11638         * LyXAction.C (init):
11639         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11640
11641         * paragraph.C (getWord): removed.
11642
11643         * BufferView_pimpl.C (Dispatch): use last word or selection for
11644         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11645
11646         * lyx_main.C (queryUserLyXDir): do not ask before creating
11647         user_dir, except if it has been named explicitely.
11648
11649 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11650
11651         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11652         a document of zero size.
11653
11654 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11655
11656         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11657         approriately in the c-tor and in require().
11658         (getPackages): output the appropriate LaTeX for natbib support.
11659
11660         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11661         variables "use_natbib" and "use_numerical_citations" when reading the
11662         LyX file.
11663         (readInset): read the various natbib cite commands.
11664         (validate): white-space change.
11665
11666         * bufferparams.[Ch]: new variables "bool use_natbib" and
11667         "bool use_numerical_citations".
11668         (writeFile): output them in the LyX file.
11669
11670 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11671
11672         * lyxfunc.C (getStatus): add support for all the inset insertion
11673         commands.
11674
11675         * text2.C (insertInset):
11676         * paragraph.C (insetAllowed):
11677         * BufferView_pimpl.C (insertInset): update to take in account the
11678         renaming of insertInsetAllowed
11679
11680         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11681
11682         * text2.C (getInset): new method. returns inset at cursor position.
11683
11684         * BufferView_pimpl.C (Dispatch): changes because of this.
11685
11686         * LyXAction.C (init): rename open-stuff to inset-toggle.
11687
11688         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11689
11690         * text2.C (toggleInset): renamed from openStuff; use
11691         Inset::open().
11692
11693 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11694
11695         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11696
11697         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11698
11699 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11700
11701         * buffer.C (readLyXformat2): Add filename to the error dialog
11702
11703 2001-07-18  Juergen Vigna  <jug@sad.it>
11704
11705         * tabular.C (GetCellNumber): put an assert here instead of the check!
11706
11707 2001-07-17  Juergen Vigna  <jug@sad.it>
11708
11709         * BufferView_pimpl.C (toggleSelection): adapted too.
11710
11711         * text.C (selectNextWord): adapted for use with insets.
11712         (selectSelectedWord): ditto
11713
11714 2001-07-17  Juergen Vigna  <jug@sad.it>
11715
11716         * sp_spell.C (PSpell): fix initialitation order.
11717
11718 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11719
11720         * paragraph.C: spacing
11721
11722 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11723
11724         * sp_spell.C: repair language selection for pspell
11725
11726 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11727
11728         * lyxfunc.h: change more methods to begin with lower char.
11729
11730 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11731
11732         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11733         for unknown layouts.
11734
11735 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11736
11737         * buffer.C (readLyXformat2): Generate an error dialog if there are
11738         unknown layouts.
11739
11740 2001-07-16  Juergen Vigna  <jug@sad.it>
11741
11742         * sp_spell.C: always compile ISpell part.
11743
11744         * lyxrc.C: added use_pspell entry and it's handling.
11745
11746 2001-07-13  Juergen Vigna  <jug@sad.it>
11747
11748         * sp_spell.C: removed double includes.
11749
11750 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11751
11752         Consistent use of Lsstream.h:
11753         * Lsstream.h: added using std::stringstream for consistencies sake.
11754
11755         * buffer.C: removed using std::stringstream
11756
11757         * lyxfont.C (stateText):
11758         * paragraph.C (asString):
11759         * text.C (selectNextWord, selectSelectedWord):
11760         * text2.C (setCounter):
11761         * vspace.C (asString, asLatexString):
11762         std::ostringstream -> ostringstream.
11763
11764 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11765
11766         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11767         * commandtags.h: add LFUN_HELP_ABOUTLYX
11768         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11769
11770 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11771
11772         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11773         cursorToggle()
11774         * lyx_gui_misc.C: remove spellchecker
11775         * lyxfunc.C: showSpellchecker
11776         * sp_base.h: added
11777         * sp_ispell.h: added
11778         * sp_pspell.h: added
11779         * sp_spell.C: added
11780         * sp_form.[Ch]: removed
11781         * spellchecker.[Ch]: removed
11782
11783 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11784
11785         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11786         is set.
11787         (simpleTeXSpecialChars): Simply print the input character without
11788         any special translation if pass_thru is set.
11789
11790         * layout.h: Added bool pass_thru to layout class for being able to
11791         implement pass through of a paragraph for Literate Programming.
11792
11793         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11794         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11795         * layout.C (Read): add "passthru" to list of layout tags and add
11796         code to set the pass_thru boolean when it is read.
11797
11798 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11799
11800         * trans_decl.h: remove allowed from KmodInfo
11801
11802         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11803         remove allowed code
11804         (Load): adjust
11805
11806         * paragraph_pimpl.C (erase): use boost::prior
11807
11808         * Painter.C (text): use data() instead of c_str() when length is
11809         also provided.
11810         * WorkArea.C (putClipboard): ditto
11811         * font.h (width): ditto
11812
11813         * BufferView2.C: use it-> instead of (*it). for iterators
11814         * texrow.C: ditto
11815         * paragraph_pimpl.C: ditto
11816         * paragraph.C: ditto
11817         * minibuffer.C: ditto
11818         * language.C: ditto
11819         * kbmap.C: ditto
11820         * encoding.C: ditto
11821         * counters.C: ditto
11822         * converter.C: ditto
11823         * chset.C: ditto
11824         * Variables.C: ditto
11825         * TextCache.C: ditto
11826         * MenuBackend.C: ditto
11827         * LyXAction.C: ditto
11828         * LColor.C: ditto
11829         * FloatList.C: ditto
11830         * DepTable.C: ditto
11831         * ColorHandler.C (LyXColorHandler): ditto
11832
11833 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11834
11835         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11836
11837         * text2.C (openStuff): reintroduce this method (which had been
11838         nuked in NEW_INSETS frenzy).
11839
11840         * lyxfunc.C (Dispatch): when an action has not been handled, use
11841         its name in the error message, not its number.
11842
11843         * paragraph.C (inInset): change method name to begin with lowercase.
11844
11845         * undo_funcs.C:
11846         * text2.C: updates because of this.
11847
11848 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11849
11850         * ToolbarDefaults.C (add): add spaces in error message
11851
11852 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11853
11854         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11855         (readLyXformat2): rename return_par to first_par, use lyxlex's
11856         pushToken and remove the manual push handling.
11857         (parseSingleLyXformat2Token): add another ert comp. variable:
11858         in_tabular, rename return_par to first_par. handle newlines better
11859
11860 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11861
11862         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11863
11864 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11865
11866         * text2.C (getParFromID): removed
11867
11868         * buffer.C (getParFromID): new method moved form lyxtext.
11869         * BufferView2.C (insertErrors): adjust
11870         (setCursorFromRow): adjust
11871         * BufferView_pimpl.C (restorePosition): adjust
11872         * lyxfunc.C (Dispatch): adjust
11873         * undo_funcs.C (textUndo): adjust
11874         (textRedo): adjust
11875         (textHandleUndo): adjust
11876         (textHandleUndo): adjust
11877
11878 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11879
11880         * buffer.C: up' the LYX_FORMAT
11881
11882         * lyxfont.h: turn NO_LATEX on as default
11883
11884         * buffer.C (insertErtContents): new methods of tex style compability.
11885         (parseSingleLyXformat2Token): use it several places.
11886         * tabular.C (OldFormatRead): and here
11887
11888 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11889
11890         * text2.C: remove some commented code.
11891         reindent file.
11892
11893         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11894         * trans.C: changes because of the above.
11895
11896 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11897
11898         * text2.C (setCounter): Fix counters bug with bibliography layout.
11899
11900 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11901
11902         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11903         own member functions
11904         (simpleTeXSpecialChars): ditto
11905
11906 2001-07-06  Juergen Vigna  <jug@sad.it>
11907
11908         * a lot of files: changed the access to LyXText::status and the
11909         call of undo-functions.
11910
11911         * undo.[Ch]: added a inset_id to the undo informations.
11912
11913         * undo_funcs.[Ch]: added and moved here all undo functions.
11914
11915         * lyxtext.h: give the status enum a weight, made status_ a private
11916         variable and made accessor functions for it, removed the whole bunch
11917         of undo-functions as they are now in their own file, make some
11918         functions publically available. Added function ownerParagraph with
11919         int parameter.
11920
11921         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11922         made InInset() a const function, added getParFromID() function.
11923
11924         * buffer.[Ch]: added const version for inset_iterator functions,
11925         added getInsetFromID() function.
11926
11927         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11928         changed undo functions for new version.
11929
11930 2001-07-05  Juergen Vigna  <jug@sad.it>
11931
11932         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11933         unknow mechanism does not call the proper constructor but only this
11934         one also if I request the other!?
11935
11936 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11937
11938         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11939
11940         * text2.C (LyXText): use initialization lists.
11941
11942         * lyxtext.h (Selection): initialize set_ and mark_
11943         (init): remove method
11944
11945 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11946
11947         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11948
11949 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11950
11951         * screen.[Ch]: change method names to begin with lowercase
11952
11953         * BufferView_pimpl.C (updateScrollbar): simplify further and
11954         hopefully make it a bit faster.
11955
11956 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11957
11958         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11959         calling directly xforms functions.
11960
11961         * Painter.C (Painter):
11962         * lyx_cb.C (MenuWrite):
11963         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11964         fl_display.
11965
11966         * lyx_gui.C: remove bogus guiruntime extern declaration.
11967
11968 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11969
11970         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11971         in NEW_INSETS
11972         (redoDrawingOfParagraph): ditto
11973         (redoParagraphs): ditto
11974         (cutSelection): don't create a object for CutAndPaste use the
11975         static method directly
11976         (pasteSelection): ditto
11977
11978         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11979         LyXview (+ rename)
11980
11981 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11982
11983         * modifications to some other files because of this.
11984
11985         * Makefile.am (lyx_SOURCES): add XFormsView
11986
11987         * XFormsView.[Ch]: new files
11988
11989         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11990         the main window. Move the gui dependent stuff to XFormsView
11991
11992 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11993
11994         * tabular.C (GetCellInset): update cur_cell also in the row/col
11995         version of this function.
11996
11997         * lyxfunc.C: no need to include figure_form.h here.
11998
11999         * FontLoader.h:
12000         * lyxfunc.h:
12001         * lyxscreen.h:
12002         * text2.C:
12003         * lyxvc.C: no need to include forms.h here.
12004
12005 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12006
12007         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12008
12009         * lyxfunc.C (Dispatch):
12010         * Spacing.C (set):
12011         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12012         constructor argument.
12013
12014 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12015
12016         * paragraph.C (Paragraph): dont't clear, and just set layout.
12017         (makeSameLayout): use params's copy contructor.
12018
12019         * ParagraphParameters.[Ch] (makeSame): delete method
12020
12021 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12022
12023         * Variables.[Ch]: fix indentation, rename set to isSet
12024
12025 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12026
12027         * lyxfunc.C (Dispatch): fix typo
12028
12029 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12030
12031         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12032         upper_bound.
12033
12034         * bufferlist.C: include assert.h for emergencyWrite().
12035
12036 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12037
12038         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12039           give up at last (bug #425202) !
12040
12041 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12042
12043         * lyx_gui_misc.C:
12044         * sp_form.h:
12045         * sp_form.C:
12046         * spellchecker.h:
12047         * spellchecker.C: strip spellchecker options and bring up
12048           preferences tab instead
12049
12050 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12051
12052         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12053         the istringstream constructor
12054
12055 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12056
12057         * paragraph.C (getLayout): fix return value
12058
12059         * paragraph.h: do not declare getLayout as inline.
12060
12061         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12062
12063 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12064
12065         * lyxcursor.h (operator<): new func
12066         (operator>): new func
12067         (operator>=): new func
12068         (operator<=): new func
12069
12070         * text.C (changeCase): use selection.start and selection.end
12071         (changeRegionCase): require from to be <= to. Require par to be a
12072         valid paragraph.
12073
12074         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12075
12076 2001-06-27  Juergen Vigna  <jug@sad.it>
12077
12078         * text.C (cursorLeftOneWord): changed to return the cursor and added
12079         overlay with BufferView * parameter which calls this one.
12080         (getWord): added
12081         (selectWord): use new getWord function.
12082         (changeCase): renamed from changeWordCase as and extended to work
12083         also on selections.
12084
12085         * lyxtext.h: added enum word_location
12086
12087         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12088         changeCase as this operates now also on selections.
12089
12090 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12091
12092         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12093
12094         * many files: send debug output to Debug::INFO instead of
12095         Debug::ANY.
12096
12097         * converter.C (View):
12098         (Convert):
12099         (Move): send debug output to Debug::FILES instead of console.
12100
12101 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12102
12103         * lyxfunc.C (getStatus): use func_status
12104
12105         * func_status.h: new header, describing the results of
12106         LyXFunc::getStatus;
12107
12108         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12109         LFUN_MATH_HALIGN.
12110
12111 2001-06-25  The LyX Project  <jug@sad.it>
12112
12113         * buffer.C (sgmlOpenTag):
12114         (sgmlCloseTag):
12115         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12116
12117 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12118
12119         * text2.C: remove some dead code
12120
12121         * tabular.C (GetCellInset): store the last cell checked (gotten)
12122
12123         * tabular.h: add the helper for the speedup
12124
12125         * lyxtext.h: remove some dead code
12126
12127 2001-06-26  The LyX Project  <Asger>
12128
12129         * paragraph.C: Change export to LaTeX of alignment to
12130         \begin{center} and family for better roundtrip work with reLyX.
12131
12132         * Tune the math drawing a bit.
12133
12134 2001-06-25  The LyX Project  <Asger>
12135
12136         * LColor.C (LColor): New color for math background. New color
12137         for buttons.
12138
12139 2001-06-25  The LyX Project  <jug@sad.it>
12140
12141         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12142
12143         * lyxfunc.C (Open):
12144         * bufferlist.C (newFile): do not restrict to files ending with
12145         .lyx
12146
12147         * BufferView_pimpl.C (MenuInsertLyXFile):
12148
12149 2001-06-24  The LyX Project  <jug@sad.it>
12150
12151         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12152         of compare_no_case
12153
12154 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12155
12156         * lyxtext.h: rename most methods to begin with a small char.
12157         Lots of changes because of this.
12158
12159         * paragraph.C (Paragraph): do not call fitToSize
12160         (erase): call Pimpl::erase
12161         (insertChar): call Pimpl::insertChar
12162         (insertInset): call Pipl::insertInset
12163         (breakParagraph): do not call fitToSize
12164         (breakParagraphConservative): do not call fitToSize
12165         (fitToSize): remove method
12166
12167         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12168
12169 2001-06-24  The LyX Project  <Asger>
12170
12171         * Fix Qt compilation^2
12172
12173 2001-06-24  The LyX Project  <jug@sad.it>
12174
12175         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12176         depthHook(getDepth()-1).
12177
12178         * paragraph.h:
12179         * ParagraphParameters.h:
12180         * ParameterStruct.h: change type of depth to unsigned int ==
12181         depth_type. Many adaptations to other files before of that.
12182
12183 2001-06-24  The LyX Project  <Asger>
12184
12185         * Fix Qt compilation.
12186
12187 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12188
12189         * paragraph.h: renamed several methods to begin with small letter.
12190         several changes to many parts of the code because of this.
12191
12192 2001-06-23  The LyX Project  <jug@sad.it>
12193
12194         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12195         rewritten to discard all double spaces when KeepEmpty is off
12196         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12197         to only handle newlines but not fiddle with spaces and friends.
12198
12199         * lyxfunc.C (MenuNew): when doing 'new from template', use
12200         template_path as default directory
12201
12202 2001-06-23  The LyX Project  <Asger>
12203
12204         * Clean-up of header file includes all over
12205         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12206
12207 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12208
12209         * paragraph.h: renamed from lyxparagraph.h
12210
12211 2001-06-23  Asger  <lyx@violet.home.sad.it>
12212
12213         * Buffer.h: Removed Buffer::resize
12214         * BufferList.h: Removed BufferList::resize
12215         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12216         the document lazily when we change the width, or the font settings.
12217
12218 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12219
12220         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12221
12222 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12223
12224         * buffer.h: remove out of date comment
12225
12226 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12227
12228         * lyxscreen.h:
12229         * screen.C: fix "theoretical" GC leak
12230
12231 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12232
12233         * LaTeX.C (scanAuxFile):
12234         (deplog): remove trailing \r when reading stream (useful under
12235         win32)
12236
12237 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12238
12239         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12240         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12241         and BufferView::theLockingInset(Inset*), so should use them and not
12242         access bv_->text->the_locking_inset directly.
12243
12244         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12245
12246 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12247
12248         * Makefile.am:
12249         * tex-defs.h: remove old unused file
12250
12251 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12252
12253         * BufferView_pimpl.C: fix typo, remove minibuffer message
12254           when buffer has loaded
12255
12256 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12257
12258         * lyxfunc.C (Dispatch): use stringstream
12259         (MenuNew): use stringstream
12260         (Open): use stringstream
12261
12262         * importer.C (Import): use stringstream
12263
12264         * bufferview_funcs.C (CurrentState): use stringstream
12265
12266         * LaTeX.C (run): use stringstream
12267
12268         * BufferView_pimpl.C (savePosition): use stringstream
12269         (restorePosition): use stringstream
12270         (MenuInsertLyXFile): use stringstream
12271
12272 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12273
12274         * BufferView.C:
12275         * Bullet.C:
12276         * ColorHandler.C:
12277         * FontInfo.C:
12278         * FontLoader.C:
12279         * LColor.C:
12280         * LaTeXFeatures.C:
12281         * Painter.C:
12282         * gettext.C:
12283         * lyx_gui_misc.C:
12284         * lyxserver.C:
12285         * vspace.C: removed // -*- C++ -*- as first line.
12286
12287         * lyxfind.h:
12288         * version.h: added // -*- C++ -*- as first line.
12289
12290 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12291
12292         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12293
12294         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12295         of string
12296
12297 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12298
12299         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12300         of floats.
12301
12302 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12303
12304         * gettext.C: include LString.h even when --disable-nls is on.
12305
12306 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12307
12308         * converter.h (Get): changed argument type from int to
12309         FormatList::size_type to avoid unnecessary conversion.
12310
12311         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12312         before using it.
12313
12314 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12315
12316         * gettext.h: include LString.h even when --disable-nls is on.
12317
12318 2001-06-07  Juergen Vigna  <jug@sad.it>
12319
12320         * text.C (BreakAgain): subst spaces with tabs.
12321
12322         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12323         (resizeInsetsLyXText): set force on resizeLyXText.
12324
12325 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12326
12327         * gettext.h (gettext_init):
12328         (locale_init): use a real definition instead of a macro
12329
12330 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12331
12332         * Bufferview_pimpl.C:
12333         * LColor.h:
12334         * LColor.C: further lcolor tidies
12335
12336 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12337
12338         * BufferView_pimpl.C (updateScrollbar): simplify.
12339
12340         * BufferView2.C: don't include insets/insetinfo.h, change
12341         prototype for insertInset and call the Pimpl version. let
12342         updateInset call Pimpl version.
12343
12344         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12345         gotoInset to BufferView::Pimpl
12346
12347 2001-06-01  Juergen Vigna  <jug@sad.it>
12348
12349         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12350         inside a LockingInset (is the update needed at all?).
12351
12352 2001-05-31  Juergen Vigna  <jug@sad.it>
12353
12354         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12355         here not the old one otherwise how should we compare it afterwards
12356         if it's the same!
12357
12358 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12359
12360         * lyxfont.C:
12361         * tabular.C:
12362         * tabular-old.C:
12363         * FontInfo.C: bring C functions into global namespace when
12364         necessary
12365
12366 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12367
12368         * LString.h: make sure config.h has been loaded before LString.h.
12369
12370         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12371         (one for each char read by EatLine!).
12372
12373         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12374         variables.
12375
12376 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12377
12378         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12379         to the same as the par we break from
12380
12381 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12382
12383         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12384
12385         * MenuBackend.C (expand): also create menu entries for wide
12386         versions of the floats.
12387
12388         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12389
12390         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12391
12392         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12393         frontends/Makefile.am
12394
12395         * text2.C: adjust
12396         * text.C: adjust
12397
12398
12399         * tabular.C (getTokenValue): add std::
12400
12401         * tabular-old.C (getTokenValue): add std::
12402         (getTokenValue): ditto
12403         (getTokenValue): ditto
12404
12405         * screen.C (ToggleSelection): adjust
12406
12407         * lyxtext.h: put selection cursors inside a Selection struct.
12408
12409         * lyxfunc.C (moveCursorUpdate): adjust
12410
12411         * lyxfont.C (latexWriteStartChanges): add std::
12412
12413         * lyxfind.C: adjust
12414
12415         * font.h: delete with(char const *, LyXFont const &)
12416
12417         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12418
12419         * FontInfo.C (getFontname): add std::
12420
12421         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12422         (workAreaButtonPress): adjust
12423         (tripleClick): adjust
12424         (update): adjust
12425         (moveCursorUpdate): adjust
12426         (Dispatch): adjust
12427
12428         * BufferView2.C (gotoInset): adjust
12429
12430 2001-05-30  Juergen Vigna  <jug@sad.it>
12431
12432         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12433         to check pspell I add this as default as I now have new pspell
12434         libraries and they seem to use this.
12435
12436 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12437
12438         * text2.C (CutSelection): make the cursor valid before the call to
12439         ClearSelection.
12440
12441 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12442
12443         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12444         relied on 0 terminated strings and other horrors. Bug found due to
12445         the new assert in lyxstring!
12446
12447         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12448         KP_ keys.
12449
12450 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12451
12452         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12453         to latinkeys.bind.
12454
12455         * lyxfunc.C (processKeySym): change method of getting to the
12456         self-insert char.
12457
12458         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12459         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12460         * BufferView_pimpl.[Ch]: here as private methods.
12461
12462 2001-05-28  Juergen Vigna  <jug@sad.it>
12463
12464         * text.C (SetHeightOfRow): added the update() call again as it is
12465         needed to initialize inset dimensions!
12466
12467 2001-05-16  Juergen Vigna  <jug@sad.it>
12468
12469         * text2.C (SetCharFont): Add new function with BufferView * and
12470         bool toggleall parameters for setting insets internal fonts.
12471         (SetFont): Freeze the undo as we may change fonts in Insets and
12472         all this change should be inside only one Undo!
12473
12474         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12475         setting font's in insets as for them we have the SetFont function!
12476
12477 2001-05-15  Juergen Vigna  <jug@sad.it>
12478
12479         * text2.C (ClearSelection): to be sure we REALLY don't have any
12480         selection anymore!
12481
12482         * tabular.C (TeXCellPreamble): fixed the left border problem for
12483         multicolumn cells.
12484
12485 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12486
12487         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12488         dependancy file
12489
12490 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12491
12492         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12493         LFUN_BREAKPARAGRAPH.
12494
12495         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12496         help test to "internal only", similar for LFUN_INSERT_URL
12497
12498         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12499         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12500         auto_region_delete and deadkeys.
12501
12502 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12503
12504         * LColor.h:
12505         * LColor.C: remove some dead entries, tidy a little
12506
12507 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12508
12509         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12510         commented code.
12511         (Dispatch): implement LFUN_ESCAPE
12512
12513         * commandtags.h: add LFUN_ESCAPE
12514
12515         * LyXAction.C (init): add entry for LFUN_ESCAPE
12516
12517         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12518         Remove commented code.
12519         (insertNote): moved here
12520         (open_new_inset): moved here
12521
12522         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12523         BufferView_pimpl
12524
12525 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12526
12527         * kbmap.C (findbinding): clean it up and make it work correctly.
12528
12529         * lyx_main.C (init): do not pass argc and argv as parameters
12530
12531 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12532
12533         * buffer.C: fix path for OS/2 & Win32
12534
12535         * lyx_gui.C:
12536         * lyx_main:
12537         * lyx_main.C: Added os:: class.
12538
12539         * os2_defines.h: update
12540
12541 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12542
12543         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12544         better by trying again with reduced state.
12545
12546 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12547
12548         * lyxrc.C (read): print error about invalid key sequence only when
12549         debugging (because not all latinX keysyms are known to some X
12550         servers)
12551
12552         * kbsequence.C (getiso): add a few std:: qualifiers
12553         (getiso): comment out extra return statement.
12554
12555 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12556
12557         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12558         handling.
12559         (Dispatch): enhance the accent inset a bit. (not perfect)
12560
12561 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12562
12563         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12564
12565 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12566
12567         * bufferlist.C (emergencyWrite): fix assert() call
12568
12569 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12570
12571         * text.C (InsertChar): Added trivial patch to only send the "you
12572         can not do multiple spaces this way" message once during a
12573         session.
12574
12575 2001-05-08  Baruch Even  <baruch@lyx.org>
12576
12577         * Makefile.am: Changed order of libraries to get LyX to link properly
12578         with the gnome frontend.
12579
12580 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12581
12582         * LaTeXFeatures.h: add a std:: qualifier
12583
12584 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12585
12586         * paragraph.C (String): use stringstream
12587
12588 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12589
12590         * paragraph.C (writeFile): remove footflag arg
12591
12592         * buffer.C (makeLaTeXFile): use stringstream
12593         (latexParagraphs): remove footnot gurba
12594
12595         * LaTeXFeatures.C (getPackages): use stringstream
12596         (getMacros): likewise
12597         (getTClassPreamble): likewise
12598         (getFloatDefinitions): new method
12599
12600         * paragraph.C (writeFile): reindent
12601         (Erase): reindent
12602
12603         * WorkArea.h: revert the xpos + etc changes.
12604
12605         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12606
12607         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12608
12609         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12610         (pasteSelection): likewise
12611         * text2.C (CreateUndo): likewise
12612
12613 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12614
12615         * minibuffer.C (peek_event): temporarily reduce the functionality
12616         of the minibuffer (to allow args on lfuns)
12617
12618         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12619         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12620
12621         * buffer.C (readInset): add compability reading of old float
12622         lists, add reading of new style float list.
12623         (readInset): avoid reevaluation of inscmd.getCmdName()
12624         (getLists): reindent
12625
12626         * MenuBackend.C (MenuItem): implement parsing of
12627         md_floatlistinsert and md_floatinsert.
12628         (expand::LastFiles): move initalizaton of iterators out of loop,
12629         avoid reevaluation.
12630         (expand::Documents): introduce typdedef vector<string> Strings,
12631         and use it.
12632         (expand::ExportFormats): introduce typedef vector<Format const *>
12633         Formats, and use it.
12634         (expand): implement FloatListInsert and FloatInsert.
12635
12636         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12637         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12638         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12639
12640         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12641         handling.
12642         (Dispatch::LFUN_FLOAT_LIST): implement
12643
12644 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12645
12646         * LaTeX.C (run): Fix problem with --export code.
12647
12648 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12649
12650         * BufferView.[Ch] (workarea): removed.
12651         (getClipboard) new method; wrapper for workarea()->getClipboard()
12652
12653         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12654         bug.
12655
12656         * WorkArea.h (width, height, xpos, ypos): These methods all
12657         returned the dimensions of the work_area sub-area of WorkArea,
12658         resulting in a position error if the WorkArea were resized. Now
12659         return the dimensions of the entire WorkArea.
12660
12661         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12662
12663 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12664
12665         * LaTeX.C (deplog): correct the syntax of regex reg1
12666
12667 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12668
12669         * undo.C: remove !NEW_INSETS cruft
12670
12671 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12672
12673         * text2.C: remove !NEW_INSETS cruft
12674
12675         * text.C: remove !NEW_INSETS cruft
12676
12677         * tabular.C: remove !NEW_INSETS cruft
12678
12679         * spellchecker.C: remove !NEW_INSETS cruft
12680
12681         * lyxtext.h: remove !NEW_INSETS cruft
12682
12683         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12684
12685         * lyxfunc.C: remove !NEW_INSETS cruft
12686
12687         * lyxfind.C: remove !NEW_INSETS cruft
12688
12689         * lyx_cb.C: remove !NEW_INSETS cruft
12690
12691         * figureForm.C: remove  !NEW_INSETS cruft
12692
12693         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12694
12695         * buffer.[Ch]: remove !NEW_INSETS cruft
12696
12697         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12698
12699         * CutAndPaste.C: remove !NEW_INSETS cruft
12700
12701         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12702
12703         * BufferView2.C: remove !NEW_INSETS cruft
12704
12705         * BufferView.h: remove !NEW_INSETS cruft
12706
12707 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12708
12709         * Lsstream.h: include LString.h before the sstream headers to
12710         fix problem with gcc 2.95.3 and lyxstring
12711
12712 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12713
12714         * lyx_main.C: add using directives when needed for C functions
12715         declared in std:: namespace.
12716
12717 2001-04-27  Juergen Vigna  <jug@sad.it>
12718
12719         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12720         (SetHeightOfRow): comment out the update call should not be needed!
12721
12722 2001-04-13  Juergen Vigna  <jug@sad.it>
12723
12724         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12725         (LyXTabular): tried to minimize operator= operations (and realized
12726         hopfully Lars wish).
12727
12728 2001-04-27  Juergen Vigna  <jug@sad.it>
12729
12730         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12731
12732 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12733
12734         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12735
12736         * buffer.C (readInset): hack to make listof algorithm work
12737
12738         * BufferView_pimpl.C: hack to make listof algorithm work
12739
12740 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12741
12742         * LyXAction.C: removed all !NEW_INSETS cruft
12743         (init): moved lfun_item in method
12744
12745         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12746
12747 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12748
12749         * BufferView2.C (theLockingInset): white space.
12750
12751 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12752
12753         * minibuffer.C: include <iostream>
12754
12755         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12756
12757         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12758
12759         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12760
12761         * text.[Ch] (TransposeChars): new method
12762
12763 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12764
12765         * call message directly through LyXView instead of through LyXFunc
12766         * BufferView2.C: adjust
12767         * BufferView_pimpl.C: adjust
12768         * FontLoader.C: adjust
12769         * buffer.C: adjust
12770         * bufferview_funcs.C: adjust
12771         * converter.C: adjust
12772         * figureForm.C: adjust
12773         * importer.C: adjust
12774         * lyx_cb.C: adjust
12775         * lyx_gui_misc.C: adjust
12776         * lyxfunc.C: adjust
12777         * lyxvc.C: adjust
12778         * text2.C: adjust
12779         + more files in subdirs
12780
12781         * lyxparagraph.h (size): move up int file
12782         (GetLayout): ditto
12783
12784         * adjust all uses of Assert to lyx::Assert.
12785
12786         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12787         lyxfunctional in namespace lyx
12788         * layout.C (hasLayout): ditto
12789         (GetLayout): ditto
12790         (GetLayout): ditto
12791         (delete_layout): ditto
12792         (NumberOfClass): ditto
12793         * converter.C (GetFormat): ditto
12794         (GetNumber): ditto
12795         (Add): ditto
12796         (Delete): ditto
12797         (SetViewer): ditto
12798         * bufferlist.C (getFileNames): ditto
12799         (emergencyWriteAll): ditto
12800         (exists): ditto
12801         (getBuffer): ditto
12802         * MenuBackend.C (hasSubmenu): ditto
12803         (hasMenu): ditto
12804         (getMenu): ditto
12805         * BufferView_pimpl.C (getInsetByCode): ditto
12806
12807 2001-04-18  Juergen Vigna  <jug@sad.it>
12808
12809         * vspace.C (asLatexString): fixed the 100% problem.
12810
12811 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12812
12813         * lyxfunc.C (Dispatch):
12814         * minibuffer.C:
12815         * minibuffer.h: add a few std:: qualifiers
12816
12817 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12818
12819         * minibuffer.[Ch]: reimplement so that commands is initiated and
12820         run from lyxfunc, simplified som handling, and made the completion
12821         and history code for complete. wip.
12822
12823         * lyxfunc.C (processKeySym): call message
12824         (miniDispatch): new temporary method
12825         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12826         (LFUN_MESSAGE): implement
12827         (LFUN_MESSAGE_PUSH): implement
12828         (LFUN_MESSAGE_POP): implement
12829         (initMiniBuffer): the initial/defualt minibuffer message.
12830
12831         * lyxfont.[Ch]: inline some more getters
12832
12833         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12834
12835         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12836
12837         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12838         (AutoSave): use LFUN_MESSAGE
12839         (Reconfigure): ditto
12840
12841         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12842
12843         * figureForm.C: use LFUN_MESSAGE
12844
12845         * converter.C (runLaTeX): use LFUN_MESSAGE
12846
12847         * bufferview_funcs.C: use LFUN_MESSAGE
12848         (Melt): ditto
12849         (changeDepth): ditto
12850
12851         * bufferparams.h: use boost::
12852
12853         * bufferlist.h: inherit privately from noncopyable
12854
12855         * bufferlist.C (loadLyXFile): remove some commented code.
12856
12857         * buffer.C (runChktex): use LFUN_MESSAGE
12858
12859         * ShareContainer.h: inherit privately from noncopyable
12860
12861         * ParagraphParameters.[hC] (depth): inline it.
12862
12863         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12864         methods.
12865         (message): new method
12866         (messagePush): ditto
12867         (messagePop): ditto
12868         (show): init minibuffer
12869         (showState): direct call
12870
12871         * LaTeX.[Ch]: inherit privately from noncopyable
12872         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12873         instead of WriteStatus.
12874
12875         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12876
12877         * BufferView_pimpl.C (buffer): don't init minibuffer
12878         (workAreaButtonPress): use LFUN_MESSAGE
12879         (workAreaButtonRelease): ditto
12880         (savePosition): ditto
12881         (restorePosition): ditto
12882         (MenuInsertLyXFile): ditto
12883         (workAreaExpose): don't init minibuffer
12884         (update): remove commented code, simplify
12885
12886         * BufferView2.C (openStuff): use LFUN_MESSAGE
12887         (toggleFloat): ditto
12888         (menuUndo): ditto
12889         (menuRedo): ditto
12890         (copyEnvironment): ditto
12891         (pasteEnvironment): ditto
12892         (copy): ditto
12893         (cut): ditto
12894         (paste): ditto
12895         (gotoInset): ditto
12896         (updateInset): remove some commented code
12897
12898         * lastfiles.h: inherit privately from noncopyable
12899         * layout.h: ditto
12900         * lyx_gui.h: ditto
12901         * lyx_main.h: ditto
12902         * lyxlex.h: ditto
12903         * lyxlex_pimpl.h: ditto
12904
12905         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12906         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12907         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12908
12909         * LyXAction.h: inherit privately from noncopyable, add methods
12910         func_begin, func_end, returning iterators to the func map.
12911
12912         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12913         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12914         (func_begin): new method
12915         (func_end): new method
12916
12917         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12918         and not)
12919         (copySelection): ditto
12920         (pasteSelection): ditto
12921
12922         * BufferView.C: whitespace change
12923         * BufferView.h: inherit privately from noncopyable
12924
12925 2001-04-16  Allan Rae  <rae@lyx.org>
12926
12927         * tabular-old.C (l_getline):
12928         * spellchecker.C (sc_check_word):
12929         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12930         an unrecognised preprocessor directive.  So ensure they're wrapped.
12931
12932 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12933
12934         * src/exporter.C (Export): Give an error message when path to file
12935         contains spaces.
12936
12937 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12938
12939         * LaTeX.C (deplog): Always check that foundfile exists.
12940
12941 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12942
12943         * lyx_main.h:
12944         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12945
12946 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12947
12948         * tabular.[Ch] (getLabelList): implement new method
12949
12950         * minibuffer.h: comment ouf setTiimer
12951
12952         * minibuffer.C (ExecutingCB): constify res
12953         (peek_event): constify s
12954         (Set): constify ntext
12955         (Init): constify nicename
12956
12957         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12958
12959         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12960         (savePosition): use two params to Minibuffer::Set
12961         (restorePosition): ditto
12962
12963 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12964
12965         * lyx_main.C: include language.h
12966
12967         * Makefile.am (lyx_main.o): add language.h
12968
12969 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12970
12971         * exporter.C:
12972         * paragraph.C:
12973         * screen.C:
12974         * tabular.C:
12975         * CutAndPaste.C: include gettext.h
12976
12977         * lyxfont.h: remove old hack with ON and OFF.
12978
12979         * lyxparagraph.h:
12980         * lyxfont.h: do not include language.h...
12981
12982         * BufferView2.C:
12983         * LaTeXFeatures.C:
12984         * Painter.C:
12985         * bufferview_funcs.C:
12986         * font.C:
12987         * lyxfont.C:
12988         * text.C:
12989         * text2.C:
12990         * trans_mgr.C:
12991         * paragraph.C: ... but do it here instead
12992
12993 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12994
12995         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12996
12997         * tabular.C: small reformat
12998
12999         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13000         NEW_INSETS version
13001         (GetChar): ditto
13002         (BreakParagraph): ditto
13003         (SetOnlyLayout): ditto
13004         (SetLayout): ditto
13005
13006         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13007         with one arg less.
13008
13009         * lastfiles.C: removed most using decl, add std:: where needed
13010
13011         * buffer.C: ws changes
13012
13013         * MenuBackend.C (class compare_format): put into anon namespace
13014         (expand): constify label, names, action, action2
13015         (expand):
13016
13017         * text.C (SingleWidth): constify font
13018         (IsBoundary): constify rtl2
13019         (GetVisibleRow): constify ww
13020
13021         * LaTeX.C (deplog): constify logfile
13022
13023         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13024         start_x, end_x
13025         (workAreaExpose): constify widthChange, heightChange
13026
13027         * lyxrow.C (par): moved
13028         (height): moved
13029         (next): moved
13030         * lyxrow.h: as inlines here
13031
13032         * lyxfont.h (shape): moved from lyxfont.C
13033         (emph): moved from lyxfont.C
13034
13035         * lyxfont.C (LyXFont): use initialization list for all
13036         constructors
13037         (shape): move to lyxfont.h as inline
13038         (emph): move to lyxfont.h as inline
13039
13040
13041 2001-04-04  Juergen Vigna  <jug@sad.it>
13042
13043         * vspace.C: had to include stdio.h for use of sscanf
13044
13045 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13046
13047         * BufferView.h:
13048         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13049         independent of xforms.
13050
13051 2001-04-02  Juergen Vigna  <jug@sad.it>
13052
13053         * spellchecker.C: fixed namespace placing!
13054
13055 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13056
13057         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13058         the LyXParagraph * is 0.
13059
13060 2001-03-29  Juergen Vigna  <jug@sad.it>
13061
13062         * vspace.C: added support for %, c%, p%, l%.
13063         (stringFromUnit): added helper function.
13064         (asLatexString): changed to give right results for the %-values.
13065
13066         * buffer.C: convert the widthp in a width%.
13067
13068 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13069
13070         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13071         figureForm.[Ch].
13072
13073         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13074         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13075
13076         * lyx_cb.[Ch]: see above.
13077
13078         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13079         form1.[Ch].
13080
13081         * form1.[Ch]:
13082         * lyx.[Ch]: replaced by figure_form.[Ch].
13083
13084         * lyx_gui.C:
13085         * lyx_gui_misc.C:
13086         * lyxfunc.C: changed headers associated with above changes.
13087
13088 2001-03-27  Juergen Vigna  <jug@sad.it>
13089
13090         * BufferView_pimpl.C: set the temporary cursor right!
13091
13092 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13093
13094         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13095
13096 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13097
13098         * LString.h: removed "using std::getline"!
13099
13100         * BufferView_pimpl.C (Dispatch): changes due to changes in
13101         InsetInclude::Params.
13102
13103         * buffer.C (tag_name): removed redundant break statements as they were
13104         producing lots of warnings with my compiler.
13105
13106 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13107
13108         * LString.h: add "using std::getline" when using the real <string>.
13109
13110 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13111
13112         * buffer.C: removed bitset usage.
13113         PAR_TAG moved to an anonymous name space.
13114         (tag_name): new funtion, also in the anonymous namespace.
13115         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13116         (makeDocBookFile): clean code. Completed transition from string arrays
13117         to string vectors.
13118         (SimpleDocBookOnePar): code clean.
13119
13120 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13121
13122         * tabular.C: add some comments.
13123
13124 2001-03-22  Juergen Vigna  <jug@sad.it>
13125
13126         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13127         compatibility read a bit and fixed bug with minipage in different
13128         depth.
13129
13130 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13131
13132         * buffer.C (pop_tag): removed.
13133         (push_tag): removed.
13134         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13135         array replaced with vector. Added support for CDATA sections.
13136         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13137         at any nest level.
13138         (makeDocBookFile): XML conformant declaration of CDATA section,
13139         fixed bug related to <emphasis> in the first paragraph char.
13140         (sgmlOpenTag): exclude empty tags.
13141         (sgmlCloseTag): ditto.
13142
13143         * buffer.h (pop_tag): removed.
13144         (push_tag): removed.
13145
13146 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13147
13148         * language.h (Languages): added size_type and size().
13149
13150 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13151
13152         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13153         response on compability reading of minipages. One probliem is that
13154         the old usage of minipages was «flertydig»
13155
13156         * several files here and in subdirs: don't use static at file
13157         scope use anon namespaces instead.
13158
13159 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13160
13161         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13162         LaTeX output. This is necessary for Literate document
13163         processing.
13164
13165 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13166
13167         * buffer.C: insert hfill when needed.
13168
13169         * tabular.C (l_getline): use string::erase, small whitespace change.
13170
13171         * BufferView_pimpl.C: try the anon namespace.
13172         * WorkArea.C: ditto
13173
13174 2001-03-16  Juergen Vigna  <jug@sad.it>
13175
13176         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13177         otherwise it won't open options-dialogs.
13178
13179         * buffer.C: honor pextraWidth(p) on converting minipages.
13180
13181         * tabular.C (l_getline): changed the functions to strip trailing \r.
13182
13183 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13184
13185         * BufferView_pimpl.C:
13186         * minibuffer..C: added "using SigC::slot" declaration.
13187
13188 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13189
13190         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13191
13192         * text2.C: ditto
13193
13194         * text.C: ditto
13195
13196         * paragraph.C: ditto
13197
13198         * lyxtext.h: NO_PEXTRA
13199
13200         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13201
13202         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13203         * ParameterStruct.h: ditto
13204         * ParagraphParameters.h: ditto
13205         * lyxparagraph.h: ditto
13206
13207 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13208
13209         * buffer.C: add compability for minipage alignment.
13210         (latexParagraphs): remove unwanted pextra check.
13211
13212         * several files: remove CXX_WORKING_NAMESPACES
13213
13214         * buffer.C (pop_tag): tie is in namespace boost
13215
13216         * BufferView.h: noncopyable is in namespace boost
13217         * lyxlex.h: ditto
13218         * lyx_main.h: ditto
13219         * lyx_gui.h: ditto
13220         * layout.h: ditto
13221         * lastfiles.h: ditto
13222         * bufferlist.h: ditto
13223         * ShareContainer.h: ditto
13224         * LyXView.h: ditto
13225         * LyXAction.h: ditto
13226         * LaTeX.h: ditto
13227
13228 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13229
13230         * Merging changes from BRANCH_MVC back into HEAD.
13231
13232         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13233
13234 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13235
13236         * BufferView_pimpl.C: change from intl.C
13237
13238         * combox.h:
13239         * combox.C:
13240         * Makefile.am: move combox.*
13241
13242         * form1.h:
13243         * form1.C:
13244         * lyx_gui.C:
13245         * intl.h:
13246         * intl.C: remove dialog (covered by prefs)
13247
13248 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13249
13250         * lyxfunc.C (Dispatch): removed redundant break statement.
13251
13252 2001-03-14  Juergen Vigna  <jug@sad.it>
13253
13254         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13255
13256 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13257
13258         * buffer.C: add hack to fix compability reading of minipages.
13259
13260 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13261
13262         * buffer.C (getLists): Cleanup.
13263
13264 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13265
13266         * lyxfont.C (update): don't honor toggleall on font size.
13267
13268 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13269
13270         * bmtable.c:
13271         * bmtable.h:
13272         * Makefile.am: moved to frontends/xforms/
13273
13274         * lyx_gui_misc.C:
13275         * lyxfunc.C:
13276         * BufferView_pimpl.C: changes for moved mathpanel
13277
13278 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13279
13280         * gettext.h: fix gettext_init() in --disable-nls
13281
13282 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13283
13284         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13285
13286 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13287
13288         * lyx.C:
13289         * lyx.h: strip external form
13290
13291 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13292
13293         * BufferView_pimpl.C: add comment, destroySplash()
13294
13295 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13296
13297         * BufferView_pimpl.C:
13298         * LyXAction.C:
13299         * buffer.C:
13300         * commandtags.h:
13301         * lyxfunc.C: use re-worked insetinclude
13302
13303 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13304
13305         * buffer.C: add using std::stringstream.
13306
13307         * lyx_cb.C: readd using std::ios.
13308
13309         * buffer.C: add using std::map.
13310
13311         * BufferView_pimpl.C: add using std::vector.
13312
13313         * ShareContainer.h: add std:: to swap.
13314
13315         * buffer.h: add some typedefs
13316         * buffer.C (getLists): use them
13317         (getLists): renamed from getTocList.
13318         add a counter for the different float types and use it in the
13319         generated string.
13320         (getLists): use the same counter for the NEW_INSETS and the "non"
13321         NEW_INSETS
13322
13323         * lyx_cb.h: remove unused items, includes, using etc.
13324
13325         * ShareContainer.h: remove some commented code, add more comments
13326         and "documentation".
13327
13328 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13329
13330         * buffer.C (getTocList): make the list also when NEW_INSETS is
13331         defined.
13332
13333         * buffer.h: remove TocType
13334
13335         * buffer.C (getTocList): change to return a map<string,
13336         vector<TocItem> >, implement for dynamic number of list.
13337
13338         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13339         * text2.C (PasteSelection): adjust
13340         * CutAndPaste.C (pasteSelection): adjust
13341
13342         * FloatList.C (FloatList): update from the new_insets branch.
13343         * Floating.[Ch]: ditto
13344         * LaTeXFeatures.C: ditto
13345         * buffer.C: ditto
13346         * lyxlex_pimpl.C: ditto
13347
13348         * paragraph.C (Last): remove when NEW_INSETS is defined.
13349
13350         * other file: changes because of the above.
13351
13352 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13353
13354         * lyxparagraph.h: rename next to next_, previous to previous_,
13355         make them private for NEW_INSETS. Rename Next() to next(),
13356         Previous() to previous().
13357
13358         * other files: changes because of the above.
13359
13360 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13361
13362         * BufferView.h:
13363         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13364         problem.
13365
13366 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13367
13368         * main.C (main): pass lyx_localedir to gettext_init().
13369
13370         * gettext.h: remove locale_init and gettext_init macros
13371
13372         * gettext.C (locale_init): new function
13373         (gettext_init): new function
13374
13375         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13376         setlocale().
13377
13378 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13379
13380         * Moved credits to frontends:
13381         * credits.[Ch]: removed
13382         * credits_form.[Ch]: removed
13383         * lyx_gui_misc.C: remove credits stuff
13384         * Makefile.am:
13385
13386 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13387
13388         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13389
13390         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13391         unneeded destructor.
13392
13393         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13394         a standalone pointer again.
13395
13396         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13397
13398 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13399
13400         * Makefile.am:
13401         * filedlg.h:
13402         * filedlg.C:
13403         * LyXAction.C:
13404         * ToolbarDefaults.C:
13405         * bufferlist.C:
13406         * commandtags.h:
13407         * form1.C:
13408         * form1.h:
13409         * lyx_cb.C:
13410         * lyx_cb.h:
13411         * lyxfunc.h:
13412         * lyxfunc.C:
13413         * BufferView_pimpl.C: use new file dialog in GUII
13414
13415         * lyx_cb.h:
13416         * lyx_cb.C: remove LayoutsCB to Toolbar
13417
13418 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13419
13420         * ShareContainer.h (get): add std:: qualifier
13421
13422 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13423
13424         * ShareContainer.h: define a proper ShareContainer::value_type
13425         type (and use typename to please compaq cxx)
13426
13427 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13428
13429         * lyxparagraph.h: move serveral local vars to
13430         ParameterStruct/ParagraphParameters., use ShareContainer in
13431         FontTable., make vars in FontTable private and add getter and
13432         setter.
13433
13434         * paragraph.C: changes because of the above.
13435
13436         * lyxfont.h: remove copy constructor and copy assignment. (the
13437         default ones is ok), move number inside FontBits. move inlines to
13438         lyxfont.C
13439
13440         * lyxfont.C: add number to initializaton of statics, move several
13441         inlines here. constify several local vars. some whitespace
13442         cleanup. Dont hide outerscope variables.
13443
13444         * Spacing.h: add two new constructors to match the set methods.
13445
13446         * ShareContainer.h: new file, will perhaps be moved to support
13447
13448         * ParameterStruct.h: new file
13449
13450         * ParagraphParameters.h: new file
13451
13452         * ParagraphParameters.C: new file
13453
13454         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13455         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13456
13457         * BufferView_pimpl.C: ParagraphParameter changes.
13458         * buffer.C: Likewise.
13459         * bufferview_funcs.C: Likewise.
13460         * text.C: Likewise.
13461         * text2.C: Likewise.
13462
13463 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13464
13465         * lyxfind.C (LyXReplace): do not redefine default argument in
13466         implementation.
13467         (IsStringInText): ditto
13468         (SearchForward): ditto
13469         (SearchBackward): ditto
13470
13471 2001-03-06  Juergen Vigna  <jug@sad.it>
13472
13473         * lyxfind.C (IsStringInText): put parentes around expressions.
13474
13475 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13476
13477         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13478
13479 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13480
13481         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13482
13483         * stl_string_fwd.h: add comment
13484
13485         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13486
13487         * tabular.h:
13488         * tabular.C: remove unused DocBook methods
13489
13490         * intl.C:
13491         * language.C:
13492         * paragraph.C:
13493         * buffer.C:
13494         killed DO_USE_DEFAULT_LANGUAGE
13495
13496 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13497
13498         * lyx_gui.C: do not include language.h.
13499
13500         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13501         arguments in function implementation.
13502
13503 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13504
13505         * BufferView_pimpl.C: add <ctime>
13506
13507 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13508
13509         * BufferView_pimpl.C: add using std::find_if
13510
13511 2001-02-27  José Matos  <jamatos@fep.up.pt>
13512
13513         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13514         by OnlyPath.
13515
13516 2001-02-11  José Matos  <jamatos@fep.up.pt>
13517
13518         * buffer.C (makeDocBookFile): command styles now have a parameter as
13519         "title" by default.
13520
13521 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13522
13523         * layout_forms.[Ch]: removed
13524         * lyx_cb.[Ch]: out character
13525         * lyx_gui.C: out character
13526         * lyx_gui_misc.C: out character
13527         * bufferview_funcs.C: : out character,
13528         added toggleall as parameter in ToggleAndShow
13529
13530 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13531
13532         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13533
13534         * text2.C (SetCurrentFont): Disable number property at boundary.
13535
13536 2001-02-26  Juergen Vigna  <jug@sad.it>
13537
13538         * lyxfunc.C (getStatus): added a string argument override function so
13539         that this is correctly called from LyXFunc::Dispatch if it contains a
13540         do_not_use_argument which is used!
13541         (Dispatch): added check for "custom" export and call appropriate func.
13542
13543 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13544
13545         * lyxrc.C: Add language_command_local, language_use_babel and
13546         language_global_options.
13547
13548         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13549
13550         * buffer.C (makeLaTeXFile): Use language_use_babel and
13551         language_global_options.
13552
13553 2001-02-23  Juergen Vigna  <jug@sad.it>
13554
13555         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13556         which works with LyXText and putted it inside BufferView. Here now we
13557         only call for that part the BufferView::Dispatch() function.
13558
13559         * BufferView.C (Dispatch): added.
13560
13561         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13562         functions which needs to use a LyXText over from LyXFunc.
13563         (MenuInsertLyXFile): added
13564         (getInsetByCode): added
13565         (moveCursorUpdate): added
13566         (static TEXT): added
13567
13568 2001-02-22  Juergen Vigna  <jug@sad.it>
13569
13570         * BufferView_pimpl.C (update): call a status update to see if LyXText
13571         needs it.
13572
13573 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13574
13575         * vc-backend.C (revert): implement for CVS
13576         (getLog): implement for CVS
13577
13578 2001-02-20  Juergen Vigna  <jug@sad.it>
13579
13580         * text2.C (ClearSelection): added BufferView param for inset_owner call
13581
13582         * lyxfunc.C (TEXT): added this function and use it instead of
13583         directly owner->view()-text of getLyXText().
13584
13585 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13586
13587         * src/layout_forms.C: out preamble
13588         * src/layout_forms.h: out preamble
13589         * src/lyx_cb.C: out preamble
13590         * src/lyx_cb.h: out preamble
13591         * src/lyx_gui.C: out preamble
13592         * src/lyx_gui_misc.C: out preamble
13593         * src/lyxfunc.C: connect with guii preamble
13594
13595 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13596
13597         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13598
13599 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13600
13601         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13602         whether to run bibtex.
13603
13604 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13605
13606         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13607
13608 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13609
13610         * Makefile.am (lyx_SOURCES): removed bibforms.h
13611
13612         * vspace.h: doxygen
13613
13614         * text.C (GetVisibleRow): make several local vars const
13615
13616         * tabular.C: small cleanup.
13617
13618         * lyxserver.C (callback): use compare instead of strncmp
13619
13620         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13621         inlines to after class or to paragraph.C
13622
13623         * lyxfont.h: remove friend operator!=
13624
13625         * converter.h: move friend bool operator< to non friend and after
13626         class def.
13627
13628         * combox.h: small cleanup
13629
13630         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13631         to inlines after class def.
13632
13633         * buffer.C (pop_tag): use string operations instead of strcmp
13634
13635         * bmtable.c: doxygen, small cleanup
13636
13637         * LaTeX.h: remove friend operator==
13638
13639 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13640
13641         * screen.C:
13642         * lyxrc.[Ch]:
13643         * lyxfunc.C:
13644         * lyxfont.[Ch]:
13645         * lyx_cb.C:
13646         * intl.[Ch]:
13647         * commandtags.h:
13648         * buffer.C:
13649         * WorkArea.[Ch]:
13650         * LyXAction.C:
13651         * BufferView_pimpl.C:
13652         * BufferView.[Ch]: remove cruft
13653
13654 2001-02-14  Juergen Vigna  <jug@sad.it>
13655
13656         * lyxfunc.C: removed #if 0 unused code
13657
13658         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13659
13660         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13661
13662         * text2.C (SetSelection): added a BufferView * parameter
13663
13664 2001-02-13  Juergen Vigna  <jug@sad.it>
13665
13666         * lyxfunc.C (Dispatch): fixed protected blank problem.
13667         * BufferView2.C (protectedBlank): added LyxText * parameter.
13668
13669         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13670         (AppendColumn): same as above for column_info.
13671
13672         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13673         (moveCursorUpdate): use a LyXText param for support of InsetText.
13674
13675         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13676         (tripleClick): ditto
13677
13678         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13679
13680         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13681
13682         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13683
13684         * text2.C (SetSelection): set correct update status if inset_owner
13685         (ToggleFree): ditto
13686
13687 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13688
13689         * tabular.C: remove some commented code.
13690
13691 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13692
13693         * BufferView_pimpl.C: call hideSplash()
13694
13695         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13696
13697         * include_form.h:
13698         * bibforms.h: remove
13699
13700         * lyxfunc.C:
13701         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13702           add LFUN_CHILD_CREATE
13703
13704         * counters.h: fix tiny typo
13705
13706         * lyx_cb.C:
13707         * lyx.h:
13708         * lyx_gui.C:
13709         * lyx.C: move splash to frontends/xforms/
13710
13711         * lyx_gui_misc.C: move Include and Bibform to frontends
13712
13713         * lyxvc.h: clarify comment
13714
13715         * vspace.C: tiny housekeeping
13716
13717 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13718
13719         * text.C (PrepareToPrint): RTL Fix.
13720
13721         * paragraph.C (GetUChar): New method.
13722         (String):  Use GetUChar.
13723
13724         * buffer.C (asciiParagraph): Use GetUChar.
13725
13726 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13727
13728         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13729
13730 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13731
13732         * buffer.h:
13733         * buffer.C: rename to getLogName(), handle
13734           build log / latex log nicely
13735
13736 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13737
13738         * MenuBackend.C:
13739         * MenuBackend.h: remove support for reference menuitem type.
13740
13741 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13742
13743         * BufferView_pimpl.C: housekeeping
13744         * BufferView_pimpl.h:
13745         * LyXView.h:
13746         * Makefile.am:
13747         * Timeout.C:
13748         * Timeout.h:
13749         * minibuffer.h: move Timeout GUI-I
13750
13751 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13752
13753         * lyxrc.C (read): Update converters data-structures.
13754
13755 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13756
13757         * LaTeX.h (operator!=): add operator != for Aux_Info
13758
13759 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13760
13761         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13762
13763         * LaTeXLog.C: deleted, useful code moved to Buffer
13764
13765         * buffer.h:
13766         * buffer.C: new function getLatexLogName()
13767
13768         * lyx_gui_misc.C:
13769         * lyx_gui.C:
13770         * lyxvc.C:
13771         * lyxvc.h:
13772         * lyxfunc.C: use frontends for LaTeX and VC logs
13773
13774 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13775
13776         * LaTeX.h: yet another std:: that Allan forgot.
13777
13778         * Variables.C (set): renamed from isset(), because this clashes
13779         with some HP-UX macros (grr).
13780
13781 2001-02-06  Allan Rae  <rae@lyx.org>
13782
13783         * LaTeX.h: Another bug fix.  Missing std:: this time.
13784
13785 2001-02-04  Allan Rae  <rae@lyx.org>
13786
13787         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13788         floats problem. I've left it commented out because it's not quite
13789         correct.  It should also test that the current object is a table or
13790         figure inset.  But I haven't gotten around to figuring out how to do
13791         that.  I *think* it'll be something like: "table" == inset.type()
13792
13793         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13794         bool.
13795
13796 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13797
13798         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13799         all the citation/databases/styles in the auxilary file.
13800         (run): Rerun latex if there was a babel language error.
13801
13802 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13803
13804         * text.C (Backspace): Preserve the font when changing newline char
13805         with a space.
13806         (BreakParagraph): If the cursor is before a space, delete the space.
13807
13808         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13809
13810 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13811
13812         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13813         new argument (code).
13814         (ChangeCitationsIfUnique): New method.
13815
13816         * paragraph.C (GetPositionOfInset): Handle bibkey.
13817
13818 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13819
13820         * BufferView_pimpl.h: change type of Position::par_pos to
13821         LyXParagraph::size_type.
13822
13823 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13824
13825         * BufferView_pimpl.C (savePosition, restorePosition): Write
13826         messages to minibuffer.
13827
13828 2001-01-28  José Matos  <jamatos@fep.up.pt>
13829
13830         * buffer.C (makeDocBookFile): adds support for document language.
13831         A silly restriction on the name of LatexCommand types where removed.
13832         Added support for CDATA sections, allows to chars unescaped, used
13833         among others in code, to avoid escape < and >.
13834
13835 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13836
13837         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13838         saved positions instrad of a stack. Furthermore, a position is
13839         stored using paragraph id/paragraph position.
13840
13841         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13842         Remove LFUN_REF_BACK.
13843
13844 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13845
13846         * converter.C (dvipdfm_options): New method.
13847
13848 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13849
13850         * vspace.C (isValidLength): Fix for empty input string.
13851
13852 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13853
13854         * LyXAction.C (init): change description of LFUN_FIGURE to
13855         "Insert Graphics"
13856
13857 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13858
13859         * LaTeX.C: add using directive
13860
13861 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13862
13863         * MenuBackend.C (expand): Fix the sorting of the formats.
13864
13865 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13866
13867         * lyx_main.C: tiny error message fix
13868
13869 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13870
13871         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13872         calling fl_initialize(). This fixes the problem with ',' as
13873         decimal separator in text files.
13874
13875 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13876
13877         * trans.C (process): Fix the keymap bug.
13878
13879 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13880
13881         * LaTeX.C (scanAuxFiles): New method. Provides support for
13882         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13883         (scanLogFile) Scan for "run BibTeX" messages.
13884
13885         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13886         OT1 font encoding. Also, load the aecompl package if the ae
13887         package is loaded.
13888
13889         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13890
13891 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13892
13893         * texrow.C (increasePos): turn two error messages into debug
13894         messages.
13895
13896 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13897
13898         * LaTeX.C (scanAux): Handle the \@input macro.
13899         (runBibTeX): Use scanAux().
13900
13901         * language.C (latex_options_): New field.
13902
13903         * LaTeXFeatures.C (getMacros): Add language macros.
13904
13905         * buffer.C (makeLaTeXFile): Small fix.
13906
13907 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13908
13909         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13910
13911         * text2.C: add a using directive.
13912
13913 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13914
13915         * BufferView2.C:
13916         * lyx_gui_misc.h:
13917         * lyxfr1.C:
13918         * lyxfunc.C: kill LyXBell.
13919
13920 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13921
13922         * text.C (IsBoundary): Remove the error message
13923
13924         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13925
13926         * lyxrc.C (setDefaults): Correct initialization value for
13927         font_norm_type.
13928
13929 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13930
13931         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13932         gotoError().
13933
13934         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13935         and GotoNextNote().
13936
13937         * src/LyXAction.C: Added reference-next.
13938
13939         * text.C (InsertChar): Use contains instead of strchr.
13940
13941         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13942
13943 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13944
13945         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13946         alignment commands (when needed).
13947
13948         * text.C (InsertChar): Add ':' to number separator chars.