]> git.lyx.org Git - features.git/blob - src/ChangeLog
8e9465f0b427d3c118667dd97176a6c9acb8a53e
[features.git] / src / ChangeLog
1
2 2003-11-25  André Pönitz  <poenitz@gmx.net>
3
4         * InsetList.[Ch] (begein, end): inline as suggested by profiler
5
6         * lyxtext.h (leftMargin/rightMargin): simplify interface
7
8         * rowpainter.C:
9         * text.C:
10         * text2.C:
11         * text3.C: adjust
12
13 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
14
15         * lyxfunc.C (dispatch): propogate the bibtex databases from the
16         master file to any child files. Fixes bug 546.
17
18 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
19
20         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
21
22 2003-11-24  André Pönitz  <poenitz@gmx.net>
23
24         * rowpainter.C: simplification
25
26         * text2.C (updateCounters): remove call to redoParagraph on 
27         changed labels as this is far too expensive.
28
29 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
30
31         * converter.C (convert): fix a crash: this function gets
32         called with buffer == 0 from importer code.
33
34 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
35
36         * text3.C (cursorPrevious): make sure that we do not compare
37         iterators form different containers.
38         (cursorNext): ditto
39
40         * rowpainter.C (paintSelection): make sure that we do not compare
41         iterators from different containers.
42
43         * text3.C (dispatch): [PRIOR] make sure that we do not compare
44         iterators from different ParagraphList containers.
45         [NEXT] ditto
46
47         * text2.C (LyXText): change order of initialization slightly
48         (operator=): new function. copy all variables except cache_par_
49         (moveUp): make sure that we do not compare iterators from
50         different ParagraphList constainers.
51         (moveDown): ditto
52
53         * text.C (firstPar): new function
54         (lastPar): new function
55         (endPar): new function
56
57         * lyxtext.h: move things around and group public functions, public
58         variables, private functions, private variables
59
60 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
61
62         * factory.C: change call to InsetERT constructor to avoid
63         additional invocation of method status
64         * text2.C (toggleInset): remove redundant update() call
65         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
66         instead of a Bufferview pointer
67
68 2003-11-21  André Pönitz  <poenitz@gmx.net>
69
70         * rowpainter.C: simplification
71
72 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
73
74         * text3.C (dispatch): make possible to extend a word/row selection
75         with the mouse
76
77 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
78
79         * lyxtext.h: x0_,y0_ -> xo_,yo_
80         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
81         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
82         * rowpainter.C (paintRows): paint full paragraphs
83
84 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
85
86         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
87         screen coordinates)
88
89 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
90
91         * lyxtext.h: add x0_, y0_
92         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
93         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
94
95 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
96
97         * text2.C (setCursorIntern): move the x_target update here *
98         * text3.C: change some bv() to true/false in calls to
99         cursorUp/Down/Right/Left
100         * cursor.C: use helper function.
101
102 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
103
104         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
105         * paragraph_funcs.[Ch]: correct comment
106         * rowpainter.C: do not paint selections away from bv->cursor()
107         Fix a long standing selection painting bug.
108         * text3.C: generalize mouse-selection code to LyXTexts other that
109         top one
110         * textcursor.C: do not use y coords if we can use par offsets
111
112 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
113
114         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
115         cursor position after e.g. inset insert)
116
117 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
118
119         * lyxfind.C (replace): adjust to locking removal + some
120         code simplification
121
122 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
123
124         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
125         of the path
126
127 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
128
129         * lyxlayout.[Ch]:
130         * output_docbook.C: XML sanitation: new layout
131         parameters InnerTag and CommandDepth
132
133 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
134
135         * BufferView_pimpl.C:
136         * factory.C:
137         * text3.C: Fix the insertion and modification of button-style
138         insets
139
140 2003-11-13  André Pönitz  <poenitz@gmx.net>
141
142         * InsetList.[Ch]: remove deleteLyXText
143
144         * paragraph.[Ch]: cache beginOfBody position
145
146         * Bidi.C:
147         * text.C:
148         * text2.C:
149         * text3.C: remove superfluous update() calls
150
151         * vspace.C: cleanup
152
153 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
154
155         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
156         * BufferView.C (fitLockedInsetCursor): remove
157         * cursor.[Ch] (getDim): add
158         * text.C (getRowNearY): add faster version
159         * text3.C: remove some update calls
160
161 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
162
163         * LaTeXFeatures.C:
164         * LyXAction.C:
165         * MenuBackend.C:
166         * MenuBackend.h:
167         * dispatchresult.h:
168         * factory.C:
169         * lfuns.h:
170         * lyxfunc.C:
171         * lyxtextclass.C:
172         * lyxtextclass.h:
173         * text3.C: The Character Style /XML short element patch.
174
175 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
176
177         * text3.C:
178         * factory.C: Small step to solving 'unable to insert some insets'
179         problem
180
181 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
182
183         * cursor.[Ch] (updatePos): new function for updating the y
184         position of the tip inset
185         * bufferview_funcs.C (put_selection_at):
186         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
187
188 2003-11-11  André Pönitz  <poenitz@gmx.net>
189
190         * text.C: remove big comment on invalid Paragraph pointers as it is
191         not valid anymore
192
193 2003-11-11  André Pönitz  <poenitz@gmx.net>
194
195         * text_funcs.[Ch]: merge with ...
196
197         * text.C: ... this
198
199         * lyxtext.h:
200         * text2.C:
201         * text3.C: adjust
202
203         * Makefile.am: remove text_funcs.[Ch]
204
205 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
206
207         * cursor.C (getPos): return absolute cached y coord
208
209         * BufferView_pimpl.C (fitCursor): new simplistic code
210         (workAreaDispatch): add a fitCursor call
211
212 2003-11-10  André Pönitz  <poenitz@gmx.net>
213
214         * BufferView.[Ch]:
215         * BufferView_pimpl.[Ch]: merge update() and updateInset()
216
217 2003-11-10  André Pönitz  <poenitz@gmx.net>
218
219         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
220         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
221         indicate that the cursor needs to leave an inset
222
223         * lyxtext.h: remove inset locking
224
225         * cursor.[Ch]: re-implement functionality provided by inset locking
226
227         * BufferView.[Ch]:
228         * BufferView_pimpl.[Ch]:
229         * LyXAction.C:
230         * bufferview_funcs.[Ch]:
231         * factory.C:
232         * funcrequest.[Ch]:
233         * iterators.C:
234         * lyx_cb.C:
235         * lyxfind.C:
236         * lyxfunc.C:
237         * text.C:
238         * text2.C:
239         * text3.C:
240         * undo.C: adjust
241
242 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
243
244         * PosIterator.[Ch]: replace the stack with a vector, add inset
245         accesor
246         * iterators.[C]: adjust
247
248 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
249
250         * lyxfind.C (replaceAll): mark the buffer dirty if something was
251         replaced
252         * paragraph_funcs.C (readParToken): put the correct id in the
253         error item, not the id of the top paragraph
254
255 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
256
257         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
258         * bufferview_funcs.C (put_selection_at): use the above
259
260 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
261
262         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
263
264 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
265
266         * output_linuxdoc.h:
267         * output_plaintext.h:
268         * output.h:
269         * output_docbook.h: add #include statements
270
271 2003-11-05  José Matos  <jamatos@lyx.org>
272
273         * output_docbook.[Ch]:
274         * output_latex.[Ch]:
275         * output_linuxdoc.[Ch]:
276         * output_plaintext.[Ch]: New files for output formats.
277         * output.[Ch]: New file for helper functions.
278
279         * buffer.[Ch]:
280         * paragraph_funcs.[Ch]: output functions moved to new files.
281
282         * outputparams.h: rename of latexrunparams.h
283
284         * LaTeX.[Ch]:
285         * buffer.[Ch]:
286         * bufferlist.[Ch]:
287         * converter.[Ch]:
288         * exporter.C:
289         * paragraph.[Ch]:
290         * paragraph_funcs.[Ch]:
291         * paragraph_pimpl.[Ch]:
292         * tabular.[Ch]: rename ascii to plaintext
293         and LatexRunParams to OutputParams.
294
295 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
296
297         * iterators.[Ch] (text): require bv argument
298         * undo.C (recordUndo):
299         * lyxfunc.C (dispatch):
300         * bufferview_funcs.C (put_selection_at): adjust
301
302 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
303
304         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
305
306 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
307
308         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
309         nestings
310
311 2003-11-04  André Pönitz  <poenitz@gmx.net>
312
313         * cursor.[Ch]: restructure
314
315         * BufferView.[Ch]:
316         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
317
318         * iterators.[Ch] (asCursor): remove
319
320         * lfuns.h: remove LFUN_INSET_EDIT
321
322         * lyxfunc.C:
323         * tabular.C:
324         * text.C:
325         * text2.C:
326         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
327
328 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
329
330         * lyxfind.[Ch]: complete overhaul
331         * BufferView_pimpl.C:
332         * lyxfunc.C: adjust
333         * paragraph.[Ch] (insert): add
334
335 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
336
337         * BufferView.[Ch]:
338         * lyxtext.h:
339         * text.C: remove dead spellcheck code
340
341 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
342
343         * dispatchresult.h: add a val setter
344
345         * cursor.C (dispatch): use a tempvar for data_[i]
346
347 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
348
349         * PosIterator.[Ch]: compile fix
350
351 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
352
353         * text.C (cursorPar): deactivate the cursor cache
354
355 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
356
357         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
358
359 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
360
361         * text3.C (dispatch): adjust for new DisptchResult semantics.
362
363         * lyxfunc.C (dispatch): handle update when return from
364         Cursor::dispatch, adjust for new DispatchResult semantics.
365
366         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
367         DispatchResult(true) mean to not update. Add class functions for
368         setting dispatched and update, as well as reading.
369
370         * cursor.C (dispatch): don't handle update here
371
372 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
373
374         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
375         * trans_mgr.C: adjust
376
377         * paragraph_funcs.C (readParToken): exception safety
378
379         * lyxvc.h: store the vcs pointer in a scoped_ptr
380         * lyxvc.C: adjust
381
382         * lyxsocket.C (serverCallback): exception safety
383
384         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
385
386         * ispell.C (clone): make it return a auto_ptr
387
388         * factory.C (createInset): exception safety
389         (readInset): exception safety
390
391         * bufferlist.C (newBuffer): exception safety
392
393         * Thesaurus.C (Thesaurus): use initialization for aik_
394
395         * MenuBackend.C (expandToc): exception safety.
396
397 2003-11-03  André Pönitz  <poenitz@gmx.net>
398
399         * buffer.C:
400         * buffer.h:
401         * bufferview_funcs.C: remove getInsetFromId()
402
403         * lyxcursor.[Ch]:
404         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
405
406         * lyxfunc.C:
407         * text2.C:
408         * text3.C: adjust
409
410 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
411
412         * PosIterator.C (distance, advance): new
413         * bufferview_funcs.[Ch] (put_selection_at): new
414         * iterators.[Ch] (lockPath): new
415
416 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
417
418         * iterators.[Ch] (asPosIterator): added
419         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
420         * PosIterator.[Ch]: added
421
422 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
423
424         * text3.C:
425         * lyxfunc.C:
426         * cursor.C (dispatch):
427         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
428
429         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
430         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
431         contructor, add a class function dispatched. Remove operator>=
432
433 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
434
435         * debug.C: only use the default constructor for debugstream
436         (lyxerr) here.
437
438         * main.C (main): include debug.h and setup the lyxerr streambuf
439         here.
440
441 2003-10-31  José Matos  <jamatos@lyx.org>
442
443         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
444
445         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
446         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
447         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
448         * paragraph_pimpl.C (simpleTeXSpecialC):
449         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
450         add LatexRunParams argument.
451
452         * exporter.C (Export): change call accordingly.
453
454         * latexrunparams.h: add new member to take care of the other backends.
455 2003-10-30  José Matos  <jamatos@lyx.org>
456
457         * buffer.C (makeLinuxDocFile, makeDocBookFile):
458         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
459         factorise code for paragraph output.
460         * buffer.[Ch]:
461         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
462         move functions.
463
464 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
465
466         * text3.C (dispatch):
467         * lyxfunc.C (dispatch):
468         * cursor.C (dispatch):
469         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
470
471         * dispatchresult.h: make the dispatch_result_t ctor explicit
472
473 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
474
475         * sgml.[Ch]:
476         * buffer.C: small refactoring of docbook stuff
477
478 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
479
480         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
481         meaning.
482
483 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
484
485         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
486         operator dispatch_result_t, and operators for == != and >=
487
488         * cursor.C (dispatch): adjust for operator dispatch_result_t
489         removal. comment out call to update
490
491         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
492
493 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
494
495         * text3.C:
496         * text2.C:
497         * text.C:
498         * lyxtext.h:
499         * lyxfunc.C:
500         * cursor.C:
501         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
502         (dispatch):
503
504         * dispatchresult.h: new file, DispatchResult broken out of
505         insets/insetbase.h
506
507         * Makefile.am (lyx_SOURCES): add dispatchresult.h
508
509 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
510
511         * text.C (rowBreakPoint): put a hack inside #if 0
512
513 2003-10-28  André Pönitz  <poenitz@gmx.net>
514
515         * lyxtext.h:
516         * metricsinfo.C:
517         * paragraph_funcs.C:
518         * rowpainter.C:
519         * text.C:
520         * text2.C: general cleanup (lots of small stuff)
521
522 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
523
524         * text2.C (cursorEnd): simple fix to the "end key goes to one
525         before the end on last row" bug
526
527 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
528
529         * text.C (backspace): fix the "zombie characters"
530
531 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
532
533         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
534
535 2003-10-27  André Pönitz  <poenitz@gmx.net>
536
537         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
538
539         * factory.C: handle new InsetPagebreak, InsetLine
540
541         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
542         and move handling into new InsetPagebreak, InsetLine
543
544         * BufferView_pimpl.C:
545         * LyXAction.C:
546         * ParagraphParameters.C:
547         * ParameterStruct.h:
548         * lyxfunc.C:
549         * lyxtext.h:
550         * paragraph.C:
551         * paragraph.h:
552         * paragraph_funcs.C:
553         * paragraph_pimpl.C:
554         * rowpainter.C:
555         * text.C:
556         * text2.C:
557         * text3.C: adjust
558
559 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
560
561         * text.C:
562         * lyxrow_funcs.[Ch]:
563         * Bidi.C:
564         * paragraph.C:
565         * lyxtext.h:
566         * rowpainter.C:
567         * text2.C:
568         * text3.C: remove lastPos uses in favour of Row::endpos
569
570 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
571
572         * undo.C (performUndoOrRedo): fix two crashes by setting a
573         cursor by hand and reordering some calls. Use bv->lockInset instead
574         of inset->edit because the latter loses cursor information
575
576 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
577
578         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
579         by Martin
580         (rowBreakPoint): fix width. change point to point + 1.
581         Add a missing check.
582
583 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
584
585         * MenuBackend.C:
586         * lyxfunc.C: fix (at least partly) the problems
587         with the Nav menu and headers inside branch insets
588         reported by Kayvan
589
590 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
591
592         * paragraph.C (getChar): add strong asserts
593
594         * lyxrow_funcs.C (lastPos): remove hideous hack
595
596         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
597         (fill): adjust to that (avoid an infinite loop)
598
599 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
600
601         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
602
603 2003-10-23  André Pönitz  <poenitz@gmx.net>
604
605         * RowList_fwd.h: change list<> to vector<> to gain speed
606         after suggestion from Alfredo
607
608 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
609
610         * lyxtext.h: move the bidi stuff from here...
611         * text.C: and here
612         * text2.C: and here
613         * Bidi.[Ch]: ... to here
614
615 2003-10-23  André Pönitz  <poenitz@gmx.net>
616
617         * lyxtext.h:
618         * text.C (isLastRow, isFirstRow): new functions
619
620         * paragraph.h: new width cache member
621
622         * rowpainter.C: replace RowList::iterator with Row & where possible
623
624         * lyxfunc.C: replace several view()->text with a single call
625
626         * toc.C: fix 'unused' warning
627
628 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
629
630         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
631         when woring with stream::pos_type
632         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
633
634 2003-10-22  André Pönitz  <poenitz@gmx.net>
635
636         * lyxtext.h:
637         * text.C: use Row & instead of RowList::iterator
638
639         * lyxrow.h: rename end() to endpos()
640
641         * rowpainter.C:
642         * text.C:
643         * text2.C: adjust
644
645 2003-10-22  Angus Leeming  <leeming@lyx.org>
646
647         * buffer.[Ch] (fully_loaded): new member function, returning true
648         only when the file has been loaded fully.
649         Used to prevent the premature generation of previews and by the
650         citation inset to prevent computation of the natbib-style label.
651
652         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
653         templates are all set up.
654
655         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
656
657 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
658
659         * text.C: fixed an "oops" in the "is a bit silly"
660         bug fix
661
662 2003-10-21  André Pönitz  <poenitz@gmx.net>
663
664         * FuncStatus.[Ch]: small stuff, whitespace
665
666         * lyxfont.[Ch]: operator<<() for debug reasons
667
668         * lyxfunc.C:
669         * lyxrow_funcs.C:
670         * lyxtext.h: whitespace, spelling
671
672         * paragraph.C: naming of variables
673
674         * text.C:
675         * text2.C: small stuff
676
677
678 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
679
680         * text.C: (1) finish off the inset display() work;
681         (2) fix the "is a bit silly" bug (accessing char
682         past end of par).
683
684 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
685
686         * text.C: re-introduce display() for insets, fixing the
687         various bugs (stretch of line above, math inset
688         positioning, ...)
689
690 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
691
692         * text.C (rightMargin): remove spurious semicolon
693
694         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
695         1415)
696
697 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
698
699         * text3.C: fix one crash due to wrong cursor def
700
701 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
702
703         * vc-backend.C (scanMaster): make the regex static
704
705         * LaTeX.C (scanAuxFile): make the regexs static
706
707         * text3.C (doInsertInset, dispatch, dispatch):
708         * text2.C (cursorUp, cursorDown):
709         * text.C (selectNextWordToSpellcheck):
710         * BufferView_pimpl.C (dispatch):
711         * lyxfunc.C (dispatch):  localDispatch -> dispatch
712
713 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
714
715         * lyxsocket.C: include <cerrno>
716
717 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
718
719         * lyxfunc.C (dispatch): remove textcache stuff
720
721         * bufferlist.C (release): remove textcache stuff
722         (closeAll): ditto
723
724         * TextCache.C: delete file
725         * TextCache.h: delete file
726
727         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
728
729         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
730         delete of the bv_->text.
731         (resizeCurrentBuffer): remove texcache stuff
732         (workAreaResize): ditto
733
734 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
735
736         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
737         action.
738
739 2003-10-16  André Pönitz  <poenitz@gmx.net>
740
741         * lyxrow.[Ch]:
742         * paragraph.h:
743         * rowpainter.C:
744         * text.C:
745         * text2.C:
746         * text3.C: speed up by storing y positions per paragraph plus per-row
747         offset instead of having a 'full' y position in the row.
748
749 2003-10-15  André Pönitz  <poenitz@gmx.net>
750
751         * iterators.[Ch]:
752         * iterators.[Ch]:
753         * undo.[Ch]: make undo aware of inner insets
754
755 2003-10-14  Angus Leeming  <leeming@lyx.org>
756
757         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
758         static member functions LyX::ref() and LyX::cref.
759         (lastfiles): new accessor functions for the new lastfiles_ member var.
760         (addLyXView, views_): add a new LyXView to the list of views_.
761         (updateInset): loop over all LyXViews to call their own updateInset
762         member function, returning a pointer to the Buffer owning the inset.
763
764         * BufferView_pimpl.C (loadLyXFile):
765         * MenuBackend.C (expandLastfiles):
766         * bufferlist.C (MenuWrite, QuitLyX):
767         lastfiles is no longer a global variable.
768         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
769
770         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
771         static function. Access through LyX::cref().emergencyCleanup().
772
773 2003-10-14  André Pönitz  <poenitz@gmx.net>
774
775         * iterators.[Ch]: new direct access to innermost LyXText and Inset
776
777         * undo.[Ch]: restoring part of 'undo in insets'
778
779         * Makefile.am:
780         * undo_funcs.[Ch]: merge with undo.[Ch]
781
782         * tabular.C: small cleansing stuff
783
784 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
785
786         * paragraph_funcs.C (readParToken): report unknown insets as error
787         boxes. Use the outer paragraph as location (also for unknown
788         tokens).
789
790         * factory.C (readInset): do not abort on reading an unknown inset.
791         Eat it and return 0.
792
793 2003-10-13  Angus Leeming  <leeming@lyx.org>
794
795         * lyx_main.C (LyX): remove call to setDisplayTranslator().
796
797         * lyxrc.C: displayTranslator is now a function,
798         declared in GraphicsTypes.h.
799
800 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
801
802         * format.C: new placeholder $$a to pass the socket address.
803
804         * bufferlist.[Ch]: new function getBufferFromTmp.
805
806         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
807           files in the temporary dir.
808
809 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
810
811         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
812
813         * Makefile.am: add lyxsocket.[Ch].
814
815         * lyx_main.C (error_handler): handle SIGPIPE.
816
817 2003-10-13  André Pönitz  <poenitz@gmx.net>
818
819         * BufferView_pimpl.C:
820         * lyxtext.h:
821         * text.C:
822         * text2.C:
823         * text3.C:
824         * undo_funcs.[Ch]: use paroffset_type instead of
825           ParagraphList::iterators to prevent multiple conversion
826           (and get a more robust interface)
827
828 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
829
830         * lyxfunc.C (dispatch): RESULT -> dispatch_result
831         * lyxtext.h: ditto
832         * text3.C (dispatch): ditto
833
834 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
835
836         * LaTeX.C (handleFoundFile): move the static to smaller scope,
837         move the onlyfile, use onlyfile instead of foundfile in a couple
838         of places.
839
840         * DepTable.C (update): flush the error stream a bit more
841
842 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
843
844         * lyxserver.C (callback): adjust
845
846         * lyxfunc.C (getStatus): add a missing brace in commented code
847         (ensureBufferClean): reindent
848         (dispatch): delete version taking a string
849
850 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
851
852         * LaTeX.C (deplog): move found file handlig from here...
853         (handleFoundFile): .. to new function here.
854         (deplog): make sure to discover several files mentioned on the
855         same log line.
856
857 2003-10-10  André Pönitz  <poenitz@gmx.net>
858
859         * lyxfunc.C:
860         * lyxtext.h:
861         * tabular.C:
862         * text.C:
863         * text2.C:
864         * text3.C: fix some of the tabular crashes
865
866 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
867
868         * MenuBackend.C (binding): put debug message into Debug::KBMAP
869
870         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
871
872 2003-10-09  André Pönitz  <poenitz@gmx.net>
873
874         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
875
876         * BufferView.C:
877         * BufferView_pimpl.C:
878         * bufferview_funcs.C:
879         * lyx_cb.C:
880         * lyxcursor.C:
881         * lyxfind.C:
882         * lyxfunc.C:
883         * lyxtext.h:
884         * text.C:
885         * text2.C:
886         * text3.C:
887         * text_funcs.[Ch]:
888         * textcursor.[Ch]:
889         * undo_funcs.C: adjust
890
891 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
892
893         * text2.C (incrementItemDepth): new function, use a backtracking
894         algorithm to discover the correct item depth.
895         (resetEnumCounterIfNeeded): new function, use a backtracking
896         algorithm to discover if counter reset is needed.
897         (setCounter): use them. Simplify a bit. Add different labels for
898         different item depths for itemize.
899
900         * paragraph.C (Paragraph): remove initialization of enumdepth
901         (operator=): ditto
902
903         * paragraph.h: get rid of enumdepth, and use itemdepth both for
904         enumerate and itemize. Change the type of itemdepth to signed char.
905
906 2003-10-08  André Pönitz  <poenitz@gmx.net>
907
908         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
909           thing assignable.
910         * text.C:
911         * text2.C: adjust
912
913         * tabular.[Ch]: fix crash after 'row-insert'
914
915 2003-10-08  Angus Leeming  <leeming@lyx.org>
916
917         Fix doxygen warnings.
918
919         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
920         Remove CutAndPaste:: prefix from header file declaration.
921
922         * LColor.h (fill): remove LColor:: prefix from declaration.
923
924         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
925         use lyx::depth_type rather than Paragraph::depth_type so that
926         header file and .C file match.
927
928         * converter.h (intToFormat): remove Converters:: prefix from declaration.
929
930         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
931         * aspell.C: \file aspell_local.C -> \file aspell.C
932         * gettext.C: \file gettext.C -> \file src/gettext.C
933         * gettext.h: \file gettext.h -> \file src/gettext.h
934         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
935         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
936         * text.C: \file text.C -> \file src/text.C
937
938         * toc.C: move comment so that doxygen is not confused.
939
940 2003-10-07  Angus Leeming  <leeming@lyx.org>
941
942         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
943
944 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
945
946         * aspell.C:
947         * aspell_local.h: add forgotten std::string's.
948
949 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
950
951         * LaTeXFeatures.C:
952         * LyXAction.C:
953         * factory.C:
954         * lfuns.h:
955         * lyxfunc.C:
956         * text3.C: The Box patch. Fancybox support, minipage, parbox
957
958 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
959
960         * CutAndPaste.h:
961         * DepTable.h:
962         * FloatList.h:
963         * LaTeXFeatures.h:
964         * ParagraphParameters.h:
965         * TextCache.h:
966         * Thesaurus.h:
967         * bufferlist.h:
968         * exporter.h:
969         * importer.h:
970         * lastfiles.h:
971         * lyxfind.h:
972         * lyxfont.h:
973         * lyxlex.h:
974         * lyxtextclasslist.h:
975         * messages.h:
976         * paragraph.h:
977         * paragraph_pimpl.C:
978         * textcursor.h: add <string> and other small fixes to make Lars'
979         std::string patch compile with STLport.
980
981 2003-10-06  Angus Leeming  <leeming@lyx.org>
982
983         * LColor.h: Add missing #include <string>.
984
985 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
986
987         * All most all file in all subdirs: Make <string> be the prefered
988         way of getting to std::string, add using declarations.
989
990 2003-10-06  André Pönitz  <poenitz@gmx.net>
991
992         * metricsinfo.C: initialize LyXFont before changing attribute.
993         (fixes the 'math in \emph is upright' bug)
994
995 2003-10-06  André Pönitz  <poenitz@gmx.net>
996
997         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
998
999 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1000
1001         * graph.C:
1002         * paragraph_pimpl.C: Small fixes to build using STLport
1003
1004 2003-10-02  André Pönitz  <poenitz@gmx.net>
1005
1006         * lyxfunc.C:
1007         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1008
1009 2003-10-01  André Pönitz  <poenitz@gmx.net>
1010
1011         * factory.C: assert early
1012
1013 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1014
1015         * lyx_main.C: remove the global debug object
1016
1017         * debug.h: adjust for new debugstream
1018
1019         * debug.C: adjust for new debugstream and keep the global debug
1020         object here.
1021
1022 2003-09-22  Angus Leeming  <leeming@lyx.org>
1023
1024         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1025         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1026         an incomplete class LyXFont.
1027
1028 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1029
1030         * factory.C: bug fix in branches
1031
1032 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1033
1034         * lyxfunc.C (processKeySym): adjust
1035         (dispatch): adjust
1036         (dispatch): change arg name from ev to func, adjust
1037         (sendDispatchMessage): ditto
1038
1039         * lyx_main.C (defaultKeyBindings): adjust keybindings
1040         (deadKeyBindings): ditto
1041
1042         * kbsequence.C (addkey): return a FuncRequest
1043
1044         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1045
1046         * kbmap.C (bind): take a FuncRequest as arg, adjust
1047         (read): adjust
1048         (lookup): adjust
1049         (defkey): change to take a FuncRequest as arg, adjust
1050         (findbinding): take a FuncRequest as arg, adjust.
1051
1052         * funcrequest.h (operator=): added
1053
1054         * funcrequest.C (FuncRequest): default kb_action changed from
1055         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1056
1057         * buffer.C (dispatch): simplify
1058         (dispatch): adjust to take a FuncRequest as arg, adjust
1059
1060         * boost.C (assertion_failed): change assertion message slightly
1061
1062         * ToolbarBackend.C (read): simplify
1063
1064         * MenuBackend.C (binding): adjust call to findbinding, add a
1065         message if no binding is found.
1066         (read): simplify
1067         (expandToc): correct by adding a empty FuncRequest
1068
1069         * LyXAction.C: include <boost/assert.hpp>
1070         (isPseudoAction): delete function
1071         (LookupFunc): change name to...
1072         (lookupFunc): this. change return type to FuncRequest.
1073         (getActionName): take kb_action as arg, simplify
1074         (funcHasFlag): add an assert, simplify.
1075
1076 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1077
1078         * toc.C (action): return a FuncRequest, simplify
1079
1080         * lyxfunc.C (processKeySym): adjust
1081         (getStatus): delete version that takes an int.
1082         (getStatus): adjust
1083         (dispatch): delete version that takes action as int
1084         (dispatch): adjust
1085         (sendDispatchMessage): simplify and adjust
1086
1087         * funcrequest.C (getArg): take unsigned int as arg
1088
1089         * ToolbarBackend.C (read): adjust
1090         (add): delete version that takes func as a string.
1091         (getIton): take a FuncRequest as arg
1092
1093         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1094         action.
1095
1096         * MenuBackend.C (MenuItem): add a new construct that only takes a
1097         Kind, simplify the constructor use for submenus.
1098         (add): adjust
1099         (expandLastfiles): adjust
1100         (expandDocuments): adjust
1101         (expandFormats): adjust
1102         (expandFloatListInsert): adjust
1103         (expandFloatInsert): adjust
1104         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1105
1106         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1107         Remove class variables lyx_pseudo_map and lyx_arg_map
1108
1109         * LyXAction.C (searchActionArg): delete function
1110         (getPseudoAction): delete function
1111         (retrieveActionArg): delete function
1112         (LookupFunc): make it return kb_action, simplify.
1113         (getActionName): simplify
1114
1115         * factory.C (createInset): fix new bug
1116
1117 2003-09-19  Angus Leeming  <leeming@lyx.org>
1118
1119         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1120         masterFilename_ parameter in the include inset.
1121
1122         * factory.C (createInset): changes due to the changes to InsetInclude.
1123
1124 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1125
1126         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1127
1128 2003-09-18  Angus Leeming  <leeming@lyx.org>
1129
1130         * buffer.C:
1131         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1132         Inset::fillWithBibKeys.
1133         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1134
1135 2003-09-18  Angus Leeming  <leeming@lyx.org>
1136
1137         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1138         variables.
1139         (ctor): pass and store a 'Buffer const &'
1140         (buffer): new member function.
1141
1142         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1143         '*this' to the LaTeXFeatures ctor.
1144
1145 2003-09-18  Angus Leeming  <leeming@lyx.org>
1146
1147         * LColor.h:
1148         * lyxfont.C:
1149         * lyxfont.h:
1150         * lyxtext.h:
1151         * text.C: rename EnumLColor as LColor_color.
1152
1153 2003-09-18  Angus Leeming  <leeming@lyx.org>
1154
1155         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1156         remove #include "insets/insetbase.h" from cursor.h.
1157
1158 2003-09-18  Angus Leeming  <leeming@lyx.org>
1159
1160         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1161         InsetOld_code to remove #include "inset.h".
1162
1163         * iterators.C: add #include "insets/inset.h"
1164
1165 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1166
1167         * BufferView.C: remove more locking stuff that apparently doesn't
1168         do anything sensible.
1169
1170 2003-09-16  André Pönitz  <poenitz@gmx.net>
1171
1172         * paragraph.[Ch]:
1173         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1174           performance boost.
1175
1176 2003-09-16  Angus Leeming  <leeming@lyx.org>
1177
1178         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1179
1180         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1181         arg/return type.
1182
1183         * paragraph.h: remove #include "lyxfont.h". Forward declare
1184         LyXFont_size.
1185
1186 2003-09-16  Angus Leeming  <leeming@lyx.org>
1187
1188         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1189         of support/textutils.h.
1190         (isWord): move the contents of support/textutils.h's IsWordChar here.
1191
1192         * buffer.C:
1193         * lyxfind.C:
1194         * rowpainter.C:
1195         * text.C:
1196         * text2.C: add #include "paragraph.h".
1197
1198         * rowpainter.C:
1199         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1200
1201 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1202
1203         * main.C:
1204         * lyx_main.C:
1205         * lyx_cb.C:
1206         * buffer.C:
1207         * LaTeX.C: use namespace alias for lyx::support::os
1208
1209 2003-09-16  Angus Leeming  <leeming@lyx.org>
1210
1211         * bufferparams.C:
1212         * bufferview_funcs.C:
1213         * factory.C:
1214         * lyxfunc.C:
1215         * paragraph_pimpl.C:
1216         * rowpainter.C:
1217         * text.C: add #include "LColor.h".
1218
1219 2003-09-16  Angus Leeming  <leeming@lyx.org>
1220
1221         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1222         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1223         return LyXFont &.
1224         Store the FontBits::color variable as an int rather than as an
1225         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1226         file.
1227
1228         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1229         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1230         string calls together.
1231
1232         * lyxrc.C: add #include "LColor.h".
1233
1234 2003-09-15  Angus Leeming  <leeming@lyx.org>
1235
1236         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1237         a cow_ptr.
1238
1239 2003-09-15  Angus Leeming  <leeming@lyx.org>
1240
1241         * LColor.h: add an EnumLColor wrapper for LColor::color.
1242
1243         * lyxfont.[Ch] (color, setColor, realColor):
1244         * lyxtext.h, text.C (backgroundColor):
1245         pass EnumLColor args to/from the functions, rather than LColor::color
1246         ones.
1247
1248         * lyxfont.h:
1249         * lyxtext.h: forward declare EnumLColor.
1250
1251         * lyx_main.C: add #include "LColor.h".
1252
1253 2003-09-15  Angus Leeming  <leeming@lyx.org>
1254
1255         * .cvsignore: add lyx-gtk.
1256
1257 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1258
1259         * Chktex.C
1260         * LaTeX.C
1261         * LaTeXFeatures.C
1262         * ParagraphParameters.C
1263         * Spacing.C
1264         * buffer.C
1265         * bufferparams.C
1266         * bufferview_funcs.C
1267         * chset.C
1268         * counters.C
1269         * funcrequest.C
1270         * lyxfont.C
1271         * lyxgluelength.C
1272         * lyxlength.C
1273         * paragraph.C
1274         * paragraph_funcs.C
1275         * text3.C
1276         * vc-backend.C: remove usage of STRCONV
1277
1278 2003-09-15  Angus Leeming  <leeming@lyx.org>
1279
1280         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1281         explicitly define the color passed to the painter.
1282
1283 2003-09-15  Angus Leeming  <leeming@lyx.org>
1284
1285         * bufferparams.C (BufferParams): reorder member initializers to avoid
1286         compiler warning.
1287
1288 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1289
1290         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1291         * text.C (updateRowPositions): remove an unusual nop
1292
1293 2003-09-12  André Pönitz  <poenitz@gmx.net>
1294
1295         * BufferView_pimpl.C:
1296         * Bullet.C:
1297         * layout.h:
1298         * lyxfunc.C:
1299         * lyxlayout.[Ch]:
1300         * lyxtextclass.C:
1301         * rowpainter.C:
1302         * text.C:
1303         * text2.C:
1304         * Counters.[Ch]: finish the 'automatic counters' job
1305
1306 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1307
1308         * aspell.C: include <boost/assert.cpp> (compile fix)
1309
1310 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1311
1312         * boost.C (assertion_failed): use lyx::support::abort instead of
1313         assert.
1314
1315 2003-09-10  Angus Leeming  <leeming@lyx.org>
1316
1317         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1318         with their _fwd progeny.
1319
1320 2003-09-09  Angus Leeming  <leeming@lyx.org>
1321
1322         134 files throughtout the source tree: replace 'using namespace abc;'
1323         directives with the appropriate 'using abc::xyz;' declarations.
1324
1325 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1326
1327         * boost.C (emergencyCleanup): moved here from LAssert.c
1328         (assertion_failed): new function, called by BOOST_ASSERT
1329
1330         * several files: change Assert to BOOST_ASSERT
1331
1332 2003-09-09  Angus Leeming  <leeming@lyx.org>
1333
1334         * buffer.[Ch]: Add an Impl class and move Buffer's member
1335         variables into it. As a result move several header files out of
1336         buffer.h.
1337
1338         Add header files to lots of .C files all over the tree as a result.
1339
1340 2003-09-09  Angus Leeming  <leeming@lyx.org>
1341
1342         * buffer.[Ch]: make Buffer's member variables private. Add
1343         accessor functions.
1344
1345         Lots of changes all over the tree as a result.
1346
1347 2003-09-08  Angus Leeming  <leeming@lyx.org>
1348
1349         * graph.C: #include <config.h>.
1350
1351 2003-09-08  Angus Leeming  <leeming@lyx.org>
1352
1353         * BranchList.C:
1354         * BufferView.C:
1355         * BufferView_pimpl.C:
1356         * CutAndPaste.C:
1357         * DepTable.C:
1358         * LaTeX.C:
1359         * LaTeXFeatures.C:
1360         * LyXAction.C:
1361         * MenuBackend.C:
1362         * TextCache.C:
1363         * aspell.C:
1364         * buffer.C:
1365         * bufferlist.C:
1366         * changes.C:
1367         * chset.C:
1368         * converter.C:
1369         * counters.C:
1370         * debug.C:
1371         * graph.C:
1372         * ispell.C:
1373         * lyx_cb.C:
1374         * lyxfind.C:
1375         * lyxfunc.C:
1376         * lyxlex_pimpl.C:
1377         * lyxrc.C:
1378         * lyxrow.C:
1379         * paragraph.C:
1380         * rowpainter.C:
1381         * texrow.C:
1382         * text.C:
1383         * text2.C:
1384         * toc.C: remove redundant using directives.
1385
1386 2003-09-07  Angus Leeming  <leeming@lyx.org>
1387
1388         * LaTeXFeatures.h: remove #include "support/types.h".
1389         * ToolbarBackend.h: remove #include <algorithm>.
1390         * changes.h: remove #include <ctime>.
1391         * debug.h: remove #include <iosfwd>.
1392         * graph.h: remove #include "support/std_string.h".
1393         * lyx_main.h: remove #include <csignal>.
1394         * lyxlex_pimpl.h: remove #include <fstream>.
1395         * sgml.h: remove #include <algorithm>, <utility>.
1396         * toc.h: remove #include "support/std_ostream.h".
1397         Add #include <iosfwd>.
1398
1399 2003-09-07  Angus Leeming  <leeming@lyx.org>
1400
1401         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1402
1403         * converter.h: forward declare LatexRunParams.
1404         * encoding.h: remove #include "lyxrc.h".
1405         * lyxtext.h: remove #include "LColor.h".
1406         * lyxtextclass.h: remove #include "support/types.h".
1407         * trans.h: remove #include "tex-accent.h".
1408         * trans_mgr.h: remove #include "tex-accent.h".
1409         * insets/inset.h: remove #include "support/types.h", <vector>.
1410         * insets/insetcollapsable.h: remove #include "LColor.h".
1411         * insets/insetinclude.h: remove #include "dimension.h".
1412         * insets/insetlatexaccent.h: remove #include "dimension.h".
1413         * insets/insetoptarg.h:: remove #include "insettext.h".
1414         * insets/insettext.h: remove #include "dimension.h",
1415         <boost/shared_ptr.hpp>
1416
1417         * insets/renderers.h: add #include "dimension.h".
1418         * insets/updatableinset.h: add #include "support/types.h".
1419
1420         * many .C files: Associated changes.
1421
1422 2003-09-06  Angus Leeming  <leeming@lyx.org>
1423
1424         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1425         one, inside testInvariant.
1426
1427         * PrinterParams.C: new file.
1428         * PrinterParams.[Ch]: move the function bodies out of line.
1429
1430 2003-09-06  Angus Leeming  <leeming@lyx.org>
1431
1432         * ParagraphParameters.h: forward declare ParameterStruct rather than
1433         including its header file.
1434         (depth): moved out-of-line.
1435
1436 2003-09-06  Angus Leeming  <leeming@lyx.org>
1437
1438         * BufferView_pimpl.h:
1439         * kbmap.h:
1440         * kbsequence.h:
1441         * lyxfunc.h: forward declare LyXKeySym rather than
1442         #include "frontends/LyXKeySym.h".
1443
1444         * BufferView_pimpl.C:
1445         * kbmap.C:
1446         * kbsequence.C:
1447         * lyxfunc.C: associated changes.
1448
1449 2003-09-06  Angus Leeming  <leeming@lyx.org>
1450
1451         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1452         As a result, can remove the #include "insets/inset.h" from BufferView.h
1453
1454 2003-09-06  Angus Leeming  <leeming@lyx.org>
1455
1456         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1457         As a result, can remove the #include "insets/inset.h" from BufferView.h
1458
1459 2003-09-06  Angus Leeming  <leeming@lyx.org>
1460
1461         * buffer_funcs.C:
1462         * buffer.h:
1463         * bufferlist.C:
1464         * BufferView.C:
1465         * bufferview_funcs.C:
1466         * BufferView_pimpl.C:
1467         * CutAndPaste.C:
1468         * lyx_cb.C:
1469         * lyxfunc.C:
1470         * paragraph.h:
1471         * ParagraphParameters.C:
1472         * tabular.C:
1473         * text3.C:
1474         * toc.C:
1475         * undo_funcs.C:
1476         * frontends/controllers/ControlDocument.C:
1477         * insets/insetcaption.C: rearrange the #includes into some sort of
1478         coherent order.
1479
1480         * buffer.h: remove #includes ErrorList.h, undo.h
1481
1482 2003-09-06  Angus Leeming  <leeming@lyx.org>
1483
1484         * support/types.h: add a 'depth_type' typedef, used to store the
1485         nesting depth of a paragraph.
1486
1487         * paragraph.h:
1488         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1489         defining explicitly.
1490
1491         * buffer.h:
1492         * paragraph_funcs.h:
1493         * ParagraphParameters.h:
1494         * sgml.h: use lyx::depth_type rather than Paragraph or
1495         ParameterStruct's depth_type.
1496
1497         * buffer.h
1498         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1499
1500         * BufferView.C:
1501         * BufferView_pimpl.C:
1502         * CutAndPaste.C:
1503         * ParagraphParameters.C:
1504         * buffer_funcs.C:
1505         * bufferlist.C:
1506         * bufferview_funcs.C:
1507         * lyx_cb.C:
1508         * lyxfunc.C:
1509         * tabular.C:
1510         * text3.C:
1511         * toc.C:
1512         * undo_funcs.C:
1513         * frontends/LyXView.C:
1514         * frontends/controllers/ControlDocument.C:
1515         * frontends/controllers/ControlErrorList.C:
1516         * insets/insetbibitem.C:
1517         * insets/insetbranch.C:
1518         * insets/insetcaption.C:
1519         * insets/insetcollapsable.C:
1520         * insets/insetenv.C:
1521         * insets/insetert.C:
1522         * insets/insetfloat.C:
1523         * insets/insetfoot.C:
1524         * insets/insetfootlike.C:
1525         * insets/insetnewline.C:
1526         * insets/insetquotes.C:
1527         * insets/insettabular.C:
1528         * insets/insettext.C:
1529         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1530
1531         * frontends/controllers/ControlChanges.C: #include "changes.h".
1532
1533 2003-09-06  Angus Leeming  <leeming@lyx.org>
1534
1535         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1536         than #including paragraph.h.
1537
1538         * ParagraphList.h:
1539         * RowList.h: deleted. Superfluous.
1540
1541         * CutAndPaste.h:
1542         * iterators.h:
1543         * lyxcursor.h:
1544         * lyxtext.h:
1545         * text_funcs.h:
1546         * undo.h:
1547         * undo_funcs.h:
1548         * insets/inset.h:
1549         * insets/insettext.h: use ParagraphList_fwd.h rather than
1550         ParagraphList.h.
1551
1552         * paragraph.h: don't forward declare ParagraphList.
1553
1554         * buffer.h:
1555         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1556         rather than ParagraphList.h. paragraph.h is still needed for the
1557         Paragraph::depth_type parameters.
1558
1559         * textcursor.h: enable it to compile stand-alone in light of the
1560         above changes.
1561
1562         * bufferview_funcs.C:
1563         * iterators.C:
1564         * lyxfunc.C:
1565         * lyxrow_funcs.C:
1566         * paragraph.C:
1567         * rowpainter.C:
1568         * text.C:
1569         * text2.C:
1570         * text3.C:
1571         * text_funcs.C:
1572         * textcursor.C:
1573         * undo.C:
1574         * frontends/controllers/ControlParagraph.C:
1575         * frontends/controllers/ControlTabular.C:
1576         * insets/insetmarginal.C:
1577         * insets/insetminipage.C:
1578         * insets/insetnote.C:
1579         * insets/insetoptarg.C: add header files needed to compile again.
1580
1581 2003-09-06  Angus Leeming  <leeming@lyx.org>
1582
1583         * RowList_fwd.h: new file, forward-declaring Row rather than
1584         #including lyxrow.h.
1585
1586         * lyxrow_funcs.h:
1587         * lyxtext.h:
1588         * paragraph.h:
1589         * insets/insettext.h: use it instead of RowList.h
1590
1591         * bufferview_funcs.C:
1592         * lyxfunc.C:
1593         * lyxrow_funcs.C:
1594         * paragraph.C:
1595         * rowpainter.C:
1596         * text.C:
1597         * text2.C:
1598         * text3.C: #include "RowList.h".
1599
1600 2003-09-05  Angus Leeming  <leeming@lyx.org>
1601
1602         * factory.C (createInset):
1603         * vspace.C (c-tor): replace sscanf call with an istringstream.
1604         * ispell.C: re-add missing HP/UX headers.
1605         * lyxserver.C: re-add missing  os2 headers.
1606
1607 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1608
1609         * BranchList.C:
1610         * graph.C:
1611         * ispell.C:
1612         * lastfiles.C:
1613         * lyx_cb.C:
1614         * lyxserver.C:
1615         * texrow.C:
1616         * text3.C: re-add missing system headers, needed for 2.95.2.
1617
1618 2003-09-05  Angus Leeming  <leeming@lyx.org>
1619
1620         Changes most place everywhere due to the removal of using directives
1621         from support/std_sstream.h.
1622
1623 2003-09-05  Angus Leeming  <leeming@lyx.org>
1624
1625         Replace LString.h with support/std_string.h,
1626         Lsstream.h with support/std_sstream.h,
1627         support/LIstream.h with support/std_istream.h,
1628         support/LOstream.h with support/std_ostream.h.
1629
1630         Changes resulting throughout the tree.
1631
1632 2003-09-05  Angus Leeming  <leeming@lyx.org>
1633
1634         * sgml.h: ensure that the header file can be compiled stand-alone.
1635         * *.C: strip out redundant #includes. (320 in total.)
1636
1637 2003-09-04  Angus Leeming  <leeming@lyx.org>
1638
1639         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1640         here (from getPackages).
1641
1642         * debug.[Ch]: add a new EXTERNAL tag.
1643
1644 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1645
1646         * text2.C (cursorEnd): simplify
1647         (setCursor): adjust
1648         (getColumnNearX): adjust
1649
1650         * text.C (computeBidiTables): adjust
1651         (fill): adjust
1652
1653         * rowpainter.C (paintChars): adjust
1654         (paintSelection): adjust
1655         (paintChangeBar): adjust
1656         (paintText): adjust
1657
1658         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1659         lastPos instead.
1660         (numberOfSeparators): adjust
1661
1662 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1663
1664         * LyXAction.C:
1665         * box.[Ch]:
1666         * lfuns.h:
1667         * lyxfunc.C:
1668         * text3.C: Restricts the mouse click functionality
1669         of insets like bibtex, include, toc and floatlist to the visible
1670         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1671         up the dialogs. Cursor has to be in front of the inset (i.e.
1672         start of row) for this to function.
1673
1674 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1675
1676         * bufferview_funcs.C (currentState): output row information
1677
1678 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1679
1680         * bufferview_funcs.C (currentState): output paragraph position
1681
1682 2003-09-04  Angus Leeming  <leeming@lyx.org>
1683
1684         * FloatList.h: move out #include "Floating.h".
1685         * LaTeX.h: move out #include "DepTable.h".
1686         * LyXAction.h: move out #include "funcrequest.h".
1687         * buffer.h: move out #include "author.h", "iterators.h".
1688         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1689         * lyx_main.h: move out #include "errorlist.h".
1690         * lyxfunc.h: move out #include "FuncStatus.h".
1691         * lyxtext: move out #include "lyxcursor.h".
1692         * paragraph_pimpl.h: move out #include "counters.h".
1693
1694 2003-09-03  Angus Leeming  <leeming@lyx.org>
1695
1696         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1697         preamble_snippets list, enabling us to add snippets to the preamble
1698         only if the snippet was not there already.
1699
1700 2003-09-04  Angus Leeming  <leeming@lyx.org>
1701
1702         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1703
1704 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1705
1706         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1707         update
1708
1709 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1710
1711         * BranchList.C: point fix, earlier forgotten
1712
1713 2003-09-02  Angus Leeming  <leeming@lyx.org>
1714
1715         * box.C (contains): renamed from 'contained' after a fantastic
1716         amount of hot air.
1717
1718 2003-09-02  John Levon  <levon@movementarian.org>
1719
1720         * BufferView.C:
1721         * lyxcursor.h:
1722         * lyxcursor.C:
1723         * lyxfunc.C:
1724         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1725
1726 2003-09-02  John Levon  <levon@movementarian.org>
1727
1728         * text2.C: simplification of cursorEnd(), including partial
1729         fix for bug 1376
1730
1731 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1732
1733         * buffer.C (readFile): add a space
1734
1735 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1736
1737         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1738
1739 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1740
1741         * buffer.C (readFile): new function, take a filename and a
1742         ParagraphList::iterator
1743         (readFile): adjust
1744         (readFile): adjust, make it private. don't use setStream, make
1745         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1746         always contain the filename.
1747
1748         * BufferView.C (insertLyXFile): simplify and make it work for
1749         gzipped files.
1750
1751 2003-08-30  John Levon  <levon@movementarian.org>
1752
1753         * Makefile.am: fix dist (from Kayvan)
1754
1755 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1756
1757         * most files: change to use const Buffer refs
1758
1759 2003-08-27  André Pönitz  <poenitz@gmx.net>
1760
1761         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1762         on top of ownerPar().
1763
1764 2003-08-27  John Levon  <levon@movementarian.org>
1765
1766         * funcrequest.C: properly initialise POD members
1767
1768 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1769
1770         * lyxtext.h (top_y): move top_y from here
1771         * text.C:
1772         * text2.C:
1773         * text3.C:
1774         * BufferView.[Ch]:
1775         * BufferView_pimpl.[Ch]: to here
1776         * frontends/screen.C:
1777         * insets/insettabular.C:
1778         * insets/insettext.C: adjust
1779         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1780
1781 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1782
1783         * BufferView.[Ch]:
1784         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1785
1786 2003-08-26  André Pönitz  <poenitz@gmx.net>
1787
1788         * paragraph_func.[Ch] (outerPar): new function
1789
1790         * paragraph.C:
1791         * paragraph_funcs.C:
1792         * paragraph_funcs.h:
1793         * paragraph_pimpl.C:
1794         * text2.C: remove Inset::par_owner
1795
1796 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1797
1798         * lyxrow_funcs.C:
1799         * lyxtext.h:
1800         * text.C:
1801         * text2.C: eliminates the needFullRow/display() stuff
1802         altogether, putting the logic in metrics/draw in the insets.
1803
1804 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1805
1806         * text2.C (redoParagraphInternal, redoParagraphs):
1807         * text.C (redoParagraph): add a call to updateRowPositions at the
1808         end of each 'metrics-like' call. Remove all others.
1809         (getRow): remove the 'y-computing' version.
1810         (getRowNearY): do not compute nor return the real y. Solve the
1811         'y < 0' problem and simplify.
1812
1813 2003-08-22  Angus Leeming  <leeming@lyx.org>
1814
1815         * *.[Ch]: clean-up of licence and author blurbs.
1816         Also move config.h out of a few .h files and into a few .C files.
1817
1818 2003-08-22  André Pönitz  <poenitz@gmx.net>
1819
1820         * lyxrow.[Ch]: add x_ and *fill_ members
1821
1822         * lyxtext.h:
1823         * text.C:
1824         * rowpainter.C:
1825         * text2.C: adjust/remove prepareToPrint() calls
1826
1827 2003-08-22  André Pönitz  <poenitz@gmx.net>
1828
1829         * lyxrow.[Ch]: add  end_ member
1830
1831         * lyxrow_funcs.C: use LyXRow::end_
1832
1833         * lyxtext.h (singleWidth): add LyXFont parameter
1834
1835         * rowpainter.C:
1836         * text2.C: adjust LyXText::singleWidth() calls
1837
1838         * text.C (redoParagraph): simplify row breaking logic
1839
1840
1841 2003-08-19  André Pönitz  <poenitz@gmx.net>
1842
1843         * funcrequest.C: initialize button_ member
1844
1845         * text3.C:
1846         * rowpainter.[Ch]: interface consolidation
1847
1848 2003-08-18  André Pönitz  <poenitz@gmx.net>
1849
1850         * BufferView.C:
1851         * BufferView_pimpl.C:
1852         * lyxfind.C:
1853         * paragraph_funcs.C:
1854         * rowpainter.C:
1855         * text3.C: remove LyXScreen::draw() and fitCursor calls
1856
1857         * BranchList.h: remove spurious semicolons
1858
1859         * MenuBackend.C: fix branchlist related crash
1860
1861 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1862
1863         * BranchList.[Ch]:
1864         * InsetList.[Ch]:
1865         * LColor.[Ch]:
1866         * LyXAction.C:
1867         * Makefile.am:
1868         * MenuBackend.[Ch]:
1869         * bufferparams.[Ch]:
1870         * factory.C:
1871         * lfuns.h:
1872         * lyxfunc.C:
1873         * text3.C: implements the 'branch inset'
1874         idea. This allows the output of various versions of a document
1875         from a single source version, selectively outputing or suppressing
1876         output of parts of the text.
1877         This implementation contains a 'branch list editor' in a separate
1878         tab of the document settings dialog. Branches are user definable
1879         and have a "display colour" to distinguish them on-screen.
1880
1881         ColorHandler was somewhat cleaned up.
1882         (1) make possible a dynamically growing LColor list by allowing
1883         the graphic context cache to grow along (vector);
1884         (2) eliminate an IMHO unnecessary step in colour allocation.
1885
1886 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1887
1888         * BufferView_pimpl.C: compile fix
1889
1890 2003-08-15  André Pönitz  <poenitz@gmx.net>
1891
1892         * rowpainter.C: remove extra metrics calls
1893
1894         * lyxtext.h: merge the two constructors into a single one,
1895           pass reference to owner's par list
1896
1897         * BufferView_pimpl.C:
1898         * text.C:
1899         * text2.C: adjust
1900
1901 2003-08-15  André Pönitz  <poenitz@gmx.net>
1902
1903         * lyxrow_funcs.[Ch]:
1904         * lyxtext.h:
1905         * paragraph.h:
1906         * paragraph_funcs.C:
1907         * rowpainter.C:
1908         * text.C:
1909         * text2.C:
1910         * text3.C:
1911         * text_funcs.C: split LyXText::rowlist_ into individual
1912         Paragraph::rows_ chunks
1913
1914         * BufferView.[Ch]:
1915         * BufferView_pimpl.[Ch]:
1916         * lyxfind.C:
1917         * lyxtext.h:
1918         * text3.C: remove toggleSelection()
1919
1920 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1921
1922         * bufferlist.C: beautify two alerts (shorter text of buttons)
1923         * buffer.C: Remove redundant ' ' from message
1924         * tabular.h:
1925         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1926         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1927         rename VALIGN_CENTER to VALIGN_MIDDLE
1928
1929 2003-08-11  André Pönitz  <poenitz@gmx.net>
1930
1931         * lyxtext.h (getPar):
1932         * text.C: new function
1933
1934 2003-08-11  André Pönitz  <poenitz@gmx.net>
1935
1936         * Makefile.am:
1937         * tracer.[Ch]: remove unneeded files
1938
1939         * InsetList.[Ch]: remove resizeInsetsLyXText()
1940
1941         * lyxtext.h:
1942         * text.C:
1943         * text2.C:
1944         * text3.C: merge insertParagraphs() and appendParagraph()
1945         remove breakAgain(), update()
1946
1947         * BufferView_pimpl.[Ch]:
1948         * bufferview_funcs.[Ch]:
1949         * lyxfunc.C:
1950         * paragraph.[Ch]:
1951         * rowpainter.C:
1952         * tabular.C: adjust after text & InsetList changes.
1953
1954 2003-08-08  André Pönitz  <poenitz@gmx.net>
1955
1956         * text.C (insertChar, backspace): replace rowlist fiddling
1957         with rebreak of full par
1958
1959         * lyxtext.h:
1960         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1961         checkParagraph, updateInset): removed
1962
1963 2003-08-07  André Pönitz  <poenitz@gmx.net>
1964
1965         * paragraph.C:
1966         * text3.C: merge some LFUN handlers, remove dead code
1967
1968 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1969
1970         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1971
1972 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1973
1974         * text2.C (DEPM): fix part of bug 1255 and 1256
1975
1976 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1977
1978         * BufferView_pimpl.C (workAreaDispatch): change to use
1979         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1980         that are no mouse related.
1981
1982 2003-08-05  André Pönitz  <poenitz@gmx.net>
1983
1984         * BufferView.[Ch]:
1985         * BufferView_pimpl.[Ch]:
1986         * bufferview_funcs.C:
1987         * text2.C:
1988         * text3.C: rip out "deep update"
1989
1990         * textcursor.[Ch] (last_sel_cursor): remove unused member
1991
1992 2003-08-04  André Pönitz  <poenitz@gmx.net>
1993
1994         * BufferView.[Ch]:
1995         * BufferView_pimpl.[Ch]:
1996         * ParagraphParameters.C:
1997         * bufferview_funcs.C:
1998         * lyx_cb.C:
1999         * lyxfind.C:
2000         * lyxfunc.C:
2001         * text.C:
2002         * text2.C:
2003         * text3.C: replace "complicated" BufferView::update(...) calls with
2004         simpler ones.
2005
2006         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2007
2008 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2009
2010         * Makefile.am (lyx_SOURCES): add paper.h
2011
2012 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2013
2014         * Makefile.am: move things around so that both lyx-qt and
2015         lyx-xforms can be built (according to --with-frontend). Then lyx
2016         is a symbolic link to lyx-[firstfrontend]
2017
2018 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2019
2020         * Always use std::endl with lyxerr
2021
2022 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2023
2024         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2025
2026 2003-08-01  André Pönitz  <poenitz@gmx.net>
2027
2028         * BufferView.[Ch]:
2029         * BufferView_pimpl.[Ch]:
2030         * lyxfunc.C:
2031         * text3.C: merge BufferView::repaint() and BufferView::update()
2032
2033 2003-08-01  José Matos  <jamatos@lyx.org>
2034
2035         * buffer.[Ch]: file_format is no longer a buffer data element.
2036
2037 2003-08-01  André Pönitz  <poenitz@gmx.net>
2038
2039         * BufferView.C:
2040         * lyxtext.h:
2041         * text.C:
2042         * text2.C: make redoParagraph more independent of current cursor
2043
2044         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2045         * text.C:
2046         * text2.C: remove unneeded members
2047
2048 2003-07-30  André Pönitz  <poenitz@gmx.net>
2049
2050         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2051
2052         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2053           create a single function...
2054
2055         * paragraph_funcs.C (moveItem): ... here.
2056
2057         * text.C:
2058           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2059
2060 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2061
2062         * LColor.[Ch]: Add comment and greyedout logical colors.
2063
2064 2003-07-30  André Pönitz  <poenitz@gmx.net>
2065
2066         * tabular.C: don't use Assert too heavily. This crashes where it
2067           shouldn't
2068
2069 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2070
2071         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2072         is disabled (bug 1232)
2073
2074 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2075
2076         * factory.C: limited 'arg' scope
2077
2078 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2079
2080         * factory.C: fixed Note submenu issues
2081
2082 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2083
2084         * factory.C: submenu for Note/Comment/Greyedout
2085
2086 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2087
2088         * lyx_main.C (LyX):
2089         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2090
2091 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2092
2093         * LaTeXFeatures.C:
2094         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2095         greyedout. Patch provided by Jürgen Spitzmüller.
2096
2097 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2098
2099         * kbmap.C (read): fix error message when reading bind files
2100
2101 2003-07-29  Angus Leeming  <leeming@lyx.org>
2102
2103         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2104         certainly does not do what it purports to do. I am doing it, and
2105         us, a favour by killing it.
2106
2107 2003-07-28  José Matos  <jamatos@lyx.org>
2108
2109         * buffer.C (readBody, do_writeFile):
2110         * paragraph.C(readParagraph): \end_document replaces \the_end.
2111
2112 2003-07-29  André Pönitz  <poenitz@gmx.net>
2113
2114         * BufferView.[Ch]:
2115         * BufferView_pimpl.[Ch]:
2116         * lyxfunc.C:
2117         * text2.C:
2118         * text3.C:
2119         * textcursor.[Ch]: remove toggleToggle & Co
2120
2121 2003-07-28  José Matos  <jamatos@fep.up.pt>
2122
2123         * buffer.C (readParagraph):
2124         * params_func (readParToken, readParagraph):
2125         * paragraph.C (write): \layout -> \begin_layout.
2126
2127 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2128
2129         * lyxlex_pimpl.C (setFile): clean up slightly.
2130
2131         * bufferparams.h: add compressed var
2132
2133         * buffer_funcs.C (readFile): adjust for LyXLex change
2134         (newFile): ditto + simplify
2135
2136         * buffer.C (writeFile): handle writing of compressed files
2137
2138         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2139         Check if the file is compressed and set a bufferparm if so.
2140
2141         * Makefile.am (lyx_LDADD): remove explicit -lz
2142
2143 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2144
2145         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2146         makeDocBookFile): put the real LyX version in the first line of
2147         the file
2148
2149         * version.h:
2150         * version.C.in: remove lyx_docversion
2151
2152         * tabular.C (write_attribute): add a template-based version to
2153         write enums properly
2154
2155 2003-07-28  André Pönitz  <poenitz@gmx.net>
2156
2157         * lyxtext.h:
2158         * text.C:
2159         * text2.C:
2160         * text3.C: use doubles again for x-coordinates. They are needed.
2161
2162 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2163
2164         * messages.C (getLocaleDir): use lyx_localedir()
2165
2166         * lyxlex_pimpl.C (setFile): compress stuff
2167
2168         * buffer.C (writeFile): add some compression stuff
2169         (do_writeFile): new func, dont call expliti close... will this
2170         breake anything?
2171
2172         * Makefile.am (lyx_LDADD): add -lz
2173
2174 2003-07-28  José Matos  <jamatos@fep.up.pt>
2175
2176         * buffer.C: increment file format.
2177         * paragraph_funcs (readParagraph, readParToken):
2178         * paragraph.C (readParagraph): add \end_layout.
2179
2180 2003-07-27  Angus Leeming  <leeming@lyx.org>
2181
2182         * Makefile.am: remove special casing for configure-time setting of
2183         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2184
2185         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2186         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2187
2188 2003-07-26  André Pönitz  <poenitz@gmx.net>
2189
2190         * paragraph_func.[Ch]:
2191         * paragraph.C (realizeFont): inline it whereever it is used
2192
2193         * rowpainter.C:
2194         * text.C:
2195         * text2.C:
2196         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2197
2198
2199 2003-07-26  André Pönitz  <poenitz@gmx.net>
2200
2201         *       lyxtext.h:
2202         * text.C:
2203         * text2.C: get rid of LyXText::need_break_row
2204
2205 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2206
2207         * toc.[Ch]: put namespace toc inside namespace lyx
2208
2209         * MenuBackend.C (expandToc2): adjust for lyx::toc
2210         (expandToc): ditto
2211
2212         * lyxfunc.C (dispatch): adjust for lyx::find
2213
2214         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2215         lyx::find instead. Reorganize a bit.
2216         (LyXReplace): rename to replace
2217         (LyXFind): rename to find
2218
2219         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2220         (dispatch): ditto
2221
2222 2003-07-26  André Pönitz  <poenitz@gmx.net>
2223
2224         * text.C (setHeightOfRow): restrict scope of temporary variable
2225
2226         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2227           code (never has been used?)
2228
2229 2003-07-27  Asger Alstrup  <alstrup@local>
2230
2231         * text.C (fill): Optimise algorithm to exploit that we can reuse
2232         the LyXFont for many characters.
2233         (setHeightOfRow): Same thing.
2234         (rowBreakPoint): Same thing.
2235
2236 2003-07-26  Asger Alstrup  <alstrup@local>
2237
2238         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2239
2240         * text.C (singleWidth): Spurious font copying in hot-spot
2241         singleWidth avoided. Reorder tests for arabic for efficiency.
2242
2243         * text.C (fill): handle empty paragraphs better.
2244
2245 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2246
2247         * ispell.C:
2248         * encoding.h: add includes
2249
2250         * lyxrc.C: remove reading of bind files
2251
2252         * lyx_main.C (init): setup bindings and menus only if we have a
2253         gui.
2254
2255         * kbmap.C (read): new method. Do the actual reading of bind
2256         files.
2257
2258         * converter.C (dvipdfm_options):
2259         * bufferparams.C:
2260         * lyxrc.C (read):
2261         (output): adapt PAPER_* enums.
2262
2263         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2264
2265         * bufferparams.h: remove paper-related enums from there
2266
2267         * paper.h: New file. A trivial header file to hold paper-related
2268         enums. It should later expand to contain many paper-related
2269         horrors access.
2270
2271         * lyxrc.C: declare extern displayTranslator
2272
2273 2003-07-27  José Matos  <jamatos@fep.up.pt>
2274
2275         * tabular.[Ch] (linuxdoc): add support for tables and figures
2276         (linuxdoc).
2277
2278 2003-07-27  José Matos  <jamatos@fep.up.pt>
2279
2280         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2281         consistency in both functions.
2282         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2283
2284 2003-07-26  Asger Alstrup  <alstrup@local>
2285
2286         * rowpainter.C (paintRows): Change algorithm to work directly on
2287         the insets rather than asking every character in the document
2288         whether its an inset.
2289
2290 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2291
2292         * buffer.C (openFileWrite): factorize some code
2293
2294 2003-07-26  Angus Leeming  <leeming@lyx.org>
2295
2296         * lyx_cb.C:
2297         * lyx_main.[Ch]: replace occurances of system_tempdir with
2298         os::getTmpDir().
2299
2300 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2301
2302         * rename Inset to InsetOld
2303
2304 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2305
2306         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2307         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2308         which I think is a bit clearer. EDIT is gone, since it was
2309         premature optimisation, and broken for mathed anyway.
2310         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2311         with cursor positioning in insets as well (math insets still do not
2312         work, but that's a different story anyway.) It mysteriously
2313         crashes sometimes with undo in the first paragraph, but I'm fairly
2314         confident that this is a compiler bug.
2315
2316 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2317
2318         * paragraph.C (Paragraph): adjust for new clone return type
2319         (operator==): ditto
2320         (copyIntoMinibuffer): ditto
2321
2322 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2323
2324         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2325         by not having a special case, and always doing a full rebreak of
2326         the document after undo.
2327
2328 2003-07-23  Angus Leeming  <leeming@lyx.org>
2329
2330         * factory.C (createInset): InsetExternal::setParams now takes a
2331         Buffer const * arg.
2332
2333 2003-07-23  Angus Leeming  <leeming@lyx.org>
2334
2335         * factory.C (createInset): changed interface to the external and
2336         graphics mailers' string2params functions.
2337
2338 2003-07-23  Angus Leeming  <leeming@lyx.org>
2339
2340         * factory.C (createInset): pass a
2341         Buffer const * parameter to InsetExternalMailer's string2params.
2342
2343 2003-07-22  John Levon  <levon@movementarian.org>
2344
2345         * Thesaurus.h: include the right aiksaurus header
2346
2347 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2348
2349         * MenuBackend.C (expand): check menu shortcuts unconditionally
2350
2351 2003-07-21  Angus Leeming  <leeming@lyx.org>
2352
2353         * factory.C (createInset): pass a
2354         buffer_path parameter to InsetGraphicsMailer's string2params.
2355
2356 2003-07-21  Angus Leeming  <leeming@lyx.org>
2357
2358         * BufferView_pimpl.C (buffer):
2359         * buffer.C (d-tor):
2360         * lyx_main.C (LyX):
2361         * lyxfunc.C (dispatch):
2362         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2363         rather than the grfx shortcut.
2364
2365 2003-07-21  André Pönitz  <poenitz@gmx.net>
2366
2367         * rowpainter.C: remove unused variables
2368
2369         * tabular_funcs.C:
2370         * tabular_funcs.h: move to tabular.C
2371         * Makefile.am: adjust
2372
2373         * tabular.[Ch]: basic optical cleaning
2374
2375         * author.h: pass references, not values
2376
2377 2003-07-18  André Pönitz  <poenitz@gmx.net>
2378
2379         * lyxtext.h:
2380         * metricsinfo.C:
2381         * metricsinfo.h:
2382         * rowpainter.C:
2383         * text.C:
2384         * text2.C:
2385         * text3.C: two-phase drawing for InsetText and InsetTabular
2386         some float -> int changes.
2387
2388 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2389
2390         * lyx_main.C: fix the fix
2391
2392 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2393
2394         * lyx_main.C: fix a crash in batch mode if no files specified
2395         * converter.C: ws
2396
2397 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2398
2399         * format.[Ch] (papersize): moved to BufferParams
2400         * converter.[Ch] (dvips_options): moved to BufferParams
2401         (dvipdfm_options): moved to anon namespace
2402         * bufferparams.[Ch]: added above functions.
2403
2404 2003-07-17  André Pönitz  <poenitz@gmx.net>
2405
2406         * lyxtext.h:
2407         * rowpainter.C:
2408         * text2.C: don't call inset->update() anymore
2409
2410         * metricsinfo.[Ch]: add convenience constructor
2411
2412 2003-07-16  André Pönitz  <poenitz@gmx.net>
2413
2414         * lyxcursor.[Ch]:
2415         * lyxfunc.[Ch]:
2416         * text.C:
2417         * text2.C: replace the LyXCursor::irow_ member with
2418          on-demand computation of the value
2419
2420 2003-07-16  John Levon  <levon@movementarian.org>
2421
2422         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2423
2424 2003-07-15  André Pönitz  <poenitz@gmx.net>
2425
2426         * text.C:
2427         * text2.C: remove no more needed refresh_row
2428
2429 2003-07-15  André Pönitz  <poenitz@gmx.net>
2430
2431         * lyxtext.h:
2432         * rowpainter.C:
2433         * text2.C:
2434         * text3.C: refresh_status tristate -> need_update bool
2435
2436 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2437
2438         * lyxtext.h (init): remove reinit argument (act as if always true)
2439         * text2.C: adjust to that
2440
2441 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2442
2443         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2444         * text3.C: use it to delete selections in some cases
2445         (bugs 441, 673, 702, 954).
2446
2447 2003-07-14  André Pönitz  <poenitz@gmx.net>
2448
2449         * rowpainter.[Ch]: reduce interface
2450
2451 2003-07-14  André Pönitz  <poenitz@gmx.net>
2452
2453         * BufferView_pimpl.C:
2454         * text2.C: adjust after removing unused BufferView * argument
2455
2456 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2457
2458         * text2.C (init): fix a crash fired on resize
2459
2460 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2461
2462         * buffer.[Ch]: added new closing signal
2463         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2464         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2465         BufferView::Pimpl via the closing the signal
2466
2467 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2468
2469         * buffer.[Ch]: take out all bv-related from buffer
2470         * BufferView.C:
2471         * BufferView_pimpl.[Ch]: connect to new signals
2472         * CutAndPaste.C: removed useless asserts
2473         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2474         * lyxvc.[Ch]:
2475         * vc-backend.[Ch]:
2476         * lyxfunc.C: moved view-related funciontality from vc here
2477         * paragraph.C: removed outdated comments
2478         * text.C: ws
2479
2480 2003-07-10  André Pönitz  <poenitz@gmx.net>
2481
2482         * BufferView_pimpl.C:
2483         * tabular.h:
2484         * tabular_funcs.C:
2485         * text.C:
2486         * text2.C: remove InsetText::InnerCache, clean up consequences
2487
2488 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2489
2490         * ispell.C: fix two typos in error messages
2491
2492 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2493
2494         * Extend Note inset to other forms of annotation like Comment
2495         and Greyedout. Right button click gives dialog.
2496
2497         Files modified or added (+):
2498
2499         * insetnote.[Ch]
2500         * FormNote.[Ch]      +
2501         * ControlNote.[Ch]   +
2502         * form_note.fd       +
2503         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2504         frontends/controllers
2505         * xforms/Dialogs.C
2506         * factory.C
2507
2508 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2509
2510         * aspell.C: add missing namespace lyx::support
2511
2512 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2513
2514         * BufferView.[Ch] (newFile): Add
2515         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2516         * LaTeX.[Ch] (message): added this signal and use it
2517         * buffer.[Ch] (busy, message): added these signals and use them
2518         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2519         * converter.C:
2520         * exporter.C:
2521         * format.C:
2522         * importer.C: use buffer signals instead of direct bv calling
2523         * lyx_cb.[Ch] (ShowMessage): removed
2524         * lyx_main.C:
2525         * lyxfunc.C:
2526         * paragraph_funcs.C:
2527         * text2.C: use buffer signals
2528
2529 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2530
2531         * introduce namespace lyx::graphics
2532
2533 2003-07-02  André Pönitz  <poenitz@gmx.net>
2534
2535         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2536
2537 2003-07-01  André Pönitz  <poenitz@gmx.net>
2538
2539         * text.C:
2540         * text2.C:
2541         * text3.C:
2542         * text_funcs.[Ch]:
2543         * textcursor.h:
2544         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2545           text*.C to text_func.C
2546
2547 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2548
2549         * introduce namespace lyx::support
2550
2551 2003-06-30  André Pönitz  <poenitz@gmx.net>
2552
2553         * Chktex.C:
2554         * funcrequest.C:
2555         * lyxtext.h:
2556         * text.C: re-enable --with-included-string
2557
2558 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2559
2560         * textcursor.C: add <config.h>
2561
2562         * text.C (getWord): remove const from word_location arg
2563
2564         * lyxvc.C (getLogFile): fix const type order
2565
2566         * lyxtext.h: remove const from word_location arg, add arg name
2567
2568         * lyxlayout.h: currect type on labeltype.
2569
2570         * importer.C: correct \file
2571
2572         * converter.C (intToFormat): use std:: on ret val, ws changes
2573
2574         * bufferlist.h: correct \file
2575
2576         * buffer.C (makeLinuxDocFile): fix const type order
2577         (makeDocBookFile): ditto
2578         (fillWithBibKeys): use std:: on stdlib args.
2579
2580         * CutAndPaste.C: fix authors.
2581         (availableSelections): use std:: on return vector
2582
2583 2003-06-27  André Pönitz  <poenitz@gmx.net>
2584
2585         * BufferView_pimpl.C:
2586         * bufferview_funcs.C:
2587         * lyxcursor.C:
2588         * lyxcursor.h:
2589         * lyxfunc.C:
2590         * lyxtext.h:
2591         * rowpainter.C:
2592         * text.C:
2593         * text2.C:
2594         * text3.C: remove LyXCursor::row_ member
2595
2596         * lyxtext.h:
2597         * text.C: rename fullRebreak() to partialRebreak() and implement
2598           a fullRebreak() that really bereks fully
2599
2600         * textcursor.h: new struct for cursor-related data
2601
2602 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2603
2604         * lyx_main.C (LyX): get full path of document loaded on the
2605         command line
2606
2607 2003-06-26  André Pönitz  <poenitz@gmx.net>
2608
2609         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2610           remove unused/broken operator>,<,>=.
2611
2612         *       text.C: remove only use of broken operator<= in an Assert().
2613
2614 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2615
2616         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2617         moved errorlist_.clear to showErrorList
2618
2619 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2620
2621         * converter.C (scanLog, runLaTeX):
2622         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2623         move the bv->showErrorList call to the callers
2624         * lyxfunc.C: i.e. here...
2625         * text2.C: and here
2626         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2627         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2628         namespace, the second to...
2629         * buffer_funcs (BufferFormat, parseErrors): added
2630         * errorlist.C (ErrorList(TeXErrors const &)): removed
2631
2632 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2633
2634         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2635
2636 2003-06-24  "Garst R. Reese" <reese@isn.net>
2637
2638         * debug.C: fix typo
2639
2640 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2641
2642         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2643
2644         * version.C.in: change docversion to 1.4
2645
2646 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2647
2648         * buffer.C: fix a bug just introduced
2649
2650 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2651
2652         * buffer.[Ch]: added the parseError signal and use it, removed
2653         sgmlError
2654         * BufferView.[Ch] (addError): moved to ...
2655         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2656         to the Buffer::parseError signal to catch (guess what) parse errors
2657         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2658
2659 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2660
2661         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2662         ability to create a buffer and to return an existing one from
2663         the list. Moved these functions to...
2664         * buffer_funcs.[Ch]: added
2665         * BufferView.[Ch] (loadLyXFile): added
2666         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2667         job removed from bufferlist::loadLyXFile.
2668         * buffer.C (setReadOnly): make it work without view
2669         (i.e added an if (users))
2670
2671 2003-06-19  Angus Leeming  <leeming@lyx.org>
2672
2673         * lfuns.h:
2674         * LyXAction.C (init):
2675         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2676         with LFUN_DIALOG_SHOW <name> <data>.
2677
2678 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2679
2680         * CutAndPaste.C (availableSelections): small compilation fix for
2681         ancient (gcc 2.9x) compilers
2682
2683 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2684
2685         * text3.C (cursorNext): add tmp var
2686
2687         * text2.C (updateCounters): for function calling out of for clause
2688         (replaceSelectionWithString): ditto
2689         (insertStringAsParagraphs): ditto
2690         (getColumnNearX): add tmp var
2691         (setCursorFromCoordinates): add tmp var
2692         (cursorDownParagraph): add tmp var
2693         (deleteEmptyParagraphMechanism): add tmp var
2694
2695         * text.C (insertChar): add tmp var
2696
2697         * rowpainter.C (paintDepthBar): add tmp var
2698
2699         * CutAndPaste.C (availableSelections): potentially check all
2700         paragraphs in a cut to fill the shown strings.
2701
2702 2003-06-18  André Pönitz  <poenitz@gmx.net>
2703
2704         * kbmap.[Ch]: use vector<> instead of list<>
2705
2706 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2707
2708         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2709         pasteSelection with index
2710
2711         * text2.C (pasteSelection): modify, call pasteSelection with index
2712
2713         * paragraph.C (asString): reimplement version with no interval to
2714         call the one with interval.
2715
2716         * lyxtext.h: add index arg to pasteSelection
2717
2718         * MenuBackend.C (MenuItem): handle PasteRecent
2719         (Menu::read::Menutags): add md_pasterecent
2720         (read): handle it
2721         (expandPasteRecent): new function
2722         (expand): use it
2723
2724         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2725
2726         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2727         the limited stack
2728         (availableSelections): new function
2729
2730 2003-06-17  Angus Leeming  <leeming@lyx.org>
2731
2732         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2733
2734 2003-06-17  Angus Leeming  <leeming@lyx.org>
2735
2736         * lfuns.h:
2737         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2738
2739         * lyxfunc.C (dispatch): invoke it.
2740
2741 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2742
2743         * iterators.C (operator++, ParPosition): reintroduce some
2744         const_cast for the benefit of older compilers.
2745
2746 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2747
2748         * text3.C (dispatch): do not modify clipboard when doing
2749         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2750         LFUN_DELETE_SKIP on a selection selection
2751
2752 2003-06-16  André Pönitz  <poenitz@gmx.net>
2753
2754         * BufferView.C:
2755         * buffer.C:
2756         * buffer.h:
2757         * paragraph.C:
2758         * tabular.[Ch]: IU of clone() and getLabelList();
2759
2760 2003-06-13  André Pönitz  <poenitz@gmx.net>
2761
2762         * tabular.h: compactification
2763
2764 2003-06-12  André Pönitz  <poenitz@gmx.net>
2765
2766         * tabular.C:
2767         * tabular.h:
2768         * tabular_funcs.h: some renaming plus whitespace
2769
2770 2003-06-12  André Pönitz  <poenitz@gmx.net>
2771
2772         * BufferView.C:
2773         * BufferView_pimpl.C:
2774         * CutAndPaste.C:
2775         * buffer.C:
2776         * iterators.[Ch]:
2777         * lyxfunc.C:
2778         * text.C:
2779         * toc.C: Return a Paragraph & for ParIterator::operator*()
2780
2781 2003-06-11  John Levon  <levon@movementarian.org>
2782
2783         * lyx_main.C:
2784         * ToolbarBackend.h:
2785         * ToolbarBackend.C: add "Toolbars" section and
2786         put the flags there
2787
2788 2003-06-10  Angus Leeming  <leeming@lyx.org>
2789
2790         * lfuns.h:
2791         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2792
2793         * lyxfunc.C (dispatch): invoke it.
2794
2795 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2796
2797         * main.C: protect <ios> with HAVE_IOS
2798         (main): protect sync_with_stdio with HAVE_IOS
2799
2800 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2801
2802         * text2.C (cutSelection): adjust
2803         (pasteSelection): adjust
2804
2805         * messages.C: handle get of empty string
2806
2807         * main.C (main): use sync_with_stdio(false)
2808
2809         * lyxfunc.C (dispatch): adjust
2810
2811         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2812         (WriteAs): remove unneeded BufferView arg.
2813
2814         * bufferparams.h: use correct types on papersize, papersize2 and
2815         paperpackage.
2816
2817         * bufferparams.C (readToken): adjust for type
2818         (writeLaTeX): add missing cases to switch.
2819
2820         * bufferlist.C (quitWriteBuffer): adjust
2821         (close): adjust
2822
2823         * buffer.C (asciiParagraph): remove some commented code.
2824
2825         * CutAndPaste.C: remove current_view extern variable.
2826         (cutSelection): add BufferParams arg.
2827         (eraseSelection): add BufferParams arg.
2828         (pasteSelection): add Buffer const & arg
2829
2830 2003-06-07  John Levon  <levon@movementarian.org>
2831
2832         * buffer.C:
2833         * paragraph_funcs.C:
2834         * paragraph_pimpl.C:
2835         * text.C:
2836         * text2.C:
2837         * paragraph.h:
2838         * paragraph.C: allow InsetERT to freely space lines,
2839         and some consolidation of code
2840
2841 2003-06-06  José Matos  <jamatos@fep.up.pt>
2842
2843         * buffer.C (makeDocBookFile): fix bug #821
2844
2845 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2846
2847         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2848
2849 2003-06-04  Angus Leeming  <leeming@lyx.org>
2850
2851         * buffer.C: bump format to 224.
2852
2853 2003-06-05  André Pönitz  <poenitz@gmx.net>
2854
2855         * text2.C (redoParagraphs): remove two const_cast<>
2856
2857 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2858
2859         * ParagraphList.h: remove last remnants of NO_STD_LIST
2860
2861 2003-06-03  Angus Leeming  <leeming@lyx.org>
2862
2863         * factory.C (createInset): small change to the way InsetExternal's params
2864         are set.
2865
2866 2003-06-04  André Pönitz  <poenitz@gmx.net>
2867
2868         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2869
2870         * paragraph_pimpl.h:
2871         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2872
2873         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2874
2875         * undo_funcs.C: make some simple cases of undo work again
2876
2877 2003-06-03  John Levon  <levon@movementarian.org>
2878
2879         * ispell.C: HPUX doesn't have sys/select.h
2880         (from Albert Chin)
2881
2882 2003-06-03  John Levon  <levon@movementarian.org>
2883
2884         * CutAndPaste.C: update tabular and include inset
2885         buffer references
2886
2887         * buffer.h:
2888         * paragraph.h:
2889         * paragraph.C: remove owningBuffer(), don't pass Buffer
2890         to clone()
2891
2892         * factory.C: insetGraphicsParams changed
2893
2894 2003-06-02  John Levon  <levon@movementarian.org>
2895
2896         * LyXAction.C:
2897         * factory.C:
2898         * lfuns.h:
2899         * lyxfunc.C:
2900         * text3.C: remove insetparent
2901
2902 2003-06-02  John Levon  <levon@movementarian.org>
2903
2904         * buffer.h:
2905         * buffer.C: fix inset_iterator.end(), move out of line
2906         (bug 1149)
2907
2908 2003-06-01  John Levon  <levon@movementarian.org>
2909
2910         * text3.C: use a proper cut/paste when doing inset
2911         insert (from Jürgen Spitzmüller)
2912
2913 2003-06-01  John Levon  <levon@movementarian.org>
2914
2915         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2916
2917 2003-05-30  André Pönitz  <poenitz@gmx.net>
2918
2919         * rowpainter.C: unify second drawing phase
2920
2921 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2922
2923         * trans_mgr.C: remove one case of current_view
2924
2925         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2926
2927         * paragraph_funcs.h: remove paragraph.h include
2928
2929         * paragraph.h: delete NO_STD_LIST stuff
2930
2931         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2932
2933         * buffer.h: remove paragraph.h include
2934
2935         * ParagraphList.C: delete file
2936
2937         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2938
2939         * toc.C (getTocList): adjust
2940
2941         * paragraph_pimpl.C (validate): adjust
2942
2943         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2944
2945         * paragraph.C (Paragraph): adjust
2946         (getPositionOfInset): use const_iterator, adjust
2947         (bibitem): use const_iterator, adjust
2948         (setInsetOwner): adjust
2949
2950         * iterators.C (operator++): adjust
2951
2952         * InsetList.[Ch]: Replace selfmade iterator with standard
2953         vector::iterator also introduce const_iterator. Remove getPos,
2954         getInset and setInset from InsetTable. Adjust accordingly.
2955
2956         * BufferView.C (lockInset): adjust
2957         (ChangeInsets): adjust
2958
2959         * tabular.[Ch]: delete commented same_id functions
2960
2961 2003-05-28  John Levon  <levon@movementarian.org>
2962
2963         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2964
2965 2003-05-28  André Pönitz  <poenitz@gmx.net>
2966
2967         * metricsinfo.[Ch]: remove 'fullredraw' member
2968
2969 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2970
2971         * lyxtextclass.C (operator): remove caching.
2972
2973 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2974
2975         * text3.C: adjust
2976
2977         * text2.C (cursorBottom): adjust
2978         (setCounter): use ParagraphList::find, adjust
2979
2980         * text.C (workWidth): use ParagraphList::find, adjust
2981
2982         * lyxcursor.C (LyXCursor): adjust
2983
2984         * buffer.C (inset_iterator): adjust
2985
2986         * ParagraphList.h: make iterator(value_type) private, make
2987         ParagraphList a friend of iterator.
2988
2989         * ParagraphList.C (find): new function
2990
2991         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2992
2993 2003-05-27  André Pönitz  <poenitz@gmx.net>
2994
2995         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2996
2997 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2998
2999         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3000
3001 2003-05-26  John Levon  <levon@movementarian.org>
3002
3003         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3004
3005 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3006
3007         * remove same_id from function signatures, adjust.
3008
3009 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3010
3011         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3012
3013         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3014
3015         * paragraph.C (Paragraph): get rid of same_ids parameter
3016
3017         * ParagraphList.C (insert): adjust
3018         (push_back): adjust
3019
3020 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3021
3022         * paragraph_funcs.C (breakParagraph): adjust
3023         (breakParagraphConservative): adjust
3024
3025         * buffer.C (readParagraph): adjust
3026
3027         * ParagraphList.C (insert): take a reference instead of a pointer
3028         (insert): adjust
3029
3030         * paragraph.[Ch] (id): new function
3031
3032         * bufferlist.C (newFile): adjust
3033
3034         * ParagraphList.C (ParagraphList): adjust
3035         (assign): adjust
3036         (push_back): take a reference instead of a pointer.
3037
3038         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3039
3040         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3041         instead.
3042
3043         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3044         set else use old code.
3045
3046         * ParagraphList.C: remove all NO_NEXT code and only compile this
3047         code of NO_STD_LIST is set.
3048
3049 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3050
3051         * BufferView_pimpl.C:
3052         * TextCache.C:
3053         * TextCache.h:
3054         * bufferlist.C:
3055         * errorlist.h:
3056         * format.C:
3057         * format.h:
3058         * graph.C:
3059         * lyxfunc.C:
3060         * lyxrc.C:
3061         * graphics/GraphicsConverter.C:
3062         * graphics/PreviewLoader.C: header adjustment
3063
3064 2003-05-23  Angus Leeming  <leeming@lyx.org>
3065
3066         * LaTeXFeatures.[Ch] (useBabel): new method.
3067         * bufferparams.C (writeLaTeX): use it.
3068
3069 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3070
3071         * ParagraphList.h (set): remove unused function.
3072
3073 2003-05-23  André Pönitz  <poenitz@gmx.net>
3074
3075         * BufferView.C:
3076         * BufferView_pimpl.C:
3077         * buffer.C:
3078         * buffer.h:
3079         * lyxfunc.C:
3080         * undo_funcs.C: setUndo reworked
3081
3082         * iterators.[Ch]: add access to topmost ParagraphList
3083
3084         * lyxtext.[Ch] (workWidth): add a const
3085
3086 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3087
3088         * texrow.[Ch] (increasePos): remove function
3089         * exporter.C (export): removed unused var and outdated comment
3090
3091 2003-05-23  Angus Leeming  <leeming@lyx.org>
3092
3093         * latexrunparams.h: rename fragile as moving_arg.
3094         * paragraph.C (simpleTeXOnePar): ditto.
3095         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3096
3097 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3098
3099         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3100         (createUndo): ditto
3101         (textUndoOrRedo): comment out a currently unused var.
3102
3103         * paragraph.h (NO_NEXT): enable NO_NEXT
3104
3105         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3106
3107         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3108
3109         * exporter.C (Export): adjust for removeAutoInsets removal.
3110
3111         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3112
3113         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3114
3115         * BufferView.[Ch] (removeAutoInsets): delete function
3116
3117 2003-05-22  Angus Leeming  <leeming@lyx.org>
3118
3119         * latexrunparams.h: add a free_spacing variable.
3120
3121         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3122         to pass moving_arg, as the data is stored in runparams.fragile.
3123
3124         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3125         to Inset::latexOptional or to simpleTeXOnePar.
3126
3127         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3128         free_spacing arg to Inset::latexOptional.
3129
3130         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3131         free_spacing arg.
3132
3133 2003-05-22  Angus Leeming  <leeming@lyx.org>
3134
3135         * latexrunparams.h: add fragile and use_babel variables.
3136
3137         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3138         * buffer.C (makeLaTeXFile): store this returned value in
3139         runparams.use_babel, thus passing it to the inset::latex methods.
3140
3141         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3142         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3143
3144         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3145         longer has a fragile arg, as it is stored in runparams.fragile.
3146
3147         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3148         moving_arg parameter as the data is stored in runparams.fragile.
3149
3150         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3151         a fragile parameter as the data is stored in runparams.fragile.
3152
3153 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3154
3155         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3156
3157 2003-05-22  Angus Leeming  <leeming@lyx.org>
3158
3159         * latexrunparams.h: add a 'bool nice' which defaults to false.
3160
3161         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3162         now encapsulated within runparams.
3163
3164         * bufferlist.C (updateIncludedTeXfiles):
3165         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3166
3167 2003-05-22  Angus Leeming  <leeming@lyx.org>
3168
3169         * latexrunparams.h: new file containing struct LatexRunParams.
3170         * Makefile.am: add new file.
3171
3172         * LaTeX.[Ch] (c-tor, run):
3173         * buffer.[Ch] (makeLaTeXFile):
3174         * bufferlist.[Ch] (updateIncludedTeXfiles):
3175         * converter.C (convert, scanLog):
3176         * converter.[Ch] (runLaTeX):
3177         * exporter.C (Export):
3178         * paragraph.[Ch] (simpleTeXOnePar):
3179         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3180         * paragraph_funcs.[Ch] (latexParagraphs):
3181         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3182         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3183         pass around a LatexRunParams parameter.
3184
3185 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3186
3187         * paragraph.[Ch]: remove unused constructor
3188
3189         * ParagraphList.C (erase): new function, taking two iterators
3190
3191 2003-05-22  André Pönitz  <poenitz@gmx.net>
3192
3193         * undo_funcs.C: remove duplicated code
3194
3195         * iterator.[Ch]: operator=
3196
3197 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3198
3199         * tabular.C (SetMultiColumn): ws changes
3200
3201         * rowpainter.C (paintFirst): get rid of a ->previous
3202
3203         * lyx_cb.C (getPossibleLabel): parlist simplification
3204
3205         * BufferView.C (ChangeInsets): simplify slightly.
3206
3207 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3208
3209         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3210         * lfuns.h: new LFUN_SPACE
3211         * lyxfunc.C: protected space has a new lfun
3212         * paragraph_funcs.C: read new space insets
3213         * text3.C:
3214         * factory.C: handle new space insets
3215
3216 2003-05-22  André Pönitz  <poenitz@gmx.net>
3217
3218         * BufferView.C:
3219         * BufferView_pimpl.C:
3220         * buffer.[Ch]:
3221         * lyxfunc.C:
3222         * undo_funcs.C: return a ParIterator from getParFromID.
3223
3224         * iterators.[Ch]: add two const's
3225
3226 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3227
3228         * toc.C (getTocList): adjust
3229
3230         * iterators.[Ch]: rework for parlist
3231
3232         * buffer.C (par_iterator_begin): adjust
3233         (par_iterator_end): adjust
3234
3235         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3236
3237         * BufferView.C (removeAutoInsets): adjust
3238         (ChangeInsets): adjust
3239
3240 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3241
3242         * text.C (top_y): fix bug 1110
3243
3244 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3245
3246         * errorlist.[Ch]: added
3247         * buffer.C:
3248         * BufferView.[Ch]:
3249         * BufferView_pimpl.C:
3250         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3251         instead
3252
3253 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3254
3255         * Makefile.am: ensure that lyx is relinked upon changes to the
3256         various "convenience" libs.
3257
3258 2003-05-20  Angus Leeming  <leeming@lyx.org>
3259
3260         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3261         files are compiled in alphabetical order again.
3262
3263         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3264
3265 2003-05-19  Angus Leeming  <leeming@lyx.org>
3266
3267         * gettext.[Ch]: remove "char const * _(char const *)".
3268
3269 2003-05-19  André Pönitz  <poenitz@gmx.net>
3270
3271         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3272
3273         * Makefile.am:
3274         * BufferView.C:
3275         * DepTable.h:
3276         * LaTeXFeatures.C:
3277         * buffer.C:
3278         * lyxfont.C:
3279         * lyxlex.h:
3280         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3281
3282 2003-05-19  André Pönitz  <poenitz@gmx.net>
3283
3284         * buffer.C:
3285         * lyxlayout.[Ch]:
3286         * lyxtextclass.[Ch]:
3287         * paragraph.C:
3288         * paragraph_funcs.[Ch]:
3289         * text2.C:
3290         * text3.C: more insetenv work
3291
3292 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3293
3294         * ParagraphParameters.C (params2string): small bug fixed
3295
3296 2003-05-16  André Pönitz  <poenitz@gmx.net>
3297
3298         * debug.C:
3299         * bufferview_funcs.C: patch from Kornel Benko to prevent
3300           crash when _(...) is called twice in a statement
3301
3302 2003-05-16  André Pönitz  <poenitz@gmx.net>
3303
3304         * BufferView.C:
3305         * lyxfunc.C:
3306         * text.C:
3307         * text2.C:
3308         * text3.C:
3309         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3310
3311 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3312
3313         * lyx_main.C (init): remove spurious static_cast
3314
3315 2003-05-14  André Pönitz  <poenitz@gmx.net>
3316
3317         * BufferView.C: fix format string
3318
3319 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3320
3321         * BufferView.[Ch] (insertErrors): removed
3322         * BufferView.[Ch] (showErrorList): added
3323         * buffer.C (runChkTeX):
3324         * converter.C (scanLog): call showErrorList instead of inserterrors
3325
3326 2003-05-13  André Pönitz  <poenitz@gmx.net>
3327
3328         * BufferView_pimpl.C:
3329         * buffer.C:
3330         * bufferview_func.C:
3331         * MenuBackend.C:
3332         * lyxfunc.C:
3333         * lyxrc.C:
3334         * tex-accent.C:
3335         * text3.C:
3336         * toc.C:
3337         * tabular_funcs.h: tostr() from its own header
3338
3339         * ParagraphParameters.C:
3340         * ToolbarBackend.C:
3341         * bufferparams.C:
3342         * format.C:
3343         * lyxlex_pimpl.C:
3344         * text3.C: STRCONV()
3345
3346 2003-05-12  André Pönitz  <poenitz@gmx.net>
3347
3348         * BufferView.C:
3349         * BufferView_pimpl.C:
3350         * CutAndPaste.C:
3351         * LaTeX.C:
3352         * LaTeXFeatures.C:
3353         * ParagraphParameters.C:
3354         * buffer.C:
3355         * bufferlist.C:
3356         * bufferparams.C:
3357         * bufferview_funcs.C:
3358         * converter.C:
3359         * counters.C:
3360         * debug.C:
3361         * exporter.C:
3362         * format.C:
3363         * importer.C:
3364         * lyx_cb.C:
3365         * lyx_main.C:
3366         * lyxfont.C:
3367         * lyxfunc.C:
3368         * lyxvc.C:
3369         * paragraph.C:
3370         * paragraph_funcs.C:
3371         * tabular.C:
3372         * tabular_funcs.C:
3373         * text2.C:
3374         * text3.C:  boost::format -> bformat  all over the place
3375
3376
3377 2003-05-09  André Pönitz  <poenitz@gmx.net>
3378
3379         * LColor.[Ch]: Pimpl the #include <map> away
3380
3381 2003-05-09  John Levon  <levon@movementarian.org>
3382
3383         * bufferlist.C: never remove emergency saves
3384
3385 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3386
3387         * Makefile.am: better lib building
3388
3389 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3390
3391         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3392         instead.
3393         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3394         (simpleTeXSpecialChars): adjust
3395         (simpleTeXSpecialChars): adjust
3396         * paragraph.C (simpleTeXOnePar): adjust
3397         * buffer.C (makeLaTeXFile): adjust
3398
3399         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3400
3401         * text2.C (changeDepth): parlist cleanup
3402         (getColumnNearX): ditto
3403
3404         * rowpainter.C (getLabelFont): parlist cleanup
3405
3406         * bufferlist.C (newFile): parlist cleanup
3407
3408         * CutAndPaste.C (eraseSelection): parlist cleanup
3409
3410         * BufferView_pimpl.C (trackChanges): parlist cleanup
3411         (dispatch): ditto
3412
3413         * BufferView.C (lockInset): parlist cleanup.
3414         (ChangeInsets): ditto
3415
3416 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3417
3418         * CutAndPaste.h: Update file header.
3419
3420         * CutAndPaste.C: Update file header.
3421         Store the parts cut out of the Document in a limited_stack.
3422         (copySelection): adjust
3423         (pasteSelection): new function, takes the index in the limited stack.
3424         (nrOfParagraphs): adjust
3425         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3426         simplify error inset insertion.
3427         (checkPastePossible): adjust
3428
3429 2003-05-06  John Levon  <levon@movementarian.org>
3430
3431         * text2.C: don't cast wrap inset to float
3432
3433 2003-05-05  André Pönitz  <poenitz@gmx.net>
3434
3435         * iterator.C:
3436         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3437
3438         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3439           few naked Paragraph *.
3440
3441 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3442
3443         * bufferparams.C: Output warning if a document with missing
3444         TeX document class is loaded
3445         * exporter.C: Disable TeX exports if the document class is missing
3446         * lyxtextclass.C:
3447         * lyxtextclass.h:
3448         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3449         isTeXClassAvailable()
3450
3451 2003-05-03  John Levon  <levon@movementarian.org>
3452
3453         * BufferView.h:
3454         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3455         explicit cursor show/hide
3456
3457         * BufferView_pimpl.h:
3458         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3459         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3460
3461         * lyxfunc.C: hide cursor before dispatching.
3462
3463         * lyx_cb.C:
3464         * lyxfind.C:
3465         * text.C:
3466         * text3.C: remove explicit cursor hides
3467
3468 2003-05-02  André Pönitz  <poenitz@gmx.net>
3469
3470         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3471
3472         * undo_funcs.C:
3473         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3474           linked lists
3475
3476         * text2.C: tiny whitespace
3477
3478 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3479
3480         * undo_funcs.C: almost only ws changes.
3481
3482         * ParagraphList.C (splice): just return if pl is empty.
3483
3484 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3485
3486         * ParagraphList.C (splice): new function.
3487
3488         * CutAndPaste.C (pasteSelection): use it
3489
3490 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3491
3492         * CutAndPaste.C (pasteSelection): remove the last next and
3493         previous from this file.
3494
3495 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3496
3497         * CutAndPaste.C (pasteSelection): more clean up, user proper
3498         ParagraphList functions for pasteing.
3499
3500         * ParagraphList.C (insert): new function, three arg insert
3501
3502 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3503
3504         * ParagraphList.C (insert): new function, three arg insert
3505
3506         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3507         not on paragraphs.
3508
3509 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3510
3511         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3512
3513 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3514
3515         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3516
3517 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3518
3519         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3520         (copySelection): clean up a bit.
3521         (pasteSelection): use make_pair
3522
3523         * ParagraphList.C (ParagraphList): implement copy constructor
3524         (operator=): implement, base on copy constructor.
3525         (assign): new func
3526
3527         * paragraph.C (erase): return a bool
3528
3529         * paragraph_pimpl.C (erasePos): remove function, move contents...
3530         (erase): ... here. Return a bool.
3531         (erase): call erase instead of erasePos.
3532
3533 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3534
3535         * ParagraphList.h: define PitPosPair
3536         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3537         ParagraphList, fix a bug on pasting multiple pars
3538         * text2.C: change interface to C&P
3539
3540 2003-04-30  André Pönitz  <poenitz@gmx.net>
3541
3542         * undo_func.C: revert part of yesterday's patch 2
3543
3544 2003-04-30  John Levon  <levon@movementarian.org>
3545
3546         * LColor.C: s/tabular/table/
3547
3548 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3549
3550         * text3.C (dispatch): do not convert iterator -> pointer
3551         * undo_funcs.C (setCursorParUndo): ditto
3552         * text_funcs.C (transposeChars): ditto
3553
3554         * text2.C (setLayout): ws changes only
3555
3556         * text.C (breakParagraph): do not convert iterator -> pointer
3557         (insertChar): ditto
3558         (acceptChange): ditto
3559         (rejectChange): ditto
3560         (changeCase): ditto
3561         (Delete): ditto
3562         (backspace): ditto
3563
3564         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3565         pointer
3566
3567 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3568
3569         * text3.C (gotoInset): YABG (yet another bad getChar)
3570
3571 2003-04-29  André Pönitz  <poenitz@gmx.net>
3572
3573         * paragraph.h: make operator= private unimplemented as long as
3574           it is unusable
3575
3576         * ParagraphList.C: whitespace
3577
3578         * paragraph.[Ch]:
3579         * paragraph_pimpl.[Ch]:
3580         * paragraph_funcs.C:
3581         * CutAndPaste.C:
3582         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3583
3584         * text2.C:
3585           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3586
3587 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3588
3589         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3590         * paragraph.[Ch] (erase):
3591         * paragraph_pimpl.[Ch] (erase): change return type and value
3592         * text2.C (cutSelection): some rework
3593
3594 2003-04-28  John Levon  <levon@movementarian.org>
3595
3596         * bufferlist.C: changes for unsaved changes dialog
3597
3598 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3599
3600         * bufferlist.C (newFile): set language (messages_) for new
3601         documents also.
3602
3603         * buffer.C (readFile): ws changes only.
3604
3605 2003-04-28  André Pönitz  <poenitz@gmx.net>
3606
3607         * undo_funcs.C:
3608         * lyxfunc.C:
3609         * buffer.[Ch]:
3610         * BufferView_pimpl.C:
3611         * BufferView.C: getParFromID related ParagraphList::iterator changes
3612
3613 2003-04-28  André Pönitz  <poenitz@gmx.net>
3614
3615         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3616           Changes
3617
3618 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3619
3620         * messages.C: remove one more localedir class variable.
3621
3622 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3623
3624         * messages.C (getLocaleDir): singleton generation function
3625         (Pimpl): use it.
3626         (Messages): add a default constructor.
3627
3628         * main.C (main): do not setup localedir here, do not call
3629         gettext_init.
3630
3631         * gettext.C (_): use it.
3632         (gettext_init): delete funciton
3633
3634 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3635
3636         * gettext.C (getLyXMessages): new singleton generating function.
3637
3638         * buffer.C (updateDocLang): adjust
3639
3640         * Makefile.am (messages.o): add target
3641         (main.o): remove target
3642
3643 2003-04-27  John Levon  <levon@movementarian.org>
3644
3645         * bufferlist.C:
3646         * lyx_cb.C:
3647         * lyxfunc.C:
3648         * lyxvc.C: specify cancel button in Alert::prompt
3649
3650 2003-04-26  John Levon  <levon@movementarian.org>
3651
3652         * text3.C:
3653         * lyxfunc.C:
3654         * lfuns.h:
3655         * LyXAction.C: add LFUN_INSET_SETTINGS
3656
3657         * lyxfunc.C: don't enable tabular-feature when there's
3658         just any locking inset
3659
3660 2003-04-26  John Levon  <levon@movementarian.org>
3661
3662         * bufferlist.C: re-add Cancel to buffer close question
3663
3664         * lyxfunc.C: fix import UI a bit
3665
3666 2003-04-25  John Levon  <levon@movementarian.org>
3667
3668         * gettext.C: remove the broken asserts for now
3669
3670 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3671
3672         * messages.C: make case where setlocale cannot comply work better.
3673
3674         * buffer.C (updateDocLang): new function
3675         (changeLanguage): use it
3676         (readFile): use it
3677
3678         * text2.C (setCounter): use B_ a bit.
3679
3680         * lyxlayout.C (Read): be sure to trim the label strings.
3681
3682         * messages.C (Messages): fix typo in comment
3683
3684         * buffer.C (readFile): set message_ after file is loaded.
3685         (makeDocBookFile): remove double return
3686         (changeLanguage): reset message_ upon language change.
3687         (B_): new func, use this to get translated buffer strings.
3688
3689         * main.C: add myself and Jean Marc as authors.
3690
3691 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3692
3693         * messages.[hC]: pimplify Messages, and three different pimpls to be
3694         used in different circumstances.
3695
3696         * gettext.[Ch]: change for use with new message code.
3697
3698 2003-04-24 André Pönitz <poenitz@gmx.net>
3699
3700         * factory.C: support for eqref
3701
3702 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3703
3704         * messages.[Ch]: add missing char
3705
3706         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3707
3708         * messages.[Ch]: New files
3709
3710 2003-04-18  John Levon  <levon@movementarian.org>
3711
3712         * BufferView.h:
3713         * BufferView.C:
3714         * BufferView_pimpl.C:
3715         * lfuns.h:
3716         * LyXAction.C:
3717         * lyxtext.h:
3718         * text2.C: remove layout-copy/paste (bug 778)
3719
3720 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3721
3722         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3723
3724 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3725
3726         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3727         if they succeed. Act accordingly.
3728
3729 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3730
3731         * text2.C (setCharFont): adjust
3732         (setCounter): adjust
3733         (insertStringAsLines): adjust
3734
3735         * text.C (leftMargin): adjust
3736         (setHeightOfRow): adjust
3737
3738         * rowpainter.C (paintFirst): adjust
3739         (paintLast): adjust
3740
3741         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3742         (outerHook): ditto
3743         (isFirstInSequence): ditto
3744         (getEndLabel): ditto
3745         (outerFont): adjust
3746
3747         * paragraph.C (getParLanguage): comment out some hard stuff.
3748
3749         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3750         (sgmlError): ditto
3751         (simpleDocBookOnePar): ditto
3752         (makeDocBookFile): use ParagraphList::iterator
3753
3754         * CutAndPaste.C (pasteSelection): adjust
3755
3756 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3757
3758         * text2.C (getFont): adjust
3759         (getLayoutFont): adjust
3760         (getLabelFont): adjust
3761
3762         * paragraph_funcs.C (TeXOnePar): adjust
3763
3764         * buffer.C (simpleLinuxDocOnePar): adjust
3765         (simpleDocBookOnePar): adjust
3766
3767         * CutAndPaste.C (pasteSelection): adjust
3768
3769         * BufferView.C (getEncoding): adjust
3770
3771         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3772
3773 2003-04-16  John Levon  <levon@movementarian.org>
3774
3775         * lyxfind.C: use parlist stuff for search/changes
3776
3777 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3778
3779         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3780
3781         * text2.C (deleteEmptyParagraphMechanism): adjust
3782
3783         * text2.[Ch] (ownerParagraph): delete func (both of them
3784
3785 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3786
3787         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3788
3789 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3790
3791         * ParagraphList.C: prepare for NO_NEXT
3792
3793 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3794
3795         * text2.C (getFont): adjust
3796         (getLayoutFont): adjust
3797         (getLabelFont): adjust
3798
3799         * paragraph.C (getFont): adjust
3800         (getLabelFont): adjust
3801         (getLayoutFont): adjust
3802
3803         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3804
3805 2003-04-15  John Levon  <levon@movementarian.org>
3806
3807         From Angus Leeming
3808
3809         * lyx_main.C: handle Include in .ui files
3810
3811 2003-04-15  John Levon  <levon@movementarian.org>
3812
3813         * MenuBackend.C: make the doc files length shorter
3814
3815         * ToolbarBackend.h:
3816         * ToolbarBackend.C: handle toolbar placement flags,
3817         Minibuffer
3818
3819 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3820
3821         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3822         adjust
3823
3824         * paragraph_funcs.C (TeXOnePar): adjust
3825
3826         * paragraph.C (getLabelFont): add outerfont arg, adjust
3827         (getLayoutFont): ditto
3828         (simpleTeXOnePar): adjust
3829
3830         * paragraph_pimpl.C (realizeFont): delete func
3831
3832 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3833
3834         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3835         row argument, constify cur argument.
3836
3837 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3838
3839         * text2.C (getFont): adjust
3840         (getLayoutFont): adjust
3841         (getLabelFont): adjust
3842
3843         * paragraph_funcs.C (TeXOnePar): adjust
3844         (outerFont): new func...
3845         (realizeFont): ...moved out from here, changed this to facilitate
3846         transition
3847
3848         * paragraph.C (getFont): take outerfont as arg, adjust
3849         (simpleTeXOnePar): add outerfont arg, adjust
3850
3851         * buffer.C (simpleLinuxDocOnePar): adjust
3852         (simpleDocBookOnePar): adjust
3853
3854         * CutAndPaste.C (pasteSelection): adjust
3855
3856         * BufferView.C (getEncoding): adjust
3857
3858 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3859
3860         * text2.C (setCharFont): adjust
3861         (setCounter): adjust
3862
3863         * text.C (leftMargin): adjust
3864         (setHeightOfRow): adjust
3865
3866         * rowpainter.C (paintFirst): adjust
3867         (paintLast): adjust
3868
3869         * paragraph_pimpl.C (realizeFont): adjust
3870
3871         * paragraph.C (isFirstInSequence): move from here...
3872         * paragraph_funcs.C (isFirstInSequence): ...to here
3873
3874         * paragraph.C (outerHook): move from here...
3875         * paragraph_funcs.C (outerHook): ...to here
3876
3877         * paragraph.C (depthHook): move from here...
3878         * paragraph_funcs.C (depthHook): ...to here
3879
3880         * paragraph.C (getEndLabel): move from here...
3881         * paragraph_funcs.C (getEndLabel): ...to here
3882
3883         * text2.C (realizeFont): move from here...
3884         * paragraph_funcs.C (realizeFont): ...to here
3885
3886 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3887
3888         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3889
3890 2003-04-14  Angus Leeming  <leeming@lyx.org>
3891
3892         * LColor.[Ch]: scrap LColor mathcursor.
3893
3894 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3895
3896         * lyxlex.[Ch] (text): delete function
3897         * trans.C (Load): adjust
3898         * paragraph_funcs.C (readParToken): adjust
3899
3900 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3901
3902         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3903         vector<char> instead of a char[].
3904
3905         * lyxlex_pimpl.C (getString): adjust
3906         (next): adjust
3907         (lex): use getString
3908         (eatLine): adjust
3909         (nextToken): adjust
3910
3911         * lyxlex.C (text): use pimpl_->getString()
3912         (getBool): ditto
3913         (findToken): ditto
3914
3915 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3916
3917         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3918         (makeFontEntriesLayoutSpecific): temp var for par.size()
3919         (setLayout): temp var for ownerParagraphs().end()
3920         (fullRebreak): temp var for rows().end()
3921         (selectionAsString): temp var for boost::next(startpit), realize
3922         that the while really is a regular for loop.
3923         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3924         setCursor in one place.
3925         (setParagraph): temp vr for ownerParagraphs().end()
3926         (updateCounters): make the while loop a for loop
3927         (cutSelection): temp var for ownerParagraphs().end()
3928         (updateInset): make the do {} while() a regular for loop
3929         (getCursorX): use temp vars
3930         (setCurrentFont): use temp vars
3931         (getColumnNearX): use temp vars
3932
3933 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3934
3935         * text.C (transformChar): use temp var for getChar
3936         (computeBidiTables): use temp var for row->par()
3937         (fill): move temp vars for row->par() and pit->layout() earlier in
3938         the function.
3939         (labelFill): use temp var for row->par()
3940         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3941         asc and desc, realize that pit never changes and that firstpit is
3942         just a duplicate and not needed. Exchange rit->par() with pit in a
3943         lot of places.
3944         (breakAgain): use a temp var for boost::next(rit)
3945         (breakAgainOneRow): ditto
3946         (breakParagraph): use a temp var for rows().begin()
3947         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3948         (cursorRightOneWord): use temp var for cursor.par() and
3949         cursor.pos(), remove usage of tmpcursor.
3950         (cursorLeftOneWord): use temp var for cursor.par() and
3951         cursor.pos() only set cur at end of function.
3952
3953 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3954
3955         * text.C, text2.C: exchange all usage of Paragraph::next with
3956         boost::next(ParagraphList::iterator)
3957
3958         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3959
3960         * text2.C (cursorTop): simplify implementation
3961         (cursorBottom): ditto
3962         (setParagraph): use ParagraphList::iterator
3963         (setCurrentFont): adjust
3964         (getColumnNearX): adjust
3965         (cursorRight): adjust
3966         (cursorLeft): remove usage of Paragraph::previous
3967         (cursorUpParagraph): ditto
3968         (deleteEmptyParagraphMechanism): slight cleanup
3969
3970         * text.C (isBoundary): take a Paragraph const & instead of a
3971         pointer as arg.
3972         (addressBreakPoint): ditto
3973         (leftMargin): remove usage of Paragraph::previous.
3974         (setHeightOfRow): ditto
3975         (cursorLeftOneWord): ditto
3976         (selectNextWordToSpellcheck): ditto
3977         (Delete): ditto
3978         (backspace): ditto
3979         (breakParagraph): remove one usage of Paragraph::next
3980         (redoParagraph): ditto
3981         (acceptChange): ditto
3982         (insertChar): adjust
3983         (rowBreakPoint): adjust
3984
3985         * bufferview_funcs.C (toggleAndShow): adjust
3986
3987 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3988
3989         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3990         methods to access it.
3991         * lyxtext.h:
3992         * text.C: Added updateRowPositions to compute all row positions.
3993         Make top_y and getRowNearY() to use the cached y position
3994
3995 2003-04-11  John Levon  <levon@movementarian.org>
3996
3997         * text.C (rowBreakPoint): reintroduce the labelEnd
3998         checks, code copied from the row fill stuff. Deep voodoo.
3999
4000         * text.C (fill): add a comment and debugging for the
4001         next poor soul.
4002
4003 2003-04-11  John Levon  <levon@movementarian.org>
4004
4005         * text.C: make sure fullrow insets get wrapped to the next line,
4006         even when they're in a manual label
4007
4008 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4009
4010         * text2.C (insertParagraph): make it take ParagraphList::iterator
4011         as arg.
4012         (setLayout): make it return ParagraphList::iterator
4013         (redoParagraphs): ditto
4014         (setCounter): ditto
4015         (checkParagraph): ditto
4016
4017         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4018
4019         * text2.C: adjust several funcs.
4020         (realizeFont): take a ParagraphList::iterator as arg.
4021         (getLayoutFont): ditto
4022         (getLabelFont): ditto
4023         (setCharFont): ditto
4024
4025         * text.C: adjust several funcs.
4026
4027 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4028
4029         * text.C (selectNextWordToSpellcheck): don't accidentally
4030         skip insets
4031
4032 2003-04-10  John Levon  <levon@movementarian.org>
4033
4034         * ToolbarBackend.C (getIcon): special handling for
4035         LFUN_MATH_DELIM
4036
4037 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4038
4039         * text2.C (cursorRight): a getChar assert fixed
4040
4041 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4042
4043         * text2.C (getFont): change to take a ParagraphList::iterator
4044         instead of Paragraph*
4045         Adjust several functions.
4046
4047         * text.C (transformChar): change to take a ParagraphList::iterator
4048         instead of Paragraph*
4049         (singleWidth): ditto
4050         Adjust several functions.
4051
4052         * rowpainter.C: adjust several functions
4053         * rowpainter.h:store a ParagraphList::iterator and not a
4054         Paragraph&.
4055
4056
4057 2003-04-09  John Levon  <levon@movementarian.org>
4058
4059         * lyxfunc.C:
4060         * lfuns.h:
4061         * LyXAction.h:
4062         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4063         and the "help" bits as well
4064
4065 2003-04-09  John Levon  <levon@movementarian.org>
4066
4067         * ToolbarBackend.h:
4068         * ToolbarBackend.C: allow multiple toolbars
4069
4070 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4071
4072         * undo_funcs.C (setCursorParUndo): adjust
4073
4074         * text_funcs.C (transposeChars): adjust
4075
4076         * text3.C (gotoNextInset): adjust
4077         (dispatch): adjust
4078
4079         * text2.C (setLayout): adjust
4080         (changeDepth): adjust
4081         (setFont): adjust
4082         (redoParagraphs): adjust
4083         (selectionAsString): adjust
4084         (setParagraph): adjust
4085         (insertInset): adjust
4086         (cutSelection): adjust
4087         (copySelection): adjust
4088         (pasteSelection): adjust
4089         (insertStringAsLines): adjust
4090         (updateInset): adjust
4091         (setCursor): change to take a ParagraphList::iterator parameter
4092         (setCursorIntern): change to take a ParagraphList::iterator parameter
4093         (setCurrentFont): adjust
4094         (cursorLeft): adjust
4095         (cursorRight): adjust
4096         (deleteEmptyParagraphMechanism): adjust
4097
4098         * text.C (breakParagraph): adjust
4099         (insertChar): adjust
4100         (acceptChange): adjust
4101         (rejectChange): adjust
4102         (selectNextWordToSpellcheck): adjust
4103         (changeCase): adjust
4104         (Delete): adjust
4105         (backspace): adjust
4106
4107         * lyxfind.C (SearchForward): adjust
4108         (SearchBackward): adjust
4109         (nextChange): adjust
4110
4111         * lyxcursor.C (par): adjust
4112
4113         * lyxcursor.h: store a ParagraphList::iterator instead of a
4114         Paragraph*
4115
4116         * lyx_cb.C (getPossibleLabel): adjust
4117
4118         * bufferview_funcs.C (toggleAndShow): adjust
4119
4120         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4121         (dispatch): adjust
4122
4123         * BufferView.C (removeAutoInsets): adjust
4124         (lockedInsetStoreUndo): adjust
4125
4126 2003-04-09  John Levon  <levon@movementarian.org>
4127
4128         * ToolbarBackend.C: try icon without argument
4129         if with argument fails
4130
4131 2003-04-08  John Levon  <levon@movementarian.org>
4132
4133         * ToolbarBackend.h:
4134         * ToolbarBackend.C: add getIcon(), handle tooltip,
4135         and change from "Icon" to "Item".
4136
4137 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4138
4139         * BufferView.C (lockInset): another bad getchar crunched
4140
4141 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4142
4143         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4144         again)
4145
4146 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4147
4148         * lyxfind.C (searchForward, searchBackwards): bug 782
4149
4150 2003-04-07  John Levon  <levon@movementarian.org>
4151
4152         * paragraph.C: remove dead comment
4153
4154         * text.C: remove troublesome depth-fiddling code
4155         in leftMargin() and rightMargin() (bug 1017)
4156
4157         * text.C: fix breaking of rows in nested lists
4158         (bug 1004)
4159
4160         * text2.C (updateCounters): fix up depth values
4161         (bug 1013)
4162
4163 2003-04-07  John Levon  <levon@movementarian.org>
4164
4165         * BufferView_pimpl.C: clear message when doc finishes resizing,
4166         and after a mouse event
4167
4168         * lyxfunc.C: clear message after exiting inset
4169
4170 2003-04-07  John Levon  <levon@movementarian.org>
4171
4172         * bufferview_funcs.C: show math status not outside
4173         status in the statusbar
4174
4175 2003-04-07  John Levon  <levon@movementarian.org>
4176
4177         * lyxfunc.C: note status changed after a depth change
4178
4179 2003-04-04  Angus Leeming  <leeming@lyx.org>
4180
4181         * LaTeX.h: move AuxInfo operator==, != out of line.
4182         Remove LaTeX virtual destructor; nothing derives from it.
4183         Move operator()() out of public area and rename it startscript().
4184         Change protected for private.
4185
4186 2003-04-04  Angus Leeming  <leeming@lyx.org>
4187
4188         * lyxfunc.C:
4189         * text2.C: remove unneeded #includes.
4190
4191 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4192
4193         * text2.C (dEPM): fix the heigth of the next row
4194
4195 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4196
4197         * text.C: squashed an invalid getChar requester + some ws changes
4198
4199 2003-04-03  John Levon  <levon@movementarian.org>
4200
4201         * bufferview_funcs.h:
4202         * bufferview_funcs.C:
4203         * lyxfunc.C:
4204         * lyxtext.h:
4205         * text2.C: make getStatus work for the env depth lfuns
4206
4207 2003-04-03  John Levon  <levon@movementarian.org>
4208
4209         * bufferview_funcs.h:
4210         * bufferview_funcs.C:
4211         * lyxfunc.C:
4212         * lyxtext.h:
4213         * text2.C: parlistize decDepth(), by merging it with incDepth()
4214
4215 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4216
4217         * lyxrow.h: store a ParagraphList::iterator instead of a
4218         Paragraph* and adjust other class functions to suit.
4219
4220         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4221         above.
4222
4223 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4224
4225         * text2.C (setCursor): do not anchor to cursor row for the time being
4226
4227 2003-04-02  John Levon  <levon@movementarian.org>
4228
4229         * LyXAction.C:
4230         * lfuns.h:
4231         * lyx_main.C:
4232         * lyxtext.h:
4233         * text.C:
4234         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4235
4236 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4237
4238         * paragraph.h: make ParagraphList and ParagraphList::iterator
4239         friends of Paragraph.
4240
4241         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4242
4243         * ParagraphList.C: Use the private next_ and previous_ from
4244         Paragraph.
4245
4246 2003-04-01  John Levon  <levon@movementarian.org>
4247
4248         * ToolbarBackend.h:
4249         * ToolbarBackend.C:
4250         * Makefile.am: rename, remove defaults gunk
4251
4252         * MenuBackend.h:
4253         * MenuBackend.C: remove defaults gunk
4254
4255         * Languages.h:
4256         * Languages.C: remove defaults gunk
4257
4258         * lyx_main.h:
4259         * lyx_main.C: error out if files couldn't be found.
4260
4261 2003-04-02  John Levon  <levon@movementarian.org>
4262
4263         * text2.C: make incDepth() use parlist
4264
4265 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4266
4267         * undo_funcs.C (firstUndoParagraph): adjust
4268
4269         * text3.C (gotoInset): adjust
4270         (dispatch): adjust, and rewrite loop.
4271
4272         * text2.C (init): adjust, and rewrite loop.
4273         (redoParagraphs): adjust
4274         (updateInset): adjust, and rewrite loop.
4275         (deleteEmptyParagraphMechanism): adjust
4276
4277         * tabular.C (LyXTabular): adjust
4278         (SetMultiColumn): adjust
4279         (TeXRow): adjust
4280
4281         * lyxtext.[Ch] (ownerParagraph): delete function
4282         (ownerParagraphs): new function returns a ParagraphList.
4283
4284         * BufferView.C (removeAutoInsets): adjust
4285         (insertErrors): adjust
4286         (setCursorFromRow): adjust
4287
4288 2003-04-01  Angus Leeming  <leeming@lyx.org>
4289
4290         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4291         in the frontends.
4292
4293 2003-04-02  John Levon  <levon@movementarian.org>
4294
4295         * lyxtext.h:
4296         * text.C:
4297         * Makefile.am:
4298         * text_funcs.h:
4299         * text_funcs.C: make transposeChars a free function
4300
4301         * lyxrow_funcs.C: remove wrong comment
4302
4303 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4304
4305         * lyxtext.h: adjust
4306         * rowpainter.C: adjust
4307         * text.C: adjust
4308         * text2.C: adjust
4309         * text3.C: adjust
4310
4311         * lyxrow_funcs. [Ch]: new files
4312
4313         * lyxrow.[Ch]: remove next and previous pointers
4314         (next,previous): remove accessor functions
4315         (isParEnd): move to lyxrow_funcs
4316         (lastPos): move to lyxrow_funcs
4317         (nextRowIsAllInset): move to lyxrow_funcs
4318         (lastPrintablePos): move to lyxrow_funcs
4319         (numberOfSeparators): move to lyxrow_funcs
4320         (numberOfHfills): move to lyxrow_funcs
4321         (numberOfLabelHfills): move to lyxrow_funcs
4322         (hfillExpansion): move to lyxrow_funcs
4323
4324         * lyxfunc.C: adjust
4325
4326         * bufferview_funcs.C (toggleAndShow): adjust
4327
4328         * RowList.h: Remove class RowList from file leave just a
4329         std::list<Row>.
4330
4331         * RowList.C: delete file
4332
4333         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4334         and lyxrow_funcs.h
4335
4336 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4337
4338         * text3.C (cursorPrevious): adjust
4339         (cursorNext): adjust
4340         (dispatch): adjust
4341
4342         * text2.C (redoHeightOfParagraph): adjust
4343         (redoDrawingOfParagraph): adjust
4344         (setCursor): adjust
4345
4346         * text.C (breakParagraph): adjust
4347         (insertChar): adjust
4348         (backspace): adjust
4349
4350         * rowpainter.C (RowPainter): adjust
4351         (leftMargin): simplify and adjust
4352         (most rowpainter functions): adjust.
4353
4354         * rowpainter.h: store the row as RowList::iterator not as Row*
4355
4356         * lyxcursor.C (row): taka RowList::iterator as arg
4357         (irow): ditto
4358
4359         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4360         of Row*.
4361
4362 2003-04-01  Angus Leeming  <leeming@lyx.org>
4363
4364         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4365         stuff like bool Bool.
4366
4367 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4368
4369         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4370         rewrite a loop
4371
4372 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4373
4374         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4375         RowList::iterator.
4376
4377         * lyxtext.h (rows): drop one version and leve a const variant that
4378         returns a RowList::iterator.
4379
4380 2003-03-31  Angus Leeming  <leeming@lyx.org>
4381
4382         * text.C (fill): ensure that the signature is the same as that in the
4383         header file.
4384
4385 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4386
4387         * text2.C (redoParagraphs): adjust
4388         (updateCounters): adjust
4389         (checkParagraph): adjust
4390         (getColumnNearX): adjust and reformat a bit.
4391
4392         * text.C (top_y): adjust
4393         (workWidth): adjust
4394         (leftMargin): adjust
4395         (prepareToPrint): adjust
4396         (getRow): adjust
4397         (getRowNearY): adjust
4398
4399         * lyxtext.h: make rowlist_ mutable.
4400
4401         * RowList.h: add const_iterator
4402         * RowList.C: adjust for RowList::const_iterator.
4403
4404         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4405         adjust.
4406
4407 2003-03-31  John Levon  <levon@movementarian.org>
4408
4409         * lyxrc.h:
4410         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4411
4412         * lyx_main.C: set default fonts from using lyx_gui funcs
4413
4414         * exporter.C: pdf_mode moved from lyxrc
4415
4416         * lyx_cb.C:
4417         * lyxfunc.C: changes from above
4418
4419 2003-03-31  John Levon  <levon@movementarian.org>
4420
4421         * lyx_main.C: fix to the last fix
4422
4423 2003-03-31  John Levon  <levon@movementarian.org>
4424
4425         * bufferlist.C: "Load original" -> "Load Original"
4426
4427         * converter.C:
4428         * exporter.C:
4429         * importer.C:
4430         * lyx_main.C:
4431         * format.C: more Alert cleanups
4432
4433 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4434
4435         * text2.C (removeParagraph): make it take a RowList::iterator as
4436         arg, adjust.
4437         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4438         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4439
4440         * text.C (anchor_row): make it take a RowList::iterator as arg,
4441         adjust.
4442         (computeBidiTables): make it take a const reference to Row instead
4443         of Row pointer, adjust.
4444         (leftMargin): make it take a RowList::iterator as arg, adjust.
4445         (rowBreakPoint): adjust
4446         (breakAgainOneRow): make it take a RowList::iterator as arg,
4447         adjust.
4448         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4449
4450         * bufferview_funcs.C (toggleAndShow): adjust
4451
4452 2003-03-30  John Levon  <levon@movementarian.org>
4453
4454         * Makefile.am:
4455         * BoostFormat.h:
4456         * boost-inst.C: moved to support
4457
4458         * several files: changes as a result
4459
4460 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4461
4462         * text2.C (LyXText): adjust.
4463         (init): adjust
4464         (removeRow): make it take a RowList::iterator as arg, adjust.
4465         (fullRebreak): adjust
4466         (deleteEmptyParagraphMechanism): adjust
4467         (clearPaint): adjust
4468         (postPaint): adjust
4469
4470         * text.C (top_y): adjust
4471         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4472         (breakAgain): make it take a RowList::iterator as arg, adjust.
4473         (breakParagraph): adjust
4474         (insertChar): adjust
4475         (backspace): adjust
4476
4477         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4478         need_break_row, and refresh_row.
4479
4480         * text3.C (dispatch): adjust
4481
4482         * text2.C (checkParagraph): adjust
4483         (setCursor): adjust
4484         (setCursorFromCoordinates): adjust
4485
4486         * text.C (top_y): adjust
4487         (workWidth): adjust
4488         (getRow): make it return a RowList::iterator, adjust
4489         (getRowNearY): make it return a RowList::iterator, adjust
4490
4491         * text2.C (init): adjust
4492         (insertRow): remove function
4493         (insertParagraph): adjust
4494         (redoParagraphs): adjust
4495         (fullRebreak): adjust
4496         (updateCounters): adjust
4497
4498         * text.C (top_y): rewrite to use RowList iterators.
4499         (top_y): adjust
4500         (setHeightOfRow): rewrite to sue RowList iterators.
4501         (appendParagraph): adjust
4502         (breakAgain): adjust
4503         (breakAgainOneRow): adjust
4504         (breakParagraph): adjust
4505         (getRow): adjust
4506         (getRowNearY): adjust, and remove commented code.
4507
4508         * lyxtext.h (firstRow): delete function
4509         (lastRow): delete function
4510         (rows): new function (const and non-const versions.)
4511         (insertRow): delete function
4512
4513         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4514
4515 2003-03-29  John Levon  <levon@movementarian.org>
4516
4517         * BufferView_pimpl.C: always update scrollbar top
4518         because pasting text when we're anchored could mean we
4519         miss an update altogether
4520
4521 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4522
4523         * text2.C (init): use rowlist_.end() and not 0.
4524         (insertRow): change to take a RowList::iterator as arg, adjust
4525         for this.
4526         (insertParagraph): change to take a RowList::iterator as arg,
4527         adjust for this.
4528         (redoParagraphs): remove some debug msgs.
4529
4530         * text.C (appendParagraph): change to take a RowList::iterator
4531         arg, adjust for this.
4532         (breakAgain): add an assert
4533         (breakAgainOneRow): ditto
4534
4535 2003-03-29  John Levon  <levon@movementarian.org>
4536
4537         * text2.C: do not clear selection after inc/decDepth
4538         (bug 550)
4539
4540 2003-03-29  John Levon  <levon@movementarian.org>
4541
4542         * BufferView.C:
4543         * buffer.C: fix broken strerrors according to Lars
4544
4545 2003-03-29  John Levon  <levon@movementarian.org>
4546
4547         * converters.C: more Alert cleanups
4548
4549 2003-03-29  John Levon  <levon@movementarian.org>
4550
4551         * bufferview_funcs.C: remove pointless Alert
4552
4553         * buffer.C: fix confusing error message when
4554         a template is chmoded 000
4555
4556 2003-03-29  John Levon  <levon@movementarian.org>
4557
4558         * BufferView.C:
4559         * BufferView.h:
4560         * BufferView_pimpl.C: Alert fixes
4561
4562         * Makefile.am:
4563         * tabular.C:
4564         * tabular-old.C: remove unused table compat reading
4565
4566 2003-03-29  John Levon  <levon@movementarian.org>
4567
4568         * BufferView.C:
4569         * buffer.C:
4570         * lyx_cb.h:
4571         * lyx_cb.C: more Alert cleanups
4572
4573         * lyxfunc.C: don't allow chktex if not latex document
4574
4575 2003-03-29  John Levon  <levon@movementarian.org>
4576
4577         * lyx_cb.C:
4578         * BufferView.C:
4579         * buffer.C: warnings pushed down from support/,
4580         kill err_alert
4581
4582 2003-03-29  John Levon  <levon@movementarian.org>
4583
4584         * lyxfunc.C: safety check for C-r (revert)
4585
4586 2003-03-29  John Levon  <levon@movementarian.org>
4587
4588         * bufferlist.h:
4589         * bufferlist.C: several UI fixes using Alert::prompt.
4590         Fix the pointless looping quit code. Fix stupid revert
4591         behaviour (bug 938)
4592
4593         * lyxvc.h:
4594         * lyxvc.C:
4595         * lyx_cb.C: use Alert::prompt
4596
4597         * lyx_main.C: remove a silly question
4598
4599         * lyxfunc.C: remove a couple of silly questions,
4600         use Alert::prompt
4601
4602 2003-03-28  John Levon  <levon@movementarian.org>
4603
4604         * text2.C: fix bug 974 (End on empty par)
4605
4606 2003-03-28  John Levon  <levon@movementarian.org>
4607
4608         * BufferView_pimpl.C:
4609         * LyXAction.C:
4610         * lfuns.h: remove do-nothing math greek lfuns
4611
4612 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4613
4614         * lyxgluelength.h (isValidGlueLength): add default arg on
4615         parameter 2. Remove default arg from friend in class.
4616
4617         * lyxlength.h (isValidLength): add default arg on parameter 2.
4618         Remove default arg from friend in class.
4619
4620         * text2.C (LyXText): adjust, initialize refresh_row.
4621         (init): adjust
4622         (removeRow): adjust
4623         (insertRow): adjust
4624         (insertParagraph): adjst
4625         (redoParagraphs): adjust
4626         (fullRebreak): adjust
4627         (updateCounters): adjust
4628         (deleteEmptyParagraphMechanism): first attempt at fixing a
4629         crashing bug.
4630
4631         * text.C (top_y): adjust
4632         (setHeightOfRow): adjust
4633         (getRow): adjust
4634         (getRowNearY): adjust
4635
4636         * lyxtext.h: include RowList.h
4637         (~LyXText): not needed anymore, deleted.
4638         (firstRow): modify for RowList
4639         (lastRow): new function
4640         Delete firstrow and lastrow class variables, add a Rowlist
4641         rowlist_ class variable.
4642
4643         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4644         paragraph is empty.
4645
4646         * RowList.C (insert): fix case where it == begin().
4647
4648 2003-03-26  Angus Leeming  <leeming@lyx.org>
4649
4650         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4651         the thesaurus dialog.
4652
4653 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4654
4655         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4656
4657         * RowList.[Ch]: new files
4658
4659         * ParagraphList.C (erase): handle the case where it == begin
4660         correctly.
4661
4662 2003-03-25  John Levon  <levon@movementarian.org>
4663
4664         * Makefile.am:
4665         * aspell_local.h:
4666         * aspell.C: add new aspell support
4667
4668         * lyxrc.h:
4669         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4670         have it accessible.
4671
4672 2003-03-25  Angus Leeming  <leeming@lyx.org>
4673
4674         * lfuns.h:
4675         * LyXAction.C (init): new LFUN_INSET_INSERT.
4676
4677         * BufferView_pimpl.C (dispatch): split out part of the
4678         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4679
4680         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4681         LFUN_INSET_APPLY.
4682
4683 2003-03-25  Angus Leeming  <leeming@lyx.org>
4684
4685         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4686
4687 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4688
4689         * text2.C:
4690         * text3.C: remove useless row->height(0)
4691
4692 2003-03-25  John Levon  <levon@movementarian.org>
4693
4694         * lyxtext.h:
4695         * text2.C:
4696         * text3.C: rename the refreshing stuff to better names
4697
4698 2003-03-24  John Levon  <levon@movementarian.org>
4699
4700         * BufferView_pimpl.h:
4701         * BufferView_pimpl.C: update layout choice on a mouse
4702         press/release
4703
4704 2003-03-23  John Levon  <levon@movementarian.org>
4705
4706         * Makefile.am: fix commandtags.h reference
4707
4708 2003-03-22  John Levon  <levon@movementarian.org>
4709
4710         * BufferView_pimpl.C:
4711         * lyxtext.h:
4712         * rowpainter.C:
4713         * rowpainter.h:
4714         * text.C:
4715         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4716
4717 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4718
4719         * lyxtext.h:
4720         * text.C: take the rtl methods out of line
4721
4722 2003-03-21 André Pönitz <poenitz@gmx.net>
4723
4724         * metricsinfo.[Ch]: new files containing structures to be passed around
4725         during the two-phase-drawing...
4726
4727 2003-03-21 André Pönitz <poenitz@gmx.net>
4728
4729         * lyxtextclass.C: read 'environment' tag.
4730
4731 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4732
4733         * text2.C (removeRow): fix bug 964
4734
4735 2003-03-20  John Levon  <levon@movementarian.org>
4736
4737         * rowpainter.C:
4738         * text.C:
4739         * text2.C: paint cleanups. Inset::update() dropped font
4740         parameter
4741
4742 2003-03-19  John Levon  <levon@movementarian.org>
4743
4744         * lyxfunc.C: only fitcursor/markDirty if available()
4745
4746 2003-03-19  John Levon  <levon@movementarian.org>
4747
4748         * commandtags.h: rename to ...
4749
4750         * lfuns.h: ... this, and renumber / cleanup
4751
4752 2003-03-19  John Levon  <levon@movementarian.org>
4753
4754         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4755         fit the cursor after an lfun
4756
4757         * BufferView.h:
4758         * BufferView.C:
4759         * BufferView_pimpl.h:
4760         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4761
4762         * LyXAction.C: layout-character should have ReadOnly
4763
4764         * ParagraphParameters.C:
4765         * buffer.C:
4766         * bufferview_funcs.C:
4767         * lyx_cb.C:
4768         * lyxfind.C:
4769         * lyxtext.h:
4770         * text.C:
4771         * text2.C:
4772         * text3.C:
4773         * undo_funcs.C: changes from above
4774
4775 2003-03-18  John Levon  <levon@movementarian.org>
4776
4777         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4778         remove it from update()
4779
4780         * lyxfunc.C: update layout choice after an lfun
4781
4782         * text3.C: remove extra updateLayoutChoice()s
4783
4784 2003-03-18  John Levon  <levon@movementarian.org>
4785
4786         * text.C: top_y change means full repaint, fix
4787         a drawing bug with cursor movement
4788
4789 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4790
4791         * lyxtext.h:
4792         * text.C:
4793         * text2.C: anchor row on setCursor
4794
4795 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4796
4797         * lyxtext.h: remove almost all mutable keywords
4798         * text.C:
4799         * text2.C:
4800         * text3.C: remove const keywords accordingly
4801
4802 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4803
4804         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4805         anon namespace
4806         (TeXEnvironment): ditto
4807         (TeXOnePar): ditto
4808
4809 2003-03-17  John Levon  <levon@movementarian.org>
4810
4811         * text.C (rowBreakPoint): remove attempt to fix displayed
4812         math insets inside a manual label
4813
4814 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4815
4816         * lyxtext.h: remove BufferView* as first arg from almost all class
4817         functions.
4818         * other files: adjust.
4819
4820 2003-03-17  John Levon  <levon@movementarian.org>
4821
4822         * lyxtext.h:
4823         * undo_funcs.C:
4824         * text2.C: more paint cleanups
4825
4826         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4827
4828         * rowpainter.h:
4829         * rowpainter.C: remove "smart" background painting code
4830
4831 2003-03-16  John Levon  <levon@movementarian.org>
4832
4833         * lyxtext.h:
4834         * text.C:
4835         * text2.C:
4836         * text3.C: add helper functions for setting refresh_row/y
4837
4838 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4839
4840         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4841         newline inset which *can* get inserted in the pass_thru layouts.
4842         This is primarily for literate documents.
4843
4844 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4845
4846         * buffer.C: increment LYX_FORMAT to 223
4847
4848 2003-03-14 André Pönitz <poenitz@gmx.net>
4849
4850         * textclass.h: prepare for environment handling, ws changes
4851         * lyxlayout.C: read latexheader and latexfooter tags
4852
4853 2003-03-14  John Levon  <levon@movementarian.org>
4854
4855         * text2.C: rewrite ::status() a bit
4856
4857 2003-03-13  John Levon  <levon@movementarian.org>
4858
4859         * lyxtext.h: add some docs
4860
4861 2003-03-13  John Levon  <levon@movementarian.org>
4862
4863         * lyxtext.h:
4864         * text.C:
4865         * text2.C:
4866         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4867
4868 2003-03-13  John Levon  <levon@movementarian.org>
4869
4870         * text3.C: fix appendix redrawing
4871
4872 2003-03-13  John Levon  <levon@movementarian.org>
4873
4874         * text.C (setHeightOfRow):
4875         * rowpainter.h:
4876         * rowpainter.C: make appendix mark have the text
4877           "Appendix" so the user knows what it is
4878
4879         * LColor.h:
4880         * LColor.C: s/appendixline/appendix/ from above
4881
4882 2003-03-13  John Levon  <levon@movementarian.org>
4883
4884         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4885
4886         * text.C: fix a getChar(pos) bug properly
4887
4888 2003-03-13  Angus Leeming  <leeming@lyx.org>
4889
4890         * commandtags.h:
4891         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4892         Probably only temporary. Let's see how things pan out.
4893
4894         * BufferView.C (unlockInset):
4895         * BufferView_pimpl.C (fitCursor):
4896         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4897
4898         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4899         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4900
4901         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4902         new functions that convert ParagraphParameters to and from a string.
4903
4904         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4905         BufferView::Pimpl's dispatch.
4906         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4907
4908 2003-03-13 André Pönitz <poenitz@gmx.net>
4909
4910         * lyxfunc.C:
4911         * text3.C:
4912         * factory.C: make it aware of InsetEnv
4913
4914 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4915
4916         * text2.C (setCursor): never ask for one past last
4917         (setCursor): add some debugging messages.
4918
4919         * text.C (singleWidth): never ask for one past last
4920         (singleWidth): ditto
4921         (leftMargin): ditto
4922         (rightMargin): ditto
4923         (rowBreakPoint): ditto
4924         (setHeightOfRow): ditto
4925         (prepareToPrint): ditto
4926
4927         * rowpainter.C (paintBackground): never ask for one past last
4928         (paintText): never ask for one past last
4929
4930         * paragraph_pimpl.C (getChar): make the assert stricter, never
4931         allow the one past last pos to be taken
4932
4933         * paragraph.C (getChar): ws changes only
4934
4935         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4936         (numberOfSeparators): ditto
4937         (numberOfHfills): ditto
4938
4939 2003-03-12  John Levon  <levon@movementarian.org>
4940
4941         * author.h:
4942         * author.C:
4943         * bufferparams.h:
4944         * bufferparams.C:
4945         * paragraph_funcs.C: fix per-buffer authorlists
4946
4947 2003-03-12  John Levon  <levon@movementarian.org>
4948
4949         * text.C: fix newline in right address
4950
4951 2003-03-12  Angus Leeming  <leeming@lyx.org>
4952
4953         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4954         duplicate those in LyXFunc::dispatch.
4955
4956         * commandtags.h:
4957         * LyXAction.C:
4958         * ToolbarDefaults.C:
4959         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4960         Add LFUN_FONTFREE_UPDATE.
4961
4962         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4963         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4964
4965         * bufferview_func.[Ch]: several new functions to facilliate
4966         transfer of data to and from the character dialog.
4967
4968 2003-03-12  John Levon  <levon@movementarian.org>
4969
4970         * buffer.C:
4971         * paragraph.h:
4972         * paragraph.C:
4973         * paragraph_funcs.C:
4974         * paragraph_pimpl.C:
4975         * sgml.C:
4976         * tabular.C:
4977         * text.C:
4978         * text3.C: remove META_NEWLINE in favour of an inset
4979
4980         * rowpainter.h:
4981         * rowpainter.C: remove paintNewline (done by inset)
4982
4983 2003-03-12  John Levon  <levon@movementarian.org>
4984
4985         * paragraph_pimpl.C: complain about bad getChar()s
4986         for a while at least
4987
4988 2003-03-12  John Levon  <levon@movementarian.org>
4989
4990         * buffer.h:
4991         * buffer.C: move paragraph read into a separate function,
4992         a little renaming to reflect that.
4993
4994         * bufferparams.h:
4995         * bufferparams.C: remove the author_ids map, not necessary now
4996
4997         * factory.h:
4998         * factory.C: moved Buffer::readInset to here
4999
5000         * paragraph_funcs.h:
5001         * paragraph_funcs.C: readParagraph free function moved from
5002         buffer.C
5003
5004         * tabular.C: name change
5005
5006 2003-03-12  John Levon  <levon@movementarian.org>
5007
5008         * buffer.C:
5009         * ParagraphParameters.C: move par params input to
5010         a read() method
5011
5012         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5013         behave like a normal read from the stream wrt reading
5014         a line vs. a \\token
5015
5016 2003-03-12  John Levon  <levon@movementarian.org>
5017
5018         * paragraph.C:
5019         * ParagraphParameters.h:
5020         * ParagraphParameters.C: move output code to a
5021         ::write() method
5022
5023 2003-03-12  John Levon  <levon@movementarian.org>
5024
5025         * BufferView.C (insertLyXFile):
5026         * buffer.h:
5027         * buffer.C:
5028         * tabular.C: use a parlist iterator for creating the
5029           document.
5030
5031 2003-03-12  John Levon  <levon@movementarian.org>
5032
5033         * buffer.C: make current_change static local not
5034           static file-scope
5035
5036 2003-03-12  John Levon  <levon@movementarian.org>
5037
5038         * buffer.C: fix insertStringAsLines for change tracking
5039
5040 2003-03-12  John Levon  <levon@movementarian.org>
5041
5042         * BufferView.C:
5043         * tabular.C:
5044         * buffer.h:
5045         * buffer.C:
5046         * bufferparams.h:
5047         * bufferparams.C: move author list into params. Rename some
5048           functions. Move the header reading into a separate token
5049           loop. Move the header token reading into BufferParams.
5050
5051 2003-03-12  John Levon  <levon@movementarian.org>
5052
5053         * changes.C: put debug inside lyxerr.debugging() checks
5054
5055 2003-03-11 André Pönitz <poenitz@gmx.net>
5056
5057         * factory.C: make it aware of InsetHFill
5058
5059 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5060
5061         * buffer.C (latexParagraphs): move function from here...
5062         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5063         args.
5064
5065 2003-03-10  Angus Leeming  <leeming@lyx.org>
5066
5067         * LyXAction.C (init): fix bug in poplating array with multiple entries
5068         with the same LFUN (spotted by JMarc).
5069
5070 2003-03-10  John Levon  <levon@movementarian.org>
5071
5072         * text.C:
5073         * text2.C: move getColumnNearX() near its
5074         only call site
5075
5076 2003-03-10  John Levon  <levon@movementarian.org>
5077
5078         * text.C: fix break before a minipage
5079
5080 2003-03-10  John Levon  <levon@movementarian.org>
5081
5082         * text.C: fix the last commit
5083
5084 2003-03-09  John Levon  <levon@movementarian.org>
5085
5086         * lyxtext.h:
5087         * text.C:
5088         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5089         bug 365 (don't break before insets unless needed). Don't
5090         return a value > last under any circumstances.
5091
5092 2003-03-09  Angus Leeming  <leeming@lyx.org>
5093
5094         * BufferView_pimpl.C (trackChanges, dispatch): call
5095         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5096
5097 2003-03-09  Angus Leeming  <leeming@lyx.org>
5098
5099         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5100         than Dialogs::showAboutlyx().
5101
5102 2003-03-09  Angus Leeming  <leeming@lyx.org>
5103
5104         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5105         than Dialogs::showTabularCreate().
5106
5107 2003-03-09  John Levon  <levon@movementarian.org>
5108
5109         * lyxtext.h:
5110         * text.C:
5111         * text2.C: 3rd arg to nextBreakPoint was always the same.
5112           Use references.
5113
5114 2003-03-08  John Levon  <levon@movementarian.org>
5115
5116         * lyxrow.C:
5117         * paragraph.C:
5118         * paragraph.h:
5119         * rowpainter.C:
5120         * text.C:
5121         * text2.C: Remove the "main" bit from the "main body"
5122           notion.
5123
5124 2003-03-08  John Levon  <levon@movementarian.org>
5125
5126         * text.C (leftMargin): The left margin of an empty
5127         manual label paragraph should not include the label width
5128         string length.
5129
5130         * text.C (prepareToPrint): don't attempt to measure hfills
5131         for empty manual label paragraphs - the answer should be 0
5132
5133 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5134
5135         * CutAndPaste.C: remove commented code and reindent.
5136
5137 2003-03-08  John Levon  <levon@movementarian.org>
5138
5139         * lyxfunc.h:
5140         * lyxfunc.C: move reloadBuffer()
5141
5142         * BufferView.h:
5143         * BufferView.C: to here
5144
5145         * lyxvc.C: add comment
5146
5147         * vc-backend.h:
5148         * vc-backend.C: call bv->reload() to avoid
5149           getStatus() check on MENURELOAD
5150
5151 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5152
5153         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5154         to an old format .dep file.
5155
5156 2003-03-07  Angus Leeming  <leeming@lyx.org>
5157
5158         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5159         when the LFUN_MOUSE_RELEASE should have been handled by
5160         inset->localDispatch.
5161
5162 2003-03-07  Angus Leeming  <leeming@lyx.org>
5163
5164         * BufferView_pimpl.C (dispatch):
5165         * LyXAction.C (init):
5166         * ToolbarDefaults.C (init):
5167         * commandtags.h:
5168         * lyxfunc.C (getStatus):
5169         remove LFUN_INSET_GRAPHICS.
5170
5171         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5172
5173 2003-03-07  Angus Leeming  <leeming@lyx.org>
5174
5175         * commandtags.h:
5176         * LyXAction.C (init):
5177         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5178
5179         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5180
5181         * commandtags.h:
5182         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5183
5184         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5185         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5186
5187 2003-03-07  Angus Leeming  <leeming@lyx.org>
5188
5189         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5190         remove "ert".
5191
5192 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5193
5194         * ParagraphList.C (front): new function
5195         (back): implement
5196
5197 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5198
5199         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5200         and top_row_offset_. removed var first_y.
5201         * text.C (top_y):
5202         * text2.C (LyXText, removeRow):
5203         * text3.C:
5204         * BufferView_pimpl.C:
5205         use these methods instead of using first_y
5206
5207 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5208
5209         * text2.C (pasteSelection): adjust for checkPastePossible
5210
5211         * CutAndPaste.C: remove Paragraph * buf and replace with
5212         ParagraphList paragraphs.
5213         (DeleteBuffer): delete
5214         (cutSelection): change the tc type to textclass_type
5215         (copySelection): change the tc type to textclass_type
5216         (copySelection): adjust for ParagraphList
5217         (pasteSelection): change the tc type to textclass_type
5218         (pasteSelection): adjust for Paragraphlist
5219         (nrOfParagraphs): simplify for ParagraphList
5220         (checkPastePossible): simplify for ParagraphList
5221         (checkPastePossible): remove unused arg
5222
5223         * ParagraphList.C (insert): handle the case where there are no
5224         paragraphs yet.
5225
5226         * CutAndPaste.h: make CutAndPaste a namespace.
5227
5228         * text3.C (dispatch): adjust
5229
5230         * text.C (breakParagraph): add a ParagraphList as arg
5231
5232         * paragraph_funcs.C (breakParagraph): change to take a
5233         BufferParams and a ParagraphList as args.
5234         (breakParagraphConservative): ditto
5235         (mergeParagraph): ditto
5236         (TeXDeeper): add a ParagraphList arg
5237         (TeXEnvironment): ditto
5238         (TeXOnePar): ditto
5239
5240         * buffer.C (readLyXformat2): adjust
5241         (insertStringAsLines): adjust
5242         (latexParagraphs): adjust
5243
5244         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5245         (cutSelection): adjust
5246         (pasteSelection): adjust
5247
5248         * BufferView_pimpl.C (insertInset): adjust
5249
5250 2003-03-05  Angus Leeming  <leeming@lyx.org>
5251
5252         * commandtags.h:
5253         * LyXAction.C (init):
5254         * BufferView_pimpl.C (dispatch):
5255         * lyxfunc.C (getStatus):
5256         remove LFUN_CHILD_INSERT.
5257
5258         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5259
5260 2003-03-05  Angus Leeming  <leeming@lyx.org>
5261
5262         * commandtags.h:
5263         * LyXAction.C (init):
5264         * src/factory.C (createInset):
5265         * lyxfunc.C (getStatus):
5266         * text3.C (dispatch):
5267         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5268
5269         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5270
5271 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5272
5273         * ParagraphList.C (insert): handle insert right before end()
5274         (erase): fix cases where it can be first or last paragraph.
5275
5276 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5277
5278         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5279         Paragraph::next and Paragraph::previous
5280         (TeXOnePar): ditto
5281
5282         * text.C (breakParagraph): adjust
5283
5284         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5285         BufferParams& as arg.
5286         (breakParagraph): use ParagraphList::insert
5287         (breakParagraphConservative): take a Buffer* instead of a
5288         BufferParams& as arg.
5289         (breakParagraphConservative): use ParagraphList::insert.
5290
5291         * buffer.C (insertStringAsLines): un-const it
5292         (insertStringAsLines): adjust
5293
5294         * ParagraphList.C (insert): new function
5295
5296         * CutAndPaste.C (pasteSelection): adjust
5297
5298         * text.C (backspace): adjust
5299
5300         * tabular.C (SetMultiColumn): adjust
5301
5302         * CutAndPaste.C (cutSelection): adjust
5303         (pasteSelection): adjust
5304
5305         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5306         Buffer const * as arg
5307
5308         * ParagraphList.C (erase): new function
5309         * paragraph_funcs.C (mergeParagraph): use it
5310         (mergeParagraph): make it take a Buffer* instead of a
5311         BufferParams* as arg
5312
5313         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5314         as arg
5315         (breakParagraphConservative): ditto
5316
5317         * paragraph.h: remove the breakParagraph friend
5318
5319         * paragraph.C (eraseIntern): new function
5320         (setChange): new function
5321
5322         * paragraph_funcs.C (mergeParagraph): make it take a
5323         ParagraphList::iterator instead of a Paragraph *, adjust
5324         accordingly.
5325
5326         * paragraph.h: move an #endif so that the change tracking stuff
5327         also works in the NO_NEXT case.
5328
5329 2003-03-04  Angus Leeming  <leeming@lyx.org>
5330
5331         * commandtags.h:
5332         * LyXAction.C: new LFUN_INSET_MODIFY.
5333
5334         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5335         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5336
5337 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5338
5339         * several files: ws changes only
5340
5341         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5342         (TeXEnvironment): ditto
5343         (TeXDeeper): ditto
5344
5345         * buffer.C (makeLaTeXFile): adjust
5346         (latexParagraphs): make it take ParagraphList::iterator as args
5347
5348 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5349
5350         * buffer.C (latexParagraphs): adjust
5351
5352         * paragraph.C (TeXOnePar): move function...
5353         (optArgInset): move function...
5354         (TeXEnvironment): move function...
5355         * paragraph_pimpl.C (TeXDeeper): move function...
5356         * paragraph_funcs.C: ...here
5357
5358         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5359
5360 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5361
5362         * buffer.C (readInset): remove compability code for old Figure and
5363         InsetInfo insets
5364
5365 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5366
5367         * buffer.C: ws changes
5368         (readInset):
5369
5370         * BufferView_pimpl.C: ditto
5371         * author.C: ditto
5372         * buffer.h: ditto
5373         * bufferlist.h: ditto
5374         * changes.h: ditto
5375         * lyxfunc.C: ditto
5376
5377 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5378
5379         * converter.[Ch]: split into itself +
5380         * graph.[Ch]
5381         * format.[Ch]
5382         * Makefile.am: += graph.[Ch] + format.[Ch]
5383         * MenuBackend.C
5384         * buffer.C
5385         * exporter.C
5386         * importer.C
5387         * lyx_main.C
5388         * lyxfunc.C
5389         * lyxrc.C: added #include "format.h"
5390
5391 2003-02-27  Angus Leeming  <leeming@lyx.org>
5392
5393         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5394           a label.
5395
5396         * factory.C (createInset): add "label" to the factory.
5397
5398         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5399           string and do no more.
5400
5401 2003-02-27  Angus Leeming  <leeming@lyx.org>
5402
5403         * commandtags.h:
5404         * LyXAction.C (init):
5405         * factory.C (createInset):
5406         * BufferView_pimpl.C (dispatch):
5407           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5408
5409         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5410
5411         * lyxfunc.C (dispatch):
5412         * text3.C (dispatch): pass name to params2string.
5413
5414 2003-02-26  Angus Leeming  <leeming@lyx.org>
5415
5416         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5417           blocks together.
5418           Rearrange the ~includes. Strip out the unnecessary ones.
5419
5420         * factory.C (createInset): reformat.
5421           create new insets for the various LFUN_XYZ_APPLY lfuns.
5422
5423 2003-02-26  John Levon  <levon@movementarian.org>
5424
5425         * lyxrow.h:
5426         * lyxrow.C: add isParStart,isParEnd helpers
5427
5428         * paragraph.h: make isInserted/DeletedText take refs
5429
5430         * paragraph_funcs.h:
5431         * paragraph_funcs.C: remove #if 0'd code
5432
5433         * lyxtext.h:
5434         * text3.C:
5435         * text2.C:
5436         * text.C: use lyxrow helpers above.
5437           Move draw and paint routines to RowPainter.
5438           Make several methods use refs not pointers.
5439           Make backgroundColor() const.
5440           Add markChangeInDraw(), isInInset().
5441           Merge changeRegionCase into changeCase.
5442           Make workWidth() shouldn't-happen code into an Assert.
5443
5444         * rowpainter.h:
5445         * rowpainter.C: new class for painting a row.
5446
5447         * vspace.h:
5448         * vspace.C: make inPixels take a ref
5449
5450 2003-02-26  Angus Leeming  <leeming@lyx.org>
5451
5452         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5453         LFUN_REF_APPLY.
5454
5455 2003-02-25  John Levon  <levon@movementarian.org>
5456
5457         * ispell.C: give the forked command a more accurate name
5458
5459 2003-02-22  John Levon  <levon@movementarian.org>
5460
5461         * toc.h:
5462         * toc.C: make TocItem store an id not a Paragraph *
5463           (bug #913)
5464
5465 2003-02-21  Angus Leeming  <leeming@lyx.org>
5466
5467         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5468           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5469           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5470           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5471           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5472           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5473
5474         * BufferView_pimpl.C (dispatch):
5475         * LyXAction.C (init):
5476         * factory.C (createInset):
5477         * lyxfunc.C (getStatus, dispatch):
5478         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5479
5480 2003-02-21  Angus Leeming  <leeming@lyx.org>
5481
5482         * BufferView_pimpl.C (MenuInsertLyXFile):
5483         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5484         * lyxfunc.C (menuNew, open, doImport):
5485           no longer pass a LyXView & to fileDlg.
5486
5487 2003-02-21  Angus Leeming  <leeming@lyx.org>
5488
5489         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5490         * LyXAction.C: change, BIBKEY to BIBITEM.
5491         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5492         Change InsetBibKey to InsetBibitem.
5493         Change BIBKEY_CODE to BIBITEM_CODE.
5494         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5495         * factory.C: replace insetbib.h with insetbibitem.h.
5496         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5497         * paragraph.C: replace insetbib.h with insetbibitem.h.
5498         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5499         Change bibkey() to bibitem().
5500         * text.C: remove insetbib.h.
5501         * text2.C: replace insetbib.h with insetbibitem.h.
5502         change bibkey() to bibitem().
5503         * text3.C: remove insetbib.h.
5504         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5505
5506 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5507
5508         * lyxrc.C (output): enclose user email in quotes (in case there are
5509         several words)
5510
5511 2003-02-18  John Levon  <levon@movementarian.org>
5512
5513         * buffer.h: add std::
5514
5515 2003-02-17  John Levon  <levon@movementarian.org>
5516
5517         * SpellBase.h:
5518         * ispell.h:
5519         * ispell.C:
5520         * pspell.h:
5521         * pspell.C: reworking. Especially in ispell, a large
5522           number of clean ups and bug fixes.
5523
5524         * lyxfunc.C: fix revert to behave sensibly
5525
5526 2003-02-17 André Pönitz <poenitz@gmx.net>
5527
5528         * LyXAction.C:
5529         * commandtags.h: new LFUN_INSERT_BIBKEY
5530
5531         * layout.h:
5532         * lyxlayout.C:
5533         * buffer.C:
5534         * factory.C:
5535         * text.C:
5536         * text2.C:
5537         * text3.C:
5538         * paragraph.[Ch]:
5539         * paragraph_func.C: remove special bibkey handling
5540
5541 2003-02-17  John Levon  <levon@movementarian.org>
5542
5543         * text.C (Delete): fix case where delete at the end of
5544           the very first paragraph would not merge the pars
5545
5546 2003-02-17  John Levon  <levon@movementarian.org>
5547
5548         * lyxrow.C: fix lastPrintablePos()
5549
5550 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5551
5552         * bufferparams.C (writeLaTeX): add a std:here
5553
5554         * buffer.C: and remove a using directive there
5555
5556 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5557
5558         * buffer.C (makeLaTeXFile): move the code that generates the
5559           preamble...
5560
5561         * bufferparams.C (writeLaTeX): ... in this new method
5562
5563         * LaTeXFeatures.C (getEncodingSet): make const
5564           (getLanguages): make const
5565
5566         * MenuBackend.C (binding): returns the binding associated to this
5567           action
5568           (add): sets the status of each item by calling getStatus. Adds
5569           some intelligence.
5570           (read): add support for OptSubMenu
5571           (expand): remove extra separator at the end of expanded menu
5572
5573 2003-02-15  John Levon  <levon@movementarian.org>
5574
5575         * BufferView.C:
5576         * BufferView_pimpl.C:
5577         * bufferlist.h:
5578         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5579           inset code that had no actual effect. Remove unneeded status
5580           code.
5581
5582 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5583
5584         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5585           in preamble
5586
5587 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5588
5589         * text.C (drawLengthMarker): also draw an arrow marker for
5590           symbolic lengths (medskip...)
5591
5592 2003-02-14  John Levon  <levon@movementarian.org>
5593
5594         * tabular.h:
5595         * tabular.C: better method names
5596
5597 2003-02-14  John Levon  <levon@movementarian.org>
5598
5599         * BufferView_pimpl.C:
5600         * bufferlist.C:
5601         * buffer.C:
5602         * converter.C:
5603         * lyx_cb.C:
5604         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5605           it's a more accurate name. Remove some pointless uses.
5606
5607 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5608
5609         * text2.C (LyXText): change order of initilizers to shut off
5610           warnings
5611
5612 2003-02-14  John Levon  <levon@movementarian.org>
5613
5614         * buffer.C: use ParIterator for getParFromID()
5615
5616         * paragraph.h:
5617         * paragraph.C:
5618         * paragraph_pimpl.h:
5619         * paragraph_pimpl.C: remove unused getParFromID()
5620
5621 2003-02-14  John Levon  <levon@movementarian.org>
5622
5623         * buffer.C: remove some very old #if 0'd parse code
5624
5625 2003-02-13  John Levon  <levon@movementarian.org>
5626
5627         * text.h:
5628         * text.C:
5629         * text2.C: move hfillExpansion(), numberOfSeparators(),
5630           rowLast(), rowLastPrintable(), numberofHfills(),
5631           numberOfLabelHfills() ...
5632
5633         * lyxrow.h:
5634         * lyxrow.C: ... to member functions here.
5635
5636         * paragraph.h:
5637         * paragraph.C:
5638         * lyxtext.h:
5639         * text.C: remove LyXText::beginningOfMainBody(), and call
5640           p->beginningOfMainBody() directly. Move the check for
5641           LABEL_MANUAL into the latter.
5642
5643         * text.h:
5644         * text.C:
5645         * text2.C:
5646         * vspace.C:
5647         * BufferView.h:
5648         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5649
5650         * text.h:
5651         * text.C:
5652         * text2.C:
5653         * text3.C:
5654         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5655           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5656
5657 2003-02-13  John Levon  <levon@movementarian.org>
5658
5659         * CutAndPaste.C: remove debug
5660
5661 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5662
5663         * paragraph.C (asString): remove two unused variables
5664
5665         * lyxtextclass.C (readTitleType):
5666           (Read):
5667           (LyXTextClass): handle new members titletype_ and titlename_
5668
5669         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5670
5671 2003-02-09  John Levon  <levon@movementarian.org>
5672
5673         * buffer.h:
5674         * buffer.C: replace hand-coded list with a map for the dep clean
5675
5676 2003-02-08  John Levon  <levon@movementarian.org>
5677
5678         * LaTeX.C: consolidate code into showRunMessage() helper
5679
5680 2003-02-08  John Levon  <levon@movementarian.org>
5681
5682         * lyxfind.C:
5683         * lyxtext.h:
5684         * text2.C:
5685         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5686           and pass the size in explicitly
5687
5688         * BufferView_pimpl.h:
5689         * BufferView_pimpl.C:
5690         * BufferView.h:
5691         * BufferView.C: add getCurrentChange()
5692
5693         * BufferView_pimpl.h:
5694         * BufferView_pimpl.C: handle change lfuns
5695
5696         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5697           for changes. Mark pasted paragraphs as new.
5698
5699         * support/lyxtime.h:
5700         * support/lyxtime.C:
5701         * DepTable.C: abstract time_t as lyx::time_type
5702
5703         * LColor.h:
5704         * LColor.C: add colours for new text, deleted text, changebars
5705
5706         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5707           package use "usenames" option.
5708
5709         * commandtags.h:
5710         * lyxfunc.C:
5711         * LyXAction.C: add change lfuns
5712
5713         * Makefile.am:
5714         * author.h:
5715         * author.C: author handling
5716
5717         * buffer.h:
5718         * buffer.C: add a per-buffer author list, with first entry as
5719           current author. Handle new .lyx tokens for change tracking. Output
5720           author list to .lyx file. Output dvipost stuff to .tex preamble.
5721           Bump lyx format to 222.
5722
5723         * bufferlist.h:
5724         * bufferlist.C: add setCurrentAuthor() to reset current author details
5725           in all buffers.
5726
5727         * bufferparams.h:
5728         * bufferparams.C: add param for tracking
5729
5730         * bufferview_funcs.C: output change info in minibuffer
5731
5732         * Makefile.am:
5733         * changes.h:
5734         * changes.C: add change-tracking structure
5735
5736         * debug.h:
5737         * debug.C: add CHANGES debug flag
5738
5739         * lyxfind.h:
5740         * lyxfind.C: add code for finding the next change piece
5741
5742         * lyxrc.h:
5743         * lyxrc.C: add user_name and user_email
5744
5745         * lyxrow.h:
5746         * lyxrow.C: add a metric for the top of the text line
5747
5748         * lyxtext.h:
5749         * text.C: implement accept/rejectChange()
5750
5751         * lyxtext.h:
5752         * text.C: paint changebars. Paint new/deleted text in the chosen
5753         colours. Strike through deleted text.
5754
5755         * paragraph.h:
5756         * paragraph.C:
5757         * paragraph_pimpl.h:
5758         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5759           in the current change to the insert functions. Rework erase to
5760           mark text as deleted, adding an eraseIntern() and a range-based
5761           erase(). Implement per-paragraph change lookup and
5762           accept/reject.
5763
5764         * paragraph_funcs.C: Fixup paste for change tracking.
5765
5766         * tabular.C: mark added row/columns as new.
5767
5768         * text.C: fix rowLast() to never return -1. Don't allow
5769           spellchecking of deleted text. Track transpose changes. Don't
5770           allow paragraph break or merge where appropriate.
5771
5772         * text2.C: leave cursor at end of selection after a cut.
5773
5774 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5775
5776         * text.C (getLengthMarkerHeight):
5777         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5778         visible on screen too.
5779
5780 2003-02-07  John Levon  <levon@movementarian.org>
5781
5782         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5783
5784 2003-02-05  Angus Leeming  <leeming@lyx.org>
5785
5786         * lyxserver.C (read_ready): revert my patch of 11 September last year
5787         as it sends PC cpu through the roof. Presumably this means that
5788         the lyxserver will no longer run on an Alpha...
5789
5790 2003-01-30  Angus Leeming  <leeming@lyx.org>
5791
5792         * factory.C (createInset): create an InsetCommandParam of type "index"
5793         and use it to 'do the right thing'.
5794
5795         * text2.C (getStringToIndex): ensure that cursor position is always
5796         reset to the reset_cursor position.
5797
5798 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5799
5800         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5801         disabled.
5802
5803 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5804
5805         * bufferview.C:
5806         * lyxcb.C:
5807         * lyxfunc.C: Output messages with identical spelling, punctuation,
5808         and spaces
5809
5810 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5811
5812         * MenuBackend.C (expandFormats): List only viewable export formats
5813         in "View" menu
5814
5815         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5816         message
5817
5818         * lyxfunc.C (getStatus): Make sure that formats other than
5819         "fax" can also be disabled
5820
5821 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5822
5823         * text3.C (dispatch): put the lfuns that insert insets in 3
5824         groups, and call doInsertInset with appropriate arguments.
5825         (doInsertInset): new function, that creates an inset and inserts
5826         it according to some boolean parameters.
5827
5828 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5829
5830         * buffer.C (readFile): remember to pass on 'par' when calling
5831         readFile recursively.
5832
5833 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5834
5835         * MenuBackend.C (expandFormats): add "..." to import formats.
5836
5837 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5838
5839         * paragraph.C (asString): Remove XForms RTL hacks.
5840
5841 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5842         * buffer.C: fix typo
5843
5844 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5845
5846         * Makefile.am (LIBS): delete var
5847         (lyx_LDADD): add @LIBS@ here instead.
5848
5849 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5850
5851         * Clarify the meaning of "wheel mouse jump"
5852
5853 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5854
5855         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5856         tabular in a float
5857
5858 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5859
5860         * importer.C (Loaders): do not preallocate 3 elements in the
5861         vector, since one ends up with 6 elements otherwise
5862
5863 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5864
5865         * DepTable.C (write): write the file name as last element of the
5866         .dep file (because it may contain spaces)
5867         (read): read info in the right order
5868
5869 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5870
5871         * paragraph_pimpl.C (simpleTeXBlanks):
5872         (simpleTeXSpecialChars):
5873         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5874
5875         * tabular.C (latex): add some missing case statements. Reindent.
5876
5877         * MenuBackend.C (expandToc): remove unused variable.
5878
5879 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5880
5881         * LColor.C:
5882         * LaTeX.C:
5883         * LyXAction.C:
5884         * MenuBackend.C:
5885         * buffer.C:
5886         * exporter.C:
5887         * lyxfunc.C:
5888         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5889         and the like.
5890
5891 2003-01-05  John Levon  <levon@movementarian.org>
5892
5893         * BufferView.h:
5894         * BufferView.C: add getEncoding()
5895
5896         * kbsequence.h:
5897         * kbsequence.C: do not store last keypress
5898
5899         * lyxfunc.h:
5900         * lyxfunc.C: store last keypress here instead. Pass encoding
5901           to getISOEncoded()
5902
5903 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5904
5905         * lyx_main.C (init): remove annoying error message when following
5906         symbolic links (bug #780)
5907
5908 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5909
5910         * text.C (insertChar):
5911         * lyxrc.C (getDescription): remove extra spaces
5912
5913 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5914
5915         * lyxrc.C (getDescription): remove extra spaces
5916
5917 2002-12-20  John Levon  <levon@movementarian.org>
5918
5919         * text3.C: hack fix for page up/down across tall rows
5920
5921 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5922
5923         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5924         not been invoked
5925
5926 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5927
5928         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5929         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5930         thesaurus is not compiled in
5931
5932 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5933
5934         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5935
5936 2002-12-16  Angus Leeming  <leeming@lyx.org>
5937
5938         * lyxrc.[Ch]:
5939         * lyx_main.C (init): remove override_x_deadkeys stuff.
5940
5941 2002-12-12  John Levon  <levon@movementarian.org>
5942
5943         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5944           insert. Only remove shift modifier under strict
5945           circumstances.
5946
5947 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5948
5949         * MenuBackend.C (expandToc): fix crash.
5950
5951 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5952
5953         * MenuBackend.C (expandToc): gettext on float names.
5954
5955 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5956
5957         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5958         implement bool empty() [bug 490]
5959
5960 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5961
5962         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5963
5964 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5965
5966         * several files: ws changes
5967
5968 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5969
5970         * text2.C (setCounter): clean up a bit, use boost.format.
5971         (updateCounters): initialize par upon declaration.
5972
5973         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5974         if the layout exists. We do not just store the layout any more.
5975         (SwitchLayoutsBetweenClasses): use boost.format
5976
5977 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5978
5979         * converter.C (convert): if from and to files are the same, use a
5980         temporary files as intermediary
5981
5982 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5983
5984         * commandtags.h:
5985         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5986
5987 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5988
5989         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5990
5991 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5992
5993         * tabular.C (asciiPrintCell): use string(size, char) instead of
5994         explicit loop.
5995
5996         * sgml.C (openTag): fix order of arguments to string constructor
5997         (closeTag): ditto
5998
5999         * lyxfunc.C (dispatch): use boost.format
6000
6001         * lots of files: change "c" -> 'c'
6002
6003 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6004
6005         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6006
6007 2002-11-25  Angus Leeming  <leeming@lyx.org>
6008
6009         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6010
6011         * lyx_main.C (init): compile fix.
6012
6013 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6014
6015         * lyx_cb.C (start): boost.formatify
6016         do not include <iostream>
6017
6018         * lengthcommon.C: ws only
6019
6020         * boost-inst.C,BoostFormat.h: add more explict instantations
6021
6022 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6023
6024         * lots of files: handle USE_BOOST_FORMAT
6025
6026 2002-11-21  John Levon  <levon@movementarian.org>
6027
6028         * pspell.C: fix compile
6029
6030 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6031
6032         * lyxfunc.C (dispatch): use boost::format
6033         (open): ditto
6034         (doImport): ditto
6035
6036         * lyxfont.C (stateText): use boost::format
6037
6038         * lyx_main.C (LyX): use boost::format
6039         (init): ditto
6040         (queryUserLyXDir): ditto
6041         (readRcFile): ditto
6042         (parse_dbg): ditto
6043         (typedef boost::function): use the recommened syntax.
6044
6045         * importer.C (Import): use boost::format
6046
6047         * debug.C (showLevel): use boost::format
6048
6049         * converter.C (view): use boost::format
6050         (convert): ditto
6051         (move): ditto
6052         (scanLog): ditto
6053
6054         * bufferview_funcs.C (currentState): use boost::format
6055
6056         * bufferlist.C (emergencyWrite): use boost::format
6057
6058         * buffer.C (readLyXformat2): use boost::format
6059         (parseSingleLyXformat2Token): ditto
6060
6061         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6062
6063         * LaTeX.C (run): use boost::format
6064
6065         * Chktex.C (scanLogFile): use boost::format
6066
6067         * BufferView_pimpl.C (savePosition): use boost::format
6068         (restorePosition): ditto
6069         (MenuInsertLyXFile): ditto
6070
6071         * BoostFormat.h: help file for explicit instation.
6072
6073 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6074
6075         * tabular.C (latex): Support for block alignment in fixed width
6076         columns.
6077
6078 2002-11-17  John Levon  <levon@movementarian.org>
6079
6080         * BufferView_pimpl.C:
6081         * lyx_cb.C:
6082         * lyxfunc.C: split filedialog into open/save
6083
6084 2002-11-08  Juergen Vigna  <jug@sad.it>
6085
6086         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6087         by my last patch (hopefully).
6088
6089 2002-11-08  John Levon  <levon@movementarian.org>
6090
6091         * iterators.h:
6092         * iterators.C:
6093         * buffer.h:
6094         * buffer.C:
6095         * paragraph.h:
6096         * paragraph.C:
6097         * toc.h:
6098         * toc.C: ParConstIterator, and use it (from Lars)
6099
6100 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6101
6102         * lyxtextclass.[Ch]: revise and add doxygen comments
6103
6104 2002-11-07  John Levon  <levon@movementarian.org>
6105
6106         * text.C: fix progress value for spellchecker
6107
6108         * toc.C: fix navigate menu for insetwrap inside minipage
6109
6110         * paragraph_funcs.C: added FIXME for suspect code
6111
6112 2002-11-07  John Levon  <levon@movementarian.org>
6113
6114         * BufferView_pimpl.C: fix redrawing of insets
6115           on buffer switch
6116
6117 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6118
6119         * text2.C (updateCounters): fix bug 668
6120
6121 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6122
6123         * text3.C (dispatch): Do not make the buffer dirty when moving the
6124         cursor.
6125
6126 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6127
6128         * vc-backend.C: STRCONV
6129         (scanMaster): ditto
6130
6131         * text2.C (setCounter): STRCONV
6132
6133         * paragraph.C (asString): STRCONV
6134
6135         * lyxlength.C (asString): STRCONV
6136         (asLatexString): ditto
6137
6138         * lyxgluelength.C (asString): STRCONV
6139         (asLatexString): ditto
6140
6141         * lyxfunc.C (dispatch): STRCONV
6142         (open): ditto
6143
6144         * lyxfont.C (stateText): STRCONV
6145
6146         * importer.C (Import): STRCONV
6147
6148         * counters.C (labelItem): STRCONV
6149         (numberLabel): ditto
6150         (numberLabel): remove unused ostringstream o
6151
6152         * chset.C: STRCONV
6153         (loadFile): ditto
6154
6155         * bufferview_funcs.C (currentState): STRCONV
6156
6157         * buffer.C (readFile): STRCONV
6158         (asciiParagraph): ditto
6159         (makeLaTeXFile): ditto
6160
6161         * Spacing.C (writeEnvirBegin): STRCONV
6162
6163         * LaTeXFeatures.C (getLanguages): STRCONV
6164         (getPackages): ditto
6165         (getMacros): ditto
6166         (getBabelOptions): ditto
6167         (getTClassPreamble): ditto
6168         (getLyXSGMLEntities): ditto
6169         (getIncludedFiles): ditto
6170
6171         * LaTeX.C: STRCONV
6172         (run): ditto
6173         (scanAuxFile): ditto
6174         (deplog): ditto
6175
6176         * LString.h: add the STRCONV macros
6177
6178         * BufferView_pimpl.C (savePosition): STRCONV
6179         (restorePosition): ditto
6180         (MenuInsertLyXFile): ditto
6181
6182         * vc-backend.C (scanMaster): change from submatch[...] to
6183         submatch.str(...)
6184
6185         * funcrequest.C: include config.h
6186
6187         * factory.C: include config.h
6188
6189         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6190
6191         * box.C: include config.h
6192
6193         * LaTeX.C (scanAuxFile): change from submatch[...] to
6194         submatch.str(...)
6195         (deplog): ditto
6196
6197 2002-10-25  Angus Leeming  <leeming@lyx.org>
6198
6199         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6200
6201         * ispell.[Ch] (setError): new method.
6202         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6203         Use setError() insetead of goto END.
6204
6205         * lyx_cb.C (AutoSave): move out child process into new class
6206         AutoSaveBuffer.
6207
6208 2002-10-30  John Levon  <levon@movementarian.org>
6209
6210         * text3.C: make start appendix undoable
6211
6212 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6213
6214         * lyxlength.C (inPixels): Fix returned value.
6215
6216         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6217         environment.
6218
6219 2002-10-24  Angus Leeming  <leeming@lyx.org>
6220
6221         * lyxgluelength.h: no need to forward declare BufferParams
6222         or BufferView, so don't.
6223
6224 2002-10-21  John Levon  <levon@movementarian.org>
6225
6226         * BufferView.C: menuUndo ->undo, redo
6227
6228         * BufferView.h: document, remove dead, make some methods private
6229
6230         * paragraph_funcs.h:
6231         * paragraph_funcs.C:
6232         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6233
6234         * buffer.h:
6235         * buffer.C:
6236         * sgml.h:
6237         * sgml.C: move sgml open/close tag into sgml.C
6238
6239         * bufferview_funcs.h: unused prototype
6240
6241         * lyxfunc.h:
6242         * lyxfunc.C: remove unused
6243
6244         * lyxtext.h:
6245         * text.C: remove unused
6246
6247 2002-10-21  John Levon  <levon@movementarian.org>
6248
6249         * BufferView.h:
6250         * BufferView.C:
6251         * BufferView_pimpl.h:
6252         * BufferView_pimpl.C: fix mouse wheel handling based on
6253           patch from Darren Freeman
6254
6255 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6256
6257         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6258
6259 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6260
6261         * lyxlength.C (inPixels): Fix hanfling of negative length.
6262         Fix LyXLength::MU case.
6263
6264 2002-10-16  John Levon  <levon@movementarian.org>
6265
6266         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6267
6268 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6269
6270         * converter.C (view): add support for $$i (file name) and $$p
6271         (file path) for the viewer command. If $$i is not specified, then
6272         it is appended to the command (for compatibility with old syntax)
6273
6274 2002-10-14  Juergen Vigna  <jug@sad.it>
6275
6276         * undo_funcs.C (textHandleUndo): alter the order in which the
6277         new undopar is added to the LyXText, as we have to set first
6278         the right prev/next and then add it as otherwise the rebuild of
6279         LyXText is not correct. Also reset the cursor to the right paragraph,
6280         with this IMO we could remove the hack in "redoParagraphs()".
6281
6282 2002-10-09  Angus Leeming  <leeming@lyx.org>
6283
6284         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6285         to turn off an optimisation if a new inset is to be inserted.
6286
6287 2002-10-11 André Pönitz <poenitz@gmx.net>
6288
6289         * lyxtext.h: make some functions public to allow access
6290         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6291
6292 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6293
6294         * text3.C (dispatch): when changing layout, avoid an infinite loop
6295         [bug #652]
6296
6297 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6298
6299         * lyxrc.C (read): treat a viewer or converter command of "none" as
6300         if it were empty.
6301
6302         * MenuBackend.C (expandFormats): for an update, also allow the
6303         formats that are not viewable
6304
6305         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6306         script if it is newer than the lyxrc.defaults in user directory
6307
6308 2002-10-07 André Pönitz <poenitz@gmx.net>
6309
6310         * text.C: Vitaly Lipatov's small i18n fix
6311
6312 2002-09-25  Angus Leeming  <leeming@lyx.org>
6313
6314         * ispell.h: doxygen fix.
6315
6316 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6317
6318         * buffer.h (readFile): Add a new argument to the method, to allow
6319         reading of old-format templates.
6320
6321 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6322
6323         * toc.C (getTocList): Get TOC from InsetWrap.
6324
6325 2002-09-16  John Levon  <levon@movementarian.org>
6326
6327         * lyxfunc.C: check tabular for cut/copy too
6328
6329 2002-09-12  John Levon  <levon@movementarian.org>
6330
6331         * LyXAction.C: tidy
6332
6333         * factory.h:
6334         * factory.C: add header
6335
6336         * paragraph_funcs.h:
6337         * paragraph_funcs.C: cleanup
6338
6339 2002-09-11  John Levon  <levon@movementarian.org>
6340
6341         * PrinterParams.h: odd/even default to true
6342
6343 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6344
6345         * PrinterParams.h: update printer parameters for new xforms dialog
6346
6347 2002-09-11  Angus Leeming  <leeming@lyx.org>
6348
6349         * lyxserver.C (read_ready): re-write to make it more transparent
6350         and to make it work in coherent fashion under Tru64 Unix.
6351
6352 2002-09-11  André Pönitz <poenitz@gmx.net>
6353
6354         * commandtags.h:
6355         * LyXAction.C:
6356         * text3.C: implement LFUN_WORDSEL
6357
6358 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6359
6360         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6361         make floatlist_ a boost::shared_ptr<FloatList>
6362
6363         * lyxtextclass.C: include FloatList.h
6364         (LyXTextClass): initialize floatlist_
6365         (TextClassTags): add TC_NOFLOAT
6366         (Read): match "nofloat" to TC_NOFLOAT and use it.
6367         (readFloat): modify call to floatlist_
6368         (floats): ditto
6369         (floats): ditto
6370
6371         * FloatList.[Ch] (FloatList): remove commented out float
6372         initialization.
6373         (erase): new function
6374
6375 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6376
6377         * MenuBackend.C (expandToc): fix crash when there is no document
6378         open
6379
6380 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6381
6382         * many files: Add insetwrap.
6383
6384 2002-09-09  John Levon  <levon@movementarian.org>
6385
6386         * text2.C: remove confusing and awkward depth wraparound
6387
6388 2002-09-09  John Levon  <levon@movementarian.org>
6389
6390         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6391
6392         * buffer.h:
6393         * buffer.C: remove getIncludeonlyList()
6394
6395         * paragraph.C:
6396         * lyxfunc.C: remove headers
6397
6398 2002-09-09  Juergen Vigna  <jug@sad.it>
6399
6400         * text.C (getColumnNearX): fix form Michael this is most
6401         probably a cut&paste bug.
6402
6403 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6404
6405         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6406
6407         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6408         references, ws changes.
6409
6410         * text2.C (init): update counters after init
6411         (insertParagraph): no need to set counter on idividual paragraphs.
6412         (setCounter): access the counters object in the textclass object
6413         on in the buffer object.
6414         (updateCounters): ditto
6415
6416         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6417         shared_ptr<Counters> to avoid loading counters.h in all
6418         compilation units.
6419         (LyXTextClass): initialize ctrs_
6420         (TextClassTags): add TC_COUNTER, and ...
6421         (Read): use it here.
6422         (CounterTags): new tags
6423         (readCounter): new function
6424         (counters): new funtion
6425         (defaultLayoutName): return a const reference
6426
6427         * counters.C (Counters): remove contructor
6428         (newCounter): remove a couple of unneeded statements.
6429         (newCounter): simplify a bit.
6430         (numberLabel): some small formatting changes.
6431
6432         * buffer.[Ch]: remove all traces of counters, move the Counters
6433         object to the LyXTextClass.
6434
6435 2002-09-06  Alain Castera  <castera@in2p3.fr>
6436
6437         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6438         package to set the horizontal alignment on fixed width columns.
6439
6440         * lyx_sty.C:
6441         * lyx_sty.h: added tabularnewline macro def.
6442
6443         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6444
6445 2002-09-06  John Levon  <levon@movementarian.org>
6446
6447         * LyXAction.C: tooltips for sub/superscript
6448
6449         * MenuBackend.C: a bit more verbose
6450
6451         * lyxfunc.C: tiny clean
6452
6453         * undo_funcs.C: document undo_frozen
6454
6455 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6456
6457         * counters.C (Counters): add missing algorithm counter.
6458
6459         * text2.C (setCounter): lookup the counter with layouts latexname
6460         instead of by section number.
6461         (setCounter): use a hackish way to lookup the correct enum
6462         counter.
6463         a float name->type change
6464         reset enum couners with counter name directly instead of depth value.
6465
6466         * counters.C (Counters): remove the push_backs, change to use the
6467         float type not the float name.
6468         (labelItem): remove unused string, float name->type change
6469
6470         * counters.h: don't include vector, loose the enums and sects vectors
6471
6472 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6473
6474         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6475         (Read): add float->TC_FLOAT to textclassTags
6476         (Read): and handle it in the switch
6477         (readFloat): new function
6478
6479         * FloatList.C (FloatList): comment out the hardcoded float
6480         definitions.
6481
6482         * lyxlayout.h: ws change.
6483
6484 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6485
6486         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6487
6488 2002-09-03  Angus Leeming  <leeming@lyx.org>
6489
6490         * BufferView_pimpl.h: qualified name is not allowed in member
6491         declaration: WorkArea & Pimpl::workarea() const;
6492
6493         * factory.C: added using std::endl directive.
6494
6495         * text3.C: added using std::find and std::vector directives.
6496
6497 2002-08-29  André Pönitz <poenitz@gmx.net>
6498
6499         * lyxtext.h:
6500         * text2.C: remove unused member number_of_rows
6501
6502         * Makefile.am:
6503         * BufferView2.C: remove file, move contents to...
6504         * BufferView.C: ... here
6505
6506         * BufferView_pimpl.C:
6507         * factory.C: move more inset creation to factory
6508
6509         * vspace.C: avoid direct usage of LyXText, ws changes
6510
6511         * BufferView.[Ch]:
6512                 don't provide direct access to WorkArea, use two simple
6513                 acessors haveSelction() and workHeight() instead
6514
6515
6516 2002-08-29  John Levon  <levon@movementarian.org>
6517
6518         * BufferView_pimpl.C (dispatch): do not continue when
6519           no buffer
6520
6521 2002-08-28  André Pönitz <poenitz@gmx.net>
6522
6523         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6524
6525         * BufferView.h:
6526         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6527
6528 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6529
6530         * buffer.C: increment LYX_FORMAT to 221
6531
6532         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6533         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6534
6535         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6536
6537         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6538
6539 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6540
6541         * factory.C (createInset): use LyXTextClass::floats
6542
6543         * MenuBackend.C (expandFloatListInsert):
6544         (expandFloatInsert):
6545         (expandToc):
6546
6547         * text2.C (setCounter):
6548
6549         * LaTeXFeatures.C (useFloat):
6550         (getFloatDefinitions):
6551
6552         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6553
6554         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6555         floatlist_, with accessor floats().
6556
6557         * FloatList.h: remove global FloatList
6558
6559 2002-08-26  André Pönitz <poenitz@gmx.net>
6560
6561         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6562
6563         * BufferView.h:
6564         * BufferView2.C:
6565         * BufferView_pimpl.C:
6566         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6567
6568 2002-08-25  John Levon  <levon@movementarian.org>
6569
6570         * LyXAction.C: fix margin note description
6571
6572 2002-08-24  John Levon  <levon@movementarian.org>
6573
6574         * buffer.C:
6575         * bufferlist.C:
6576         * bufferview_funcs.C:
6577         * lyxfont.C:
6578         * undo_funcs.C: cleanups
6579
6580         * lyxfunc.C: disable CUT/COPY when no selection
6581
6582 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6583
6584         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6585         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6586
6587         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6588         Add backward compatibility to "mono", "gray" and "no".
6589
6590 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6591
6592         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6593         (and file_format >= 200).
6594
6595 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6596
6597         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6598
6599 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6600
6601         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6602
6603 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6604
6605         * BufferView_pimpl.C:
6606         * LyXAction.C:
6607         * buffer.C:
6608         * commandtags.h:
6609         * lyxfunc.C:
6610         * paragraph.[Ch]:
6611         * text2.C:
6612         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6613         inset and code to make it  work with the paragraph code. The inset
6614         can be anywhere in the paragraph, but will only do the expected
6615         thing in LaTeX if the layout file contains the parameter line
6616                         OptionalArgs    1
6617         (or more generally, a nonzero value) for that layout.
6618
6619 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6620
6621         * paragraph.h: remove the declaration of undefined counters class
6622         function.
6623
6624 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6625
6626         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6627         Dr. Richard Hawkins.
6628
6629 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6630
6631         * paragraph_funcs.h: remove some unneeded includes
6632
6633         * text.C (backspace): pasteParagraph now in global scipe
6634
6635         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6636         (pasteSelection): ditto
6637
6638         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6639         * paragraph_funcs.C (pasteParagraph): ... here
6640
6641 2002-08-20  André Pönitz <poenitz@gmx.net>
6642
6643         * commandtags.h: new LFUNs for swapping/copying table row/colums
6644
6645         * LyXAction.C:
6646         * lyxfunc.C: support for new lfuns
6647
6648 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6649
6650         * tabular.C:
6651         * buffer.[Ch]: remove NO_COMPABILITY stuff
6652
6653 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6654
6655         * boost.C (throw_exception): new file, with helper function for
6656         boost compiled without exceptions.
6657
6658         * paragraph.h:
6659         * lyxlength.C:
6660         * buffer.C:
6661         * ParameterStruct.h:
6662         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6663
6664         * bufferlist.C (emergencyWriteAll): use boost bind
6665
6666         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6667
6668         * text.C: include paragraph_funcs.h
6669         (breakParagraph): breakParagraph is now in global scope
6670
6671         * paragraph_funcs.[Ch]: new files
6672
6673         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6674         global scope
6675
6676         * buffer.C: include paragraph_funcs.h
6677         (insertStringAsLines): breakParagraph is now in global scope
6678
6679         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6680         paragraph_funcs.C
6681
6682         * CutAndPaste.C: include paragraph_funcs.h
6683         (cutSelection): breakParagraphConservative is now in global scope
6684         (pasteSelection): ditto
6685
6686         * buffer.h: declare oprator== and operator!= for
6687         Buffer::inset_iterator
6688
6689         * bufferlist.C (emergencyWrite): don't use fmt(...)
6690
6691         * text3.C: add using std::endl
6692
6693         * BufferView.C (moveCursorUpdate): remove default arg
6694
6695 2002-08-20  André Pönitz <poenitz@gmx.net>
6696
6697         * buffer.[Ch]: move inline functions to .C
6698
6699         * BufferView2.C:
6700         * BufferView_pimpl.C:
6701         * text.C:
6702         * buffer.[Ch]: use improved inset_iterator
6703
6704         * buffer.C:
6705         * paragraph.[Ch]: write one paragraph at a time
6706
6707 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6708
6709         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6710         style if style is not specified.
6711
6712 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6713
6714         * text2.C (setCounter): when searching for right label for a
6715         caption, make sure to recurse to parent insets (so that a caption
6716         in a minipage in a figure float works) (bug #568)
6717
6718 2002-08-20  André Pönitz <poenitz@gmx.net>
6719
6720         * text3.C: new file for LyXText::dispatch() and helpers
6721
6722         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6723
6724         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6725
6726 2002-08-19  André Pönitz <poenitz@gmx.net>
6727
6728         * lyxtext.h:
6729         * text.C: new LyXText::dispatch()
6730
6731         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6732
6733 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6734
6735         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6736
6737         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6738         Hebrew text.
6739
6740 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6741
6742         * Makefile.am: use $(variables) instead of @substitutions@
6743
6744 2002-08-15  André Pönitz <poenitz@gmx.net>
6745
6746         * lyxfunc.C:
6747         * BufferView_pimpl.C: streamlining mathed <-> outer world
6748         interaction
6749
6750         * commandtags.h:
6751         * LyXAction.C: remove unused LFUN_MATH
6752
6753 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6754
6755         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6756
6757 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6758
6759         * paragraph.C (Paragraph): reformat a bit
6760         (cutIntoMinibuffer): use builtin InsetList function instad of
6761         doing it manually.
6762         (getInset): ditto
6763
6764         * buffer.C: include boost/bind.hpp, add using std::for_each
6765         (writeFileAscii): use ParagraphList iterators
6766         (validate): use for_each for validate traversal of paragraphs
6767         (getBibkeyList): use ParagraphList iterators
6768         (resizeInsets): use for_each to resizeInsetsLyXText for all
6769         paragraphs.
6770         (getParFromID): use ParagraphList iterators
6771
6772         * BufferView2.C (lockInset): use paragraph list and iterators
6773
6774 2002-08-14  John Levon  <levon@movementarian.org>
6775
6776         * lyxserver.C: remove spurious xforms include
6777
6778 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6779
6780         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6781
6782 2002-08-13  André Pönitz <poenitz@gmx.net>
6783
6784         * LyXAction.[Ch]:
6785         * lyxfunc.C: further cleaning
6786
6787 2002-08-13  André Pönitz <poenitz@gmx.net>
6788
6789         * funcrequest.h: new constructor
6790
6791         * funcrequest.C: move stuff here from .h
6792
6793         * Makefile.am:
6794         * BufferView_pimpl.C:
6795         * LyXAction.C:
6796         * toc.C:
6797         * lyxfunc.C: subsequent changes
6798
6799         * lyxfunc.h: new view() member function
6800
6801         * lyxfunc.C: subsequent changes
6802
6803 2002-08-13  Angus Leeming  <leeming@lyx.org>
6804
6805         * BufferView2.C:
6806         * BufferView_pimpl.C:
6807         * buffer.C:
6808         * converter.C:
6809         * importer.C:
6810         * lyxfunc.C:
6811         * lyxvc.C:
6812         * toc.C:
6813         * vc-backend.C:
6814         changes due to the changed LyXView interface that now returns references
6815         to member variables not pointers.
6816
6817 2002-08-13  Angus Leeming  <leeming@lyx.org>
6818
6819         * WordLangTuple (word, lang_code): return references to strings,
6820         not strings.
6821
6822         * BufferView.h:
6823         * SpellBase.h:
6824         * lyxtext.h: forward-declare WordLangTuple.
6825
6826         * BufferView2.C:
6827         * ispell.C:
6828         * pspell.C:
6829         * text.C: #include "WordLangTuple.h".
6830
6831         * lyxtext.h:
6832         * text.C: (selectNextWordToSpellcheck): constify return type.
6833
6834 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6835
6836         * buffer.C:
6837         * buffer.h:
6838         * lyxtext.h:
6839         * paragraph.C:
6840         * paragraph_pimpl.h:
6841         * text.C:
6842         * text2.C:
6843         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6844         suggested by Angus.
6845         Made updateCounter always count from start of buffer, and removed
6846         second argument (par).
6847         Reverted floats number display to '#'. Perhaps I'll try again when the
6848         code base is sanitized a bit.
6849
6850 2002-08-12  Angus Leeming  <leeming@lyx.org>
6851
6852         * buffer.[Ch] (getLabelList): constify.
6853
6854 2002-08-07  André Pönitz <poenitz@gmx.net>
6855
6856         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6857
6858         * funcrequest.h: extension to keep mouse (x,y) position
6859
6860 2002-08-12  Juergen Vigna  <jug@sad.it>
6861
6862         * BufferView2.C (insertErrors): forbid undo when inserting error
6863         insets.
6864
6865         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6866
6867 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6868
6869         * ParagraphList.[Ch]: new files
6870
6871         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6872
6873         * BufferView2.C (lockInset): ParagraphList changes
6874         * toc.C: ditto
6875         * text2.C: ditto
6876         * bufferlist.C: ditto
6877         * buffer.h: ditto
6878         * buffer.C: ditto
6879
6880 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6881
6882         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6883         unused class variable counter_,
6884
6885         * paragraph.[Ch] (getFirstCounter): delete unused function
6886
6887         * counters.C: include LAssert.h
6888         (reset): add a new function with no arg, change other version to
6889         not have def. arg and to not allow empty arg.
6890
6891         * text2.C (setCounter): remove empty arg from call to Counters::reset
6892
6893 2002-08-11  John Levon  <levon@movementarian.org>
6894
6895         * Makefile.am: add WordLangTuple.h
6896
6897 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6898
6899         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6900         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6901
6902         * insets/insettext.C: InsetList changes
6903
6904         * graphics/GraphicsSupport.C (operator()): InsetList changes
6905
6906         * toc.C (getTocList): InsetList changes
6907
6908         * paragraph_pimpl.[Ch]: InsetList changes
6909
6910         * paragraph.[Ch]: InsetList changes
6911
6912         * buffer.C (inset_iterator): InsetList changes
6913         (setParagraph): ditto
6914         * buffer.h (inset_iterator): ditto
6915         * iterators.C (operator++): ditto
6916         * iterators.h: ditto
6917
6918         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6919
6920         * InsetList.[Ch]: new files, most InsetList handling moved out of
6921         paragraph.C.
6922
6923         * BufferView2.C (removeAutoInsets): InsetList changes
6924         (lockInset): ditto
6925         (ChangeInsets): ditto
6926
6927 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6928
6929         * paragraph_pimpl.h (empty): new function
6930
6931         * paragraph.[Ch] (empty): new function
6932
6933         * other files: use the new Paragraph::empty function
6934
6935 2002-08-09  John Levon  <levon@movementarian.org>
6936
6937         * lyxtext.h: remove unused refresh_height
6938
6939 2002-08-09  John Levon  <levon@movementarian.org>
6940
6941         * Makefile.am:
6942         * sgml.h:
6943         * sgml.C:
6944         * buffer.C:
6945         * paragraph.h:
6946         * paragraph.C: move sgml char escaping out of paragraph
6947
6948         * paragraph.h:
6949         * paragraph.C: remove id setter
6950
6951         * buffer.C:
6952         * paragraph.C:
6953         * paragraph_pimpl.C: remove dead tex_code_break_column
6954
6955         * bufferview_funcs.C: small cleanup
6956
6957         * lyxfunc.C: remove dead proto
6958
6959         * lyxtext.h: make some stuff private. Remove some dead stuff.
6960
6961         * lyxgluelength.C: make as[LyX]String() readable
6962
6963 2002-08-08  John Levon  <levon@movementarian.org>
6964
6965         * LyXAction.h:
6966         * LyXAction.C:
6967         * MenuBackend.C:
6968         * ToolbarDefaults.C:
6969         * lyxfunc.C:
6970         * lyxrc.C:
6971         * toc.C: lyxaction cleanup
6972
6973 2002-08-08  John Levon  <levon@movementarian.org>
6974
6975         * BufferView2.C: small cleanup
6976
6977         * lyxfind.h:
6978         * lyxfind.C: move unnecessary header into the .C
6979
6980 2002-08-08  John Levon  <levon@movementarian.org>
6981
6982         * funcrequest.h: just tedious nonsense
6983
6984         * lyx_main.h:
6985         * lyx_main.C: cleanups
6986
6987         * buffer.C:
6988         * vspace.C: remove dead header lyx_main.h
6989
6990 2002-08-07  Angus Leeming  <leeming@lyx.org>
6991
6992         * Paragraph.[Ch]:
6993         * paragraph_pimpl.h:
6994         Forward declare class Counters in paragraph.h by moving the ctrs member
6995         variable into Paragraph::Pimpl.
6996         (counters): new method, returning a reference to pimpl_->ctrs.
6997
6998         * text2.C: ensuing changes.
6999
7000 2002-08-07  John Levon  <levon@movementarian.org>
7001
7002         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7003
7004         * BufferView_pimpl.C: announce X selection on double/triple
7005           click
7006
7007         * lyx_main.C: use correct bool in batch dispatch
7008
7009         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7010
7011 2002-08-07  André Pönitz <poenitz@gmx.net>
7012
7013         * funcrequest.h: new class to wrap a kb_action and its argument
7014
7015         * BufferView.[Ch]:
7016         * BufferView_pimpl[Ch]:
7017         * LaTeX.C:
7018         * LyXAction.[Ch]:
7019         * lyxfunc.[Ch]:
7020         * lyxrc.C: subsequent changes
7021
7022
7023 2002-08-07  John Levon  <levon@movementarian.org>
7024
7025         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7026           document options change.
7027
7028 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7029
7030         * counters.[Ch]
7031         * text2.C
7032         * paragraph.[Ch]
7033         * makefile.am: move counters functionality over from
7034         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7035
7036 2002-08-06  John Levon  <levon@movementarian.org>
7037
7038         * WordLangTuple.h: new file for word + language code tuple
7039
7040         * SpellBase.h:
7041         * pspell.h:
7042         * pspell.C:
7043         * ispell.h:
7044         * ispell.C:
7045         * lyxtext.h:
7046         * text.C:
7047         * text2.C:
7048         * BufferView.h:
7049         * BufferView2.C: use WordLangTuple
7050
7051         * layout.h:
7052         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7053
7054 2002-08-06  John Levon  <levon@movementarian.org>
7055
7056         * lyx_main.C: fix cmdline batch handling
7057
7058 2002-08-06  André Pönitz <poenitz@gmx.net>
7059
7060         * lyxrc.C: set default for show_banner to true
7061
7062 2002-08-06  John Levon  <levon@movementarian.org>
7063
7064         * pspell.C: fix a crash, and allow new aspell to work
7065
7066 2002-08-06  John Levon  <levon@movementarian.org>
7067
7068         * lyxfunc.C:
7069         * kbmap.C: small cleanup
7070
7071         * vspace.h:
7072         * vspace.C: add const
7073
7074 2002-08-05  John Levon  <levon@movementarian.org>
7075
7076         * LyXAction.C: back to tabular-insert
7077
7078 2002-08-04  John Levon  <levon@movementarian.org>
7079
7080         * BufferView.h:
7081         * BufferView.C: cosmetic change
7082
7083         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7084
7085         * bufferlist.C:
7086         * buffer.h:
7087         * buffer.C:
7088         * lyxcb.h:
7089         * lyxcb.C:
7090         * lyxserver.C:
7091         * lyxvc.C:
7092         * vc-backend.C:
7093         * BufferView2.C: purge all "Lyx" not "LyX" strings
7094
7095         * lyxcursor.h:
7096         * lyxcursor.C: attempt to add some documentation
7097
7098         * lyxfunc.C:
7099         * commandtags.h:
7100         * LyXAction.C:
7101         * ToolbarDefaults.C:
7102         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7103           merge with LFUN_TABULAR_INSERT
7104
7105         * Makefile.am:
7106         * SpellBase.h:
7107         * ispell.h:
7108         * ispell.C:
7109         * pspell.h:
7110         * pspell.C: split up i/pspell implementations into separate
7111           files, many cleanups
7112
7113         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7114
7115         * text2.C: some cleanup
7116
7117         * lyxfunc.C: don't check for isp_command == "none" any more, it
7118           didn't make any sense
7119
7120 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7121
7122         * counters.[Ch]
7123         * text2.C
7124         * paragraph.[Ch]
7125         * makefile.am: move counters functionality over
7126         from text2.C/paragraph.[Ch] to counters.[Ch], and
7127         make proper C++.
7128 2002-08-02  John Levon  <levon@movementarian.org>
7129
7130         * buffer.C: s/lyxconvert/lyx2lyx/
7131
7132 2002-08-02  Angus Leeming  <leeming@lyx.org>
7133
7134         * lyxlex.C: revert John's change as it breaks reading of the user
7135         preamble.
7136
7137 2002-08-02  Angus Leeming  <leeming@lyx.org>
7138
7139         * importer.C (Import):
7140         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7141         changes due to LyXView::view() now returning a boost::shared_ptr.
7142
7143 2002-08-02  John Levon  <levon@movementarian.org>
7144
7145         * lyxlex.C: small cleanup
7146
7147 2002-08-02  John Levon  <levon@movementarian.org>
7148
7149         * text2.C (status): small cleanup, no logic change
7150
7151 2002-08-01  John Levon  <levon@movementarian.org>
7152
7153         * buffer.h:
7154         * buffer.C (writeFile): don't output alerts, caller
7155           handles this
7156
7157         * bufferlist.C:
7158         * lyx_cb.C: from above
7159
7160         * lyxfunc.C: allow to open non-existent files
7161
7162 2002-07-31  John Levon  <levon@movementarian.org>
7163
7164         * lyxserver.C: don't let incidental errors get
7165           in the way (errno)
7166
7167 2002-07-30  John Levon  <levon@movementarian.org>
7168
7169         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7170
7171 2002-07-30  John Levon  <levon@movementarian.org>
7172
7173         * lyxserver.h:
7174         * lyxserver.C: remove I/O callback too
7175
7176 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7177
7178         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7179         log.
7180
7181 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7182
7183         * many files: strip,frontStrip -> trim,ltrim,rtrim
7184
7185 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7186
7187         * PrinterParams.h: remove extern containsOnly, and include
7188         support/lstrings.h instead.
7189
7190         * LaTeX.C (scanAuxFile): modify because of strip changes
7191         (deplog): ditto
7192         * buffer.C (makeLaTeXFile): ditto
7193         * bufferparams.C (writeFile): ditt
7194         * lyxfont.C (stateText): ditto
7195         * lyxserver.C (read_ready): ditto
7196         * vc-backend.C (scanMaster): ditto
7197
7198         * BufferView_pimpl.h: ws changes
7199
7200         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7201
7202 2002-07-26  André Pönitz <poenitz@gmx.net>
7203
7204         * kb_sequence.C: remove unnedred usings
7205
7206 2002-07-26  Juergen Vigna  <jug@sad.it>
7207
7208         * lyxfind.C (LyXReplace): we have to check better if the returned
7209         text is not of theLockingInset()->getLockingInset().
7210
7211 2002-07-25  Juergen Vigna  <jug@sad.it>
7212
7213         * lyxfind.C (LyXReplace): don't replace if we don't get the
7214         right LyXText.
7215
7216         * undo_funcs.C (createUndo): remove debugging code.
7217
7218 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7219
7220         * buffer.C (parseSingleLyXformat2Token): Use default placement
7221         when reading old floats.
7222
7223         * FloatList.C (FloatList): Change the default placement of figure
7224         and tables to "tbp".
7225
7226 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7227
7228         * MenuBackend.C: using std::max
7229
7230 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7231
7232         * MenuBackend.C (expandToc):
7233         (expandToc2): code moved from xforms menu frontend. It is now
7234         generic and TOCs are transparent to menu frontends.
7235
7236 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7237
7238         * toc.C (getTocList): protect against buf=0
7239
7240         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7241         Menu as first parameter. Now, this calls itself recursively to
7242         expand a whole tree (this will be useful for TOC handling)
7243         (expandFloatInsert): remove 'wide' version of floats
7244
7245         * MenuBackend.h (submenuname): returns the name of the submenu.
7246         (submenu): returns the submenu itself, provided it has been
7247         created by MenuBackend::expand
7248
7249 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7250
7251         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7252         insets which have noFontChange == true. (bug #172)
7253
7254 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7255
7256         * BufferView_pimpl.C: add connection objects and use them...
7257         (Pimpl): here.
7258
7259 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7260
7261         * MenuBackend.C (expandLastfiles):
7262         (expandDocuments):
7263         (expandFormats):
7264         (expandFloatListInsert):
7265         (expandFloatInsert):
7266         (expand): split expand in parts
7267
7268 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7269
7270         * lyx_gui.C: use lyx_gui::exit()
7271
7272 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7273
7274         * LyXAction.C: show the failing pseudo action
7275
7276 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7277
7278         * buffer.C (readFile): Run the lyxconvert script in order to read
7279         old files.
7280
7281 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7282
7283         * LyXAction.C:
7284         * commandtags.h:
7285         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7286
7287 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7288
7289         * LyXAction.C:
7290         * commandtags.h:
7291         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7292
7293 2002-07-22  Herbert Voss  <voss@lyx.org>
7294
7295         * lengthcommon.C:
7296         * lyxlength.[Ch]: add support for the vertical lengths
7297
7298 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7299
7300         * toc.[Ch]: std:: fixes
7301
7302 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7303
7304         * lyxrc.C: do not include lyx_main.h
7305
7306         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7307         for layouts
7308
7309         * lyxrc.C:
7310         * encoding.C:
7311         * bufferlist.C:
7312         * BufferView2.C: include "lyxlex.h"
7313
7314         * tabular.h:
7315         * bufferparams.h: do not #include "lyxlex.h"
7316
7317         * lyxtextclasslist.C (Add): remove method
7318         (classlist): renamed to classlist_
7319
7320         * paragraph_pimpl.C:
7321         * paragraph.C:
7322         * text2.C:
7323         * CutAndPaste.C:
7324         * bufferview_funcs.C:
7325         * bufferlist.C:
7326         * text.C:
7327         * LaTeXFeatures.C:
7328         * buffer.C:
7329         * toc.C (getTocList): use BufferParams::getLyXTextClass
7330
7331         * toc.C (getTocList): use InsetFloat::addToToc
7332
7333         * toc.[Ch]: new files, containing helper functions to handle table
7334         of contents
7335
7336         * lyxfunc.C (dispatch): no need to remove spaces around command
7337         given as a string
7338         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7339         first command of the sequence; it is not very clever, but I do not
7340         have a better idea, actually
7341
7342         * LyXAction.C (LookupFunc): make sure to remove space at the
7343         beginning and end of the command
7344
7345 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7346
7347         * MenuBackend.C (getMenubar): new method: return the menubar of
7348         this menu set
7349         (read): treat differently reading of menu and menubar (in
7350         particular, the menubar has no name now)
7351         (Menu::menubar): remove
7352
7353         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7354         saving is finished
7355
7356 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7357
7358         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7359         a bibitem inset in a RTL paragraph.
7360
7361 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7362
7363         * paragraph_pimpl.C: constify
7364
7365         * BufferView_pimpl.C:
7366         * LaTeX.C:
7367         * lyxfunc.C: fix dispatch in a nicer way
7368
7369 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7370
7371         * lyxfunc.C (dispatch):
7372         * BufferView_pimpl.C:
7373         * BufferView_pimpl.h:
7374         * BufferView.C:
7375         * BufferView.h: rename Dispatch() to dispatch()
7376
7377         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7378
7379         * lyxlayout.C (Read): honor DependsOn tag
7380
7381         * lyxlayout.[Ch] (depends_on): new method
7382
7383         * version.C.in: update lyx_docversion
7384
7385         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7386
7387         * paragraph.C (validate): remove from here...
7388         * paragraph_pimpl.C (validate): ... and move here
7389         (isTextAt): make it const
7390
7391         * buffer.C (getLists): ws cleanup
7392
7393 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7394
7395         * language.C (read): Use iso8859-1 encoding in latex_lang
7396         (this prevents LyX from crashing when using iso10646-1 encoding).
7397
7398 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7399
7400         * text2.C (toggleInset): if cursor is inside an inset, close the
7401         inset and leave cursor _after_ it
7402
7403 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7404
7405         * lyxfunc.C: move minibuffer completion handling out of here
7406
7407 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7408
7409         * BufferView_pimpl.C:
7410         * LaTeX.C: fix dispatch calls
7411
7412 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7413
7414         * text.C (drawChars): Fix Arabic text rendering.
7415
7416 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7417
7418         * LyXAction.C:
7419         * commandtags.h:
7420         * lyxfunc.C: remove message-push/pop
7421
7422         * lyxserver.C:
7423         * lyxfunc.h:
7424         * lyxfunc.C: rationalise some code by removing verboseDispatch
7425           in favour of a bool argument to dispatch()
7426
7427 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7428
7429         * lyx_main.C (init): make sure to read symlinks as absolute paths
7430
7431 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7432
7433         * lyxfunc.h:
7434         * lyxfunc.C: no need for commandshortcut to be a member
7435
7436 2002-07-15  André Pönitz <poenitz@gmx.net>
7437
7438         * converter.C: add support for $$s (scripts from lib/scripts dir)
7439         * lyx_main.C: white space
7440
7441 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7442
7443         * bufferlist.C:
7444         * lyxrc.h:
7445         * lyxrc.C: remove second exit confirmation
7446
7447 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7448
7449         * BufferView.h:
7450         * BufferView.C:
7451         * BufferView2.C:
7452         * BufferView_pimpl.h:
7453         * BufferView_pimpl.C:
7454         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7455
7456 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7457
7458         * MenuBackend.C (expand): add numeric shortcuts to document menu
7459
7460         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7461
7462 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7463
7464         * lyxfont.C (setLyXFamily):
7465         (setLyXSeries):
7466         (setLyXShape):
7467         (setLyXSize):
7468         (setLyXMisc):
7469         (lyxRead):
7470         * debug.C (value):
7471         * buffer.C (asciiParagraph): use ascii_lowercase
7472
7473 2002-07-15  Mike Fabian  <mfabian@suse.de>
7474
7475         * lyxlex_pimpl.C (search_kw):
7476         * lyxlex.C (getLongString):
7477         * converter.h (operator<):
7478         * converter.C (operator<):
7479         * buffer.C (parseSingleLyXformat2Token):
7480         (asciiParagraph):
7481         * ToolbarDefaults.C (read):
7482         * MenuBackend.C (checkShortcuts):
7483         (read):
7484         * LColor.C (getFromGUIName):
7485         (getFromLyXName): use the compare_ascii_no_case instead of
7486         compare_no_case, because in turkish, 'i' is not the lowercase
7487         version of 'I', and thus turkish locale breaks parsing of tags.
7488
7489 2002-07-16  Angus Leeming  <leeming@lyx.org>
7490
7491         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7492         now takes a Buffer const & argument.
7493
7494 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7495
7496         * BufferView.C (resize): check there's a buffer to resize
7497
7498 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7499
7500         * lyxfunc.C: remove dead code
7501
7502         * lyxserver.h:
7503         * lyxserver.C: use lyx_guii::set_read_callback
7504
7505 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7506
7507         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7508         an inset in a RTL paragraph.
7509
7510 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7511
7512         * lyxfunc.C: repaint after a font size update
7513
7514 2002-07-15  André Pönitz <poenitz@gmx.net>
7515
7516         * lyxlength.C: inBP should be able to return negative values
7517
7518 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7519
7520         * lyxfunc.C: use lyx_gui::update_fonts()
7521
7522 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7523
7524         * lyxfunc.C: use lyx_gui::update_color()
7525
7526 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7527
7528         * bufferlist.C:
7529         * lyxfunc.h:
7530         * lyxfunc.C:
7531         * lyxrc.h:
7532         * lyxrc.C: remove file->new asks for name option, and let
7533           buffer-new take an argument
7534
7535 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7536
7537         * BufferView_pimpl.C: remove unneeded extra repaint()
7538
7539 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7540
7541         * LyXAction.C: allow command-sequence with NoBuffer
7542
7543         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7544
7545 2002-07-10  Angus Leeming  <leeming@lyx.org>
7546
7547         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7548
7549 2002-07-09  Angus Leeming  <leeming@lyx.org>
7550
7551         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7552
7553 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7554
7555         * lengthcommon.h: whitespace
7556
7557         * lyxfunc.C: update scrollbar after goto paragraph
7558
7559         * lyxtext.h: factor out page break drawing, and fix it so
7560           page break/added space paints as selected nicely
7561
7562 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7563
7564         * BufferView_pimpl.C: add FIXMEs, clean up a little
7565
7566 2002-07-09  André Pönitz <poenitz@gmx.net>
7567
7568         * lyxfont.[Ch]: support for wasy symbols
7569
7570 2002-07-08  André Pönitz <poenitz@gmx.net>
7571
7572         * BufferView_pimpl.C: apply John's patch for #93.
7573
7574 2002-07-05  Angus Leeming  <leeming@lyx.org>
7575
7576         * BufferView_pimpl.C (buffer): generate previews if desired.
7577
7578         * LColor.h: add "preview" to the color enum.
7579
7580         * LColor.C (LColor): add a corresponding entry to the items array.
7581
7582         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7583         with this buffer.
7584
7585 2002-07-05  Angus Leeming  <leeming@lyx.org>
7586
7587         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7588         The body of the code is now in the method that is passed an ostream &
7589         rather than a file name.
7590         Pass an additional only_preamble parameter, useful for the forthcoming
7591         preview stuff.
7592
7593 2002-07-03  André Pönitz <poenitz@gmx.net>
7594
7595         * lyxfunc.C: simplify getStatus() a bit for math stuff
7596
7597 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7598
7599         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7600
7601 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7602
7603         * text.C (changeRegionCase): do not change case of all the
7604         document when region ends at paragraph end (bug #461)
7605
7606 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7607
7608         * paragraph.C (startTeXParParams):
7609         (endTeXParParams): add \protect when necessary
7610
7611 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7612
7613         * BufferView_pimpl.C (workAreaExpose): remove warning
7614
7615 2002-06-27  Angus Leeming  <leeming@lyx.org>
7616
7617         * Makefile.am: add lyxlayout_ptr_fwd.h.
7618
7619 2002-06-26  André Pönitz <poenitz@gmx.net>
7620
7621         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7622
7623 2002-06-25  Angus Leeming  <leeming@lyx.org>
7624
7625         * lyxfunc.C (dispatch): Comment out the call to
7626         grfx::GCache::changeDisplay. The method no longer exists now that the
7627         pixmap generation part of the graphics loader has been moved into
7628         InsetGraphics.
7629
7630 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7631
7632         * text2.C: layout as layout
7633
7634         * text.C: layout as layout
7635
7636         * tabular.C (OldFormatRead): layout as layout
7637
7638         * paragraph_pimpl.C (TeXDeeper): layout as layout
7639         (realizeFont): layout as layout
7640
7641         * paragraph.C (writeFile): layout as layout
7642         (validate): layout as layout
7643         (getFont): layout as layout
7644         (getLabelFont): layout as layout
7645         (getLayoutFont): layout as layout
7646         (breakParagraph): layout as layout
7647         (stripLeadingSpaces): layout as layout
7648         (getEndLabel): layout as layout
7649         (getMaxDepthAfter): layout as layout
7650         (applyLayout): layout as layout
7651         (TeXOnePar): layout as layout
7652         (simpleTeXOnePar): layout as layout
7653         (TeXEnvironment): layout as layout
7654         (layout): layout as layout
7655         (layout): layout as layout
7656
7657         * lyxtextclass.C (compare_name): new functor to work with
7658         shared_ptr, layout as layout
7659         (Read): layout as layout
7660         (hasLayout): layout as layout
7661         (operator): layout as layout
7662         (delete_layout): layout as layout
7663         (defaultLayout): layout as layout
7664
7665         * lyxlayout_ptr_fwd.h: new file
7666
7667         * lyxlayout.C (Read): layout as layout
7668
7669         * lyx_cb.C (MenuInsertLabel): layout as layout
7670
7671         * bufferlist.C (newFile): layout as layout
7672
7673         * buffer.C (readLyXformat2): layout as layout
7674         (parseSingleLyXformat2Token): layout as layout
7675         (insertStringAsLines): layout as layout
7676         (asciiParagraph): layout as layout
7677         (latexParagraphs): layout as layout
7678         (makeLinuxDocFile): layout as layout
7679         (simpleLinuxDocOnePar): layout as layout
7680         (makeDocBookFile): layout as layout
7681         (simpleDocBookOnePar): layout as layout
7682         (getLists): layout as layout
7683
7684         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7685
7686         * CutAndPaste.C (cutSelection): layout as layout
7687         (pasteSelection): layout as layout
7688         (SwitchLayoutsBetweenClasses): layout as layout
7689
7690         * BufferView_pimpl.C (Dispatch): layout as layout
7691         (smartQuote): layout as layout
7692
7693         * BufferView2.C (unlockInset): layout as layout
7694
7695 2002-06-24  André Pönitz <poenitz@gmx.net>
7696
7697         * lyxfunc.C: fix #487
7698
7699 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7700
7701         * lyxrc.h:
7702         * lyxrc.C:
7703         * lyxfunc.C: remove display_shortcuts, show_banner
7704
7705 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7706
7707         * Buffer_pimpl.C: oops, update on resize
7708
7709 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7710
7711         * buffer.C:
7712         * converter.C:
7713         * exporter.C:
7714         * lyxfunc.C:
7715         * BufferView.h:
7716         * BufferView.C: use repaint()
7717
7718         * BufferView_pimpl.h:
7719         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7720           as it's a clearer description. Remove superfluous
7721           redraws.
7722
7723 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7724
7725         * text.C: fix bug 488. Not ideal, but getting
7726           getWord() to work properly for the insets that
7727           matter is more difficult ...
7728
7729 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7730
7731         * BufferView_pimpl.C:
7732         * LyXAction.C:
7733         * commandtags.h:
7734         * lyxfunc.C: remove the six million index lyxfuncs to just
7735           one, and DTRT (bug 458)
7736
7737 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7738
7739         * BufferView.h:
7740         * BufferView.C:
7741         * BufferView_pimpl.h:
7742         * BufferView_pimpl.C: clean up resize() stuff,
7743           and unnecessary updateScreen()s
7744
7745 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7746
7747         * BufferView.h:
7748         * BufferView.C:
7749         * BufferView_pimpl.h:
7750         * BufferView_pimpl.C:
7751         * lyxfind.h:
7752         * lyxfind.C:
7753         * minibuffer.C: remove focus management of workarea,
7754           not needed. Use screen's greyOut()
7755
7756 2002-06-17  Herbert Voss  <voss@lyx.org>
7757
7758         * converter.C: (convert) do not post a message, when converting
7759         fails, let the calling function decide what to do in this case
7760
7761 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7762
7763         * lyxfunc.C: tidy up a little
7764
7765 2002-06-16    <alstrup@diku.dk>
7766
7767         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7768         Got rid of FORMS_H_LOCATION include. Now we are
7769         GUII.
7770
7771 2002-06-15  LyX Development team  <lyx@rilke>
7772
7773         * buffer.[Ch] (sgmlOpenTag):
7774         (sgmlCloseTag): Added support for avoiding pernicious mixed
7775         content. Return number of lines written.
7776
7777         (makeLinuxDocFile):
7778         (makeDocBookFile): Fixed calls to sgml*Tag.
7779         Simple white space clean.
7780
7781         (simpleDocBookOnePar): Simple white space clean.
7782
7783         * tabular.[Ch] (docBook): Renamed to docbook and got another
7784         argument to related with the pernicious mixed content.
7785
7786         (docbookRow): Fixed calls for docbook inset method.
7787
7788 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7789
7790         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7791         so it's X11 independent.
7792
7793         * kb*.[Ch]: ditto.
7794
7795         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7796
7797 2002-06-15  Lyx Development team  <lyx@electronia>
7798
7799         * intl.h: Renamed getTrans to getTransManager.
7800
7801 2002-06-14  Angus Leeming  <leeming@lyx.org>
7802
7803         * Makefile.am: nuke forgotten stl_string_fwd.h.
7804
7805 2002-06-12  Angus Leeming  <leeming@lyx.org>
7806
7807         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7808
7809 2002-06-13  Angus Leeming  <leeming@lyx.org>
7810
7811         * LaTeX.C:
7812         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7813
7814 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7815
7816         * kbmap.C (getiso): add support for cyrillic and greek
7817
7818 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7819
7820         * BufferView.h:
7821         * BufferView.C:
7822         * BufferView_pimpl.h:
7823         * BufferView_pimpl.C: move bogus scrolling logic
7824           to xforms
7825
7826 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7827
7828         * lyxfunc.C:
7829         * BufferView_pimpl.C: view->resize() change
7830
7831 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7832
7833         * BufferView_pimpl.C: topCursorVisible
7834           prototype change
7835
7836 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7837
7838         * Makefile.am:
7839         * lyx_gui.h:
7840         * lyx_gui.C: move to frontends/
7841
7842         * main.C:
7843         * lyx_main.h:
7844         * lyx_main.C: changes from above
7845
7846 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7847
7848         * intl.C:
7849         * intl.h:
7850         * kbmap.C:
7851         * kbsequence.C:
7852         * lyx_cb.C:
7853         * lyx_main.C: minor tidy
7854
7855 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7856
7857         * BufferView_pimpl.h:
7858         * BufferView_pimpl.C:
7859         * BufferView.h:
7860         * BufferView.C: make painter() const,
7861           remove dead code
7862
7863         * BufferView2.C: use screen() accessor
7864
7865         * lyx_main.h:
7866         * lyx_main.C: some minor cleanup
7867
7868 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7869
7870         * BufferView_pimpl.h:
7871         * BufferView_pimpl.C: remove enter/leaveView,
7872           use workHeight()
7873
7874 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7875
7876         * BufferView.h:
7877         * BufferView.C:
7878         * BufferView2.C:
7879         * BufferView_pimpl.h:
7880         * BufferView_pimpl.C: only construct screen once,
7881           rename
7882
7883         * lyxrc.C: remove pointless comment
7884
7885 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7886
7887         * BufferView.h:
7888         * BufferView.C: remove active() and belowMouse()
7889
7890         * BufferView_pimpl.h:
7891         * BufferView_pimpl.C: use workarea() not workarea_,
7892           and make it use a scoped_ptr instead
7893
7894 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7895
7896         * lyx_gui.C: add debug message on BadWindow
7897
7898 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7899
7900         * sp_spell.C: fdopen is not part of the C++ standard.
7901
7902         * paragraph.C (InsetIterator): use >= instead of ==
7903
7904 2002-06-07  Angus Leeming  <leeming@lyx.org>
7905
7906         Fixes needed to compile with Compaq cxx 6.5.
7907         * BufferView_pimpl.C:
7908         * DepTable.C:
7909         * buffer.C:
7910         * converter.C:
7911         * encoding.C:
7912         * lyx_gui.C:
7913         * lyx_main.C:
7914         * lyxtextclasslist.C:
7915         * minibuffer.C:
7916         * sp_spell.C:
7917         * tabular_funcs.C:
7918         * vc-backend.C:
7919         all c-library variables have been moved into namespace std. Wrap
7920         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7921
7922         * lyxlength.C:
7923         * tabular-old.C:
7924         * tabular.C:
7925         Add a using std::abs declaration.
7926
7927         * kbmap.h (modifier_pair):
7928         * paragraph.h (InsetTable, InsetList):
7929         * lyxfont.h (FontBits):
7930         type definition made public.
7931
7932         * bufferlist.C (emergencyWriteAll): the compiler complains that
7933         there is more than one possible lyx::class_fun template to choose from.
7934         I re-named the void specialisation as lyx::void_class_fun.
7935
7936         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7937
7938         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7939         the compiler is is unable to find tostr in write_attribute.
7940
7941 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7942
7943         * buffer.C (sgmlError): hide #warning
7944
7945 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7946
7947         * xtl/*: get rid of xtl, which is not in use anyway
7948
7949         * LyXAction.C (init):
7950         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7951         were unimplemented xtl experimentation
7952
7953 2002-06-04  André Pönitz <poenitz@gmx.net>
7954
7955         * lyxfunc.C: disable array operation on simple formulae
7956
7957 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7958
7959         * converter.C: constify a bit
7960
7961 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7962
7963         * lyx_gui.C: check xforms version correctly
7964
7965 2002-04-30  Herbert Voss  <voss@lyx.org>
7966
7967         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7968         "keep" option
7969
7970 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7971
7972         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7973           attempt to register it with a VCS)
7974
7975 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7976
7977         * lyx_main.C (init): honor variables LYX_DIR_13x and
7978         LYX_USERDIR_13x
7979
7980 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7981
7982         * buffer.h:
7983         * buffer.C:
7984         * lyx_main.C: fix a crash on bad command line,
7985           and give a useful exit status on error
7986
7987         * lyxfunc.C (doImport): allow -i lyx to work
7988
7989 2002-03-30  André Pönitz <poenitz@gmx.net>
7990
7991         * lyxfunc.C: mathed font changes
7992
7993 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7994
7995         * LaTeX.C:
7996         * importer.h:
7997         * importer.C:
7998         * lyx_sty.h:
7999         * lyx_sty.C:
8000         * lyxlex.C:
8001         * lyxrow.h:
8002         * lyxtext.h:
8003         * paragraph.h:
8004         * paragraph.C:
8005         * texrow.h:
8006         * texrow.C:
8007         * text.C:
8008         * trans_mgr.h: srcdocs, and some minor cleanups
8009
8010 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8011
8012         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8013         call getFont all the time)
8014
8015 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8016
8017         * switch from SigC signals to boost::signals
8018
8019 2002-05-29  André Pönitz <poenitz@gmx.net>
8020
8021         * paragraph_pimpl.C (getChar): don't call size() too often...
8022
8023 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8024
8025         * paragraph_pimpl.C (insertChar): do not try to update tables when
8026         appending (pos == size())
8027
8028         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8029         in order to reduce drastically the number of comparisons needed to
8030         parse a large document
8031
8032 2002-05-29  André Pönitz <poenitz@gmx.net>
8033
8034         * text.C:
8035         * text2.C:
8036         * lyxtextclass.C:
8037         * sp_pspell.h:
8038         * textclasslist.[Ch]:
8039         * sp_ispell.h: whitespace change
8040
8041 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8042
8043         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8044         lyxaction directly now.
8045
8046 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8047
8048         * trans.C:
8049         * lyxfont.C:
8050         * lyxvc.C: remove unused headers
8051
8052 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8053
8054         * Makefile.am:
8055         * buffer.h:
8056         * undostack.h:
8057         * undostack.C:
8058         * undo_funcs.h:
8059         * undo_funcs.C: some cleanups. Use shared_ptr
8060           and a template for the undo stacks.
8061
8062 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8063
8064         * BufferView_pimpl.h:
8065         * BufferView_pimpl.C:
8066         * kbmap.h:
8067         * kbmap.C:
8068         * kbsequence.h:
8069         * kbsequence.C:
8070         * lyxfunc.h:
8071         * lyxfunc.C:
8072         * text2.C: use key_state/mouse_state
8073
8074 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8075
8076         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8077         and LSubstring
8078
8079         * chset.C: change include order
8080         (loadFile): use boost regex and get rid of LRegex and LSubstring
8081
8082         * Makefile.am (BOOST_LIBS): new variable
8083         (lyx_LDADD): use it
8084
8085         * LaTeX.C: change include order.
8086         (scanAuxFile): use boost regex and get rid of LRegex and
8087         LSubstring
8088         (deplog): ditto
8089
8090 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8091
8092         * ColorHandler.h:
8093         * ColorHandler.C:
8094         * FontInfo.h:
8095         * FontInfo.C: moved to frontends/xforms/
8096
8097         * FontLoader.h:
8098         * FontLoader.C: moved into frontends for GUIIzation
8099
8100         * Makefile.am:
8101         * lyx_gui.C:
8102         * lyxfont.C:
8103         * lyxfunc.C: changes from above
8104
8105 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8106
8107         * LColor.C: remove spurious X include
8108
8109         * BufferView_pimpl.C:
8110         * Makefile.am:
8111         * font.h:
8112         * font.C:
8113         * text.C:
8114         * text2.C: move font metrics to frontends/
8115
8116 2002-05-24  Juergen Vigna  <jug@sad.it>
8117
8118         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8119         setting the undo_cursor.
8120
8121         * ParagraphParameters.h: include local includes first.
8122
8123 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8124
8125         * BufferView_pimpl.C:
8126         * BufferView_pimpl.h:
8127         * Makefile.am:
8128         * WorkArea.h:
8129         * WorkArea.C:
8130         * screen.C: move WorkArea into frontends/
8131
8132         * lyxscreen.h:
8133         * screen.C:
8134         * text.C:
8135         * BufferView.C:
8136         * BufferView2.C: move LyXScreen into frontends/
8137
8138         * lyxlookup.h:
8139         * lyxlookup.C:
8140         * lyx_gui.C: move lyxlookup into frontends/xforms/
8141
8142 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8143
8144         * BufferView2.C:
8145         * BufferView_pimpl.C:
8146         * FontLoader.C:
8147         * LyXView.h:
8148         * LyXView.C:
8149         * Makefile.am:
8150         * WorkArea.C:
8151         * XFormsView.h:
8152         * XFormsView.C:
8153         * buffer.C:
8154         * bufferlist.C:
8155         * bufferview_funcs.C:
8156         * converter.C:
8157         * importer.C:
8158         * lyx_cb.C:
8159         * lyx_gui.C:
8160         * lyx_main.C:
8161         * lyx_find.C:
8162         * lyxfunc.C:
8163         * lyxvc.C:
8164         * minibuffer.C:
8165         * text.C:
8166         * text2.C:
8167         * trans.C:
8168         * vc-backend.C: move LyX/XFormsView into frontends/
8169
8170 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8171
8172         * Makefile.am:
8173         * PainterBase.C:
8174         * PainterBase.h:
8175         * Painter.C:
8176         * Painter.h:
8177         * WorkArea.C:
8178         * WorkArea.h:
8179         * screen.C:
8180         * tabular.C:
8181         * text.C:
8182         * text2.C: move Painter to frontends/
8183
8184 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8185
8186         * buffer.C: comment out some some code that depend upon lyx_format
8187         < 220
8188
8189         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8190         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8191
8192         * buffer.h (NO_COMPABILITY): turn off compability
8193
8194         * ColorHandler.C: include scoped_array.hpp
8195
8196         * font.C: Use more specific smart_ptr header.
8197         * Painter.C: ditto
8198         * gettext.C: ditto
8199         * ShareContainer.h: ditto
8200         * lyx_main.h: ditto
8201         * kbmap.h: ditto
8202         * FontInfo.h: ditto
8203         * BufferView_pimpl.h: ditto
8204         * ColorHandler.h: ditto
8205
8206         * kbmap.C (defkey): change call to shared_ptr::reset
8207
8208 2002-05-21  Juergen Vigna  <jug@sad.it>
8209
8210         * buffer.C (insertErtContents): fix to insert ert asis if it is
8211         non empty. Skip it completely if it contains only whitespaces.
8212
8213 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8214
8215         * BufferView_pimpl.C:
8216         * BufferView2.C: clear selection on paste (bug 393)
8217
8218 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8219
8220         * DepTable.C: include ctime
8221
8222 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8223
8224         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8225
8226 2002-05-14  Juergen Vigna  <jug@sad.it>
8227
8228         * text.C (breakParagraph): fixed function to honor the keepempty
8229         layout in the right maner and also to permit the right breaking
8230         algorithm on empty or non empyt keepempty paragraphs.
8231
8232         * paragraph.C (breakParagraph): we have to check also if the par
8233         is really empty (!size()) for isempty otherwise we do the wrong
8234         paragraph break.
8235
8236 2002-05-10  Juergen Vigna  <jug@sad.it>
8237
8238         * buffer.[Ch] : The following are only changes to the ert
8239         compatibility read reading old LaTeX layout and font stuff and
8240         convert it to ERTInsets.
8241
8242         * buffer.h: added isErtInset().
8243
8244         * buffer.C (struct ErtComp): add a fromlayout bool to check
8245         if we're inside a LaTeX layout.
8246         (isErtInset): new helper function.
8247         (insertErtContents): look for other ert insets before this one
8248         and insert the contents there, so that we don't have subsequent
8249         ERT insets with nothing between them. This way we create only one
8250         inset with multiple paragraphs. Also check if we don't insert only
8251         spaces ' ' as they are ignored anyway afterwards in the .tex file
8252         so if we have only spaces we will ignore this latex part in the
8253         new file.
8254         (parseSingleLyXformat2Token \\layout): better compatibility when
8255         reading layout-latex stuff.
8256         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8257         language tag.
8258         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8259         stuff after reading the inset only get the information back from
8260         the stack.
8261
8262 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8263
8264         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8265
8266         * LaTeXFeatures.C (getBabelOptions): New method.
8267
8268 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8269
8270         * BufferView_pimpl.C (Dispatch): work around missing argument for
8271         'layout'
8272
8273 2002-05-08  Juergen Vigna  <jug@sad.it>
8274
8275         * text.C (leftMargin): handle paragraph leftindent.
8276
8277         * paragraph.C (writeFile): write the new \\leftindent tag.
8278         (validate): handle leftindent code.
8279         (TeXEnvironment): handle paragraphleftindent code again.
8280
8281         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8282
8283         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8284         for paragrap_extra indent code and new token \\leftindent.
8285         (latexParagraphs): handle the leftindent as environment.
8286
8287         * ParameterStruct.h: added leftindent support.
8288
8289         * ParagraphParameters.C (leftIndent): added support functions for
8290         the paragraph left indent.
8291
8292         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8293         more appropriate.
8294
8295 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8296
8297         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8298         inside insetERT.
8299
8300         * text.C (computeBidiTables): No bidi in insetERT.
8301
8302         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8303         in RTL documents.
8304
8305 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8306
8307         * version.C.in: pre 5
8308
8309 2002-05-02  José Matos  <jamatos@fep.up.pt>
8310         * buffer.C (makeDocBookFile): white space changes, add newline to
8311         command styles.
8312         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8313
8314         * tabular.C (docBook): fix typo.
8315
8316 2002-05-03  Juergen Vigna  <jug@sad.it>
8317
8318         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8319         change in LyXText as we can not be sure it was not freed.
8320         (drawOneRow): remove unused code.
8321
8322         * text.C (drawInset): redo the calculation of the need_break_row as
8323         it could have a row which was already freed.
8324         (draw): look at the return value of drawInset and return false if
8325         it also returned false.
8326         (paintRowText): look at the return value of draw and return false if
8327         it also returned false.
8328
8329         * lyxtext.h: added bool return type to drawInset() and draw() so that
8330         if we have a change in the row so that the rowbreak has to be redone
8331         we abort drawing as it will be called again.
8332
8333 2002-05-02  Juergen Vigna  <jug@sad.it>
8334
8335         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8336         a change in the maintext also if we're inside an inset.
8337         (Dispatch): set the cursor again after a break line and after the
8338         screen has been updated as it could be we're in a different row.
8339
8340         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8341         to set the cursor behind the pargraph with > size().
8342         (setCursor): check also for the same paragraph when checking where
8343         to put the cursor if we have a NFR inset.
8344
8345         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8346         parts of layout read further up as it still was in the wrong
8347         position.
8348
8349 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8350
8351         * screen.C (drawFromTo): change sine fullRebreak always return
8352         true.
8353
8354         * buffer.C (parseSingleLyXformat2Token): reindent some
8355
8356         * BufferView_pimpl.C (update): change since fullRebreak always
8357         return true.
8358         (Dispatch): git rid of the last hardcoded "Standard"s.
8359
8360 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8361
8362         * text2.[Ch] (fullRebreak): make it return void now that we always
8363         returned true.
8364
8365 2002-04-30  Juergen Vigna  <jug@sad.it>
8366
8367         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8368         ert compatibility check for "latex" layout.
8369
8370 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8371
8372         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8373         minipages: use col% instead of p%, and also use the current font.
8374         (makeLaTeXFile): Fix use babel condition.
8375         (parseSingleLyXformat2Token): Correct font when reading old floats.
8376
8377 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8378
8379         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8380         inserting list of floats.
8381
8382 2002-04-25  Herbert Voss  <voss@lyx.org>
8383
8384         * MenuBackend.C (expand): don't add the graphics extensions to the
8385         export menu
8386
8387 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8388
8389         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8390         non-existing layout, do not complain if it was the default layout
8391         of the original class (bug #342)
8392
8393 2002-04-24  Juergen Vigna  <jug@sad.it>
8394
8395         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8396         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8397
8398 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8399
8400         * buffer.C (getBibkeyList): If using \bibliography, return the
8401         option field with the reference itself. Enables us to provide natbib
8402         support when using \bibliography.
8403
8404 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8405
8406         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8407
8408         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8409         natbib is provided by the LaTeX class.
8410
8411 2002-04-23  Juergen Vigna  <jug@sad.it>
8412
8413         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8414         Wakeup functions.
8415
8416         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8417
8418 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8419
8420         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8421
8422         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8423         ensuremath around textordmasculine, textordfeminine and
8424         textdegree.
8425
8426 2002-04-19  Juergen Vigna  <jug@sad.it>
8427
8428         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8429         reinitializing the buffer otherwise row-dimensions may be wrong.
8430         (update): reset also the selection cursors if they do exits otherwise
8431         their x/y positions may be wrong.
8432
8433         * text2.C (cursorDown): don't enter the inset if we came from a row
8434         above and are one row over the inset.
8435
8436         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8437         really leaving an inset.
8438
8439 2002-04-18  Juergen Vigna  <jug@sad.it>
8440
8441         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8442         of the selected paragraph does not have the selected layout also if
8443         the last one had!
8444
8445         * text2.C (setLayout): fixed bug which did not change last selected
8446         paragraph.
8447
8448         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8449         changed the read and substituted \\end_float with \\end_inset!
8450
8451         * BufferView_pimpl.C (cursorPrevious):
8452         (cursorNext): fixed to make it work with rows heigher than the work
8453         area without moving the cursor only the draw of the row.
8454         (workAreaMotionNotify): fix jumping over high rows.
8455
8456 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8457
8458         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8459         Ressler.
8460
8461 2002-04-16  Juergen Vigna  <jug@sad.it>
8462
8463         * text2.C (setCursor): set also the irow().
8464         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8465         (cursorUp):
8466         (cursorDown): support for locking an inset if the x_fix value goes
8467         inside it. That way I can transverse insets too with cursor up/down.
8468
8469         * lyxrow.h: added irow helper function same as other (i) functions.
8470
8471         * BufferView_pimpl.C (cursorPrevious):
8472         (cursorNext): fixed for insets!
8473
8474 2002-04-15  Juergen Vigna  <jug@sad.it>
8475
8476         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8477         position otherwise it is wrong in some cases.
8478
8479         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8480         inside the inset before the call.
8481
8482 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8483
8484         * buffer.[Ch] (getBibkeyList): make it const.
8485
8486 2002-04-12  Juergen Vigna  <jug@sad.it>
8487
8488         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8489
8490         * text2.C (getCursorX): new helper function
8491         (setCursor): compute also ix_
8492         (setCursorFromCoordinates): set also ix.
8493
8494         * lyxcursor.h: added ix_ and helper functions.
8495
8496         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8497
8498         * buffer.C (insertStringAsLines): dont break paragraph if the this
8499         paragraph is inside an inset which does not permit it!
8500
8501         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8502         also with no chars on this paragraph.
8503         (paintRowText): only paint stuff if it's inside the workarea!
8504
8505         * paragraph.C (breakParagraph): honor keepempty flag and break the
8506         paragraph always below not above.
8507
8508         * BufferView2.C (unlockInset): update the paragraph layout on inset
8509         unlock as we changed paragraph in such a case.
8510
8511         * lyxfind.C (LyXFind): clear the former selection if not found!
8512
8513         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8514         again called in insertChar().
8515
8516         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8517         an inset which uses the whole row!
8518         (rightMargin): ditto.
8519         (insertChar): force a rebreak if we inserted an inset!
8520
8521 2002-03-28  Herbert Voss  <voss@lyx.org>
8522
8523         * lyxlength.[Ch]: add inBP() to get the right PS-point
8524         units (BigPoint). With inPixels we have rounding errors
8525
8526 2002-04-11  Juergen Vigna  <jug@sad.it>
8527
8528         * text2.C (setCursorFromCoordinates): set iy to the right value.
8529         (setCursor): add check if row->previous exists!
8530
8531         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8532         an old float_type as this was the case in the old code!
8533
8534         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8535
8536         * BufferView2.C (showLockedInsetCursor): use iy
8537         (fitLockedInsetCursor): ditto
8538
8539         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8540         locked insets as there we have the right value now.
8541
8542         * lyxcursor.C: added iy_ variable and iy functions to set to the
8543         baseline of cursor-y of the locked inset.
8544
8545         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8546         (setCursor): fixed for insets which need a full row.
8547
8548         * text.C (rowLastPrintable): don't ignore the last space when before
8549         an inset which needs a full row.
8550         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8551         as last character of a row when before a inset which needs a full row.
8552
8553 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8554
8555         * version.C.in: update date
8556
8557         * text2.C (fullRebreak): try to always return true and see what
8558         happens...
8559
8560 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8561
8562         * MenuBackend.C (expand): use Floating::listName
8563
8564         * FloatList.C (FloatList): add listName argument to the built-in
8565         floats
8566
8567         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8568         text associated with the float.
8569
8570 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8571
8572         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8573
8574 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8575
8576         * ShareContainer.h: add a couple of missing typenames.
8577
8578 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8579
8580         * lyxrc.C (getDescription): use _() correctly rather than N_().
8581
8582 2002-03-28  Herbert Voss  <voss@lyx.org>
8583
8584         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8585         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8586
8587 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8588
8589         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8590         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8591
8592 2002-03-29  Juergen Vigna  <jug@sad.it>
8593
8594         * lyxfunc.C (dispatch): add a missing fitCursor call.
8595
8596         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8597         it was scrolled by a cursor move, so return the bool status.
8598
8599         * BufferView.C (fitCursor): return the bool flag also to the outside
8600         world as this is needed.
8601
8602         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8603
8604         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8605         call the edit() as it is not needed (and wrong) IMO.
8606         (workAreaButtonPress): set the screen_first variable before evt.
8607         unlock the inset as this may change screen_first and then we have
8608         a wrong y position for the click!
8609
8610 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8611
8612         * MenuBackend.C (expand): another translation that I missed
8613
8614 2002-03-28  Juergen Vigna  <jug@sad.it>
8615
8616         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8617
8618         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8619
8620 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8621
8622         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8623
8624         * MenuBackend.C (expand): fix export/view/update when there is no
8625         document open.
8626
8627 2002-03-27  Herbert Voss  <voss@lyx.org>
8628
8629         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8630         and text%
8631
8632 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8633
8634         * bufferview_funcs.C (currentState): only show paragraph number
8635         for is DEVEL_VERSION is set.
8636
8637         * lyxfunc.C (dispatch): put warning in INFO channel
8638
8639         * MenuBackend.C (expand): translate the name of floats
8640
8641         * FloatList.C (FloatList): mark the float names for translation
8642
8643         * converter.C (convert): use LibScriptSearch
8644
8645 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8646
8647         * MenuBackend.C (defaults): fix default menu (we might as well get
8648         rid of it...)
8649
8650 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8651
8652         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8653         directory.
8654
8655 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8656
8657         * lyxvc.C: reorder includes.
8658
8659 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8660
8661         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8662           properly
8663
8664 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8665
8666         * CutAndPaste.C: change layouts earlier on paste
8667           to avoid crashing when calling getFont()
8668
8669 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8670
8671         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8672         irritating #error.
8673
8674 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8675
8676         * WorkArea.C: remove 'Pending' debug message.
8677
8678         * most files: ws cleanup
8679
8680         * buffer.[Ch]: ws changes
8681
8682         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8683
8684 2002-03-21  Juergen Vigna  <jug@sad.it>
8685
8686         * tabular.C (SetMultiColumn): collapse also the contents of the
8687         cells and set the last border right. Added a Buffer const * param.
8688
8689 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8690
8691         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8692         linking or not.
8693
8694 2002-03-19  Juergen Vigna  <jug@sad.it>
8695
8696         * text2.C (clearSelection): reset also xsel_cache.
8697
8698         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8699         where it needs to be called (John tells us to do so too :)
8700         (selectionLost): reset sel_cache.
8701
8702         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8703
8704 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8705
8706         * text2.C (setCursorIntern): put debuging code in INSETS channel
8707
8708 2002-03-19  André Pönitz <poenitz@gmx.net>
8709
8710         * lyxfunc.C: tiny whitespace change
8711
8712 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8713
8714         * ToolbarDefaults.C (init):
8715         * LyXAction.C (init):
8716         * commandtags.h:
8717         * BufferView_pimpl.C (Dispatch):
8718         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8719
8720 2002-03-19  Allan Rae  <rae@lyx.org>
8721
8722         * exporter.C (Export): removeAutoInsets before doing anything else.
8723         While I've just introduced a dependency on BufferView this really is
8724         the best place to clean the buffer otherwise you need to cleanup in
8725         a dozen places before calling export or cleanup in a dozen functions
8726         that export calls.
8727
8728         * converter.C (runLaTeX):
8729         (scanLog): Better handling of removeAutoInsets and screen updates.
8730
8731         * lyxfunc.C (dispatch): small whitespace changes
8732
8733 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8734
8735         * WorkArea.C (C_WorkAreaEvent): return a value.
8736         (event_cb): return 1 if we handled the event, 0 otherwise.
8737
8738         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8739
8740 2002-03-18  Juergen Vigna  <jug@sad.it>
8741
8742         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8743         (GetAdditionalWidth): ditto.
8744         (RightLine): ditto.
8745         (LeftLine): ditto.
8746
8747         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8748         inset if we're there actually (probably not used right now but this
8749         is the direction to go for unifying code).
8750         (paste): disable code to clear the selection.
8751
8752         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8753         inside an InsetText and move the check further up as it is in the
8754         wrong place.
8755
8756         * text2.C (pasteSelection): set a selection over the pasted text.
8757
8758 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8759
8760         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8761         and libgraphics to build on Cygwin.
8762
8763 2002-03-15  Juergen Vigna  <jug@sad.it>
8764
8765         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8766         inserting an Inset into the paragraph. I know this is not the best
8767         fix but we already use current_view in CutAndPaste so we will remove
8768         all of it's using at the same time.
8769
8770         * buffer.C (sgmlError): deactivated function till it is rewritten in
8771         the right mode, now it can create problems.
8772
8773         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8774         before accessing it.
8775
8776 2002-03-14  Juergen Vigna  <jug@sad.it>
8777
8778         * undo_funcs.C (textHandleUndo): do the right thing when updating
8779         the inset after the undo/redo.
8780
8781         * text2.C (setCursor): just some testcode for #44 not ready yet.
8782
8783         * undo_funcs.C (textHandleUndo): set the next() and previous()
8784         pointers of the paragraph to 0 before deleting otherwise we have
8785         problems with the Paragraph::[destructor].
8786
8787         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8788         on a paragraph insertion.
8789
8790 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8791
8792         * buffer.C (asciiParagraph): use += operator for char append to
8793         string.
8794
8795         * paragraph.C (getFontSettings): compare >= not just >
8796         (highestFontInRange): ditto
8797         (setFont): ditto
8798
8799 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8800
8801         * paragraph.C: change several algorithm to be more appripriate for
8802         the problem domain. This is lookip in FontList and in the InsetList.
8803
8804 2002-03-13  André Pönitz <poenitz@gmx.net>
8805
8806         * commandtags.h:
8807         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8808
8809 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8810
8811         * commandtags.h:
8812         * LyXAction.C:
8813         * lyxfunc.C:
8814         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8815
8816 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8817
8818         * Painter.C (display): anon helper function, adjust code for this
8819         change.
8820         (pixmap): remove function.
8821
8822         * Painter.h: remove private display variable.
8823
8824         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8825
8826 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8827
8828         * WorkArea.[Ch]: remove figinset_canvas cruft.
8829
8830 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8831
8832         * lyxtextclass.C (operator): add one item cache optimization.
8833
8834         * bufferlist.h: doxy changes
8835
8836         * bufferlist.C: ws changes
8837
8838         * DepTable.[Ch] (ext_exist): place const in the right spot.
8839
8840         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8841         call resizeInsets.
8842         (workAreaExpose): call resizeInsets when the with BufferView changes.
8843         (Dispatch): adjust for protectedBlank removal
8844         (specialChar): call updateInset if the insert went ok.
8845
8846         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8847         specialChar instead.
8848
8849         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8850
8851         * BufferView.h: doxy change
8852
8853         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8854
8855         * lyxtextclass.C (operator[]): remove non-const version
8856         (defaultLayout): remove non-const version
8857
8858 2002-03-12  Juergen Vigna  <jug@sad.it>
8859
8860         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8861         did resize the LyXText too.
8862
8863         * buffer.C (readLyXformat2): set layout information on newly allocated
8864         paragraphs.
8865
8866         * tabular.C (OldFormatRead): set layout information on the paragraph.
8867
8868 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8869
8870         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8871
8872 2002-03-11  Juergen Vigna  <jug@sad.it>
8873
8874         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8875         plainly wrong.
8876         (resizeCurrentBuffer): force also the insets to resize themselfes.
8877         (moveCursorUpdate): fixed up for InsetText.
8878
8879 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8880
8881         * commandtags.h:
8882         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8883         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8884         value of Dialogs::tooltipsEnabled().
8885         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8886
8887 2002-03-08  Juergen Vigna  <jug@sad.it>
8888
8889         * BufferView_pimpl.C (updateInset): update inset inside inset also
8890         if it isn't inside theLockingInset().
8891
8892 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8893
8894         * buffer.C (asciiParagraph): redo some of the word and line length
8895         handling.
8896         (getLists): look for Caption instead of caption.
8897
8898 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8899
8900         * buffer.C (Buffer): initialize niceFile to true
8901         (makeLaTeXFile):
8902         (makeLinuxDocFile):
8903         (makeDocBookFile): make sure niceFile is true on exit
8904
8905 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8906
8907         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8908
8909 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8910
8911         * LyXSendto.C: remove.
8912         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8913         * lyx_gui.C: remove now-redundant comment.
8914         * ColorHandler.h: remove forward declaration of class WorkArea.
8915         * lyxfunc.C: remove #include "WorkArea.h".
8916
8917 2002-03-07  Juergen Vigna  <jug@sad.it>
8918
8919         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8920         got moved away with the DEPM and also set the inset_owner always
8921         right which before could have been omitted.
8922
8923 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8924
8925         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8926         wanted layout is not found.
8927
8928 2002-03-07  Juergen Vigna  <jug@sad.it>
8929
8930         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8931
8932 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8933
8934         * paragraph.C (breakParagraph): use default layout not layout of
8935         prev paragraph.
8936         (Paragraph): clear ParagraphParameters.
8937
8938 2002-03-06  Juergen Vigna  <jug@sad.it>
8939
8940         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8941         otherwise it would not be a valid lenght. Fixed a special case in
8942         the minipage compatibility read where we end the document with a
8943         minipage.
8944
8945         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8946         was set as it could be 0 for InsetTexts first entry.
8947
8948 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8949
8950         * paragraph.C (writeFile): if layout is empty write out
8951         defaultLayoutName().
8952
8953         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8954         file without named layout we set layout to defaultLayoutName().
8955
8956 2002-03-06  Juergen Vigna  <jug@sad.it>
8957
8958         * CutAndPaste.C (copySelection): set layout for new paragraph.
8959
8960         * text.C (prepareToPrint): leave ERT inset left aligned
8961         (leftMargin): don't indent paragraphs inside ERT insets
8962
8963 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8964
8965         * paragraph.C (breakParagraph): dont call clear do the work manually
8966
8967         * paragraph.[Ch] (clear): remove function
8968
8969 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8970
8971         * paragraph.C (Paragraph): dont call clear, the work has already
8972         been done.
8973
8974         * lyxtextclass.C (operator): assert if n is empty
8975
8976         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8977         work manually instead.
8978
8979 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8980
8981         * BufferView_pimpl.C: protect selectionLost against text == 0
8982
8983 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8984
8985         * text.C (breakParagraph): fix a setting layout to '0' problem.
8986
8987 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8988
8989         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8990         final location of file, for the included files, and graphics.
8991
8992 2002-03-05  Juergen Vigna  <jug@sad.it>
8993
8994         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8995
8996 2002-03-04  Juergen Vigna  <jug@sad.it>
8997
8998         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8999
9000         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9001         last column of multicolumn cells.
9002         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9003
9004 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9005
9006         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9007         file if it doesn't go to a temporary file.
9008
9009         * buffer.C (sgmlOpenTag):
9010         (sgmlCloseTag):  remove extra newline insertion.
9011
9012 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9013
9014         * text.C (getRowNearY): comment out debug msg
9015
9016 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9017
9018         * text2.C: first -> first_y
9019
9020         * text.C (getRowNearY): add some attemts at a possible
9021         optimization, not working.
9022
9023         * tabular.[Ch]: add BufferParams to several function so that newly
9024         created paragraph can be initialized to he default layotu for the
9025         buffers textclass.
9026
9027         * tabular-old.C (ReadOld): add buf->params to call of Init
9028
9029         * screen.C: rename text->first to text->first_y
9030
9031         * paragraph.C (breakParagraph): always set layout in the broken
9032         paragraph
9033
9034         * lyxtextclass.C (Read): remove lowercase
9035         (hasLayout): ditto
9036         (operator): ditto
9037         (delete_layout): ditto
9038
9039         * lyxtext.h: rename first -> first_y
9040
9041         * lyxlayout.C (Read): remove lowercase
9042         (name): ditto
9043         (setName): ditto
9044         (obsoleted_by): ditto
9045
9046         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9047
9048         * buffer.C (insertErtContents): add params are to InsetERT
9049         (parseSingleLyXformat2Token): add code to check if a paragraphs
9050         layout really exist.
9051         (parseSingleLyXformat2Token): add params to several inset
9052         constructors
9053         (asciiParagraph): remove lowercase, do the layout comparisons with
9054         no_case
9055
9056         * BufferView_pimpl.C (cursorNext): first -> first_y
9057         (resizeCurrentBuffer): first -> first_y
9058         (updateScrollbar): first -> first_y
9059         (scrollCB): first -> first_y
9060         (workAreaMotionNotify): first -> first_y
9061         (workAreaButtonPress): first -> first_y
9062         (checkInsetHit): first -> first_y
9063         (cursorPrevious): first -> first_y
9064         (cursorNext): first -> first_y
9065         (Dispatch): add buffer_->params to severl inset contructors
9066
9067 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9068
9069         * lyxlayout.C (Read): remove some debug info that I forgot.
9070
9071         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9072         clean up the code slightly.
9073         (makeLinuxDocFile): ditto
9074         (makeDocBookFile): ditto
9075
9076         * text2.C: layout as string
9077
9078         * text.C: layout as string
9079
9080         * paragraph_pimpl.C: layout as string
9081
9082         * paragraph.[Ch]: layout as string
9083
9084         * lyxtextclasslist.[Ch]: layout as string
9085
9086         * lyxtextclass.[Ch]: layout as string
9087
9088         * lyxtext.h: layout as string
9089
9090         * lyxlayout.[Ch]: layout as string
9091
9092         * lyx_cb.C: layout as string
9093
9094         * bufferview_funcs.C: layout as string
9095
9096         * bufferparams.C: layout as string
9097
9098         * buffer.C: layout as string
9099
9100         * LyXView.[Ch]: layout as string
9101
9102         * LaTeXFeatures.[Ch]: layout as string
9103
9104         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9105
9106         * BufferView_pimpl.C: change current_layout to string, remove
9107         lyx::layout_type.
9108         (Dispatch):
9109         (smartQuote):
9110         (insertInset):
9111         (workAreaButtonRelease): layout as string
9112
9113         * BufferView2.C (unlockInset): adjust
9114
9115         * vspace.C (asLatexCommand): use an explict temp variable.
9116
9117 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9118
9119         * Makefile.am: use FRONTEND_*
9120
9121 2002-03-01  Juergen Vigna  <jug@sad.it>
9122
9123         * tabular.C (SetWidthOfMulticolCell): changed to something better
9124         I hope but still work in progress.
9125         (recalculateMulticolumnsOfColumn): renamed function from
9126         recalculateMulticolCells as it is more appropriate now.
9127         (SetWidthOfCell): calculate multicols better.
9128
9129 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9130
9131         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9132
9133         * lyxfunc.C (processKeySym): print sequence also if it is
9134         `deleted' (complete)
9135
9136         * kbsequence.C (print): print sequence even if it is deleted
9137         (complete would be a better word, actually).
9138
9139         * lyxfunc.C (dispatch): print complete options after a prefix key
9140
9141         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9142
9143 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9144
9145         * text2.C (setCharFont): eliminate setCharFont code duplication.
9146
9147 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9148
9149         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9150         LFUN_TABULAR_FEATURE (bug #177)
9151
9152 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9153
9154         * Makefile.am: remove figure.h
9155
9156 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9157
9158         * Bufferview_pimpl.C:
9159         * CutAndPasteC:
9160         * LaTeX.C:
9161         * LyXSendto.C:
9162         * buffer.C:
9163         * bufferlist.C:
9164         * converter.C:
9165         * language.C:
9166         * lyxfunc.C:
9167         * lyxvc.C:
9168         * paragraph.C:
9169         * text.C:
9170         * text2.C: remove #include "lyx_gui_misc.h".
9171
9172         * LaTeX.C: added #include <cstdio>
9173
9174 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9175
9176         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9177         that the paragraph following this one can have.
9178
9179         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9180
9181         * vspace.C (asLatexCommand): fix bogus gcc warning
9182
9183         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9184
9185 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9186
9187         * text2.C (setLayout): get rid of redundant code
9188
9189 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9190
9191         * text2.C (incDepth): make sure depth cannot be increased beyond
9192         reasonable values.
9193
9194 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9195
9196         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9197         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9198
9199         * PainterBase.h (image):
9200         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9201         a LyXImage const *.
9202
9203 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9204
9205         * BufferView.C:
9206         * BufferView.h:
9207         * BufferView_pimpl.C:
9208         * BufferView_pimpl.h:
9209         * LaTeXFeatures.C:
9210         * LyXAction.C:
9211         * LyXView.C:
9212         * Makefile.am:
9213         * UpdateList.h:
9214         * UpdateList.C:
9215         * buffer.C:
9216         * figure.h:
9217         * figureForm.C:
9218         * figureForm.h:
9219         * figure_form.C:
9220         * figure_form.h:
9221         * lyx_cb.C:
9222         * lyx_gui.C:
9223         * lyx_gui_misc.C:
9224         * lyxfunc.C:
9225         * sp_base.h:
9226         * sp_ispell.h:
9227         * sp_pspell.h:
9228         * sp_spell.C: remove fig inset, and the crap house of
9229           cards that follows it
9230
9231 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9232
9233         * Makefile.am:
9234         * lyxserver.C:
9235         * os2_defines.h:
9236         * os2_errortable.h:
9237         * nt_defines.h: move .h into support/
9238
9239         * vms_defines.h: remove
9240
9241         * WorkArea.C: add space in debug output
9242
9243         * text2.C:
9244         * paragraph.C:
9245         * buffer.C: add WITH_WARNINGS
9246
9247         * vc-backend.h:
9248         * vc-backend.C:
9249         * bufferlist.C: s/retrive/retrieve/, add docs
9250
9251         * vspace.h:
9252         * vspace.C:
9253         * kbmap.h:
9254         * lyxlength.h:
9255         * lyxgluelength.h:
9256         * length_common.h:
9257         * chset.h:
9258         * chset.C: add docs
9259
9260         * lyxgui.C: add ID to X error handler
9261
9262         * lyxtestclass.c: fix typo
9263
9264 2002-02-26  Juergen Vigna  <jug@sad.it>
9265
9266         * tabular_funcs.C (write_attribute): changed so that some default
9267         attributes are not written at all.
9268         (getTokenValue): set default values before trying to read the
9269         value so we have the return value always set as default if we don't
9270         find the token we search for.
9271
9272         * tabular.C (Write): write bools as bools not as strings!
9273
9274 2002-02-22  Juergen Vigna  <jug@sad.it>
9275
9276         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9277         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9278
9279         * text.C (leftMargin): don't add an indent for paragraphs inside
9280         tabular cells (fix #208).
9281
9282 2002-02-21  José Matos  <jamatos@fep.up.pt>
9283
9284         * tabular.C (docBook): fixed support for long tables.
9285
9286 2002-02-20  Juergen Vigna  <jug@sad.it>
9287
9288         * text2.C (getFont): get the drawing font of the Inset if this
9289         paragraph is inside an inset (only important for InsetERT for now).
9290
9291         * buffer.C (insertErtContents): use new lanugage params in ERT
9292         constructor.
9293
9294         * CutAndPaste.C: commenting out seemingly uneeded code.
9295
9296 2002-02-19  Allan Rae  <rae@lyx.org>
9297
9298         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9299         Iterators might be simple to use but they also get invalidated.
9300         (removeAutoInsets): renamed saved cursor tracking variables and added
9301         some comments to clarify what everything does.
9302
9303 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9304
9305         * Chktex.C:
9306         * LaTeX.C:
9307         * LyXSendto.C:
9308         * converter.C:
9309         * lyx_cb.C:
9310         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9311         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9312
9313         * lyxfunc.C:
9314         * vc-backend.h: remove #include "support/syscall.h"
9315
9316         * LaTeX.C:
9317         * LyXSendto.C:
9318         * converter.C: rearrange #includes in Lars' approved fashion.
9319
9320         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9321         forward declare class Timeout in the header file.
9322
9323         * XFormsView.C: changes due to the above.
9324
9325         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9326         similar to LyXView.
9327
9328         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9329         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9330
9331 2002-02-18  José Matos  <jamatos@fep.up.pt>
9332
9333         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9334         insets contents.
9335
9336 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9337
9338         * a lot of small ws changes
9339         * add a lot of using std::XXX
9340         * use std construcs some places where approp.
9341         * use some exisint stuff from lyxfunctional where approp.
9342         * Make file changes to use partial linking (lets test this now...)
9343
9344 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9345
9346         * Chktex.C:
9347         * buffer.C:
9348         remove #include "support/syscontr.h" as it's redundant. Always has been.
9349
9350         * Chktex.C:
9351         * LaTeX.C:
9352         * LyXSendto.C:
9353         * converter.C:
9354         * lyx_cb.C:
9355         * vc-backend.C:
9356         change Systemcalls::System to Systemcalls::Wait and
9357         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9358         No change of functionality, just reflects the stripped down Systemcalls
9359         class.
9360
9361 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9362
9363         * debug.[Ch]: add a GRAPHICS type to the enum.
9364
9365 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9366
9367         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9368
9369         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9370         there is an inset.
9371
9372 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9373
9374         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9375         match the changes below.
9376
9377         * text2.C (toggleInset): if there is not editable inset at cursor
9378         position, try to see if cursor is _inside_ a collapsable inset
9379         and close it.
9380
9381 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9382
9383         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9384         document menu has a nice checkbox
9385
9386 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9387
9388         * lyxlength.C (asLatexString): change PW to output as percent of
9389         \textwidth.
9390
9391         * lengthcommon.C: change '%' to 't%'
9392
9393         * lyxfunc.C (dispatch): a few comments from Martin
9394
9395 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9396
9397         * WorkArea.h:
9398         * WorkArea.C:
9399         * BufferView_pimpl.h:
9400         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9401           the X selection.
9402
9403 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9404
9405         * vspace.C (inPixels): fix compiler warning
9406
9407 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9408
9409         * lyxfunc.C (getStatus): fix status message for disabled commands.
9410
9411 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9412
9413         * BufferView_pimpl.C: fix crash on close buffer
9414         during selection (#227)
9415
9416 2002-01-27  Herbert Voss  <voss@lyx.org>
9417
9418         * buffer.C: link old Figure to new graphic inset
9419
9420 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9421
9422         * FontLoader.C (getFontinfo): Change the latex font names in order
9423         to match the names of type1inst.
9424
9425 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9426
9427         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9428
9429         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9430         (extchanged): ditto
9431         (ext_exist): ditto
9432         (remove_files_with_extension): ditto
9433         (remove_file): ditto
9434         (write): ditto
9435
9436         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9437         document is smaller than the work area height. Do not initialize
9438         static variables to 0.
9439
9440 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9441
9442         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9443
9444         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9445         LFUN_LAYOUT_PARAGRAPHS.
9446
9447         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9448         tabular. It is possible to provide a possible cell, which will
9449         typically be the actcell from the corresponding insettabular
9450
9451         * lyxfunc.C (getStatus): small cleanup; disable
9452         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9453         true
9454
9455 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9456
9457         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9458
9459         * paragraph.C (startTeXParParams):
9460         (endTeXParParams): new methods. The LaTeX code to
9461         start/end paragraph formatting
9462         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9463         empty (fixes bug #200)
9464
9465         * vspace.C (inPixels): adapt to the change below
9466         (inPixels): [later] more cleanups (remove unused variables)
9467
9468         * lyxlength.C (inPixels): change to use a width and a height as
9469         parameter.
9470
9471 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9472
9473         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9474         Replaced with \paperwidth
9475
9476         * DepTable.C (insert): add std:: qualifier
9477
9478 2002-01-18  Allan Rae  <rae@lyx.org>
9479
9480         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9481         updated also?
9482
9483         * text.C (drawInset): Turned out I didn't know enough about how
9484         rebreaking worked.  This fixes most of the redraw problems.  I see
9485         an occasional cursor trail when a line is broken now and the cursor
9486         placement can seem out by a few pixels also after a rebreak.
9487
9488 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9489
9490         * buffer.C (parseSingleLyXformat2Token): update because minipage
9491         width is now a LyXLength
9492
9493         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9494
9495         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9496         math insets
9497
9498 2002-01-17  Juergen Vigna  <jug@sad.it>
9499
9500         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9501
9502         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9503         is set correctly and the inset is updated correctly.
9504
9505 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9506
9507         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9508         the beginning of the loop.
9509
9510 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9511
9512         * lyxrc.C: improve help for use_scalable_fonts
9513
9514 2002-01-17  Allan Rae  <rae@lyx.org>
9515
9516         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9517
9518 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9519
9520         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9521         make sure to set their inset_owner to the right value (bug #171)
9522
9523 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9524
9525         * DepTable.h
9526         * DepTable.C: Implement mtime checking to reduce time spent doing
9527         CRCs.
9528
9529 2002-01-16  Juergen Vigna  <jug@sad.it>
9530
9531         * tabular.C (GetAdditionalHeight): one of error fixed.
9532
9533         * lyxrc.C (output): small fix in writing use_pspell.
9534
9535 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9536
9537         * sp_base.h: #include LString.h
9538
9539 2002-01-16  Allan Rae  <rae@lyx.org>
9540
9541         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9542         Can someone check this please?
9543
9544         * text.C (drawInset): It was possible that p.row would be removed by
9545         breakAgainOneRow upsetting a few other settings.  There may be another
9546         small tweak possible by setting need_break_row = 0 when p.row has been
9547         removed but I don't know enough about the logic here.
9548
9549 2002-01-15  Allan Rae  <rae@lyx.org>
9550
9551         * text.C (insertChar): removed conditional truism.
9552
9553         * BufferView2.C (removeAutoInsets): More tweaks.
9554         cur_par_prev could be a stray pointer.  Check for trailing empty line
9555         in case last line was cur_par and only had an error inset on it.
9556
9557 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9558
9559         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9560         absolute
9561
9562         * vc-backend.C (most methods):
9563         * exporter.C (Export):
9564         * converter.C (convert):
9565         (runLaTeX):
9566         * LyXSendto.C (SendtoApplyCB):
9567         * lyxfunc.C (dispatch):
9568         (menuNew):
9569         (open):
9570         (doImport):
9571         * lyx_cb.C (AutoSave):
9572         (InsertAsciiFile):
9573         * BufferView_pimpl.C (MenuInsertLyXFile):
9574         * buffer.C (runChktex): use Buffer::filePath().
9575
9576         * buffer.h: rename filename to filename_; rename filepath to
9577         filepath_ and make it private
9578         (filePath): new method
9579
9580         * buffer.C (writeFile): use fileName()
9581         (getLatexName):
9582
9583         * lyx_main.C (init): fix starting  of LyX when the binary is a
9584         link from so,ewhere else.
9585
9586         * minibuffer.C: include <cctype> for isprint
9587
9588 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9589
9590         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9591         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9592         name clash with InsetCollapsable's width function.
9593
9594 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9595
9596         * lastfiles.C: include <iterator>
9597
9598 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9599
9600         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9601         std::count.
9602
9603         * buffer.C (makeLaTeXFile): ditto.
9604         Also make loop operation more transparent.
9605
9606 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9607
9608         * ToolbarDefaults.C: remove trailing comma closing namespace.
9609
9610         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9611
9612         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9613         as in WorkArea.
9614
9615         * trans.C (Load): comment out unused variable, allowed.
9616
9617 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9618
9619         * minibuffer.[Ch] (append_char): new method to recieve input from the
9620         drop-down completion browser. If a key was pressed, then recieve this
9621         char and append it to the existing string.
9622         (peek_event): modify the positioning data passed to the completion
9623         browser so that it can be placed above the minibuffer rather than below.
9624 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9625
9626         * LyXAction.C (init): alloe error-next for readonly documents.
9627
9628         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9629         count.
9630
9631 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9632
9633         * bufferlist.C (readFile): create the buffer _after_ checking that
9634         the file exists.
9635
9636         * lyxfunc.C (verboseDispatch): fix handling of arguments
9637
9638         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9639
9640         * lyxrc.C: use string::erase() instead of initializing to "".
9641
9642
9643 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9644
9645         * BufferView_pimpl.h:
9646         * BufferView_pimpl.C:
9647         * WorkArea.h:
9648         * WorkArea.C:
9649         * text2.C: tell X when we have made a selection for copying
9650
9651 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9652
9653         * BufferView_pimpl.C (MenuInsertLyXFile):
9654         * lyxfunc.C (menuNew):
9655         (open):
9656         (doImport): add shortcuts to directory buttons
9657
9658         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9659         open a float)
9660
9661         * lyxfunc.C (setStatusMessage):
9662         (getStatusMessage): new methods
9663         (getStatus):use setStatusMessage instead of setErrorMessage
9664         (dispatch): when function is disabled, set error message here
9665         [instead of in getStatus previously]
9666
9667         * BufferView_pimpl.C (workAreaButtonRelease): update
9668         toolbar/menubar here too.
9669
9670 2002-01-13  Allan Rae  <rae@lyx.org>
9671
9672         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9673         Now seems indestructible.  Remaining task is to audit all other
9674         code affected by deleteEmptyParagraphMechanism.  One small quirk
9675         left is that an empty document with an error in the preamble can
9676         be made to report an error but no error box appears.  I don't know
9677         where it goes.
9678         (removeAutoInsets): Improved comments.
9679
9680 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9681
9682         * Thesaurus.h:
9683         * Thesaurus.C: update for Aiksaurus 0.14
9684
9685 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9686
9687         * text2.C (firstParagraph): removed member function, all uses
9688         replaces with ownerParagraph
9689         (redoParagraphs): here
9690         (updateInset): here
9691         (toggleAppendix): here
9692         * BufferView2.C (insertErrors): here
9693         (setCursorFromRow): here
9694
9695 2002-01-13  Allan Rae  <rae@lyx.org>
9696
9697         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9698         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9699         There is still a way to segfault this although you may have to do this
9700         multiple times: Have an InsetERT with an unknown command in it.
9701         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9702         <down-arrow>, <Enter> again, View->DVI, BANG!
9703
9704         * text2.C (setCursor):
9705         (deleteEmptyParagraphMechanism):
9706         * lyxtext.h (setCursor):
9707         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9708         Making use of the return value may help fix other bugs.
9709
9710 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9711
9712         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9713
9714         * LyXView.C (updateMenubar): call MenuBar::update here
9715         (updateToolbar): but not here
9716         (showState): do not update toolbar/menubar
9717
9718         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9719         should need to care about that.
9720
9721         * lyxfunc.C (verboseDispatch): simplify a bit
9722         (getStatus): have a version which takes a pseudoaction, and
9723         another which requires a (kb_action,string).
9724
9725         * LyXAction.C (retrieveActionArg): make it work also when action
9726         is not a pseudo-action.
9727         (getActionName): simplify a bit
9728         (helpText):
9729
9730 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9731
9732         * lyxfunc.C (verboseDispatch): new families of methods with
9733         several ways to specify a command and a bool to indicate whether
9734         the command name and shortcut should be displayed in minibuffer
9735         (eventually, we could extend that to a finer bitmask like
9736         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9737         (dispatch): the pristine dispatch command which just, well,
9738         dispatchs! Note it still sets its result to minibuffer; I'm not
9739         sure we want that.
9740
9741         * lyxfunc.h: remove setHintMessage
9742
9743         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9744
9745 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9746
9747         * BufferView_pimpl.C (specialChar): delete new inset if we have
9748         not been able to insert it.
9749
9750         * kbmap.C: revert to using int instead of kb_action, since all we
9751         are dealing with is pseudo-actions.
9752
9753         * LyXAction.C (searchActionArg): change to return int instead of
9754         kb_action, since the result is a pseudoaction.
9755
9756 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9757
9758         * buffer.C (insertErtContents): Fix (partially) the font bug.
9759
9760 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9761
9762         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9763         as the other one is broken on my machine!
9764
9765 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9766
9767         * commandtags.h:
9768         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9769
9770 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9771
9772         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9773         reflect their actual use. Provide compatibility code for older lyxrc
9774         files.
9775
9776         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9777         FL_NORMAL_STYLE.
9778         change names of popup font variables in line with the changes to lyxrc.C
9779
9780 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9781
9782         * buffer.C (asciiParagraph): avoid outputing a word twice after
9783         an inset.
9784
9785         * lyxrc.C (getDescription): document that document_path and
9786         template_path can be empty.
9787
9788 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9789
9790         * LaTeXFeatures.C (getMacros):
9791         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9792
9793         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9794
9795         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9796         getPackages.
9797         (getPackages): rename feature "floats" to "float". Use an array to
9798         iterate over 'simple' features (i.e. just a \usepackage). Add
9799         handling of "amsmath" (renamed from "amsstyle").
9800
9801 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9802
9803         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9804         features list.
9805
9806 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9807
9808         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9809         FuncStaus::FuncStatus & FuncStaus::some_method().
9810
9811 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9812
9813         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9814         of the func_satus stuff. Edited and massaged in various ways by
9815         JMarc.
9816
9817         * lyxfunc.C (getStatus): use FuncStatus
9818
9819 2002-01-08  Juergen Vigna  <jug@sad.it>
9820
9821         * text.C (nextBreakPoint): use function Inset::isChar().
9822
9823         * paragraph.C (TeXOnePar): use function
9824         Inset::forceDefaultParagraphs.
9825
9826         * buffer.C (latexParagraphs): use function
9827         Inset::forceDefaultParagraphs.
9828
9829 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9830
9831         * lyx_gui.C (init): set the style of the menu popups to
9832         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9833
9834 2002-01-07  Juergen Vigna  <jug@sad.it>
9835
9836         * text.C (setHeightOfRow): small fix
9837         (prepareToPrint): don't look at alignment if we don't have the place
9838         for doing it.
9839
9840 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9841
9842         * box.C: New file. Move the Box methods and functions out of box.h,
9843         following Lars' suggestion.
9844
9845 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9846
9847         * box.h: #include "support/LOstream.h", needed for inlined function.
9848
9849         * lyxtextclass.C:
9850         * lyxtextclasslist.C: added some using std declarations.
9851
9852 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9853
9854         * box.h: make signed dimensions to allow insets wider than
9855           the screen (bug #162)
9856
9857         * BufferView_pimpl.C: add some insetHit debug
9858
9859 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9860
9861         * vc-backend.C: add FIXME
9862
9863 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9864
9865         * lyxfunc.C (getStatus): enable code for showing math font status
9866         in toolbar/menu.
9867
9868 2002-01-07  Juergen Vigna  <jug@sad.it>
9869
9870         * text.C (nextBreakPoint): removed debug output not needed anymore.
9871
9872 2002-01-06  Juergen Vigna  <jug@sad.it>
9873
9874         * text.C (nextBreakPoint): fixed up this function we had this bug
9875         since ever but now hopefully we break row better.
9876         (insertChar): we have to check if an inset is the next char as it
9877         could now happen that a large inset is causing a break.
9878
9879 2002-01-05  Juergen Vigna  <jug@sad.it>
9880
9881         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9882         if it doesn't like to be drawed.
9883
9884 2002-01-04  Juergen Vigna  <jug@sad.it>
9885
9886         * BufferView2.C (lockInset): forgot to set a cursor.
9887
9888         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9889
9890 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9891
9892         * FormMathsPanel.C:
9893         * FormMathsPanel.h
9894         * MathsSymbols.C:
9895         * form_maths_panel.C:
9896         * form_maths_panel.h:
9897         * form_maths_panel.fd: implemented sub- and super- buttons in math
9898         panel.
9899
9900         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9901         (or ^ space) to be used as in TeX (req'd by André).
9902
9903         * lyxfunc.C: Allow ^ and _ again to be used both as
9904         super/subscript (mathed) and as themselves (in text).
9905
9906 2002-01-03  Allan Rae  <rae@lyx.org>
9907
9908         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9909         "LyX" or the filename of the current buffer if it has one.  This is a
9910         modified form of John Levon's patch.
9911
9912         * XFormsView.C (setWindowTitle): also set icon title.
9913
9914         * LyXView.h (setWindowTitle): signature changed.
9915         * XFormsView.h (setWindowTitle): ditto.
9916
9917 2002-01-02  Juergen Vigna  <jug@sad.it>
9918
9919         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9920
9921 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9922
9923         * screen.C (topCursorVisible): introduce a temp var for
9924         text->cursor.row(), handle the case where this row is null. (kindo
9925         hachish)
9926
9927         * text2.C (setCursor): add a couple of asserts.
9928
9929         * paragraph.h (inset_iterator): add -> operator
9930
9931         * paragraph.[Ch] (autoDeleteInsets): remove member function
9932
9933         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9934         cursor pos correctly and handle inset deletion by itself.
9935         (insertErrors): move iterator declaration out of for expression
9936
9937         * lyxtextclass.C: add <algorithm>
9938
9939         * Makefile.am: added the new files to sources, removed layout.C
9940
9941         * layout.C: removed file
9942
9943         * layout.h: remove LYX_DUMMY_LAYOUT
9944
9945         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9946         layout.
9947
9948         * lyxlayout.[Ch]:
9949         * lyxtextclass.[Ch]:
9950         * lyxtextclasslist.[Ch]: new files
9951
9952         * include order changes to a lot of files, also changes because of
9953         the six new files.
9954
9955 2001-12-27  Juergen Vigna  <jug@sad.it>
9956
9957         * buffer.C (asciiParagraph): more fixes.
9958
9959         * tabular.C (ascii): make ascii export support export of only the
9960         data separated by a column-delimiter.
9961         (ascii): better support for ascii export.
9962
9963         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9964
9965 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9966
9967         * tabular_funcs.C: use a "using std::getline" instead of the
9968         previous fix from Angus (necessary for cxx + lyxstring)
9969
9970 2001-12-24  Juergen Vigna  <jug@sad.it>
9971
9972         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9973
9974         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9975         problems. First check a minipage also if we have some ert-contents
9976         (not only on par->size(), second set the right depth of the paragraph
9977         on the relink to the root-paragraph-list!
9978
9979         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9980         which then did not anymore update the main paragraphs on undo/redo!
9981
9982 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9983
9984         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9985         code. Support all font-changing funcs (even those which are not in
9986         menu currently). Support for reporting font settings in
9987         mathed (disabled until Andre provides a function on mathed's side).
9988
9989         * func_status.h (toggle): small helper function to set toggle
9990         state on a flag.
9991
9992 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9993
9994         * tabular_funcs.C: getline -> std::getline
9995
9996 2001-12-21  Juergen Vigna  <jug@sad.it>
9997
9998         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9999         accessed and could be 0 (I couldn't generate this but it seems
10000         Michael could!).
10001
10002 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10003
10004         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10005         * tabular_funcs.h: here and include iosfwd
10006
10007 2001-12-20  Juergen Vigna  <jug@sad.it>
10008
10009         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10010         inside inset but undo_par was.
10011
10012 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10013
10014         * Thesaurus.C: always include <config.h> in sources.
10015
10016         * Painter.h:
10017         * lyxlookup.h:
10018         * box.h: do not include <config.h> in header files
10019
10020         * text.C (paintLastRow): remove unused variable
10021
10022         * text.C (transformChar):
10023         (insertChar):
10024         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10025
10026         * Painter.C (text):
10027         * font.C (width): rewrite to use uppercase() instead of
10028         islower/toupper.
10029
10030         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10031
10032 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10033
10034         * lyxfind.C: clean up of find failure position change
10035
10036 2001-12-20  Juergen Vigna  <jug@sad.it>
10037
10038         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10039
10040         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10041         (TeXRow): added to LaTeX a single tabular row.
10042         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10043         (Latex): simplified and finally good LT-h/f support.
10044         (various_functions): just small adaptions for LT-h/f support.
10045
10046         * tabular_funcs.[hC]: added and moved here all not classfunctions
10047         of LyXTabular.
10048
10049 2001-12-19  Juergen Vigna  <jug@sad.it>
10050
10051         * tabular.[Ch]: better support for longtabular options (not finished
10052         yet!)
10053
10054 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10055
10056         * text.C (paintLastRow): use the label font instead of the font of
10057         the last character to compute the size of *_BOX. This makes more
10058         sense and avoids a crash with empty paragraphs.
10059         Use Painter::rectangle to draw EMPTY_BOX.
10060
10061 2001-12-19  Juergen Vigna  <jug@sad.it>
10062
10063         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10064         the paragraphs if the replaced paragraph is not the first one!
10065         Tried to delete not used paragraphs but does not work yet so for
10066         now it's inside #ifdef's and by default off!
10067
10068 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10069
10070         * MenuBackend.C: include "lyx_main.h" instead of declaring
10071         lastfiles (actually was declared as LastFiles* instead of a
10072         scoped_ptr).
10073
10074 2001-12-17  Juergen Vigna  <jug@sad.it>
10075
10076         * tabular.C (AppendColumn): applied John's fix
10077
10078 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10079
10080         * BufferView.h:
10081         * BufferView.C:
10082         * BufferView_pimpl.h:
10083         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10084
10085         * Makefile.am:
10086         * box.h: new start of class for above
10087
10088         * lyxfunc.C: ignore space-only minibuffer dispatches.
10089           Show the command name when it doesn't exist
10090
10091         * minibuffer.C: don't add empty lines to the history
10092
10093         * minibuffer.C: add a space on dropdown completion
10094
10095 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10096
10097         * text.C: fix line above/below drawing in insets
10098
10099 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10100
10101         * lyxlength.C (LyXLength): Initialize private variables.
10102
10103 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10104
10105         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10106         when inserting error insets.
10107
10108 2001-12-13  Juergen Vigna  <jug@sad.it>
10109
10110         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10111         actually sometimes the before-paragraph.
10112         (setUndo): don't clear the redostack if we're not actually undoing!
10113
10114 2001-12-06  Juergen Vigna  <jug@sad.it>
10115
10116         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10117         and fixed redoing of main paragraph, so we can use it now ;)
10118
10119         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10120
10121 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10122
10123         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10124         Juergen's request
10125
10126 2001-12-13  André Pönitz <poenitz@gmx.net>
10127
10128         * undostack.[Ch]:
10129         * undo_func.C: minor cleanup
10130
10131 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10132
10133         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10134         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10135         font in urw-fonts package which is marked as -urw-fontspecific and
10136         does not work (incidentally, changing the encoding in the
10137         fonts.dir of this package to -adobe-fontspecific fixes the
10138         problem).
10139
10140         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10141         is a crash when undoing first paragraph (Juergen, please take a
10142         look). THis does not mean the undo fix is wrong, just that it
10143         uncovers problems.
10144
10145         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10146         the (Paragraph*) version when needed instead of duplicating the
10147         code.
10148
10149         * text.C (workWidth): use Inset::parOwner to find out where the
10150         inset has been inserted. This is a huge performance gain for large
10151         documents with lots of insets. If Inset::parOwner is not set, fall
10152         back on the brute force method
10153
10154         * paragraph_pimpl.C (insertInset):
10155         * paragraph.C (Paragraph):
10156         (cutIntoMinibuffer): set parOwner of insets when
10157         inserting/removing them
10158
10159         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10160
10161 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10162
10163         * commandtags.h:
10164         * LyXAction.C:
10165         * lyx_main.C:
10166         * lyxfunc.C:
10167         * mathed/formulabase.C:
10168         * mathed/math_cursor.[Ch]:
10169         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10170
10171
10172 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10173
10174         * lyxlength.[Ch] (operator!=): new function
10175
10176 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10177
10178         * text.C (workWidth): use Inset::parOwner to find out where the
10179         inset has been inserted. This is a huge performance gain for large
10180         documents with lots of insets. If Inset::parOwner is not set, fall
10181         back on the brute force method
10182
10183         * paragraph_pimpl.C (insertInset):
10184         * paragraph.C (Paragraph):
10185         (cutIntoMinibuffer): set parOwner of insets when
10186         inserting/removing them
10187
10188         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10189
10190 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10191
10192         * tabular-old.C (getTokenValue):
10193         * tabular.C (getTokenValue):
10194         (write_attribute): new versions for LyXLength
10195         (everywhere): adjust the use of widths
10196
10197         * tabular.h: change the type of widths from string to LyXLength
10198
10199 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10200
10201         * paragraph.C: fixed missing line number count when exporting
10202         Environments to LaTeX file
10203
10204         * buffer.C: added informational message for checking line numbers.
10205
10206 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10207
10208         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10209         paragraph, do the 'double space' part, but not the 'empty
10210         paragraph' one.
10211
10212         * text.C (workWidth): small optimization
10213         (getLengthMarkerHeight): use minimal size for negative lengths.
10214
10215 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10216
10217         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10218
10219         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10220
10221 2001-12-11  André Pönitz <poenitz@gmx.net>
10222
10223         * FontLoader.C:
10224         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10225
10226 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10227
10228         * text2.C: keep selection on a setFont()
10229
10230 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10231
10232         * lyx_cb.C: another bv->text misuse, from insert label
10233
10234 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10235
10236         * kbsequence.h:
10237         * kbsequence.C: re-instate nmodifier mask
10238
10239 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10240
10241         * lyx_main.h: make lyxGUI private.
10242
10243 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10244
10245         * lyxfind.C: place the cursor correctly on failed search
10246
10247 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10248
10249         * text.C (getLengthMarkerHeight): for small heights, the arrows
10250         are not always on top/bottom of the text
10251         (drawLengthMarker): smaller arrows; take the left margin in
10252         account; draw also vfills.
10253         (paintFirstRow):
10254         (paintLastRow): remove special code for vfill and standard spaces,
10255         since everything is handled in drawLengthMarker now.
10256
10257 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10258
10259         * buffer.C (insertErtContents): try to handle font and language
10260         interaction a bit better.g
10261
10262         * ColorHandler.C (updateColor): change the hash to cover the whole
10263         LColor enum, ws cleanup
10264         (getGCLinepars): ditto
10265         (getGCLinepars): only lookup in the linecache once.
10266
10267 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10268
10269         * iterators.C (operator++): Make the iterator more robust
10270
10271         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10272         (John's patch)
10273         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10274
10275 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10276
10277         * lyxtext.h:
10278         * text.C: better added space drawing
10279
10280 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10281
10282         * LyXView.C:
10283         * BufferView2.C: fix layout combo update on inset unlock
10284
10285 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10286
10287         * Makefile.am: don't compile unused files
10288
10289 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10290
10291         * lyxfunc.C:
10292         * commandtags.h:
10293         * LyXAction.C: remove old LFUN_LAYOUTNO
10294
10295 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10296
10297         * paragraph_pimpl.h:
10298         * paragraph_pimpl.C: isTextAt() doesn't need font param
10299
10300 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10301
10302         * lyxlex.h:
10303         * lyxlex.C: little cleanup
10304
10305 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10306
10307         * BufferView_pimpl.C: fix insertAscii for insets
10308
10309 2001-12-05  Juergen Vigna  <jug@sad.it>
10310
10311         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10312         set the right font on the "multi" paragraph paste!
10313
10314 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10315
10316         * trans_decl.h:
10317         * trans_mgr.[Ch]:
10318         * trans.[Ch]:
10319         * lyxgluelength.C:
10320         * lyxlength.C: remove out-commented code.
10321
10322         * BufferView_pimpl:
10323         * CutAndPaste.C:
10324         * DepTable.C:
10325         * buffer.C:
10326         * chset.C:
10327         * lastfiles.C:
10328         * lyxlex.C:
10329         * lyxlex_pimpl.C:
10330         * lyxserver.C:
10331         * screen.C:
10332         * tabular-old.C:
10333         * tabular.C:
10334         * text.C:
10335         * trans_mgr.C:
10336         * vc-backend.C: change "while(" to "while ("
10337
10338         * lyxlength.[Ch]: add zero function to check if length is zero or
10339         not
10340         * lyxgluelength.C: use it
10341
10342 2001-12-05  Allan Rae  <rae@lyx.org>
10343
10344         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10345         Works for 2.95.3, from what I understand of Garst's reports this should
10346         work for other g++ versions.  We're screwed if the abs(int) definition
10347         changed between bugfix releases of gcc.
10348
10349 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10350
10351         * text.C: fix chapter label offset !
10352
10353 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10354
10355         * lyxtext.h:
10356         * text.C: fix hfill at end of line, clean up
10357
10358 2001-12-04  Juergen Vigna  <jug@sad.it>
10359
10360         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10361         that we force an update of the inset and it's owners if neccessary.
10362
10363 2001-12-03  Juergen Vigna  <jug@sad.it>
10364
10365         * text.C (rowLast): simplified code
10366
10367 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10368
10369         * lyxfunc.C: fix show options on timeout
10370
10371 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10372
10373         * screen.C (topCursorVisible): scroll half a page when the cursor
10374         reached top of bottom of screen
10375
10376 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10377
10378         * minibuffer.C: deactivate on loss of focus
10379
10380 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10381
10382         * vspace.[Ch] (operator!=): add operator.
10383
10384 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10385
10386         * BufferView_pimpl.C: refuse to open an inset when
10387         there's a selection.
10388
10389 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10390
10391         * BufferView_pimpl.C: allow to click on RHS of full row insets
10392
10393 2001-11-30  Juergen Vigna  <jug@sad.it>
10394
10395         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10396         insets for undo reasons.
10397
10398 2001-11-28  André Pönitz <poenitz@gmx.net>
10399
10400         * vspace.[Ch]: cosmetical changes
10401
10402 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10403
10404         * LyXAction.h:
10405         * LyXAction.C:
10406         * lyxfunc.h:
10407         * lyxfunc.C:
10408         * kbmap.h:
10409         * kbmap.C:
10410         * lyxrc.C:
10411         * kbsequence.h:
10412         * kbsequence.C: part re-write of old kb code
10413
10414         * Painter.C:
10415         * WorkArea.C: remove Lgb_bug_find_hack
10416
10417 2001-11-30  José Matos <jamatos@fep.up.pt>
10418
10419         * buffer.C (makeDocBookFile): add a comment to point a hack.
10420         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10421         Fixed a double write of labels.
10422
10423 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10424
10425         * LaTeX.C:
10426         * LaTeX.h Fixed bug in LaTeX class where it would not
10427         re-run latex if no depfiles were changed, but the .dvi was removed.
10428
10429 2001-11-28  André Pönitz <poenitz@gmx.net>
10430
10431         * all the files from the change on 2001/11/26:
10432         use lyx::layout_type instead of LyXTextClass::size_type
10433         use lyx::textclass_type instead of LyXTextClassList::size_type
10434
10435 2001-11-29  Juergen Vigna  <jug@sad.it>
10436
10437         * text.C: added support for paragraph::isFreeSpacing()
10438
10439         * buffer.C: same as above
10440
10441         * paragraph.h: inserted isFreeSpacing() function to enable
10442         FreeSpacing inside InsetERT.
10443
10444         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10445         of the paragraph's in the cut/copy buffer to 0!
10446
10447         * text2.C (removeRow): remove the assert as it can!
10448
10449         * lyxtext.h: added helper function firstRow returning firstrow and
10450         made firstrow private again.
10451
10452         * BufferView2.C (lockInset): don't relock if we're already locked!
10453
10454         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10455         the only paragraph.
10456         (removeRow): added Assert::(firstrow)
10457
10458         * debug.C: forgot to add INSETTEXT here.
10459
10460 2001-11-28  Juergen Vigna  <jug@sad.it>
10461
10462         * sp_spell.C (initialize): changed error text to more general
10463         spellchecker command use (not only ispell!)
10464
10465         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10466
10467         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10468
10469 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10470
10471         * vspace.C: initialise lyxgluelength on failure
10472
10473 2001-11-28  Allan Rae  <rae@lyx.org>
10474
10475         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10476         declaration & definition that looks like a function declaration.
10477
10478 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10479
10480         * BufferView2.C (copy):
10481         (copyEnvironment): do not clear the selection when doing a copy.
10482
10483         * text.C (paintFirstRow): compilation fix
10484
10485 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10486
10487         * tabular.C (Latex): correct line count when writing latex.
10488
10489 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10490
10491         * paragraph_pimpl.h:
10492         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10493           bug a bit
10494
10495 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10496
10497         * text.C:
10498         * LColor.h:
10499         * LColor.C: change vfillline->added_space
10500
10501         * text.C: add markers and text for added space
10502
10503         * vspace.C: fix comment
10504
10505 2001-11-28  André Pönitz <poenitz@gmx.net>
10506
10507         * paragraph.C: whitespace changes
10508         * all the other files from the change on 2001/11/26:
10509         change *::pos_type into lyx::pos_type
10510
10511 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10512
10513         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10514         language of the document when inserting error insets.
10515
10516 2001-11-26  André Pönitz <poenitz@gmx.net>
10517
10518         * BufferView_pimpl.[Ch]:
10519         *       CutAndPaste.C:
10520         * buffer.[Ch]:
10521         * lyxcursor.[Ch]:
10522         * lyxfind.C:
10523         * lyxfunc.C:
10524         * lyxrow.[Ch]:
10525         * paragraph.[Ch]:
10526         * paragraph_pimpl.[Ch]:
10527         * sp_spell.C:
10528         * text.C:
10529         * text2.C: reduce header dependencies, introduce type for positions
10530
10531 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10532
10533         * <various>: change to use Alert.h
10534
10535 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10536
10537         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10538         when encountering an unknown token.
10539         (readLyXformat2): Show an error message if there were unknown tokens.
10540
10541 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10542
10543         * BufferView2.C:
10544         * BufferView_pimpl.C:
10545         * buffer.C:
10546         * paragraph.h:
10547         * text.C:
10548         * text2.C: use par->isInset()
10549
10550 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10551
10552         * paragraph_pimpl.h:
10553         * paragraph_pimpl.C: cleanup
10554
10555 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10556
10557         * text2.C (removeRow):
10558         * text.C (setHeightOfRow): remove useless (and costly) call to
10559         getRow.
10560
10561 2001-11-20  Allan Rae  <rae@lyx.org>
10562
10563         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10564         Now need Inset*::checkInsertChar() to return true for appropriate
10565         cases so that the characters in the minibuffer will actually be
10566         inserted.
10567
10568 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10569
10570         * text.C: change the order of the includes.
10571         (workWidth): initialize it at once.
10572         (workWidth): make maxw unsigned
10573         (setHeightOfRow): remove unused variable (inset)
10574         (selectSelectedWord): remove unused variable (inset)
10575         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10576
10577 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10578
10579         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10580         server is not running.
10581         (openConnection):
10582         (closeConnection): add debug info when server is disabled.
10583
10584         * ColorHandler.C (getGCForeground): send debug message to GUI
10585         channel.
10586
10587         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10588
10589         * kbmap.C (bind): modify because return conventions of
10590         kb_sequence::parse have changed.
10591
10592         * kbsequence.C (parse): only ignore spaces and not any stupid
10593         control character. This avoids tests like s[i] <= ' ', which are
10594         guaranteed to fail with 8bit characters and signed chars.
10595         Change return code to string::npos when there have been no error
10596         (0 was a bad idea when error is at first character)
10597
10598 2001-11-14  José Matos  <jamatos@fep.up.pt>
10599
10600         * buffer.h:
10601         * buffer.C (simpleDocBookOnePar): removed unused argument.
10602
10603 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10604
10605         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10606         insets which are part of a word. Paragraph::isLetter takes care of
10607         that now. Use Paragraph::isInset to identify insets.
10608         (selectSelectedWord): do not test for hyphenation break.
10609
10610         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10611         that protected spaces are considered as spaces.
10612
10613         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10614         Inset::isLetter.
10615
10616 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10617
10618         * lyxserver.h:
10619         * lyxserver.C: fix it. and small cleanup.
10620
10621 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10622
10623         * BufferView_pimpl.C: use inline helpers
10624
10625         * LaTeXFeatures.h:
10626         * LaTeXFeatures.C: fix typos
10627
10628         * Spacing.h:
10629         * Spacing.C: move spacing_string into class
10630
10631         * ToolbarDefaults.C: move stuff into namespace anon
10632
10633         * layout.h: update enum
10634
10635         * lyxfunc.C: use better debug
10636
10637         * minibuffer.h: fix typo
10638
10639         * debug.h:
10640         * debug.C:
10641         * WorkArea.C: add and use Debug::WORKAREA
10642
10643         * lyxtext.h:
10644         * text.C:
10645         * text2.C: code re-organisation, inline helpers
10646
10647 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10648
10649         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10650         std::vector.empty().
10651
10652 2001-11-09  Allan Rae  <rae@lyx.org>
10653
10654         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10655         '\n's after tables.  Tabular and ERT inset work now makes this no
10656         longer necessary.
10657
10658 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10659
10660         * minibuffer.h:
10661         * minibuffer.C: fix crash, improve drop-down completion
10662
10663 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10664
10665         * lyxserver.h:
10666         * lyxserver.C: invalidate fd's when doing endPipe()
10667
10668 2001-11-08  José Matos  <jamatos@fep.up.pt>
10669
10670         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10671         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10672
10673         * paragraph.h:
10674         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10675
10676 2001-11-07  José Matos  <jamatos@fep.up.pt>
10677
10678         * buffer.h:
10679         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10680         const qualifier.
10681
10682         * buffer.C (sgmlOpenTag):
10683         * buffer.C (sgmlCloseTag): removed debug info.
10684
10685         * buffer.h (sgmlOpenTag):
10686         * buffer.h (sgmlCloseTag): made public.
10687
10688 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10689
10690         * buffer.C (saveParamsAsDefaults):
10691         * lyx_cb.C (MenuLayoutSave): remove
10692
10693         * LyXAction.C (init):
10694         * commandtags.h:
10695         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10696
10697 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10698
10699         * buffer.C (setPaperStuff): removed from here...
10700
10701         * bufferparams.C (setPaperStuff): ... and moved there.
10702
10703 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10704
10705         * minibuffer.h:
10706         * minibuffer.C:
10707         * XFormsView.C: add support for drop-down completion
10708
10709 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10710
10711         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10712         commands.
10713
10714 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10715
10716         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10717         disabled.
10718
10719 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10720
10721         * lyx_main.C: change ref to known bugs
10722
10723 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10724
10725         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10726         to work around older babel problems.
10727
10728 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10729
10730         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10731
10732 2001-10-24  Juergen Vigna  <jug@sad.it>
10733
10734         * tabular-old.C (ReadOld): below variable changes reflected.
10735
10736         * tabular.[Ch]: added ltType struct for longtable header/footer
10737         defines and changed all instances where they are used. Added
10738         future support for double top/bottom rows.
10739
10740 2001-10-24  José Matos  <jamatos@fep.up.pt>
10741
10742         * buffer.h (docbookHandleCaption):
10743         * buffer.C (docbookHandleCaption): removed unused function.
10744         (makeDocBookFile): moved docbook supported version to v4.1.
10745
10746 2001-10-24  José Matos  <jamatos@fep.up.pt>
10747
10748         * tabular.h:
10749         * tabular.C (docbookRow): new function to export docbook code of a row.
10750         (DocBook): now honors the longtable flags.
10751
10752 2001-10-23  José Matos  <jamatos@fep.up.pt>
10753
10754         * LaTeXFeatures.h:
10755         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10756         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10757
10758         * buffer.C (makeLinuxDocFile):
10759         (makeDocBookFile): reworked the preamble, more clean, and with
10760         support for lyx defined entities. Changed the document declaration
10761         to be more XML friendly.
10762
10763         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10764         if we need to output XML that should be done with a filter.
10765
10766 2001-10-22  Juergen Vigna  <jug@sad.it>
10767
10768         * sp_pspell.h (class PSpell): add alive function needed in the
10769         controller to see if the spellchecker could be started.
10770
10771 2001-10-22  Juergen Vigna  <jug@sad.it>
10772
10773         * buffer.C (insertStringAsLines): modify the font for inserting
10774         chars in certain conditions by calling checkInsertChar(font).
10775
10776 2001-10-19  Juergen Vigna  <jug@sad.it>
10777
10778         * text.C (workWidth): use getRow instead of wrong algorithm.
10779         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10780
10781 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10782
10783         * lyxserver.h:
10784         * lyxserver.C:
10785         * lyx_main.h:
10786         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10787
10788 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10789
10790         * text.C (workWidth): do not search for the exact row when
10791         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10792         optimization for big documents.
10793
10794 2001-10-18  Juergen Vigna  <jug@sad.it>
10795
10796         * text.C (workWidth): new function with added Inset * parameter.
10797
10798 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10799
10800         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10801
10802         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10803         change return type of getColumnNearX.
10804
10805
10806         * text.C (changeRegionCase): use uppercase/lowercase instead of
10807         toupper/tolower.
10808         (leftMargin):
10809         (rightMargin): simplify code by factoring out the uses of
10810         textclasslist.
10811         (labelFill):
10812         (numberOfHfills):
10813         (setHeightOfRow):
10814         (appendParagraph): use Paragraph::size_type
10815
10816 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10817
10818         * vspace.C (asLatexString): add a missing break
10819
10820 2001-10-15  Herbert Voss  <voss@perce.de>
10821
10822         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10823
10824 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10825
10826         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10827         is not available.
10828
10829 2001-10-10  André Pönitz <poenitz@gmx.net>
10830
10831         * lyxfunc.C: removed greek_kb_flag.
10832
10833 2001-10-10  Herbert Voss  <voss@perce.de>
10834
10835         * lyx_main.C: delete global string help_lyxdir.
10836
10837 2001-10-09  Herbert Voss  <voss@perce.de>
10838
10839         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10840
10841         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10842
10843         * lyx_main.C: added global string help_lyxdir.
10844
10845         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10846
10847 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10848
10849         * lyxrc.C (set_font_norm_type): support iso8859-4
10850
10851 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10852
10853         * LaTeX.C (deplog): add another regex for MikTeX
10854
10855 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10856
10857         * lyxrc.C (set_font_norm_type): support iso8859-3
10858
10859 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10860
10861         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10862
10863         * LaTeXFeatures.C: remove special case of french and index
10864
10865         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10866         before \begin{document}). This solves several incompatibilities.
10867
10868 2001-10-03  Garst Reese  <reese@isn.net>
10869
10870         * lyx_cb.C: change CheckTex error msg.
10871
10872 2001-10-03  José Matos  <jamatos@fep.up.pt>
10873
10874         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10875
10876 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10877
10878         * .cvsignore: update
10879
10880         * lyx_main.C (commandLineVersionInfo): use new style version info.
10881
10882         * buffer.C (writeFile):
10883         (makeLaTeXFile):
10884         (makeLinuxDocFile):
10885         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10886
10887         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10888
10889         * version.h: update to use stuff in version.C
10890
10891         * version.C.in: new file. Contains version information determined
10892         at compile time. This is a merging of version.h and
10893         version_info.h.in.
10894
10895 2001-10-03  Juergen Vigna  <jug@sad.it>
10896
10897         * BufferView_pimpl.C (update): don't change "dirty" status in
10898         updateInset call.
10899
10900 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10901
10902         * WorkArea.C (c-tor): re-position version string slightly.
10903
10904 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10905
10906         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10907         revert to previous code.
10908
10909         WorkArea.[Ch]: (show, destroySplash): methods removed.
10910
10911         WorkArea.C: rework code so that it's an amalgam of the codes before and
10912         after the splash screen was moved to WorkArea.
10913
10914 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10915
10916         * lyxrc.C (read):
10917         * vspace.C (inPixels):
10918         (lyx_advance):
10919         * kbmap.C (bind):
10920         * buffer.C (insertStringAsLines):
10921         (asciiParagraph): fix types to be large enough
10922
10923         * lyxlex_pimpl.h: change member status from short to int
10924
10925         * layout.h: fix type of endlabeltype
10926
10927         * kbmap.C (bind):
10928         * kbsequence.C (parse): change return type to string::size_type
10929
10930         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10931         variable
10932
10933         * Bullet.C (bulletSize):
10934         (bulletEntry): do not use short ints as parameters
10935
10936         * BufferView2.C (insertLyXFile): change a char to an int.
10937
10938         * WorkArea.C (WorkArea): remove unneeded floats in computation
10939
10940 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10941
10942         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10943
10944         * paragraph.C (asString): Do not ignore newline/hfill chars when
10945         copying to the clipboard.
10946
10947 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10948
10949         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10950         after a multi-line inset.
10951
10952 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10953
10954         * paragraph.C (validate): Set NeedLyXFootnoteCode
10955
10956 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10957
10958         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10959         and decrease-error to decrease.
10960
10961 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10962
10963         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10964         it more readable (should be equivalent)
10965
10966 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10967
10968         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10969
10970 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10971
10972         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10973         of a cursor (row, etc.) after a character has been deleted
10974         (deleteEmptyParagraphMechanism): call the method above on _all_
10975         cursors held by the LyXText when a double space has been
10976         detected/deleted.
10977
10978 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10979
10980         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10981         pixmap.
10982         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10983
10984         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10985         background. Use greyOut() and the new show() methods to toggle between
10986         the foreground and background. Add code to remove the splash after
10987         its initial showing.
10988
10989         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10990         (create_forms): no longer call Dialogs::showSplash.
10991
10992 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10993
10994         * .cvsignore: add version_info.h
10995
10996 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10997
10998         * version_info.h.in: new file
10999
11000         * Makefile.am: add version_info.h.in
11001
11002         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11003         version_info.h instead of VERSION_INFO
11004
11005 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11006
11007         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11008         The ERT inset now returns string().
11009
11010 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11011
11012         * lyxtext.h, text.C (selectNextWord): renamed as
11013         selectNextWordToSpellcheck.
11014
11015         * text.C (selectNextWordToSpellcheck): Modified to not select
11016         words inside an ERT inset.
11017
11018 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11019
11020         * lyx_cb.C (MenuLayoutSave): change a bit the question
11021
11022         * sp_base.h: include <sys/types.h>
11023
11024 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11025
11026         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11027
11028 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11029
11030         * several files: fix typos in user-visible strings
11031
11032 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11033
11034         * text2.C (pasteSelection): do not set the selection, since it
11035         will be cleared later. Actually, the intent was to fix the way the
11036         selection was set, but I figured rmoving the code was just as good.
11037
11038 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11039
11040         * FontLoader.C (available): Check if font is available without
11041         loading the font.
11042
11043 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11044
11045         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11046
11047 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11048
11049         * lyxrc.[Ch]: added display_graphics variable and associated code.
11050
11051 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11052
11053         * bufferparams.C (hasClassDefaults): new method. Returns true if
11054         the buffer parameters correspond to known class defaults
11055
11056 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11057
11058         * XFormsView.C (show): set minimum size to the main window.
11059
11060 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11061
11062         * text2.C (copySelection):
11063         (cutSelection):
11064         * lyxfind.C (LyXReplace):
11065         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11066         LyXText::selectionAsString.
11067
11068         * paragraph.C (asString): add "label" argument to the second form
11069
11070         * text2.C (selectionAsString): add "label" argument and pass it to
11071         Paragraph::asString.
11072
11073 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11074
11075         * lyx_main.C (commandLineHelp): remove version information
11076
11077 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11078
11079         * lyx_main.C: add -version commandline option
11080
11081 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11082
11083         * paragraph.h: make the optional constructor arg required instead.
11084         some modifications to other files because of this.
11085
11086         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11087
11088         * lyxserver.C (C_LyXComm_callback): make it static
11089
11090         * lyx_main.C (error_handler): make it static
11091
11092         * lyx_gui.C (LyX_XErrHandler): make it static
11093
11094         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11095
11096         * WorkArea.C: make the extern "C" methods static.
11097
11098         * Makefile.am (lyx_LDADD): simplify
11099
11100 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11101
11102         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11103         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11104
11105         * LyXAction.C (init):
11106         * lyxfunc.C (dispatch): associated code removal.
11107
11108 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11109
11110         * lyxfont.h (isSymbolFont): shut off warning
11111
11112         * text.C (setHeightOfRow):
11113         (getVisibleRow): fix crash with empty paragraphs which have a
11114         bottom line
11115
11116 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11117
11118         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11119         code.
11120
11121 2001-09-04  José Matos  <jamatos@fep.up.pt>
11122         * buffer.C
11123         * buffer.h
11124         * tabular.C (docbook): rename docBook method to docbook.
11125
11126 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11127
11128         * Makefile.am: add dependencies to main.o.
11129
11130 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11131
11132         * FontLoader.C (available): Return false if !lyxrc.use_gui
11133
11134 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11135
11136         * FontInfo.C (query):
11137         * converter.C (view):
11138         * importer.C (Import):
11139         * exporter.C (Export): Can not -> cannot.
11140
11141 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11142
11143         * BufferView_pimpl.C: allow to create index inset even if
11144           string is empty
11145
11146 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11147
11148         * buffer.C (getLists): replace boost::tie code with an explicit pair
11149         as boost::tie can break some compilers.
11150
11151         * iterators.h: Added a std:: declaration to the return type of
11152         ParIterator::size.
11153
11154 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11155
11156         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11157           case.
11158
11159 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11160
11161         * iterators.[Ch]: New files. Provide paragraph iterators.
11162
11163         * buffer.C (changeLanguage): Use paragraph iterators.
11164         (isMultiLingual): ditto
11165
11166         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11167
11168 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11169
11170         * FontLoader.C: Support for cmr font.
11171
11172 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11173
11174         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11175         (available): New method.
11176
11177         * FontInfo.C (getFontname): Use scalable fonts even when
11178         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11179         found.
11180
11181 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11182
11183         * converter.C (Formats::view): reverted! Incorrect fix.
11184
11185 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11186
11187         * converter.C (Formats::view): only output the -paper option
11188         if the dvi viewer is xdvi, thereby fixing bug #233429.
11189
11190 2001-08-23  Herbert Voss  <voss@perce>
11191
11192         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11193
11194 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11195
11196         * Spacing.h (Spacing): Set space to Default on in the default
11197         constructor.
11198
11199 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11200
11201         * vc-backend.h (RCS::versionString): add RCS to version
11202         (CVS::versionString): add CVS to version
11203
11204         * vc-backend.C (scanMaster): do not add CVS to version.
11205         (scanMaster): do not add RCS to version
11206
11207         * lyxvc.C (versionString): new method
11208
11209         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11210
11211 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11212
11213         * Spacing.C (set): initialize fval
11214
11215 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11216
11217         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11218         " or \.
11219
11220 2001-08-16  Juergen Vigna  <jug@sad.it>
11221
11222         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11223
11224 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11225
11226         * BufferView_pimpl.C:
11227         * figureForm.C:
11228         * lyxtext.h:
11229         * text2.C: setParagraph takes linespacing now
11230
11231 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11232
11233         * LyxAction.C: add internal LFUN_CITATION_INSERT
11234
11235         * LyXView.C: actually apply fix
11236
11237         * bufferlist.C: fix open non-existent file
11238
11239         * lyxfind.C: fix indentation
11240
11241         * lyxfunc.C: remove unneeded assert, fix typo
11242
11243 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11244
11245         * MenuBackend.C: use "Floatname List"
11246
11247 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11248
11249         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11250         when converting LaTeX layout to insetERT.
11251         Generate a non-collapsed float when reading old float
11252
11253 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11254
11255         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11256         ERT insets.
11257
11258 2001-08-13  Juergen Vigna  <jug@sad.it>
11259
11260         * text.C (fill): return 0 instead of 20 as this seems to be the more
11261         correct value.
11262
11263 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11264
11265         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11266         lyxrc.font_norm.
11267
11268 2001-08-13  Juergen Vigna  <jug@sad.it>
11269
11270         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11271         casesensitive off.
11272         (SearchBackward): comment out the unlocking of the inset_owner this
11273         should not be needed!
11274
11275 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11276
11277         * Many files: Remove inherit_language, and add latex_language
11278
11279         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11280         collapsible insets.
11281
11282 2001-08-10  Juergen Vigna  <jug@sad.it>
11283
11284         * text.C (prepareToPrint): fixed hfill-width in draw!
11285
11286         * BufferView2.C (selectLastWord): save the selection cursor as this
11287         now is cleared in the function LyXText::clearSelection!
11288
11289 2001-08-08  Juergen Vigna  <jug@sad.it>
11290
11291         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11292         BACKSPACE type functions.
11293
11294         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11295         is only cutted from the document but not put in the cut-buffer, where
11296         still the old stuff should be.
11297
11298         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11299
11300         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11301
11302         * tabular.C (SetWidthOfCell): fixed special case where the width
11303         was not updated!
11304         (LeftLine): handle '|' in align_special.
11305         (RightLine): ditto
11306         (LeftAlreadyDrawed): ditto
11307         (SetWidthOfCell): ditto
11308
11309 2001-08-07  Juergen Vigna  <jug@sad.it>
11310
11311         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11312
11313 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11314
11315         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11316         * lyxlex.[hC]: ditto
11317
11318 2001-08-06  Juergen Vigna  <jug@sad.it>
11319
11320         * text.C (getVisibleRow): fix up row clearing a bit.
11321
11322 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11323
11324         * minibuffer.C: make sure the X server sees the changes in the input.
11325
11326 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11327
11328         * paragraph.C (getFont): split into...
11329         (getLabelFont): this
11330         (getLayoutFont): and this
11331         * paragraph_pimpl.C (realizeFont): calling this
11332
11333         * text2.C (getFont): split into...
11334         (getLayoutFont): this
11335         (getLabelFont): and this
11336         (realizeFont): all three calling this
11337
11338         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11339         files where used.
11340
11341 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11342
11343         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11344
11345 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11346
11347         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11348         layouts from the Quote inset insertion.
11349
11350 2001-08-03  Juergen Vigna  <jug@sad.it>
11351
11352         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11353
11354         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11355         only if status not is already CHANGED_IN_DRAW (second level).
11356
11357         * text.C (draw): don't set the need_break_row when inside an
11358         InsetText LyXText.
11359
11360 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11361
11362         * buffer.C (parseSingleLyXformat2Token): handle more latex
11363         conversion cases.
11364
11365         * bufferview_funcs.[hC]: change function names to
11366         begin with small char, adjust other files.
11367
11368 2001-08-02  André Pönitz <poenitz@gmx.net>
11369
11370         * lyxfunc.C:
11371         BufferView_pimpl.C: remove broken special code for math-greek
11372
11373 2001-08-02  Juergen Vigna  <jug@sad.it>
11374
11375         * BufferView_pimpl.C (update): redone this function so that we
11376         update the text again if there was a CHANGE_IN_DRAW.
11377
11378         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11379         (drawFromTo): added a new internal bool which is used by draw() and
11380         redraw() function.
11381         (general): some cursor drawing problems fixed.
11382
11383 2001-08-01  Juergen Vigna  <jug@sad.it>
11384
11385         * lyxfind.C (LyXFind): fixed
11386         (SearchForward): ditto
11387         (SearchBackward): ditto
11388
11389         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11390         spurius drawing of the cursor in the main area.
11391
11392         * text2.C (status): small fix which could lead to a segfault!
11393         (clearSelection): remove unneeded BufferView param.
11394
11395 2001-08-01  André Pönitz <poenitz@gmx.net>
11396
11397         * lyxfunc.C: small change due to changed mathed interface
11398
11399 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11400
11401         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11402
11403 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11404
11405         * lyxfunc.c: fail gracefully if file doesn't exist
11406
11407         * LyXSendto.C:
11408         * buffer.C:
11409         * lyxfunc.C:
11410         * BufferView_pimpl.C: IsDirWriteable() proto changed
11411
11412         * LyXView.C: fix updateWindowTitle() to store the last title
11413
11414 2001-07-31  Juergen Vigna  <jug@sad.it>
11415
11416         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11417         the font (wrong since using of Paragraph::highestFontInRange).
11418
11419         * paragraph.C (highestFontInRange): added a default_size parameter.
11420
11421         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11422         (setHeightOfRow): reformat
11423
11424 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11425
11426         * converter.[hC] + affected files: move to (inital-char)lowercase
11427         function names.
11428
11429         * ParagraphParameters.C (ParagraphParameters): remove commented code
11430
11431         * PainterBase.[Ch]: remove commented code
11432
11433         * LaTeXFeatures.h: add "bool floats" for float.sty
11434
11435         * LaTeXFeatures.C (LaTeXFeatures): init floats
11436         (require): handle float
11437         (getPackages): do it with floats
11438
11439 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11440
11441         * BufferView_pimpl.C (Dispatch): improve handling of
11442         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11443
11444         * commandtags.h: #include lyxfont.h here temporarily to avoid
11445         keybinding bug.
11446
11447         * bufferlist.h: include LString.h here.
11448
11449 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11450
11451         * text2.C (getStringToIndex): new method.
11452
11453 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11454
11455         * *: Reduced header file dependencies all over.
11456
11457 2001-07-30  Baruch Even  <baruch@lyx.org>
11458
11459         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11460
11461 2001-07-29  Baruch Even  <baruch@lyx.org>
11462
11463         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11464
11465 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11466
11467         * ParameterStruct.h (endif): add a default constructor to make
11468         sure that all variables is initialized.
11469
11470         * ParagraphParameters.C (ParagraphParameters): adjust
11471
11472 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11473
11474         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11475         index; also, check that there is something to index, and that it
11476         does not span over several paragraphs.
11477         (doubleClick): use WHOLE_WORD_STRICT for double click.
11478
11479         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11480
11481         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11482         scheme.
11483
11484 2001-07-26  Baruch Even  <baruch@lyx.org>
11485
11486         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11487         an InsetFig figure, backwards compatible reading of old figure code.
11488
11489 2001-07-27  Juergen Vigna  <jug@sad.it>
11490
11491         * text2.C: font.realize function adaption.
11492
11493         * text.C (draw): add a warnings lyxerr text if needed.
11494
11495         * layout.C: font.realize function adaption.
11496
11497         * language.C: add inherit_language and implement it's handlings
11498
11499         * bufferview_funcs.C (StyleReset): remove language parameter from
11500         font creation (should be language_inherit now).
11501
11502         * bufferparams.C (writeFile): handle ignore_language.
11503
11504         * paragraph.C (getFontSettings): the language has to be resolved
11505         otherwise we have problems in LyXFont!
11506
11507         * lyxfont.C (lyxWriteChanges): added document_language parameter
11508         (update): removed unneeded language parameter
11509
11510         * paragraph.C (validate): fixed wrong output of color-package when
11511         using interface colors for certain fonts in certain environments,
11512         which should not seen as that on the final output.
11513
11514 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11515
11516         * BufferView_pimpl.C:
11517         * Thesaurus.h:
11518         * Thesaurus.C:
11519         * Makefile.am:
11520         * commandtags.h:
11521         * LyXAction.C: add thesaurus support
11522
11523         * lyxfind.h:
11524         * lyxfind.C: add "once" parameter, for thesaurus, to not
11525           move to the next match
11526
11527 2001-07-26  Juergen Vigna  <jug@sad.it>
11528
11529         * lyxfont.C (realize): honor ignore_language too!
11530         (resolved): ditto.
11531
11532         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11533
11534         * text.C (draw): one place more for ignore_language to not draw
11535         itself!
11536
11537 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11538
11539         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11540
11541 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11542
11543         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11544         the minipage conversion problem.
11545
11546 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11547
11548         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11549         insert an inset.
11550
11551 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11552
11553         * BufferView.h: don't forward declare WorkArea
11554
11555         * BufferView.C: don't include WorkArea.h
11556
11557 2001-07-25  André Pönitz <poenitz@gmx.net>
11558
11559         * commandtags.h:
11560         * LyXAction.C:
11561         * lyxfunc.C:  new LFUN 'math-space'
11562
11563         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11564
11565 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11566
11567         * text2.C (toggleInset): call open/close
11568
11569 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11570
11571         * lyxfunc.C (dispatch): add debug for the disabled case
11572
11573         * font.C (buttonText): make similar to rectText
11574
11575         * buffer.C (readInset): comment out parsing of insetlist and
11576         insttheorem
11577
11578         * PainterBase.C (rectText): small correction
11579
11580         * BufferView_pimpl.C: comment out insettheorem and insetlist
11581         * LyXAction.C: ditto
11582         * commandtags.h: ditto
11583
11584 2001-07-24  Juergen Vigna  <jug@sad.it>
11585
11586         * text.C (draw): honor the ignore_language.
11587
11588         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11589
11590 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11591
11592         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11593         char inset.
11594
11595 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11596
11597         * lyxtext.h: remove unused (and unimplemented) methods
11598
11599 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11600
11601         * text.C (getVisibleRow): honor background color
11602
11603         * PainterBase.h:
11604         * Painter.h: remove default color argument for fillRectangle
11605
11606         * text.C (backgroundColor): new method
11607
11608 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11609
11610         * text.C (getVisibleRow): adjust
11611
11612         * font.[Ch] (rectText): new method, metrics
11613         (buttonText): new method, metrics
11614
11615         * PainterBase.[hC]: make rectText and buttonText always draw and take
11616         fewer paramteres.
11617
11618 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11619
11620         * ToolbarDefaults.C (read):
11621         * MenuBackend.C (read): allow escaping in all strings
11622
11623         * BufferView_pimpl.C (insertAndEditInset): new method.
11624         (Dispatch): use insertAndEditInset whenever appropriate.
11625
11626         * BufferView_pimpl.C (insertNote): removed
11627
11628         * BufferView_pimpl.C (smartQuote): new method, moved from
11629         BufferView; if an insetquote cannot be inserted, insert a '"'
11630         character instead.
11631
11632         * BufferView2.C: remove insertCorrectQuote();
11633
11634         * lyxfunc.C (getStatus): Add support for all remaingin
11635         inset-insert lfuns.
11636
11637         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11638
11639         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11640         command (necessary to pass " as parameter of self-insert.
11641
11642         * text.C (selectWordWhenUnderCursor):
11643         (selectWord): add word_location parameter
11644         (selectWordWhenUnderCursor): same + remove special code for word
11645         boundary.
11646         (selectNextWord): use kind() to guess type of insetspecialchar,
11647         not latex().
11648
11649         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11650         (insertErtContents): create ert insets as collapsed.
11651         (readInset): better compatibility code for Info inset.
11652
11653 2001-07-20  Juergen Vigna  <jug@sad.it>
11654
11655         * lyxfunc.C (dispatch): use always LyXFind now!
11656
11657         * text2.C (init): add a reinit flag so that the LyXText can be
11658         reinited instead of deleted and reallocated (used in InsetText).
11659
11660         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11661
11662         * text.C: ditto
11663
11664         * text2.C: ditto
11665
11666 2001-07-18  Juergen Vigna  <jug@sad.it>
11667
11668         * text.C (selectNextWord): handle insets inside inset by calling
11669         always the bv->text functions so that we can go up the_locking_inset!
11670
11671         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11672         in strange locations when inside an inset!
11673
11674         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11675         handling to include insets.
11676
11677         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11678
11679 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11680
11681         * LyXAction.C (init):
11682         * commandtags.h:
11683         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11684         LIGATURE_BREAK, since the name is so stupid.
11685
11686 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11687
11688         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11689         InsetInfos.
11690
11691         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11692
11693         * sp_form.[Ch]: remove.
11694
11695         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11696
11697         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11698         InsetInfo.
11699
11700         * src/buffer.C (readInset): ditto.
11701
11702 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11703
11704         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11705         menuSeparator(), endOfSentenceDot(), ldots() and
11706         hyphenationPoint(), which are therefore removed.
11707         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11708
11709         * LyXAction.C (init):
11710         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11711
11712         * paragraph.C (getWord): removed.
11713
11714         * BufferView_pimpl.C (Dispatch): use last word or selection for
11715         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11716
11717         * lyx_main.C (queryUserLyXDir): do not ask before creating
11718         user_dir, except if it has been named explicitely.
11719
11720 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11721
11722         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11723         a document of zero size.
11724
11725 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11726
11727         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11728         approriately in the c-tor and in require().
11729         (getPackages): output the appropriate LaTeX for natbib support.
11730
11731         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11732         variables "use_natbib" and "use_numerical_citations" when reading the
11733         LyX file.
11734         (readInset): read the various natbib cite commands.
11735         (validate): white-space change.
11736
11737         * bufferparams.[Ch]: new variables "bool use_natbib" and
11738         "bool use_numerical_citations".
11739         (writeFile): output them in the LyX file.
11740
11741 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11742
11743         * lyxfunc.C (getStatus): add support for all the inset insertion
11744         commands.
11745
11746         * text2.C (insertInset):
11747         * paragraph.C (insetAllowed):
11748         * BufferView_pimpl.C (insertInset): update to take in account the
11749         renaming of insertInsetAllowed
11750
11751         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11752
11753         * text2.C (getInset): new method. returns inset at cursor position.
11754
11755         * BufferView_pimpl.C (Dispatch): changes because of this.
11756
11757         * LyXAction.C (init): rename open-stuff to inset-toggle.
11758
11759         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11760
11761         * text2.C (toggleInset): renamed from openStuff; use
11762         Inset::open().
11763
11764 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11765
11766         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11767
11768         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11769
11770 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11771
11772         * buffer.C (readLyXformat2): Add filename to the error dialog
11773
11774 2001-07-18  Juergen Vigna  <jug@sad.it>
11775
11776         * tabular.C (GetCellNumber): put an assert here instead of the check!
11777
11778 2001-07-17  Juergen Vigna  <jug@sad.it>
11779
11780         * BufferView_pimpl.C (toggleSelection): adapted too.
11781
11782         * text.C (selectNextWord): adapted for use with insets.
11783         (selectSelectedWord): ditto
11784
11785 2001-07-17  Juergen Vigna  <jug@sad.it>
11786
11787         * sp_spell.C (PSpell): fix initialitation order.
11788
11789 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11790
11791         * paragraph.C: spacing
11792
11793 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11794
11795         * sp_spell.C: repair language selection for pspell
11796
11797 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11798
11799         * lyxfunc.h: change more methods to begin with lower char.
11800
11801 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11802
11803         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11804         for unknown layouts.
11805
11806 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11807
11808         * buffer.C (readLyXformat2): Generate an error dialog if there are
11809         unknown layouts.
11810
11811 2001-07-16  Juergen Vigna  <jug@sad.it>
11812
11813         * sp_spell.C: always compile ISpell part.
11814
11815         * lyxrc.C: added use_pspell entry and it's handling.
11816
11817 2001-07-13  Juergen Vigna  <jug@sad.it>
11818
11819         * sp_spell.C: removed double includes.
11820
11821 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11822
11823         Consistent use of Lsstream.h:
11824         * Lsstream.h: added using std::stringstream for consistencies sake.
11825
11826         * buffer.C: removed using std::stringstream
11827
11828         * lyxfont.C (stateText):
11829         * paragraph.C (asString):
11830         * text.C (selectNextWord, selectSelectedWord):
11831         * text2.C (setCounter):
11832         * vspace.C (asString, asLatexString):
11833         std::ostringstream -> ostringstream.
11834
11835 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11836
11837         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11838         * commandtags.h: add LFUN_HELP_ABOUTLYX
11839         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11840
11841 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11842
11843         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11844         cursorToggle()
11845         * lyx_gui_misc.C: remove spellchecker
11846         * lyxfunc.C: showSpellchecker
11847         * sp_base.h: added
11848         * sp_ispell.h: added
11849         * sp_pspell.h: added
11850         * sp_spell.C: added
11851         * sp_form.[Ch]: removed
11852         * spellchecker.[Ch]: removed
11853
11854 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11855
11856         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11857         is set.
11858         (simpleTeXSpecialChars): Simply print the input character without
11859         any special translation if pass_thru is set.
11860
11861         * layout.h: Added bool pass_thru to layout class for being able to
11862         implement pass through of a paragraph for Literate Programming.
11863
11864         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11865         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11866         * layout.C (Read): add "passthru" to list of layout tags and add
11867         code to set the pass_thru boolean when it is read.
11868
11869 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11870
11871         * trans_decl.h: remove allowed from KmodInfo
11872
11873         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11874         remove allowed code
11875         (Load): adjust
11876
11877         * paragraph_pimpl.C (erase): use boost::prior
11878
11879         * Painter.C (text): use data() instead of c_str() when length is
11880         also provided.
11881         * WorkArea.C (putClipboard): ditto
11882         * font.h (width): ditto
11883
11884         * BufferView2.C: use it-> instead of (*it). for iterators
11885         * texrow.C: ditto
11886         * paragraph_pimpl.C: ditto
11887         * paragraph.C: ditto
11888         * minibuffer.C: ditto
11889         * language.C: ditto
11890         * kbmap.C: ditto
11891         * encoding.C: ditto
11892         * counters.C: ditto
11893         * converter.C: ditto
11894         * chset.C: ditto
11895         * Variables.C: ditto
11896         * TextCache.C: ditto
11897         * MenuBackend.C: ditto
11898         * LyXAction.C: ditto
11899         * LColor.C: ditto
11900         * FloatList.C: ditto
11901         * DepTable.C: ditto
11902         * ColorHandler.C (LyXColorHandler): ditto
11903
11904 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11905
11906         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11907
11908         * text2.C (openStuff): reintroduce this method (which had been
11909         nuked in NEW_INSETS frenzy).
11910
11911         * lyxfunc.C (Dispatch): when an action has not been handled, use
11912         its name in the error message, not its number.
11913
11914         * paragraph.C (inInset): change method name to begin with lowercase.
11915
11916         * undo_funcs.C:
11917         * text2.C: updates because of this.
11918
11919 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11920
11921         * ToolbarDefaults.C (add): add spaces in error message
11922
11923 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11924
11925         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11926         (readLyXformat2): rename return_par to first_par, use lyxlex's
11927         pushToken and remove the manual push handling.
11928         (parseSingleLyXformat2Token): add another ert comp. variable:
11929         in_tabular, rename return_par to first_par. handle newlines better
11930
11931 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11932
11933         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11934
11935 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11936
11937         * text2.C (getParFromID): removed
11938
11939         * buffer.C (getParFromID): new method moved form lyxtext.
11940         * BufferView2.C (insertErrors): adjust
11941         (setCursorFromRow): adjust
11942         * BufferView_pimpl.C (restorePosition): adjust
11943         * lyxfunc.C (Dispatch): adjust
11944         * undo_funcs.C (textUndo): adjust
11945         (textRedo): adjust
11946         (textHandleUndo): adjust
11947         (textHandleUndo): adjust
11948
11949 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11950
11951         * buffer.C: up' the LYX_FORMAT
11952
11953         * lyxfont.h: turn NO_LATEX on as default
11954
11955         * buffer.C (insertErtContents): new methods of tex style compability.
11956         (parseSingleLyXformat2Token): use it several places.
11957         * tabular.C (OldFormatRead): and here
11958
11959 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11960
11961         * text2.C: remove some commented code.
11962         reindent file.
11963
11964         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11965         * trans.C: changes because of the above.
11966
11967 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11968
11969         * text2.C (setCounter): Fix counters bug with bibliography layout.
11970
11971 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11972
11973         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11974         own member functions
11975         (simpleTeXSpecialChars): ditto
11976
11977 2001-07-06  Juergen Vigna  <jug@sad.it>
11978
11979         * a lot of files: changed the access to LyXText::status and the
11980         call of undo-functions.
11981
11982         * undo.[Ch]: added a inset_id to the undo informations.
11983
11984         * undo_funcs.[Ch]: added and moved here all undo functions.
11985
11986         * lyxtext.h: give the status enum a weight, made status_ a private
11987         variable and made accessor functions for it, removed the whole bunch
11988         of undo-functions as they are now in their own file, make some
11989         functions publically available. Added function ownerParagraph with
11990         int parameter.
11991
11992         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11993         made InInset() a const function, added getParFromID() function.
11994
11995         * buffer.[Ch]: added const version for inset_iterator functions,
11996         added getInsetFromID() function.
11997
11998         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11999         changed undo functions for new version.
12000
12001 2001-07-05  Juergen Vigna  <jug@sad.it>
12002
12003         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12004         unknow mechanism does not call the proper constructor but only this
12005         one also if I request the other!?
12006
12007 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12008
12009         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12010
12011         * text2.C (LyXText): use initialization lists.
12012
12013         * lyxtext.h (Selection): initialize set_ and mark_
12014         (init): remove method
12015
12016 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12017
12018         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12019
12020 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12021
12022         * screen.[Ch]: change method names to begin with lowercase
12023
12024         * BufferView_pimpl.C (updateScrollbar): simplify further and
12025         hopefully make it a bit faster.
12026
12027 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12028
12029         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12030         calling directly xforms functions.
12031
12032         * Painter.C (Painter):
12033         * lyx_cb.C (MenuWrite):
12034         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12035         fl_display.
12036
12037         * lyx_gui.C: remove bogus guiruntime extern declaration.
12038
12039 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12040
12041         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12042         in NEW_INSETS
12043         (redoDrawingOfParagraph): ditto
12044         (redoParagraphs): ditto
12045         (cutSelection): don't create a object for CutAndPaste use the
12046         static method directly
12047         (pasteSelection): ditto
12048
12049         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12050         LyXview (+ rename)
12051
12052 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12053
12054         * modifications to some other files because of this.
12055
12056         * Makefile.am (lyx_SOURCES): add XFormsView
12057
12058         * XFormsView.[Ch]: new files
12059
12060         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12061         the main window. Move the gui dependent stuff to XFormsView
12062
12063 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12064
12065         * tabular.C (GetCellInset): update cur_cell also in the row/col
12066         version of this function.
12067
12068         * lyxfunc.C: no need to include figure_form.h here.
12069
12070         * FontLoader.h:
12071         * lyxfunc.h:
12072         * lyxscreen.h:
12073         * text2.C:
12074         * lyxvc.C: no need to include forms.h here.
12075
12076 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12077
12078         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12079
12080         * lyxfunc.C (Dispatch):
12081         * Spacing.C (set):
12082         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12083         constructor argument.
12084
12085 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12086
12087         * paragraph.C (Paragraph): dont't clear, and just set layout.
12088         (makeSameLayout): use params's copy contructor.
12089
12090         * ParagraphParameters.[Ch] (makeSame): delete method
12091
12092 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12093
12094         * Variables.[Ch]: fix indentation, rename set to isSet
12095
12096 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12097
12098         * lyxfunc.C (Dispatch): fix typo
12099
12100 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12101
12102         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12103         upper_bound.
12104
12105         * bufferlist.C: include assert.h for emergencyWrite().
12106
12107 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12108
12109         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12110           give up at last (bug #425202) !
12111
12112 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12113
12114         * lyx_gui_misc.C:
12115         * sp_form.h:
12116         * sp_form.C:
12117         * spellchecker.h:
12118         * spellchecker.C: strip spellchecker options and bring up
12119           preferences tab instead
12120
12121 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12122
12123         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12124         the istringstream constructor
12125
12126 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12127
12128         * paragraph.C (getLayout): fix return value
12129
12130         * paragraph.h: do not declare getLayout as inline.
12131
12132         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12133
12134 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12135
12136         * lyxcursor.h (operator<): new func
12137         (operator>): new func
12138         (operator>=): new func
12139         (operator<=): new func
12140
12141         * text.C (changeCase): use selection.start and selection.end
12142         (changeRegionCase): require from to be <= to. Require par to be a
12143         valid paragraph.
12144
12145         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12146
12147 2001-06-27  Juergen Vigna  <jug@sad.it>
12148
12149         * text.C (cursorLeftOneWord): changed to return the cursor and added
12150         overlay with BufferView * parameter which calls this one.
12151         (getWord): added
12152         (selectWord): use new getWord function.
12153         (changeCase): renamed from changeWordCase as and extended to work
12154         also on selections.
12155
12156         * lyxtext.h: added enum word_location
12157
12158         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12159         changeCase as this operates now also on selections.
12160
12161 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12162
12163         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12164
12165         * many files: send debug output to Debug::INFO instead of
12166         Debug::ANY.
12167
12168         * converter.C (View):
12169         (Convert):
12170         (Move): send debug output to Debug::FILES instead of console.
12171
12172 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12173
12174         * lyxfunc.C (getStatus): use func_status
12175
12176         * func_status.h: new header, describing the results of
12177         LyXFunc::getStatus;
12178
12179         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12180         LFUN_MATH_HALIGN.
12181
12182 2001-06-25  The LyX Project  <jug@sad.it>
12183
12184         * buffer.C (sgmlOpenTag):
12185         (sgmlCloseTag):
12186         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12187
12188 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12189
12190         * text2.C: remove some dead code
12191
12192         * tabular.C (GetCellInset): store the last cell checked (gotten)
12193
12194         * tabular.h: add the helper for the speedup
12195
12196         * lyxtext.h: remove some dead code
12197
12198 2001-06-26  The LyX Project  <Asger>
12199
12200         * paragraph.C: Change export to LaTeX of alignment to
12201         \begin{center} and family for better roundtrip work with reLyX.
12202
12203         * Tune the math drawing a bit.
12204
12205 2001-06-25  The LyX Project  <Asger>
12206
12207         * LColor.C (LColor): New color for math background. New color
12208         for buttons.
12209
12210 2001-06-25  The LyX Project  <jug@sad.it>
12211
12212         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12213
12214         * lyxfunc.C (Open):
12215         * bufferlist.C (newFile): do not restrict to files ending with
12216         .lyx
12217
12218         * BufferView_pimpl.C (MenuInsertLyXFile):
12219
12220 2001-06-24  The LyX Project  <jug@sad.it>
12221
12222         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12223         of compare_no_case
12224
12225 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12226
12227         * lyxtext.h: rename most methods to begin with a small char.
12228         Lots of changes because of this.
12229
12230         * paragraph.C (Paragraph): do not call fitToSize
12231         (erase): call Pimpl::erase
12232         (insertChar): call Pimpl::insertChar
12233         (insertInset): call Pipl::insertInset
12234         (breakParagraph): do not call fitToSize
12235         (breakParagraphConservative): do not call fitToSize
12236         (fitToSize): remove method
12237
12238         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12239
12240 2001-06-24  The LyX Project  <Asger>
12241
12242         * Fix Qt compilation^2
12243
12244 2001-06-24  The LyX Project  <jug@sad.it>
12245
12246         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12247         depthHook(getDepth()-1).
12248
12249         * paragraph.h:
12250         * ParagraphParameters.h:
12251         * ParameterStruct.h: change type of depth to unsigned int ==
12252         depth_type. Many adaptations to other files before of that.
12253
12254 2001-06-24  The LyX Project  <Asger>
12255
12256         * Fix Qt compilation.
12257
12258 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12259
12260         * paragraph.h: renamed several methods to begin with small letter.
12261         several changes to many parts of the code because of this.
12262
12263 2001-06-23  The LyX Project  <jug@sad.it>
12264
12265         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12266         rewritten to discard all double spaces when KeepEmpty is off
12267         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12268         to only handle newlines but not fiddle with spaces and friends.
12269
12270         * lyxfunc.C (MenuNew): when doing 'new from template', use
12271         template_path as default directory
12272
12273 2001-06-23  The LyX Project  <Asger>
12274
12275         * Clean-up of header file includes all over
12276         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12277
12278 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12279
12280         * paragraph.h: renamed from lyxparagraph.h
12281
12282 2001-06-23  Asger  <lyx@violet.home.sad.it>
12283
12284         * Buffer.h: Removed Buffer::resize
12285         * BufferList.h: Removed BufferList::resize
12286         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12287         the document lazily when we change the width, or the font settings.
12288
12289 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12290
12291         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12292
12293 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12294
12295         * buffer.h: remove out of date comment
12296
12297 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12298
12299         * lyxscreen.h:
12300         * screen.C: fix "theoretical" GC leak
12301
12302 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12303
12304         * LaTeX.C (scanAuxFile):
12305         (deplog): remove trailing \r when reading stream (useful under
12306         win32)
12307
12308 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12309
12310         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12311         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12312         and BufferView::theLockingInset(Inset*), so should use them and not
12313         access bv_->text->the_locking_inset directly.
12314
12315         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12316
12317 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12318
12319         * Makefile.am:
12320         * tex-defs.h: remove old unused file
12321
12322 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12323
12324         * BufferView_pimpl.C: fix typo, remove minibuffer message
12325           when buffer has loaded
12326
12327 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12328
12329         * lyxfunc.C (Dispatch): use stringstream
12330         (MenuNew): use stringstream
12331         (Open): use stringstream
12332
12333         * importer.C (Import): use stringstream
12334
12335         * bufferview_funcs.C (CurrentState): use stringstream
12336
12337         * LaTeX.C (run): use stringstream
12338
12339         * BufferView_pimpl.C (savePosition): use stringstream
12340         (restorePosition): use stringstream
12341         (MenuInsertLyXFile): use stringstream
12342
12343 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12344
12345         * BufferView.C:
12346         * Bullet.C:
12347         * ColorHandler.C:
12348         * FontInfo.C:
12349         * FontLoader.C:
12350         * LColor.C:
12351         * LaTeXFeatures.C:
12352         * Painter.C:
12353         * gettext.C:
12354         * lyx_gui_misc.C:
12355         * lyxserver.C:
12356         * vspace.C: removed // -*- C++ -*- as first line.
12357
12358         * lyxfind.h:
12359         * version.h: added // -*- C++ -*- as first line.
12360
12361 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12362
12363         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12364
12365         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12366         of string
12367
12368 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12369
12370         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12371         of floats.
12372
12373 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12374
12375         * gettext.C: include LString.h even when --disable-nls is on.
12376
12377 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12378
12379         * converter.h (Get): changed argument type from int to
12380         FormatList::size_type to avoid unnecessary conversion.
12381
12382         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12383         before using it.
12384
12385 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12386
12387         * gettext.h: include LString.h even when --disable-nls is on.
12388
12389 2001-06-07  Juergen Vigna  <jug@sad.it>
12390
12391         * text.C (BreakAgain): subst spaces with tabs.
12392
12393         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12394         (resizeInsetsLyXText): set force on resizeLyXText.
12395
12396 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12397
12398         * gettext.h (gettext_init):
12399         (locale_init): use a real definition instead of a macro
12400
12401 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12402
12403         * Bufferview_pimpl.C:
12404         * LColor.h:
12405         * LColor.C: further lcolor tidies
12406
12407 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12408
12409         * BufferView_pimpl.C (updateScrollbar): simplify.
12410
12411         * BufferView2.C: don't include insets/insetinfo.h, change
12412         prototype for insertInset and call the Pimpl version. let
12413         updateInset call Pimpl version.
12414
12415         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12416         gotoInset to BufferView::Pimpl
12417
12418 2001-06-01  Juergen Vigna  <jug@sad.it>
12419
12420         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12421         inside a LockingInset (is the update needed at all?).
12422
12423 2001-05-31  Juergen Vigna  <jug@sad.it>
12424
12425         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12426         here not the old one otherwise how should we compare it afterwards
12427         if it's the same!
12428
12429 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12430
12431         * lyxfont.C:
12432         * tabular.C:
12433         * tabular-old.C:
12434         * FontInfo.C: bring C functions into global namespace when
12435         necessary
12436
12437 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12438
12439         * LString.h: make sure config.h has been loaded before LString.h.
12440
12441         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12442         (one for each char read by EatLine!).
12443
12444         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12445         variables.
12446
12447 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12448
12449         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12450         to the same as the par we break from
12451
12452 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12453
12454         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12455
12456         * MenuBackend.C (expand): also create menu entries for wide
12457         versions of the floats.
12458
12459         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12460
12461         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12462
12463         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12464         frontends/Makefile.am
12465
12466         * text2.C: adjust
12467         * text.C: adjust
12468
12469
12470         * tabular.C (getTokenValue): add std::
12471
12472         * tabular-old.C (getTokenValue): add std::
12473         (getTokenValue): ditto
12474         (getTokenValue): ditto
12475
12476         * screen.C (ToggleSelection): adjust
12477
12478         * lyxtext.h: put selection cursors inside a Selection struct.
12479
12480         * lyxfunc.C (moveCursorUpdate): adjust
12481
12482         * lyxfont.C (latexWriteStartChanges): add std::
12483
12484         * lyxfind.C: adjust
12485
12486         * font.h: delete with(char const *, LyXFont const &)
12487
12488         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12489
12490         * FontInfo.C (getFontname): add std::
12491
12492         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12493         (workAreaButtonPress): adjust
12494         (tripleClick): adjust
12495         (update): adjust
12496         (moveCursorUpdate): adjust
12497         (Dispatch): adjust
12498
12499         * BufferView2.C (gotoInset): adjust
12500
12501 2001-05-30  Juergen Vigna  <jug@sad.it>
12502
12503         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12504         to check pspell I add this as default as I now have new pspell
12505         libraries and they seem to use this.
12506
12507 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12508
12509         * text2.C (CutSelection): make the cursor valid before the call to
12510         ClearSelection.
12511
12512 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12513
12514         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12515         relied on 0 terminated strings and other horrors. Bug found due to
12516         the new assert in lyxstring!
12517
12518         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12519         KP_ keys.
12520
12521 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12522
12523         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12524         to latinkeys.bind.
12525
12526         * lyxfunc.C (processKeySym): change method of getting to the
12527         self-insert char.
12528
12529         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12530         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12531         * BufferView_pimpl.[Ch]: here as private methods.
12532
12533 2001-05-28  Juergen Vigna  <jug@sad.it>
12534
12535         * text.C (SetHeightOfRow): added the update() call again as it is
12536         needed to initialize inset dimensions!
12537
12538 2001-05-16  Juergen Vigna  <jug@sad.it>
12539
12540         * text2.C (SetCharFont): Add new function with BufferView * and
12541         bool toggleall parameters for setting insets internal fonts.
12542         (SetFont): Freeze the undo as we may change fonts in Insets and
12543         all this change should be inside only one Undo!
12544
12545         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12546         setting font's in insets as for them we have the SetFont function!
12547
12548 2001-05-15  Juergen Vigna  <jug@sad.it>
12549
12550         * text2.C (ClearSelection): to be sure we REALLY don't have any
12551         selection anymore!
12552
12553         * tabular.C (TeXCellPreamble): fixed the left border problem for
12554         multicolumn cells.
12555
12556 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12557
12558         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12559         dependancy file
12560
12561 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12562
12563         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12564         LFUN_BREAKPARAGRAPH.
12565
12566         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12567         help test to "internal only", similar for LFUN_INSERT_URL
12568
12569         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12570         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12571         auto_region_delete and deadkeys.
12572
12573 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12574
12575         * LColor.h:
12576         * LColor.C: remove some dead entries, tidy a little
12577
12578 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12579
12580         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12581         commented code.
12582         (Dispatch): implement LFUN_ESCAPE
12583
12584         * commandtags.h: add LFUN_ESCAPE
12585
12586         * LyXAction.C (init): add entry for LFUN_ESCAPE
12587
12588         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12589         Remove commented code.
12590         (insertNote): moved here
12591         (open_new_inset): moved here
12592
12593         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12594         BufferView_pimpl
12595
12596 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12597
12598         * kbmap.C (findbinding): clean it up and make it work correctly.
12599
12600         * lyx_main.C (init): do not pass argc and argv as parameters
12601
12602 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12603
12604         * buffer.C: fix path for OS/2 & Win32
12605
12606         * lyx_gui.C:
12607         * lyx_main:
12608         * lyx_main.C: Added os:: class.
12609
12610         * os2_defines.h: update
12611
12612 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12613
12614         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12615         better by trying again with reduced state.
12616
12617 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12618
12619         * lyxrc.C (read): print error about invalid key sequence only when
12620         debugging (because not all latinX keysyms are known to some X
12621         servers)
12622
12623         * kbsequence.C (getiso): add a few std:: qualifiers
12624         (getiso): comment out extra return statement.
12625
12626 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12627
12628         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12629         handling.
12630         (Dispatch): enhance the accent inset a bit. (not perfect)
12631
12632 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12633
12634         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12635
12636 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12637
12638         * bufferlist.C (emergencyWrite): fix assert() call
12639
12640 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12641
12642         * text.C (InsertChar): Added trivial patch to only send the "you
12643         can not do multiple spaces this way" message once during a
12644         session.
12645
12646 2001-05-08  Baruch Even  <baruch@lyx.org>
12647
12648         * Makefile.am: Changed order of libraries to get LyX to link properly
12649         with the gnome frontend.
12650
12651 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12652
12653         * LaTeXFeatures.h: add a std:: qualifier
12654
12655 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12656
12657         * paragraph.C (String): use stringstream
12658
12659 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12660
12661         * paragraph.C (writeFile): remove footflag arg
12662
12663         * buffer.C (makeLaTeXFile): use stringstream
12664         (latexParagraphs): remove footnot gurba
12665
12666         * LaTeXFeatures.C (getPackages): use stringstream
12667         (getMacros): likewise
12668         (getTClassPreamble): likewise
12669         (getFloatDefinitions): new method
12670
12671         * paragraph.C (writeFile): reindent
12672         (Erase): reindent
12673
12674         * WorkArea.h: revert the xpos + etc changes.
12675
12676         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12677
12678         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12679
12680         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12681         (pasteSelection): likewise
12682         * text2.C (CreateUndo): likewise
12683
12684 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12685
12686         * minibuffer.C (peek_event): temporarily reduce the functionality
12687         of the minibuffer (to allow args on lfuns)
12688
12689         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12690         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12691
12692         * buffer.C (readInset): add compability reading of old float
12693         lists, add reading of new style float list.
12694         (readInset): avoid reevaluation of inscmd.getCmdName()
12695         (getLists): reindent
12696
12697         * MenuBackend.C (MenuItem): implement parsing of
12698         md_floatlistinsert and md_floatinsert.
12699         (expand::LastFiles): move initalizaton of iterators out of loop,
12700         avoid reevaluation.
12701         (expand::Documents): introduce typdedef vector<string> Strings,
12702         and use it.
12703         (expand::ExportFormats): introduce typedef vector<Format const *>
12704         Formats, and use it.
12705         (expand): implement FloatListInsert and FloatInsert.
12706
12707         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12708         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12709         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12710
12711         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12712         handling.
12713         (Dispatch::LFUN_FLOAT_LIST): implement
12714
12715 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12716
12717         * LaTeX.C (run): Fix problem with --export code.
12718
12719 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12720
12721         * BufferView.[Ch] (workarea): removed.
12722         (getClipboard) new method; wrapper for workarea()->getClipboard()
12723
12724         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12725         bug.
12726
12727         * WorkArea.h (width, height, xpos, ypos): These methods all
12728         returned the dimensions of the work_area sub-area of WorkArea,
12729         resulting in a position error if the WorkArea were resized. Now
12730         return the dimensions of the entire WorkArea.
12731
12732         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12733
12734 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12735
12736         * LaTeX.C (deplog): correct the syntax of regex reg1
12737
12738 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12739
12740         * undo.C: remove !NEW_INSETS cruft
12741
12742 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12743
12744         * text2.C: remove !NEW_INSETS cruft
12745
12746         * text.C: remove !NEW_INSETS cruft
12747
12748         * tabular.C: remove !NEW_INSETS cruft
12749
12750         * spellchecker.C: remove !NEW_INSETS cruft
12751
12752         * lyxtext.h: remove !NEW_INSETS cruft
12753
12754         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12755
12756         * lyxfunc.C: remove !NEW_INSETS cruft
12757
12758         * lyxfind.C: remove !NEW_INSETS cruft
12759
12760         * lyx_cb.C: remove !NEW_INSETS cruft
12761
12762         * figureForm.C: remove  !NEW_INSETS cruft
12763
12764         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12765
12766         * buffer.[Ch]: remove !NEW_INSETS cruft
12767
12768         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12769
12770         * CutAndPaste.C: remove !NEW_INSETS cruft
12771
12772         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12773
12774         * BufferView2.C: remove !NEW_INSETS cruft
12775
12776         * BufferView.h: remove !NEW_INSETS cruft
12777
12778 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12779
12780         * Lsstream.h: include LString.h before the sstream headers to
12781         fix problem with gcc 2.95.3 and lyxstring
12782
12783 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12784
12785         * lyx_main.C: add using directives when needed for C functions
12786         declared in std:: namespace.
12787
12788 2001-04-27  Juergen Vigna  <jug@sad.it>
12789
12790         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12791         (SetHeightOfRow): comment out the update call should not be needed!
12792
12793 2001-04-13  Juergen Vigna  <jug@sad.it>
12794
12795         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12796         (LyXTabular): tried to minimize operator= operations (and realized
12797         hopfully Lars wish).
12798
12799 2001-04-27  Juergen Vigna  <jug@sad.it>
12800
12801         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12802
12803 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12804
12805         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12806
12807         * buffer.C (readInset): hack to make listof algorithm work
12808
12809         * BufferView_pimpl.C: hack to make listof algorithm work
12810
12811 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12812
12813         * LyXAction.C: removed all !NEW_INSETS cruft
12814         (init): moved lfun_item in method
12815
12816         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12817
12818 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12819
12820         * BufferView2.C (theLockingInset): white space.
12821
12822 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12823
12824         * minibuffer.C: include <iostream>
12825
12826         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12827
12828         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12829
12830         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12831
12832         * text.[Ch] (TransposeChars): new method
12833
12834 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12835
12836         * call message directly through LyXView instead of through LyXFunc
12837         * BufferView2.C: adjust
12838         * BufferView_pimpl.C: adjust
12839         * FontLoader.C: adjust
12840         * buffer.C: adjust
12841         * bufferview_funcs.C: adjust
12842         * converter.C: adjust
12843         * figureForm.C: adjust
12844         * importer.C: adjust
12845         * lyx_cb.C: adjust
12846         * lyx_gui_misc.C: adjust
12847         * lyxfunc.C: adjust
12848         * lyxvc.C: adjust
12849         * text2.C: adjust
12850         + more files in subdirs
12851
12852         * lyxparagraph.h (size): move up int file
12853         (GetLayout): ditto
12854
12855         * adjust all uses of Assert to lyx::Assert.
12856
12857         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12858         lyxfunctional in namespace lyx
12859         * layout.C (hasLayout): ditto
12860         (GetLayout): ditto
12861         (GetLayout): ditto
12862         (delete_layout): ditto
12863         (NumberOfClass): ditto
12864         * converter.C (GetFormat): ditto
12865         (GetNumber): ditto
12866         (Add): ditto
12867         (Delete): ditto
12868         (SetViewer): ditto
12869         * bufferlist.C (getFileNames): ditto
12870         (emergencyWriteAll): ditto
12871         (exists): ditto
12872         (getBuffer): ditto
12873         * MenuBackend.C (hasSubmenu): ditto
12874         (hasMenu): ditto
12875         (getMenu): ditto
12876         * BufferView_pimpl.C (getInsetByCode): ditto
12877
12878 2001-04-18  Juergen Vigna  <jug@sad.it>
12879
12880         * vspace.C (asLatexString): fixed the 100% problem.
12881
12882 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12883
12884         * lyxfunc.C (Dispatch):
12885         * minibuffer.C:
12886         * minibuffer.h: add a few std:: qualifiers
12887
12888 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12889
12890         * minibuffer.[Ch]: reimplement so that commands is initiated and
12891         run from lyxfunc, simplified som handling, and made the completion
12892         and history code for complete. wip.
12893
12894         * lyxfunc.C (processKeySym): call message
12895         (miniDispatch): new temporary method
12896         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12897         (LFUN_MESSAGE): implement
12898         (LFUN_MESSAGE_PUSH): implement
12899         (LFUN_MESSAGE_POP): implement
12900         (initMiniBuffer): the initial/defualt minibuffer message.
12901
12902         * lyxfont.[Ch]: inline some more getters
12903
12904         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12905
12906         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12907
12908         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12909         (AutoSave): use LFUN_MESSAGE
12910         (Reconfigure): ditto
12911
12912         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12913
12914         * figureForm.C: use LFUN_MESSAGE
12915
12916         * converter.C (runLaTeX): use LFUN_MESSAGE
12917
12918         * bufferview_funcs.C: use LFUN_MESSAGE
12919         (Melt): ditto
12920         (changeDepth): ditto
12921
12922         * bufferparams.h: use boost::
12923
12924         * bufferlist.h: inherit privately from noncopyable
12925
12926         * bufferlist.C (loadLyXFile): remove some commented code.
12927
12928         * buffer.C (runChktex): use LFUN_MESSAGE
12929
12930         * ShareContainer.h: inherit privately from noncopyable
12931
12932         * ParagraphParameters.[hC] (depth): inline it.
12933
12934         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12935         methods.
12936         (message): new method
12937         (messagePush): ditto
12938         (messagePop): ditto
12939         (show): init minibuffer
12940         (showState): direct call
12941
12942         * LaTeX.[Ch]: inherit privately from noncopyable
12943         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12944         instead of WriteStatus.
12945
12946         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12947
12948         * BufferView_pimpl.C (buffer): don't init minibuffer
12949         (workAreaButtonPress): use LFUN_MESSAGE
12950         (workAreaButtonRelease): ditto
12951         (savePosition): ditto
12952         (restorePosition): ditto
12953         (MenuInsertLyXFile): ditto
12954         (workAreaExpose): don't init minibuffer
12955         (update): remove commented code, simplify
12956
12957         * BufferView2.C (openStuff): use LFUN_MESSAGE
12958         (toggleFloat): ditto
12959         (menuUndo): ditto
12960         (menuRedo): ditto
12961         (copyEnvironment): ditto
12962         (pasteEnvironment): ditto
12963         (copy): ditto
12964         (cut): ditto
12965         (paste): ditto
12966         (gotoInset): ditto
12967         (updateInset): remove some commented code
12968
12969         * lastfiles.h: inherit privately from noncopyable
12970         * layout.h: ditto
12971         * lyx_gui.h: ditto
12972         * lyx_main.h: ditto
12973         * lyxlex.h: ditto
12974         * lyxlex_pimpl.h: ditto
12975
12976         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12977         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12978         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12979
12980         * LyXAction.h: inherit privately from noncopyable, add methods
12981         func_begin, func_end, returning iterators to the func map.
12982
12983         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12984         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12985         (func_begin): new method
12986         (func_end): new method
12987
12988         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12989         and not)
12990         (copySelection): ditto
12991         (pasteSelection): ditto
12992
12993         * BufferView.C: whitespace change
12994         * BufferView.h: inherit privately from noncopyable
12995
12996 2001-04-16  Allan Rae  <rae@lyx.org>
12997
12998         * tabular-old.C (l_getline):
12999         * spellchecker.C (sc_check_word):
13000         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13001         an unrecognised preprocessor directive.  So ensure they're wrapped.
13002
13003 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13004
13005         * src/exporter.C (Export): Give an error message when path to file
13006         contains spaces.
13007
13008 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13009
13010         * LaTeX.C (deplog): Always check that foundfile exists.
13011
13012 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13013
13014         * lyx_main.h:
13015         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13016
13017 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13018
13019         * tabular.[Ch] (getLabelList): implement new method
13020
13021         * minibuffer.h: comment ouf setTiimer
13022
13023         * minibuffer.C (ExecutingCB): constify res
13024         (peek_event): constify s
13025         (Set): constify ntext
13026         (Init): constify nicename
13027
13028         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13029
13030         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13031         (savePosition): use two params to Minibuffer::Set
13032         (restorePosition): ditto
13033
13034 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13035
13036         * lyx_main.C: include language.h
13037
13038         * Makefile.am (lyx_main.o): add language.h
13039
13040 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13041
13042         * exporter.C:
13043         * paragraph.C:
13044         * screen.C:
13045         * tabular.C:
13046         * CutAndPaste.C: include gettext.h
13047
13048         * lyxfont.h: remove old hack with ON and OFF.
13049
13050         * lyxparagraph.h:
13051         * lyxfont.h: do not include language.h...
13052
13053         * BufferView2.C:
13054         * LaTeXFeatures.C:
13055         * Painter.C:
13056         * bufferview_funcs.C:
13057         * font.C:
13058         * lyxfont.C:
13059         * text.C:
13060         * text2.C:
13061         * trans_mgr.C:
13062         * paragraph.C: ... but do it here instead
13063
13064 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13065
13066         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13067
13068         * tabular.C: small reformat
13069
13070         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13071         NEW_INSETS version
13072         (GetChar): ditto
13073         (BreakParagraph): ditto
13074         (SetOnlyLayout): ditto
13075         (SetLayout): ditto
13076
13077         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13078         with one arg less.
13079
13080         * lastfiles.C: removed most using decl, add std:: where needed
13081
13082         * buffer.C: ws changes
13083
13084         * MenuBackend.C (class compare_format): put into anon namespace
13085         (expand): constify label, names, action, action2
13086         (expand):
13087
13088         * text.C (SingleWidth): constify font
13089         (IsBoundary): constify rtl2
13090         (GetVisibleRow): constify ww
13091
13092         * LaTeX.C (deplog): constify logfile
13093
13094         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13095         start_x, end_x
13096         (workAreaExpose): constify widthChange, heightChange
13097
13098         * lyxrow.C (par): moved
13099         (height): moved
13100         (next): moved
13101         * lyxrow.h: as inlines here
13102
13103         * lyxfont.h (shape): moved from lyxfont.C
13104         (emph): moved from lyxfont.C
13105
13106         * lyxfont.C (LyXFont): use initialization list for all
13107         constructors
13108         (shape): move to lyxfont.h as inline
13109         (emph): move to lyxfont.h as inline
13110
13111
13112 2001-04-04  Juergen Vigna  <jug@sad.it>
13113
13114         * vspace.C: had to include stdio.h for use of sscanf
13115
13116 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13117
13118         * BufferView.h:
13119         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13120         independent of xforms.
13121
13122 2001-04-02  Juergen Vigna  <jug@sad.it>
13123
13124         * spellchecker.C: fixed namespace placing!
13125
13126 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13127
13128         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13129         the LyXParagraph * is 0.
13130
13131 2001-03-29  Juergen Vigna  <jug@sad.it>
13132
13133         * vspace.C: added support for %, c%, p%, l%.
13134         (stringFromUnit): added helper function.
13135         (asLatexString): changed to give right results for the %-values.
13136
13137         * buffer.C: convert the widthp in a width%.
13138
13139 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13140
13141         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13142         figureForm.[Ch].
13143
13144         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13145         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13146
13147         * lyx_cb.[Ch]: see above.
13148
13149         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13150         form1.[Ch].
13151
13152         * form1.[Ch]:
13153         * lyx.[Ch]: replaced by figure_form.[Ch].
13154
13155         * lyx_gui.C:
13156         * lyx_gui_misc.C:
13157         * lyxfunc.C: changed headers associated with above changes.
13158
13159 2001-03-27  Juergen Vigna  <jug@sad.it>
13160
13161         * BufferView_pimpl.C: set the temporary cursor right!
13162
13163 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13164
13165         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13166
13167 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13168
13169         * LString.h: removed "using std::getline"!
13170
13171         * BufferView_pimpl.C (Dispatch): changes due to changes in
13172         InsetInclude::Params.
13173
13174         * buffer.C (tag_name): removed redundant break statements as they were
13175         producing lots of warnings with my compiler.
13176
13177 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13178
13179         * LString.h: add "using std::getline" when using the real <string>.
13180
13181 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13182
13183         * buffer.C: removed bitset usage.
13184         PAR_TAG moved to an anonymous name space.
13185         (tag_name): new funtion, also in the anonymous namespace.
13186         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13187         (makeDocBookFile): clean code. Completed transition from string arrays
13188         to string vectors.
13189         (SimpleDocBookOnePar): code clean.
13190
13191 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13192
13193         * tabular.C: add some comments.
13194
13195 2001-03-22  Juergen Vigna  <jug@sad.it>
13196
13197         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13198         compatibility read a bit and fixed bug with minipage in different
13199         depth.
13200
13201 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13202
13203         * buffer.C (pop_tag): removed.
13204         (push_tag): removed.
13205         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13206         array replaced with vector. Added support for CDATA sections.
13207         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13208         at any nest level.
13209         (makeDocBookFile): XML conformant declaration of CDATA section,
13210         fixed bug related to <emphasis> in the first paragraph char.
13211         (sgmlOpenTag): exclude empty tags.
13212         (sgmlCloseTag): ditto.
13213
13214         * buffer.h (pop_tag): removed.
13215         (push_tag): removed.
13216
13217 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13218
13219         * language.h (Languages): added size_type and size().
13220
13221 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13222
13223         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13224         response on compability reading of minipages. One probliem is that
13225         the old usage of minipages was «flertydig»
13226
13227         * several files here and in subdirs: don't use static at file
13228         scope use anon namespaces instead.
13229
13230 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13231
13232         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13233         LaTeX output. This is necessary for Literate document
13234         processing.
13235
13236 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13237
13238         * buffer.C: insert hfill when needed.
13239
13240         * tabular.C (l_getline): use string::erase, small whitespace change.
13241
13242         * BufferView_pimpl.C: try the anon namespace.
13243         * WorkArea.C: ditto
13244
13245 2001-03-16  Juergen Vigna  <jug@sad.it>
13246
13247         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13248         otherwise it won't open options-dialogs.
13249
13250         * buffer.C: honor pextraWidth(p) on converting minipages.
13251
13252         * tabular.C (l_getline): changed the functions to strip trailing \r.
13253
13254 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13255
13256         * BufferView_pimpl.C:
13257         * minibuffer..C: added "using SigC::slot" declaration.
13258
13259 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13260
13261         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13262
13263         * text2.C: ditto
13264
13265         * text.C: ditto
13266
13267         * paragraph.C: ditto
13268
13269         * lyxtext.h: NO_PEXTRA
13270
13271         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13272
13273         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13274         * ParameterStruct.h: ditto
13275         * ParagraphParameters.h: ditto
13276         * lyxparagraph.h: ditto
13277
13278 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13279
13280         * buffer.C: add compability for minipage alignment.
13281         (latexParagraphs): remove unwanted pextra check.
13282
13283         * several files: remove CXX_WORKING_NAMESPACES
13284
13285         * buffer.C (pop_tag): tie is in namespace boost
13286
13287         * BufferView.h: noncopyable is in namespace boost
13288         * lyxlex.h: ditto
13289         * lyx_main.h: ditto
13290         * lyx_gui.h: ditto
13291         * layout.h: ditto
13292         * lastfiles.h: ditto
13293         * bufferlist.h: ditto
13294         * ShareContainer.h: ditto
13295         * LyXView.h: ditto
13296         * LyXAction.h: ditto
13297         * LaTeX.h: ditto
13298
13299 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13300
13301         * Merging changes from BRANCH_MVC back into HEAD.
13302
13303         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13304
13305 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13306
13307         * BufferView_pimpl.C: change from intl.C
13308
13309         * combox.h:
13310         * combox.C:
13311         * Makefile.am: move combox.*
13312
13313         * form1.h:
13314         * form1.C:
13315         * lyx_gui.C:
13316         * intl.h:
13317         * intl.C: remove dialog (covered by prefs)
13318
13319 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13320
13321         * lyxfunc.C (Dispatch): removed redundant break statement.
13322
13323 2001-03-14  Juergen Vigna  <jug@sad.it>
13324
13325         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13326
13327 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13328
13329         * buffer.C: add hack to fix compability reading of minipages.
13330
13331 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13332
13333         * buffer.C (getLists): Cleanup.
13334
13335 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13336
13337         * lyxfont.C (update): don't honor toggleall on font size.
13338
13339 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13340
13341         * bmtable.c:
13342         * bmtable.h:
13343         * Makefile.am: moved to frontends/xforms/
13344
13345         * lyx_gui_misc.C:
13346         * lyxfunc.C:
13347         * BufferView_pimpl.C: changes for moved mathpanel
13348
13349 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13350
13351         * gettext.h: fix gettext_init() in --disable-nls
13352
13353 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13354
13355         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13356
13357 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13358
13359         * lyx.C:
13360         * lyx.h: strip external form
13361
13362 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13363
13364         * BufferView_pimpl.C: add comment, destroySplash()
13365
13366 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13367
13368         * BufferView_pimpl.C:
13369         * LyXAction.C:
13370         * buffer.C:
13371         * commandtags.h:
13372         * lyxfunc.C: use re-worked insetinclude
13373
13374 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13375
13376         * buffer.C: add using std::stringstream.
13377
13378         * lyx_cb.C: readd using std::ios.
13379
13380         * buffer.C: add using std::map.
13381
13382         * BufferView_pimpl.C: add using std::vector.
13383
13384         * ShareContainer.h: add std:: to swap.
13385
13386         * buffer.h: add some typedefs
13387         * buffer.C (getLists): use them
13388         (getLists): renamed from getTocList.
13389         add a counter for the different float types and use it in the
13390         generated string.
13391         (getLists): use the same counter for the NEW_INSETS and the "non"
13392         NEW_INSETS
13393
13394         * lyx_cb.h: remove unused items, includes, using etc.
13395
13396         * ShareContainer.h: remove some commented code, add more comments
13397         and "documentation".
13398
13399 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13400
13401         * buffer.C (getTocList): make the list also when NEW_INSETS is
13402         defined.
13403
13404         * buffer.h: remove TocType
13405
13406         * buffer.C (getTocList): change to return a map<string,
13407         vector<TocItem> >, implement for dynamic number of list.
13408
13409         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13410         * text2.C (PasteSelection): adjust
13411         * CutAndPaste.C (pasteSelection): adjust
13412
13413         * FloatList.C (FloatList): update from the new_insets branch.
13414         * Floating.[Ch]: ditto
13415         * LaTeXFeatures.C: ditto
13416         * buffer.C: ditto
13417         * lyxlex_pimpl.C: ditto
13418
13419         * paragraph.C (Last): remove when NEW_INSETS is defined.
13420
13421         * other file: changes because of the above.
13422
13423 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13424
13425         * lyxparagraph.h: rename next to next_, previous to previous_,
13426         make them private for NEW_INSETS. Rename Next() to next(),
13427         Previous() to previous().
13428
13429         * other files: changes because of the above.
13430
13431 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13432
13433         * BufferView.h:
13434         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13435         problem.
13436
13437 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13438
13439         * main.C (main): pass lyx_localedir to gettext_init().
13440
13441         * gettext.h: remove locale_init and gettext_init macros
13442
13443         * gettext.C (locale_init): new function
13444         (gettext_init): new function
13445
13446         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13447         setlocale().
13448
13449 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13450
13451         * Moved credits to frontends:
13452         * credits.[Ch]: removed
13453         * credits_form.[Ch]: removed
13454         * lyx_gui_misc.C: remove credits stuff
13455         * Makefile.am:
13456
13457 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13458
13459         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13460
13461         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13462         unneeded destructor.
13463
13464         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13465         a standalone pointer again.
13466
13467         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13468
13469 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13470
13471         * Makefile.am:
13472         * filedlg.h:
13473         * filedlg.C:
13474         * LyXAction.C:
13475         * ToolbarDefaults.C:
13476         * bufferlist.C:
13477         * commandtags.h:
13478         * form1.C:
13479         * form1.h:
13480         * lyx_cb.C:
13481         * lyx_cb.h:
13482         * lyxfunc.h:
13483         * lyxfunc.C:
13484         * BufferView_pimpl.C: use new file dialog in GUII
13485
13486         * lyx_cb.h:
13487         * lyx_cb.C: remove LayoutsCB to Toolbar
13488
13489 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13490
13491         * ShareContainer.h (get): add std:: qualifier
13492
13493 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13494
13495         * ShareContainer.h: define a proper ShareContainer::value_type
13496         type (and use typename to please compaq cxx)
13497
13498 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13499
13500         * lyxparagraph.h: move serveral local vars to
13501         ParameterStruct/ParagraphParameters., use ShareContainer in
13502         FontTable., make vars in FontTable private and add getter and
13503         setter.
13504
13505         * paragraph.C: changes because of the above.
13506
13507         * lyxfont.h: remove copy constructor and copy assignment. (the
13508         default ones is ok), move number inside FontBits. move inlines to
13509         lyxfont.C
13510
13511         * lyxfont.C: add number to initializaton of statics, move several
13512         inlines here. constify several local vars. some whitespace
13513         cleanup. Dont hide outerscope variables.
13514
13515         * Spacing.h: add two new constructors to match the set methods.
13516
13517         * ShareContainer.h: new file, will perhaps be moved to support
13518
13519         * ParameterStruct.h: new file
13520
13521         * ParagraphParameters.h: new file
13522
13523         * ParagraphParameters.C: new file
13524
13525         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13526         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13527
13528         * BufferView_pimpl.C: ParagraphParameter changes.
13529         * buffer.C: Likewise.
13530         * bufferview_funcs.C: Likewise.
13531         * text.C: Likewise.
13532         * text2.C: Likewise.
13533
13534 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13535
13536         * lyxfind.C (LyXReplace): do not redefine default argument in
13537         implementation.
13538         (IsStringInText): ditto
13539         (SearchForward): ditto
13540         (SearchBackward): ditto
13541
13542 2001-03-06  Juergen Vigna  <jug@sad.it>
13543
13544         * lyxfind.C (IsStringInText): put parentes around expressions.
13545
13546 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13547
13548         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13549
13550 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13551
13552         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13553
13554         * stl_string_fwd.h: add comment
13555
13556         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13557
13558         * tabular.h:
13559         * tabular.C: remove unused DocBook methods
13560
13561         * intl.C:
13562         * language.C:
13563         * paragraph.C:
13564         * buffer.C:
13565         killed DO_USE_DEFAULT_LANGUAGE
13566
13567 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13568
13569         * lyx_gui.C: do not include language.h.
13570
13571         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13572         arguments in function implementation.
13573
13574 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13575
13576         * BufferView_pimpl.C: add <ctime>
13577
13578 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13579
13580         * BufferView_pimpl.C: add using std::find_if
13581
13582 2001-02-27  José Matos  <jamatos@fep.up.pt>
13583
13584         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13585         by OnlyPath.
13586
13587 2001-02-11  José Matos  <jamatos@fep.up.pt>
13588
13589         * buffer.C (makeDocBookFile): command styles now have a parameter as
13590         "title" by default.
13591
13592 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13593
13594         * layout_forms.[Ch]: removed
13595         * lyx_cb.[Ch]: out character
13596         * lyx_gui.C: out character
13597         * lyx_gui_misc.C: out character
13598         * bufferview_funcs.C: : out character,
13599         added toggleall as parameter in ToggleAndShow
13600
13601 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13602
13603         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13604
13605         * text2.C (SetCurrentFont): Disable number property at boundary.
13606
13607 2001-02-26  Juergen Vigna  <jug@sad.it>
13608
13609         * lyxfunc.C (getStatus): added a string argument override function so
13610         that this is correctly called from LyXFunc::Dispatch if it contains a
13611         do_not_use_argument which is used!
13612         (Dispatch): added check for "custom" export and call appropriate func.
13613
13614 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13615
13616         * lyxrc.C: Add language_command_local, language_use_babel and
13617         language_global_options.
13618
13619         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13620
13621         * buffer.C (makeLaTeXFile): Use language_use_babel and
13622         language_global_options.
13623
13624 2001-02-23  Juergen Vigna  <jug@sad.it>
13625
13626         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13627         which works with LyXText and putted it inside BufferView. Here now we
13628         only call for that part the BufferView::Dispatch() function.
13629
13630         * BufferView.C (Dispatch): added.
13631
13632         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13633         functions which needs to use a LyXText over from LyXFunc.
13634         (MenuInsertLyXFile): added
13635         (getInsetByCode): added
13636         (moveCursorUpdate): added
13637         (static TEXT): added
13638
13639 2001-02-22  Juergen Vigna  <jug@sad.it>
13640
13641         * BufferView_pimpl.C (update): call a status update to see if LyXText
13642         needs it.
13643
13644 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13645
13646         * vc-backend.C (revert): implement for CVS
13647         (getLog): implement for CVS
13648
13649 2001-02-20  Juergen Vigna  <jug@sad.it>
13650
13651         * text2.C (ClearSelection): added BufferView param for inset_owner call
13652
13653         * lyxfunc.C (TEXT): added this function and use it instead of
13654         directly owner->view()-text of getLyXText().
13655
13656 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13657
13658         * src/layout_forms.C: out preamble
13659         * src/layout_forms.h: out preamble
13660         * src/lyx_cb.C: out preamble
13661         * src/lyx_cb.h: out preamble
13662         * src/lyx_gui.C: out preamble
13663         * src/lyx_gui_misc.C: out preamble
13664         * src/lyxfunc.C: connect with guii preamble
13665
13666 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13667
13668         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13669
13670 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13671
13672         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13673         whether to run bibtex.
13674
13675 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13676
13677         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13678
13679 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13680
13681         * Makefile.am (lyx_SOURCES): removed bibforms.h
13682
13683         * vspace.h: doxygen
13684
13685         * text.C (GetVisibleRow): make several local vars const
13686
13687         * tabular.C: small cleanup.
13688
13689         * lyxserver.C (callback): use compare instead of strncmp
13690
13691         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13692         inlines to after class or to paragraph.C
13693
13694         * lyxfont.h: remove friend operator!=
13695
13696         * converter.h: move friend bool operator< to non friend and after
13697         class def.
13698
13699         * combox.h: small cleanup
13700
13701         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13702         to inlines after class def.
13703
13704         * buffer.C (pop_tag): use string operations instead of strcmp
13705
13706         * bmtable.c: doxygen, small cleanup
13707
13708         * LaTeX.h: remove friend operator==
13709
13710 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13711
13712         * screen.C:
13713         * lyxrc.[Ch]:
13714         * lyxfunc.C:
13715         * lyxfont.[Ch]:
13716         * lyx_cb.C:
13717         * intl.[Ch]:
13718         * commandtags.h:
13719         * buffer.C:
13720         * WorkArea.[Ch]:
13721         * LyXAction.C:
13722         * BufferView_pimpl.C:
13723         * BufferView.[Ch]: remove cruft
13724
13725 2001-02-14  Juergen Vigna  <jug@sad.it>
13726
13727         * lyxfunc.C: removed #if 0 unused code
13728
13729         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13730
13731         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13732
13733         * text2.C (SetSelection): added a BufferView * parameter
13734
13735 2001-02-13  Juergen Vigna  <jug@sad.it>
13736
13737         * lyxfunc.C (Dispatch): fixed protected blank problem.
13738         * BufferView2.C (protectedBlank): added LyxText * parameter.
13739
13740         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13741         (AppendColumn): same as above for column_info.
13742
13743         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13744         (moveCursorUpdate): use a LyXText param for support of InsetText.
13745
13746         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13747         (tripleClick): ditto
13748
13749         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13750
13751         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13752
13753         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13754
13755         * text2.C (SetSelection): set correct update status if inset_owner
13756         (ToggleFree): ditto
13757
13758 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13759
13760         * tabular.C: remove some commented code.
13761
13762 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13763
13764         * BufferView_pimpl.C: call hideSplash()
13765
13766         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13767
13768         * include_form.h:
13769         * bibforms.h: remove
13770
13771         * lyxfunc.C:
13772         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13773           add LFUN_CHILD_CREATE
13774
13775         * counters.h: fix tiny typo
13776
13777         * lyx_cb.C:
13778         * lyx.h:
13779         * lyx_gui.C:
13780         * lyx.C: move splash to frontends/xforms/
13781
13782         * lyx_gui_misc.C: move Include and Bibform to frontends
13783
13784         * lyxvc.h: clarify comment
13785
13786         * vspace.C: tiny housekeeping
13787
13788 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13789
13790         * text.C (PrepareToPrint): RTL Fix.
13791
13792         * paragraph.C (GetUChar): New method.
13793         (String):  Use GetUChar.
13794
13795         * buffer.C (asciiParagraph): Use GetUChar.
13796
13797 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13798
13799         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13800
13801 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13802
13803         * buffer.h:
13804         * buffer.C: rename to getLogName(), handle
13805           build log / latex log nicely
13806
13807 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13808
13809         * MenuBackend.C:
13810         * MenuBackend.h: remove support for reference menuitem type.
13811
13812 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13813
13814         * BufferView_pimpl.C: housekeeping
13815         * BufferView_pimpl.h:
13816         * LyXView.h:
13817         * Makefile.am:
13818         * Timeout.C:
13819         * Timeout.h:
13820         * minibuffer.h: move Timeout GUI-I
13821
13822 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13823
13824         * lyxrc.C (read): Update converters data-structures.
13825
13826 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13827
13828         * LaTeX.h (operator!=): add operator != for Aux_Info
13829
13830 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13831
13832         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13833
13834         * LaTeXLog.C: deleted, useful code moved to Buffer
13835
13836         * buffer.h:
13837         * buffer.C: new function getLatexLogName()
13838
13839         * lyx_gui_misc.C:
13840         * lyx_gui.C:
13841         * lyxvc.C:
13842         * lyxvc.h:
13843         * lyxfunc.C: use frontends for LaTeX and VC logs
13844
13845 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13846
13847         * LaTeX.h: yet another std:: that Allan forgot.
13848
13849         * Variables.C (set): renamed from isset(), because this clashes
13850         with some HP-UX macros (grr).
13851
13852 2001-02-06  Allan Rae  <rae@lyx.org>
13853
13854         * LaTeX.h: Another bug fix.  Missing std:: this time.
13855
13856 2001-02-04  Allan Rae  <rae@lyx.org>
13857
13858         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13859         floats problem. I've left it commented out because it's not quite
13860         correct.  It should also test that the current object is a table or
13861         figure inset.  But I haven't gotten around to figuring out how to do
13862         that.  I *think* it'll be something like: "table" == inset.type()
13863
13864         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13865         bool.
13866
13867 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13868
13869         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13870         all the citation/databases/styles in the auxilary file.
13871         (run): Rerun latex if there was a babel language error.
13872
13873 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13874
13875         * text.C (Backspace): Preserve the font when changing newline char
13876         with a space.
13877         (BreakParagraph): If the cursor is before a space, delete the space.
13878
13879         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13880
13881 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13882
13883         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13884         new argument (code).
13885         (ChangeCitationsIfUnique): New method.
13886
13887         * paragraph.C (GetPositionOfInset): Handle bibkey.
13888
13889 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13890
13891         * BufferView_pimpl.h: change type of Position::par_pos to
13892         LyXParagraph::size_type.
13893
13894 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13895
13896         * BufferView_pimpl.C (savePosition, restorePosition): Write
13897         messages to minibuffer.
13898
13899 2001-01-28  José Matos  <jamatos@fep.up.pt>
13900
13901         * buffer.C (makeDocBookFile): adds support for document language.
13902         A silly restriction on the name of LatexCommand types where removed.
13903         Added support for CDATA sections, allows to chars unescaped, used
13904         among others in code, to avoid escape < and >.
13905
13906 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13907
13908         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13909         saved positions instrad of a stack. Furthermore, a position is
13910         stored using paragraph id/paragraph position.
13911
13912         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13913         Remove LFUN_REF_BACK.
13914
13915 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13916
13917         * converter.C (dvipdfm_options): New method.
13918
13919 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13920
13921         * vspace.C (isValidLength): Fix for empty input string.
13922
13923 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13924
13925         * LyXAction.C (init): change description of LFUN_FIGURE to
13926         "Insert Graphics"
13927
13928 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13929
13930         * LaTeX.C: add using directive
13931
13932 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13933
13934         * MenuBackend.C (expand): Fix the sorting of the formats.
13935
13936 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13937
13938         * lyx_main.C: tiny error message fix
13939
13940 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13941
13942         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13943         calling fl_initialize(). This fixes the problem with ',' as
13944         decimal separator in text files.
13945
13946 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13947
13948         * trans.C (process): Fix the keymap bug.
13949
13950 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13951
13952         * LaTeX.C (scanAuxFiles): New method. Provides support for
13953         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13954         (scanLogFile) Scan for "run BibTeX" messages.
13955
13956         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13957         OT1 font encoding. Also, load the aecompl package if the ae
13958         package is loaded.
13959
13960         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13961
13962 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13963
13964         * texrow.C (increasePos): turn two error messages into debug
13965         messages.
13966
13967 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13968
13969         * LaTeX.C (scanAux): Handle the \@input macro.
13970         (runBibTeX): Use scanAux().
13971
13972         * language.C (latex_options_): New field.
13973
13974         * LaTeXFeatures.C (getMacros): Add language macros.
13975
13976         * buffer.C (makeLaTeXFile): Small fix.
13977
13978 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13979
13980         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13981
13982         * text2.C: add a using directive.
13983
13984 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13985
13986         * BufferView2.C:
13987         * lyx_gui_misc.h:
13988         * lyxfr1.C:
13989         * lyxfunc.C: kill LyXBell.
13990
13991 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13992
13993         * text.C (IsBoundary): Remove the error message
13994
13995         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13996
13997         * lyxrc.C (setDefaults): Correct initialization value for
13998         font_norm_type.
13999
14000 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14001
14002         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14003         gotoError().
14004
14005         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14006         and GotoNextNote().
14007
14008         * src/LyXAction.C: Added reference-next.
14009
14010         * text.C (InsertChar): Use contains instead of strchr.
14011
14012         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14013
14014 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14015
14016         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14017         alignment commands (when needed).
14018
14019         * text.C (InsertChar): Add ':' to number separator chars.