]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
71da3c8e5dbd1248f7a1de6796f5c968e3500be4
[lyx.git] / src / ChangeLog
1
2 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3
4         * buffer.C: 
5         * lyxtextclass.[Ch]: parametrize SGML document header
6
7 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
8
9         * converter.[Ch]:
10         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
11         getFlavor().
12
13 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
14
15         * text2.C (setFont): rework using PosIterator (no more recursive)
16         (setCharFont): no more needed 
17         (setLayout): no more selection cursors fiddling (done by redoCursor)
18         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
19         destroy remaining ones)
20
21 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
22
23         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
24         * lyxtext.h: ditto
25         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
26         selection cursors
27         * lyxfunc.C: adjust
28         * text3.C: adjust + re-allow multi par depth changes
29         * textcursor.C: simplify a bit
30
31 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
32
33         * src/buffer.C:
34         * src/lyxlayout.C:
35         * src/lyxlayout.h:
36         * src/lyxtext.h:
37         * src/output_docbook.C:
38         * src/output_latex.C:
39         * src/paragraph.C:
40         * src/paragraph.h:
41         * src/sgml.C:
42         * src/sgml.h:
43         * src/text2.C: Introducing a number of tags parametrizing various
44         XML formats that we may want to support
45
46 2003-11-25  André Pönitz  <poenitz@gmx.net>
47
48         * InsetList.[Ch] (begein, end): inline as suggested by profiler
49
50         * lyxtext.h (leftMargin/rightMargin): simplify interface
51
52         * rowpainter.C:
53         * text.C:
54         * text2.C:
55         * text3.C: adjust
56
57 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
58
59         * lyxfunc.C (dispatch): propogate the bibtex databases from the
60         master file to any child files. Fixes bug 546.
61
62 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
63
64         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
65
66 2003-11-24  André Pönitz  <poenitz@gmx.net>
67
68         * rowpainter.C: simplification
69
70         * text2.C (updateCounters): remove call to redoParagraph on 
71         changed labels as this is far too expensive.
72
73 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
74
75         * converter.C (convert): fix a crash: this function gets
76         called with buffer == 0 from importer code.
77
78 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
79
80         * text3.C (cursorPrevious): make sure that we do not compare
81         iterators form different containers.
82         (cursorNext): ditto
83
84         * rowpainter.C (paintSelection): make sure that we do not compare
85         iterators from different containers.
86
87         * text3.C (dispatch): [PRIOR] make sure that we do not compare
88         iterators from different ParagraphList containers.
89         [NEXT] ditto
90
91         * text2.C (LyXText): change order of initialization slightly
92         (operator=): new function. copy all variables except cache_par_
93         (moveUp): make sure that we do not compare iterators from
94         different ParagraphList constainers.
95         (moveDown): ditto
96
97         * text.C (firstPar): new function
98         (lastPar): new function
99         (endPar): new function
100
101         * lyxtext.h: move things around and group public functions, public
102         variables, private functions, private variables
103
104 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
105
106         * factory.C: change call to InsetERT constructor to avoid
107         additional invocation of method status
108         * text2.C (toggleInset): remove redundant update() call
109         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
110         instead of a Bufferview pointer
111
112 2003-11-21  André Pönitz  <poenitz@gmx.net>
113
114         * rowpainter.C: simplification
115
116 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
117
118         * text3.C (dispatch): make possible to extend a word/row selection
119         with the mouse
120
121 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
122
123         * lyxtext.h: x0_,y0_ -> xo_,yo_
124         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
125         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
126         * rowpainter.C (paintRows): paint full paragraphs
127
128 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
129
130         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
131         screen coordinates)
132
133 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
134
135         * lyxtext.h: add x0_, y0_
136         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
137         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
138
139 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
140
141         * text2.C (setCursorIntern): move the x_target update here *
142         * text3.C: change some bv() to true/false in calls to
143         cursorUp/Down/Right/Left
144         * cursor.C: use helper function.
145
146 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
147
148         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
149         * paragraph_funcs.[Ch]: correct comment
150         * rowpainter.C: do not paint selections away from bv->cursor()
151         Fix a long standing selection painting bug.
152         * text3.C: generalize mouse-selection code to LyXTexts other that
153         top one
154         * textcursor.C: do not use y coords if we can use par offsets
155
156 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
157
158         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
159         cursor position after e.g. inset insert)
160
161 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
162
163         * lyxfind.C (replace): adjust to locking removal + some
164         code simplification
165
166 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
167
168         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
169         of the path
170
171 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
172
173         * lyxlayout.[Ch]:
174         * output_docbook.C: XML sanitation: new layout
175         parameters InnerTag and CommandDepth
176
177 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
178
179         * BufferView_pimpl.C:
180         * factory.C:
181         * text3.C: Fix the insertion and modification of button-style
182         insets
183
184 2003-11-13  André Pönitz  <poenitz@gmx.net>
185
186         * InsetList.[Ch]: remove deleteLyXText
187
188         * paragraph.[Ch]: cache beginOfBody position
189
190         * Bidi.C:
191         * text.C:
192         * text2.C:
193         * text3.C: remove superfluous update() calls
194
195         * vspace.C: cleanup
196
197 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
198
199         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
200         * BufferView.C (fitLockedInsetCursor): remove
201         * cursor.[Ch] (getDim): add
202         * text.C (getRowNearY): add faster version
203         * text3.C: remove some update calls
204
205 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
206
207         * LaTeXFeatures.C:
208         * LyXAction.C:
209         * MenuBackend.C:
210         * MenuBackend.h:
211         * dispatchresult.h:
212         * factory.C:
213         * lfuns.h:
214         * lyxfunc.C:
215         * lyxtextclass.C:
216         * lyxtextclass.h:
217         * text3.C: The Character Style /XML short element patch.
218
219 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
220
221         * text3.C:
222         * factory.C: Small step to solving 'unable to insert some insets'
223         problem
224
225 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
226
227         * cursor.[Ch] (updatePos): new function for updating the y
228         position of the tip inset
229         * bufferview_funcs.C (put_selection_at):
230         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
231
232 2003-11-11  André Pönitz  <poenitz@gmx.net>
233
234         * text.C: remove big comment on invalid Paragraph pointers as it is
235         not valid anymore
236
237 2003-11-11  André Pönitz  <poenitz@gmx.net>
238
239         * text_funcs.[Ch]: merge with ...
240
241         * text.C: ... this
242
243         * lyxtext.h:
244         * text2.C:
245         * text3.C: adjust
246
247         * Makefile.am: remove text_funcs.[Ch]
248
249 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
250
251         * cursor.C (getPos): return absolute cached y coord
252
253         * BufferView_pimpl.C (fitCursor): new simplistic code
254         (workAreaDispatch): add a fitCursor call
255
256 2003-11-10  André Pönitz  <poenitz@gmx.net>
257
258         * BufferView.[Ch]:
259         * BufferView_pimpl.[Ch]: merge update() and updateInset()
260
261 2003-11-10  André Pönitz  <poenitz@gmx.net>
262
263         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
264         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
265         indicate that the cursor needs to leave an inset
266
267         * lyxtext.h: remove inset locking
268
269         * cursor.[Ch]: re-implement functionality provided by inset locking
270
271         * BufferView.[Ch]:
272         * BufferView_pimpl.[Ch]:
273         * LyXAction.C:
274         * bufferview_funcs.[Ch]:
275         * factory.C:
276         * funcrequest.[Ch]:
277         * iterators.C:
278         * lyx_cb.C:
279         * lyxfind.C:
280         * lyxfunc.C:
281         * text.C:
282         * text2.C:
283         * text3.C:
284         * undo.C: adjust
285
286 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
287
288         * PosIterator.[Ch]: replace the stack with a vector, add inset
289         accesor
290         * iterators.[C]: adjust
291
292 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
293
294         * lyxfind.C (replaceAll): mark the buffer dirty if something was
295         replaced
296         * paragraph_funcs.C (readParToken): put the correct id in the
297         error item, not the id of the top paragraph
298
299 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
300
301         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
302         * bufferview_funcs.C (put_selection_at): use the above
303
304 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
305
306         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
307
308 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
309
310         * output_linuxdoc.h:
311         * output_plaintext.h:
312         * output.h:
313         * output_docbook.h: add #include statements
314
315 2003-11-05  José Matos  <jamatos@lyx.org>
316
317         * output_docbook.[Ch]:
318         * output_latex.[Ch]:
319         * output_linuxdoc.[Ch]:
320         * output_plaintext.[Ch]: New files for output formats.
321         * output.[Ch]: New file for helper functions.
322
323         * buffer.[Ch]:
324         * paragraph_funcs.[Ch]: output functions moved to new files.
325
326         * outputparams.h: rename of latexrunparams.h
327
328         * LaTeX.[Ch]:
329         * buffer.[Ch]:
330         * bufferlist.[Ch]:
331         * converter.[Ch]:
332         * exporter.C:
333         * paragraph.[Ch]:
334         * paragraph_funcs.[Ch]:
335         * paragraph_pimpl.[Ch]:
336         * tabular.[Ch]: rename ascii to plaintext
337         and LatexRunParams to OutputParams.
338
339 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
340
341         * iterators.[Ch] (text): require bv argument
342         * undo.C (recordUndo):
343         * lyxfunc.C (dispatch):
344         * bufferview_funcs.C (put_selection_at): adjust
345
346 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
347
348         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
349
350 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
351
352         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
353         nestings
354
355 2003-11-04  André Pönitz  <poenitz@gmx.net>
356
357         * cursor.[Ch]: restructure
358
359         * BufferView.[Ch]:
360         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
361
362         * iterators.[Ch] (asCursor): remove
363
364         * lfuns.h: remove LFUN_INSET_EDIT
365
366         * lyxfunc.C:
367         * tabular.C:
368         * text.C:
369         * text2.C:
370         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
371
372 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
373
374         * lyxfind.[Ch]: complete overhaul
375         * BufferView_pimpl.C:
376         * lyxfunc.C: adjust
377         * paragraph.[Ch] (insert): add
378
379 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
380
381         * BufferView.[Ch]:
382         * lyxtext.h:
383         * text.C: remove dead spellcheck code
384
385 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
386
387         * dispatchresult.h: add a val setter
388
389         * cursor.C (dispatch): use a tempvar for data_[i]
390
391 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
392
393         * PosIterator.[Ch]: compile fix
394
395 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
396
397         * text.C (cursorPar): deactivate the cursor cache
398
399 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
400
401         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
402
403 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
404
405         * text3.C (dispatch): adjust for new DisptchResult semantics.
406
407         * lyxfunc.C (dispatch): handle update when return from
408         Cursor::dispatch, adjust for new DispatchResult semantics.
409
410         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
411         DispatchResult(true) mean to not update. Add class functions for
412         setting dispatched and update, as well as reading.
413
414         * cursor.C (dispatch): don't handle update here
415
416 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
417
418         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
419         * trans_mgr.C: adjust
420
421         * paragraph_funcs.C (readParToken): exception safety
422
423         * lyxvc.h: store the vcs pointer in a scoped_ptr
424         * lyxvc.C: adjust
425
426         * lyxsocket.C (serverCallback): exception safety
427
428         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
429
430         * ispell.C (clone): make it return a auto_ptr
431
432         * factory.C (createInset): exception safety
433         (readInset): exception safety
434
435         * bufferlist.C (newBuffer): exception safety
436
437         * Thesaurus.C (Thesaurus): use initialization for aik_
438
439         * MenuBackend.C (expandToc): exception safety.
440
441 2003-11-03  André Pönitz  <poenitz@gmx.net>
442
443         * buffer.C:
444         * buffer.h:
445         * bufferview_funcs.C: remove getInsetFromId()
446
447         * lyxcursor.[Ch]:
448         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
449
450         * lyxfunc.C:
451         * text2.C:
452         * text3.C: adjust
453
454 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
455
456         * PosIterator.C (distance, advance): new
457         * bufferview_funcs.[Ch] (put_selection_at): new
458         * iterators.[Ch] (lockPath): new
459
460 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
461
462         * iterators.[Ch] (asPosIterator): added
463         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
464         * PosIterator.[Ch]: added
465
466 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
467
468         * text3.C:
469         * lyxfunc.C:
470         * cursor.C (dispatch):
471         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
472
473         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
474         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
475         contructor, add a class function dispatched. Remove operator>=
476
477 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
478
479         * debug.C: only use the default constructor for debugstream
480         (lyxerr) here.
481
482         * main.C (main): include debug.h and setup the lyxerr streambuf
483         here.
484
485 2003-10-31  José Matos  <jamatos@lyx.org>
486
487         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
488
489         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
490         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
491         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
492         * paragraph_pimpl.C (simpleTeXSpecialC):
493         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
494         add LatexRunParams argument.
495
496         * exporter.C (Export): change call accordingly.
497
498         * latexrunparams.h: add new member to take care of the other backends.
499 2003-10-30  José Matos  <jamatos@lyx.org>
500
501         * buffer.C (makeLinuxDocFile, makeDocBookFile):
502         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
503         factorise code for paragraph output.
504         * buffer.[Ch]:
505         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
506         move functions.
507
508 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
509
510         * text3.C (dispatch):
511         * lyxfunc.C (dispatch):
512         * cursor.C (dispatch):
513         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
514
515         * dispatchresult.h: make the dispatch_result_t ctor explicit
516
517 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
518
519         * sgml.[Ch]:
520         * buffer.C: small refactoring of docbook stuff
521
522 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
523
524         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
525         meaning.
526
527 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
528
529         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
530         operator dispatch_result_t, and operators for == != and >=
531
532         * cursor.C (dispatch): adjust for operator dispatch_result_t
533         removal. comment out call to update
534
535         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
536
537 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
538
539         * text3.C:
540         * text2.C:
541         * text.C:
542         * lyxtext.h:
543         * lyxfunc.C:
544         * cursor.C:
545         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
546         (dispatch):
547
548         * dispatchresult.h: new file, DispatchResult broken out of
549         insets/insetbase.h
550
551         * Makefile.am (lyx_SOURCES): add dispatchresult.h
552
553 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
554
555         * text.C (rowBreakPoint): put a hack inside #if 0
556
557 2003-10-28  André Pönitz  <poenitz@gmx.net>
558
559         * lyxtext.h:
560         * metricsinfo.C:
561         * paragraph_funcs.C:
562         * rowpainter.C:
563         * text.C:
564         * text2.C: general cleanup (lots of small stuff)
565
566 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
567
568         * text2.C (cursorEnd): simple fix to the "end key goes to one
569         before the end on last row" bug
570
571 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
572
573         * text.C (backspace): fix the "zombie characters"
574
575 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
576
577         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
578
579 2003-10-27  André Pönitz  <poenitz@gmx.net>
580
581         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
582
583         * factory.C: handle new InsetPagebreak, InsetLine
584
585         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
586         and move handling into new InsetPagebreak, InsetLine
587
588         * BufferView_pimpl.C:
589         * LyXAction.C:
590         * ParagraphParameters.C:
591         * ParameterStruct.h:
592         * lyxfunc.C:
593         * lyxtext.h:
594         * paragraph.C:
595         * paragraph.h:
596         * paragraph_funcs.C:
597         * paragraph_pimpl.C:
598         * rowpainter.C:
599         * text.C:
600         * text2.C:
601         * text3.C: adjust
602
603 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
604
605         * text.C:
606         * lyxrow_funcs.[Ch]:
607         * Bidi.C:
608         * paragraph.C:
609         * lyxtext.h:
610         * rowpainter.C:
611         * text2.C:
612         * text3.C: remove lastPos uses in favour of Row::endpos
613
614 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
615
616         * undo.C (performUndoOrRedo): fix two crashes by setting a
617         cursor by hand and reordering some calls. Use bv->lockInset instead
618         of inset->edit because the latter loses cursor information
619
620 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
621
622         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
623         by Martin
624         (rowBreakPoint): fix width. change point to point + 1.
625         Add a missing check.
626
627 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
628
629         * MenuBackend.C:
630         * lyxfunc.C: fix (at least partly) the problems
631         with the Nav menu and headers inside branch insets
632         reported by Kayvan
633
634 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
635
636         * paragraph.C (getChar): add strong asserts
637
638         * lyxrow_funcs.C (lastPos): remove hideous hack
639
640         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
641         (fill): adjust to that (avoid an infinite loop)
642
643 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
644
645         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
646
647 2003-10-23  André Pönitz  <poenitz@gmx.net>
648
649         * RowList_fwd.h: change list<> to vector<> to gain speed
650         after suggestion from Alfredo
651
652 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
653
654         * lyxtext.h: move the bidi stuff from here...
655         * text.C: and here
656         * text2.C: and here
657         * Bidi.[Ch]: ... to here
658
659 2003-10-23  André Pönitz  <poenitz@gmx.net>
660
661         * lyxtext.h:
662         * text.C (isLastRow, isFirstRow): new functions
663
664         * paragraph.h: new width cache member
665
666         * rowpainter.C: replace RowList::iterator with Row & where possible
667
668         * lyxfunc.C: replace several view()->text with a single call
669
670         * toc.C: fix 'unused' warning
671
672 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
673
674         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
675         when woring with stream::pos_type
676         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
677
678 2003-10-22  André Pönitz  <poenitz@gmx.net>
679
680         * lyxtext.h:
681         * text.C: use Row & instead of RowList::iterator
682
683         * lyxrow.h: rename end() to endpos()
684
685         * rowpainter.C:
686         * text.C:
687         * text2.C: adjust
688
689 2003-10-22  Angus Leeming  <leeming@lyx.org>
690
691         * buffer.[Ch] (fully_loaded): new member function, returning true
692         only when the file has been loaded fully.
693         Used to prevent the premature generation of previews and by the
694         citation inset to prevent computation of the natbib-style label.
695
696         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
697         templates are all set up.
698
699         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
700
701 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
702
703         * text.C: fixed an "oops" in the "is a bit silly"
704         bug fix
705
706 2003-10-21  André Pönitz  <poenitz@gmx.net>
707
708         * FuncStatus.[Ch]: small stuff, whitespace
709
710         * lyxfont.[Ch]: operator<<() for debug reasons
711
712         * lyxfunc.C:
713         * lyxrow_funcs.C:
714         * lyxtext.h: whitespace, spelling
715
716         * paragraph.C: naming of variables
717
718         * text.C:
719         * text2.C: small stuff
720
721
722 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
723
724         * text.C: (1) finish off the inset display() work;
725         (2) fix the "is a bit silly" bug (accessing char
726         past end of par).
727
728 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
729
730         * text.C: re-introduce display() for insets, fixing the
731         various bugs (stretch of line above, math inset
732         positioning, ...)
733
734 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
735
736         * text.C (rightMargin): remove spurious semicolon
737
738         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
739         1415)
740
741 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
742
743         * text3.C: fix one crash due to wrong cursor def
744
745 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
746
747         * vc-backend.C (scanMaster): make the regex static
748
749         * LaTeX.C (scanAuxFile): make the regexs static
750
751         * text3.C (doInsertInset, dispatch, dispatch):
752         * text2.C (cursorUp, cursorDown):
753         * text.C (selectNextWordToSpellcheck):
754         * BufferView_pimpl.C (dispatch):
755         * lyxfunc.C (dispatch):  localDispatch -> dispatch
756
757 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
758
759         * lyxsocket.C: include <cerrno>
760
761 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
762
763         * lyxfunc.C (dispatch): remove textcache stuff
764
765         * bufferlist.C (release): remove textcache stuff
766         (closeAll): ditto
767
768         * TextCache.C: delete file
769         * TextCache.h: delete file
770
771         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
772
773         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
774         delete of the bv_->text.
775         (resizeCurrentBuffer): remove texcache stuff
776         (workAreaResize): ditto
777
778 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
779
780         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
781         action.
782
783 2003-10-16  André Pönitz  <poenitz@gmx.net>
784
785         * lyxrow.[Ch]:
786         * paragraph.h:
787         * rowpainter.C:
788         * text.C:
789         * text2.C:
790         * text3.C: speed up by storing y positions per paragraph plus per-row
791         offset instead of having a 'full' y position in the row.
792
793 2003-10-15  André Pönitz  <poenitz@gmx.net>
794
795         * iterators.[Ch]:
796         * iterators.[Ch]:
797         * undo.[Ch]: make undo aware of inner insets
798
799 2003-10-14  Angus Leeming  <leeming@lyx.org>
800
801         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
802         static member functions LyX::ref() and LyX::cref.
803         (lastfiles): new accessor functions for the new lastfiles_ member var.
804         (addLyXView, views_): add a new LyXView to the list of views_.
805         (updateInset): loop over all LyXViews to call their own updateInset
806         member function, returning a pointer to the Buffer owning the inset.
807
808         * BufferView_pimpl.C (loadLyXFile):
809         * MenuBackend.C (expandLastfiles):
810         * bufferlist.C (MenuWrite, QuitLyX):
811         lastfiles is no longer a global variable.
812         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
813
814         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
815         static function. Access through LyX::cref().emergencyCleanup().
816
817 2003-10-14  André Pönitz  <poenitz@gmx.net>
818
819         * iterators.[Ch]: new direct access to innermost LyXText and Inset
820
821         * undo.[Ch]: restoring part of 'undo in insets'
822
823         * Makefile.am:
824         * undo_funcs.[Ch]: merge with undo.[Ch]
825
826         * tabular.C: small cleansing stuff
827
828 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
829
830         * paragraph_funcs.C (readParToken): report unknown insets as error
831         boxes. Use the outer paragraph as location (also for unknown
832         tokens).
833
834         * factory.C (readInset): do not abort on reading an unknown inset.
835         Eat it and return 0.
836
837 2003-10-13  Angus Leeming  <leeming@lyx.org>
838
839         * lyx_main.C (LyX): remove call to setDisplayTranslator().
840
841         * lyxrc.C: displayTranslator is now a function,
842         declared in GraphicsTypes.h.
843
844 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
845
846         * format.C: new placeholder $$a to pass the socket address.
847
848         * bufferlist.[Ch]: new function getBufferFromTmp.
849
850         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
851           files in the temporary dir.
852
853 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
854
855         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
856
857         * Makefile.am: add lyxsocket.[Ch].
858
859         * lyx_main.C (error_handler): handle SIGPIPE.
860
861 2003-10-13  André Pönitz  <poenitz@gmx.net>
862
863         * BufferView_pimpl.C:
864         * lyxtext.h:
865         * text.C:
866         * text2.C:
867         * text3.C:
868         * undo_funcs.[Ch]: use paroffset_type instead of
869           ParagraphList::iterators to prevent multiple conversion
870           (and get a more robust interface)
871
872 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
873
874         * lyxfunc.C (dispatch): RESULT -> dispatch_result
875         * lyxtext.h: ditto
876         * text3.C (dispatch): ditto
877
878 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
879
880         * LaTeX.C (handleFoundFile): move the static to smaller scope,
881         move the onlyfile, use onlyfile instead of foundfile in a couple
882         of places.
883
884         * DepTable.C (update): flush the error stream a bit more
885
886 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
887
888         * lyxserver.C (callback): adjust
889
890         * lyxfunc.C (getStatus): add a missing brace in commented code
891         (ensureBufferClean): reindent
892         (dispatch): delete version taking a string
893
894 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
895
896         * LaTeX.C (deplog): move found file handlig from here...
897         (handleFoundFile): .. to new function here.
898         (deplog): make sure to discover several files mentioned on the
899         same log line.
900
901 2003-10-10  André Pönitz  <poenitz@gmx.net>
902
903         * lyxfunc.C:
904         * lyxtext.h:
905         * tabular.C:
906         * text.C:
907         * text2.C:
908         * text3.C: fix some of the tabular crashes
909
910 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
911
912         * MenuBackend.C (binding): put debug message into Debug::KBMAP
913
914         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
915
916 2003-10-09  André Pönitz  <poenitz@gmx.net>
917
918         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
919
920         * BufferView.C:
921         * BufferView_pimpl.C:
922         * bufferview_funcs.C:
923         * lyx_cb.C:
924         * lyxcursor.C:
925         * lyxfind.C:
926         * lyxfunc.C:
927         * lyxtext.h:
928         * text.C:
929         * text2.C:
930         * text3.C:
931         * text_funcs.[Ch]:
932         * textcursor.[Ch]:
933         * undo_funcs.C: adjust
934
935 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
936
937         * text2.C (incrementItemDepth): new function, use a backtracking
938         algorithm to discover the correct item depth.
939         (resetEnumCounterIfNeeded): new function, use a backtracking
940         algorithm to discover if counter reset is needed.
941         (setCounter): use them. Simplify a bit. Add different labels for
942         different item depths for itemize.
943
944         * paragraph.C (Paragraph): remove initialization of enumdepth
945         (operator=): ditto
946
947         * paragraph.h: get rid of enumdepth, and use itemdepth both for
948         enumerate and itemize. Change the type of itemdepth to signed char.
949
950 2003-10-08  André Pönitz  <poenitz@gmx.net>
951
952         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
953           thing assignable.
954         * text.C:
955         * text2.C: adjust
956
957         * tabular.[Ch]: fix crash after 'row-insert'
958
959 2003-10-08  Angus Leeming  <leeming@lyx.org>
960
961         Fix doxygen warnings.
962
963         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
964         Remove CutAndPaste:: prefix from header file declaration.
965
966         * LColor.h (fill): remove LColor:: prefix from declaration.
967
968         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
969         use lyx::depth_type rather than Paragraph::depth_type so that
970         header file and .C file match.
971
972         * converter.h (intToFormat): remove Converters:: prefix from declaration.
973
974         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
975         * aspell.C: \file aspell_local.C -> \file aspell.C
976         * gettext.C: \file gettext.C -> \file src/gettext.C
977         * gettext.h: \file gettext.h -> \file src/gettext.h
978         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
979         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
980         * text.C: \file text.C -> \file src/text.C
981
982         * toc.C: move comment so that doxygen is not confused.
983
984 2003-10-07  Angus Leeming  <leeming@lyx.org>
985
986         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
987
988 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
989
990         * aspell.C:
991         * aspell_local.h: add forgotten std::string's.
992
993 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
994
995         * LaTeXFeatures.C:
996         * LyXAction.C:
997         * factory.C:
998         * lfuns.h:
999         * lyxfunc.C:
1000         * text3.C: The Box patch. Fancybox support, minipage, parbox
1001
1002 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1003
1004         * CutAndPaste.h:
1005         * DepTable.h:
1006         * FloatList.h:
1007         * LaTeXFeatures.h:
1008         * ParagraphParameters.h:
1009         * TextCache.h:
1010         * Thesaurus.h:
1011         * bufferlist.h:
1012         * exporter.h:
1013         * importer.h:
1014         * lastfiles.h:
1015         * lyxfind.h:
1016         * lyxfont.h:
1017         * lyxlex.h:
1018         * lyxtextclasslist.h:
1019         * messages.h:
1020         * paragraph.h:
1021         * paragraph_pimpl.C:
1022         * textcursor.h: add <string> and other small fixes to make Lars'
1023         std::string patch compile with STLport.
1024
1025 2003-10-06  Angus Leeming  <leeming@lyx.org>
1026
1027         * LColor.h: Add missing #include <string>.
1028
1029 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1030
1031         * All most all file in all subdirs: Make <string> be the prefered
1032         way of getting to std::string, add using declarations.
1033
1034 2003-10-06  André Pönitz  <poenitz@gmx.net>
1035
1036         * metricsinfo.C: initialize LyXFont before changing attribute.
1037         (fixes the 'math in \emph is upright' bug)
1038
1039 2003-10-06  André Pönitz  <poenitz@gmx.net>
1040
1041         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1042
1043 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1044
1045         * graph.C:
1046         * paragraph_pimpl.C: Small fixes to build using STLport
1047
1048 2003-10-02  André Pönitz  <poenitz@gmx.net>
1049
1050         * lyxfunc.C:
1051         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1052
1053 2003-10-01  André Pönitz  <poenitz@gmx.net>
1054
1055         * factory.C: assert early
1056
1057 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1058
1059         * lyx_main.C: remove the global debug object
1060
1061         * debug.h: adjust for new debugstream
1062
1063         * debug.C: adjust for new debugstream and keep the global debug
1064         object here.
1065
1066 2003-09-22  Angus Leeming  <leeming@lyx.org>
1067
1068         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1069         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1070         an incomplete class LyXFont.
1071
1072 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1073
1074         * factory.C: bug fix in branches
1075
1076 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1077
1078         * lyxfunc.C (processKeySym): adjust
1079         (dispatch): adjust
1080         (dispatch): change arg name from ev to func, adjust
1081         (sendDispatchMessage): ditto
1082
1083         * lyx_main.C (defaultKeyBindings): adjust keybindings
1084         (deadKeyBindings): ditto
1085
1086         * kbsequence.C (addkey): return a FuncRequest
1087
1088         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1089
1090         * kbmap.C (bind): take a FuncRequest as arg, adjust
1091         (read): adjust
1092         (lookup): adjust
1093         (defkey): change to take a FuncRequest as arg, adjust
1094         (findbinding): take a FuncRequest as arg, adjust.
1095
1096         * funcrequest.h (operator=): added
1097
1098         * funcrequest.C (FuncRequest): default kb_action changed from
1099         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1100
1101         * buffer.C (dispatch): simplify
1102         (dispatch): adjust to take a FuncRequest as arg, adjust
1103
1104         * boost.C (assertion_failed): change assertion message slightly
1105
1106         * ToolbarBackend.C (read): simplify
1107
1108         * MenuBackend.C (binding): adjust call to findbinding, add a
1109         message if no binding is found.
1110         (read): simplify
1111         (expandToc): correct by adding a empty FuncRequest
1112
1113         * LyXAction.C: include <boost/assert.hpp>
1114         (isPseudoAction): delete function
1115         (LookupFunc): change name to...
1116         (lookupFunc): this. change return type to FuncRequest.
1117         (getActionName): take kb_action as arg, simplify
1118         (funcHasFlag): add an assert, simplify.
1119
1120 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1121
1122         * toc.C (action): return a FuncRequest, simplify
1123
1124         * lyxfunc.C (processKeySym): adjust
1125         (getStatus): delete version that takes an int.
1126         (getStatus): adjust
1127         (dispatch): delete version that takes action as int
1128         (dispatch): adjust
1129         (sendDispatchMessage): simplify and adjust
1130
1131         * funcrequest.C (getArg): take unsigned int as arg
1132
1133         * ToolbarBackend.C (read): adjust
1134         (add): delete version that takes func as a string.
1135         (getIton): take a FuncRequest as arg
1136
1137         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1138         action.
1139
1140         * MenuBackend.C (MenuItem): add a new construct that only takes a
1141         Kind, simplify the constructor use for submenus.
1142         (add): adjust
1143         (expandLastfiles): adjust
1144         (expandDocuments): adjust
1145         (expandFormats): adjust
1146         (expandFloatListInsert): adjust
1147         (expandFloatInsert): adjust
1148         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1149
1150         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1151         Remove class variables lyx_pseudo_map and lyx_arg_map
1152
1153         * LyXAction.C (searchActionArg): delete function
1154         (getPseudoAction): delete function
1155         (retrieveActionArg): delete function
1156         (LookupFunc): make it return kb_action, simplify.
1157         (getActionName): simplify
1158
1159         * factory.C (createInset): fix new bug
1160
1161 2003-09-19  Angus Leeming  <leeming@lyx.org>
1162
1163         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1164         masterFilename_ parameter in the include inset.
1165
1166         * factory.C (createInset): changes due to the changes to InsetInclude.
1167
1168 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1169
1170         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1171
1172 2003-09-18  Angus Leeming  <leeming@lyx.org>
1173
1174         * buffer.C:
1175         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1176         Inset::fillWithBibKeys.
1177         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1178
1179 2003-09-18  Angus Leeming  <leeming@lyx.org>
1180
1181         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1182         variables.
1183         (ctor): pass and store a 'Buffer const &'
1184         (buffer): new member function.
1185
1186         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1187         '*this' to the LaTeXFeatures ctor.
1188
1189 2003-09-18  Angus Leeming  <leeming@lyx.org>
1190
1191         * LColor.h:
1192         * lyxfont.C:
1193         * lyxfont.h:
1194         * lyxtext.h:
1195         * text.C: rename EnumLColor as LColor_color.
1196
1197 2003-09-18  Angus Leeming  <leeming@lyx.org>
1198
1199         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1200         remove #include "insets/insetbase.h" from cursor.h.
1201
1202 2003-09-18  Angus Leeming  <leeming@lyx.org>
1203
1204         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1205         InsetOld_code to remove #include "inset.h".
1206
1207         * iterators.C: add #include "insets/inset.h"
1208
1209 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1210
1211         * BufferView.C: remove more locking stuff that apparently doesn't
1212         do anything sensible.
1213
1214 2003-09-16  André Pönitz  <poenitz@gmx.net>
1215
1216         * paragraph.[Ch]:
1217         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1218           performance boost.
1219
1220 2003-09-16  Angus Leeming  <leeming@lyx.org>
1221
1222         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1223
1224         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1225         arg/return type.
1226
1227         * paragraph.h: remove #include "lyxfont.h". Forward declare
1228         LyXFont_size.
1229
1230 2003-09-16  Angus Leeming  <leeming@lyx.org>
1231
1232         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1233         of support/textutils.h.
1234         (isWord): move the contents of support/textutils.h's IsWordChar here.
1235
1236         * buffer.C:
1237         * lyxfind.C:
1238         * rowpainter.C:
1239         * text.C:
1240         * text2.C: add #include "paragraph.h".
1241
1242         * rowpainter.C:
1243         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1244
1245 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1246
1247         * main.C:
1248         * lyx_main.C:
1249         * lyx_cb.C:
1250         * buffer.C:
1251         * LaTeX.C: use namespace alias for lyx::support::os
1252
1253 2003-09-16  Angus Leeming  <leeming@lyx.org>
1254
1255         * bufferparams.C:
1256         * bufferview_funcs.C:
1257         * factory.C:
1258         * lyxfunc.C:
1259         * paragraph_pimpl.C:
1260         * rowpainter.C:
1261         * text.C: add #include "LColor.h".
1262
1263 2003-09-16  Angus Leeming  <leeming@lyx.org>
1264
1265         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1266         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1267         return LyXFont &.
1268         Store the FontBits::color variable as an int rather than as an
1269         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1270         file.
1271
1272         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1273         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1274         string calls together.
1275
1276         * lyxrc.C: add #include "LColor.h".
1277
1278 2003-09-15  Angus Leeming  <leeming@lyx.org>
1279
1280         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1281         a cow_ptr.
1282
1283 2003-09-15  Angus Leeming  <leeming@lyx.org>
1284
1285         * LColor.h: add an EnumLColor wrapper for LColor::color.
1286
1287         * lyxfont.[Ch] (color, setColor, realColor):
1288         * lyxtext.h, text.C (backgroundColor):
1289         pass EnumLColor args to/from the functions, rather than LColor::color
1290         ones.
1291
1292         * lyxfont.h:
1293         * lyxtext.h: forward declare EnumLColor.
1294
1295         * lyx_main.C: add #include "LColor.h".
1296
1297 2003-09-15  Angus Leeming  <leeming@lyx.org>
1298
1299         * .cvsignore: add lyx-gtk.
1300
1301 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1302
1303         * Chktex.C
1304         * LaTeX.C
1305         * LaTeXFeatures.C
1306         * ParagraphParameters.C
1307         * Spacing.C
1308         * buffer.C
1309         * bufferparams.C
1310         * bufferview_funcs.C
1311         * chset.C
1312         * counters.C
1313         * funcrequest.C
1314         * lyxfont.C
1315         * lyxgluelength.C
1316         * lyxlength.C
1317         * paragraph.C
1318         * paragraph_funcs.C
1319         * text3.C
1320         * vc-backend.C: remove usage of STRCONV
1321
1322 2003-09-15  Angus Leeming  <leeming@lyx.org>
1323
1324         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1325         explicitly define the color passed to the painter.
1326
1327 2003-09-15  Angus Leeming  <leeming@lyx.org>
1328
1329         * bufferparams.C (BufferParams): reorder member initializers to avoid
1330         compiler warning.
1331
1332 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1333
1334         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1335         * text.C (updateRowPositions): remove an unusual nop
1336
1337 2003-09-12  André Pönitz  <poenitz@gmx.net>
1338
1339         * BufferView_pimpl.C:
1340         * Bullet.C:
1341         * layout.h:
1342         * lyxfunc.C:
1343         * lyxlayout.[Ch]:
1344         * lyxtextclass.C:
1345         * rowpainter.C:
1346         * text.C:
1347         * text2.C:
1348         * Counters.[Ch]: finish the 'automatic counters' job
1349
1350 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1351
1352         * aspell.C: include <boost/assert.cpp> (compile fix)
1353
1354 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1355
1356         * boost.C (assertion_failed): use lyx::support::abort instead of
1357         assert.
1358
1359 2003-09-10  Angus Leeming  <leeming@lyx.org>
1360
1361         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1362         with their _fwd progeny.
1363
1364 2003-09-09  Angus Leeming  <leeming@lyx.org>
1365
1366         134 files throughtout the source tree: replace 'using namespace abc;'
1367         directives with the appropriate 'using abc::xyz;' declarations.
1368
1369 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1370
1371         * boost.C (emergencyCleanup): moved here from LAssert.c
1372         (assertion_failed): new function, called by BOOST_ASSERT
1373
1374         * several files: change Assert to BOOST_ASSERT
1375
1376 2003-09-09  Angus Leeming  <leeming@lyx.org>
1377
1378         * buffer.[Ch]: Add an Impl class and move Buffer's member
1379         variables into it. As a result move several header files out of
1380         buffer.h.
1381
1382         Add header files to lots of .C files all over the tree as a result.
1383
1384 2003-09-09  Angus Leeming  <leeming@lyx.org>
1385
1386         * buffer.[Ch]: make Buffer's member variables private. Add
1387         accessor functions.
1388
1389         Lots of changes all over the tree as a result.
1390
1391 2003-09-08  Angus Leeming  <leeming@lyx.org>
1392
1393         * graph.C: #include <config.h>.
1394
1395 2003-09-08  Angus Leeming  <leeming@lyx.org>
1396
1397         * BranchList.C:
1398         * BufferView.C:
1399         * BufferView_pimpl.C:
1400         * CutAndPaste.C:
1401         * DepTable.C:
1402         * LaTeX.C:
1403         * LaTeXFeatures.C:
1404         * LyXAction.C:
1405         * MenuBackend.C:
1406         * TextCache.C:
1407         * aspell.C:
1408         * buffer.C:
1409         * bufferlist.C:
1410         * changes.C:
1411         * chset.C:
1412         * converter.C:
1413         * counters.C:
1414         * debug.C:
1415         * graph.C:
1416         * ispell.C:
1417         * lyx_cb.C:
1418         * lyxfind.C:
1419         * lyxfunc.C:
1420         * lyxlex_pimpl.C:
1421         * lyxrc.C:
1422         * lyxrow.C:
1423         * paragraph.C:
1424         * rowpainter.C:
1425         * texrow.C:
1426         * text.C:
1427         * text2.C:
1428         * toc.C: remove redundant using directives.
1429
1430 2003-09-07  Angus Leeming  <leeming@lyx.org>
1431
1432         * LaTeXFeatures.h: remove #include "support/types.h".
1433         * ToolbarBackend.h: remove #include <algorithm>.
1434         * changes.h: remove #include <ctime>.
1435         * debug.h: remove #include <iosfwd>.
1436         * graph.h: remove #include "support/std_string.h".
1437         * lyx_main.h: remove #include <csignal>.
1438         * lyxlex_pimpl.h: remove #include <fstream>.
1439         * sgml.h: remove #include <algorithm>, <utility>.
1440         * toc.h: remove #include "support/std_ostream.h".
1441         Add #include <iosfwd>.
1442
1443 2003-09-07  Angus Leeming  <leeming@lyx.org>
1444
1445         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1446
1447         * converter.h: forward declare LatexRunParams.
1448         * encoding.h: remove #include "lyxrc.h".
1449         * lyxtext.h: remove #include "LColor.h".
1450         * lyxtextclass.h: remove #include "support/types.h".
1451         * trans.h: remove #include "tex-accent.h".
1452         * trans_mgr.h: remove #include "tex-accent.h".
1453         * insets/inset.h: remove #include "support/types.h", <vector>.
1454         * insets/insetcollapsable.h: remove #include "LColor.h".
1455         * insets/insetinclude.h: remove #include "dimension.h".
1456         * insets/insetlatexaccent.h: remove #include "dimension.h".
1457         * insets/insetoptarg.h:: remove #include "insettext.h".
1458         * insets/insettext.h: remove #include "dimension.h",
1459         <boost/shared_ptr.hpp>
1460
1461         * insets/renderers.h: add #include "dimension.h".
1462         * insets/updatableinset.h: add #include "support/types.h".
1463
1464         * many .C files: Associated changes.
1465
1466 2003-09-06  Angus Leeming  <leeming@lyx.org>
1467
1468         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1469         one, inside testInvariant.
1470
1471         * PrinterParams.C: new file.
1472         * PrinterParams.[Ch]: move the function bodies out of line.
1473
1474 2003-09-06  Angus Leeming  <leeming@lyx.org>
1475
1476         * ParagraphParameters.h: forward declare ParameterStruct rather than
1477         including its header file.
1478         (depth): moved out-of-line.
1479
1480 2003-09-06  Angus Leeming  <leeming@lyx.org>
1481
1482         * BufferView_pimpl.h:
1483         * kbmap.h:
1484         * kbsequence.h:
1485         * lyxfunc.h: forward declare LyXKeySym rather than
1486         #include "frontends/LyXKeySym.h".
1487
1488         * BufferView_pimpl.C:
1489         * kbmap.C:
1490         * kbsequence.C:
1491         * lyxfunc.C: associated changes.
1492
1493 2003-09-06  Angus Leeming  <leeming@lyx.org>
1494
1495         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1496         As a result, can remove the #include "insets/inset.h" from BufferView.h
1497
1498 2003-09-06  Angus Leeming  <leeming@lyx.org>
1499
1500         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1501         As a result, can remove the #include "insets/inset.h" from BufferView.h
1502
1503 2003-09-06  Angus Leeming  <leeming@lyx.org>
1504
1505         * buffer_funcs.C:
1506         * buffer.h:
1507         * bufferlist.C:
1508         * BufferView.C:
1509         * bufferview_funcs.C:
1510         * BufferView_pimpl.C:
1511         * CutAndPaste.C:
1512         * lyx_cb.C:
1513         * lyxfunc.C:
1514         * paragraph.h:
1515         * ParagraphParameters.C:
1516         * tabular.C:
1517         * text3.C:
1518         * toc.C:
1519         * undo_funcs.C:
1520         * frontends/controllers/ControlDocument.C:
1521         * insets/insetcaption.C: rearrange the #includes into some sort of
1522         coherent order.
1523
1524         * buffer.h: remove #includes ErrorList.h, undo.h
1525
1526 2003-09-06  Angus Leeming  <leeming@lyx.org>
1527
1528         * support/types.h: add a 'depth_type' typedef, used to store the
1529         nesting depth of a paragraph.
1530
1531         * paragraph.h:
1532         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1533         defining explicitly.
1534
1535         * buffer.h:
1536         * paragraph_funcs.h:
1537         * ParagraphParameters.h:
1538         * sgml.h: use lyx::depth_type rather than Paragraph or
1539         ParameterStruct's depth_type.
1540
1541         * buffer.h
1542         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1543
1544         * BufferView.C:
1545         * BufferView_pimpl.C:
1546         * CutAndPaste.C:
1547         * ParagraphParameters.C:
1548         * buffer_funcs.C:
1549         * bufferlist.C:
1550         * bufferview_funcs.C:
1551         * lyx_cb.C:
1552         * lyxfunc.C:
1553         * tabular.C:
1554         * text3.C:
1555         * toc.C:
1556         * undo_funcs.C:
1557         * frontends/LyXView.C:
1558         * frontends/controllers/ControlDocument.C:
1559         * frontends/controllers/ControlErrorList.C:
1560         * insets/insetbibitem.C:
1561         * insets/insetbranch.C:
1562         * insets/insetcaption.C:
1563         * insets/insetcollapsable.C:
1564         * insets/insetenv.C:
1565         * insets/insetert.C:
1566         * insets/insetfloat.C:
1567         * insets/insetfoot.C:
1568         * insets/insetfootlike.C:
1569         * insets/insetnewline.C:
1570         * insets/insetquotes.C:
1571         * insets/insettabular.C:
1572         * insets/insettext.C:
1573         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1574
1575         * frontends/controllers/ControlChanges.C: #include "changes.h".
1576
1577 2003-09-06  Angus Leeming  <leeming@lyx.org>
1578
1579         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1580         than #including paragraph.h.
1581
1582         * ParagraphList.h:
1583         * RowList.h: deleted. Superfluous.
1584
1585         * CutAndPaste.h:
1586         * iterators.h:
1587         * lyxcursor.h:
1588         * lyxtext.h:
1589         * text_funcs.h:
1590         * undo.h:
1591         * undo_funcs.h:
1592         * insets/inset.h:
1593         * insets/insettext.h: use ParagraphList_fwd.h rather than
1594         ParagraphList.h.
1595
1596         * paragraph.h: don't forward declare ParagraphList.
1597
1598         * buffer.h:
1599         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1600         rather than ParagraphList.h. paragraph.h is still needed for the
1601         Paragraph::depth_type parameters.
1602
1603         * textcursor.h: enable it to compile stand-alone in light of the
1604         above changes.
1605
1606         * bufferview_funcs.C:
1607         * iterators.C:
1608         * lyxfunc.C:
1609         * lyxrow_funcs.C:
1610         * paragraph.C:
1611         * rowpainter.C:
1612         * text.C:
1613         * text2.C:
1614         * text3.C:
1615         * text_funcs.C:
1616         * textcursor.C:
1617         * undo.C:
1618         * frontends/controllers/ControlParagraph.C:
1619         * frontends/controllers/ControlTabular.C:
1620         * insets/insetmarginal.C:
1621         * insets/insetminipage.C:
1622         * insets/insetnote.C:
1623         * insets/insetoptarg.C: add header files needed to compile again.
1624
1625 2003-09-06  Angus Leeming  <leeming@lyx.org>
1626
1627         * RowList_fwd.h: new file, forward-declaring Row rather than
1628         #including lyxrow.h.
1629
1630         * lyxrow_funcs.h:
1631         * lyxtext.h:
1632         * paragraph.h:
1633         * insets/insettext.h: use it instead of RowList.h
1634
1635         * bufferview_funcs.C:
1636         * lyxfunc.C:
1637         * lyxrow_funcs.C:
1638         * paragraph.C:
1639         * rowpainter.C:
1640         * text.C:
1641         * text2.C:
1642         * text3.C: #include "RowList.h".
1643
1644 2003-09-05  Angus Leeming  <leeming@lyx.org>
1645
1646         * factory.C (createInset):
1647         * vspace.C (c-tor): replace sscanf call with an istringstream.
1648         * ispell.C: re-add missing HP/UX headers.
1649         * lyxserver.C: re-add missing  os2 headers.
1650
1651 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1652
1653         * BranchList.C:
1654         * graph.C:
1655         * ispell.C:
1656         * lastfiles.C:
1657         * lyx_cb.C:
1658         * lyxserver.C:
1659         * texrow.C:
1660         * text3.C: re-add missing system headers, needed for 2.95.2.
1661
1662 2003-09-05  Angus Leeming  <leeming@lyx.org>
1663
1664         Changes most place everywhere due to the removal of using directives
1665         from support/std_sstream.h.
1666
1667 2003-09-05  Angus Leeming  <leeming@lyx.org>
1668
1669         Replace LString.h with support/std_string.h,
1670         Lsstream.h with support/std_sstream.h,
1671         support/LIstream.h with support/std_istream.h,
1672         support/LOstream.h with support/std_ostream.h.
1673
1674         Changes resulting throughout the tree.
1675
1676 2003-09-05  Angus Leeming  <leeming@lyx.org>
1677
1678         * sgml.h: ensure that the header file can be compiled stand-alone.
1679         * *.C: strip out redundant #includes. (320 in total.)
1680
1681 2003-09-04  Angus Leeming  <leeming@lyx.org>
1682
1683         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1684         here (from getPackages).
1685
1686         * debug.[Ch]: add a new EXTERNAL tag.
1687
1688 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1689
1690         * text2.C (cursorEnd): simplify
1691         (setCursor): adjust
1692         (getColumnNearX): adjust
1693
1694         * text.C (computeBidiTables): adjust
1695         (fill): adjust
1696
1697         * rowpainter.C (paintChars): adjust
1698         (paintSelection): adjust
1699         (paintChangeBar): adjust
1700         (paintText): adjust
1701
1702         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1703         lastPos instead.
1704         (numberOfSeparators): adjust
1705
1706 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1707
1708         * LyXAction.C:
1709         * box.[Ch]:
1710         * lfuns.h:
1711         * lyxfunc.C:
1712         * text3.C: Restricts the mouse click functionality
1713         of insets like bibtex, include, toc and floatlist to the visible
1714         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1715         up the dialogs. Cursor has to be in front of the inset (i.e.
1716         start of row) for this to function.
1717
1718 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1719
1720         * bufferview_funcs.C (currentState): output row information
1721
1722 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1723
1724         * bufferview_funcs.C (currentState): output paragraph position
1725
1726 2003-09-04  Angus Leeming  <leeming@lyx.org>
1727
1728         * FloatList.h: move out #include "Floating.h".
1729         * LaTeX.h: move out #include "DepTable.h".
1730         * LyXAction.h: move out #include "funcrequest.h".
1731         * buffer.h: move out #include "author.h", "iterators.h".
1732         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1733         * lyx_main.h: move out #include "errorlist.h".
1734         * lyxfunc.h: move out #include "FuncStatus.h".
1735         * lyxtext: move out #include "lyxcursor.h".
1736         * paragraph_pimpl.h: move out #include "counters.h".
1737
1738 2003-09-03  Angus Leeming  <leeming@lyx.org>
1739
1740         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1741         preamble_snippets list, enabling us to add snippets to the preamble
1742         only if the snippet was not there already.
1743
1744 2003-09-04  Angus Leeming  <leeming@lyx.org>
1745
1746         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1747
1748 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1749
1750         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1751         update
1752
1753 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1754
1755         * BranchList.C: point fix, earlier forgotten
1756
1757 2003-09-02  Angus Leeming  <leeming@lyx.org>
1758
1759         * box.C (contains): renamed from 'contained' after a fantastic
1760         amount of hot air.
1761
1762 2003-09-02  John Levon  <levon@movementarian.org>
1763
1764         * BufferView.C:
1765         * lyxcursor.h:
1766         * lyxcursor.C:
1767         * lyxfunc.C:
1768         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1769
1770 2003-09-02  John Levon  <levon@movementarian.org>
1771
1772         * text2.C: simplification of cursorEnd(), including partial
1773         fix for bug 1376
1774
1775 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1776
1777         * buffer.C (readFile): add a space
1778
1779 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1780
1781         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1782
1783 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1784
1785         * buffer.C (readFile): new function, take a filename and a
1786         ParagraphList::iterator
1787         (readFile): adjust
1788         (readFile): adjust, make it private. don't use setStream, make
1789         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1790         always contain the filename.
1791
1792         * BufferView.C (insertLyXFile): simplify and make it work for
1793         gzipped files.
1794
1795 2003-08-30  John Levon  <levon@movementarian.org>
1796
1797         * Makefile.am: fix dist (from Kayvan)
1798
1799 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1800
1801         * most files: change to use const Buffer refs
1802
1803 2003-08-27  André Pönitz  <poenitz@gmx.net>
1804
1805         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1806         on top of ownerPar().
1807
1808 2003-08-27  John Levon  <levon@movementarian.org>
1809
1810         * funcrequest.C: properly initialise POD members
1811
1812 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1813
1814         * lyxtext.h (top_y): move top_y from here
1815         * text.C:
1816         * text2.C:
1817         * text3.C:
1818         * BufferView.[Ch]:
1819         * BufferView_pimpl.[Ch]: to here
1820         * frontends/screen.C:
1821         * insets/insettabular.C:
1822         * insets/insettext.C: adjust
1823         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1824
1825 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1826
1827         * BufferView.[Ch]:
1828         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1829
1830 2003-08-26  André Pönitz  <poenitz@gmx.net>
1831
1832         * paragraph_func.[Ch] (outerPar): new function
1833
1834         * paragraph.C:
1835         * paragraph_funcs.C:
1836         * paragraph_funcs.h:
1837         * paragraph_pimpl.C:
1838         * text2.C: remove Inset::par_owner
1839
1840 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1841
1842         * lyxrow_funcs.C:
1843         * lyxtext.h:
1844         * text.C:
1845         * text2.C: eliminates the needFullRow/display() stuff
1846         altogether, putting the logic in metrics/draw in the insets.
1847
1848 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1849
1850         * text2.C (redoParagraphInternal, redoParagraphs):
1851         * text.C (redoParagraph): add a call to updateRowPositions at the
1852         end of each 'metrics-like' call. Remove all others.
1853         (getRow): remove the 'y-computing' version.
1854         (getRowNearY): do not compute nor return the real y. Solve the
1855         'y < 0' problem and simplify.
1856
1857 2003-08-22  Angus Leeming  <leeming@lyx.org>
1858
1859         * *.[Ch]: clean-up of licence and author blurbs.
1860         Also move config.h out of a few .h files and into a few .C files.
1861
1862 2003-08-22  André Pönitz  <poenitz@gmx.net>
1863
1864         * lyxrow.[Ch]: add x_ and *fill_ members
1865
1866         * lyxtext.h:
1867         * text.C:
1868         * rowpainter.C:
1869         * text2.C: adjust/remove prepareToPrint() calls
1870
1871 2003-08-22  André Pönitz  <poenitz@gmx.net>
1872
1873         * lyxrow.[Ch]: add  end_ member
1874
1875         * lyxrow_funcs.C: use LyXRow::end_
1876
1877         * lyxtext.h (singleWidth): add LyXFont parameter
1878
1879         * rowpainter.C:
1880         * text2.C: adjust LyXText::singleWidth() calls
1881
1882         * text.C (redoParagraph): simplify row breaking logic
1883
1884
1885 2003-08-19  André Pönitz  <poenitz@gmx.net>
1886
1887         * funcrequest.C: initialize button_ member
1888
1889         * text3.C:
1890         * rowpainter.[Ch]: interface consolidation
1891
1892 2003-08-18  André Pönitz  <poenitz@gmx.net>
1893
1894         * BufferView.C:
1895         * BufferView_pimpl.C:
1896         * lyxfind.C:
1897         * paragraph_funcs.C:
1898         * rowpainter.C:
1899         * text3.C: remove LyXScreen::draw() and fitCursor calls
1900
1901         * BranchList.h: remove spurious semicolons
1902
1903         * MenuBackend.C: fix branchlist related crash
1904
1905 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1906
1907         * BranchList.[Ch]:
1908         * InsetList.[Ch]:
1909         * LColor.[Ch]:
1910         * LyXAction.C:
1911         * Makefile.am:
1912         * MenuBackend.[Ch]:
1913         * bufferparams.[Ch]:
1914         * factory.C:
1915         * lfuns.h:
1916         * lyxfunc.C:
1917         * text3.C: implements the 'branch inset'
1918         idea. This allows the output of various versions of a document
1919         from a single source version, selectively outputing or suppressing
1920         output of parts of the text.
1921         This implementation contains a 'branch list editor' in a separate
1922         tab of the document settings dialog. Branches are user definable
1923         and have a "display colour" to distinguish them on-screen.
1924
1925         ColorHandler was somewhat cleaned up.
1926         (1) make possible a dynamically growing LColor list by allowing
1927         the graphic context cache to grow along (vector);
1928         (2) eliminate an IMHO unnecessary step in colour allocation.
1929
1930 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1931
1932         * BufferView_pimpl.C: compile fix
1933
1934 2003-08-15  André Pönitz  <poenitz@gmx.net>
1935
1936         * rowpainter.C: remove extra metrics calls
1937
1938         * lyxtext.h: merge the two constructors into a single one,
1939           pass reference to owner's par list
1940
1941         * BufferView_pimpl.C:
1942         * text.C:
1943         * text2.C: adjust
1944
1945 2003-08-15  André Pönitz  <poenitz@gmx.net>
1946
1947         * lyxrow_funcs.[Ch]:
1948         * lyxtext.h:
1949         * paragraph.h:
1950         * paragraph_funcs.C:
1951         * rowpainter.C:
1952         * text.C:
1953         * text2.C:
1954         * text3.C:
1955         * text_funcs.C: split LyXText::rowlist_ into individual
1956         Paragraph::rows_ chunks
1957
1958         * BufferView.[Ch]:
1959         * BufferView_pimpl.[Ch]:
1960         * lyxfind.C:
1961         * lyxtext.h:
1962         * text3.C: remove toggleSelection()
1963
1964 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1965
1966         * bufferlist.C: beautify two alerts (shorter text of buttons)
1967         * buffer.C: Remove redundant ' ' from message
1968         * tabular.h:
1969         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1970         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1971         rename VALIGN_CENTER to VALIGN_MIDDLE
1972
1973 2003-08-11  André Pönitz  <poenitz@gmx.net>
1974
1975         * lyxtext.h (getPar):
1976         * text.C: new function
1977
1978 2003-08-11  André Pönitz  <poenitz@gmx.net>
1979
1980         * Makefile.am:
1981         * tracer.[Ch]: remove unneeded files
1982
1983         * InsetList.[Ch]: remove resizeInsetsLyXText()
1984
1985         * lyxtext.h:
1986         * text.C:
1987         * text2.C:
1988         * text3.C: merge insertParagraphs() and appendParagraph()
1989         remove breakAgain(), update()
1990
1991         * BufferView_pimpl.[Ch]:
1992         * bufferview_funcs.[Ch]:
1993         * lyxfunc.C:
1994         * paragraph.[Ch]:
1995         * rowpainter.C:
1996         * tabular.C: adjust after text & InsetList changes.
1997
1998 2003-08-08  André Pönitz  <poenitz@gmx.net>
1999
2000         * text.C (insertChar, backspace): replace rowlist fiddling
2001         with rebreak of full par
2002
2003         * lyxtext.h:
2004         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2005         checkParagraph, updateInset): removed
2006
2007 2003-08-07  André Pönitz  <poenitz@gmx.net>
2008
2009         * paragraph.C:
2010         * text3.C: merge some LFUN handlers, remove dead code
2011
2012 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2013
2014         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2015
2016 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2017
2018         * text2.C (DEPM): fix part of bug 1255 and 1256
2019
2020 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2021
2022         * BufferView_pimpl.C (workAreaDispatch): change to use
2023         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2024         that are no mouse related.
2025
2026 2003-08-05  André Pönitz  <poenitz@gmx.net>
2027
2028         * BufferView.[Ch]:
2029         * BufferView_pimpl.[Ch]:
2030         * bufferview_funcs.C:
2031         * text2.C:
2032         * text3.C: rip out "deep update"
2033
2034         * textcursor.[Ch] (last_sel_cursor): remove unused member
2035
2036 2003-08-04  André Pönitz  <poenitz@gmx.net>
2037
2038         * BufferView.[Ch]:
2039         * BufferView_pimpl.[Ch]:
2040         * ParagraphParameters.C:
2041         * bufferview_funcs.C:
2042         * lyx_cb.C:
2043         * lyxfind.C:
2044         * lyxfunc.C:
2045         * text.C:
2046         * text2.C:
2047         * text3.C: replace "complicated" BufferView::update(...) calls with
2048         simpler ones.
2049
2050         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2051
2052 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2053
2054         * Makefile.am (lyx_SOURCES): add paper.h
2055
2056 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2057
2058         * Makefile.am: move things around so that both lyx-qt and
2059         lyx-xforms can be built (according to --with-frontend). Then lyx
2060         is a symbolic link to lyx-[firstfrontend]
2061
2062 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2063
2064         * Always use std::endl with lyxerr
2065
2066 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2067
2068         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2069
2070 2003-08-01  André Pönitz  <poenitz@gmx.net>
2071
2072         * BufferView.[Ch]:
2073         * BufferView_pimpl.[Ch]:
2074         * lyxfunc.C:
2075         * text3.C: merge BufferView::repaint() and BufferView::update()
2076
2077 2003-08-01  José Matos  <jamatos@lyx.org>
2078
2079         * buffer.[Ch]: file_format is no longer a buffer data element.
2080
2081 2003-08-01  André Pönitz  <poenitz@gmx.net>
2082
2083         * BufferView.C:
2084         * lyxtext.h:
2085         * text.C:
2086         * text2.C: make redoParagraph more independent of current cursor
2087
2088         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2089         * text.C:
2090         * text2.C: remove unneeded members
2091
2092 2003-07-30  André Pönitz  <poenitz@gmx.net>
2093
2094         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2095
2096         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2097           create a single function...
2098
2099         * paragraph_funcs.C (moveItem): ... here.
2100
2101         * text.C:
2102           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2103
2104 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2105
2106         * LColor.[Ch]: Add comment and greyedout logical colors.
2107
2108 2003-07-30  André Pönitz  <poenitz@gmx.net>
2109
2110         * tabular.C: don't use Assert too heavily. This crashes where it
2111           shouldn't
2112
2113 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2114
2115         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2116         is disabled (bug 1232)
2117
2118 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2119
2120         * factory.C: limited 'arg' scope
2121
2122 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2123
2124         * factory.C: fixed Note submenu issues
2125
2126 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2127
2128         * factory.C: submenu for Note/Comment/Greyedout
2129
2130 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2131
2132         * lyx_main.C (LyX):
2133         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2134
2135 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2136
2137         * LaTeXFeatures.C:
2138         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2139         greyedout. Patch provided by Jürgen Spitzmüller.
2140
2141 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2142
2143         * kbmap.C (read): fix error message when reading bind files
2144
2145 2003-07-29  Angus Leeming  <leeming@lyx.org>
2146
2147         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2148         certainly does not do what it purports to do. I am doing it, and
2149         us, a favour by killing it.
2150
2151 2003-07-28  José Matos  <jamatos@lyx.org>
2152
2153         * buffer.C (readBody, do_writeFile):
2154         * paragraph.C(readParagraph): \end_document replaces \the_end.
2155
2156 2003-07-29  André Pönitz  <poenitz@gmx.net>
2157
2158         * BufferView.[Ch]:
2159         * BufferView_pimpl.[Ch]:
2160         * lyxfunc.C:
2161         * text2.C:
2162         * text3.C:
2163         * textcursor.[Ch]: remove toggleToggle & Co
2164
2165 2003-07-28  José Matos  <jamatos@fep.up.pt>
2166
2167         * buffer.C (readParagraph):
2168         * params_func (readParToken, readParagraph):
2169         * paragraph.C (write): \layout -> \begin_layout.
2170
2171 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2172
2173         * lyxlex_pimpl.C (setFile): clean up slightly.
2174
2175         * bufferparams.h: add compressed var
2176
2177         * buffer_funcs.C (readFile): adjust for LyXLex change
2178         (newFile): ditto + simplify
2179
2180         * buffer.C (writeFile): handle writing of compressed files
2181
2182         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2183         Check if the file is compressed and set a bufferparm if so.
2184
2185         * Makefile.am (lyx_LDADD): remove explicit -lz
2186
2187 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2188
2189         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2190         makeDocBookFile): put the real LyX version in the first line of
2191         the file
2192
2193         * version.h:
2194         * version.C.in: remove lyx_docversion
2195
2196         * tabular.C (write_attribute): add a template-based version to
2197         write enums properly
2198
2199 2003-07-28  André Pönitz  <poenitz@gmx.net>
2200
2201         * lyxtext.h:
2202         * text.C:
2203         * text2.C:
2204         * text3.C: use doubles again for x-coordinates. They are needed.
2205
2206 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2207
2208         * messages.C (getLocaleDir): use lyx_localedir()
2209
2210         * lyxlex_pimpl.C (setFile): compress stuff
2211
2212         * buffer.C (writeFile): add some compression stuff
2213         (do_writeFile): new func, dont call expliti close... will this
2214         breake anything?
2215
2216         * Makefile.am (lyx_LDADD): add -lz
2217
2218 2003-07-28  José Matos  <jamatos@fep.up.pt>
2219
2220         * buffer.C: increment file format.
2221         * paragraph_funcs (readParagraph, readParToken):
2222         * paragraph.C (readParagraph): add \end_layout.
2223
2224 2003-07-27  Angus Leeming  <leeming@lyx.org>
2225
2226         * Makefile.am: remove special casing for configure-time setting of
2227         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2228
2229         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2230         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2231
2232 2003-07-26  André Pönitz  <poenitz@gmx.net>
2233
2234         * paragraph_func.[Ch]:
2235         * paragraph.C (realizeFont): inline it whereever it is used
2236
2237         * rowpainter.C:
2238         * text.C:
2239         * text2.C:
2240         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2241
2242
2243 2003-07-26  André Pönitz  <poenitz@gmx.net>
2244
2245         *       lyxtext.h:
2246         * text.C:
2247         * text2.C: get rid of LyXText::need_break_row
2248
2249 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2250
2251         * toc.[Ch]: put namespace toc inside namespace lyx
2252
2253         * MenuBackend.C (expandToc2): adjust for lyx::toc
2254         (expandToc): ditto
2255
2256         * lyxfunc.C (dispatch): adjust for lyx::find
2257
2258         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2259         lyx::find instead. Reorganize a bit.
2260         (LyXReplace): rename to replace
2261         (LyXFind): rename to find
2262
2263         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2264         (dispatch): ditto
2265
2266 2003-07-26  André Pönitz  <poenitz@gmx.net>
2267
2268         * text.C (setHeightOfRow): restrict scope of temporary variable
2269
2270         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2271           code (never has been used?)
2272
2273 2003-07-27  Asger Alstrup  <alstrup@local>
2274
2275         * text.C (fill): Optimise algorithm to exploit that we can reuse
2276         the LyXFont for many characters.
2277         (setHeightOfRow): Same thing.
2278         (rowBreakPoint): Same thing.
2279
2280 2003-07-26  Asger Alstrup  <alstrup@local>
2281
2282         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2283
2284         * text.C (singleWidth): Spurious font copying in hot-spot
2285         singleWidth avoided. Reorder tests for arabic for efficiency.
2286
2287         * text.C (fill): handle empty paragraphs better.
2288
2289 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2290
2291         * ispell.C:
2292         * encoding.h: add includes
2293
2294         * lyxrc.C: remove reading of bind files
2295
2296         * lyx_main.C (init): setup bindings and menus only if we have a
2297         gui.
2298
2299         * kbmap.C (read): new method. Do the actual reading of bind
2300         files.
2301
2302         * converter.C (dvipdfm_options):
2303         * bufferparams.C:
2304         * lyxrc.C (read):
2305         (output): adapt PAPER_* enums.
2306
2307         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2308
2309         * bufferparams.h: remove paper-related enums from there
2310
2311         * paper.h: New file. A trivial header file to hold paper-related
2312         enums. It should later expand to contain many paper-related
2313         horrors access.
2314
2315         * lyxrc.C: declare extern displayTranslator
2316
2317 2003-07-27  José Matos  <jamatos@fep.up.pt>
2318
2319         * tabular.[Ch] (linuxdoc): add support for tables and figures
2320         (linuxdoc).
2321
2322 2003-07-27  José Matos  <jamatos@fep.up.pt>
2323
2324         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2325         consistency in both functions.
2326         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2327
2328 2003-07-26  Asger Alstrup  <alstrup@local>
2329
2330         * rowpainter.C (paintRows): Change algorithm to work directly on
2331         the insets rather than asking every character in the document
2332         whether its an inset.
2333
2334 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2335
2336         * buffer.C (openFileWrite): factorize some code
2337
2338 2003-07-26  Angus Leeming  <leeming@lyx.org>
2339
2340         * lyx_cb.C:
2341         * lyx_main.[Ch]: replace occurances of system_tempdir with
2342         os::getTmpDir().
2343
2344 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2345
2346         * rename Inset to InsetOld
2347
2348 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2349
2350         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2351         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2352         which I think is a bit clearer. EDIT is gone, since it was
2353         premature optimisation, and broken for mathed anyway.
2354         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2355         with cursor positioning in insets as well (math insets still do not
2356         work, but that's a different story anyway.) It mysteriously
2357         crashes sometimes with undo in the first paragraph, but I'm fairly
2358         confident that this is a compiler bug.
2359
2360 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2361
2362         * paragraph.C (Paragraph): adjust for new clone return type
2363         (operator==): ditto
2364         (copyIntoMinibuffer): ditto
2365
2366 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2367
2368         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2369         by not having a special case, and always doing a full rebreak of
2370         the document after undo.
2371
2372 2003-07-23  Angus Leeming  <leeming@lyx.org>
2373
2374         * factory.C (createInset): InsetExternal::setParams now takes a
2375         Buffer const * arg.
2376
2377 2003-07-23  Angus Leeming  <leeming@lyx.org>
2378
2379         * factory.C (createInset): changed interface to the external and
2380         graphics mailers' string2params functions.
2381
2382 2003-07-23  Angus Leeming  <leeming@lyx.org>
2383
2384         * factory.C (createInset): pass a
2385         Buffer const * parameter to InsetExternalMailer's string2params.
2386
2387 2003-07-22  John Levon  <levon@movementarian.org>
2388
2389         * Thesaurus.h: include the right aiksaurus header
2390
2391 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2392
2393         * MenuBackend.C (expand): check menu shortcuts unconditionally
2394
2395 2003-07-21  Angus Leeming  <leeming@lyx.org>
2396
2397         * factory.C (createInset): pass a
2398         buffer_path parameter to InsetGraphicsMailer's string2params.
2399
2400 2003-07-21  Angus Leeming  <leeming@lyx.org>
2401
2402         * BufferView_pimpl.C (buffer):
2403         * buffer.C (d-tor):
2404         * lyx_main.C (LyX):
2405         * lyxfunc.C (dispatch):
2406         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2407         rather than the grfx shortcut.
2408
2409 2003-07-21  André Pönitz  <poenitz@gmx.net>
2410
2411         * rowpainter.C: remove unused variables
2412
2413         * tabular_funcs.C:
2414         * tabular_funcs.h: move to tabular.C
2415         * Makefile.am: adjust
2416
2417         * tabular.[Ch]: basic optical cleaning
2418
2419         * author.h: pass references, not values
2420
2421 2003-07-18  André Pönitz  <poenitz@gmx.net>
2422
2423         * lyxtext.h:
2424         * metricsinfo.C:
2425         * metricsinfo.h:
2426         * rowpainter.C:
2427         * text.C:
2428         * text2.C:
2429         * text3.C: two-phase drawing for InsetText and InsetTabular
2430         some float -> int changes.
2431
2432 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2433
2434         * lyx_main.C: fix the fix
2435
2436 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2437
2438         * lyx_main.C: fix a crash in batch mode if no files specified
2439         * converter.C: ws
2440
2441 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2442
2443         * format.[Ch] (papersize): moved to BufferParams
2444         * converter.[Ch] (dvips_options): moved to BufferParams
2445         (dvipdfm_options): moved to anon namespace
2446         * bufferparams.[Ch]: added above functions.
2447
2448 2003-07-17  André Pönitz  <poenitz@gmx.net>
2449
2450         * lyxtext.h:
2451         * rowpainter.C:
2452         * text2.C: don't call inset->update() anymore
2453
2454         * metricsinfo.[Ch]: add convenience constructor
2455
2456 2003-07-16  André Pönitz  <poenitz@gmx.net>
2457
2458         * lyxcursor.[Ch]:
2459         * lyxfunc.[Ch]:
2460         * text.C:
2461         * text2.C: replace the LyXCursor::irow_ member with
2462          on-demand computation of the value
2463
2464 2003-07-16  John Levon  <levon@movementarian.org>
2465
2466         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2467
2468 2003-07-15  André Pönitz  <poenitz@gmx.net>
2469
2470         * text.C:
2471         * text2.C: remove no more needed refresh_row
2472
2473 2003-07-15  André Pönitz  <poenitz@gmx.net>
2474
2475         * lyxtext.h:
2476         * rowpainter.C:
2477         * text2.C:
2478         * text3.C: refresh_status tristate -> need_update bool
2479
2480 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2481
2482         * lyxtext.h (init): remove reinit argument (act as if always true)
2483         * text2.C: adjust to that
2484
2485 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2486
2487         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2488         * text3.C: use it to delete selections in some cases
2489         (bugs 441, 673, 702, 954).
2490
2491 2003-07-14  André Pönitz  <poenitz@gmx.net>
2492
2493         * rowpainter.[Ch]: reduce interface
2494
2495 2003-07-14  André Pönitz  <poenitz@gmx.net>
2496
2497         * BufferView_pimpl.C:
2498         * text2.C: adjust after removing unused BufferView * argument
2499
2500 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2501
2502         * text2.C (init): fix a crash fired on resize
2503
2504 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2505
2506         * buffer.[Ch]: added new closing signal
2507         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2508         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2509         BufferView::Pimpl via the closing the signal
2510
2511 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2512
2513         * buffer.[Ch]: take out all bv-related from buffer
2514         * BufferView.C:
2515         * BufferView_pimpl.[Ch]: connect to new signals
2516         * CutAndPaste.C: removed useless asserts
2517         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2518         * lyxvc.[Ch]:
2519         * vc-backend.[Ch]:
2520         * lyxfunc.C: moved view-related funciontality from vc here
2521         * paragraph.C: removed outdated comments
2522         * text.C: ws
2523
2524 2003-07-10  André Pönitz  <poenitz@gmx.net>
2525
2526         * BufferView_pimpl.C:
2527         * tabular.h:
2528         * tabular_funcs.C:
2529         * text.C:
2530         * text2.C: remove InsetText::InnerCache, clean up consequences
2531
2532 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2533
2534         * ispell.C: fix two typos in error messages
2535
2536 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2537
2538         * Extend Note inset to other forms of annotation like Comment
2539         and Greyedout. Right button click gives dialog.
2540
2541         Files modified or added (+):
2542
2543         * insetnote.[Ch]
2544         * FormNote.[Ch]      +
2545         * ControlNote.[Ch]   +
2546         * form_note.fd       +
2547         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2548         frontends/controllers
2549         * xforms/Dialogs.C
2550         * factory.C
2551
2552 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2553
2554         * aspell.C: add missing namespace lyx::support
2555
2556 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2557
2558         * BufferView.[Ch] (newFile): Add
2559         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2560         * LaTeX.[Ch] (message): added this signal and use it
2561         * buffer.[Ch] (busy, message): added these signals and use them
2562         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2563         * converter.C:
2564         * exporter.C:
2565         * format.C:
2566         * importer.C: use buffer signals instead of direct bv calling
2567         * lyx_cb.[Ch] (ShowMessage): removed
2568         * lyx_main.C:
2569         * lyxfunc.C:
2570         * paragraph_funcs.C:
2571         * text2.C: use buffer signals
2572
2573 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2574
2575         * introduce namespace lyx::graphics
2576
2577 2003-07-02  André Pönitz  <poenitz@gmx.net>
2578
2579         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2580
2581 2003-07-01  André Pönitz  <poenitz@gmx.net>
2582
2583         * text.C:
2584         * text2.C:
2585         * text3.C:
2586         * text_funcs.[Ch]:
2587         * textcursor.h:
2588         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2589           text*.C to text_func.C
2590
2591 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2592
2593         * introduce namespace lyx::support
2594
2595 2003-06-30  André Pönitz  <poenitz@gmx.net>
2596
2597         * Chktex.C:
2598         * funcrequest.C:
2599         * lyxtext.h:
2600         * text.C: re-enable --with-included-string
2601
2602 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2603
2604         * textcursor.C: add <config.h>
2605
2606         * text.C (getWord): remove const from word_location arg
2607
2608         * lyxvc.C (getLogFile): fix const type order
2609
2610         * lyxtext.h: remove const from word_location arg, add arg name
2611
2612         * lyxlayout.h: currect type on labeltype.
2613
2614         * importer.C: correct \file
2615
2616         * converter.C (intToFormat): use std:: on ret val, ws changes
2617
2618         * bufferlist.h: correct \file
2619
2620         * buffer.C (makeLinuxDocFile): fix const type order
2621         (makeDocBookFile): ditto
2622         (fillWithBibKeys): use std:: on stdlib args.
2623
2624         * CutAndPaste.C: fix authors.
2625         (availableSelections): use std:: on return vector
2626
2627 2003-06-27  André Pönitz  <poenitz@gmx.net>
2628
2629         * BufferView_pimpl.C:
2630         * bufferview_funcs.C:
2631         * lyxcursor.C:
2632         * lyxcursor.h:
2633         * lyxfunc.C:
2634         * lyxtext.h:
2635         * rowpainter.C:
2636         * text.C:
2637         * text2.C:
2638         * text3.C: remove LyXCursor::row_ member
2639
2640         * lyxtext.h:
2641         * text.C: rename fullRebreak() to partialRebreak() and implement
2642           a fullRebreak() that really bereks fully
2643
2644         * textcursor.h: new struct for cursor-related data
2645
2646 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2647
2648         * lyx_main.C (LyX): get full path of document loaded on the
2649         command line
2650
2651 2003-06-26  André Pönitz  <poenitz@gmx.net>
2652
2653         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2654           remove unused/broken operator>,<,>=.
2655
2656         *       text.C: remove only use of broken operator<= in an Assert().
2657
2658 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2659
2660         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2661         moved errorlist_.clear to showErrorList
2662
2663 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2664
2665         * converter.C (scanLog, runLaTeX):
2666         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2667         move the bv->showErrorList call to the callers
2668         * lyxfunc.C: i.e. here...
2669         * text2.C: and here
2670         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2671         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2672         namespace, the second to...
2673         * buffer_funcs (BufferFormat, parseErrors): added
2674         * errorlist.C (ErrorList(TeXErrors const &)): removed
2675
2676 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2677
2678         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2679
2680 2003-06-24  "Garst R. Reese" <reese@isn.net>
2681
2682         * debug.C: fix typo
2683
2684 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2685
2686         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2687
2688         * version.C.in: change docversion to 1.4
2689
2690 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2691
2692         * buffer.C: fix a bug just introduced
2693
2694 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2695
2696         * buffer.[Ch]: added the parseError signal and use it, removed
2697         sgmlError
2698         * BufferView.[Ch] (addError): moved to ...
2699         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2700         to the Buffer::parseError signal to catch (guess what) parse errors
2701         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2702
2703 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2704
2705         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2706         ability to create a buffer and to return an existing one from
2707         the list. Moved these functions to...
2708         * buffer_funcs.[Ch]: added
2709         * BufferView.[Ch] (loadLyXFile): added
2710         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2711         job removed from bufferlist::loadLyXFile.
2712         * buffer.C (setReadOnly): make it work without view
2713         (i.e added an if (users))
2714
2715 2003-06-19  Angus Leeming  <leeming@lyx.org>
2716
2717         * lfuns.h:
2718         * LyXAction.C (init):
2719         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2720         with LFUN_DIALOG_SHOW <name> <data>.
2721
2722 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2723
2724         * CutAndPaste.C (availableSelections): small compilation fix for
2725         ancient (gcc 2.9x) compilers
2726
2727 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2728
2729         * text3.C (cursorNext): add tmp var
2730
2731         * text2.C (updateCounters): for function calling out of for clause
2732         (replaceSelectionWithString): ditto
2733         (insertStringAsParagraphs): ditto
2734         (getColumnNearX): add tmp var
2735         (setCursorFromCoordinates): add tmp var
2736         (cursorDownParagraph): add tmp var
2737         (deleteEmptyParagraphMechanism): add tmp var
2738
2739         * text.C (insertChar): add tmp var
2740
2741         * rowpainter.C (paintDepthBar): add tmp var
2742
2743         * CutAndPaste.C (availableSelections): potentially check all
2744         paragraphs in a cut to fill the shown strings.
2745
2746 2003-06-18  André Pönitz  <poenitz@gmx.net>
2747
2748         * kbmap.[Ch]: use vector<> instead of list<>
2749
2750 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2751
2752         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2753         pasteSelection with index
2754
2755         * text2.C (pasteSelection): modify, call pasteSelection with index
2756
2757         * paragraph.C (asString): reimplement version with no interval to
2758         call the one with interval.
2759
2760         * lyxtext.h: add index arg to pasteSelection
2761
2762         * MenuBackend.C (MenuItem): handle PasteRecent
2763         (Menu::read::Menutags): add md_pasterecent
2764         (read): handle it
2765         (expandPasteRecent): new function
2766         (expand): use it
2767
2768         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2769
2770         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2771         the limited stack
2772         (availableSelections): new function
2773
2774 2003-06-17  Angus Leeming  <leeming@lyx.org>
2775
2776         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2777
2778 2003-06-17  Angus Leeming  <leeming@lyx.org>
2779
2780         * lfuns.h:
2781         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2782
2783         * lyxfunc.C (dispatch): invoke it.
2784
2785 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2786
2787         * iterators.C (operator++, ParPosition): reintroduce some
2788         const_cast for the benefit of older compilers.
2789
2790 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2791
2792         * text3.C (dispatch): do not modify clipboard when doing
2793         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2794         LFUN_DELETE_SKIP on a selection selection
2795
2796 2003-06-16  André Pönitz  <poenitz@gmx.net>
2797
2798         * BufferView.C:
2799         * buffer.C:
2800         * buffer.h:
2801         * paragraph.C:
2802         * tabular.[Ch]: IU of clone() and getLabelList();
2803
2804 2003-06-13  André Pönitz  <poenitz@gmx.net>
2805
2806         * tabular.h: compactification
2807
2808 2003-06-12  André Pönitz  <poenitz@gmx.net>
2809
2810         * tabular.C:
2811         * tabular.h:
2812         * tabular_funcs.h: some renaming plus whitespace
2813
2814 2003-06-12  André Pönitz  <poenitz@gmx.net>
2815
2816         * BufferView.C:
2817         * BufferView_pimpl.C:
2818         * CutAndPaste.C:
2819         * buffer.C:
2820         * iterators.[Ch]:
2821         * lyxfunc.C:
2822         * text.C:
2823         * toc.C: Return a Paragraph & for ParIterator::operator*()
2824
2825 2003-06-11  John Levon  <levon@movementarian.org>
2826
2827         * lyx_main.C:
2828         * ToolbarBackend.h:
2829         * ToolbarBackend.C: add "Toolbars" section and
2830         put the flags there
2831
2832 2003-06-10  Angus Leeming  <leeming@lyx.org>
2833
2834         * lfuns.h:
2835         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2836
2837         * lyxfunc.C (dispatch): invoke it.
2838
2839 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2840
2841         * main.C: protect <ios> with HAVE_IOS
2842         (main): protect sync_with_stdio with HAVE_IOS
2843
2844 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2845
2846         * text2.C (cutSelection): adjust
2847         (pasteSelection): adjust
2848
2849         * messages.C: handle get of empty string
2850
2851         * main.C (main): use sync_with_stdio(false)
2852
2853         * lyxfunc.C (dispatch): adjust
2854
2855         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2856         (WriteAs): remove unneeded BufferView arg.
2857
2858         * bufferparams.h: use correct types on papersize, papersize2 and
2859         paperpackage.
2860
2861         * bufferparams.C (readToken): adjust for type
2862         (writeLaTeX): add missing cases to switch.
2863
2864         * bufferlist.C (quitWriteBuffer): adjust
2865         (close): adjust
2866
2867         * buffer.C (asciiParagraph): remove some commented code.
2868
2869         * CutAndPaste.C: remove current_view extern variable.
2870         (cutSelection): add BufferParams arg.
2871         (eraseSelection): add BufferParams arg.
2872         (pasteSelection): add Buffer const & arg
2873
2874 2003-06-07  John Levon  <levon@movementarian.org>
2875
2876         * buffer.C:
2877         * paragraph_funcs.C:
2878         * paragraph_pimpl.C:
2879         * text.C:
2880         * text2.C:
2881         * paragraph.h:
2882         * paragraph.C: allow InsetERT to freely space lines,
2883         and some consolidation of code
2884
2885 2003-06-06  José Matos  <jamatos@fep.up.pt>
2886
2887         * buffer.C (makeDocBookFile): fix bug #821
2888
2889 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2890
2891         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2892
2893 2003-06-04  Angus Leeming  <leeming@lyx.org>
2894
2895         * buffer.C: bump format to 224.
2896
2897 2003-06-05  André Pönitz  <poenitz@gmx.net>
2898
2899         * text2.C (redoParagraphs): remove two const_cast<>
2900
2901 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2902
2903         * ParagraphList.h: remove last remnants of NO_STD_LIST
2904
2905 2003-06-03  Angus Leeming  <leeming@lyx.org>
2906
2907         * factory.C (createInset): small change to the way InsetExternal's params
2908         are set.
2909
2910 2003-06-04  André Pönitz  <poenitz@gmx.net>
2911
2912         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2913
2914         * paragraph_pimpl.h:
2915         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2916
2917         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2918
2919         * undo_funcs.C: make some simple cases of undo work again
2920
2921 2003-06-03  John Levon  <levon@movementarian.org>
2922
2923         * ispell.C: HPUX doesn't have sys/select.h
2924         (from Albert Chin)
2925
2926 2003-06-03  John Levon  <levon@movementarian.org>
2927
2928         * CutAndPaste.C: update tabular and include inset
2929         buffer references
2930
2931         * buffer.h:
2932         * paragraph.h:
2933         * paragraph.C: remove owningBuffer(), don't pass Buffer
2934         to clone()
2935
2936         * factory.C: insetGraphicsParams changed
2937
2938 2003-06-02  John Levon  <levon@movementarian.org>
2939
2940         * LyXAction.C:
2941         * factory.C:
2942         * lfuns.h:
2943         * lyxfunc.C:
2944         * text3.C: remove insetparent
2945
2946 2003-06-02  John Levon  <levon@movementarian.org>
2947
2948         * buffer.h:
2949         * buffer.C: fix inset_iterator.end(), move out of line
2950         (bug 1149)
2951
2952 2003-06-01  John Levon  <levon@movementarian.org>
2953
2954         * text3.C: use a proper cut/paste when doing inset
2955         insert (from Jürgen Spitzmüller)
2956
2957 2003-06-01  John Levon  <levon@movementarian.org>
2958
2959         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2960
2961 2003-05-30  André Pönitz  <poenitz@gmx.net>
2962
2963         * rowpainter.C: unify second drawing phase
2964
2965 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2966
2967         * trans_mgr.C: remove one case of current_view
2968
2969         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2970
2971         * paragraph_funcs.h: remove paragraph.h include
2972
2973         * paragraph.h: delete NO_STD_LIST stuff
2974
2975         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2976
2977         * buffer.h: remove paragraph.h include
2978
2979         * ParagraphList.C: delete file
2980
2981         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2982
2983         * toc.C (getTocList): adjust
2984
2985         * paragraph_pimpl.C (validate): adjust
2986
2987         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2988
2989         * paragraph.C (Paragraph): adjust
2990         (getPositionOfInset): use const_iterator, adjust
2991         (bibitem): use const_iterator, adjust
2992         (setInsetOwner): adjust
2993
2994         * iterators.C (operator++): adjust
2995
2996         * InsetList.[Ch]: Replace selfmade iterator with standard
2997         vector::iterator also introduce const_iterator. Remove getPos,
2998         getInset and setInset from InsetTable. Adjust accordingly.
2999
3000         * BufferView.C (lockInset): adjust
3001         (ChangeInsets): adjust
3002
3003         * tabular.[Ch]: delete commented same_id functions
3004
3005 2003-05-28  John Levon  <levon@movementarian.org>
3006
3007         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3008
3009 2003-05-28  André Pönitz  <poenitz@gmx.net>
3010
3011         * metricsinfo.[Ch]: remove 'fullredraw' member
3012
3013 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3014
3015         * lyxtextclass.C (operator): remove caching.
3016
3017 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3018
3019         * text3.C: adjust
3020
3021         * text2.C (cursorBottom): adjust
3022         (setCounter): use ParagraphList::find, adjust
3023
3024         * text.C (workWidth): use ParagraphList::find, adjust
3025
3026         * lyxcursor.C (LyXCursor): adjust
3027
3028         * buffer.C (inset_iterator): adjust
3029
3030         * ParagraphList.h: make iterator(value_type) private, make
3031         ParagraphList a friend of iterator.
3032
3033         * ParagraphList.C (find): new function
3034
3035         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3036
3037 2003-05-27  André Pönitz  <poenitz@gmx.net>
3038
3039         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3040
3041 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3042
3043         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3044
3045 2003-05-26  John Levon  <levon@movementarian.org>
3046
3047         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3048
3049 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3050
3051         * remove same_id from function signatures, adjust.
3052
3053 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3054
3055         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3056
3057         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3058
3059         * paragraph.C (Paragraph): get rid of same_ids parameter
3060
3061         * ParagraphList.C (insert): adjust
3062         (push_back): adjust
3063
3064 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3065
3066         * paragraph_funcs.C (breakParagraph): adjust
3067         (breakParagraphConservative): adjust
3068
3069         * buffer.C (readParagraph): adjust
3070
3071         * ParagraphList.C (insert): take a reference instead of a pointer
3072         (insert): adjust
3073
3074         * paragraph.[Ch] (id): new function
3075
3076         * bufferlist.C (newFile): adjust
3077
3078         * ParagraphList.C (ParagraphList): adjust
3079         (assign): adjust
3080         (push_back): take a reference instead of a pointer.
3081
3082         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3083
3084         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3085         instead.
3086
3087         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3088         set else use old code.
3089
3090         * ParagraphList.C: remove all NO_NEXT code and only compile this
3091         code of NO_STD_LIST is set.
3092
3093 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3094
3095         * BufferView_pimpl.C:
3096         * TextCache.C:
3097         * TextCache.h:
3098         * bufferlist.C:
3099         * errorlist.h:
3100         * format.C:
3101         * format.h:
3102         * graph.C:
3103         * lyxfunc.C:
3104         * lyxrc.C:
3105         * graphics/GraphicsConverter.C:
3106         * graphics/PreviewLoader.C: header adjustment
3107
3108 2003-05-23  Angus Leeming  <leeming@lyx.org>
3109
3110         * LaTeXFeatures.[Ch] (useBabel): new method.
3111         * bufferparams.C (writeLaTeX): use it.
3112
3113 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3114
3115         * ParagraphList.h (set): remove unused function.
3116
3117 2003-05-23  André Pönitz  <poenitz@gmx.net>
3118
3119         * BufferView.C:
3120         * BufferView_pimpl.C:
3121         * buffer.C:
3122         * buffer.h:
3123         * lyxfunc.C:
3124         * undo_funcs.C: setUndo reworked
3125
3126         * iterators.[Ch]: add access to topmost ParagraphList
3127
3128         * lyxtext.[Ch] (workWidth): add a const
3129
3130 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3131
3132         * texrow.[Ch] (increasePos): remove function
3133         * exporter.C (export): removed unused var and outdated comment
3134
3135 2003-05-23  Angus Leeming  <leeming@lyx.org>
3136
3137         * latexrunparams.h: rename fragile as moving_arg.
3138         * paragraph.C (simpleTeXOnePar): ditto.
3139         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3140
3141 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3142
3143         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3144         (createUndo): ditto
3145         (textUndoOrRedo): comment out a currently unused var.
3146
3147         * paragraph.h (NO_NEXT): enable NO_NEXT
3148
3149         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3150
3151         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3152
3153         * exporter.C (Export): adjust for removeAutoInsets removal.
3154
3155         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3156
3157         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3158
3159         * BufferView.[Ch] (removeAutoInsets): delete function
3160
3161 2003-05-22  Angus Leeming  <leeming@lyx.org>
3162
3163         * latexrunparams.h: add a free_spacing variable.
3164
3165         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3166         to pass moving_arg, as the data is stored in runparams.fragile.
3167
3168         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3169         to Inset::latexOptional or to simpleTeXOnePar.
3170
3171         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3172         free_spacing arg to Inset::latexOptional.
3173
3174         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3175         free_spacing arg.
3176
3177 2003-05-22  Angus Leeming  <leeming@lyx.org>
3178
3179         * latexrunparams.h: add fragile and use_babel variables.
3180
3181         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3182         * buffer.C (makeLaTeXFile): store this returned value in
3183         runparams.use_babel, thus passing it to the inset::latex methods.
3184
3185         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3186         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3187
3188         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3189         longer has a fragile arg, as it is stored in runparams.fragile.
3190
3191         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3192         moving_arg parameter as the data is stored in runparams.fragile.
3193
3194         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3195         a fragile parameter as the data is stored in runparams.fragile.
3196
3197 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3198
3199         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3200
3201 2003-05-22  Angus Leeming  <leeming@lyx.org>
3202
3203         * latexrunparams.h: add a 'bool nice' which defaults to false.
3204
3205         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3206         now encapsulated within runparams.
3207
3208         * bufferlist.C (updateIncludedTeXfiles):
3209         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3210
3211 2003-05-22  Angus Leeming  <leeming@lyx.org>
3212
3213         * latexrunparams.h: new file containing struct LatexRunParams.
3214         * Makefile.am: add new file.
3215
3216         * LaTeX.[Ch] (c-tor, run):
3217         * buffer.[Ch] (makeLaTeXFile):
3218         * bufferlist.[Ch] (updateIncludedTeXfiles):
3219         * converter.C (convert, scanLog):
3220         * converter.[Ch] (runLaTeX):
3221         * exporter.C (Export):
3222         * paragraph.[Ch] (simpleTeXOnePar):
3223         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3224         * paragraph_funcs.[Ch] (latexParagraphs):
3225         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3226         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3227         pass around a LatexRunParams parameter.
3228
3229 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3230
3231         * paragraph.[Ch]: remove unused constructor
3232
3233         * ParagraphList.C (erase): new function, taking two iterators
3234
3235 2003-05-22  André Pönitz  <poenitz@gmx.net>
3236
3237         * undo_funcs.C: remove duplicated code
3238
3239         * iterator.[Ch]: operator=
3240
3241 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3242
3243         * tabular.C (SetMultiColumn): ws changes
3244
3245         * rowpainter.C (paintFirst): get rid of a ->previous
3246
3247         * lyx_cb.C (getPossibleLabel): parlist simplification
3248
3249         * BufferView.C (ChangeInsets): simplify slightly.
3250
3251 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3252
3253         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3254         * lfuns.h: new LFUN_SPACE
3255         * lyxfunc.C: protected space has a new lfun
3256         * paragraph_funcs.C: read new space insets
3257         * text3.C:
3258         * factory.C: handle new space insets
3259
3260 2003-05-22  André Pönitz  <poenitz@gmx.net>
3261
3262         * BufferView.C:
3263         * BufferView_pimpl.C:
3264         * buffer.[Ch]:
3265         * lyxfunc.C:
3266         * undo_funcs.C: return a ParIterator from getParFromID.
3267
3268         * iterators.[Ch]: add two const's
3269
3270 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3271
3272         * toc.C (getTocList): adjust
3273
3274         * iterators.[Ch]: rework for parlist
3275
3276         * buffer.C (par_iterator_begin): adjust
3277         (par_iterator_end): adjust
3278
3279         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3280
3281         * BufferView.C (removeAutoInsets): adjust
3282         (ChangeInsets): adjust
3283
3284 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3285
3286         * text.C (top_y): fix bug 1110
3287
3288 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3289
3290         * errorlist.[Ch]: added
3291         * buffer.C:
3292         * BufferView.[Ch]:
3293         * BufferView_pimpl.C:
3294         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3295         instead
3296
3297 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3298
3299         * Makefile.am: ensure that lyx is relinked upon changes to the
3300         various "convenience" libs.
3301
3302 2003-05-20  Angus Leeming  <leeming@lyx.org>
3303
3304         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3305         files are compiled in alphabetical order again.
3306
3307         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3308
3309 2003-05-19  Angus Leeming  <leeming@lyx.org>
3310
3311         * gettext.[Ch]: remove "char const * _(char const *)".
3312
3313 2003-05-19  André Pönitz  <poenitz@gmx.net>
3314
3315         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3316
3317         * Makefile.am:
3318         * BufferView.C:
3319         * DepTable.h:
3320         * LaTeXFeatures.C:
3321         * buffer.C:
3322         * lyxfont.C:
3323         * lyxlex.h:
3324         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3325
3326 2003-05-19  André Pönitz  <poenitz@gmx.net>
3327
3328         * buffer.C:
3329         * lyxlayout.[Ch]:
3330         * lyxtextclass.[Ch]:
3331         * paragraph.C:
3332         * paragraph_funcs.[Ch]:
3333         * text2.C:
3334         * text3.C: more insetenv work
3335
3336 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3337
3338         * ParagraphParameters.C (params2string): small bug fixed
3339
3340 2003-05-16  André Pönitz  <poenitz@gmx.net>
3341
3342         * debug.C:
3343         * bufferview_funcs.C: patch from Kornel Benko to prevent
3344           crash when _(...) is called twice in a statement
3345
3346 2003-05-16  André Pönitz  <poenitz@gmx.net>
3347
3348         * BufferView.C:
3349         * lyxfunc.C:
3350         * text.C:
3351         * text2.C:
3352         * text3.C:
3353         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3354
3355 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3356
3357         * lyx_main.C (init): remove spurious static_cast
3358
3359 2003-05-14  André Pönitz  <poenitz@gmx.net>
3360
3361         * BufferView.C: fix format string
3362
3363 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3364
3365         * BufferView.[Ch] (insertErrors): removed
3366         * BufferView.[Ch] (showErrorList): added
3367         * buffer.C (runChkTeX):
3368         * converter.C (scanLog): call showErrorList instead of inserterrors
3369
3370 2003-05-13  André Pönitz  <poenitz@gmx.net>
3371
3372         * BufferView_pimpl.C:
3373         * buffer.C:
3374         * bufferview_func.C:
3375         * MenuBackend.C:
3376         * lyxfunc.C:
3377         * lyxrc.C:
3378         * tex-accent.C:
3379         * text3.C:
3380         * toc.C:
3381         * tabular_funcs.h: tostr() from its own header
3382
3383         * ParagraphParameters.C:
3384         * ToolbarBackend.C:
3385         * bufferparams.C:
3386         * format.C:
3387         * lyxlex_pimpl.C:
3388         * text3.C: STRCONV()
3389
3390 2003-05-12  André Pönitz  <poenitz@gmx.net>
3391
3392         * BufferView.C:
3393         * BufferView_pimpl.C:
3394         * CutAndPaste.C:
3395         * LaTeX.C:
3396         * LaTeXFeatures.C:
3397         * ParagraphParameters.C:
3398         * buffer.C:
3399         * bufferlist.C:
3400         * bufferparams.C:
3401         * bufferview_funcs.C:
3402         * converter.C:
3403         * counters.C:
3404         * debug.C:
3405         * exporter.C:
3406         * format.C:
3407         * importer.C:
3408         * lyx_cb.C:
3409         * lyx_main.C:
3410         * lyxfont.C:
3411         * lyxfunc.C:
3412         * lyxvc.C:
3413         * paragraph.C:
3414         * paragraph_funcs.C:
3415         * tabular.C:
3416         * tabular_funcs.C:
3417         * text2.C:
3418         * text3.C:  boost::format -> bformat  all over the place
3419
3420
3421 2003-05-09  André Pönitz  <poenitz@gmx.net>
3422
3423         * LColor.[Ch]: Pimpl the #include <map> away
3424
3425 2003-05-09  John Levon  <levon@movementarian.org>
3426
3427         * bufferlist.C: never remove emergency saves
3428
3429 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3430
3431         * Makefile.am: better lib building
3432
3433 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3434
3435         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3436         instead.
3437         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3438         (simpleTeXSpecialChars): adjust
3439         (simpleTeXSpecialChars): adjust
3440         * paragraph.C (simpleTeXOnePar): adjust
3441         * buffer.C (makeLaTeXFile): adjust
3442
3443         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3444
3445         * text2.C (changeDepth): parlist cleanup
3446         (getColumnNearX): ditto
3447
3448         * rowpainter.C (getLabelFont): parlist cleanup
3449
3450         * bufferlist.C (newFile): parlist cleanup
3451
3452         * CutAndPaste.C (eraseSelection): parlist cleanup
3453
3454         * BufferView_pimpl.C (trackChanges): parlist cleanup
3455         (dispatch): ditto
3456
3457         * BufferView.C (lockInset): parlist cleanup.
3458         (ChangeInsets): ditto
3459
3460 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3461
3462         * CutAndPaste.h: Update file header.
3463
3464         * CutAndPaste.C: Update file header.
3465         Store the parts cut out of the Document in a limited_stack.
3466         (copySelection): adjust
3467         (pasteSelection): new function, takes the index in the limited stack.
3468         (nrOfParagraphs): adjust
3469         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3470         simplify error inset insertion.
3471         (checkPastePossible): adjust
3472
3473 2003-05-06  John Levon  <levon@movementarian.org>
3474
3475         * text2.C: don't cast wrap inset to float
3476
3477 2003-05-05  André Pönitz  <poenitz@gmx.net>
3478
3479         * iterator.C:
3480         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3481
3482         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3483           few naked Paragraph *.
3484
3485 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3486
3487         * bufferparams.C: Output warning if a document with missing
3488         TeX document class is loaded
3489         * exporter.C: Disable TeX exports if the document class is missing
3490         * lyxtextclass.C:
3491         * lyxtextclass.h:
3492         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3493         isTeXClassAvailable()
3494
3495 2003-05-03  John Levon  <levon@movementarian.org>
3496
3497         * BufferView.h:
3498         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3499         explicit cursor show/hide
3500
3501         * BufferView_pimpl.h:
3502         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3503         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3504
3505         * lyxfunc.C: hide cursor before dispatching.
3506
3507         * lyx_cb.C:
3508         * lyxfind.C:
3509         * text.C:
3510         * text3.C: remove explicit cursor hides
3511
3512 2003-05-02  André Pönitz  <poenitz@gmx.net>
3513
3514         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3515
3516         * undo_funcs.C:
3517         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3518           linked lists
3519
3520         * text2.C: tiny whitespace
3521
3522 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3523
3524         * undo_funcs.C: almost only ws changes.
3525
3526         * ParagraphList.C (splice): just return if pl is empty.
3527
3528 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3529
3530         * ParagraphList.C (splice): new function.
3531
3532         * CutAndPaste.C (pasteSelection): use it
3533
3534 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3535
3536         * CutAndPaste.C (pasteSelection): remove the last next and
3537         previous from this file.
3538
3539 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3540
3541         * CutAndPaste.C (pasteSelection): more clean up, user proper
3542         ParagraphList functions for pasteing.
3543
3544         * ParagraphList.C (insert): new function, three arg insert
3545
3546 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3547
3548         * ParagraphList.C (insert): new function, three arg insert
3549
3550         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3551         not on paragraphs.
3552
3553 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3554
3555         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3556
3557 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3558
3559         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3560
3561 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3562
3563         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3564         (copySelection): clean up a bit.
3565         (pasteSelection): use make_pair
3566
3567         * ParagraphList.C (ParagraphList): implement copy constructor
3568         (operator=): implement, base on copy constructor.
3569         (assign): new func
3570
3571         * paragraph.C (erase): return a bool
3572
3573         * paragraph_pimpl.C (erasePos): remove function, move contents...
3574         (erase): ... here. Return a bool.
3575         (erase): call erase instead of erasePos.
3576
3577 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3578
3579         * ParagraphList.h: define PitPosPair
3580         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3581         ParagraphList, fix a bug on pasting multiple pars
3582         * text2.C: change interface to C&P
3583
3584 2003-04-30  André Pönitz  <poenitz@gmx.net>
3585
3586         * undo_func.C: revert part of yesterday's patch 2
3587
3588 2003-04-30  John Levon  <levon@movementarian.org>
3589
3590         * LColor.C: s/tabular/table/
3591
3592 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3593
3594         * text3.C (dispatch): do not convert iterator -> pointer
3595         * undo_funcs.C (setCursorParUndo): ditto
3596         * text_funcs.C (transposeChars): ditto
3597
3598         * text2.C (setLayout): ws changes only
3599
3600         * text.C (breakParagraph): do not convert iterator -> pointer
3601         (insertChar): ditto
3602         (acceptChange): ditto
3603         (rejectChange): ditto
3604         (changeCase): ditto
3605         (Delete): ditto
3606         (backspace): ditto
3607
3608         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3609         pointer
3610
3611 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3612
3613         * text3.C (gotoInset): YABG (yet another bad getChar)
3614
3615 2003-04-29  André Pönitz  <poenitz@gmx.net>
3616
3617         * paragraph.h: make operator= private unimplemented as long as
3618           it is unusable
3619
3620         * ParagraphList.C: whitespace
3621
3622         * paragraph.[Ch]:
3623         * paragraph_pimpl.[Ch]:
3624         * paragraph_funcs.C:
3625         * CutAndPaste.C:
3626         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3627
3628         * text2.C:
3629           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3630
3631 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3632
3633         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3634         * paragraph.[Ch] (erase):
3635         * paragraph_pimpl.[Ch] (erase): change return type and value
3636         * text2.C (cutSelection): some rework
3637
3638 2003-04-28  John Levon  <levon@movementarian.org>
3639
3640         * bufferlist.C: changes for unsaved changes dialog
3641
3642 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3643
3644         * bufferlist.C (newFile): set language (messages_) for new
3645         documents also.
3646
3647         * buffer.C (readFile): ws changes only.
3648
3649 2003-04-28  André Pönitz  <poenitz@gmx.net>
3650
3651         * undo_funcs.C:
3652         * lyxfunc.C:
3653         * buffer.[Ch]:
3654         * BufferView_pimpl.C:
3655         * BufferView.C: getParFromID related ParagraphList::iterator changes
3656
3657 2003-04-28  André Pönitz  <poenitz@gmx.net>
3658
3659         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3660           Changes
3661
3662 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3663
3664         * messages.C: remove one more localedir class variable.
3665
3666 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3667
3668         * messages.C (getLocaleDir): singleton generation function
3669         (Pimpl): use it.
3670         (Messages): add a default constructor.
3671
3672         * main.C (main): do not setup localedir here, do not call
3673         gettext_init.
3674
3675         * gettext.C (_): use it.
3676         (gettext_init): delete funciton
3677
3678 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3679
3680         * gettext.C (getLyXMessages): new singleton generating function.
3681
3682         * buffer.C (updateDocLang): adjust
3683
3684         * Makefile.am (messages.o): add target
3685         (main.o): remove target
3686
3687 2003-04-27  John Levon  <levon@movementarian.org>
3688
3689         * bufferlist.C:
3690         * lyx_cb.C:
3691         * lyxfunc.C:
3692         * lyxvc.C: specify cancel button in Alert::prompt
3693
3694 2003-04-26  John Levon  <levon@movementarian.org>
3695
3696         * text3.C:
3697         * lyxfunc.C:
3698         * lfuns.h:
3699         * LyXAction.C: add LFUN_INSET_SETTINGS
3700
3701         * lyxfunc.C: don't enable tabular-feature when there's
3702         just any locking inset
3703
3704 2003-04-26  John Levon  <levon@movementarian.org>
3705
3706         * bufferlist.C: re-add Cancel to buffer close question
3707
3708         * lyxfunc.C: fix import UI a bit
3709
3710 2003-04-25  John Levon  <levon@movementarian.org>
3711
3712         * gettext.C: remove the broken asserts for now
3713
3714 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3715
3716         * messages.C: make case where setlocale cannot comply work better.
3717
3718         * buffer.C (updateDocLang): new function
3719         (changeLanguage): use it
3720         (readFile): use it
3721
3722         * text2.C (setCounter): use B_ a bit.
3723
3724         * lyxlayout.C (Read): be sure to trim the label strings.
3725
3726         * messages.C (Messages): fix typo in comment
3727
3728         * buffer.C (readFile): set message_ after file is loaded.
3729         (makeDocBookFile): remove double return
3730         (changeLanguage): reset message_ upon language change.
3731         (B_): new func, use this to get translated buffer strings.
3732
3733         * main.C: add myself and Jean Marc as authors.
3734
3735 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3736
3737         * messages.[hC]: pimplify Messages, and three different pimpls to be
3738         used in different circumstances.
3739
3740         * gettext.[Ch]: change for use with new message code.
3741
3742 2003-04-24 André Pönitz <poenitz@gmx.net>
3743
3744         * factory.C: support for eqref
3745
3746 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3747
3748         * messages.[Ch]: add missing char
3749
3750         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3751
3752         * messages.[Ch]: New files
3753
3754 2003-04-18  John Levon  <levon@movementarian.org>
3755
3756         * BufferView.h:
3757         * BufferView.C:
3758         * BufferView_pimpl.C:
3759         * lfuns.h:
3760         * LyXAction.C:
3761         * lyxtext.h:
3762         * text2.C: remove layout-copy/paste (bug 778)
3763
3764 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3765
3766         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3767
3768 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3769
3770         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3771         if they succeed. Act accordingly.
3772
3773 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3774
3775         * text2.C (setCharFont): adjust
3776         (setCounter): adjust
3777         (insertStringAsLines): adjust
3778
3779         * text.C (leftMargin): adjust
3780         (setHeightOfRow): adjust
3781
3782         * rowpainter.C (paintFirst): adjust
3783         (paintLast): adjust
3784
3785         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3786         (outerHook): ditto
3787         (isFirstInSequence): ditto
3788         (getEndLabel): ditto
3789         (outerFont): adjust
3790
3791         * paragraph.C (getParLanguage): comment out some hard stuff.
3792
3793         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3794         (sgmlError): ditto
3795         (simpleDocBookOnePar): ditto
3796         (makeDocBookFile): use ParagraphList::iterator
3797
3798         * CutAndPaste.C (pasteSelection): adjust
3799
3800 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3801
3802         * text2.C (getFont): adjust
3803         (getLayoutFont): adjust
3804         (getLabelFont): adjust
3805
3806         * paragraph_funcs.C (TeXOnePar): adjust
3807
3808         * buffer.C (simpleLinuxDocOnePar): adjust
3809         (simpleDocBookOnePar): adjust
3810
3811         * CutAndPaste.C (pasteSelection): adjust
3812
3813         * BufferView.C (getEncoding): adjust
3814
3815         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3816
3817 2003-04-16  John Levon  <levon@movementarian.org>
3818
3819         * lyxfind.C: use parlist stuff for search/changes
3820
3821 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3822
3823         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3824
3825         * text2.C (deleteEmptyParagraphMechanism): adjust
3826
3827         * text2.[Ch] (ownerParagraph): delete func (both of them
3828
3829 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3830
3831         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3832
3833 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3834
3835         * ParagraphList.C: prepare for NO_NEXT
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.C (getFont): adjust
3844         (getLabelFont): adjust
3845         (getLayoutFont): adjust
3846
3847         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3848
3849 2003-04-15  John Levon  <levon@movementarian.org>
3850
3851         From Angus Leeming
3852
3853         * lyx_main.C: handle Include in .ui files
3854
3855 2003-04-15  John Levon  <levon@movementarian.org>
3856
3857         * MenuBackend.C: make the doc files length shorter
3858
3859         * ToolbarBackend.h:
3860         * ToolbarBackend.C: handle toolbar placement flags,
3861         Minibuffer
3862
3863 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3864
3865         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3866         adjust
3867
3868         * paragraph_funcs.C (TeXOnePar): adjust
3869
3870         * paragraph.C (getLabelFont): add outerfont arg, adjust
3871         (getLayoutFont): ditto
3872         (simpleTeXOnePar): adjust
3873
3874         * paragraph_pimpl.C (realizeFont): delete func
3875
3876 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3877
3878         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3879         row argument, constify cur argument.
3880
3881 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3882
3883         * text2.C (getFont): adjust
3884         (getLayoutFont): adjust
3885         (getLabelFont): adjust
3886
3887         * paragraph_funcs.C (TeXOnePar): adjust
3888         (outerFont): new func...
3889         (realizeFont): ...moved out from here, changed this to facilitate
3890         transition
3891
3892         * paragraph.C (getFont): take outerfont as arg, adjust
3893         (simpleTeXOnePar): add outerfont arg, adjust
3894
3895         * buffer.C (simpleLinuxDocOnePar): adjust
3896         (simpleDocBookOnePar): adjust
3897
3898         * CutAndPaste.C (pasteSelection): adjust
3899
3900         * BufferView.C (getEncoding): adjust
3901
3902 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3903
3904         * text2.C (setCharFont): adjust
3905         (setCounter): adjust
3906
3907         * text.C (leftMargin): adjust
3908         (setHeightOfRow): adjust
3909
3910         * rowpainter.C (paintFirst): adjust
3911         (paintLast): adjust
3912
3913         * paragraph_pimpl.C (realizeFont): adjust
3914
3915         * paragraph.C (isFirstInSequence): move from here...
3916         * paragraph_funcs.C (isFirstInSequence): ...to here
3917
3918         * paragraph.C (outerHook): move from here...
3919         * paragraph_funcs.C (outerHook): ...to here
3920
3921         * paragraph.C (depthHook): move from here...
3922         * paragraph_funcs.C (depthHook): ...to here
3923
3924         * paragraph.C (getEndLabel): move from here...
3925         * paragraph_funcs.C (getEndLabel): ...to here
3926
3927         * text2.C (realizeFont): move from here...
3928         * paragraph_funcs.C (realizeFont): ...to here
3929
3930 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3931
3932         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3933
3934 2003-04-14  Angus Leeming  <leeming@lyx.org>
3935
3936         * LColor.[Ch]: scrap LColor mathcursor.
3937
3938 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3939
3940         * lyxlex.[Ch] (text): delete function
3941         * trans.C (Load): adjust
3942         * paragraph_funcs.C (readParToken): adjust
3943
3944 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3945
3946         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3947         vector<char> instead of a char[].
3948
3949         * lyxlex_pimpl.C (getString): adjust
3950         (next): adjust
3951         (lex): use getString
3952         (eatLine): adjust
3953         (nextToken): adjust
3954
3955         * lyxlex.C (text): use pimpl_->getString()
3956         (getBool): ditto
3957         (findToken): ditto
3958
3959 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3960
3961         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3962         (makeFontEntriesLayoutSpecific): temp var for par.size()
3963         (setLayout): temp var for ownerParagraphs().end()
3964         (fullRebreak): temp var for rows().end()
3965         (selectionAsString): temp var for boost::next(startpit), realize
3966         that the while really is a regular for loop.
3967         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3968         setCursor in one place.
3969         (setParagraph): temp vr for ownerParagraphs().end()
3970         (updateCounters): make the while loop a for loop
3971         (cutSelection): temp var for ownerParagraphs().end()
3972         (updateInset): make the do {} while() a regular for loop
3973         (getCursorX): use temp vars
3974         (setCurrentFont): use temp vars
3975         (getColumnNearX): use temp vars
3976
3977 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3978
3979         * text.C (transformChar): use temp var for getChar
3980         (computeBidiTables): use temp var for row->par()
3981         (fill): move temp vars for row->par() and pit->layout() earlier in
3982         the function.
3983         (labelFill): use temp var for row->par()
3984         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3985         asc and desc, realize that pit never changes and that firstpit is
3986         just a duplicate and not needed. Exchange rit->par() with pit in a
3987         lot of places.
3988         (breakAgain): use a temp var for boost::next(rit)
3989         (breakAgainOneRow): ditto
3990         (breakParagraph): use a temp var for rows().begin()
3991         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3992         (cursorRightOneWord): use temp var for cursor.par() and
3993         cursor.pos(), remove usage of tmpcursor.
3994         (cursorLeftOneWord): use temp var for cursor.par() and
3995         cursor.pos() only set cur at end of function.
3996
3997 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3998
3999         * text.C, text2.C: exchange all usage of Paragraph::next with
4000         boost::next(ParagraphList::iterator)
4001
4002         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4003
4004         * text2.C (cursorTop): simplify implementation
4005         (cursorBottom): ditto
4006         (setParagraph): use ParagraphList::iterator
4007         (setCurrentFont): adjust
4008         (getColumnNearX): adjust
4009         (cursorRight): adjust
4010         (cursorLeft): remove usage of Paragraph::previous
4011         (cursorUpParagraph): ditto
4012         (deleteEmptyParagraphMechanism): slight cleanup
4013
4014         * text.C (isBoundary): take a Paragraph const & instead of a
4015         pointer as arg.
4016         (addressBreakPoint): ditto
4017         (leftMargin): remove usage of Paragraph::previous.
4018         (setHeightOfRow): ditto
4019         (cursorLeftOneWord): ditto
4020         (selectNextWordToSpellcheck): ditto
4021         (Delete): ditto
4022         (backspace): ditto
4023         (breakParagraph): remove one usage of Paragraph::next
4024         (redoParagraph): ditto
4025         (acceptChange): ditto
4026         (insertChar): adjust
4027         (rowBreakPoint): adjust
4028
4029         * bufferview_funcs.C (toggleAndShow): adjust
4030
4031 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4032
4033         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4034         methods to access it.
4035         * lyxtext.h:
4036         * text.C: Added updateRowPositions to compute all row positions.
4037         Make top_y and getRowNearY() to use the cached y position
4038
4039 2003-04-11  John Levon  <levon@movementarian.org>
4040
4041         * text.C (rowBreakPoint): reintroduce the labelEnd
4042         checks, code copied from the row fill stuff. Deep voodoo.
4043
4044         * text.C (fill): add a comment and debugging for the
4045         next poor soul.
4046
4047 2003-04-11  John Levon  <levon@movementarian.org>
4048
4049         * text.C: make sure fullrow insets get wrapped to the next line,
4050         even when they're in a manual label
4051
4052 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4053
4054         * text2.C (insertParagraph): make it take ParagraphList::iterator
4055         as arg.
4056         (setLayout): make it return ParagraphList::iterator
4057         (redoParagraphs): ditto
4058         (setCounter): ditto
4059         (checkParagraph): ditto
4060
4061         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4062
4063         * text2.C: adjust several funcs.
4064         (realizeFont): take a ParagraphList::iterator as arg.
4065         (getLayoutFont): ditto
4066         (getLabelFont): ditto
4067         (setCharFont): ditto
4068
4069         * text.C: adjust several funcs.
4070
4071 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4072
4073         * text.C (selectNextWordToSpellcheck): don't accidentally
4074         skip insets
4075
4076 2003-04-10  John Levon  <levon@movementarian.org>
4077
4078         * ToolbarBackend.C (getIcon): special handling for
4079         LFUN_MATH_DELIM
4080
4081 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4082
4083         * text2.C (cursorRight): a getChar assert fixed
4084
4085 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4086
4087         * text2.C (getFont): change to take a ParagraphList::iterator
4088         instead of Paragraph*
4089         Adjust several functions.
4090
4091         * text.C (transformChar): change to take a ParagraphList::iterator
4092         instead of Paragraph*
4093         (singleWidth): ditto
4094         Adjust several functions.
4095
4096         * rowpainter.C: adjust several functions
4097         * rowpainter.h:store a ParagraphList::iterator and not a
4098         Paragraph&.
4099
4100
4101 2003-04-09  John Levon  <levon@movementarian.org>
4102
4103         * lyxfunc.C:
4104         * lfuns.h:
4105         * LyXAction.h:
4106         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4107         and the "help" bits as well
4108
4109 2003-04-09  John Levon  <levon@movementarian.org>
4110
4111         * ToolbarBackend.h:
4112         * ToolbarBackend.C: allow multiple toolbars
4113
4114 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4115
4116         * undo_funcs.C (setCursorParUndo): adjust
4117
4118         * text_funcs.C (transposeChars): adjust
4119
4120         * text3.C (gotoNextInset): adjust
4121         (dispatch): adjust
4122
4123         * text2.C (setLayout): adjust
4124         (changeDepth): adjust
4125         (setFont): adjust
4126         (redoParagraphs): adjust
4127         (selectionAsString): adjust
4128         (setParagraph): adjust
4129         (insertInset): adjust
4130         (cutSelection): adjust
4131         (copySelection): adjust
4132         (pasteSelection): adjust
4133         (insertStringAsLines): adjust
4134         (updateInset): adjust
4135         (setCursor): change to take a ParagraphList::iterator parameter
4136         (setCursorIntern): change to take a ParagraphList::iterator parameter
4137         (setCurrentFont): adjust
4138         (cursorLeft): adjust
4139         (cursorRight): adjust
4140         (deleteEmptyParagraphMechanism): adjust
4141
4142         * text.C (breakParagraph): adjust
4143         (insertChar): adjust
4144         (acceptChange): adjust
4145         (rejectChange): adjust
4146         (selectNextWordToSpellcheck): adjust
4147         (changeCase): adjust
4148         (Delete): adjust
4149         (backspace): adjust
4150
4151         * lyxfind.C (SearchForward): adjust
4152         (SearchBackward): adjust
4153         (nextChange): adjust
4154
4155         * lyxcursor.C (par): adjust
4156
4157         * lyxcursor.h: store a ParagraphList::iterator instead of a
4158         Paragraph*
4159
4160         * lyx_cb.C (getPossibleLabel): adjust
4161
4162         * bufferview_funcs.C (toggleAndShow): adjust
4163
4164         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4165         (dispatch): adjust
4166
4167         * BufferView.C (removeAutoInsets): adjust
4168         (lockedInsetStoreUndo): adjust
4169
4170 2003-04-09  John Levon  <levon@movementarian.org>
4171
4172         * ToolbarBackend.C: try icon without argument
4173         if with argument fails
4174
4175 2003-04-08  John Levon  <levon@movementarian.org>
4176
4177         * ToolbarBackend.h:
4178         * ToolbarBackend.C: add getIcon(), handle tooltip,
4179         and change from "Icon" to "Item".
4180
4181 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4182
4183         * BufferView.C (lockInset): another bad getchar crunched
4184
4185 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4186
4187         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4188         again)
4189
4190 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4191
4192         * lyxfind.C (searchForward, searchBackwards): bug 782
4193
4194 2003-04-07  John Levon  <levon@movementarian.org>
4195
4196         * paragraph.C: remove dead comment
4197
4198         * text.C: remove troublesome depth-fiddling code
4199         in leftMargin() and rightMargin() (bug 1017)
4200
4201         * text.C: fix breaking of rows in nested lists
4202         (bug 1004)
4203
4204         * text2.C (updateCounters): fix up depth values
4205         (bug 1013)
4206
4207 2003-04-07  John Levon  <levon@movementarian.org>
4208
4209         * BufferView_pimpl.C: clear message when doc finishes resizing,
4210         and after a mouse event
4211
4212         * lyxfunc.C: clear message after exiting inset
4213
4214 2003-04-07  John Levon  <levon@movementarian.org>
4215
4216         * bufferview_funcs.C: show math status not outside
4217         status in the statusbar
4218
4219 2003-04-07  John Levon  <levon@movementarian.org>
4220
4221         * lyxfunc.C: note status changed after a depth change
4222
4223 2003-04-04  Angus Leeming  <leeming@lyx.org>
4224
4225         * LaTeX.h: move AuxInfo operator==, != out of line.
4226         Remove LaTeX virtual destructor; nothing derives from it.
4227         Move operator()() out of public area and rename it startscript().
4228         Change protected for private.
4229
4230 2003-04-04  Angus Leeming  <leeming@lyx.org>
4231
4232         * lyxfunc.C:
4233         * text2.C: remove unneeded #includes.
4234
4235 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4236
4237         * text2.C (dEPM): fix the heigth of the next row
4238
4239 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4240
4241         * text.C: squashed an invalid getChar requester + some ws changes
4242
4243 2003-04-03  John Levon  <levon@movementarian.org>
4244
4245         * bufferview_funcs.h:
4246         * bufferview_funcs.C:
4247         * lyxfunc.C:
4248         * lyxtext.h:
4249         * text2.C: make getStatus work for the env depth lfuns
4250
4251 2003-04-03  John Levon  <levon@movementarian.org>
4252
4253         * bufferview_funcs.h:
4254         * bufferview_funcs.C:
4255         * lyxfunc.C:
4256         * lyxtext.h:
4257         * text2.C: parlistize decDepth(), by merging it with incDepth()
4258
4259 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4260
4261         * lyxrow.h: store a ParagraphList::iterator instead of a
4262         Paragraph* and adjust other class functions to suit.
4263
4264         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4265         above.
4266
4267 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4268
4269         * text2.C (setCursor): do not anchor to cursor row for the time being
4270
4271 2003-04-02  John Levon  <levon@movementarian.org>
4272
4273         * LyXAction.C:
4274         * lfuns.h:
4275         * lyx_main.C:
4276         * lyxtext.h:
4277         * text.C:
4278         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4279
4280 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4281
4282         * paragraph.h: make ParagraphList and ParagraphList::iterator
4283         friends of Paragraph.
4284
4285         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4286
4287         * ParagraphList.C: Use the private next_ and previous_ from
4288         Paragraph.
4289
4290 2003-04-01  John Levon  <levon@movementarian.org>
4291
4292         * ToolbarBackend.h:
4293         * ToolbarBackend.C:
4294         * Makefile.am: rename, remove defaults gunk
4295
4296         * MenuBackend.h:
4297         * MenuBackend.C: remove defaults gunk
4298
4299         * Languages.h:
4300         * Languages.C: remove defaults gunk
4301
4302         * lyx_main.h:
4303         * lyx_main.C: error out if files couldn't be found.
4304
4305 2003-04-02  John Levon  <levon@movementarian.org>
4306
4307         * text2.C: make incDepth() use parlist
4308
4309 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4310
4311         * undo_funcs.C (firstUndoParagraph): adjust
4312
4313         * text3.C (gotoInset): adjust
4314         (dispatch): adjust, and rewrite loop.
4315
4316         * text2.C (init): adjust, and rewrite loop.
4317         (redoParagraphs): adjust
4318         (updateInset): adjust, and rewrite loop.
4319         (deleteEmptyParagraphMechanism): adjust
4320
4321         * tabular.C (LyXTabular): adjust
4322         (SetMultiColumn): adjust
4323         (TeXRow): adjust
4324
4325         * lyxtext.[Ch] (ownerParagraph): delete function
4326         (ownerParagraphs): new function returns a ParagraphList.
4327
4328         * BufferView.C (removeAutoInsets): adjust
4329         (insertErrors): adjust
4330         (setCursorFromRow): adjust
4331
4332 2003-04-01  Angus Leeming  <leeming@lyx.org>
4333
4334         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4335         in the frontends.
4336
4337 2003-04-02  John Levon  <levon@movementarian.org>
4338
4339         * lyxtext.h:
4340         * text.C:
4341         * Makefile.am:
4342         * text_funcs.h:
4343         * text_funcs.C: make transposeChars a free function
4344
4345         * lyxrow_funcs.C: remove wrong comment
4346
4347 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4348
4349         * lyxtext.h: adjust
4350         * rowpainter.C: adjust
4351         * text.C: adjust
4352         * text2.C: adjust
4353         * text3.C: adjust
4354
4355         * lyxrow_funcs. [Ch]: new files
4356
4357         * lyxrow.[Ch]: remove next and previous pointers
4358         (next,previous): remove accessor functions
4359         (isParEnd): move to lyxrow_funcs
4360         (lastPos): move to lyxrow_funcs
4361         (nextRowIsAllInset): move to lyxrow_funcs
4362         (lastPrintablePos): move to lyxrow_funcs
4363         (numberOfSeparators): move to lyxrow_funcs
4364         (numberOfHfills): move to lyxrow_funcs
4365         (numberOfLabelHfills): move to lyxrow_funcs
4366         (hfillExpansion): move to lyxrow_funcs
4367
4368         * lyxfunc.C: adjust
4369
4370         * bufferview_funcs.C (toggleAndShow): adjust
4371
4372         * RowList.h: Remove class RowList from file leave just a
4373         std::list<Row>.
4374
4375         * RowList.C: delete file
4376
4377         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4378         and lyxrow_funcs.h
4379
4380 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4381
4382         * text3.C (cursorPrevious): adjust
4383         (cursorNext): adjust
4384         (dispatch): adjust
4385
4386         * text2.C (redoHeightOfParagraph): adjust
4387         (redoDrawingOfParagraph): adjust
4388         (setCursor): adjust
4389
4390         * text.C (breakParagraph): adjust
4391         (insertChar): adjust
4392         (backspace): adjust
4393
4394         * rowpainter.C (RowPainter): adjust
4395         (leftMargin): simplify and adjust
4396         (most rowpainter functions): adjust.
4397
4398         * rowpainter.h: store the row as RowList::iterator not as Row*
4399
4400         * lyxcursor.C (row): taka RowList::iterator as arg
4401         (irow): ditto
4402
4403         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4404         of Row*.
4405
4406 2003-04-01  Angus Leeming  <leeming@lyx.org>
4407
4408         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4409         stuff like bool Bool.
4410
4411 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4412
4413         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4414         rewrite a loop
4415
4416 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4417
4418         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4419         RowList::iterator.
4420
4421         * lyxtext.h (rows): drop one version and leve a const variant that
4422         returns a RowList::iterator.
4423
4424 2003-03-31  Angus Leeming  <leeming@lyx.org>
4425
4426         * text.C (fill): ensure that the signature is the same as that in the
4427         header file.
4428
4429 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4430
4431         * text2.C (redoParagraphs): adjust
4432         (updateCounters): adjust
4433         (checkParagraph): adjust
4434         (getColumnNearX): adjust and reformat a bit.
4435
4436         * text.C (top_y): adjust
4437         (workWidth): adjust
4438         (leftMargin): adjust
4439         (prepareToPrint): adjust
4440         (getRow): adjust
4441         (getRowNearY): adjust
4442
4443         * lyxtext.h: make rowlist_ mutable.
4444
4445         * RowList.h: add const_iterator
4446         * RowList.C: adjust for RowList::const_iterator.
4447
4448         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4449         adjust.
4450
4451 2003-03-31  John Levon  <levon@movementarian.org>
4452
4453         * lyxrc.h:
4454         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4455
4456         * lyx_main.C: set default fonts from using lyx_gui funcs
4457
4458         * exporter.C: pdf_mode moved from lyxrc
4459
4460         * lyx_cb.C:
4461         * lyxfunc.C: changes from above
4462
4463 2003-03-31  John Levon  <levon@movementarian.org>
4464
4465         * lyx_main.C: fix to the last fix
4466
4467 2003-03-31  John Levon  <levon@movementarian.org>
4468
4469         * bufferlist.C: "Load original" -> "Load Original"
4470
4471         * converter.C:
4472         * exporter.C:
4473         * importer.C:
4474         * lyx_main.C:
4475         * format.C: more Alert cleanups
4476
4477 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4478
4479         * text2.C (removeParagraph): make it take a RowList::iterator as
4480         arg, adjust.
4481         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4482         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4483
4484         * text.C (anchor_row): make it take a RowList::iterator as arg,
4485         adjust.
4486         (computeBidiTables): make it take a const reference to Row instead
4487         of Row pointer, adjust.
4488         (leftMargin): make it take a RowList::iterator as arg, adjust.
4489         (rowBreakPoint): adjust
4490         (breakAgainOneRow): make it take a RowList::iterator as arg,
4491         adjust.
4492         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4493
4494         * bufferview_funcs.C (toggleAndShow): adjust
4495
4496 2003-03-30  John Levon  <levon@movementarian.org>
4497
4498         * Makefile.am:
4499         * BoostFormat.h:
4500         * boost-inst.C: moved to support
4501
4502         * several files: changes as a result
4503
4504 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4505
4506         * text2.C (LyXText): adjust.
4507         (init): adjust
4508         (removeRow): make it take a RowList::iterator as arg, adjust.
4509         (fullRebreak): adjust
4510         (deleteEmptyParagraphMechanism): adjust
4511         (clearPaint): adjust
4512         (postPaint): adjust
4513
4514         * text.C (top_y): adjust
4515         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4516         (breakAgain): make it take a RowList::iterator as arg, adjust.
4517         (breakParagraph): adjust
4518         (insertChar): adjust
4519         (backspace): adjust
4520
4521         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4522         need_break_row, and refresh_row.
4523
4524         * text3.C (dispatch): adjust
4525
4526         * text2.C (checkParagraph): adjust
4527         (setCursor): adjust
4528         (setCursorFromCoordinates): adjust
4529
4530         * text.C (top_y): adjust
4531         (workWidth): adjust
4532         (getRow): make it return a RowList::iterator, adjust
4533         (getRowNearY): make it return a RowList::iterator, adjust
4534
4535         * text2.C (init): adjust
4536         (insertRow): remove function
4537         (insertParagraph): adjust
4538         (redoParagraphs): adjust
4539         (fullRebreak): adjust
4540         (updateCounters): adjust
4541
4542         * text.C (top_y): rewrite to use RowList iterators.
4543         (top_y): adjust
4544         (setHeightOfRow): rewrite to sue RowList iterators.
4545         (appendParagraph): adjust
4546         (breakAgain): adjust
4547         (breakAgainOneRow): adjust
4548         (breakParagraph): adjust
4549         (getRow): adjust
4550         (getRowNearY): adjust, and remove commented code.
4551
4552         * lyxtext.h (firstRow): delete function
4553         (lastRow): delete function
4554         (rows): new function (const and non-const versions.)
4555         (insertRow): delete function
4556
4557         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4558
4559 2003-03-29  John Levon  <levon@movementarian.org>
4560
4561         * BufferView_pimpl.C: always update scrollbar top
4562         because pasting text when we're anchored could mean we
4563         miss an update altogether
4564
4565 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4566
4567         * text2.C (init): use rowlist_.end() and not 0.
4568         (insertRow): change to take a RowList::iterator as arg, adjust
4569         for this.
4570         (insertParagraph): change to take a RowList::iterator as arg,
4571         adjust for this.
4572         (redoParagraphs): remove some debug msgs.
4573
4574         * text.C (appendParagraph): change to take a RowList::iterator
4575         arg, adjust for this.
4576         (breakAgain): add an assert
4577         (breakAgainOneRow): ditto
4578
4579 2003-03-29  John Levon  <levon@movementarian.org>
4580
4581         * text2.C: do not clear selection after inc/decDepth
4582         (bug 550)
4583
4584 2003-03-29  John Levon  <levon@movementarian.org>
4585
4586         * BufferView.C:
4587         * buffer.C: fix broken strerrors according to Lars
4588
4589 2003-03-29  John Levon  <levon@movementarian.org>
4590
4591         * converters.C: more Alert cleanups
4592
4593 2003-03-29  John Levon  <levon@movementarian.org>
4594
4595         * bufferview_funcs.C: remove pointless Alert
4596
4597         * buffer.C: fix confusing error message when
4598         a template is chmoded 000
4599
4600 2003-03-29  John Levon  <levon@movementarian.org>
4601
4602         * BufferView.C:
4603         * BufferView.h:
4604         * BufferView_pimpl.C: Alert fixes
4605
4606         * Makefile.am:
4607         * tabular.C:
4608         * tabular-old.C: remove unused table compat reading
4609
4610 2003-03-29  John Levon  <levon@movementarian.org>
4611
4612         * BufferView.C:
4613         * buffer.C:
4614         * lyx_cb.h:
4615         * lyx_cb.C: more Alert cleanups
4616
4617         * lyxfunc.C: don't allow chktex if not latex document
4618
4619 2003-03-29  John Levon  <levon@movementarian.org>
4620
4621         * lyx_cb.C:
4622         * BufferView.C:
4623         * buffer.C: warnings pushed down from support/,
4624         kill err_alert
4625
4626 2003-03-29  John Levon  <levon@movementarian.org>
4627
4628         * lyxfunc.C: safety check for C-r (revert)
4629
4630 2003-03-29  John Levon  <levon@movementarian.org>
4631
4632         * bufferlist.h:
4633         * bufferlist.C: several UI fixes using Alert::prompt.
4634         Fix the pointless looping quit code. Fix stupid revert
4635         behaviour (bug 938)
4636
4637         * lyxvc.h:
4638         * lyxvc.C:
4639         * lyx_cb.C: use Alert::prompt
4640
4641         * lyx_main.C: remove a silly question
4642
4643         * lyxfunc.C: remove a couple of silly questions,
4644         use Alert::prompt
4645
4646 2003-03-28  John Levon  <levon@movementarian.org>
4647
4648         * text2.C: fix bug 974 (End on empty par)
4649
4650 2003-03-28  John Levon  <levon@movementarian.org>
4651
4652         * BufferView_pimpl.C:
4653         * LyXAction.C:
4654         * lfuns.h: remove do-nothing math greek lfuns
4655
4656 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4657
4658         * lyxgluelength.h (isValidGlueLength): add default arg on
4659         parameter 2. Remove default arg from friend in class.
4660
4661         * lyxlength.h (isValidLength): add default arg on parameter 2.
4662         Remove default arg from friend in class.
4663
4664         * text2.C (LyXText): adjust, initialize refresh_row.
4665         (init): adjust
4666         (removeRow): adjust
4667         (insertRow): adjust
4668         (insertParagraph): adjst
4669         (redoParagraphs): adjust
4670         (fullRebreak): adjust
4671         (updateCounters): adjust
4672         (deleteEmptyParagraphMechanism): first attempt at fixing a
4673         crashing bug.
4674
4675         * text.C (top_y): adjust
4676         (setHeightOfRow): adjust
4677         (getRow): adjust
4678         (getRowNearY): adjust
4679
4680         * lyxtext.h: include RowList.h
4681         (~LyXText): not needed anymore, deleted.
4682         (firstRow): modify for RowList
4683         (lastRow): new function
4684         Delete firstrow and lastrow class variables, add a Rowlist
4685         rowlist_ class variable.
4686
4687         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4688         paragraph is empty.
4689
4690         * RowList.C (insert): fix case where it == begin().
4691
4692 2003-03-26  Angus Leeming  <leeming@lyx.org>
4693
4694         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4695         the thesaurus dialog.
4696
4697 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4698
4699         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4700
4701         * RowList.[Ch]: new files
4702
4703         * ParagraphList.C (erase): handle the case where it == begin
4704         correctly.
4705
4706 2003-03-25  John Levon  <levon@movementarian.org>
4707
4708         * Makefile.am:
4709         * aspell_local.h:
4710         * aspell.C: add new aspell support
4711
4712         * lyxrc.h:
4713         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4714         have it accessible.
4715
4716 2003-03-25  Angus Leeming  <leeming@lyx.org>
4717
4718         * lfuns.h:
4719         * LyXAction.C (init): new LFUN_INSET_INSERT.
4720
4721         * BufferView_pimpl.C (dispatch): split out part of the
4722         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4723
4724         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4725         LFUN_INSET_APPLY.
4726
4727 2003-03-25  Angus Leeming  <leeming@lyx.org>
4728
4729         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4730
4731 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4732
4733         * text2.C:
4734         * text3.C: remove useless row->height(0)
4735
4736 2003-03-25  John Levon  <levon@movementarian.org>
4737
4738         * lyxtext.h:
4739         * text2.C:
4740         * text3.C: rename the refreshing stuff to better names
4741
4742 2003-03-24  John Levon  <levon@movementarian.org>
4743
4744         * BufferView_pimpl.h:
4745         * BufferView_pimpl.C: update layout choice on a mouse
4746         press/release
4747
4748 2003-03-23  John Levon  <levon@movementarian.org>
4749
4750         * Makefile.am: fix commandtags.h reference
4751
4752 2003-03-22  John Levon  <levon@movementarian.org>
4753
4754         * BufferView_pimpl.C:
4755         * lyxtext.h:
4756         * rowpainter.C:
4757         * rowpainter.h:
4758         * text.C:
4759         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4760
4761 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4762
4763         * lyxtext.h:
4764         * text.C: take the rtl methods out of line
4765
4766 2003-03-21 André Pönitz <poenitz@gmx.net>
4767
4768         * metricsinfo.[Ch]: new files containing structures to be passed around
4769         during the two-phase-drawing...
4770
4771 2003-03-21 André Pönitz <poenitz@gmx.net>
4772
4773         * lyxtextclass.C: read 'environment' tag.
4774
4775 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4776
4777         * text2.C (removeRow): fix bug 964
4778
4779 2003-03-20  John Levon  <levon@movementarian.org>
4780
4781         * rowpainter.C:
4782         * text.C:
4783         * text2.C: paint cleanups. Inset::update() dropped font
4784         parameter
4785
4786 2003-03-19  John Levon  <levon@movementarian.org>
4787
4788         * lyxfunc.C: only fitcursor/markDirty if available()
4789
4790 2003-03-19  John Levon  <levon@movementarian.org>
4791
4792         * commandtags.h: rename to ...
4793
4794         * lfuns.h: ... this, and renumber / cleanup
4795
4796 2003-03-19  John Levon  <levon@movementarian.org>
4797
4798         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4799         fit the cursor after an lfun
4800
4801         * BufferView.h:
4802         * BufferView.C:
4803         * BufferView_pimpl.h:
4804         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4805
4806         * LyXAction.C: layout-character should have ReadOnly
4807
4808         * ParagraphParameters.C:
4809         * buffer.C:
4810         * bufferview_funcs.C:
4811         * lyx_cb.C:
4812         * lyxfind.C:
4813         * lyxtext.h:
4814         * text.C:
4815         * text2.C:
4816         * text3.C:
4817         * undo_funcs.C: changes from above
4818
4819 2003-03-18  John Levon  <levon@movementarian.org>
4820
4821         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4822         remove it from update()
4823
4824         * lyxfunc.C: update layout choice after an lfun
4825
4826         * text3.C: remove extra updateLayoutChoice()s
4827
4828 2003-03-18  John Levon  <levon@movementarian.org>
4829
4830         * text.C: top_y change means full repaint, fix
4831         a drawing bug with cursor movement
4832
4833 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4834
4835         * lyxtext.h:
4836         * text.C:
4837         * text2.C: anchor row on setCursor
4838
4839 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4840
4841         * lyxtext.h: remove almost all mutable keywords
4842         * text.C:
4843         * text2.C:
4844         * text3.C: remove const keywords accordingly
4845
4846 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4847
4848         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4849         anon namespace
4850         (TeXEnvironment): ditto
4851         (TeXOnePar): ditto
4852
4853 2003-03-17  John Levon  <levon@movementarian.org>
4854
4855         * text.C (rowBreakPoint): remove attempt to fix displayed
4856         math insets inside a manual label
4857
4858 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4859
4860         * lyxtext.h: remove BufferView* as first arg from almost all class
4861         functions.
4862         * other files: adjust.
4863
4864 2003-03-17  John Levon  <levon@movementarian.org>
4865
4866         * lyxtext.h:
4867         * undo_funcs.C:
4868         * text2.C: more paint cleanups
4869
4870         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4871
4872         * rowpainter.h:
4873         * rowpainter.C: remove "smart" background painting code
4874
4875 2003-03-16  John Levon  <levon@movementarian.org>
4876
4877         * lyxtext.h:
4878         * text.C:
4879         * text2.C:
4880         * text3.C: add helper functions for setting refresh_row/y
4881
4882 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4883
4884         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4885         newline inset which *can* get inserted in the pass_thru layouts.
4886         This is primarily for literate documents.
4887
4888 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4889
4890         * buffer.C: increment LYX_FORMAT to 223
4891
4892 2003-03-14 André Pönitz <poenitz@gmx.net>
4893
4894         * textclass.h: prepare for environment handling, ws changes
4895         * lyxlayout.C: read latexheader and latexfooter tags
4896
4897 2003-03-14  John Levon  <levon@movementarian.org>
4898
4899         * text2.C: rewrite ::status() a bit
4900
4901 2003-03-13  John Levon  <levon@movementarian.org>
4902
4903         * lyxtext.h: add some docs
4904
4905 2003-03-13  John Levon  <levon@movementarian.org>
4906
4907         * lyxtext.h:
4908         * text.C:
4909         * text2.C:
4910         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4911
4912 2003-03-13  John Levon  <levon@movementarian.org>
4913
4914         * text3.C: fix appendix redrawing
4915
4916 2003-03-13  John Levon  <levon@movementarian.org>
4917
4918         * text.C (setHeightOfRow):
4919         * rowpainter.h:
4920         * rowpainter.C: make appendix mark have the text
4921           "Appendix" so the user knows what it is
4922
4923         * LColor.h:
4924         * LColor.C: s/appendixline/appendix/ from above
4925
4926 2003-03-13  John Levon  <levon@movementarian.org>
4927
4928         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4929
4930         * text.C: fix a getChar(pos) bug properly
4931
4932 2003-03-13  Angus Leeming  <leeming@lyx.org>
4933
4934         * commandtags.h:
4935         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4936         Probably only temporary. Let's see how things pan out.
4937
4938         * BufferView.C (unlockInset):
4939         * BufferView_pimpl.C (fitCursor):
4940         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4941
4942         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4943         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4944
4945         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4946         new functions that convert ParagraphParameters to and from a string.
4947
4948         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4949         BufferView::Pimpl's dispatch.
4950         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4951
4952 2003-03-13 André Pönitz <poenitz@gmx.net>
4953
4954         * lyxfunc.C:
4955         * text3.C:
4956         * factory.C: make it aware of InsetEnv
4957
4958 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4959
4960         * text2.C (setCursor): never ask for one past last
4961         (setCursor): add some debugging messages.
4962
4963         * text.C (singleWidth): never ask for one past last
4964         (singleWidth): ditto
4965         (leftMargin): ditto
4966         (rightMargin): ditto
4967         (rowBreakPoint): ditto
4968         (setHeightOfRow): ditto
4969         (prepareToPrint): ditto
4970
4971         * rowpainter.C (paintBackground): never ask for one past last
4972         (paintText): never ask for one past last
4973
4974         * paragraph_pimpl.C (getChar): make the assert stricter, never
4975         allow the one past last pos to be taken
4976
4977         * paragraph.C (getChar): ws changes only
4978
4979         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4980         (numberOfSeparators): ditto
4981         (numberOfHfills): ditto
4982
4983 2003-03-12  John Levon  <levon@movementarian.org>
4984
4985         * author.h:
4986         * author.C:
4987         * bufferparams.h:
4988         * bufferparams.C:
4989         * paragraph_funcs.C: fix per-buffer authorlists
4990
4991 2003-03-12  John Levon  <levon@movementarian.org>
4992
4993         * text.C: fix newline in right address
4994
4995 2003-03-12  Angus Leeming  <leeming@lyx.org>
4996
4997         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4998         duplicate those in LyXFunc::dispatch.
4999
5000         * commandtags.h:
5001         * LyXAction.C:
5002         * ToolbarDefaults.C:
5003         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5004         Add LFUN_FONTFREE_UPDATE.
5005
5006         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5007         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5008
5009         * bufferview_func.[Ch]: several new functions to facilliate
5010         transfer of data to and from the character dialog.
5011
5012 2003-03-12  John Levon  <levon@movementarian.org>
5013
5014         * buffer.C:
5015         * paragraph.h:
5016         * paragraph.C:
5017         * paragraph_funcs.C:
5018         * paragraph_pimpl.C:
5019         * sgml.C:
5020         * tabular.C:
5021         * text.C:
5022         * text3.C: remove META_NEWLINE in favour of an inset
5023
5024         * rowpainter.h:
5025         * rowpainter.C: remove paintNewline (done by inset)
5026
5027 2003-03-12  John Levon  <levon@movementarian.org>
5028
5029         * paragraph_pimpl.C: complain about bad getChar()s
5030         for a while at least
5031
5032 2003-03-12  John Levon  <levon@movementarian.org>
5033
5034         * buffer.h:
5035         * buffer.C: move paragraph read into a separate function,
5036         a little renaming to reflect that.
5037
5038         * bufferparams.h:
5039         * bufferparams.C: remove the author_ids map, not necessary now
5040
5041         * factory.h:
5042         * factory.C: moved Buffer::readInset to here
5043
5044         * paragraph_funcs.h:
5045         * paragraph_funcs.C: readParagraph free function moved from
5046         buffer.C
5047
5048         * tabular.C: name change
5049
5050 2003-03-12  John Levon  <levon@movementarian.org>
5051
5052         * buffer.C:
5053         * ParagraphParameters.C: move par params input to
5054         a read() method
5055
5056         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5057         behave like a normal read from the stream wrt reading
5058         a line vs. a \\token
5059
5060 2003-03-12  John Levon  <levon@movementarian.org>
5061
5062         * paragraph.C:
5063         * ParagraphParameters.h:
5064         * ParagraphParameters.C: move output code to a
5065         ::write() method
5066
5067 2003-03-12  John Levon  <levon@movementarian.org>
5068
5069         * BufferView.C (insertLyXFile):
5070         * buffer.h:
5071         * buffer.C:
5072         * tabular.C: use a parlist iterator for creating the
5073           document.
5074
5075 2003-03-12  John Levon  <levon@movementarian.org>
5076
5077         * buffer.C: make current_change static local not
5078           static file-scope
5079
5080 2003-03-12  John Levon  <levon@movementarian.org>
5081
5082         * buffer.C: fix insertStringAsLines for change tracking
5083
5084 2003-03-12  John Levon  <levon@movementarian.org>
5085
5086         * BufferView.C:
5087         * tabular.C:
5088         * buffer.h:
5089         * buffer.C:
5090         * bufferparams.h:
5091         * bufferparams.C: move author list into params. Rename some
5092           functions. Move the header reading into a separate token
5093           loop. Move the header token reading into BufferParams.
5094
5095 2003-03-12  John Levon  <levon@movementarian.org>
5096
5097         * changes.C: put debug inside lyxerr.debugging() checks
5098
5099 2003-03-11 André Pönitz <poenitz@gmx.net>
5100
5101         * factory.C: make it aware of InsetHFill
5102
5103 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5104
5105         * buffer.C (latexParagraphs): move function from here...
5106         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5107         args.
5108
5109 2003-03-10  Angus Leeming  <leeming@lyx.org>
5110
5111         * LyXAction.C (init): fix bug in poplating array with multiple entries
5112         with the same LFUN (spotted by JMarc).
5113
5114 2003-03-10  John Levon  <levon@movementarian.org>
5115
5116         * text.C:
5117         * text2.C: move getColumnNearX() near its
5118         only call site
5119
5120 2003-03-10  John Levon  <levon@movementarian.org>
5121
5122         * text.C: fix break before a minipage
5123
5124 2003-03-10  John Levon  <levon@movementarian.org>
5125
5126         * text.C: fix the last commit
5127
5128 2003-03-09  John Levon  <levon@movementarian.org>
5129
5130         * lyxtext.h:
5131         * text.C:
5132         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5133         bug 365 (don't break before insets unless needed). Don't
5134         return a value > last under any circumstances.
5135
5136 2003-03-09  Angus Leeming  <leeming@lyx.org>
5137
5138         * BufferView_pimpl.C (trackChanges, dispatch): call
5139         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5140
5141 2003-03-09  Angus Leeming  <leeming@lyx.org>
5142
5143         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5144         than Dialogs::showAboutlyx().
5145
5146 2003-03-09  Angus Leeming  <leeming@lyx.org>
5147
5148         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5149         than Dialogs::showTabularCreate().
5150
5151 2003-03-09  John Levon  <levon@movementarian.org>
5152
5153         * lyxtext.h:
5154         * text.C:
5155         * text2.C: 3rd arg to nextBreakPoint was always the same.
5156           Use references.
5157
5158 2003-03-08  John Levon  <levon@movementarian.org>
5159
5160         * lyxrow.C:
5161         * paragraph.C:
5162         * paragraph.h:
5163         * rowpainter.C:
5164         * text.C:
5165         * text2.C: Remove the "main" bit from the "main body"
5166           notion.
5167
5168 2003-03-08  John Levon  <levon@movementarian.org>
5169
5170         * text.C (leftMargin): The left margin of an empty
5171         manual label paragraph should not include the label width
5172         string length.
5173
5174         * text.C (prepareToPrint): don't attempt to measure hfills
5175         for empty manual label paragraphs - the answer should be 0
5176
5177 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5178
5179         * CutAndPaste.C: remove commented code and reindent.
5180
5181 2003-03-08  John Levon  <levon@movementarian.org>
5182
5183         * lyxfunc.h:
5184         * lyxfunc.C: move reloadBuffer()
5185
5186         * BufferView.h:
5187         * BufferView.C: to here
5188
5189         * lyxvc.C: add comment
5190
5191         * vc-backend.h:
5192         * vc-backend.C: call bv->reload() to avoid
5193           getStatus() check on MENURELOAD
5194
5195 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5196
5197         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5198         to an old format .dep file.
5199
5200 2003-03-07  Angus Leeming  <leeming@lyx.org>
5201
5202         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5203         when the LFUN_MOUSE_RELEASE should have been handled by
5204         inset->localDispatch.
5205
5206 2003-03-07  Angus Leeming  <leeming@lyx.org>
5207
5208         * BufferView_pimpl.C (dispatch):
5209         * LyXAction.C (init):
5210         * ToolbarDefaults.C (init):
5211         * commandtags.h:
5212         * lyxfunc.C (getStatus):
5213         remove LFUN_INSET_GRAPHICS.
5214
5215         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5216
5217 2003-03-07  Angus Leeming  <leeming@lyx.org>
5218
5219         * commandtags.h:
5220         * LyXAction.C (init):
5221         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5222
5223         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5224
5225         * commandtags.h:
5226         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5227
5228         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5229         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5230
5231 2003-03-07  Angus Leeming  <leeming@lyx.org>
5232
5233         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5234         remove "ert".
5235
5236 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5237
5238         * ParagraphList.C (front): new function
5239         (back): implement
5240
5241 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5242
5243         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5244         and top_row_offset_. removed var first_y.
5245         * text.C (top_y):
5246         * text2.C (LyXText, removeRow):
5247         * text3.C:
5248         * BufferView_pimpl.C:
5249         use these methods instead of using first_y
5250
5251 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5252
5253         * text2.C (pasteSelection): adjust for checkPastePossible
5254
5255         * CutAndPaste.C: remove Paragraph * buf and replace with
5256         ParagraphList paragraphs.
5257         (DeleteBuffer): delete
5258         (cutSelection): change the tc type to textclass_type
5259         (copySelection): change the tc type to textclass_type
5260         (copySelection): adjust for ParagraphList
5261         (pasteSelection): change the tc type to textclass_type
5262         (pasteSelection): adjust for Paragraphlist
5263         (nrOfParagraphs): simplify for ParagraphList
5264         (checkPastePossible): simplify for ParagraphList
5265         (checkPastePossible): remove unused arg
5266
5267         * ParagraphList.C (insert): handle the case where there are no
5268         paragraphs yet.
5269
5270         * CutAndPaste.h: make CutAndPaste a namespace.
5271
5272         * text3.C (dispatch): adjust
5273
5274         * text.C (breakParagraph): add a ParagraphList as arg
5275
5276         * paragraph_funcs.C (breakParagraph): change to take a
5277         BufferParams and a ParagraphList as args.
5278         (breakParagraphConservative): ditto
5279         (mergeParagraph): ditto
5280         (TeXDeeper): add a ParagraphList arg
5281         (TeXEnvironment): ditto
5282         (TeXOnePar): ditto
5283
5284         * buffer.C (readLyXformat2): adjust
5285         (insertStringAsLines): adjust
5286         (latexParagraphs): adjust
5287
5288         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5289         (cutSelection): adjust
5290         (pasteSelection): adjust
5291
5292         * BufferView_pimpl.C (insertInset): adjust
5293
5294 2003-03-05  Angus Leeming  <leeming@lyx.org>
5295
5296         * commandtags.h:
5297         * LyXAction.C (init):
5298         * BufferView_pimpl.C (dispatch):
5299         * lyxfunc.C (getStatus):
5300         remove LFUN_CHILD_INSERT.
5301
5302         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5303
5304 2003-03-05  Angus Leeming  <leeming@lyx.org>
5305
5306         * commandtags.h:
5307         * LyXAction.C (init):
5308         * src/factory.C (createInset):
5309         * lyxfunc.C (getStatus):
5310         * text3.C (dispatch):
5311         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5312
5313         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5314
5315 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5316
5317         * ParagraphList.C (insert): handle insert right before end()
5318         (erase): fix cases where it can be first or last paragraph.
5319
5320 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5321
5322         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5323         Paragraph::next and Paragraph::previous
5324         (TeXOnePar): ditto
5325
5326         * text.C (breakParagraph): adjust
5327
5328         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5329         BufferParams& as arg.
5330         (breakParagraph): use ParagraphList::insert
5331         (breakParagraphConservative): take a Buffer* instead of a
5332         BufferParams& as arg.
5333         (breakParagraphConservative): use ParagraphList::insert.
5334
5335         * buffer.C (insertStringAsLines): un-const it
5336         (insertStringAsLines): adjust
5337
5338         * ParagraphList.C (insert): new function
5339
5340         * CutAndPaste.C (pasteSelection): adjust
5341
5342         * text.C (backspace): adjust
5343
5344         * tabular.C (SetMultiColumn): adjust
5345
5346         * CutAndPaste.C (cutSelection): adjust
5347         (pasteSelection): adjust
5348
5349         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5350         Buffer const * as arg
5351
5352         * ParagraphList.C (erase): new function
5353         * paragraph_funcs.C (mergeParagraph): use it
5354         (mergeParagraph): make it take a Buffer* instead of a
5355         BufferParams* as arg
5356
5357         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5358         as arg
5359         (breakParagraphConservative): ditto
5360
5361         * paragraph.h: remove the breakParagraph friend
5362
5363         * paragraph.C (eraseIntern): new function
5364         (setChange): new function
5365
5366         * paragraph_funcs.C (mergeParagraph): make it take a
5367         ParagraphList::iterator instead of a Paragraph *, adjust
5368         accordingly.
5369
5370         * paragraph.h: move an #endif so that the change tracking stuff
5371         also works in the NO_NEXT case.
5372
5373 2003-03-04  Angus Leeming  <leeming@lyx.org>
5374
5375         * commandtags.h:
5376         * LyXAction.C: new LFUN_INSET_MODIFY.
5377
5378         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5379         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5380
5381 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5382
5383         * several files: ws changes only
5384
5385         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5386         (TeXEnvironment): ditto
5387         (TeXDeeper): ditto
5388
5389         * buffer.C (makeLaTeXFile): adjust
5390         (latexParagraphs): make it take ParagraphList::iterator as args
5391
5392 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5393
5394         * buffer.C (latexParagraphs): adjust
5395
5396         * paragraph.C (TeXOnePar): move function...
5397         (optArgInset): move function...
5398         (TeXEnvironment): move function...
5399         * paragraph_pimpl.C (TeXDeeper): move function...
5400         * paragraph_funcs.C: ...here
5401
5402         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5403
5404 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5405
5406         * buffer.C (readInset): remove compability code for old Figure and
5407         InsetInfo insets
5408
5409 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5410
5411         * buffer.C: ws changes
5412         (readInset):
5413
5414         * BufferView_pimpl.C: ditto
5415         * author.C: ditto
5416         * buffer.h: ditto
5417         * bufferlist.h: ditto
5418         * changes.h: ditto
5419         * lyxfunc.C: ditto
5420
5421 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5422
5423         * converter.[Ch]: split into itself +
5424         * graph.[Ch]
5425         * format.[Ch]
5426         * Makefile.am: += graph.[Ch] + format.[Ch]
5427         * MenuBackend.C
5428         * buffer.C
5429         * exporter.C
5430         * importer.C
5431         * lyx_main.C
5432         * lyxfunc.C
5433         * lyxrc.C: added #include "format.h"
5434
5435 2003-02-27  Angus Leeming  <leeming@lyx.org>
5436
5437         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5438           a label.
5439
5440         * factory.C (createInset): add "label" to the factory.
5441
5442         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5443           string and do no more.
5444
5445 2003-02-27  Angus Leeming  <leeming@lyx.org>
5446
5447         * commandtags.h:
5448         * LyXAction.C (init):
5449         * factory.C (createInset):
5450         * BufferView_pimpl.C (dispatch):
5451           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5452
5453         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5454
5455         * lyxfunc.C (dispatch):
5456         * text3.C (dispatch): pass name to params2string.
5457
5458 2003-02-26  Angus Leeming  <leeming@lyx.org>
5459
5460         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5461           blocks together.
5462           Rearrange the ~includes. Strip out the unnecessary ones.
5463
5464         * factory.C (createInset): reformat.
5465           create new insets for the various LFUN_XYZ_APPLY lfuns.
5466
5467 2003-02-26  John Levon  <levon@movementarian.org>
5468
5469         * lyxrow.h:
5470         * lyxrow.C: add isParStart,isParEnd helpers
5471
5472         * paragraph.h: make isInserted/DeletedText take refs
5473
5474         * paragraph_funcs.h:
5475         * paragraph_funcs.C: remove #if 0'd code
5476
5477         * lyxtext.h:
5478         * text3.C:
5479         * text2.C:
5480         * text.C: use lyxrow helpers above.
5481           Move draw and paint routines to RowPainter.
5482           Make several methods use refs not pointers.
5483           Make backgroundColor() const.
5484           Add markChangeInDraw(), isInInset().
5485           Merge changeRegionCase into changeCase.
5486           Make workWidth() shouldn't-happen code into an Assert.
5487
5488         * rowpainter.h:
5489         * rowpainter.C: new class for painting a row.
5490
5491         * vspace.h:
5492         * vspace.C: make inPixels take a ref
5493
5494 2003-02-26  Angus Leeming  <leeming@lyx.org>
5495
5496         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5497         LFUN_REF_APPLY.
5498
5499 2003-02-25  John Levon  <levon@movementarian.org>
5500
5501         * ispell.C: give the forked command a more accurate name
5502
5503 2003-02-22  John Levon  <levon@movementarian.org>
5504
5505         * toc.h:
5506         * toc.C: make TocItem store an id not a Paragraph *
5507           (bug #913)
5508
5509 2003-02-21  Angus Leeming  <leeming@lyx.org>
5510
5511         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5512           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5513           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5514           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5515           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5516           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5517
5518         * BufferView_pimpl.C (dispatch):
5519         * LyXAction.C (init):
5520         * factory.C (createInset):
5521         * lyxfunc.C (getStatus, dispatch):
5522         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5523
5524 2003-02-21  Angus Leeming  <leeming@lyx.org>
5525
5526         * BufferView_pimpl.C (MenuInsertLyXFile):
5527         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5528         * lyxfunc.C (menuNew, open, doImport):
5529           no longer pass a LyXView & to fileDlg.
5530
5531 2003-02-21  Angus Leeming  <leeming@lyx.org>
5532
5533         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5534         * LyXAction.C: change, BIBKEY to BIBITEM.
5535         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5536         Change InsetBibKey to InsetBibitem.
5537         Change BIBKEY_CODE to BIBITEM_CODE.
5538         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5539         * factory.C: replace insetbib.h with insetbibitem.h.
5540         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5541         * paragraph.C: replace insetbib.h with insetbibitem.h.
5542         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5543         Change bibkey() to bibitem().
5544         * text.C: remove insetbib.h.
5545         * text2.C: replace insetbib.h with insetbibitem.h.
5546         change bibkey() to bibitem().
5547         * text3.C: remove insetbib.h.
5548         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5549
5550 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5551
5552         * lyxrc.C (output): enclose user email in quotes (in case there are
5553         several words)
5554
5555 2003-02-18  John Levon  <levon@movementarian.org>
5556
5557         * buffer.h: add std::
5558
5559 2003-02-17  John Levon  <levon@movementarian.org>
5560
5561         * SpellBase.h:
5562         * ispell.h:
5563         * ispell.C:
5564         * pspell.h:
5565         * pspell.C: reworking. Especially in ispell, a large
5566           number of clean ups and bug fixes.
5567
5568         * lyxfunc.C: fix revert to behave sensibly
5569
5570 2003-02-17 André Pönitz <poenitz@gmx.net>
5571
5572         * LyXAction.C:
5573         * commandtags.h: new LFUN_INSERT_BIBKEY
5574
5575         * layout.h:
5576         * lyxlayout.C:
5577         * buffer.C:
5578         * factory.C:
5579         * text.C:
5580         * text2.C:
5581         * text3.C:
5582         * paragraph.[Ch]:
5583         * paragraph_func.C: remove special bibkey handling
5584
5585 2003-02-17  John Levon  <levon@movementarian.org>
5586
5587         * text.C (Delete): fix case where delete at the end of
5588           the very first paragraph would not merge the pars
5589
5590 2003-02-17  John Levon  <levon@movementarian.org>
5591
5592         * lyxrow.C: fix lastPrintablePos()
5593
5594 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5595
5596         * bufferparams.C (writeLaTeX): add a std:here
5597
5598         * buffer.C: and remove a using directive there
5599
5600 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5601
5602         * buffer.C (makeLaTeXFile): move the code that generates the
5603           preamble...
5604
5605         * bufferparams.C (writeLaTeX): ... in this new method
5606
5607         * LaTeXFeatures.C (getEncodingSet): make const
5608           (getLanguages): make const
5609
5610         * MenuBackend.C (binding): returns the binding associated to this
5611           action
5612           (add): sets the status of each item by calling getStatus. Adds
5613           some intelligence.
5614           (read): add support for OptSubMenu
5615           (expand): remove extra separator at the end of expanded menu
5616
5617 2003-02-15  John Levon  <levon@movementarian.org>
5618
5619         * BufferView.C:
5620         * BufferView_pimpl.C:
5621         * bufferlist.h:
5622         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5623           inset code that had no actual effect. Remove unneeded status
5624           code.
5625
5626 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5627
5628         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5629           in preamble
5630
5631 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5632
5633         * text.C (drawLengthMarker): also draw an arrow marker for
5634           symbolic lengths (medskip...)
5635
5636 2003-02-14  John Levon  <levon@movementarian.org>
5637
5638         * tabular.h:
5639         * tabular.C: better method names
5640
5641 2003-02-14  John Levon  <levon@movementarian.org>
5642
5643         * BufferView_pimpl.C:
5644         * bufferlist.C:
5645         * buffer.C:
5646         * converter.C:
5647         * lyx_cb.C:
5648         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5649           it's a more accurate name. Remove some pointless uses.
5650
5651 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5652
5653         * text2.C (LyXText): change order of initilizers to shut off
5654           warnings
5655
5656 2003-02-14  John Levon  <levon@movementarian.org>
5657
5658         * buffer.C: use ParIterator for getParFromID()
5659
5660         * paragraph.h:
5661         * paragraph.C:
5662         * paragraph_pimpl.h:
5663         * paragraph_pimpl.C: remove unused getParFromID()
5664
5665 2003-02-14  John Levon  <levon@movementarian.org>
5666
5667         * buffer.C: remove some very old #if 0'd parse code
5668
5669 2003-02-13  John Levon  <levon@movementarian.org>
5670
5671         * text.h:
5672         * text.C:
5673         * text2.C: move hfillExpansion(), numberOfSeparators(),
5674           rowLast(), rowLastPrintable(), numberofHfills(),
5675           numberOfLabelHfills() ...
5676
5677         * lyxrow.h:
5678         * lyxrow.C: ... to member functions here.
5679
5680         * paragraph.h:
5681         * paragraph.C:
5682         * lyxtext.h:
5683         * text.C: remove LyXText::beginningOfMainBody(), and call
5684           p->beginningOfMainBody() directly. Move the check for
5685           LABEL_MANUAL into the latter.
5686
5687         * text.h:
5688         * text.C:
5689         * text2.C:
5690         * vspace.C:
5691         * BufferView.h:
5692         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5693
5694         * text.h:
5695         * text.C:
5696         * text2.C:
5697         * text3.C:
5698         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5699           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5700
5701 2003-02-13  John Levon  <levon@movementarian.org>
5702
5703         * CutAndPaste.C: remove debug
5704
5705 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5706
5707         * paragraph.C (asString): remove two unused variables
5708
5709         * lyxtextclass.C (readTitleType):
5710           (Read):
5711           (LyXTextClass): handle new members titletype_ and titlename_
5712
5713         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5714
5715 2003-02-09  John Levon  <levon@movementarian.org>
5716
5717         * buffer.h:
5718         * buffer.C: replace hand-coded list with a map for the dep clean
5719
5720 2003-02-08  John Levon  <levon@movementarian.org>
5721
5722         * LaTeX.C: consolidate code into showRunMessage() helper
5723
5724 2003-02-08  John Levon  <levon@movementarian.org>
5725
5726         * lyxfind.C:
5727         * lyxtext.h:
5728         * text2.C:
5729         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5730           and pass the size in explicitly
5731
5732         * BufferView_pimpl.h:
5733         * BufferView_pimpl.C:
5734         * BufferView.h:
5735         * BufferView.C: add getCurrentChange()
5736
5737         * BufferView_pimpl.h:
5738         * BufferView_pimpl.C: handle change lfuns
5739
5740         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5741           for changes. Mark pasted paragraphs as new.
5742
5743         * support/lyxtime.h:
5744         * support/lyxtime.C:
5745         * DepTable.C: abstract time_t as lyx::time_type
5746
5747         * LColor.h:
5748         * LColor.C: add colours for new text, deleted text, changebars
5749
5750         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5751           package use "usenames" option.
5752
5753         * commandtags.h:
5754         * lyxfunc.C:
5755         * LyXAction.C: add change lfuns
5756
5757         * Makefile.am:
5758         * author.h:
5759         * author.C: author handling
5760
5761         * buffer.h:
5762         * buffer.C: add a per-buffer author list, with first entry as
5763           current author. Handle new .lyx tokens for change tracking. Output
5764           author list to .lyx file. Output dvipost stuff to .tex preamble.
5765           Bump lyx format to 222.
5766
5767         * bufferlist.h:
5768         * bufferlist.C: add setCurrentAuthor() to reset current author details
5769           in all buffers.
5770
5771         * bufferparams.h:
5772         * bufferparams.C: add param for tracking
5773
5774         * bufferview_funcs.C: output change info in minibuffer
5775
5776         * Makefile.am:
5777         * changes.h:
5778         * changes.C: add change-tracking structure
5779
5780         * debug.h:
5781         * debug.C: add CHANGES debug flag
5782
5783         * lyxfind.h:
5784         * lyxfind.C: add code for finding the next change piece
5785
5786         * lyxrc.h:
5787         * lyxrc.C: add user_name and user_email
5788
5789         * lyxrow.h:
5790         * lyxrow.C: add a metric for the top of the text line
5791
5792         * lyxtext.h:
5793         * text.C: implement accept/rejectChange()
5794
5795         * lyxtext.h:
5796         * text.C: paint changebars. Paint new/deleted text in the chosen
5797         colours. Strike through deleted text.
5798
5799         * paragraph.h:
5800         * paragraph.C:
5801         * paragraph_pimpl.h:
5802         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5803           in the current change to the insert functions. Rework erase to
5804           mark text as deleted, adding an eraseIntern() and a range-based
5805           erase(). Implement per-paragraph change lookup and
5806           accept/reject.
5807
5808         * paragraph_funcs.C: Fixup paste for change tracking.
5809
5810         * tabular.C: mark added row/columns as new.
5811
5812         * text.C: fix rowLast() to never return -1. Don't allow
5813           spellchecking of deleted text. Track transpose changes. Don't
5814           allow paragraph break or merge where appropriate.
5815
5816         * text2.C: leave cursor at end of selection after a cut.
5817
5818 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5819
5820         * text.C (getLengthMarkerHeight):
5821         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5822         visible on screen too.
5823
5824 2003-02-07  John Levon  <levon@movementarian.org>
5825
5826         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5827
5828 2003-02-05  Angus Leeming  <leeming@lyx.org>
5829
5830         * lyxserver.C (read_ready): revert my patch of 11 September last year
5831         as it sends PC cpu through the roof. Presumably this means that
5832         the lyxserver will no longer run on an Alpha...
5833
5834 2003-01-30  Angus Leeming  <leeming@lyx.org>
5835
5836         * factory.C (createInset): create an InsetCommandParam of type "index"
5837         and use it to 'do the right thing'.
5838
5839         * text2.C (getStringToIndex): ensure that cursor position is always
5840         reset to the reset_cursor position.
5841
5842 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5843
5844         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5845         disabled.
5846
5847 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5848
5849         * bufferview.C:
5850         * lyxcb.C:
5851         * lyxfunc.C: Output messages with identical spelling, punctuation,
5852         and spaces
5853
5854 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5855
5856         * MenuBackend.C (expandFormats): List only viewable export formats
5857         in "View" menu
5858
5859         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5860         message
5861
5862         * lyxfunc.C (getStatus): Make sure that formats other than
5863         "fax" can also be disabled
5864
5865 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5866
5867         * text3.C (dispatch): put the lfuns that insert insets in 3
5868         groups, and call doInsertInset with appropriate arguments.
5869         (doInsertInset): new function, that creates an inset and inserts
5870         it according to some boolean parameters.
5871
5872 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5873
5874         * buffer.C (readFile): remember to pass on 'par' when calling
5875         readFile recursively.
5876
5877 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5878
5879         * MenuBackend.C (expandFormats): add "..." to import formats.
5880
5881 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5882
5883         * paragraph.C (asString): Remove XForms RTL hacks.
5884
5885 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5886         * buffer.C: fix typo
5887
5888 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5889
5890         * Makefile.am (LIBS): delete var
5891         (lyx_LDADD): add @LIBS@ here instead.
5892
5893 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5894
5895         * Clarify the meaning of "wheel mouse jump"
5896
5897 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5898
5899         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5900         tabular in a float
5901
5902 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5903
5904         * importer.C (Loaders): do not preallocate 3 elements in the
5905         vector, since one ends up with 6 elements otherwise
5906
5907 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5908
5909         * DepTable.C (write): write the file name as last element of the
5910         .dep file (because it may contain spaces)
5911         (read): read info in the right order
5912
5913 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5914
5915         * paragraph_pimpl.C (simpleTeXBlanks):
5916         (simpleTeXSpecialChars):
5917         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5918
5919         * tabular.C (latex): add some missing case statements. Reindent.
5920
5921         * MenuBackend.C (expandToc): remove unused variable.
5922
5923 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5924
5925         * LColor.C:
5926         * LaTeX.C:
5927         * LyXAction.C:
5928         * MenuBackend.C:
5929         * buffer.C:
5930         * exporter.C:
5931         * lyxfunc.C:
5932         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5933         and the like.
5934
5935 2003-01-05  John Levon  <levon@movementarian.org>
5936
5937         * BufferView.h:
5938         * BufferView.C: add getEncoding()
5939
5940         * kbsequence.h:
5941         * kbsequence.C: do not store last keypress
5942
5943         * lyxfunc.h:
5944         * lyxfunc.C: store last keypress here instead. Pass encoding
5945           to getISOEncoded()
5946
5947 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5948
5949         * lyx_main.C (init): remove annoying error message when following
5950         symbolic links (bug #780)
5951
5952 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5953
5954         * text.C (insertChar):
5955         * lyxrc.C (getDescription): remove extra spaces
5956
5957 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5958
5959         * lyxrc.C (getDescription): remove extra spaces
5960
5961 2002-12-20  John Levon  <levon@movementarian.org>
5962
5963         * text3.C: hack fix for page up/down across tall rows
5964
5965 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5966
5967         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5968         not been invoked
5969
5970 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5971
5972         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5973         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5974         thesaurus is not compiled in
5975
5976 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5977
5978         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5979
5980 2002-12-16  Angus Leeming  <leeming@lyx.org>
5981
5982         * lyxrc.[Ch]:
5983         * lyx_main.C (init): remove override_x_deadkeys stuff.
5984
5985 2002-12-12  John Levon  <levon@movementarian.org>
5986
5987         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5988           insert. Only remove shift modifier under strict
5989           circumstances.
5990
5991 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5992
5993         * MenuBackend.C (expandToc): fix crash.
5994
5995 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5996
5997         * MenuBackend.C (expandToc): gettext on float names.
5998
5999 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6000
6001         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6002         implement bool empty() [bug 490]
6003
6004 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6005
6006         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6007
6008 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6009
6010         * several files: ws changes
6011
6012 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6013
6014         * text2.C (setCounter): clean up a bit, use boost.format.
6015         (updateCounters): initialize par upon declaration.
6016
6017         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6018         if the layout exists. We do not just store the layout any more.
6019         (SwitchLayoutsBetweenClasses): use boost.format
6020
6021 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6022
6023         * converter.C (convert): if from and to files are the same, use a
6024         temporary files as intermediary
6025
6026 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6027
6028         * commandtags.h:
6029         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6030
6031 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6032
6033         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6034
6035 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6036
6037         * tabular.C (asciiPrintCell): use string(size, char) instead of
6038         explicit loop.
6039
6040         * sgml.C (openTag): fix order of arguments to string constructor
6041         (closeTag): ditto
6042
6043         * lyxfunc.C (dispatch): use boost.format
6044
6045         * lots of files: change "c" -> 'c'
6046
6047 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6048
6049         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6050
6051 2002-11-25  Angus Leeming  <leeming@lyx.org>
6052
6053         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6054
6055         * lyx_main.C (init): compile fix.
6056
6057 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6058
6059         * lyx_cb.C (start): boost.formatify
6060         do not include <iostream>
6061
6062         * lengthcommon.C: ws only
6063
6064         * boost-inst.C,BoostFormat.h: add more explict instantations
6065
6066 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6067
6068         * lots of files: handle USE_BOOST_FORMAT
6069
6070 2002-11-21  John Levon  <levon@movementarian.org>
6071
6072         * pspell.C: fix compile
6073
6074 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6075
6076         * lyxfunc.C (dispatch): use boost::format
6077         (open): ditto
6078         (doImport): ditto
6079
6080         * lyxfont.C (stateText): use boost::format
6081
6082         * lyx_main.C (LyX): use boost::format
6083         (init): ditto
6084         (queryUserLyXDir): ditto
6085         (readRcFile): ditto
6086         (parse_dbg): ditto
6087         (typedef boost::function): use the recommened syntax.
6088
6089         * importer.C (Import): use boost::format
6090
6091         * debug.C (showLevel): use boost::format
6092
6093         * converter.C (view): use boost::format
6094         (convert): ditto
6095         (move): ditto
6096         (scanLog): ditto
6097
6098         * bufferview_funcs.C (currentState): use boost::format
6099
6100         * bufferlist.C (emergencyWrite): use boost::format
6101
6102         * buffer.C (readLyXformat2): use boost::format
6103         (parseSingleLyXformat2Token): ditto
6104
6105         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6106
6107         * LaTeX.C (run): use boost::format
6108
6109         * Chktex.C (scanLogFile): use boost::format
6110
6111         * BufferView_pimpl.C (savePosition): use boost::format
6112         (restorePosition): ditto
6113         (MenuInsertLyXFile): ditto
6114
6115         * BoostFormat.h: help file for explicit instation.
6116
6117 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6118
6119         * tabular.C (latex): Support for block alignment in fixed width
6120         columns.
6121
6122 2002-11-17  John Levon  <levon@movementarian.org>
6123
6124         * BufferView_pimpl.C:
6125         * lyx_cb.C:
6126         * lyxfunc.C: split filedialog into open/save
6127
6128 2002-11-08  Juergen Vigna  <jug@sad.it>
6129
6130         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6131         by my last patch (hopefully).
6132
6133 2002-11-08  John Levon  <levon@movementarian.org>
6134
6135         * iterators.h:
6136         * iterators.C:
6137         * buffer.h:
6138         * buffer.C:
6139         * paragraph.h:
6140         * paragraph.C:
6141         * toc.h:
6142         * toc.C: ParConstIterator, and use it (from Lars)
6143
6144 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6145
6146         * lyxtextclass.[Ch]: revise and add doxygen comments
6147
6148 2002-11-07  John Levon  <levon@movementarian.org>
6149
6150         * text.C: fix progress value for spellchecker
6151
6152         * toc.C: fix navigate menu for insetwrap inside minipage
6153
6154         * paragraph_funcs.C: added FIXME for suspect code
6155
6156 2002-11-07  John Levon  <levon@movementarian.org>
6157
6158         * BufferView_pimpl.C: fix redrawing of insets
6159           on buffer switch
6160
6161 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6162
6163         * text2.C (updateCounters): fix bug 668
6164
6165 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6166
6167         * text3.C (dispatch): Do not make the buffer dirty when moving the
6168         cursor.
6169
6170 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6171
6172         * vc-backend.C: STRCONV
6173         (scanMaster): ditto
6174
6175         * text2.C (setCounter): STRCONV
6176
6177         * paragraph.C (asString): STRCONV
6178
6179         * lyxlength.C (asString): STRCONV
6180         (asLatexString): ditto
6181
6182         * lyxgluelength.C (asString): STRCONV
6183         (asLatexString): ditto
6184
6185         * lyxfunc.C (dispatch): STRCONV
6186         (open): ditto
6187
6188         * lyxfont.C (stateText): STRCONV
6189
6190         * importer.C (Import): STRCONV
6191
6192         * counters.C (labelItem): STRCONV
6193         (numberLabel): ditto
6194         (numberLabel): remove unused ostringstream o
6195
6196         * chset.C: STRCONV
6197         (loadFile): ditto
6198
6199         * bufferview_funcs.C (currentState): STRCONV
6200
6201         * buffer.C (readFile): STRCONV
6202         (asciiParagraph): ditto
6203         (makeLaTeXFile): ditto
6204
6205         * Spacing.C (writeEnvirBegin): STRCONV
6206
6207         * LaTeXFeatures.C (getLanguages): STRCONV
6208         (getPackages): ditto
6209         (getMacros): ditto
6210         (getBabelOptions): ditto
6211         (getTClassPreamble): ditto
6212         (getLyXSGMLEntities): ditto
6213         (getIncludedFiles): ditto
6214
6215         * LaTeX.C: STRCONV
6216         (run): ditto
6217         (scanAuxFile): ditto
6218         (deplog): ditto
6219
6220         * LString.h: add the STRCONV macros
6221
6222         * BufferView_pimpl.C (savePosition): STRCONV
6223         (restorePosition): ditto
6224         (MenuInsertLyXFile): ditto
6225
6226         * vc-backend.C (scanMaster): change from submatch[...] to
6227         submatch.str(...)
6228
6229         * funcrequest.C: include config.h
6230
6231         * factory.C: include config.h
6232
6233         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6234
6235         * box.C: include config.h
6236
6237         * LaTeX.C (scanAuxFile): change from submatch[...] to
6238         submatch.str(...)
6239         (deplog): ditto
6240
6241 2002-10-25  Angus Leeming  <leeming@lyx.org>
6242
6243         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6244
6245         * ispell.[Ch] (setError): new method.
6246         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6247         Use setError() insetead of goto END.
6248
6249         * lyx_cb.C (AutoSave): move out child process into new class
6250         AutoSaveBuffer.
6251
6252 2002-10-30  John Levon  <levon@movementarian.org>
6253
6254         * text3.C: make start appendix undoable
6255
6256 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6257
6258         * lyxlength.C (inPixels): Fix returned value.
6259
6260         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6261         environment.
6262
6263 2002-10-24  Angus Leeming  <leeming@lyx.org>
6264
6265         * lyxgluelength.h: no need to forward declare BufferParams
6266         or BufferView, so don't.
6267
6268 2002-10-21  John Levon  <levon@movementarian.org>
6269
6270         * BufferView.C: menuUndo ->undo, redo
6271
6272         * BufferView.h: document, remove dead, make some methods private
6273
6274         * paragraph_funcs.h:
6275         * paragraph_funcs.C:
6276         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6277
6278         * buffer.h:
6279         * buffer.C:
6280         * sgml.h:
6281         * sgml.C: move sgml open/close tag into sgml.C
6282
6283         * bufferview_funcs.h: unused prototype
6284
6285         * lyxfunc.h:
6286         * lyxfunc.C: remove unused
6287
6288         * lyxtext.h:
6289         * text.C: remove unused
6290
6291 2002-10-21  John Levon  <levon@movementarian.org>
6292
6293         * BufferView.h:
6294         * BufferView.C:
6295         * BufferView_pimpl.h:
6296         * BufferView_pimpl.C: fix mouse wheel handling based on
6297           patch from Darren Freeman
6298
6299 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6300
6301         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6302
6303 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6304
6305         * lyxlength.C (inPixels): Fix hanfling of negative length.
6306         Fix LyXLength::MU case.
6307
6308 2002-10-16  John Levon  <levon@movementarian.org>
6309
6310         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6311
6312 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6313
6314         * converter.C (view): add support for $$i (file name) and $$p
6315         (file path) for the viewer command. If $$i is not specified, then
6316         it is appended to the command (for compatibility with old syntax)
6317
6318 2002-10-14  Juergen Vigna  <jug@sad.it>
6319
6320         * undo_funcs.C (textHandleUndo): alter the order in which the
6321         new undopar is added to the LyXText, as we have to set first
6322         the right prev/next and then add it as otherwise the rebuild of
6323         LyXText is not correct. Also reset the cursor to the right paragraph,
6324         with this IMO we could remove the hack in "redoParagraphs()".
6325
6326 2002-10-09  Angus Leeming  <leeming@lyx.org>
6327
6328         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6329         to turn off an optimisation if a new inset is to be inserted.
6330
6331 2002-10-11 André Pönitz <poenitz@gmx.net>
6332
6333         * lyxtext.h: make some functions public to allow access
6334         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6335
6336 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6337
6338         * text3.C (dispatch): when changing layout, avoid an infinite loop
6339         [bug #652]
6340
6341 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6342
6343         * lyxrc.C (read): treat a viewer or converter command of "none" as
6344         if it were empty.
6345
6346         * MenuBackend.C (expandFormats): for an update, also allow the
6347         formats that are not viewable
6348
6349         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6350         script if it is newer than the lyxrc.defaults in user directory
6351
6352 2002-10-07 André Pönitz <poenitz@gmx.net>
6353
6354         * text.C: Vitaly Lipatov's small i18n fix
6355
6356 2002-09-25  Angus Leeming  <leeming@lyx.org>
6357
6358         * ispell.h: doxygen fix.
6359
6360 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6361
6362         * buffer.h (readFile): Add a new argument to the method, to allow
6363         reading of old-format templates.
6364
6365 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6366
6367         * toc.C (getTocList): Get TOC from InsetWrap.
6368
6369 2002-09-16  John Levon  <levon@movementarian.org>
6370
6371         * lyxfunc.C: check tabular for cut/copy too
6372
6373 2002-09-12  John Levon  <levon@movementarian.org>
6374
6375         * LyXAction.C: tidy
6376
6377         * factory.h:
6378         * factory.C: add header
6379
6380         * paragraph_funcs.h:
6381         * paragraph_funcs.C: cleanup
6382
6383 2002-09-11  John Levon  <levon@movementarian.org>
6384
6385         * PrinterParams.h: odd/even default to true
6386
6387 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6388
6389         * PrinterParams.h: update printer parameters for new xforms dialog
6390
6391 2002-09-11  Angus Leeming  <leeming@lyx.org>
6392
6393         * lyxserver.C (read_ready): re-write to make it more transparent
6394         and to make it work in coherent fashion under Tru64 Unix.
6395
6396 2002-09-11  André Pönitz <poenitz@gmx.net>
6397
6398         * commandtags.h:
6399         * LyXAction.C:
6400         * text3.C: implement LFUN_WORDSEL
6401
6402 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6403
6404         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6405         make floatlist_ a boost::shared_ptr<FloatList>
6406
6407         * lyxtextclass.C: include FloatList.h
6408         (LyXTextClass): initialize floatlist_
6409         (TextClassTags): add TC_NOFLOAT
6410         (Read): match "nofloat" to TC_NOFLOAT and use it.
6411         (readFloat): modify call to floatlist_
6412         (floats): ditto
6413         (floats): ditto
6414
6415         * FloatList.[Ch] (FloatList): remove commented out float
6416         initialization.
6417         (erase): new function
6418
6419 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6420
6421         * MenuBackend.C (expandToc): fix crash when there is no document
6422         open
6423
6424 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6425
6426         * many files: Add insetwrap.
6427
6428 2002-09-09  John Levon  <levon@movementarian.org>
6429
6430         * text2.C: remove confusing and awkward depth wraparound
6431
6432 2002-09-09  John Levon  <levon@movementarian.org>
6433
6434         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6435
6436         * buffer.h:
6437         * buffer.C: remove getIncludeonlyList()
6438
6439         * paragraph.C:
6440         * lyxfunc.C: remove headers
6441
6442 2002-09-09  Juergen Vigna  <jug@sad.it>
6443
6444         * text.C (getColumnNearX): fix form Michael this is most
6445         probably a cut&paste bug.
6446
6447 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6448
6449         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6450
6451         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6452         references, ws changes.
6453
6454         * text2.C (init): update counters after init
6455         (insertParagraph): no need to set counter on idividual paragraphs.
6456         (setCounter): access the counters object in the textclass object
6457         on in the buffer object.
6458         (updateCounters): ditto
6459
6460         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6461         shared_ptr<Counters> to avoid loading counters.h in all
6462         compilation units.
6463         (LyXTextClass): initialize ctrs_
6464         (TextClassTags): add TC_COUNTER, and ...
6465         (Read): use it here.
6466         (CounterTags): new tags
6467         (readCounter): new function
6468         (counters): new funtion
6469         (defaultLayoutName): return a const reference
6470
6471         * counters.C (Counters): remove contructor
6472         (newCounter): remove a couple of unneeded statements.
6473         (newCounter): simplify a bit.
6474         (numberLabel): some small formatting changes.
6475
6476         * buffer.[Ch]: remove all traces of counters, move the Counters
6477         object to the LyXTextClass.
6478
6479 2002-09-06  Alain Castera  <castera@in2p3.fr>
6480
6481         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6482         package to set the horizontal alignment on fixed width columns.
6483
6484         * lyx_sty.C:
6485         * lyx_sty.h: added tabularnewline macro def.
6486
6487         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6488
6489 2002-09-06  John Levon  <levon@movementarian.org>
6490
6491         * LyXAction.C: tooltips for sub/superscript
6492
6493         * MenuBackend.C: a bit more verbose
6494
6495         * lyxfunc.C: tiny clean
6496
6497         * undo_funcs.C: document undo_frozen
6498
6499 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6500
6501         * counters.C (Counters): add missing algorithm counter.
6502
6503         * text2.C (setCounter): lookup the counter with layouts latexname
6504         instead of by section number.
6505         (setCounter): use a hackish way to lookup the correct enum
6506         counter.
6507         a float name->type change
6508         reset enum couners with counter name directly instead of depth value.
6509
6510         * counters.C (Counters): remove the push_backs, change to use the
6511         float type not the float name.
6512         (labelItem): remove unused string, float name->type change
6513
6514         * counters.h: don't include vector, loose the enums and sects vectors
6515
6516 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6517
6518         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6519         (Read): add float->TC_FLOAT to textclassTags
6520         (Read): and handle it in the switch
6521         (readFloat): new function
6522
6523         * FloatList.C (FloatList): comment out the hardcoded float
6524         definitions.
6525
6526         * lyxlayout.h: ws change.
6527
6528 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6529
6530         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6531
6532 2002-09-03  Angus Leeming  <leeming@lyx.org>
6533
6534         * BufferView_pimpl.h: qualified name is not allowed in member
6535         declaration: WorkArea & Pimpl::workarea() const;
6536
6537         * factory.C: added using std::endl directive.
6538
6539         * text3.C: added using std::find and std::vector directives.
6540
6541 2002-08-29  André Pönitz <poenitz@gmx.net>
6542
6543         * lyxtext.h:
6544         * text2.C: remove unused member number_of_rows
6545
6546         * Makefile.am:
6547         * BufferView2.C: remove file, move contents to...
6548         * BufferView.C: ... here
6549
6550         * BufferView_pimpl.C:
6551         * factory.C: move more inset creation to factory
6552
6553         * vspace.C: avoid direct usage of LyXText, ws changes
6554
6555         * BufferView.[Ch]:
6556                 don't provide direct access to WorkArea, use two simple
6557                 acessors haveSelction() and workHeight() instead
6558
6559
6560 2002-08-29  John Levon  <levon@movementarian.org>
6561
6562         * BufferView_pimpl.C (dispatch): do not continue when
6563           no buffer
6564
6565 2002-08-28  André Pönitz <poenitz@gmx.net>
6566
6567         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6568
6569         * BufferView.h:
6570         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6571
6572 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6573
6574         * buffer.C: increment LYX_FORMAT to 221
6575
6576         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6577         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6578
6579         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6580
6581         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6582
6583 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6584
6585         * factory.C (createInset): use LyXTextClass::floats
6586
6587         * MenuBackend.C (expandFloatListInsert):
6588         (expandFloatInsert):
6589         (expandToc):
6590
6591         * text2.C (setCounter):
6592
6593         * LaTeXFeatures.C (useFloat):
6594         (getFloatDefinitions):
6595
6596         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6597
6598         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6599         floatlist_, with accessor floats().
6600
6601         * FloatList.h: remove global FloatList
6602
6603 2002-08-26  André Pönitz <poenitz@gmx.net>
6604
6605         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6606
6607         * BufferView.h:
6608         * BufferView2.C:
6609         * BufferView_pimpl.C:
6610         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6611
6612 2002-08-25  John Levon  <levon@movementarian.org>
6613
6614         * LyXAction.C: fix margin note description
6615
6616 2002-08-24  John Levon  <levon@movementarian.org>
6617
6618         * buffer.C:
6619         * bufferlist.C:
6620         * bufferview_funcs.C:
6621         * lyxfont.C:
6622         * undo_funcs.C: cleanups
6623
6624         * lyxfunc.C: disable CUT/COPY when no selection
6625
6626 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6627
6628         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6629         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6630
6631         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6632         Add backward compatibility to "mono", "gray" and "no".
6633
6634 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6635
6636         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6637         (and file_format >= 200).
6638
6639 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6640
6641         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6642
6643 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6644
6645         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6646
6647 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6648
6649         * BufferView_pimpl.C:
6650         * LyXAction.C:
6651         * buffer.C:
6652         * commandtags.h:
6653         * lyxfunc.C:
6654         * paragraph.[Ch]:
6655         * text2.C:
6656         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6657         inset and code to make it  work with the paragraph code. The inset
6658         can be anywhere in the paragraph, but will only do the expected
6659         thing in LaTeX if the layout file contains the parameter line
6660                         OptionalArgs    1
6661         (or more generally, a nonzero value) for that layout.
6662
6663 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6664
6665         * paragraph.h: remove the declaration of undefined counters class
6666         function.
6667
6668 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6669
6670         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6671         Dr. Richard Hawkins.
6672
6673 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6674
6675         * paragraph_funcs.h: remove some unneeded includes
6676
6677         * text.C (backspace): pasteParagraph now in global scipe
6678
6679         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6680         (pasteSelection): ditto
6681
6682         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6683         * paragraph_funcs.C (pasteParagraph): ... here
6684
6685 2002-08-20  André Pönitz <poenitz@gmx.net>
6686
6687         * commandtags.h: new LFUNs for swapping/copying table row/colums
6688
6689         * LyXAction.C:
6690         * lyxfunc.C: support for new lfuns
6691
6692 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6693
6694         * tabular.C:
6695         * buffer.[Ch]: remove NO_COMPABILITY stuff
6696
6697 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6698
6699         * boost.C (throw_exception): new file, with helper function for
6700         boost compiled without exceptions.
6701
6702         * paragraph.h:
6703         * lyxlength.C:
6704         * buffer.C:
6705         * ParameterStruct.h:
6706         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6707
6708         * bufferlist.C (emergencyWriteAll): use boost bind
6709
6710         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6711
6712         * text.C: include paragraph_funcs.h
6713         (breakParagraph): breakParagraph is now in global scope
6714
6715         * paragraph_funcs.[Ch]: new files
6716
6717         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6718         global scope
6719
6720         * buffer.C: include paragraph_funcs.h
6721         (insertStringAsLines): breakParagraph is now in global scope
6722
6723         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6724         paragraph_funcs.C
6725
6726         * CutAndPaste.C: include paragraph_funcs.h
6727         (cutSelection): breakParagraphConservative is now in global scope
6728         (pasteSelection): ditto
6729
6730         * buffer.h: declare oprator== and operator!= for
6731         Buffer::inset_iterator
6732
6733         * bufferlist.C (emergencyWrite): don't use fmt(...)
6734
6735         * text3.C: add using std::endl
6736
6737         * BufferView.C (moveCursorUpdate): remove default arg
6738
6739 2002-08-20  André Pönitz <poenitz@gmx.net>
6740
6741         * buffer.[Ch]: move inline functions to .C
6742
6743         * BufferView2.C:
6744         * BufferView_pimpl.C:
6745         * text.C:
6746         * buffer.[Ch]: use improved inset_iterator
6747
6748         * buffer.C:
6749         * paragraph.[Ch]: write one paragraph at a time
6750
6751 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6752
6753         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6754         style if style is not specified.
6755
6756 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6757
6758         * text2.C (setCounter): when searching for right label for a
6759         caption, make sure to recurse to parent insets (so that a caption
6760         in a minipage in a figure float works) (bug #568)
6761
6762 2002-08-20  André Pönitz <poenitz@gmx.net>
6763
6764         * text3.C: new file for LyXText::dispatch() and helpers
6765
6766         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6767
6768         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6769
6770 2002-08-19  André Pönitz <poenitz@gmx.net>
6771
6772         * lyxtext.h:
6773         * text.C: new LyXText::dispatch()
6774
6775         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6776
6777 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6778
6779         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6780
6781         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6782         Hebrew text.
6783
6784 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6785
6786         * Makefile.am: use $(variables) instead of @substitutions@
6787
6788 2002-08-15  André Pönitz <poenitz@gmx.net>
6789
6790         * lyxfunc.C:
6791         * BufferView_pimpl.C: streamlining mathed <-> outer world
6792         interaction
6793
6794         * commandtags.h:
6795         * LyXAction.C: remove unused LFUN_MATH
6796
6797 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6798
6799         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6800
6801 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6802
6803         * paragraph.C (Paragraph): reformat a bit
6804         (cutIntoMinibuffer): use builtin InsetList function instad of
6805         doing it manually.
6806         (getInset): ditto
6807
6808         * buffer.C: include boost/bind.hpp, add using std::for_each
6809         (writeFileAscii): use ParagraphList iterators
6810         (validate): use for_each for validate traversal of paragraphs
6811         (getBibkeyList): use ParagraphList iterators
6812         (resizeInsets): use for_each to resizeInsetsLyXText for all
6813         paragraphs.
6814         (getParFromID): use ParagraphList iterators
6815
6816         * BufferView2.C (lockInset): use paragraph list and iterators
6817
6818 2002-08-14  John Levon  <levon@movementarian.org>
6819
6820         * lyxserver.C: remove spurious xforms include
6821
6822 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6823
6824         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6825
6826 2002-08-13  André Pönitz <poenitz@gmx.net>
6827
6828         * LyXAction.[Ch]:
6829         * lyxfunc.C: further cleaning
6830
6831 2002-08-13  André Pönitz <poenitz@gmx.net>
6832
6833         * funcrequest.h: new constructor
6834
6835         * funcrequest.C: move stuff here from .h
6836
6837         * Makefile.am:
6838         * BufferView_pimpl.C:
6839         * LyXAction.C:
6840         * toc.C:
6841         * lyxfunc.C: subsequent changes
6842
6843         * lyxfunc.h: new view() member function
6844
6845         * lyxfunc.C: subsequent changes
6846
6847 2002-08-13  Angus Leeming  <leeming@lyx.org>
6848
6849         * BufferView2.C:
6850         * BufferView_pimpl.C:
6851         * buffer.C:
6852         * converter.C:
6853         * importer.C:
6854         * lyxfunc.C:
6855         * lyxvc.C:
6856         * toc.C:
6857         * vc-backend.C:
6858         changes due to the changed LyXView interface that now returns references
6859         to member variables not pointers.
6860
6861 2002-08-13  Angus Leeming  <leeming@lyx.org>
6862
6863         * WordLangTuple (word, lang_code): return references to strings,
6864         not strings.
6865
6866         * BufferView.h:
6867         * SpellBase.h:
6868         * lyxtext.h: forward-declare WordLangTuple.
6869
6870         * BufferView2.C:
6871         * ispell.C:
6872         * pspell.C:
6873         * text.C: #include "WordLangTuple.h".
6874
6875         * lyxtext.h:
6876         * text.C: (selectNextWordToSpellcheck): constify return type.
6877
6878 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6879
6880         * buffer.C:
6881         * buffer.h:
6882         * lyxtext.h:
6883         * paragraph.C:
6884         * paragraph_pimpl.h:
6885         * text.C:
6886         * text2.C:
6887         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6888         suggested by Angus.
6889         Made updateCounter always count from start of buffer, and removed
6890         second argument (par).
6891         Reverted floats number display to '#'. Perhaps I'll try again when the
6892         code base is sanitized a bit.
6893
6894 2002-08-12  Angus Leeming  <leeming@lyx.org>
6895
6896         * buffer.[Ch] (getLabelList): constify.
6897
6898 2002-08-07  André Pönitz <poenitz@gmx.net>
6899
6900         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6901
6902         * funcrequest.h: extension to keep mouse (x,y) position
6903
6904 2002-08-12  Juergen Vigna  <jug@sad.it>
6905
6906         * BufferView2.C (insertErrors): forbid undo when inserting error
6907         insets.
6908
6909         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6910
6911 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6912
6913         * ParagraphList.[Ch]: new files
6914
6915         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6916
6917         * BufferView2.C (lockInset): ParagraphList changes
6918         * toc.C: ditto
6919         * text2.C: ditto
6920         * bufferlist.C: ditto
6921         * buffer.h: ditto
6922         * buffer.C: ditto
6923
6924 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6925
6926         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6927         unused class variable counter_,
6928
6929         * paragraph.[Ch] (getFirstCounter): delete unused function
6930
6931         * counters.C: include LAssert.h
6932         (reset): add a new function with no arg, change other version to
6933         not have def. arg and to not allow empty arg.
6934
6935         * text2.C (setCounter): remove empty arg from call to Counters::reset
6936
6937 2002-08-11  John Levon  <levon@movementarian.org>
6938
6939         * Makefile.am: add WordLangTuple.h
6940
6941 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6942
6943         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6944         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6945
6946         * insets/insettext.C: InsetList changes
6947
6948         * graphics/GraphicsSupport.C (operator()): InsetList changes
6949
6950         * toc.C (getTocList): InsetList changes
6951
6952         * paragraph_pimpl.[Ch]: InsetList changes
6953
6954         * paragraph.[Ch]: InsetList changes
6955
6956         * buffer.C (inset_iterator): InsetList changes
6957         (setParagraph): ditto
6958         * buffer.h (inset_iterator): ditto
6959         * iterators.C (operator++): ditto
6960         * iterators.h: ditto
6961
6962         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6963
6964         * InsetList.[Ch]: new files, most InsetList handling moved out of
6965         paragraph.C.
6966
6967         * BufferView2.C (removeAutoInsets): InsetList changes
6968         (lockInset): ditto
6969         (ChangeInsets): ditto
6970
6971 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6972
6973         * paragraph_pimpl.h (empty): new function
6974
6975         * paragraph.[Ch] (empty): new function
6976
6977         * other files: use the new Paragraph::empty function
6978
6979 2002-08-09  John Levon  <levon@movementarian.org>
6980
6981         * lyxtext.h: remove unused refresh_height
6982
6983 2002-08-09  John Levon  <levon@movementarian.org>
6984
6985         * Makefile.am:
6986         * sgml.h:
6987         * sgml.C:
6988         * buffer.C:
6989         * paragraph.h:
6990         * paragraph.C: move sgml char escaping out of paragraph
6991
6992         * paragraph.h:
6993         * paragraph.C: remove id setter
6994
6995         * buffer.C:
6996         * paragraph.C:
6997         * paragraph_pimpl.C: remove dead tex_code_break_column
6998
6999         * bufferview_funcs.C: small cleanup
7000
7001         * lyxfunc.C: remove dead proto
7002
7003         * lyxtext.h: make some stuff private. Remove some dead stuff.
7004
7005         * lyxgluelength.C: make as[LyX]String() readable
7006
7007 2002-08-08  John Levon  <levon@movementarian.org>
7008
7009         * LyXAction.h:
7010         * LyXAction.C:
7011         * MenuBackend.C:
7012         * ToolbarDefaults.C:
7013         * lyxfunc.C:
7014         * lyxrc.C:
7015         * toc.C: lyxaction cleanup
7016
7017 2002-08-08  John Levon  <levon@movementarian.org>
7018
7019         * BufferView2.C: small cleanup
7020
7021         * lyxfind.h:
7022         * lyxfind.C: move unnecessary header into the .C
7023
7024 2002-08-08  John Levon  <levon@movementarian.org>
7025
7026         * funcrequest.h: just tedious nonsense
7027
7028         * lyx_main.h:
7029         * lyx_main.C: cleanups
7030
7031         * buffer.C:
7032         * vspace.C: remove dead header lyx_main.h
7033
7034 2002-08-07  Angus Leeming  <leeming@lyx.org>
7035
7036         * Paragraph.[Ch]:
7037         * paragraph_pimpl.h:
7038         Forward declare class Counters in paragraph.h by moving the ctrs member
7039         variable into Paragraph::Pimpl.
7040         (counters): new method, returning a reference to pimpl_->ctrs.
7041
7042         * text2.C: ensuing changes.
7043
7044 2002-08-07  John Levon  <levon@movementarian.org>
7045
7046         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7047
7048         * BufferView_pimpl.C: announce X selection on double/triple
7049           click
7050
7051         * lyx_main.C: use correct bool in batch dispatch
7052
7053         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7054
7055 2002-08-07  André Pönitz <poenitz@gmx.net>
7056
7057         * funcrequest.h: new class to wrap a kb_action and its argument
7058
7059         * BufferView.[Ch]:
7060         * BufferView_pimpl[Ch]:
7061         * LaTeX.C:
7062         * LyXAction.[Ch]:
7063         * lyxfunc.[Ch]:
7064         * lyxrc.C: subsequent changes
7065
7066
7067 2002-08-07  John Levon  <levon@movementarian.org>
7068
7069         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7070           document options change.
7071
7072 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7073
7074         * counters.[Ch]
7075         * text2.C
7076         * paragraph.[Ch]
7077         * makefile.am: move counters functionality over from
7078         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7079
7080 2002-08-06  John Levon  <levon@movementarian.org>
7081
7082         * WordLangTuple.h: new file for word + language code tuple
7083
7084         * SpellBase.h:
7085         * pspell.h:
7086         * pspell.C:
7087         * ispell.h:
7088         * ispell.C:
7089         * lyxtext.h:
7090         * text.C:
7091         * text2.C:
7092         * BufferView.h:
7093         * BufferView2.C: use WordLangTuple
7094
7095         * layout.h:
7096         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7097
7098 2002-08-06  John Levon  <levon@movementarian.org>
7099
7100         * lyx_main.C: fix cmdline batch handling
7101
7102 2002-08-06  André Pönitz <poenitz@gmx.net>
7103
7104         * lyxrc.C: set default for show_banner to true
7105
7106 2002-08-06  John Levon  <levon@movementarian.org>
7107
7108         * pspell.C: fix a crash, and allow new aspell to work
7109
7110 2002-08-06  John Levon  <levon@movementarian.org>
7111
7112         * lyxfunc.C:
7113         * kbmap.C: small cleanup
7114
7115         * vspace.h:
7116         * vspace.C: add const
7117
7118 2002-08-05  John Levon  <levon@movementarian.org>
7119
7120         * LyXAction.C: back to tabular-insert
7121
7122 2002-08-04  John Levon  <levon@movementarian.org>
7123
7124         * BufferView.h:
7125         * BufferView.C: cosmetic change
7126
7127         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7128
7129         * bufferlist.C:
7130         * buffer.h:
7131         * buffer.C:
7132         * lyxcb.h:
7133         * lyxcb.C:
7134         * lyxserver.C:
7135         * lyxvc.C:
7136         * vc-backend.C:
7137         * BufferView2.C: purge all "Lyx" not "LyX" strings
7138
7139         * lyxcursor.h:
7140         * lyxcursor.C: attempt to add some documentation
7141
7142         * lyxfunc.C:
7143         * commandtags.h:
7144         * LyXAction.C:
7145         * ToolbarDefaults.C:
7146         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7147           merge with LFUN_TABULAR_INSERT
7148
7149         * Makefile.am:
7150         * SpellBase.h:
7151         * ispell.h:
7152         * ispell.C:
7153         * pspell.h:
7154         * pspell.C: split up i/pspell implementations into separate
7155           files, many cleanups
7156
7157         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7158
7159         * text2.C: some cleanup
7160
7161         * lyxfunc.C: don't check for isp_command == "none" any more, it
7162           didn't make any sense
7163
7164 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7165
7166         * counters.[Ch]
7167         * text2.C
7168         * paragraph.[Ch]
7169         * makefile.am: move counters functionality over
7170         from text2.C/paragraph.[Ch] to counters.[Ch], and
7171         make proper C++.
7172 2002-08-02  John Levon  <levon@movementarian.org>
7173
7174         * buffer.C: s/lyxconvert/lyx2lyx/
7175
7176 2002-08-02  Angus Leeming  <leeming@lyx.org>
7177
7178         * lyxlex.C: revert John's change as it breaks reading of the user
7179         preamble.
7180
7181 2002-08-02  Angus Leeming  <leeming@lyx.org>
7182
7183         * importer.C (Import):
7184         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7185         changes due to LyXView::view() now returning a boost::shared_ptr.
7186
7187 2002-08-02  John Levon  <levon@movementarian.org>
7188
7189         * lyxlex.C: small cleanup
7190
7191 2002-08-02  John Levon  <levon@movementarian.org>
7192
7193         * text2.C (status): small cleanup, no logic change
7194
7195 2002-08-01  John Levon  <levon@movementarian.org>
7196
7197         * buffer.h:
7198         * buffer.C (writeFile): don't output alerts, caller
7199           handles this
7200
7201         * bufferlist.C:
7202         * lyx_cb.C: from above
7203
7204         * lyxfunc.C: allow to open non-existent files
7205
7206 2002-07-31  John Levon  <levon@movementarian.org>
7207
7208         * lyxserver.C: don't let incidental errors get
7209           in the way (errno)
7210
7211 2002-07-30  John Levon  <levon@movementarian.org>
7212
7213         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7214
7215 2002-07-30  John Levon  <levon@movementarian.org>
7216
7217         * lyxserver.h:
7218         * lyxserver.C: remove I/O callback too
7219
7220 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7221
7222         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7223         log.
7224
7225 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7226
7227         * many files: strip,frontStrip -> trim,ltrim,rtrim
7228
7229 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7230
7231         * PrinterParams.h: remove extern containsOnly, and include
7232         support/lstrings.h instead.
7233
7234         * LaTeX.C (scanAuxFile): modify because of strip changes
7235         (deplog): ditto
7236         * buffer.C (makeLaTeXFile): ditto
7237         * bufferparams.C (writeFile): ditt
7238         * lyxfont.C (stateText): ditto
7239         * lyxserver.C (read_ready): ditto
7240         * vc-backend.C (scanMaster): ditto
7241
7242         * BufferView_pimpl.h: ws changes
7243
7244         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7245
7246 2002-07-26  André Pönitz <poenitz@gmx.net>
7247
7248         * kb_sequence.C: remove unnedred usings
7249
7250 2002-07-26  Juergen Vigna  <jug@sad.it>
7251
7252         * lyxfind.C (LyXReplace): we have to check better if the returned
7253         text is not of theLockingInset()->getLockingInset().
7254
7255 2002-07-25  Juergen Vigna  <jug@sad.it>
7256
7257         * lyxfind.C (LyXReplace): don't replace if we don't get the
7258         right LyXText.
7259
7260         * undo_funcs.C (createUndo): remove debugging code.
7261
7262 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7263
7264         * buffer.C (parseSingleLyXformat2Token): Use default placement
7265         when reading old floats.
7266
7267         * FloatList.C (FloatList): Change the default placement of figure
7268         and tables to "tbp".
7269
7270 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7271
7272         * MenuBackend.C: using std::max
7273
7274 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7275
7276         * MenuBackend.C (expandToc):
7277         (expandToc2): code moved from xforms menu frontend. It is now
7278         generic and TOCs are transparent to menu frontends.
7279
7280 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7281
7282         * toc.C (getTocList): protect against buf=0
7283
7284         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7285         Menu as first parameter. Now, this calls itself recursively to
7286         expand a whole tree (this will be useful for TOC handling)
7287         (expandFloatInsert): remove 'wide' version of floats
7288
7289         * MenuBackend.h (submenuname): returns the name of the submenu.
7290         (submenu): returns the submenu itself, provided it has been
7291         created by MenuBackend::expand
7292
7293 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7294
7295         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7296         insets which have noFontChange == true. (bug #172)
7297
7298 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7299
7300         * BufferView_pimpl.C: add connection objects and use them...
7301         (Pimpl): here.
7302
7303 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7304
7305         * MenuBackend.C (expandLastfiles):
7306         (expandDocuments):
7307         (expandFormats):
7308         (expandFloatListInsert):
7309         (expandFloatInsert):
7310         (expand): split expand in parts
7311
7312 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7313
7314         * lyx_gui.C: use lyx_gui::exit()
7315
7316 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7317
7318         * LyXAction.C: show the failing pseudo action
7319
7320 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7321
7322         * buffer.C (readFile): Run the lyxconvert script in order to read
7323         old files.
7324
7325 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7326
7327         * LyXAction.C:
7328         * commandtags.h:
7329         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7330
7331 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7332
7333         * LyXAction.C:
7334         * commandtags.h:
7335         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7336
7337 2002-07-22  Herbert Voss  <voss@lyx.org>
7338
7339         * lengthcommon.C:
7340         * lyxlength.[Ch]: add support for the vertical lengths
7341
7342 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7343
7344         * toc.[Ch]: std:: fixes
7345
7346 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7347
7348         * lyxrc.C: do not include lyx_main.h
7349
7350         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7351         for layouts
7352
7353         * lyxrc.C:
7354         * encoding.C:
7355         * bufferlist.C:
7356         * BufferView2.C: include "lyxlex.h"
7357
7358         * tabular.h:
7359         * bufferparams.h: do not #include "lyxlex.h"
7360
7361         * lyxtextclasslist.C (Add): remove method
7362         (classlist): renamed to classlist_
7363
7364         * paragraph_pimpl.C:
7365         * paragraph.C:
7366         * text2.C:
7367         * CutAndPaste.C:
7368         * bufferview_funcs.C:
7369         * bufferlist.C:
7370         * text.C:
7371         * LaTeXFeatures.C:
7372         * buffer.C:
7373         * toc.C (getTocList): use BufferParams::getLyXTextClass
7374
7375         * toc.C (getTocList): use InsetFloat::addToToc
7376
7377         * toc.[Ch]: new files, containing helper functions to handle table
7378         of contents
7379
7380         * lyxfunc.C (dispatch): no need to remove spaces around command
7381         given as a string
7382         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7383         first command of the sequence; it is not very clever, but I do not
7384         have a better idea, actually
7385
7386         * LyXAction.C (LookupFunc): make sure to remove space at the
7387         beginning and end of the command
7388
7389 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7390
7391         * MenuBackend.C (getMenubar): new method: return the menubar of
7392         this menu set
7393         (read): treat differently reading of menu and menubar (in
7394         particular, the menubar has no name now)
7395         (Menu::menubar): remove
7396
7397         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7398         saving is finished
7399
7400 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7401
7402         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7403         a bibitem inset in a RTL paragraph.
7404
7405 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7406
7407         * paragraph_pimpl.C: constify
7408
7409         * BufferView_pimpl.C:
7410         * LaTeX.C:
7411         * lyxfunc.C: fix dispatch in a nicer way
7412
7413 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7414
7415         * lyxfunc.C (dispatch):
7416         * BufferView_pimpl.C:
7417         * BufferView_pimpl.h:
7418         * BufferView.C:
7419         * BufferView.h: rename Dispatch() to dispatch()
7420
7421         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7422
7423         * lyxlayout.C (Read): honor DependsOn tag
7424
7425         * lyxlayout.[Ch] (depends_on): new method
7426
7427         * version.C.in: update lyx_docversion
7428
7429         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7430
7431         * paragraph.C (validate): remove from here...
7432         * paragraph_pimpl.C (validate): ... and move here
7433         (isTextAt): make it const
7434
7435         * buffer.C (getLists): ws cleanup
7436
7437 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7438
7439         * language.C (read): Use iso8859-1 encoding in latex_lang
7440         (this prevents LyX from crashing when using iso10646-1 encoding).
7441
7442 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7443
7444         * text2.C (toggleInset): if cursor is inside an inset, close the
7445         inset and leave cursor _after_ it
7446
7447 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7448
7449         * lyxfunc.C: move minibuffer completion handling out of here
7450
7451 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7452
7453         * BufferView_pimpl.C:
7454         * LaTeX.C: fix dispatch calls
7455
7456 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7457
7458         * text.C (drawChars): Fix Arabic text rendering.
7459
7460 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7461
7462         * LyXAction.C:
7463         * commandtags.h:
7464         * lyxfunc.C: remove message-push/pop
7465
7466         * lyxserver.C:
7467         * lyxfunc.h:
7468         * lyxfunc.C: rationalise some code by removing verboseDispatch
7469           in favour of a bool argument to dispatch()
7470
7471 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7472
7473         * lyx_main.C (init): make sure to read symlinks as absolute paths
7474
7475 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7476
7477         * lyxfunc.h:
7478         * lyxfunc.C: no need for commandshortcut to be a member
7479
7480 2002-07-15  André Pönitz <poenitz@gmx.net>
7481
7482         * converter.C: add support for $$s (scripts from lib/scripts dir)
7483         * lyx_main.C: white space
7484
7485 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7486
7487         * bufferlist.C:
7488         * lyxrc.h:
7489         * lyxrc.C: remove second exit confirmation
7490
7491 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7492
7493         * BufferView.h:
7494         * BufferView.C:
7495         * BufferView2.C:
7496         * BufferView_pimpl.h:
7497         * BufferView_pimpl.C:
7498         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7499
7500 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7501
7502         * MenuBackend.C (expand): add numeric shortcuts to document menu
7503
7504         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7505
7506 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7507
7508         * lyxfont.C (setLyXFamily):
7509         (setLyXSeries):
7510         (setLyXShape):
7511         (setLyXSize):
7512         (setLyXMisc):
7513         (lyxRead):
7514         * debug.C (value):
7515         * buffer.C (asciiParagraph): use ascii_lowercase
7516
7517 2002-07-15  Mike Fabian  <mfabian@suse.de>
7518
7519         * lyxlex_pimpl.C (search_kw):
7520         * lyxlex.C (getLongString):
7521         * converter.h (operator<):
7522         * converter.C (operator<):
7523         * buffer.C (parseSingleLyXformat2Token):
7524         (asciiParagraph):
7525         * ToolbarDefaults.C (read):
7526         * MenuBackend.C (checkShortcuts):
7527         (read):
7528         * LColor.C (getFromGUIName):
7529         (getFromLyXName): use the compare_ascii_no_case instead of
7530         compare_no_case, because in turkish, 'i' is not the lowercase
7531         version of 'I', and thus turkish locale breaks parsing of tags.
7532
7533 2002-07-16  Angus Leeming  <leeming@lyx.org>
7534
7535         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7536         now takes a Buffer const & argument.
7537
7538 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7539
7540         * BufferView.C (resize): check there's a buffer to resize
7541
7542 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7543
7544         * lyxfunc.C: remove dead code
7545
7546         * lyxserver.h:
7547         * lyxserver.C: use lyx_guii::set_read_callback
7548
7549 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7550
7551         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7552         an inset in a RTL paragraph.
7553
7554 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7555
7556         * lyxfunc.C: repaint after a font size update
7557
7558 2002-07-15  André Pönitz <poenitz@gmx.net>
7559
7560         * lyxlength.C: inBP should be able to return negative values
7561
7562 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7563
7564         * lyxfunc.C: use lyx_gui::update_fonts()
7565
7566 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7567
7568         * lyxfunc.C: use lyx_gui::update_color()
7569
7570 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7571
7572         * bufferlist.C:
7573         * lyxfunc.h:
7574         * lyxfunc.C:
7575         * lyxrc.h:
7576         * lyxrc.C: remove file->new asks for name option, and let
7577           buffer-new take an argument
7578
7579 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7580
7581         * BufferView_pimpl.C: remove unneeded extra repaint()
7582
7583 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7584
7585         * LyXAction.C: allow command-sequence with NoBuffer
7586
7587         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7588
7589 2002-07-10  Angus Leeming  <leeming@lyx.org>
7590
7591         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7592
7593 2002-07-09  Angus Leeming  <leeming@lyx.org>
7594
7595         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7596
7597 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7598
7599         * lengthcommon.h: whitespace
7600
7601         * lyxfunc.C: update scrollbar after goto paragraph
7602
7603         * lyxtext.h: factor out page break drawing, and fix it so
7604           page break/added space paints as selected nicely
7605
7606 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7607
7608         * BufferView_pimpl.C: add FIXMEs, clean up a little
7609
7610 2002-07-09  André Pönitz <poenitz@gmx.net>
7611
7612         * lyxfont.[Ch]: support for wasy symbols
7613
7614 2002-07-08  André Pönitz <poenitz@gmx.net>
7615
7616         * BufferView_pimpl.C: apply John's patch for #93.
7617
7618 2002-07-05  Angus Leeming  <leeming@lyx.org>
7619
7620         * BufferView_pimpl.C (buffer): generate previews if desired.
7621
7622         * LColor.h: add "preview" to the color enum.
7623
7624         * LColor.C (LColor): add a corresponding entry to the items array.
7625
7626         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7627         with this buffer.
7628
7629 2002-07-05  Angus Leeming  <leeming@lyx.org>
7630
7631         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7632         The body of the code is now in the method that is passed an ostream &
7633         rather than a file name.
7634         Pass an additional only_preamble parameter, useful for the forthcoming
7635         preview stuff.
7636
7637 2002-07-03  André Pönitz <poenitz@gmx.net>
7638
7639         * lyxfunc.C: simplify getStatus() a bit for math stuff
7640
7641 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7642
7643         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7644
7645 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7646
7647         * text.C (changeRegionCase): do not change case of all the
7648         document when region ends at paragraph end (bug #461)
7649
7650 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7651
7652         * paragraph.C (startTeXParParams):
7653         (endTeXParParams): add \protect when necessary
7654
7655 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7656
7657         * BufferView_pimpl.C (workAreaExpose): remove warning
7658
7659 2002-06-27  Angus Leeming  <leeming@lyx.org>
7660
7661         * Makefile.am: add lyxlayout_ptr_fwd.h.
7662
7663 2002-06-26  André Pönitz <poenitz@gmx.net>
7664
7665         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7666
7667 2002-06-25  Angus Leeming  <leeming@lyx.org>
7668
7669         * lyxfunc.C (dispatch): Comment out the call to
7670         grfx::GCache::changeDisplay. The method no longer exists now that the
7671         pixmap generation part of the graphics loader has been moved into
7672         InsetGraphics.
7673
7674 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7675
7676         * text2.C: layout as layout
7677
7678         * text.C: layout as layout
7679
7680         * tabular.C (OldFormatRead): layout as layout
7681
7682         * paragraph_pimpl.C (TeXDeeper): layout as layout
7683         (realizeFont): layout as layout
7684
7685         * paragraph.C (writeFile): layout as layout
7686         (validate): layout as layout
7687         (getFont): layout as layout
7688         (getLabelFont): layout as layout
7689         (getLayoutFont): layout as layout
7690         (breakParagraph): layout as layout
7691         (stripLeadingSpaces): layout as layout
7692         (getEndLabel): layout as layout
7693         (getMaxDepthAfter): layout as layout
7694         (applyLayout): layout as layout
7695         (TeXOnePar): layout as layout
7696         (simpleTeXOnePar): layout as layout
7697         (TeXEnvironment): layout as layout
7698         (layout): layout as layout
7699         (layout): layout as layout
7700
7701         * lyxtextclass.C (compare_name): new functor to work with
7702         shared_ptr, layout as layout
7703         (Read): layout as layout
7704         (hasLayout): layout as layout
7705         (operator): layout as layout
7706         (delete_layout): layout as layout
7707         (defaultLayout): layout as layout
7708
7709         * lyxlayout_ptr_fwd.h: new file
7710
7711         * lyxlayout.C (Read): layout as layout
7712
7713         * lyx_cb.C (MenuInsertLabel): layout as layout
7714
7715         * bufferlist.C (newFile): layout as layout
7716
7717         * buffer.C (readLyXformat2): layout as layout
7718         (parseSingleLyXformat2Token): layout as layout
7719         (insertStringAsLines): layout as layout
7720         (asciiParagraph): layout as layout
7721         (latexParagraphs): layout as layout
7722         (makeLinuxDocFile): layout as layout
7723         (simpleLinuxDocOnePar): layout as layout
7724         (makeDocBookFile): layout as layout
7725         (simpleDocBookOnePar): layout as layout
7726         (getLists): layout as layout
7727
7728         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7729
7730         * CutAndPaste.C (cutSelection): layout as layout
7731         (pasteSelection): layout as layout
7732         (SwitchLayoutsBetweenClasses): layout as layout
7733
7734         * BufferView_pimpl.C (Dispatch): layout as layout
7735         (smartQuote): layout as layout
7736
7737         * BufferView2.C (unlockInset): layout as layout
7738
7739 2002-06-24  André Pönitz <poenitz@gmx.net>
7740
7741         * lyxfunc.C: fix #487
7742
7743 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7744
7745         * lyxrc.h:
7746         * lyxrc.C:
7747         * lyxfunc.C: remove display_shortcuts, show_banner
7748
7749 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7750
7751         * Buffer_pimpl.C: oops, update on resize
7752
7753 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7754
7755         * buffer.C:
7756         * converter.C:
7757         * exporter.C:
7758         * lyxfunc.C:
7759         * BufferView.h:
7760         * BufferView.C: use repaint()
7761
7762         * BufferView_pimpl.h:
7763         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7764           as it's a clearer description. Remove superfluous
7765           redraws.
7766
7767 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7768
7769         * text.C: fix bug 488. Not ideal, but getting
7770           getWord() to work properly for the insets that
7771           matter is more difficult ...
7772
7773 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7774
7775         * BufferView_pimpl.C:
7776         * LyXAction.C:
7777         * commandtags.h:
7778         * lyxfunc.C: remove the six million index lyxfuncs to just
7779           one, and DTRT (bug 458)
7780
7781 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7782
7783         * BufferView.h:
7784         * BufferView.C:
7785         * BufferView_pimpl.h:
7786         * BufferView_pimpl.C: clean up resize() stuff,
7787           and unnecessary updateScreen()s
7788
7789 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7790
7791         * BufferView.h:
7792         * BufferView.C:
7793         * BufferView_pimpl.h:
7794         * BufferView_pimpl.C:
7795         * lyxfind.h:
7796         * lyxfind.C:
7797         * minibuffer.C: remove focus management of workarea,
7798           not needed. Use screen's greyOut()
7799
7800 2002-06-17  Herbert Voss  <voss@lyx.org>
7801
7802         * converter.C: (convert) do not post a message, when converting
7803         fails, let the calling function decide what to do in this case
7804
7805 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7806
7807         * lyxfunc.C: tidy up a little
7808
7809 2002-06-16    <alstrup@diku.dk>
7810
7811         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7812         Got rid of FORMS_H_LOCATION include. Now we are
7813         GUII.
7814
7815 2002-06-15  LyX Development team  <lyx@rilke>
7816
7817         * buffer.[Ch] (sgmlOpenTag):
7818         (sgmlCloseTag): Added support for avoiding pernicious mixed
7819         content. Return number of lines written.
7820
7821         (makeLinuxDocFile):
7822         (makeDocBookFile): Fixed calls to sgml*Tag.
7823         Simple white space clean.
7824
7825         (simpleDocBookOnePar): Simple white space clean.
7826
7827         * tabular.[Ch] (docBook): Renamed to docbook and got another
7828         argument to related with the pernicious mixed content.
7829
7830         (docbookRow): Fixed calls for docbook inset method.
7831
7832 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7833
7834         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7835         so it's X11 independent.
7836
7837         * kb*.[Ch]: ditto.
7838
7839         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7840
7841 2002-06-15  Lyx Development team  <lyx@electronia>
7842
7843         * intl.h: Renamed getTrans to getTransManager.
7844
7845 2002-06-14  Angus Leeming  <leeming@lyx.org>
7846
7847         * Makefile.am: nuke forgotten stl_string_fwd.h.
7848
7849 2002-06-12  Angus Leeming  <leeming@lyx.org>
7850
7851         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7852
7853 2002-06-13  Angus Leeming  <leeming@lyx.org>
7854
7855         * LaTeX.C:
7856         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7857
7858 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7859
7860         * kbmap.C (getiso): add support for cyrillic and greek
7861
7862 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7863
7864         * BufferView.h:
7865         * BufferView.C:
7866         * BufferView_pimpl.h:
7867         * BufferView_pimpl.C: move bogus scrolling logic
7868           to xforms
7869
7870 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7871
7872         * lyxfunc.C:
7873         * BufferView_pimpl.C: view->resize() change
7874
7875 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7876
7877         * BufferView_pimpl.C: topCursorVisible
7878           prototype change
7879
7880 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7881
7882         * Makefile.am:
7883         * lyx_gui.h:
7884         * lyx_gui.C: move to frontends/
7885
7886         * main.C:
7887         * lyx_main.h:
7888         * lyx_main.C: changes from above
7889
7890 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7891
7892         * intl.C:
7893         * intl.h:
7894         * kbmap.C:
7895         * kbsequence.C:
7896         * lyx_cb.C:
7897         * lyx_main.C: minor tidy
7898
7899 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7900
7901         * BufferView_pimpl.h:
7902         * BufferView_pimpl.C:
7903         * BufferView.h:
7904         * BufferView.C: make painter() const,
7905           remove dead code
7906
7907         * BufferView2.C: use screen() accessor
7908
7909         * lyx_main.h:
7910         * lyx_main.C: some minor cleanup
7911
7912 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7913
7914         * BufferView_pimpl.h:
7915         * BufferView_pimpl.C: remove enter/leaveView,
7916           use workHeight()
7917
7918 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7919
7920         * BufferView.h:
7921         * BufferView.C:
7922         * BufferView2.C:
7923         * BufferView_pimpl.h:
7924         * BufferView_pimpl.C: only construct screen once,
7925           rename
7926
7927         * lyxrc.C: remove pointless comment
7928
7929 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7930
7931         * BufferView.h:
7932         * BufferView.C: remove active() and belowMouse()
7933
7934         * BufferView_pimpl.h:
7935         * BufferView_pimpl.C: use workarea() not workarea_,
7936           and make it use a scoped_ptr instead
7937
7938 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7939
7940         * lyx_gui.C: add debug message on BadWindow
7941
7942 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7943
7944         * sp_spell.C: fdopen is not part of the C++ standard.
7945
7946         * paragraph.C (InsetIterator): use >= instead of ==
7947
7948 2002-06-07  Angus Leeming  <leeming@lyx.org>
7949
7950         Fixes needed to compile with Compaq cxx 6.5.
7951         * BufferView_pimpl.C:
7952         * DepTable.C:
7953         * buffer.C:
7954         * converter.C:
7955         * encoding.C:
7956         * lyx_gui.C:
7957         * lyx_main.C:
7958         * lyxtextclasslist.C:
7959         * minibuffer.C:
7960         * sp_spell.C:
7961         * tabular_funcs.C:
7962         * vc-backend.C:
7963         all c-library variables have been moved into namespace std. Wrap
7964         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7965
7966         * lyxlength.C:
7967         * tabular-old.C:
7968         * tabular.C:
7969         Add a using std::abs declaration.
7970
7971         * kbmap.h (modifier_pair):
7972         * paragraph.h (InsetTable, InsetList):
7973         * lyxfont.h (FontBits):
7974         type definition made public.
7975
7976         * bufferlist.C (emergencyWriteAll): the compiler complains that
7977         there is more than one possible lyx::class_fun template to choose from.
7978         I re-named the void specialisation as lyx::void_class_fun.
7979
7980         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7981
7982         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7983         the compiler is is unable to find tostr in write_attribute.
7984
7985 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7986
7987         * buffer.C (sgmlError): hide #warning
7988
7989 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7990
7991         * xtl/*: get rid of xtl, which is not in use anyway
7992
7993         * LyXAction.C (init):
7994         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7995         were unimplemented xtl experimentation
7996
7997 2002-06-04  André Pönitz <poenitz@gmx.net>
7998
7999         * lyxfunc.C: disable array operation on simple formulae
8000
8001 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8002
8003         * converter.C: constify a bit
8004
8005 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8006
8007         * lyx_gui.C: check xforms version correctly
8008
8009 2002-04-30  Herbert Voss  <voss@lyx.org>
8010
8011         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8012         "keep" option
8013
8014 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8015
8016         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8017           attempt to register it with a VCS)
8018
8019 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8020
8021         * lyx_main.C (init): honor variables LYX_DIR_13x and
8022         LYX_USERDIR_13x
8023
8024 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8025
8026         * buffer.h:
8027         * buffer.C:
8028         * lyx_main.C: fix a crash on bad command line,
8029           and give a useful exit status on error
8030
8031         * lyxfunc.C (doImport): allow -i lyx to work
8032
8033 2002-03-30  André Pönitz <poenitz@gmx.net>
8034
8035         * lyxfunc.C: mathed font changes
8036
8037 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8038
8039         * LaTeX.C:
8040         * importer.h:
8041         * importer.C:
8042         * lyx_sty.h:
8043         * lyx_sty.C:
8044         * lyxlex.C:
8045         * lyxrow.h:
8046         * lyxtext.h:
8047         * paragraph.h:
8048         * paragraph.C:
8049         * texrow.h:
8050         * texrow.C:
8051         * text.C:
8052         * trans_mgr.h: srcdocs, and some minor cleanups
8053
8054 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8055
8056         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8057         call getFont all the time)
8058
8059 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8060
8061         * switch from SigC signals to boost::signals
8062
8063 2002-05-29  André Pönitz <poenitz@gmx.net>
8064
8065         * paragraph_pimpl.C (getChar): don't call size() too often...
8066
8067 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8068
8069         * paragraph_pimpl.C (insertChar): do not try to update tables when
8070         appending (pos == size())
8071
8072         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8073         in order to reduce drastically the number of comparisons needed to
8074         parse a large document
8075
8076 2002-05-29  André Pönitz <poenitz@gmx.net>
8077
8078         * text.C:
8079         * text2.C:
8080         * lyxtextclass.C:
8081         * sp_pspell.h:
8082         * textclasslist.[Ch]:
8083         * sp_ispell.h: whitespace change
8084
8085 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8086
8087         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8088         lyxaction directly now.
8089
8090 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8091
8092         * trans.C:
8093         * lyxfont.C:
8094         * lyxvc.C: remove unused headers
8095
8096 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8097
8098         * Makefile.am:
8099         * buffer.h:
8100         * undostack.h:
8101         * undostack.C:
8102         * undo_funcs.h:
8103         * undo_funcs.C: some cleanups. Use shared_ptr
8104           and a template for the undo stacks.
8105
8106 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8107
8108         * BufferView_pimpl.h:
8109         * BufferView_pimpl.C:
8110         * kbmap.h:
8111         * kbmap.C:
8112         * kbsequence.h:
8113         * kbsequence.C:
8114         * lyxfunc.h:
8115         * lyxfunc.C:
8116         * text2.C: use key_state/mouse_state
8117
8118 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8119
8120         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8121         and LSubstring
8122
8123         * chset.C: change include order
8124         (loadFile): use boost regex and get rid of LRegex and LSubstring
8125
8126         * Makefile.am (BOOST_LIBS): new variable
8127         (lyx_LDADD): use it
8128
8129         * LaTeX.C: change include order.
8130         (scanAuxFile): use boost regex and get rid of LRegex and
8131         LSubstring
8132         (deplog): ditto
8133
8134 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8135
8136         * ColorHandler.h:
8137         * ColorHandler.C:
8138         * FontInfo.h:
8139         * FontInfo.C: moved to frontends/xforms/
8140
8141         * FontLoader.h:
8142         * FontLoader.C: moved into frontends for GUIIzation
8143
8144         * Makefile.am:
8145         * lyx_gui.C:
8146         * lyxfont.C:
8147         * lyxfunc.C: changes from above
8148
8149 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8150
8151         * LColor.C: remove spurious X include
8152
8153         * BufferView_pimpl.C:
8154         * Makefile.am:
8155         * font.h:
8156         * font.C:
8157         * text.C:
8158         * text2.C: move font metrics to frontends/
8159
8160 2002-05-24  Juergen Vigna  <jug@sad.it>
8161
8162         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8163         setting the undo_cursor.
8164
8165         * ParagraphParameters.h: include local includes first.
8166
8167 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8168
8169         * BufferView_pimpl.C:
8170         * BufferView_pimpl.h:
8171         * Makefile.am:
8172         * WorkArea.h:
8173         * WorkArea.C:
8174         * screen.C: move WorkArea into frontends/
8175
8176         * lyxscreen.h:
8177         * screen.C:
8178         * text.C:
8179         * BufferView.C:
8180         * BufferView2.C: move LyXScreen into frontends/
8181
8182         * lyxlookup.h:
8183         * lyxlookup.C:
8184         * lyx_gui.C: move lyxlookup into frontends/xforms/
8185
8186 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8187
8188         * BufferView2.C:
8189         * BufferView_pimpl.C:
8190         * FontLoader.C:
8191         * LyXView.h:
8192         * LyXView.C:
8193         * Makefile.am:
8194         * WorkArea.C:
8195         * XFormsView.h:
8196         * XFormsView.C:
8197         * buffer.C:
8198         * bufferlist.C:
8199         * bufferview_funcs.C:
8200         * converter.C:
8201         * importer.C:
8202         * lyx_cb.C:
8203         * lyx_gui.C:
8204         * lyx_main.C:
8205         * lyx_find.C:
8206         * lyxfunc.C:
8207         * lyxvc.C:
8208         * minibuffer.C:
8209         * text.C:
8210         * text2.C:
8211         * trans.C:
8212         * vc-backend.C: move LyX/XFormsView into frontends/
8213
8214 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8215
8216         * Makefile.am:
8217         * PainterBase.C:
8218         * PainterBase.h:
8219         * Painter.C:
8220         * Painter.h:
8221         * WorkArea.C:
8222         * WorkArea.h:
8223         * screen.C:
8224         * tabular.C:
8225         * text.C:
8226         * text2.C: move Painter to frontends/
8227
8228 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8229
8230         * buffer.C: comment out some some code that depend upon lyx_format
8231         < 220
8232
8233         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8234         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8235
8236         * buffer.h (NO_COMPABILITY): turn off compability
8237
8238         * ColorHandler.C: include scoped_array.hpp
8239
8240         * font.C: Use more specific smart_ptr header.
8241         * Painter.C: ditto
8242         * gettext.C: ditto
8243         * ShareContainer.h: ditto
8244         * lyx_main.h: ditto
8245         * kbmap.h: ditto
8246         * FontInfo.h: ditto
8247         * BufferView_pimpl.h: ditto
8248         * ColorHandler.h: ditto
8249
8250         * kbmap.C (defkey): change call to shared_ptr::reset
8251
8252 2002-05-21  Juergen Vigna  <jug@sad.it>
8253
8254         * buffer.C (insertErtContents): fix to insert ert asis if it is
8255         non empty. Skip it completely if it contains only whitespaces.
8256
8257 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8258
8259         * BufferView_pimpl.C:
8260         * BufferView2.C: clear selection on paste (bug 393)
8261
8262 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8263
8264         * DepTable.C: include ctime
8265
8266 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8267
8268         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8269
8270 2002-05-14  Juergen Vigna  <jug@sad.it>
8271
8272         * text.C (breakParagraph): fixed function to honor the keepempty
8273         layout in the right maner and also to permit the right breaking
8274         algorithm on empty or non empyt keepempty paragraphs.
8275
8276         * paragraph.C (breakParagraph): we have to check also if the par
8277         is really empty (!size()) for isempty otherwise we do the wrong
8278         paragraph break.
8279
8280 2002-05-10  Juergen Vigna  <jug@sad.it>
8281
8282         * buffer.[Ch] : The following are only changes to the ert
8283         compatibility read reading old LaTeX layout and font stuff and
8284         convert it to ERTInsets.
8285
8286         * buffer.h: added isErtInset().
8287
8288         * buffer.C (struct ErtComp): add a fromlayout bool to check
8289         if we're inside a LaTeX layout.
8290         (isErtInset): new helper function.
8291         (insertErtContents): look for other ert insets before this one
8292         and insert the contents there, so that we don't have subsequent
8293         ERT insets with nothing between them. This way we create only one
8294         inset with multiple paragraphs. Also check if we don't insert only
8295         spaces ' ' as they are ignored anyway afterwards in the .tex file
8296         so if we have only spaces we will ignore this latex part in the
8297         new file.
8298         (parseSingleLyXformat2Token \\layout): better compatibility when
8299         reading layout-latex stuff.
8300         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8301         language tag.
8302         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8303         stuff after reading the inset only get the information back from
8304         the stack.
8305
8306 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8307
8308         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8309
8310         * LaTeXFeatures.C (getBabelOptions): New method.
8311
8312 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8313
8314         * BufferView_pimpl.C (Dispatch): work around missing argument for
8315         'layout'
8316
8317 2002-05-08  Juergen Vigna  <jug@sad.it>
8318
8319         * text.C (leftMargin): handle paragraph leftindent.
8320
8321         * paragraph.C (writeFile): write the new \\leftindent tag.
8322         (validate): handle leftindent code.
8323         (TeXEnvironment): handle paragraphleftindent code again.
8324
8325         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8326
8327         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8328         for paragrap_extra indent code and new token \\leftindent.
8329         (latexParagraphs): handle the leftindent as environment.
8330
8331         * ParameterStruct.h: added leftindent support.
8332
8333         * ParagraphParameters.C (leftIndent): added support functions for
8334         the paragraph left indent.
8335
8336         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8337         more appropriate.
8338
8339 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8340
8341         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8342         inside insetERT.
8343
8344         * text.C (computeBidiTables): No bidi in insetERT.
8345
8346         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8347         in RTL documents.
8348
8349 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8350
8351         * version.C.in: pre 5
8352
8353 2002-05-02  José Matos  <jamatos@fep.up.pt>
8354         * buffer.C (makeDocBookFile): white space changes, add newline to
8355         command styles.
8356         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8357
8358         * tabular.C (docBook): fix typo.
8359
8360 2002-05-03  Juergen Vigna  <jug@sad.it>
8361
8362         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8363         change in LyXText as we can not be sure it was not freed.
8364         (drawOneRow): remove unused code.
8365
8366         * text.C (drawInset): redo the calculation of the need_break_row as
8367         it could have a row which was already freed.
8368         (draw): look at the return value of drawInset and return false if
8369         it also returned false.
8370         (paintRowText): look at the return value of draw and return false if
8371         it also returned false.
8372
8373         * lyxtext.h: added bool return type to drawInset() and draw() so that
8374         if we have a change in the row so that the rowbreak has to be redone
8375         we abort drawing as it will be called again.
8376
8377 2002-05-02  Juergen Vigna  <jug@sad.it>
8378
8379         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8380         a change in the maintext also if we're inside an inset.
8381         (Dispatch): set the cursor again after a break line and after the
8382         screen has been updated as it could be we're in a different row.
8383
8384         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8385         to set the cursor behind the pargraph with > size().
8386         (setCursor): check also for the same paragraph when checking where
8387         to put the cursor if we have a NFR inset.
8388
8389         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8390         parts of layout read further up as it still was in the wrong
8391         position.
8392
8393 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8394
8395         * screen.C (drawFromTo): change sine fullRebreak always return
8396         true.
8397
8398         * buffer.C (parseSingleLyXformat2Token): reindent some
8399
8400         * BufferView_pimpl.C (update): change since fullRebreak always
8401         return true.
8402         (Dispatch): git rid of the last hardcoded "Standard"s.
8403
8404 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8405
8406         * text2.[Ch] (fullRebreak): make it return void now that we always
8407         returned true.
8408
8409 2002-04-30  Juergen Vigna  <jug@sad.it>
8410
8411         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8412         ert compatibility check for "latex" layout.
8413
8414 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8415
8416         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8417         minipages: use col% instead of p%, and also use the current font.
8418         (makeLaTeXFile): Fix use babel condition.
8419         (parseSingleLyXformat2Token): Correct font when reading old floats.
8420
8421 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8422
8423         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8424         inserting list of floats.
8425
8426 2002-04-25  Herbert Voss  <voss@lyx.org>
8427
8428         * MenuBackend.C (expand): don't add the graphics extensions to the
8429         export menu
8430
8431 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8432
8433         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8434         non-existing layout, do not complain if it was the default layout
8435         of the original class (bug #342)
8436
8437 2002-04-24  Juergen Vigna  <jug@sad.it>
8438
8439         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8440         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8441
8442 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8443
8444         * buffer.C (getBibkeyList): If using \bibliography, return the
8445         option field with the reference itself. Enables us to provide natbib
8446         support when using \bibliography.
8447
8448 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8449
8450         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8451
8452         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8453         natbib is provided by the LaTeX class.
8454
8455 2002-04-23  Juergen Vigna  <jug@sad.it>
8456
8457         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8458         Wakeup functions.
8459
8460         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8461
8462 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8463
8464         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8465
8466         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8467         ensuremath around textordmasculine, textordfeminine and
8468         textdegree.
8469
8470 2002-04-19  Juergen Vigna  <jug@sad.it>
8471
8472         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8473         reinitializing the buffer otherwise row-dimensions may be wrong.
8474         (update): reset also the selection cursors if they do exits otherwise
8475         their x/y positions may be wrong.
8476
8477         * text2.C (cursorDown): don't enter the inset if we came from a row
8478         above and are one row over the inset.
8479
8480         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8481         really leaving an inset.
8482
8483 2002-04-18  Juergen Vigna  <jug@sad.it>
8484
8485         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8486         of the selected paragraph does not have the selected layout also if
8487         the last one had!
8488
8489         * text2.C (setLayout): fixed bug which did not change last selected
8490         paragraph.
8491
8492         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8493         changed the read and substituted \\end_float with \\end_inset!
8494
8495         * BufferView_pimpl.C (cursorPrevious):
8496         (cursorNext): fixed to make it work with rows heigher than the work
8497         area without moving the cursor only the draw of the row.
8498         (workAreaMotionNotify): fix jumping over high rows.
8499
8500 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8501
8502         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8503         Ressler.
8504
8505 2002-04-16  Juergen Vigna  <jug@sad.it>
8506
8507         * text2.C (setCursor): set also the irow().
8508         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8509         (cursorUp):
8510         (cursorDown): support for locking an inset if the x_fix value goes
8511         inside it. That way I can transverse insets too with cursor up/down.
8512
8513         * lyxrow.h: added irow helper function same as other (i) functions.
8514
8515         * BufferView_pimpl.C (cursorPrevious):
8516         (cursorNext): fixed for insets!
8517
8518 2002-04-15  Juergen Vigna  <jug@sad.it>
8519
8520         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8521         position otherwise it is wrong in some cases.
8522
8523         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8524         inside the inset before the call.
8525
8526 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8527
8528         * buffer.[Ch] (getBibkeyList): make it const.
8529
8530 2002-04-12  Juergen Vigna  <jug@sad.it>
8531
8532         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8533
8534         * text2.C (getCursorX): new helper function
8535         (setCursor): compute also ix_
8536         (setCursorFromCoordinates): set also ix.
8537
8538         * lyxcursor.h: added ix_ and helper functions.
8539
8540         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8541
8542         * buffer.C (insertStringAsLines): dont break paragraph if the this
8543         paragraph is inside an inset which does not permit it!
8544
8545         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8546         also with no chars on this paragraph.
8547         (paintRowText): only paint stuff if it's inside the workarea!
8548
8549         * paragraph.C (breakParagraph): honor keepempty flag and break the
8550         paragraph always below not above.
8551
8552         * BufferView2.C (unlockInset): update the paragraph layout on inset
8553         unlock as we changed paragraph in such a case.
8554
8555         * lyxfind.C (LyXFind): clear the former selection if not found!
8556
8557         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8558         again called in insertChar().
8559
8560         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8561         an inset which uses the whole row!
8562         (rightMargin): ditto.
8563         (insertChar): force a rebreak if we inserted an inset!
8564
8565 2002-03-28  Herbert Voss  <voss@lyx.org>
8566
8567         * lyxlength.[Ch]: add inBP() to get the right PS-point
8568         units (BigPoint). With inPixels we have rounding errors
8569
8570 2002-04-11  Juergen Vigna  <jug@sad.it>
8571
8572         * text2.C (setCursorFromCoordinates): set iy to the right value.
8573         (setCursor): add check if row->previous exists!
8574
8575         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8576         an old float_type as this was the case in the old code!
8577
8578         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8579
8580         * BufferView2.C (showLockedInsetCursor): use iy
8581         (fitLockedInsetCursor): ditto
8582
8583         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8584         locked insets as there we have the right value now.
8585
8586         * lyxcursor.C: added iy_ variable and iy functions to set to the
8587         baseline of cursor-y of the locked inset.
8588
8589         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8590         (setCursor): fixed for insets which need a full row.
8591
8592         * text.C (rowLastPrintable): don't ignore the last space when before
8593         an inset which needs a full row.
8594         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8595         as last character of a row when before a inset which needs a full row.
8596
8597 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8598
8599         * version.C.in: update date
8600
8601         * text2.C (fullRebreak): try to always return true and see what
8602         happens...
8603
8604 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8605
8606         * MenuBackend.C (expand): use Floating::listName
8607
8608         * FloatList.C (FloatList): add listName argument to the built-in
8609         floats
8610
8611         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8612         text associated with the float.
8613
8614 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8615
8616         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8617
8618 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8619
8620         * ShareContainer.h: add a couple of missing typenames.
8621
8622 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8623
8624         * lyxrc.C (getDescription): use _() correctly rather than N_().
8625
8626 2002-03-28  Herbert Voss  <voss@lyx.org>
8627
8628         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8629         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8630
8631 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8632
8633         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8634         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8635
8636 2002-03-29  Juergen Vigna  <jug@sad.it>
8637
8638         * lyxfunc.C (dispatch): add a missing fitCursor call.
8639
8640         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8641         it was scrolled by a cursor move, so return the bool status.
8642
8643         * BufferView.C (fitCursor): return the bool flag also to the outside
8644         world as this is needed.
8645
8646         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8647
8648         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8649         call the edit() as it is not needed (and wrong) IMO.
8650         (workAreaButtonPress): set the screen_first variable before evt.
8651         unlock the inset as this may change screen_first and then we have
8652         a wrong y position for the click!
8653
8654 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8655
8656         * MenuBackend.C (expand): another translation that I missed
8657
8658 2002-03-28  Juergen Vigna  <jug@sad.it>
8659
8660         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8661
8662         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8663
8664 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8665
8666         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8667
8668         * MenuBackend.C (expand): fix export/view/update when there is no
8669         document open.
8670
8671 2002-03-27  Herbert Voss  <voss@lyx.org>
8672
8673         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8674         and text%
8675
8676 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8677
8678         * bufferview_funcs.C (currentState): only show paragraph number
8679         for is DEVEL_VERSION is set.
8680
8681         * lyxfunc.C (dispatch): put warning in INFO channel
8682
8683         * MenuBackend.C (expand): translate the name of floats
8684
8685         * FloatList.C (FloatList): mark the float names for translation
8686
8687         * converter.C (convert): use LibScriptSearch
8688
8689 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8690
8691         * MenuBackend.C (defaults): fix default menu (we might as well get
8692         rid of it...)
8693
8694 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8695
8696         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8697         directory.
8698
8699 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8700
8701         * lyxvc.C: reorder includes.
8702
8703 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8704
8705         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8706           properly
8707
8708 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8709
8710         * CutAndPaste.C: change layouts earlier on paste
8711           to avoid crashing when calling getFont()
8712
8713 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8714
8715         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8716         irritating #error.
8717
8718 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8719
8720         * WorkArea.C: remove 'Pending' debug message.
8721
8722         * most files: ws cleanup
8723
8724         * buffer.[Ch]: ws changes
8725
8726         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8727
8728 2002-03-21  Juergen Vigna  <jug@sad.it>
8729
8730         * tabular.C (SetMultiColumn): collapse also the contents of the
8731         cells and set the last border right. Added a Buffer const * param.
8732
8733 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8734
8735         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8736         linking or not.
8737
8738 2002-03-19  Juergen Vigna  <jug@sad.it>
8739
8740         * text2.C (clearSelection): reset also xsel_cache.
8741
8742         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8743         where it needs to be called (John tells us to do so too :)
8744         (selectionLost): reset sel_cache.
8745
8746         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8747
8748 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8749
8750         * text2.C (setCursorIntern): put debuging code in INSETS channel
8751
8752 2002-03-19  André Pönitz <poenitz@gmx.net>
8753
8754         * lyxfunc.C: tiny whitespace change
8755
8756 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8757
8758         * ToolbarDefaults.C (init):
8759         * LyXAction.C (init):
8760         * commandtags.h:
8761         * BufferView_pimpl.C (Dispatch):
8762         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8763
8764 2002-03-19  Allan Rae  <rae@lyx.org>
8765
8766         * exporter.C (Export): removeAutoInsets before doing anything else.
8767         While I've just introduced a dependency on BufferView this really is
8768         the best place to clean the buffer otherwise you need to cleanup in
8769         a dozen places before calling export or cleanup in a dozen functions
8770         that export calls.
8771
8772         * converter.C (runLaTeX):
8773         (scanLog): Better handling of removeAutoInsets and screen updates.
8774
8775         * lyxfunc.C (dispatch): small whitespace changes
8776
8777 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8778
8779         * WorkArea.C (C_WorkAreaEvent): return a value.
8780         (event_cb): return 1 if we handled the event, 0 otherwise.
8781
8782         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8783
8784 2002-03-18  Juergen Vigna  <jug@sad.it>
8785
8786         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8787         (GetAdditionalWidth): ditto.
8788         (RightLine): ditto.
8789         (LeftLine): ditto.
8790
8791         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8792         inset if we're there actually (probably not used right now but this
8793         is the direction to go for unifying code).
8794         (paste): disable code to clear the selection.
8795
8796         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8797         inside an InsetText and move the check further up as it is in the
8798         wrong place.
8799
8800         * text2.C (pasteSelection): set a selection over the pasted text.
8801
8802 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8803
8804         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8805         and libgraphics to build on Cygwin.
8806
8807 2002-03-15  Juergen Vigna  <jug@sad.it>
8808
8809         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8810         inserting an Inset into the paragraph. I know this is not the best
8811         fix but we already use current_view in CutAndPaste so we will remove
8812         all of it's using at the same time.
8813
8814         * buffer.C (sgmlError): deactivated function till it is rewritten in
8815         the right mode, now it can create problems.
8816
8817         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8818         before accessing it.
8819
8820 2002-03-14  Juergen Vigna  <jug@sad.it>
8821
8822         * undo_funcs.C (textHandleUndo): do the right thing when updating
8823         the inset after the undo/redo.
8824
8825         * text2.C (setCursor): just some testcode for #44 not ready yet.
8826
8827         * undo_funcs.C (textHandleUndo): set the next() and previous()
8828         pointers of the paragraph to 0 before deleting otherwise we have
8829         problems with the Paragraph::[destructor].
8830
8831         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8832         on a paragraph insertion.
8833
8834 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8835
8836         * buffer.C (asciiParagraph): use += operator for char append to
8837         string.
8838
8839         * paragraph.C (getFontSettings): compare >= not just >
8840         (highestFontInRange): ditto
8841         (setFont): ditto
8842
8843 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8844
8845         * paragraph.C: change several algorithm to be more appripriate for
8846         the problem domain. This is lookip in FontList and in the InsetList.
8847
8848 2002-03-13  André Pönitz <poenitz@gmx.net>
8849
8850         * commandtags.h:
8851         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8852
8853 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8854
8855         * commandtags.h:
8856         * LyXAction.C:
8857         * lyxfunc.C:
8858         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8859
8860 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8861
8862         * Painter.C (display): anon helper function, adjust code for this
8863         change.
8864         (pixmap): remove function.
8865
8866         * Painter.h: remove private display variable.
8867
8868         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8869
8870 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8871
8872         * WorkArea.[Ch]: remove figinset_canvas cruft.
8873
8874 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8875
8876         * lyxtextclass.C (operator): add one item cache optimization.
8877
8878         * bufferlist.h: doxy changes
8879
8880         * bufferlist.C: ws changes
8881
8882         * DepTable.[Ch] (ext_exist): place const in the right spot.
8883
8884         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8885         call resizeInsets.
8886         (workAreaExpose): call resizeInsets when the with BufferView changes.
8887         (Dispatch): adjust for protectedBlank removal
8888         (specialChar): call updateInset if the insert went ok.
8889
8890         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8891         specialChar instead.
8892
8893         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8894
8895         * BufferView.h: doxy change
8896
8897         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8898
8899         * lyxtextclass.C (operator[]): remove non-const version
8900         (defaultLayout): remove non-const version
8901
8902 2002-03-12  Juergen Vigna  <jug@sad.it>
8903
8904         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8905         did resize the LyXText too.
8906
8907         * buffer.C (readLyXformat2): set layout information on newly allocated
8908         paragraphs.
8909
8910         * tabular.C (OldFormatRead): set layout information on the paragraph.
8911
8912 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8913
8914         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8915
8916 2002-03-11  Juergen Vigna  <jug@sad.it>
8917
8918         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8919         plainly wrong.
8920         (resizeCurrentBuffer): force also the insets to resize themselfes.
8921         (moveCursorUpdate): fixed up for InsetText.
8922
8923 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8924
8925         * commandtags.h:
8926         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8927         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8928         value of Dialogs::tooltipsEnabled().
8929         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8930
8931 2002-03-08  Juergen Vigna  <jug@sad.it>
8932
8933         * BufferView_pimpl.C (updateInset): update inset inside inset also
8934         if it isn't inside theLockingInset().
8935
8936 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8937
8938         * buffer.C (asciiParagraph): redo some of the word and line length
8939         handling.
8940         (getLists): look for Caption instead of caption.
8941
8942 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8943
8944         * buffer.C (Buffer): initialize niceFile to true
8945         (makeLaTeXFile):
8946         (makeLinuxDocFile):
8947         (makeDocBookFile): make sure niceFile is true on exit
8948
8949 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8950
8951         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8952
8953 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8954
8955         * LyXSendto.C: remove.
8956         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8957         * lyx_gui.C: remove now-redundant comment.
8958         * ColorHandler.h: remove forward declaration of class WorkArea.
8959         * lyxfunc.C: remove #include "WorkArea.h".
8960
8961 2002-03-07  Juergen Vigna  <jug@sad.it>
8962
8963         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8964         got moved away with the DEPM and also set the inset_owner always
8965         right which before could have been omitted.
8966
8967 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8968
8969         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8970         wanted layout is not found.
8971
8972 2002-03-07  Juergen Vigna  <jug@sad.it>
8973
8974         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8975
8976 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8977
8978         * paragraph.C (breakParagraph): use default layout not layout of
8979         prev paragraph.
8980         (Paragraph): clear ParagraphParameters.
8981
8982 2002-03-06  Juergen Vigna  <jug@sad.it>
8983
8984         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8985         otherwise it would not be a valid lenght. Fixed a special case in
8986         the minipage compatibility read where we end the document with a
8987         minipage.
8988
8989         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8990         was set as it could be 0 for InsetTexts first entry.
8991
8992 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8993
8994         * paragraph.C (writeFile): if layout is empty write out
8995         defaultLayoutName().
8996
8997         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8998         file without named layout we set layout to defaultLayoutName().
8999
9000 2002-03-06  Juergen Vigna  <jug@sad.it>
9001
9002         * CutAndPaste.C (copySelection): set layout for new paragraph.
9003
9004         * text.C (prepareToPrint): leave ERT inset left aligned
9005         (leftMargin): don't indent paragraphs inside ERT insets
9006
9007 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9008
9009         * paragraph.C (breakParagraph): dont call clear do the work manually
9010
9011         * paragraph.[Ch] (clear): remove function
9012
9013 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9014
9015         * paragraph.C (Paragraph): dont call clear, the work has already
9016         been done.
9017
9018         * lyxtextclass.C (operator): assert if n is empty
9019
9020         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9021         work manually instead.
9022
9023 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9024
9025         * BufferView_pimpl.C: protect selectionLost against text == 0
9026
9027 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9028
9029         * text.C (breakParagraph): fix a setting layout to '0' problem.
9030
9031 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9032
9033         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9034         final location of file, for the included files, and graphics.
9035
9036 2002-03-05  Juergen Vigna  <jug@sad.it>
9037
9038         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9039
9040 2002-03-04  Juergen Vigna  <jug@sad.it>
9041
9042         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9043
9044         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9045         last column of multicolumn cells.
9046         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9047
9048 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9049
9050         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9051         file if it doesn't go to a temporary file.
9052
9053         * buffer.C (sgmlOpenTag):
9054         (sgmlCloseTag):  remove extra newline insertion.
9055
9056 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9057
9058         * text.C (getRowNearY): comment out debug msg
9059
9060 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9061
9062         * text2.C: first -> first_y
9063
9064         * text.C (getRowNearY): add some attemts at a possible
9065         optimization, not working.
9066
9067         * tabular.[Ch]: add BufferParams to several function so that newly
9068         created paragraph can be initialized to he default layotu for the
9069         buffers textclass.
9070
9071         * tabular-old.C (ReadOld): add buf->params to call of Init
9072
9073         * screen.C: rename text->first to text->first_y
9074
9075         * paragraph.C (breakParagraph): always set layout in the broken
9076         paragraph
9077
9078         * lyxtextclass.C (Read): remove lowercase
9079         (hasLayout): ditto
9080         (operator): ditto
9081         (delete_layout): ditto
9082
9083         * lyxtext.h: rename first -> first_y
9084
9085         * lyxlayout.C (Read): remove lowercase
9086         (name): ditto
9087         (setName): ditto
9088         (obsoleted_by): ditto
9089
9090         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9091
9092         * buffer.C (insertErtContents): add params are to InsetERT
9093         (parseSingleLyXformat2Token): add code to check if a paragraphs
9094         layout really exist.
9095         (parseSingleLyXformat2Token): add params to several inset
9096         constructors
9097         (asciiParagraph): remove lowercase, do the layout comparisons with
9098         no_case
9099
9100         * BufferView_pimpl.C (cursorNext): first -> first_y
9101         (resizeCurrentBuffer): first -> first_y
9102         (updateScrollbar): first -> first_y
9103         (scrollCB): first -> first_y
9104         (workAreaMotionNotify): first -> first_y
9105         (workAreaButtonPress): first -> first_y
9106         (checkInsetHit): first -> first_y
9107         (cursorPrevious): first -> first_y
9108         (cursorNext): first -> first_y
9109         (Dispatch): add buffer_->params to severl inset contructors
9110
9111 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9112
9113         * lyxlayout.C (Read): remove some debug info that I forgot.
9114
9115         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9116         clean up the code slightly.
9117         (makeLinuxDocFile): ditto
9118         (makeDocBookFile): ditto
9119
9120         * text2.C: layout as string
9121
9122         * text.C: layout as string
9123
9124         * paragraph_pimpl.C: layout as string
9125
9126         * paragraph.[Ch]: layout as string
9127
9128         * lyxtextclasslist.[Ch]: layout as string
9129
9130         * lyxtextclass.[Ch]: layout as string
9131
9132         * lyxtext.h: layout as string
9133
9134         * lyxlayout.[Ch]: layout as string
9135
9136         * lyx_cb.C: layout as string
9137
9138         * bufferview_funcs.C: layout as string
9139
9140         * bufferparams.C: layout as string
9141
9142         * buffer.C: layout as string
9143
9144         * LyXView.[Ch]: layout as string
9145
9146         * LaTeXFeatures.[Ch]: layout as string
9147
9148         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9149
9150         * BufferView_pimpl.C: change current_layout to string, remove
9151         lyx::layout_type.
9152         (Dispatch):
9153         (smartQuote):
9154         (insertInset):
9155         (workAreaButtonRelease): layout as string
9156
9157         * BufferView2.C (unlockInset): adjust
9158
9159         * vspace.C (asLatexCommand): use an explict temp variable.
9160
9161 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9162
9163         * Makefile.am: use FRONTEND_*
9164
9165 2002-03-01  Juergen Vigna  <jug@sad.it>
9166
9167         * tabular.C (SetWidthOfMulticolCell): changed to something better
9168         I hope but still work in progress.
9169         (recalculateMulticolumnsOfColumn): renamed function from
9170         recalculateMulticolCells as it is more appropriate now.
9171         (SetWidthOfCell): calculate multicols better.
9172
9173 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9174
9175         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9176
9177         * lyxfunc.C (processKeySym): print sequence also if it is
9178         `deleted' (complete)
9179
9180         * kbsequence.C (print): print sequence even if it is deleted
9181         (complete would be a better word, actually).
9182
9183         * lyxfunc.C (dispatch): print complete options after a prefix key
9184
9185         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9186
9187 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9188
9189         * text2.C (setCharFont): eliminate setCharFont code duplication.
9190
9191 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9192
9193         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9194         LFUN_TABULAR_FEATURE (bug #177)
9195
9196 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9197
9198         * Makefile.am: remove figure.h
9199
9200 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9201
9202         * Bufferview_pimpl.C:
9203         * CutAndPasteC:
9204         * LaTeX.C:
9205         * LyXSendto.C:
9206         * buffer.C:
9207         * bufferlist.C:
9208         * converter.C:
9209         * language.C:
9210         * lyxfunc.C:
9211         * lyxvc.C:
9212         * paragraph.C:
9213         * text.C:
9214         * text2.C: remove #include "lyx_gui_misc.h".
9215
9216         * LaTeX.C: added #include <cstdio>
9217
9218 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9219
9220         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9221         that the paragraph following this one can have.
9222
9223         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9224
9225         * vspace.C (asLatexCommand): fix bogus gcc warning
9226
9227         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9228
9229 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9230
9231         * text2.C (setLayout): get rid of redundant code
9232
9233 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9234
9235         * text2.C (incDepth): make sure depth cannot be increased beyond
9236         reasonable values.
9237
9238 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9239
9240         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9241         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9242
9243         * PainterBase.h (image):
9244         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9245         a LyXImage const *.
9246
9247 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9248
9249         * BufferView.C:
9250         * BufferView.h:
9251         * BufferView_pimpl.C:
9252         * BufferView_pimpl.h:
9253         * LaTeXFeatures.C:
9254         * LyXAction.C:
9255         * LyXView.C:
9256         * Makefile.am:
9257         * UpdateList.h:
9258         * UpdateList.C:
9259         * buffer.C:
9260         * figure.h:
9261         * figureForm.C:
9262         * figureForm.h:
9263         * figure_form.C:
9264         * figure_form.h:
9265         * lyx_cb.C:
9266         * lyx_gui.C:
9267         * lyx_gui_misc.C:
9268         * lyxfunc.C:
9269         * sp_base.h:
9270         * sp_ispell.h:
9271         * sp_pspell.h:
9272         * sp_spell.C: remove fig inset, and the crap house of
9273           cards that follows it
9274
9275 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9276
9277         * Makefile.am:
9278         * lyxserver.C:
9279         * os2_defines.h:
9280         * os2_errortable.h:
9281         * nt_defines.h: move .h into support/
9282
9283         * vms_defines.h: remove
9284
9285         * WorkArea.C: add space in debug output
9286
9287         * text2.C:
9288         * paragraph.C:
9289         * buffer.C: add WITH_WARNINGS
9290
9291         * vc-backend.h:
9292         * vc-backend.C:
9293         * bufferlist.C: s/retrive/retrieve/, add docs
9294
9295         * vspace.h:
9296         * vspace.C:
9297         * kbmap.h:
9298         * lyxlength.h:
9299         * lyxgluelength.h:
9300         * length_common.h:
9301         * chset.h:
9302         * chset.C: add docs
9303
9304         * lyxgui.C: add ID to X error handler
9305
9306         * lyxtestclass.c: fix typo
9307
9308 2002-02-26  Juergen Vigna  <jug@sad.it>
9309
9310         * tabular_funcs.C (write_attribute): changed so that some default
9311         attributes are not written at all.
9312         (getTokenValue): set default values before trying to read the
9313         value so we have the return value always set as default if we don't
9314         find the token we search for.
9315
9316         * tabular.C (Write): write bools as bools not as strings!
9317
9318 2002-02-22  Juergen Vigna  <jug@sad.it>
9319
9320         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9321         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9322
9323         * text.C (leftMargin): don't add an indent for paragraphs inside
9324         tabular cells (fix #208).
9325
9326 2002-02-21  José Matos  <jamatos@fep.up.pt>
9327
9328         * tabular.C (docBook): fixed support for long tables.
9329
9330 2002-02-20  Juergen Vigna  <jug@sad.it>
9331
9332         * text2.C (getFont): get the drawing font of the Inset if this
9333         paragraph is inside an inset (only important for InsetERT for now).
9334
9335         * buffer.C (insertErtContents): use new lanugage params in ERT
9336         constructor.
9337
9338         * CutAndPaste.C: commenting out seemingly uneeded code.
9339
9340 2002-02-19  Allan Rae  <rae@lyx.org>
9341
9342         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9343         Iterators might be simple to use but they also get invalidated.
9344         (removeAutoInsets): renamed saved cursor tracking variables and added
9345         some comments to clarify what everything does.
9346
9347 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9348
9349         * Chktex.C:
9350         * LaTeX.C:
9351         * LyXSendto.C:
9352         * converter.C:
9353         * lyx_cb.C:
9354         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9355         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9356
9357         * lyxfunc.C:
9358         * vc-backend.h: remove #include "support/syscall.h"
9359
9360         * LaTeX.C:
9361         * LyXSendto.C:
9362         * converter.C: rearrange #includes in Lars' approved fashion.
9363
9364         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9365         forward declare class Timeout in the header file.
9366
9367         * XFormsView.C: changes due to the above.
9368
9369         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9370         similar to LyXView.
9371
9372         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9373         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9374
9375 2002-02-18  José Matos  <jamatos@fep.up.pt>
9376
9377         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9378         insets contents.
9379
9380 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9381
9382         * a lot of small ws changes
9383         * add a lot of using std::XXX
9384         * use std construcs some places where approp.
9385         * use some exisint stuff from lyxfunctional where approp.
9386         * Make file changes to use partial linking (lets test this now...)
9387
9388 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9389
9390         * Chktex.C:
9391         * buffer.C:
9392         remove #include "support/syscontr.h" as it's redundant. Always has been.
9393
9394         * Chktex.C:
9395         * LaTeX.C:
9396         * LyXSendto.C:
9397         * converter.C:
9398         * lyx_cb.C:
9399         * vc-backend.C:
9400         change Systemcalls::System to Systemcalls::Wait and
9401         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9402         No change of functionality, just reflects the stripped down Systemcalls
9403         class.
9404
9405 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9406
9407         * debug.[Ch]: add a GRAPHICS type to the enum.
9408
9409 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9410
9411         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9412
9413         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9414         there is an inset.
9415
9416 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9417
9418         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9419         match the changes below.
9420
9421         * text2.C (toggleInset): if there is not editable inset at cursor
9422         position, try to see if cursor is _inside_ a collapsable inset
9423         and close it.
9424
9425 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9426
9427         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9428         document menu has a nice checkbox
9429
9430 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9431
9432         * lyxlength.C (asLatexString): change PW to output as percent of
9433         \textwidth.
9434
9435         * lengthcommon.C: change '%' to 't%'
9436
9437         * lyxfunc.C (dispatch): a few comments from Martin
9438
9439 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9440
9441         * WorkArea.h:
9442         * WorkArea.C:
9443         * BufferView_pimpl.h:
9444         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9445           the X selection.
9446
9447 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9448
9449         * vspace.C (inPixels): fix compiler warning
9450
9451 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9452
9453         * lyxfunc.C (getStatus): fix status message for disabled commands.
9454
9455 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9456
9457         * BufferView_pimpl.C: fix crash on close buffer
9458         during selection (#227)
9459
9460 2002-01-27  Herbert Voss  <voss@lyx.org>
9461
9462         * buffer.C: link old Figure to new graphic inset
9463
9464 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9465
9466         * FontLoader.C (getFontinfo): Change the latex font names in order
9467         to match the names of type1inst.
9468
9469 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9470
9471         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9472
9473         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9474         (extchanged): ditto
9475         (ext_exist): ditto
9476         (remove_files_with_extension): ditto
9477         (remove_file): ditto
9478         (write): ditto
9479
9480         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9481         document is smaller than the work area height. Do not initialize
9482         static variables to 0.
9483
9484 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9485
9486         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9487
9488         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9489         LFUN_LAYOUT_PARAGRAPHS.
9490
9491         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9492         tabular. It is possible to provide a possible cell, which will
9493         typically be the actcell from the corresponding insettabular
9494
9495         * lyxfunc.C (getStatus): small cleanup; disable
9496         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9497         true
9498
9499 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9500
9501         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9502
9503         * paragraph.C (startTeXParParams):
9504         (endTeXParParams): new methods. The LaTeX code to
9505         start/end paragraph formatting
9506         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9507         empty (fixes bug #200)
9508
9509         * vspace.C (inPixels): adapt to the change below
9510         (inPixels): [later] more cleanups (remove unused variables)
9511
9512         * lyxlength.C (inPixels): change to use a width and a height as
9513         parameter.
9514
9515 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9516
9517         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9518         Replaced with \paperwidth
9519
9520         * DepTable.C (insert): add std:: qualifier
9521
9522 2002-01-18  Allan Rae  <rae@lyx.org>
9523
9524         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9525         updated also?
9526
9527         * text.C (drawInset): Turned out I didn't know enough about how
9528         rebreaking worked.  This fixes most of the redraw problems.  I see
9529         an occasional cursor trail when a line is broken now and the cursor
9530         placement can seem out by a few pixels also after a rebreak.
9531
9532 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9533
9534         * buffer.C (parseSingleLyXformat2Token): update because minipage
9535         width is now a LyXLength
9536
9537         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9538
9539         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9540         math insets
9541
9542 2002-01-17  Juergen Vigna  <jug@sad.it>
9543
9544         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9545
9546         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9547         is set correctly and the inset is updated correctly.
9548
9549 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9550
9551         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9552         the beginning of the loop.
9553
9554 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9555
9556         * lyxrc.C: improve help for use_scalable_fonts
9557
9558 2002-01-17  Allan Rae  <rae@lyx.org>
9559
9560         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9561
9562 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9563
9564         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9565         make sure to set their inset_owner to the right value (bug #171)
9566
9567 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9568
9569         * DepTable.h
9570         * DepTable.C: Implement mtime checking to reduce time spent doing
9571         CRCs.
9572
9573 2002-01-16  Juergen Vigna  <jug@sad.it>
9574
9575         * tabular.C (GetAdditionalHeight): one of error fixed.
9576
9577         * lyxrc.C (output): small fix in writing use_pspell.
9578
9579 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9580
9581         * sp_base.h: #include LString.h
9582
9583 2002-01-16  Allan Rae  <rae@lyx.org>
9584
9585         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9586         Can someone check this please?
9587
9588         * text.C (drawInset): It was possible that p.row would be removed by
9589         breakAgainOneRow upsetting a few other settings.  There may be another
9590         small tweak possible by setting need_break_row = 0 when p.row has been
9591         removed but I don't know enough about the logic here.
9592
9593 2002-01-15  Allan Rae  <rae@lyx.org>
9594
9595         * text.C (insertChar): removed conditional truism.
9596
9597         * BufferView2.C (removeAutoInsets): More tweaks.
9598         cur_par_prev could be a stray pointer.  Check for trailing empty line
9599         in case last line was cur_par and only had an error inset on it.
9600
9601 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9602
9603         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9604         absolute
9605
9606         * vc-backend.C (most methods):
9607         * exporter.C (Export):
9608         * converter.C (convert):
9609         (runLaTeX):
9610         * LyXSendto.C (SendtoApplyCB):
9611         * lyxfunc.C (dispatch):
9612         (menuNew):
9613         (open):
9614         (doImport):
9615         * lyx_cb.C (AutoSave):
9616         (InsertAsciiFile):
9617         * BufferView_pimpl.C (MenuInsertLyXFile):
9618         * buffer.C (runChktex): use Buffer::filePath().
9619
9620         * buffer.h: rename filename to filename_; rename filepath to
9621         filepath_ and make it private
9622         (filePath): new method
9623
9624         * buffer.C (writeFile): use fileName()
9625         (getLatexName):
9626
9627         * lyx_main.C (init): fix starting  of LyX when the binary is a
9628         link from so,ewhere else.
9629
9630         * minibuffer.C: include <cctype> for isprint
9631
9632 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9633
9634         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9635         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9636         name clash with InsetCollapsable's width function.
9637
9638 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9639
9640         * lastfiles.C: include <iterator>
9641
9642 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9643
9644         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9645         std::count.
9646
9647         * buffer.C (makeLaTeXFile): ditto.
9648         Also make loop operation more transparent.
9649
9650 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9651
9652         * ToolbarDefaults.C: remove trailing comma closing namespace.
9653
9654         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9655
9656         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9657         as in WorkArea.
9658
9659         * trans.C (Load): comment out unused variable, allowed.
9660
9661 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9662
9663         * minibuffer.[Ch] (append_char): new method to recieve input from the
9664         drop-down completion browser. If a key was pressed, then recieve this
9665         char and append it to the existing string.
9666         (peek_event): modify the positioning data passed to the completion
9667         browser so that it can be placed above the minibuffer rather than below.
9668 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9669
9670         * LyXAction.C (init): alloe error-next for readonly documents.
9671
9672         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9673         count.
9674
9675 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9676
9677         * bufferlist.C (readFile): create the buffer _after_ checking that
9678         the file exists.
9679
9680         * lyxfunc.C (verboseDispatch): fix handling of arguments
9681
9682         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9683
9684         * lyxrc.C: use string::erase() instead of initializing to "".
9685
9686
9687 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9688
9689         * BufferView_pimpl.h:
9690         * BufferView_pimpl.C:
9691         * WorkArea.h:
9692         * WorkArea.C:
9693         * text2.C: tell X when we have made a selection for copying
9694
9695 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9696
9697         * BufferView_pimpl.C (MenuInsertLyXFile):
9698         * lyxfunc.C (menuNew):
9699         (open):
9700         (doImport): add shortcuts to directory buttons
9701
9702         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9703         open a float)
9704
9705         * lyxfunc.C (setStatusMessage):
9706         (getStatusMessage): new methods
9707         (getStatus):use setStatusMessage instead of setErrorMessage
9708         (dispatch): when function is disabled, set error message here
9709         [instead of in getStatus previously]
9710
9711         * BufferView_pimpl.C (workAreaButtonRelease): update
9712         toolbar/menubar here too.
9713
9714 2002-01-13  Allan Rae  <rae@lyx.org>
9715
9716         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9717         Now seems indestructible.  Remaining task is to audit all other
9718         code affected by deleteEmptyParagraphMechanism.  One small quirk
9719         left is that an empty document with an error in the preamble can
9720         be made to report an error but no error box appears.  I don't know
9721         where it goes.
9722         (removeAutoInsets): Improved comments.
9723
9724 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9725
9726         * Thesaurus.h:
9727         * Thesaurus.C: update for Aiksaurus 0.14
9728
9729 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9730
9731         * text2.C (firstParagraph): removed member function, all uses
9732         replaces with ownerParagraph
9733         (redoParagraphs): here
9734         (updateInset): here
9735         (toggleAppendix): here
9736         * BufferView2.C (insertErrors): here
9737         (setCursorFromRow): here
9738
9739 2002-01-13  Allan Rae  <rae@lyx.org>
9740
9741         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9742         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9743         There is still a way to segfault this although you may have to do this
9744         multiple times: Have an InsetERT with an unknown command in it.
9745         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9746         <down-arrow>, <Enter> again, View->DVI, BANG!
9747
9748         * text2.C (setCursor):
9749         (deleteEmptyParagraphMechanism):
9750         * lyxtext.h (setCursor):
9751         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9752         Making use of the return value may help fix other bugs.
9753
9754 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9755
9756         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9757
9758         * LyXView.C (updateMenubar): call MenuBar::update here
9759         (updateToolbar): but not here
9760         (showState): do not update toolbar/menubar
9761
9762         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9763         should need to care about that.
9764
9765         * lyxfunc.C (verboseDispatch): simplify a bit
9766         (getStatus): have a version which takes a pseudoaction, and
9767         another which requires a (kb_action,string).
9768
9769         * LyXAction.C (retrieveActionArg): make it work also when action
9770         is not a pseudo-action.
9771         (getActionName): simplify a bit
9772         (helpText):
9773
9774 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9775
9776         * lyxfunc.C (verboseDispatch): new families of methods with
9777         several ways to specify a command and a bool to indicate whether
9778         the command name and shortcut should be displayed in minibuffer
9779         (eventually, we could extend that to a finer bitmask like
9780         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9781         (dispatch): the pristine dispatch command which just, well,
9782         dispatchs! Note it still sets its result to minibuffer; I'm not
9783         sure we want that.
9784
9785         * lyxfunc.h: remove setHintMessage
9786
9787         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9788
9789 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9790
9791         * BufferView_pimpl.C (specialChar): delete new inset if we have
9792         not been able to insert it.
9793
9794         * kbmap.C: revert to using int instead of kb_action, since all we
9795         are dealing with is pseudo-actions.
9796
9797         * LyXAction.C (searchActionArg): change to return int instead of
9798         kb_action, since the result is a pseudoaction.
9799
9800 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9801
9802         * buffer.C (insertErtContents): Fix (partially) the font bug.
9803
9804 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9805
9806         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9807         as the other one is broken on my machine!
9808
9809 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9810
9811         * commandtags.h:
9812         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9813
9814 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9815
9816         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9817         reflect their actual use. Provide compatibility code for older lyxrc
9818         files.
9819
9820         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9821         FL_NORMAL_STYLE.
9822         change names of popup font variables in line with the changes to lyxrc.C
9823
9824 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9825
9826         * buffer.C (asciiParagraph): avoid outputing a word twice after
9827         an inset.
9828
9829         * lyxrc.C (getDescription): document that document_path and
9830         template_path can be empty.
9831
9832 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9833
9834         * LaTeXFeatures.C (getMacros):
9835         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9836
9837         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9838
9839         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9840         getPackages.
9841         (getPackages): rename feature "floats" to "float". Use an array to
9842         iterate over 'simple' features (i.e. just a \usepackage). Add
9843         handling of "amsmath" (renamed from "amsstyle").
9844
9845 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9846
9847         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9848         features list.
9849
9850 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9851
9852         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9853         FuncStaus::FuncStatus & FuncStaus::some_method().
9854
9855 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9856
9857         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9858         of the func_satus stuff. Edited and massaged in various ways by
9859         JMarc.
9860
9861         * lyxfunc.C (getStatus): use FuncStatus
9862
9863 2002-01-08  Juergen Vigna  <jug@sad.it>
9864
9865         * text.C (nextBreakPoint): use function Inset::isChar().
9866
9867         * paragraph.C (TeXOnePar): use function
9868         Inset::forceDefaultParagraphs.
9869
9870         * buffer.C (latexParagraphs): use function
9871         Inset::forceDefaultParagraphs.
9872
9873 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9874
9875         * lyx_gui.C (init): set the style of the menu popups to
9876         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9877
9878 2002-01-07  Juergen Vigna  <jug@sad.it>
9879
9880         * text.C (setHeightOfRow): small fix
9881         (prepareToPrint): don't look at alignment if we don't have the place
9882         for doing it.
9883
9884 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9885
9886         * box.C: New file. Move the Box methods and functions out of box.h,
9887         following Lars' suggestion.
9888
9889 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9890
9891         * box.h: #include "support/LOstream.h", needed for inlined function.
9892
9893         * lyxtextclass.C:
9894         * lyxtextclasslist.C: added some using std declarations.
9895
9896 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9897
9898         * box.h: make signed dimensions to allow insets wider than
9899           the screen (bug #162)
9900
9901         * BufferView_pimpl.C: add some insetHit debug
9902
9903 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9904
9905         * vc-backend.C: add FIXME
9906
9907 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9908
9909         * lyxfunc.C (getStatus): enable code for showing math font status
9910         in toolbar/menu.
9911
9912 2002-01-07  Juergen Vigna  <jug@sad.it>
9913
9914         * text.C (nextBreakPoint): removed debug output not needed anymore.
9915
9916 2002-01-06  Juergen Vigna  <jug@sad.it>
9917
9918         * text.C (nextBreakPoint): fixed up this function we had this bug
9919         since ever but now hopefully we break row better.
9920         (insertChar): we have to check if an inset is the next char as it
9921         could now happen that a large inset is causing a break.
9922
9923 2002-01-05  Juergen Vigna  <jug@sad.it>
9924
9925         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9926         if it doesn't like to be drawed.
9927
9928 2002-01-04  Juergen Vigna  <jug@sad.it>
9929
9930         * BufferView2.C (lockInset): forgot to set a cursor.
9931
9932         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9933
9934 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9935
9936         * FormMathsPanel.C:
9937         * FormMathsPanel.h
9938         * MathsSymbols.C:
9939         * form_maths_panel.C:
9940         * form_maths_panel.h:
9941         * form_maths_panel.fd: implemented sub- and super- buttons in math
9942         panel.
9943
9944         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9945         (or ^ space) to be used as in TeX (req'd by André).
9946
9947         * lyxfunc.C: Allow ^ and _ again to be used both as
9948         super/subscript (mathed) and as themselves (in text).
9949
9950 2002-01-03  Allan Rae  <rae@lyx.org>
9951
9952         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9953         "LyX" or the filename of the current buffer if it has one.  This is a
9954         modified form of John Levon's patch.
9955
9956         * XFormsView.C (setWindowTitle): also set icon title.
9957
9958         * LyXView.h (setWindowTitle): signature changed.
9959         * XFormsView.h (setWindowTitle): ditto.
9960
9961 2002-01-02  Juergen Vigna  <jug@sad.it>
9962
9963         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9964
9965 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9966
9967         * screen.C (topCursorVisible): introduce a temp var for
9968         text->cursor.row(), handle the case where this row is null. (kindo
9969         hachish)
9970
9971         * text2.C (setCursor): add a couple of asserts.
9972
9973         * paragraph.h (inset_iterator): add -> operator
9974
9975         * paragraph.[Ch] (autoDeleteInsets): remove member function
9976
9977         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9978         cursor pos correctly and handle inset deletion by itself.
9979         (insertErrors): move iterator declaration out of for expression
9980
9981         * lyxtextclass.C: add <algorithm>
9982
9983         * Makefile.am: added the new files to sources, removed layout.C
9984
9985         * layout.C: removed file
9986
9987         * layout.h: remove LYX_DUMMY_LAYOUT
9988
9989         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9990         layout.
9991
9992         * lyxlayout.[Ch]:
9993         * lyxtextclass.[Ch]:
9994         * lyxtextclasslist.[Ch]: new files
9995
9996         * include order changes to a lot of files, also changes because of
9997         the six new files.
9998
9999 2001-12-27  Juergen Vigna  <jug@sad.it>
10000
10001         * buffer.C (asciiParagraph): more fixes.
10002
10003         * tabular.C (ascii): make ascii export support export of only the
10004         data separated by a column-delimiter.
10005         (ascii): better support for ascii export.
10006
10007         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10008
10009 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10010
10011         * tabular_funcs.C: use a "using std::getline" instead of the
10012         previous fix from Angus (necessary for cxx + lyxstring)
10013
10014 2001-12-24  Juergen Vigna  <jug@sad.it>
10015
10016         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10017
10018         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10019         problems. First check a minipage also if we have some ert-contents
10020         (not only on par->size(), second set the right depth of the paragraph
10021         on the relink to the root-paragraph-list!
10022
10023         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10024         which then did not anymore update the main paragraphs on undo/redo!
10025
10026 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10027
10028         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10029         code. Support all font-changing funcs (even those which are not in
10030         menu currently). Support for reporting font settings in
10031         mathed (disabled until Andre provides a function on mathed's side).
10032
10033         * func_status.h (toggle): small helper function to set toggle
10034         state on a flag.
10035
10036 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10037
10038         * tabular_funcs.C: getline -> std::getline
10039
10040 2001-12-21  Juergen Vigna  <jug@sad.it>
10041
10042         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10043         accessed and could be 0 (I couldn't generate this but it seems
10044         Michael could!).
10045
10046 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10047
10048         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10049         * tabular_funcs.h: here and include iosfwd
10050
10051 2001-12-20  Juergen Vigna  <jug@sad.it>
10052
10053         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10054         inside inset but undo_par was.
10055
10056 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10057
10058         * Thesaurus.C: always include <config.h> in sources.
10059
10060         * Painter.h:
10061         * lyxlookup.h:
10062         * box.h: do not include <config.h> in header files
10063
10064         * text.C (paintLastRow): remove unused variable
10065
10066         * text.C (transformChar):
10067         (insertChar):
10068         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10069
10070         * Painter.C (text):
10071         * font.C (width): rewrite to use uppercase() instead of
10072         islower/toupper.
10073
10074         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10075
10076 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10077
10078         * lyxfind.C: clean up of find failure position change
10079
10080 2001-12-20  Juergen Vigna  <jug@sad.it>
10081
10082         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10083
10084         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10085         (TeXRow): added to LaTeX a single tabular row.
10086         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10087         (Latex): simplified and finally good LT-h/f support.
10088         (various_functions): just small adaptions for LT-h/f support.
10089
10090         * tabular_funcs.[hC]: added and moved here all not classfunctions
10091         of LyXTabular.
10092
10093 2001-12-19  Juergen Vigna  <jug@sad.it>
10094
10095         * tabular.[Ch]: better support for longtabular options (not finished
10096         yet!)
10097
10098 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10099
10100         * text.C (paintLastRow): use the label font instead of the font of
10101         the last character to compute the size of *_BOX. This makes more
10102         sense and avoids a crash with empty paragraphs.
10103         Use Painter::rectangle to draw EMPTY_BOX.
10104
10105 2001-12-19  Juergen Vigna  <jug@sad.it>
10106
10107         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10108         the paragraphs if the replaced paragraph is not the first one!
10109         Tried to delete not used paragraphs but does not work yet so for
10110         now it's inside #ifdef's and by default off!
10111
10112 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10113
10114         * MenuBackend.C: include "lyx_main.h" instead of declaring
10115         lastfiles (actually was declared as LastFiles* instead of a
10116         scoped_ptr).
10117
10118 2001-12-17  Juergen Vigna  <jug@sad.it>
10119
10120         * tabular.C (AppendColumn): applied John's fix
10121
10122 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10123
10124         * BufferView.h:
10125         * BufferView.C:
10126         * BufferView_pimpl.h:
10127         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10128
10129         * Makefile.am:
10130         * box.h: new start of class for above
10131
10132         * lyxfunc.C: ignore space-only minibuffer dispatches.
10133           Show the command name when it doesn't exist
10134
10135         * minibuffer.C: don't add empty lines to the history
10136
10137         * minibuffer.C: add a space on dropdown completion
10138
10139 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10140
10141         * text.C: fix line above/below drawing in insets
10142
10143 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10144
10145         * lyxlength.C (LyXLength): Initialize private variables.
10146
10147 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10148
10149         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10150         when inserting error insets.
10151
10152 2001-12-13  Juergen Vigna  <jug@sad.it>
10153
10154         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10155         actually sometimes the before-paragraph.
10156         (setUndo): don't clear the redostack if we're not actually undoing!
10157
10158 2001-12-06  Juergen Vigna  <jug@sad.it>
10159
10160         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10161         and fixed redoing of main paragraph, so we can use it now ;)
10162
10163         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10164
10165 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10166
10167         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10168         Juergen's request
10169
10170 2001-12-13  André Pönitz <poenitz@gmx.net>
10171
10172         * undostack.[Ch]:
10173         * undo_func.C: minor cleanup
10174
10175 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10176
10177         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10178         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10179         font in urw-fonts package which is marked as -urw-fontspecific and
10180         does not work (incidentally, changing the encoding in the
10181         fonts.dir of this package to -adobe-fontspecific fixes the
10182         problem).
10183
10184         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10185         is a crash when undoing first paragraph (Juergen, please take a
10186         look). THis does not mean the undo fix is wrong, just that it
10187         uncovers problems.
10188
10189         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10190         the (Paragraph*) version when needed instead of duplicating the
10191         code.
10192
10193         * text.C (workWidth): use Inset::parOwner to find out where the
10194         inset has been inserted. This is a huge performance gain for large
10195         documents with lots of insets. If Inset::parOwner is not set, fall
10196         back on the brute force method
10197
10198         * paragraph_pimpl.C (insertInset):
10199         * paragraph.C (Paragraph):
10200         (cutIntoMinibuffer): set parOwner of insets when
10201         inserting/removing them
10202
10203         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10204
10205 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10206
10207         * commandtags.h:
10208         * LyXAction.C:
10209         * lyx_main.C:
10210         * lyxfunc.C:
10211         * mathed/formulabase.C:
10212         * mathed/math_cursor.[Ch]:
10213         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10214
10215
10216 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10217
10218         * lyxlength.[Ch] (operator!=): new function
10219
10220 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10221
10222         * text.C (workWidth): use Inset::parOwner to find out where the
10223         inset has been inserted. This is a huge performance gain for large
10224         documents with lots of insets. If Inset::parOwner is not set, fall
10225         back on the brute force method
10226
10227         * paragraph_pimpl.C (insertInset):
10228         * paragraph.C (Paragraph):
10229         (cutIntoMinibuffer): set parOwner of insets when
10230         inserting/removing them
10231
10232         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10233
10234 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10235
10236         * tabular-old.C (getTokenValue):
10237         * tabular.C (getTokenValue):
10238         (write_attribute): new versions for LyXLength
10239         (everywhere): adjust the use of widths
10240
10241         * tabular.h: change the type of widths from string to LyXLength
10242
10243 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10244
10245         * paragraph.C: fixed missing line number count when exporting
10246         Environments to LaTeX file
10247
10248         * buffer.C: added informational message for checking line numbers.
10249
10250 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10251
10252         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10253         paragraph, do the 'double space' part, but not the 'empty
10254         paragraph' one.
10255
10256         * text.C (workWidth): small optimization
10257         (getLengthMarkerHeight): use minimal size for negative lengths.
10258
10259 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10260
10261         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10262
10263         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10264
10265 2001-12-11  André Pönitz <poenitz@gmx.net>
10266
10267         * FontLoader.C:
10268         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10269
10270 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10271
10272         * text2.C: keep selection on a setFont()
10273
10274 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10275
10276         * lyx_cb.C: another bv->text misuse, from insert label
10277
10278 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10279
10280         * kbsequence.h:
10281         * kbsequence.C: re-instate nmodifier mask
10282
10283 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10284
10285         * lyx_main.h: make lyxGUI private.
10286
10287 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10288
10289         * lyxfind.C: place the cursor correctly on failed search
10290
10291 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10292
10293         * text.C (getLengthMarkerHeight): for small heights, the arrows
10294         are not always on top/bottom of the text
10295         (drawLengthMarker): smaller arrows; take the left margin in
10296         account; draw also vfills.
10297         (paintFirstRow):
10298         (paintLastRow): remove special code for vfill and standard spaces,
10299         since everything is handled in drawLengthMarker now.
10300
10301 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10302
10303         * buffer.C (insertErtContents): try to handle font and language
10304         interaction a bit better.g
10305
10306         * ColorHandler.C (updateColor): change the hash to cover the whole
10307         LColor enum, ws cleanup
10308         (getGCLinepars): ditto
10309         (getGCLinepars): only lookup in the linecache once.
10310
10311 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10312
10313         * iterators.C (operator++): Make the iterator more robust
10314
10315         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10316         (John's patch)
10317         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10318
10319 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10320
10321         * lyxtext.h:
10322         * text.C: better added space drawing
10323
10324 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10325
10326         * LyXView.C:
10327         * BufferView2.C: fix layout combo update on inset unlock
10328
10329 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10330
10331         * Makefile.am: don't compile unused files
10332
10333 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10334
10335         * lyxfunc.C:
10336         * commandtags.h:
10337         * LyXAction.C: remove old LFUN_LAYOUTNO
10338
10339 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10340
10341         * paragraph_pimpl.h:
10342         * paragraph_pimpl.C: isTextAt() doesn't need font param
10343
10344 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10345
10346         * lyxlex.h:
10347         * lyxlex.C: little cleanup
10348
10349 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10350
10351         * BufferView_pimpl.C: fix insertAscii for insets
10352
10353 2001-12-05  Juergen Vigna  <jug@sad.it>
10354
10355         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10356         set the right font on the "multi" paragraph paste!
10357
10358 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10359
10360         * trans_decl.h:
10361         * trans_mgr.[Ch]:
10362         * trans.[Ch]:
10363         * lyxgluelength.C:
10364         * lyxlength.C: remove out-commented code.
10365
10366         * BufferView_pimpl:
10367         * CutAndPaste.C:
10368         * DepTable.C:
10369         * buffer.C:
10370         * chset.C:
10371         * lastfiles.C:
10372         * lyxlex.C:
10373         * lyxlex_pimpl.C:
10374         * lyxserver.C:
10375         * screen.C:
10376         * tabular-old.C:
10377         * tabular.C:
10378         * text.C:
10379         * trans_mgr.C:
10380         * vc-backend.C: change "while(" to "while ("
10381
10382         * lyxlength.[Ch]: add zero function to check if length is zero or
10383         not
10384         * lyxgluelength.C: use it
10385
10386 2001-12-05  Allan Rae  <rae@lyx.org>
10387
10388         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10389         Works for 2.95.3, from what I understand of Garst's reports this should
10390         work for other g++ versions.  We're screwed if the abs(int) definition
10391         changed between bugfix releases of gcc.
10392
10393 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10394
10395         * text.C: fix chapter label offset !
10396
10397 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10398
10399         * lyxtext.h:
10400         * text.C: fix hfill at end of line, clean up
10401
10402 2001-12-04  Juergen Vigna  <jug@sad.it>
10403
10404         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10405         that we force an update of the inset and it's owners if neccessary.
10406
10407 2001-12-03  Juergen Vigna  <jug@sad.it>
10408
10409         * text.C (rowLast): simplified code
10410
10411 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10412
10413         * lyxfunc.C: fix show options on timeout
10414
10415 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10416
10417         * screen.C (topCursorVisible): scroll half a page when the cursor
10418         reached top of bottom of screen
10419
10420 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10421
10422         * minibuffer.C: deactivate on loss of focus
10423
10424 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10425
10426         * vspace.[Ch] (operator!=): add operator.
10427
10428 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10429
10430         * BufferView_pimpl.C: refuse to open an inset when
10431         there's a selection.
10432
10433 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10434
10435         * BufferView_pimpl.C: allow to click on RHS of full row insets
10436
10437 2001-11-30  Juergen Vigna  <jug@sad.it>
10438
10439         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10440         insets for undo reasons.
10441
10442 2001-11-28  André Pönitz <poenitz@gmx.net>
10443
10444         * vspace.[Ch]: cosmetical changes
10445
10446 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10447
10448         * LyXAction.h:
10449         * LyXAction.C:
10450         * lyxfunc.h:
10451         * lyxfunc.C:
10452         * kbmap.h:
10453         * kbmap.C:
10454         * lyxrc.C:
10455         * kbsequence.h:
10456         * kbsequence.C: part re-write of old kb code
10457
10458         * Painter.C:
10459         * WorkArea.C: remove Lgb_bug_find_hack
10460
10461 2001-11-30  José Matos <jamatos@fep.up.pt>
10462
10463         * buffer.C (makeDocBookFile): add a comment to point a hack.
10464         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10465         Fixed a double write of labels.
10466
10467 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10468
10469         * LaTeX.C:
10470         * LaTeX.h Fixed bug in LaTeX class where it would not
10471         re-run latex if no depfiles were changed, but the .dvi was removed.
10472
10473 2001-11-28  André Pönitz <poenitz@gmx.net>
10474
10475         * all the files from the change on 2001/11/26:
10476         use lyx::layout_type instead of LyXTextClass::size_type
10477         use lyx::textclass_type instead of LyXTextClassList::size_type
10478
10479 2001-11-29  Juergen Vigna  <jug@sad.it>
10480
10481         * text.C: added support for paragraph::isFreeSpacing()
10482
10483         * buffer.C: same as above
10484
10485         * paragraph.h: inserted isFreeSpacing() function to enable
10486         FreeSpacing inside InsetERT.
10487
10488         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10489         of the paragraph's in the cut/copy buffer to 0!
10490
10491         * text2.C (removeRow): remove the assert as it can!
10492
10493         * lyxtext.h: added helper function firstRow returning firstrow and
10494         made firstrow private again.
10495
10496         * BufferView2.C (lockInset): don't relock if we're already locked!
10497
10498         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10499         the only paragraph.
10500         (removeRow): added Assert::(firstrow)
10501
10502         * debug.C: forgot to add INSETTEXT here.
10503
10504 2001-11-28  Juergen Vigna  <jug@sad.it>
10505
10506         * sp_spell.C (initialize): changed error text to more general
10507         spellchecker command use (not only ispell!)
10508
10509         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10510
10511         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10512
10513 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10514
10515         * vspace.C: initialise lyxgluelength on failure
10516
10517 2001-11-28  Allan Rae  <rae@lyx.org>
10518
10519         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10520         declaration & definition that looks like a function declaration.
10521
10522 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10523
10524         * BufferView2.C (copy):
10525         (copyEnvironment): do not clear the selection when doing a copy.
10526
10527         * text.C (paintFirstRow): compilation fix
10528
10529 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10530
10531         * tabular.C (Latex): correct line count when writing latex.
10532
10533 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10534
10535         * paragraph_pimpl.h:
10536         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10537           bug a bit
10538
10539 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10540
10541         * text.C:
10542         * LColor.h:
10543         * LColor.C: change vfillline->added_space
10544
10545         * text.C: add markers and text for added space
10546
10547         * vspace.C: fix comment
10548
10549 2001-11-28  André Pönitz <poenitz@gmx.net>
10550
10551         * paragraph.C: whitespace changes
10552         * all the other files from the change on 2001/11/26:
10553         change *::pos_type into lyx::pos_type
10554
10555 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10556
10557         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10558         language of the document when inserting error insets.
10559
10560 2001-11-26  André Pönitz <poenitz@gmx.net>
10561
10562         * BufferView_pimpl.[Ch]:
10563         *       CutAndPaste.C:
10564         * buffer.[Ch]:
10565         * lyxcursor.[Ch]:
10566         * lyxfind.C:
10567         * lyxfunc.C:
10568         * lyxrow.[Ch]:
10569         * paragraph.[Ch]:
10570         * paragraph_pimpl.[Ch]:
10571         * sp_spell.C:
10572         * text.C:
10573         * text2.C: reduce header dependencies, introduce type for positions
10574
10575 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10576
10577         * <various>: change to use Alert.h
10578
10579 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10580
10581         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10582         when encountering an unknown token.
10583         (readLyXformat2): Show an error message if there were unknown tokens.
10584
10585 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10586
10587         * BufferView2.C:
10588         * BufferView_pimpl.C:
10589         * buffer.C:
10590         * paragraph.h:
10591         * text.C:
10592         * text2.C: use par->isInset()
10593
10594 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10595
10596         * paragraph_pimpl.h:
10597         * paragraph_pimpl.C: cleanup
10598
10599 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10600
10601         * text2.C (removeRow):
10602         * text.C (setHeightOfRow): remove useless (and costly) call to
10603         getRow.
10604
10605 2001-11-20  Allan Rae  <rae@lyx.org>
10606
10607         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10608         Now need Inset*::checkInsertChar() to return true for appropriate
10609         cases so that the characters in the minibuffer will actually be
10610         inserted.
10611
10612 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10613
10614         * text.C: change the order of the includes.
10615         (workWidth): initialize it at once.
10616         (workWidth): make maxw unsigned
10617         (setHeightOfRow): remove unused variable (inset)
10618         (selectSelectedWord): remove unused variable (inset)
10619         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10620
10621 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10622
10623         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10624         server is not running.
10625         (openConnection):
10626         (closeConnection): add debug info when server is disabled.
10627
10628         * ColorHandler.C (getGCForeground): send debug message to GUI
10629         channel.
10630
10631         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10632
10633         * kbmap.C (bind): modify because return conventions of
10634         kb_sequence::parse have changed.
10635
10636         * kbsequence.C (parse): only ignore spaces and not any stupid
10637         control character. This avoids tests like s[i] <= ' ', which are
10638         guaranteed to fail with 8bit characters and signed chars.
10639         Change return code to string::npos when there have been no error
10640         (0 was a bad idea when error is at first character)
10641
10642 2001-11-14  José Matos  <jamatos@fep.up.pt>
10643
10644         * buffer.h:
10645         * buffer.C (simpleDocBookOnePar): removed unused argument.
10646
10647 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10648
10649         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10650         insets which are part of a word. Paragraph::isLetter takes care of
10651         that now. Use Paragraph::isInset to identify insets.
10652         (selectSelectedWord): do not test for hyphenation break.
10653
10654         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10655         that protected spaces are considered as spaces.
10656
10657         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10658         Inset::isLetter.
10659
10660 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10661
10662         * lyxserver.h:
10663         * lyxserver.C: fix it. and small cleanup.
10664
10665 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10666
10667         * BufferView_pimpl.C: use inline helpers
10668
10669         * LaTeXFeatures.h:
10670         * LaTeXFeatures.C: fix typos
10671
10672         * Spacing.h:
10673         * Spacing.C: move spacing_string into class
10674
10675         * ToolbarDefaults.C: move stuff into namespace anon
10676
10677         * layout.h: update enum
10678
10679         * lyxfunc.C: use better debug
10680
10681         * minibuffer.h: fix typo
10682
10683         * debug.h:
10684         * debug.C:
10685         * WorkArea.C: add and use Debug::WORKAREA
10686
10687         * lyxtext.h:
10688         * text.C:
10689         * text2.C: code re-organisation, inline helpers
10690
10691 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10692
10693         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10694         std::vector.empty().
10695
10696 2001-11-09  Allan Rae  <rae@lyx.org>
10697
10698         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10699         '\n's after tables.  Tabular and ERT inset work now makes this no
10700         longer necessary.
10701
10702 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10703
10704         * minibuffer.h:
10705         * minibuffer.C: fix crash, improve drop-down completion
10706
10707 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10708
10709         * lyxserver.h:
10710         * lyxserver.C: invalidate fd's when doing endPipe()
10711
10712 2001-11-08  José Matos  <jamatos@fep.up.pt>
10713
10714         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10715         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10716
10717         * paragraph.h:
10718         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10719
10720 2001-11-07  José Matos  <jamatos@fep.up.pt>
10721
10722         * buffer.h:
10723         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10724         const qualifier.
10725
10726         * buffer.C (sgmlOpenTag):
10727         * buffer.C (sgmlCloseTag): removed debug info.
10728
10729         * buffer.h (sgmlOpenTag):
10730         * buffer.h (sgmlCloseTag): made public.
10731
10732 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10733
10734         * buffer.C (saveParamsAsDefaults):
10735         * lyx_cb.C (MenuLayoutSave): remove
10736
10737         * LyXAction.C (init):
10738         * commandtags.h:
10739         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10740
10741 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10742
10743         * buffer.C (setPaperStuff): removed from here...
10744
10745         * bufferparams.C (setPaperStuff): ... and moved there.
10746
10747 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10748
10749         * minibuffer.h:
10750         * minibuffer.C:
10751         * XFormsView.C: add support for drop-down completion
10752
10753 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10754
10755         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10756         commands.
10757
10758 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10759
10760         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10761         disabled.
10762
10763 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10764
10765         * lyx_main.C: change ref to known bugs
10766
10767 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10768
10769         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10770         to work around older babel problems.
10771
10772 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10773
10774         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10775
10776 2001-10-24  Juergen Vigna  <jug@sad.it>
10777
10778         * tabular-old.C (ReadOld): below variable changes reflected.
10779
10780         * tabular.[Ch]: added ltType struct for longtable header/footer
10781         defines and changed all instances where they are used. Added
10782         future support for double top/bottom rows.
10783
10784 2001-10-24  José Matos  <jamatos@fep.up.pt>
10785
10786         * buffer.h (docbookHandleCaption):
10787         * buffer.C (docbookHandleCaption): removed unused function.
10788         (makeDocBookFile): moved docbook supported version to v4.1.
10789
10790 2001-10-24  José Matos  <jamatos@fep.up.pt>
10791
10792         * tabular.h:
10793         * tabular.C (docbookRow): new function to export docbook code of a row.
10794         (DocBook): now honors the longtable flags.
10795
10796 2001-10-23  José Matos  <jamatos@fep.up.pt>
10797
10798         * LaTeXFeatures.h:
10799         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10800         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10801
10802         * buffer.C (makeLinuxDocFile):
10803         (makeDocBookFile): reworked the preamble, more clean, and with
10804         support for lyx defined entities. Changed the document declaration
10805         to be more XML friendly.
10806
10807         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10808         if we need to output XML that should be done with a filter.
10809
10810 2001-10-22  Juergen Vigna  <jug@sad.it>
10811
10812         * sp_pspell.h (class PSpell): add alive function needed in the
10813         controller to see if the spellchecker could be started.
10814
10815 2001-10-22  Juergen Vigna  <jug@sad.it>
10816
10817         * buffer.C (insertStringAsLines): modify the font for inserting
10818         chars in certain conditions by calling checkInsertChar(font).
10819
10820 2001-10-19  Juergen Vigna  <jug@sad.it>
10821
10822         * text.C (workWidth): use getRow instead of wrong algorithm.
10823         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10824
10825 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10826
10827         * lyxserver.h:
10828         * lyxserver.C:
10829         * lyx_main.h:
10830         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10831
10832 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10833
10834         * text.C (workWidth): do not search for the exact row when
10835         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10836         optimization for big documents.
10837
10838 2001-10-18  Juergen Vigna  <jug@sad.it>
10839
10840         * text.C (workWidth): new function with added Inset * parameter.
10841
10842 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10843
10844         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10845
10846         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10847         change return type of getColumnNearX.
10848
10849
10850         * text.C (changeRegionCase): use uppercase/lowercase instead of
10851         toupper/tolower.
10852         (leftMargin):
10853         (rightMargin): simplify code by factoring out the uses of
10854         textclasslist.
10855         (labelFill):
10856         (numberOfHfills):
10857         (setHeightOfRow):
10858         (appendParagraph): use Paragraph::size_type
10859
10860 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10861
10862         * vspace.C (asLatexString): add a missing break
10863
10864 2001-10-15  Herbert Voss  <voss@perce.de>
10865
10866         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10867
10868 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10869
10870         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10871         is not available.
10872
10873 2001-10-10  André Pönitz <poenitz@gmx.net>
10874
10875         * lyxfunc.C: removed greek_kb_flag.
10876
10877 2001-10-10  Herbert Voss  <voss@perce.de>
10878
10879         * lyx_main.C: delete global string help_lyxdir.
10880
10881 2001-10-09  Herbert Voss  <voss@perce.de>
10882
10883         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10884
10885         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10886
10887         * lyx_main.C: added global string help_lyxdir.
10888
10889         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10890
10891 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10892
10893         * lyxrc.C (set_font_norm_type): support iso8859-4
10894
10895 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10896
10897         * LaTeX.C (deplog): add another regex for MikTeX
10898
10899 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10900
10901         * lyxrc.C (set_font_norm_type): support iso8859-3
10902
10903 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10904
10905         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10906
10907         * LaTeXFeatures.C: remove special case of french and index
10908
10909         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10910         before \begin{document}). This solves several incompatibilities.
10911
10912 2001-10-03  Garst Reese  <reese@isn.net>
10913
10914         * lyx_cb.C: change CheckTex error msg.
10915
10916 2001-10-03  José Matos  <jamatos@fep.up.pt>
10917
10918         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10919
10920 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10921
10922         * .cvsignore: update
10923
10924         * lyx_main.C (commandLineVersionInfo): use new style version info.
10925
10926         * buffer.C (writeFile):
10927         (makeLaTeXFile):
10928         (makeLinuxDocFile):
10929         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10930
10931         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10932
10933         * version.h: update to use stuff in version.C
10934
10935         * version.C.in: new file. Contains version information determined
10936         at compile time. This is a merging of version.h and
10937         version_info.h.in.
10938
10939 2001-10-03  Juergen Vigna  <jug@sad.it>
10940
10941         * BufferView_pimpl.C (update): don't change "dirty" status in
10942         updateInset call.
10943
10944 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10945
10946         * WorkArea.C (c-tor): re-position version string slightly.
10947
10948 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10949
10950         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10951         revert to previous code.
10952
10953         WorkArea.[Ch]: (show, destroySplash): methods removed.
10954
10955         WorkArea.C: rework code so that it's an amalgam of the codes before and
10956         after the splash screen was moved to WorkArea.
10957
10958 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10959
10960         * lyxrc.C (read):
10961         * vspace.C (inPixels):
10962         (lyx_advance):
10963         * kbmap.C (bind):
10964         * buffer.C (insertStringAsLines):
10965         (asciiParagraph): fix types to be large enough
10966
10967         * lyxlex_pimpl.h: change member status from short to int
10968
10969         * layout.h: fix type of endlabeltype
10970
10971         * kbmap.C (bind):
10972         * kbsequence.C (parse): change return type to string::size_type
10973
10974         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10975         variable
10976
10977         * Bullet.C (bulletSize):
10978         (bulletEntry): do not use short ints as parameters
10979
10980         * BufferView2.C (insertLyXFile): change a char to an int.
10981
10982         * WorkArea.C (WorkArea): remove unneeded floats in computation
10983
10984 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10985
10986         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10987
10988         * paragraph.C (asString): Do not ignore newline/hfill chars when
10989         copying to the clipboard.
10990
10991 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10992
10993         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10994         after a multi-line inset.
10995
10996 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10997
10998         * paragraph.C (validate): Set NeedLyXFootnoteCode
10999
11000 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11001
11002         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11003         and decrease-error to decrease.
11004
11005 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11006
11007         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11008         it more readable (should be equivalent)
11009
11010 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11011
11012         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11013
11014 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11015
11016         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11017         of a cursor (row, etc.) after a character has been deleted
11018         (deleteEmptyParagraphMechanism): call the method above on _all_
11019         cursors held by the LyXText when a double space has been
11020         detected/deleted.
11021
11022 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11023
11024         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11025         pixmap.
11026         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11027
11028         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11029         background. Use greyOut() and the new show() methods to toggle between
11030         the foreground and background. Add code to remove the splash after
11031         its initial showing.
11032
11033         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11034         (create_forms): no longer call Dialogs::showSplash.
11035
11036 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11037
11038         * .cvsignore: add version_info.h
11039
11040 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11041
11042         * version_info.h.in: new file
11043
11044         * Makefile.am: add version_info.h.in
11045
11046         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11047         version_info.h instead of VERSION_INFO
11048
11049 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11050
11051         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11052         The ERT inset now returns string().
11053
11054 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11055
11056         * lyxtext.h, text.C (selectNextWord): renamed as
11057         selectNextWordToSpellcheck.
11058
11059         * text.C (selectNextWordToSpellcheck): Modified to not select
11060         words inside an ERT inset.
11061
11062 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11063
11064         * lyx_cb.C (MenuLayoutSave): change a bit the question
11065
11066         * sp_base.h: include <sys/types.h>
11067
11068 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11069
11070         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11071
11072 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11073
11074         * several files: fix typos in user-visible strings
11075
11076 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11077
11078         * text2.C (pasteSelection): do not set the selection, since it
11079         will be cleared later. Actually, the intent was to fix the way the
11080         selection was set, but I figured rmoving the code was just as good.
11081
11082 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11083
11084         * FontLoader.C (available): Check if font is available without
11085         loading the font.
11086
11087 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11088
11089         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11090
11091 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11092
11093         * lyxrc.[Ch]: added display_graphics variable and associated code.
11094
11095 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11096
11097         * bufferparams.C (hasClassDefaults): new method. Returns true if
11098         the buffer parameters correspond to known class defaults
11099
11100 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11101
11102         * XFormsView.C (show): set minimum size to the main window.
11103
11104 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11105
11106         * text2.C (copySelection):
11107         (cutSelection):
11108         * lyxfind.C (LyXReplace):
11109         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11110         LyXText::selectionAsString.
11111
11112         * paragraph.C (asString): add "label" argument to the second form
11113
11114         * text2.C (selectionAsString): add "label" argument and pass it to
11115         Paragraph::asString.
11116
11117 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11118
11119         * lyx_main.C (commandLineHelp): remove version information
11120
11121 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11122
11123         * lyx_main.C: add -version commandline option
11124
11125 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11126
11127         * paragraph.h: make the optional constructor arg required instead.
11128         some modifications to other files because of this.
11129
11130         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11131
11132         * lyxserver.C (C_LyXComm_callback): make it static
11133
11134         * lyx_main.C (error_handler): make it static
11135
11136         * lyx_gui.C (LyX_XErrHandler): make it static
11137
11138         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11139
11140         * WorkArea.C: make the extern "C" methods static.
11141
11142         * Makefile.am (lyx_LDADD): simplify
11143
11144 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11145
11146         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11147         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11148
11149         * LyXAction.C (init):
11150         * lyxfunc.C (dispatch): associated code removal.
11151
11152 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11153
11154         * lyxfont.h (isSymbolFont): shut off warning
11155
11156         * text.C (setHeightOfRow):
11157         (getVisibleRow): fix crash with empty paragraphs which have a
11158         bottom line
11159
11160 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11161
11162         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11163         code.
11164
11165 2001-09-04  José Matos  <jamatos@fep.up.pt>
11166         * buffer.C
11167         * buffer.h
11168         * tabular.C (docbook): rename docBook method to docbook.
11169
11170 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11171
11172         * Makefile.am: add dependencies to main.o.
11173
11174 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11175
11176         * FontLoader.C (available): Return false if !lyxrc.use_gui
11177
11178 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11179
11180         * FontInfo.C (query):
11181         * converter.C (view):
11182         * importer.C (Import):
11183         * exporter.C (Export): Can not -> cannot.
11184
11185 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11186
11187         * BufferView_pimpl.C: allow to create index inset even if
11188           string is empty
11189
11190 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11191
11192         * buffer.C (getLists): replace boost::tie code with an explicit pair
11193         as boost::tie can break some compilers.
11194
11195         * iterators.h: Added a std:: declaration to the return type of
11196         ParIterator::size.
11197
11198 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11199
11200         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11201           case.
11202
11203 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11204
11205         * iterators.[Ch]: New files. Provide paragraph iterators.
11206
11207         * buffer.C (changeLanguage): Use paragraph iterators.
11208         (isMultiLingual): ditto
11209
11210         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11211
11212 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11213
11214         * FontLoader.C: Support for cmr font.
11215
11216 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11217
11218         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11219         (available): New method.
11220
11221         * FontInfo.C (getFontname): Use scalable fonts even when
11222         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11223         found.
11224
11225 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11226
11227         * converter.C (Formats::view): reverted! Incorrect fix.
11228
11229 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11230
11231         * converter.C (Formats::view): only output the -paper option
11232         if the dvi viewer is xdvi, thereby fixing bug #233429.
11233
11234 2001-08-23  Herbert Voss  <voss@perce>
11235
11236         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11237
11238 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11239
11240         * Spacing.h (Spacing): Set space to Default on in the default
11241         constructor.
11242
11243 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11244
11245         * vc-backend.h (RCS::versionString): add RCS to version
11246         (CVS::versionString): add CVS to version
11247
11248         * vc-backend.C (scanMaster): do not add CVS to version.
11249         (scanMaster): do not add RCS to version
11250
11251         * lyxvc.C (versionString): new method
11252
11253         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11254
11255 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11256
11257         * Spacing.C (set): initialize fval
11258
11259 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11260
11261         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11262         " or \.
11263
11264 2001-08-16  Juergen Vigna  <jug@sad.it>
11265
11266         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11267
11268 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11269
11270         * BufferView_pimpl.C:
11271         * figureForm.C:
11272         * lyxtext.h:
11273         * text2.C: setParagraph takes linespacing now
11274
11275 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11276
11277         * LyxAction.C: add internal LFUN_CITATION_INSERT
11278
11279         * LyXView.C: actually apply fix
11280
11281         * bufferlist.C: fix open non-existent file
11282
11283         * lyxfind.C: fix indentation
11284
11285         * lyxfunc.C: remove unneeded assert, fix typo
11286
11287 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11288
11289         * MenuBackend.C: use "Floatname List"
11290
11291 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11292
11293         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11294         when converting LaTeX layout to insetERT.
11295         Generate a non-collapsed float when reading old float
11296
11297 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11298
11299         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11300         ERT insets.
11301
11302 2001-08-13  Juergen Vigna  <jug@sad.it>
11303
11304         * text.C (fill): return 0 instead of 20 as this seems to be the more
11305         correct value.
11306
11307 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11308
11309         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11310         lyxrc.font_norm.
11311
11312 2001-08-13  Juergen Vigna  <jug@sad.it>
11313
11314         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11315         casesensitive off.
11316         (SearchBackward): comment out the unlocking of the inset_owner this
11317         should not be needed!
11318
11319 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11320
11321         * Many files: Remove inherit_language, and add latex_language
11322
11323         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11324         collapsible insets.
11325
11326 2001-08-10  Juergen Vigna  <jug@sad.it>
11327
11328         * text.C (prepareToPrint): fixed hfill-width in draw!
11329
11330         * BufferView2.C (selectLastWord): save the selection cursor as this
11331         now is cleared in the function LyXText::clearSelection!
11332
11333 2001-08-08  Juergen Vigna  <jug@sad.it>
11334
11335         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11336         BACKSPACE type functions.
11337
11338         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11339         is only cutted from the document but not put in the cut-buffer, where
11340         still the old stuff should be.
11341
11342         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11343
11344         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11345
11346         * tabular.C (SetWidthOfCell): fixed special case where the width
11347         was not updated!
11348         (LeftLine): handle '|' in align_special.
11349         (RightLine): ditto
11350         (LeftAlreadyDrawed): ditto
11351         (SetWidthOfCell): ditto
11352
11353 2001-08-07  Juergen Vigna  <jug@sad.it>
11354
11355         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11356
11357 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11358
11359         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11360         * lyxlex.[hC]: ditto
11361
11362 2001-08-06  Juergen Vigna  <jug@sad.it>
11363
11364         * text.C (getVisibleRow): fix up row clearing a bit.
11365
11366 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11367
11368         * minibuffer.C: make sure the X server sees the changes in the input.
11369
11370 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11371
11372         * paragraph.C (getFont): split into...
11373         (getLabelFont): this
11374         (getLayoutFont): and this
11375         * paragraph_pimpl.C (realizeFont): calling this
11376
11377         * text2.C (getFont): split into...
11378         (getLayoutFont): this
11379         (getLabelFont): and this
11380         (realizeFont): all three calling this
11381
11382         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11383         files where used.
11384
11385 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11386
11387         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11388
11389 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11390
11391         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11392         layouts from the Quote inset insertion.
11393
11394 2001-08-03  Juergen Vigna  <jug@sad.it>
11395
11396         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11397
11398         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11399         only if status not is already CHANGED_IN_DRAW (second level).
11400
11401         * text.C (draw): don't set the need_break_row when inside an
11402         InsetText LyXText.
11403
11404 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11405
11406         * buffer.C (parseSingleLyXformat2Token): handle more latex
11407         conversion cases.
11408
11409         * bufferview_funcs.[hC]: change function names to
11410         begin with small char, adjust other files.
11411
11412 2001-08-02  André Pönitz <poenitz@gmx.net>
11413
11414         * lyxfunc.C:
11415         BufferView_pimpl.C: remove broken special code for math-greek
11416
11417 2001-08-02  Juergen Vigna  <jug@sad.it>
11418
11419         * BufferView_pimpl.C (update): redone this function so that we
11420         update the text again if there was a CHANGE_IN_DRAW.
11421
11422         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11423         (drawFromTo): added a new internal bool which is used by draw() and
11424         redraw() function.
11425         (general): some cursor drawing problems fixed.
11426
11427 2001-08-01  Juergen Vigna  <jug@sad.it>
11428
11429         * lyxfind.C (LyXFind): fixed
11430         (SearchForward): ditto
11431         (SearchBackward): ditto
11432
11433         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11434         spurius drawing of the cursor in the main area.
11435
11436         * text2.C (status): small fix which could lead to a segfault!
11437         (clearSelection): remove unneeded BufferView param.
11438
11439 2001-08-01  André Pönitz <poenitz@gmx.net>
11440
11441         * lyxfunc.C: small change due to changed mathed interface
11442
11443 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11444
11445         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11446
11447 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11448
11449         * lyxfunc.c: fail gracefully if file doesn't exist
11450
11451         * LyXSendto.C:
11452         * buffer.C:
11453         * lyxfunc.C:
11454         * BufferView_pimpl.C: IsDirWriteable() proto changed
11455
11456         * LyXView.C: fix updateWindowTitle() to store the last title
11457
11458 2001-07-31  Juergen Vigna  <jug@sad.it>
11459
11460         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11461         the font (wrong since using of Paragraph::highestFontInRange).
11462
11463         * paragraph.C (highestFontInRange): added a default_size parameter.
11464
11465         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11466         (setHeightOfRow): reformat
11467
11468 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11469
11470         * converter.[hC] + affected files: move to (inital-char)lowercase
11471         function names.
11472
11473         * ParagraphParameters.C (ParagraphParameters): remove commented code
11474
11475         * PainterBase.[Ch]: remove commented code
11476
11477         * LaTeXFeatures.h: add "bool floats" for float.sty
11478
11479         * LaTeXFeatures.C (LaTeXFeatures): init floats
11480         (require): handle float
11481         (getPackages): do it with floats
11482
11483 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11484
11485         * BufferView_pimpl.C (Dispatch): improve handling of
11486         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11487
11488         * commandtags.h: #include lyxfont.h here temporarily to avoid
11489         keybinding bug.
11490
11491         * bufferlist.h: include LString.h here.
11492
11493 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11494
11495         * text2.C (getStringToIndex): new method.
11496
11497 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11498
11499         * *: Reduced header file dependencies all over.
11500
11501 2001-07-30  Baruch Even  <baruch@lyx.org>
11502
11503         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11504
11505 2001-07-29  Baruch Even  <baruch@lyx.org>
11506
11507         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11508
11509 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11510
11511         * ParameterStruct.h (endif): add a default constructor to make
11512         sure that all variables is initialized.
11513
11514         * ParagraphParameters.C (ParagraphParameters): adjust
11515
11516 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11517
11518         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11519         index; also, check that there is something to index, and that it
11520         does not span over several paragraphs.
11521         (doubleClick): use WHOLE_WORD_STRICT for double click.
11522
11523         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11524
11525         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11526         scheme.
11527
11528 2001-07-26  Baruch Even  <baruch@lyx.org>
11529
11530         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11531         an InsetFig figure, backwards compatible reading of old figure code.
11532
11533 2001-07-27  Juergen Vigna  <jug@sad.it>
11534
11535         * text2.C: font.realize function adaption.
11536
11537         * text.C (draw): add a warnings lyxerr text if needed.
11538
11539         * layout.C: font.realize function adaption.
11540
11541         * language.C: add inherit_language and implement it's handlings
11542
11543         * bufferview_funcs.C (StyleReset): remove language parameter from
11544         font creation (should be language_inherit now).
11545
11546         * bufferparams.C (writeFile): handle ignore_language.
11547
11548         * paragraph.C (getFontSettings): the language has to be resolved
11549         otherwise we have problems in LyXFont!
11550
11551         * lyxfont.C (lyxWriteChanges): added document_language parameter
11552         (update): removed unneeded language parameter
11553
11554         * paragraph.C (validate): fixed wrong output of color-package when
11555         using interface colors for certain fonts in certain environments,
11556         which should not seen as that on the final output.
11557
11558 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11559
11560         * BufferView_pimpl.C:
11561         * Thesaurus.h:
11562         * Thesaurus.C:
11563         * Makefile.am:
11564         * commandtags.h:
11565         * LyXAction.C: add thesaurus support
11566
11567         * lyxfind.h:
11568         * lyxfind.C: add "once" parameter, for thesaurus, to not
11569           move to the next match
11570
11571 2001-07-26  Juergen Vigna  <jug@sad.it>
11572
11573         * lyxfont.C (realize): honor ignore_language too!
11574         (resolved): ditto.
11575
11576         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11577
11578         * text.C (draw): one place more for ignore_language to not draw
11579         itself!
11580
11581 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11582
11583         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11584
11585 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11586
11587         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11588         the minipage conversion problem.
11589
11590 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11591
11592         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11593         insert an inset.
11594
11595 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11596
11597         * BufferView.h: don't forward declare WorkArea
11598
11599         * BufferView.C: don't include WorkArea.h
11600
11601 2001-07-25  André Pönitz <poenitz@gmx.net>
11602
11603         * commandtags.h:
11604         * LyXAction.C:
11605         * lyxfunc.C:  new LFUN 'math-space'
11606
11607         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11608
11609 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11610
11611         * text2.C (toggleInset): call open/close
11612
11613 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11614
11615         * lyxfunc.C (dispatch): add debug for the disabled case
11616
11617         * font.C (buttonText): make similar to rectText
11618
11619         * buffer.C (readInset): comment out parsing of insetlist and
11620         insttheorem
11621
11622         * PainterBase.C (rectText): small correction
11623
11624         * BufferView_pimpl.C: comment out insettheorem and insetlist
11625         * LyXAction.C: ditto
11626         * commandtags.h: ditto
11627
11628 2001-07-24  Juergen Vigna  <jug@sad.it>
11629
11630         * text.C (draw): honor the ignore_language.
11631
11632         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11633
11634 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11635
11636         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11637         char inset.
11638
11639 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11640
11641         * lyxtext.h: remove unused (and unimplemented) methods
11642
11643 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11644
11645         * text.C (getVisibleRow): honor background color
11646
11647         * PainterBase.h:
11648         * Painter.h: remove default color argument for fillRectangle
11649
11650         * text.C (backgroundColor): new method
11651
11652 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11653
11654         * text.C (getVisibleRow): adjust
11655
11656         * font.[Ch] (rectText): new method, metrics
11657         (buttonText): new method, metrics
11658
11659         * PainterBase.[hC]: make rectText and buttonText always draw and take
11660         fewer paramteres.
11661
11662 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11663
11664         * ToolbarDefaults.C (read):
11665         * MenuBackend.C (read): allow escaping in all strings
11666
11667         * BufferView_pimpl.C (insertAndEditInset): new method.
11668         (Dispatch): use insertAndEditInset whenever appropriate.
11669
11670         * BufferView_pimpl.C (insertNote): removed
11671
11672         * BufferView_pimpl.C (smartQuote): new method, moved from
11673         BufferView; if an insetquote cannot be inserted, insert a '"'
11674         character instead.
11675
11676         * BufferView2.C: remove insertCorrectQuote();
11677
11678         * lyxfunc.C (getStatus): Add support for all remaingin
11679         inset-insert lfuns.
11680
11681         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11682
11683         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11684         command (necessary to pass " as parameter of self-insert.
11685
11686         * text.C (selectWordWhenUnderCursor):
11687         (selectWord): add word_location parameter
11688         (selectWordWhenUnderCursor): same + remove special code for word
11689         boundary.
11690         (selectNextWord): use kind() to guess type of insetspecialchar,
11691         not latex().
11692
11693         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11694         (insertErtContents): create ert insets as collapsed.
11695         (readInset): better compatibility code for Info inset.
11696
11697 2001-07-20  Juergen Vigna  <jug@sad.it>
11698
11699         * lyxfunc.C (dispatch): use always LyXFind now!
11700
11701         * text2.C (init): add a reinit flag so that the LyXText can be
11702         reinited instead of deleted and reallocated (used in InsetText).
11703
11704         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11705
11706         * text.C: ditto
11707
11708         * text2.C: ditto
11709
11710 2001-07-18  Juergen Vigna  <jug@sad.it>
11711
11712         * text.C (selectNextWord): handle insets inside inset by calling
11713         always the bv->text functions so that we can go up the_locking_inset!
11714
11715         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11716         in strange locations when inside an inset!
11717
11718         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11719         handling to include insets.
11720
11721         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11722
11723 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11724
11725         * LyXAction.C (init):
11726         * commandtags.h:
11727         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11728         LIGATURE_BREAK, since the name is so stupid.
11729
11730 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11731
11732         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11733         InsetInfos.
11734
11735         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11736
11737         * sp_form.[Ch]: remove.
11738
11739         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11740
11741         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11742         InsetInfo.
11743
11744         * src/buffer.C (readInset): ditto.
11745
11746 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11747
11748         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11749         menuSeparator(), endOfSentenceDot(), ldots() and
11750         hyphenationPoint(), which are therefore removed.
11751         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11752
11753         * LyXAction.C (init):
11754         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11755
11756         * paragraph.C (getWord): removed.
11757
11758         * BufferView_pimpl.C (Dispatch): use last word or selection for
11759         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11760
11761         * lyx_main.C (queryUserLyXDir): do not ask before creating
11762         user_dir, except if it has been named explicitely.
11763
11764 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11765
11766         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11767         a document of zero size.
11768
11769 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11770
11771         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11772         approriately in the c-tor and in require().
11773         (getPackages): output the appropriate LaTeX for natbib support.
11774
11775         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11776         variables "use_natbib" and "use_numerical_citations" when reading the
11777         LyX file.
11778         (readInset): read the various natbib cite commands.
11779         (validate): white-space change.
11780
11781         * bufferparams.[Ch]: new variables "bool use_natbib" and
11782         "bool use_numerical_citations".
11783         (writeFile): output them in the LyX file.
11784
11785 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11786
11787         * lyxfunc.C (getStatus): add support for all the inset insertion
11788         commands.
11789
11790         * text2.C (insertInset):
11791         * paragraph.C (insetAllowed):
11792         * BufferView_pimpl.C (insertInset): update to take in account the
11793         renaming of insertInsetAllowed
11794
11795         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11796
11797         * text2.C (getInset): new method. returns inset at cursor position.
11798
11799         * BufferView_pimpl.C (Dispatch): changes because of this.
11800
11801         * LyXAction.C (init): rename open-stuff to inset-toggle.
11802
11803         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11804
11805         * text2.C (toggleInset): renamed from openStuff; use
11806         Inset::open().
11807
11808 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11809
11810         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11811
11812         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11813
11814 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11815
11816         * buffer.C (readLyXformat2): Add filename to the error dialog
11817
11818 2001-07-18  Juergen Vigna  <jug@sad.it>
11819
11820         * tabular.C (GetCellNumber): put an assert here instead of the check!
11821
11822 2001-07-17  Juergen Vigna  <jug@sad.it>
11823
11824         * BufferView_pimpl.C (toggleSelection): adapted too.
11825
11826         * text.C (selectNextWord): adapted for use with insets.
11827         (selectSelectedWord): ditto
11828
11829 2001-07-17  Juergen Vigna  <jug@sad.it>
11830
11831         * sp_spell.C (PSpell): fix initialitation order.
11832
11833 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11834
11835         * paragraph.C: spacing
11836
11837 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11838
11839         * sp_spell.C: repair language selection for pspell
11840
11841 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11842
11843         * lyxfunc.h: change more methods to begin with lower char.
11844
11845 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11846
11847         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11848         for unknown layouts.
11849
11850 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11851
11852         * buffer.C (readLyXformat2): Generate an error dialog if there are
11853         unknown layouts.
11854
11855 2001-07-16  Juergen Vigna  <jug@sad.it>
11856
11857         * sp_spell.C: always compile ISpell part.
11858
11859         * lyxrc.C: added use_pspell entry and it's handling.
11860
11861 2001-07-13  Juergen Vigna  <jug@sad.it>
11862
11863         * sp_spell.C: removed double includes.
11864
11865 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11866
11867         Consistent use of Lsstream.h:
11868         * Lsstream.h: added using std::stringstream for consistencies sake.
11869
11870         * buffer.C: removed using std::stringstream
11871
11872         * lyxfont.C (stateText):
11873         * paragraph.C (asString):
11874         * text.C (selectNextWord, selectSelectedWord):
11875         * text2.C (setCounter):
11876         * vspace.C (asString, asLatexString):
11877         std::ostringstream -> ostringstream.
11878
11879 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11880
11881         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11882         * commandtags.h: add LFUN_HELP_ABOUTLYX
11883         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11884
11885 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11886
11887         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11888         cursorToggle()
11889         * lyx_gui_misc.C: remove spellchecker
11890         * lyxfunc.C: showSpellchecker
11891         * sp_base.h: added
11892         * sp_ispell.h: added
11893         * sp_pspell.h: added
11894         * sp_spell.C: added
11895         * sp_form.[Ch]: removed
11896         * spellchecker.[Ch]: removed
11897
11898 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11899
11900         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11901         is set.
11902         (simpleTeXSpecialChars): Simply print the input character without
11903         any special translation if pass_thru is set.
11904
11905         * layout.h: Added bool pass_thru to layout class for being able to
11906         implement pass through of a paragraph for Literate Programming.
11907
11908         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11909         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11910         * layout.C (Read): add "passthru" to list of layout tags and add
11911         code to set the pass_thru boolean when it is read.
11912
11913 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11914
11915         * trans_decl.h: remove allowed from KmodInfo
11916
11917         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11918         remove allowed code
11919         (Load): adjust
11920
11921         * paragraph_pimpl.C (erase): use boost::prior
11922
11923         * Painter.C (text): use data() instead of c_str() when length is
11924         also provided.
11925         * WorkArea.C (putClipboard): ditto
11926         * font.h (width): ditto
11927
11928         * BufferView2.C: use it-> instead of (*it). for iterators
11929         * texrow.C: ditto
11930         * paragraph_pimpl.C: ditto
11931         * paragraph.C: ditto
11932         * minibuffer.C: ditto
11933         * language.C: ditto
11934         * kbmap.C: ditto
11935         * encoding.C: ditto
11936         * counters.C: ditto
11937         * converter.C: ditto
11938         * chset.C: ditto
11939         * Variables.C: ditto
11940         * TextCache.C: ditto
11941         * MenuBackend.C: ditto
11942         * LyXAction.C: ditto
11943         * LColor.C: ditto
11944         * FloatList.C: ditto
11945         * DepTable.C: ditto
11946         * ColorHandler.C (LyXColorHandler): ditto
11947
11948 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11949
11950         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11951
11952         * text2.C (openStuff): reintroduce this method (which had been
11953         nuked in NEW_INSETS frenzy).
11954
11955         * lyxfunc.C (Dispatch): when an action has not been handled, use
11956         its name in the error message, not its number.
11957
11958         * paragraph.C (inInset): change method name to begin with lowercase.
11959
11960         * undo_funcs.C:
11961         * text2.C: updates because of this.
11962
11963 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11964
11965         * ToolbarDefaults.C (add): add spaces in error message
11966
11967 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11968
11969         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11970         (readLyXformat2): rename return_par to first_par, use lyxlex's
11971         pushToken and remove the manual push handling.
11972         (parseSingleLyXformat2Token): add another ert comp. variable:
11973         in_tabular, rename return_par to first_par. handle newlines better
11974
11975 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11976
11977         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11978
11979 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11980
11981         * text2.C (getParFromID): removed
11982
11983         * buffer.C (getParFromID): new method moved form lyxtext.
11984         * BufferView2.C (insertErrors): adjust
11985         (setCursorFromRow): adjust
11986         * BufferView_pimpl.C (restorePosition): adjust
11987         * lyxfunc.C (Dispatch): adjust
11988         * undo_funcs.C (textUndo): adjust
11989         (textRedo): adjust
11990         (textHandleUndo): adjust
11991         (textHandleUndo): adjust
11992
11993 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11994
11995         * buffer.C: up' the LYX_FORMAT
11996
11997         * lyxfont.h: turn NO_LATEX on as default
11998
11999         * buffer.C (insertErtContents): new methods of tex style compability.
12000         (parseSingleLyXformat2Token): use it several places.
12001         * tabular.C (OldFormatRead): and here
12002
12003 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12004
12005         * text2.C: remove some commented code.
12006         reindent file.
12007
12008         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12009         * trans.C: changes because of the above.
12010
12011 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12012
12013         * text2.C (setCounter): Fix counters bug with bibliography layout.
12014
12015 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12016
12017         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12018         own member functions
12019         (simpleTeXSpecialChars): ditto
12020
12021 2001-07-06  Juergen Vigna  <jug@sad.it>
12022
12023         * a lot of files: changed the access to LyXText::status and the
12024         call of undo-functions.
12025
12026         * undo.[Ch]: added a inset_id to the undo informations.
12027
12028         * undo_funcs.[Ch]: added and moved here all undo functions.
12029
12030         * lyxtext.h: give the status enum a weight, made status_ a private
12031         variable and made accessor functions for it, removed the whole bunch
12032         of undo-functions as they are now in their own file, make some
12033         functions publically available. Added function ownerParagraph with
12034         int parameter.
12035
12036         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12037         made InInset() a const function, added getParFromID() function.
12038
12039         * buffer.[Ch]: added const version for inset_iterator functions,
12040         added getInsetFromID() function.
12041
12042         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12043         changed undo functions for new version.
12044
12045 2001-07-05  Juergen Vigna  <jug@sad.it>
12046
12047         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12048         unknow mechanism does not call the proper constructor but only this
12049         one also if I request the other!?
12050
12051 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12052
12053         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12054
12055         * text2.C (LyXText): use initialization lists.
12056
12057         * lyxtext.h (Selection): initialize set_ and mark_
12058         (init): remove method
12059
12060 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12061
12062         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12063
12064 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12065
12066         * screen.[Ch]: change method names to begin with lowercase
12067
12068         * BufferView_pimpl.C (updateScrollbar): simplify further and
12069         hopefully make it a bit faster.
12070
12071 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12072
12073         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12074         calling directly xforms functions.
12075
12076         * Painter.C (Painter):
12077         * lyx_cb.C (MenuWrite):
12078         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12079         fl_display.
12080
12081         * lyx_gui.C: remove bogus guiruntime extern declaration.
12082
12083 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12084
12085         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12086         in NEW_INSETS
12087         (redoDrawingOfParagraph): ditto
12088         (redoParagraphs): ditto
12089         (cutSelection): don't create a object for CutAndPaste use the
12090         static method directly
12091         (pasteSelection): ditto
12092
12093         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12094         LyXview (+ rename)
12095
12096 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12097
12098         * modifications to some other files because of this.
12099
12100         * Makefile.am (lyx_SOURCES): add XFormsView
12101
12102         * XFormsView.[Ch]: new files
12103
12104         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12105         the main window. Move the gui dependent stuff to XFormsView
12106
12107 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12108
12109         * tabular.C (GetCellInset): update cur_cell also in the row/col
12110         version of this function.
12111
12112         * lyxfunc.C: no need to include figure_form.h here.
12113
12114         * FontLoader.h:
12115         * lyxfunc.h:
12116         * lyxscreen.h:
12117         * text2.C:
12118         * lyxvc.C: no need to include forms.h here.
12119
12120 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12121
12122         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12123
12124         * lyxfunc.C (Dispatch):
12125         * Spacing.C (set):
12126         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12127         constructor argument.
12128
12129 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12130
12131         * paragraph.C (Paragraph): dont't clear, and just set layout.
12132         (makeSameLayout): use params's copy contructor.
12133
12134         * ParagraphParameters.[Ch] (makeSame): delete method
12135
12136 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12137
12138         * Variables.[Ch]: fix indentation, rename set to isSet
12139
12140 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12141
12142         * lyxfunc.C (Dispatch): fix typo
12143
12144 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12145
12146         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12147         upper_bound.
12148
12149         * bufferlist.C: include assert.h for emergencyWrite().
12150
12151 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12152
12153         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12154           give up at last (bug #425202) !
12155
12156 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12157
12158         * lyx_gui_misc.C:
12159         * sp_form.h:
12160         * sp_form.C:
12161         * spellchecker.h:
12162         * spellchecker.C: strip spellchecker options and bring up
12163           preferences tab instead
12164
12165 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12166
12167         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12168         the istringstream constructor
12169
12170 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12171
12172         * paragraph.C (getLayout): fix return value
12173
12174         * paragraph.h: do not declare getLayout as inline.
12175
12176         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12177
12178 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12179
12180         * lyxcursor.h (operator<): new func
12181         (operator>): new func
12182         (operator>=): new func
12183         (operator<=): new func
12184
12185         * text.C (changeCase): use selection.start and selection.end
12186         (changeRegionCase): require from to be <= to. Require par to be a
12187         valid paragraph.
12188
12189         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12190
12191 2001-06-27  Juergen Vigna  <jug@sad.it>
12192
12193         * text.C (cursorLeftOneWord): changed to return the cursor and added
12194         overlay with BufferView * parameter which calls this one.
12195         (getWord): added
12196         (selectWord): use new getWord function.
12197         (changeCase): renamed from changeWordCase as and extended to work
12198         also on selections.
12199
12200         * lyxtext.h: added enum word_location
12201
12202         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12203         changeCase as this operates now also on selections.
12204
12205 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12206
12207         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12208
12209         * many files: send debug output to Debug::INFO instead of
12210         Debug::ANY.
12211
12212         * converter.C (View):
12213         (Convert):
12214         (Move): send debug output to Debug::FILES instead of console.
12215
12216 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12217
12218         * lyxfunc.C (getStatus): use func_status
12219
12220         * func_status.h: new header, describing the results of
12221         LyXFunc::getStatus;
12222
12223         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12224         LFUN_MATH_HALIGN.
12225
12226 2001-06-25  The LyX Project  <jug@sad.it>
12227
12228         * buffer.C (sgmlOpenTag):
12229         (sgmlCloseTag):
12230         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12231
12232 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12233
12234         * text2.C: remove some dead code
12235
12236         * tabular.C (GetCellInset): store the last cell checked (gotten)
12237
12238         * tabular.h: add the helper for the speedup
12239
12240         * lyxtext.h: remove some dead code
12241
12242 2001-06-26  The LyX Project  <Asger>
12243
12244         * paragraph.C: Change export to LaTeX of alignment to
12245         \begin{center} and family for better roundtrip work with reLyX.
12246
12247         * Tune the math drawing a bit.
12248
12249 2001-06-25  The LyX Project  <Asger>
12250
12251         * LColor.C (LColor): New color for math background. New color
12252         for buttons.
12253
12254 2001-06-25  The LyX Project  <jug@sad.it>
12255
12256         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12257
12258         * lyxfunc.C (Open):
12259         * bufferlist.C (newFile): do not restrict to files ending with
12260         .lyx
12261
12262         * BufferView_pimpl.C (MenuInsertLyXFile):
12263
12264 2001-06-24  The LyX Project  <jug@sad.it>
12265
12266         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12267         of compare_no_case
12268
12269 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12270
12271         * lyxtext.h: rename most methods to begin with a small char.
12272         Lots of changes because of this.
12273
12274         * paragraph.C (Paragraph): do not call fitToSize
12275         (erase): call Pimpl::erase
12276         (insertChar): call Pimpl::insertChar
12277         (insertInset): call Pipl::insertInset
12278         (breakParagraph): do not call fitToSize
12279         (breakParagraphConservative): do not call fitToSize
12280         (fitToSize): remove method
12281
12282         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12283
12284 2001-06-24  The LyX Project  <Asger>
12285
12286         * Fix Qt compilation^2
12287
12288 2001-06-24  The LyX Project  <jug@sad.it>
12289
12290         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12291         depthHook(getDepth()-1).
12292
12293         * paragraph.h:
12294         * ParagraphParameters.h:
12295         * ParameterStruct.h: change type of depth to unsigned int ==
12296         depth_type. Many adaptations to other files before of that.
12297
12298 2001-06-24  The LyX Project  <Asger>
12299
12300         * Fix Qt compilation.
12301
12302 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12303
12304         * paragraph.h: renamed several methods to begin with small letter.
12305         several changes to many parts of the code because of this.
12306
12307 2001-06-23  The LyX Project  <jug@sad.it>
12308
12309         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12310         rewritten to discard all double spaces when KeepEmpty is off
12311         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12312         to only handle newlines but not fiddle with spaces and friends.
12313
12314         * lyxfunc.C (MenuNew): when doing 'new from template', use
12315         template_path as default directory
12316
12317 2001-06-23  The LyX Project  <Asger>
12318
12319         * Clean-up of header file includes all over
12320         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12321
12322 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12323
12324         * paragraph.h: renamed from lyxparagraph.h
12325
12326 2001-06-23  Asger  <lyx@violet.home.sad.it>
12327
12328         * Buffer.h: Removed Buffer::resize
12329         * BufferList.h: Removed BufferList::resize
12330         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12331         the document lazily when we change the width, or the font settings.
12332
12333 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12334
12335         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12336
12337 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12338
12339         * buffer.h: remove out of date comment
12340
12341 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12342
12343         * lyxscreen.h:
12344         * screen.C: fix "theoretical" GC leak
12345
12346 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12347
12348         * LaTeX.C (scanAuxFile):
12349         (deplog): remove trailing \r when reading stream (useful under
12350         win32)
12351
12352 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12353
12354         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12355         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12356         and BufferView::theLockingInset(Inset*), so should use them and not
12357         access bv_->text->the_locking_inset directly.
12358
12359         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12360
12361 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12362
12363         * Makefile.am:
12364         * tex-defs.h: remove old unused file
12365
12366 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12367
12368         * BufferView_pimpl.C: fix typo, remove minibuffer message
12369           when buffer has loaded
12370
12371 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12372
12373         * lyxfunc.C (Dispatch): use stringstream
12374         (MenuNew): use stringstream
12375         (Open): use stringstream
12376
12377         * importer.C (Import): use stringstream
12378
12379         * bufferview_funcs.C (CurrentState): use stringstream
12380
12381         * LaTeX.C (run): use stringstream
12382
12383         * BufferView_pimpl.C (savePosition): use stringstream
12384         (restorePosition): use stringstream
12385         (MenuInsertLyXFile): use stringstream
12386
12387 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12388
12389         * BufferView.C:
12390         * Bullet.C:
12391         * ColorHandler.C:
12392         * FontInfo.C:
12393         * FontLoader.C:
12394         * LColor.C:
12395         * LaTeXFeatures.C:
12396         * Painter.C:
12397         * gettext.C:
12398         * lyx_gui_misc.C:
12399         * lyxserver.C:
12400         * vspace.C: removed // -*- C++ -*- as first line.
12401
12402         * lyxfind.h:
12403         * version.h: added // -*- C++ -*- as first line.
12404
12405 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12406
12407         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12408
12409         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12410         of string
12411
12412 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12413
12414         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12415         of floats.
12416
12417 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12418
12419         * gettext.C: include LString.h even when --disable-nls is on.
12420
12421 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12422
12423         * converter.h (Get): changed argument type from int to
12424         FormatList::size_type to avoid unnecessary conversion.
12425
12426         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12427         before using it.
12428
12429 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12430
12431         * gettext.h: include LString.h even when --disable-nls is on.
12432
12433 2001-06-07  Juergen Vigna  <jug@sad.it>
12434
12435         * text.C (BreakAgain): subst spaces with tabs.
12436
12437         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12438         (resizeInsetsLyXText): set force on resizeLyXText.
12439
12440 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12441
12442         * gettext.h (gettext_init):
12443         (locale_init): use a real definition instead of a macro
12444
12445 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12446
12447         * Bufferview_pimpl.C:
12448         * LColor.h:
12449         * LColor.C: further lcolor tidies
12450
12451 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12452
12453         * BufferView_pimpl.C (updateScrollbar): simplify.
12454
12455         * BufferView2.C: don't include insets/insetinfo.h, change
12456         prototype for insertInset and call the Pimpl version. let
12457         updateInset call Pimpl version.
12458
12459         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12460         gotoInset to BufferView::Pimpl
12461
12462 2001-06-01  Juergen Vigna  <jug@sad.it>
12463
12464         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12465         inside a LockingInset (is the update needed at all?).
12466
12467 2001-05-31  Juergen Vigna  <jug@sad.it>
12468
12469         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12470         here not the old one otherwise how should we compare it afterwards
12471         if it's the same!
12472
12473 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12474
12475         * lyxfont.C:
12476         * tabular.C:
12477         * tabular-old.C:
12478         * FontInfo.C: bring C functions into global namespace when
12479         necessary
12480
12481 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12482
12483         * LString.h: make sure config.h has been loaded before LString.h.
12484
12485         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12486         (one for each char read by EatLine!).
12487
12488         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12489         variables.
12490
12491 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12492
12493         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12494         to the same as the par we break from
12495
12496 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12497
12498         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12499
12500         * MenuBackend.C (expand): also create menu entries for wide
12501         versions of the floats.
12502
12503         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12504
12505         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12506
12507         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12508         frontends/Makefile.am
12509
12510         * text2.C: adjust
12511         * text.C: adjust
12512
12513
12514         * tabular.C (getTokenValue): add std::
12515
12516         * tabular-old.C (getTokenValue): add std::
12517         (getTokenValue): ditto
12518         (getTokenValue): ditto
12519
12520         * screen.C (ToggleSelection): adjust
12521
12522         * lyxtext.h: put selection cursors inside a Selection struct.
12523
12524         * lyxfunc.C (moveCursorUpdate): adjust
12525
12526         * lyxfont.C (latexWriteStartChanges): add std::
12527
12528         * lyxfind.C: adjust
12529
12530         * font.h: delete with(char const *, LyXFont const &)
12531
12532         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12533
12534         * FontInfo.C (getFontname): add std::
12535
12536         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12537         (workAreaButtonPress): adjust
12538         (tripleClick): adjust
12539         (update): adjust
12540         (moveCursorUpdate): adjust
12541         (Dispatch): adjust
12542
12543         * BufferView2.C (gotoInset): adjust
12544
12545 2001-05-30  Juergen Vigna  <jug@sad.it>
12546
12547         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12548         to check pspell I add this as default as I now have new pspell
12549         libraries and they seem to use this.
12550
12551 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12552
12553         * text2.C (CutSelection): make the cursor valid before the call to
12554         ClearSelection.
12555
12556 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12557
12558         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12559         relied on 0 terminated strings and other horrors. Bug found due to
12560         the new assert in lyxstring!
12561
12562         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12563         KP_ keys.
12564
12565 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12566
12567         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12568         to latinkeys.bind.
12569
12570         * lyxfunc.C (processKeySym): change method of getting to the
12571         self-insert char.
12572
12573         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12574         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12575         * BufferView_pimpl.[Ch]: here as private methods.
12576
12577 2001-05-28  Juergen Vigna  <jug@sad.it>
12578
12579         * text.C (SetHeightOfRow): added the update() call again as it is
12580         needed to initialize inset dimensions!
12581
12582 2001-05-16  Juergen Vigna  <jug@sad.it>
12583
12584         * text2.C (SetCharFont): Add new function with BufferView * and
12585         bool toggleall parameters for setting insets internal fonts.
12586         (SetFont): Freeze the undo as we may change fonts in Insets and
12587         all this change should be inside only one Undo!
12588
12589         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12590         setting font's in insets as for them we have the SetFont function!
12591
12592 2001-05-15  Juergen Vigna  <jug@sad.it>
12593
12594         * text2.C (ClearSelection): to be sure we REALLY don't have any
12595         selection anymore!
12596
12597         * tabular.C (TeXCellPreamble): fixed the left border problem for
12598         multicolumn cells.
12599
12600 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12601
12602         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12603         dependancy file
12604
12605 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12606
12607         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12608         LFUN_BREAKPARAGRAPH.
12609
12610         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12611         help test to "internal only", similar for LFUN_INSERT_URL
12612
12613         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12614         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12615         auto_region_delete and deadkeys.
12616
12617 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12618
12619         * LColor.h:
12620         * LColor.C: remove some dead entries, tidy a little
12621
12622 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12623
12624         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12625         commented code.
12626         (Dispatch): implement LFUN_ESCAPE
12627
12628         * commandtags.h: add LFUN_ESCAPE
12629
12630         * LyXAction.C (init): add entry for LFUN_ESCAPE
12631
12632         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12633         Remove commented code.
12634         (insertNote): moved here
12635         (open_new_inset): moved here
12636
12637         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12638         BufferView_pimpl
12639
12640 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12641
12642         * kbmap.C (findbinding): clean it up and make it work correctly.
12643
12644         * lyx_main.C (init): do not pass argc and argv as parameters
12645
12646 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12647
12648         * buffer.C: fix path for OS/2 & Win32
12649
12650         * lyx_gui.C:
12651         * lyx_main:
12652         * lyx_main.C: Added os:: class.
12653
12654         * os2_defines.h: update
12655
12656 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12657
12658         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12659         better by trying again with reduced state.
12660
12661 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12662
12663         * lyxrc.C (read): print error about invalid key sequence only when
12664         debugging (because not all latinX keysyms are known to some X
12665         servers)
12666
12667         * kbsequence.C (getiso): add a few std:: qualifiers
12668         (getiso): comment out extra return statement.
12669
12670 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12671
12672         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12673         handling.
12674         (Dispatch): enhance the accent inset a bit. (not perfect)
12675
12676 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12677
12678         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12679
12680 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12681
12682         * bufferlist.C (emergencyWrite): fix assert() call
12683
12684 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12685
12686         * text.C (InsertChar): Added trivial patch to only send the "you
12687         can not do multiple spaces this way" message once during a
12688         session.
12689
12690 2001-05-08  Baruch Even  <baruch@lyx.org>
12691
12692         * Makefile.am: Changed order of libraries to get LyX to link properly
12693         with the gnome frontend.
12694
12695 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12696
12697         * LaTeXFeatures.h: add a std:: qualifier
12698
12699 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12700
12701         * paragraph.C (String): use stringstream
12702
12703 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12704
12705         * paragraph.C (writeFile): remove footflag arg
12706
12707         * buffer.C (makeLaTeXFile): use stringstream
12708         (latexParagraphs): remove footnot gurba
12709
12710         * LaTeXFeatures.C (getPackages): use stringstream
12711         (getMacros): likewise
12712         (getTClassPreamble): likewise
12713         (getFloatDefinitions): new method
12714
12715         * paragraph.C (writeFile): reindent
12716         (Erase): reindent
12717
12718         * WorkArea.h: revert the xpos + etc changes.
12719
12720         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12721
12722         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12723
12724         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12725         (pasteSelection): likewise
12726         * text2.C (CreateUndo): likewise
12727
12728 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12729
12730         * minibuffer.C (peek_event): temporarily reduce the functionality
12731         of the minibuffer (to allow args on lfuns)
12732
12733         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12734         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12735
12736         * buffer.C (readInset): add compability reading of old float
12737         lists, add reading of new style float list.
12738         (readInset): avoid reevaluation of inscmd.getCmdName()
12739         (getLists): reindent
12740
12741         * MenuBackend.C (MenuItem): implement parsing of
12742         md_floatlistinsert and md_floatinsert.
12743         (expand::LastFiles): move initalizaton of iterators out of loop,
12744         avoid reevaluation.
12745         (expand::Documents): introduce typdedef vector<string> Strings,
12746         and use it.
12747         (expand::ExportFormats): introduce typedef vector<Format const *>
12748         Formats, and use it.
12749         (expand): implement FloatListInsert and FloatInsert.
12750
12751         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12752         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12753         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12754
12755         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12756         handling.
12757         (Dispatch::LFUN_FLOAT_LIST): implement
12758
12759 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12760
12761         * LaTeX.C (run): Fix problem with --export code.
12762
12763 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12764
12765         * BufferView.[Ch] (workarea): removed.
12766         (getClipboard) new method; wrapper for workarea()->getClipboard()
12767
12768         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12769         bug.
12770
12771         * WorkArea.h (width, height, xpos, ypos): These methods all
12772         returned the dimensions of the work_area sub-area of WorkArea,
12773         resulting in a position error if the WorkArea were resized. Now
12774         return the dimensions of the entire WorkArea.
12775
12776         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12777
12778 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12779
12780         * LaTeX.C (deplog): correct the syntax of regex reg1
12781
12782 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12783
12784         * undo.C: remove !NEW_INSETS cruft
12785
12786 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12787
12788         * text2.C: remove !NEW_INSETS cruft
12789
12790         * text.C: remove !NEW_INSETS cruft
12791
12792         * tabular.C: remove !NEW_INSETS cruft
12793
12794         * spellchecker.C: remove !NEW_INSETS cruft
12795
12796         * lyxtext.h: remove !NEW_INSETS cruft
12797
12798         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12799
12800         * lyxfunc.C: remove !NEW_INSETS cruft
12801
12802         * lyxfind.C: remove !NEW_INSETS cruft
12803
12804         * lyx_cb.C: remove !NEW_INSETS cruft
12805
12806         * figureForm.C: remove  !NEW_INSETS cruft
12807
12808         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12809
12810         * buffer.[Ch]: remove !NEW_INSETS cruft
12811
12812         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12813
12814         * CutAndPaste.C: remove !NEW_INSETS cruft
12815
12816         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12817
12818         * BufferView2.C: remove !NEW_INSETS cruft
12819
12820         * BufferView.h: remove !NEW_INSETS cruft
12821
12822 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12823
12824         * Lsstream.h: include LString.h before the sstream headers to
12825         fix problem with gcc 2.95.3 and lyxstring
12826
12827 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12828
12829         * lyx_main.C: add using directives when needed for C functions
12830         declared in std:: namespace.
12831
12832 2001-04-27  Juergen Vigna  <jug@sad.it>
12833
12834         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12835         (SetHeightOfRow): comment out the update call should not be needed!
12836
12837 2001-04-13  Juergen Vigna  <jug@sad.it>
12838
12839         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12840         (LyXTabular): tried to minimize operator= operations (and realized
12841         hopfully Lars wish).
12842
12843 2001-04-27  Juergen Vigna  <jug@sad.it>
12844
12845         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12846
12847 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12848
12849         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12850
12851         * buffer.C (readInset): hack to make listof algorithm work
12852
12853         * BufferView_pimpl.C: hack to make listof algorithm work
12854
12855 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12856
12857         * LyXAction.C: removed all !NEW_INSETS cruft
12858         (init): moved lfun_item in method
12859
12860         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12861
12862 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12863
12864         * BufferView2.C (theLockingInset): white space.
12865
12866 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12867
12868         * minibuffer.C: include <iostream>
12869
12870         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12871
12872         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12873
12874         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12875
12876         * text.[Ch] (TransposeChars): new method
12877
12878 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12879
12880         * call message directly through LyXView instead of through LyXFunc
12881         * BufferView2.C: adjust
12882         * BufferView_pimpl.C: adjust
12883         * FontLoader.C: adjust
12884         * buffer.C: adjust
12885         * bufferview_funcs.C: adjust
12886         * converter.C: adjust
12887         * figureForm.C: adjust
12888         * importer.C: adjust
12889         * lyx_cb.C: adjust
12890         * lyx_gui_misc.C: adjust
12891         * lyxfunc.C: adjust
12892         * lyxvc.C: adjust
12893         * text2.C: adjust
12894         + more files in subdirs
12895
12896         * lyxparagraph.h (size): move up int file
12897         (GetLayout): ditto
12898
12899         * adjust all uses of Assert to lyx::Assert.
12900
12901         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12902         lyxfunctional in namespace lyx
12903         * layout.C (hasLayout): ditto
12904         (GetLayout): ditto
12905         (GetLayout): ditto
12906         (delete_layout): ditto
12907         (NumberOfClass): ditto
12908         * converter.C (GetFormat): ditto
12909         (GetNumber): ditto
12910         (Add): ditto
12911         (Delete): ditto
12912         (SetViewer): ditto
12913         * bufferlist.C (getFileNames): ditto
12914         (emergencyWriteAll): ditto
12915         (exists): ditto
12916         (getBuffer): ditto
12917         * MenuBackend.C (hasSubmenu): ditto
12918         (hasMenu): ditto
12919         (getMenu): ditto
12920         * BufferView_pimpl.C (getInsetByCode): ditto
12921
12922 2001-04-18  Juergen Vigna  <jug@sad.it>
12923
12924         * vspace.C (asLatexString): fixed the 100% problem.
12925
12926 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12927
12928         * lyxfunc.C (Dispatch):
12929         * minibuffer.C:
12930         * minibuffer.h: add a few std:: qualifiers
12931
12932 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12933
12934         * minibuffer.[Ch]: reimplement so that commands is initiated and
12935         run from lyxfunc, simplified som handling, and made the completion
12936         and history code for complete. wip.
12937
12938         * lyxfunc.C (processKeySym): call message
12939         (miniDispatch): new temporary method
12940         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12941         (LFUN_MESSAGE): implement
12942         (LFUN_MESSAGE_PUSH): implement
12943         (LFUN_MESSAGE_POP): implement
12944         (initMiniBuffer): the initial/defualt minibuffer message.
12945
12946         * lyxfont.[Ch]: inline some more getters
12947
12948         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12949
12950         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12951
12952         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12953         (AutoSave): use LFUN_MESSAGE
12954         (Reconfigure): ditto
12955
12956         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12957
12958         * figureForm.C: use LFUN_MESSAGE
12959
12960         * converter.C (runLaTeX): use LFUN_MESSAGE
12961
12962         * bufferview_funcs.C: use LFUN_MESSAGE
12963         (Melt): ditto
12964         (changeDepth): ditto
12965
12966         * bufferparams.h: use boost::
12967
12968         * bufferlist.h: inherit privately from noncopyable
12969
12970         * bufferlist.C (loadLyXFile): remove some commented code.
12971
12972         * buffer.C (runChktex): use LFUN_MESSAGE
12973
12974         * ShareContainer.h: inherit privately from noncopyable
12975
12976         * ParagraphParameters.[hC] (depth): inline it.
12977
12978         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12979         methods.
12980         (message): new method
12981         (messagePush): ditto
12982         (messagePop): ditto
12983         (show): init minibuffer
12984         (showState): direct call
12985
12986         * LaTeX.[Ch]: inherit privately from noncopyable
12987         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12988         instead of WriteStatus.
12989
12990         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12991
12992         * BufferView_pimpl.C (buffer): don't init minibuffer
12993         (workAreaButtonPress): use LFUN_MESSAGE
12994         (workAreaButtonRelease): ditto
12995         (savePosition): ditto
12996         (restorePosition): ditto
12997         (MenuInsertLyXFile): ditto
12998         (workAreaExpose): don't init minibuffer
12999         (update): remove commented code, simplify
13000
13001         * BufferView2.C (openStuff): use LFUN_MESSAGE
13002         (toggleFloat): ditto
13003         (menuUndo): ditto
13004         (menuRedo): ditto
13005         (copyEnvironment): ditto
13006         (pasteEnvironment): ditto
13007         (copy): ditto
13008         (cut): ditto
13009         (paste): ditto
13010         (gotoInset): ditto
13011         (updateInset): remove some commented code
13012
13013         * lastfiles.h: inherit privately from noncopyable
13014         * layout.h: ditto
13015         * lyx_gui.h: ditto
13016         * lyx_main.h: ditto
13017         * lyxlex.h: ditto
13018         * lyxlex_pimpl.h: ditto
13019
13020         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13021         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13022         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13023
13024         * LyXAction.h: inherit privately from noncopyable, add methods
13025         func_begin, func_end, returning iterators to the func map.
13026
13027         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13028         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13029         (func_begin): new method
13030         (func_end): new method
13031
13032         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13033         and not)
13034         (copySelection): ditto
13035         (pasteSelection): ditto
13036
13037         * BufferView.C: whitespace change
13038         * BufferView.h: inherit privately from noncopyable
13039
13040 2001-04-16  Allan Rae  <rae@lyx.org>
13041
13042         * tabular-old.C (l_getline):
13043         * spellchecker.C (sc_check_word):
13044         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13045         an unrecognised preprocessor directive.  So ensure they're wrapped.
13046
13047 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13048
13049         * src/exporter.C (Export): Give an error message when path to file
13050         contains spaces.
13051
13052 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13053
13054         * LaTeX.C (deplog): Always check that foundfile exists.
13055
13056 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13057
13058         * lyx_main.h:
13059         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13060
13061 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13062
13063         * tabular.[Ch] (getLabelList): implement new method
13064
13065         * minibuffer.h: comment ouf setTiimer
13066
13067         * minibuffer.C (ExecutingCB): constify res
13068         (peek_event): constify s
13069         (Set): constify ntext
13070         (Init): constify nicename
13071
13072         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13073
13074         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13075         (savePosition): use two params to Minibuffer::Set
13076         (restorePosition): ditto
13077
13078 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13079
13080         * lyx_main.C: include language.h
13081
13082         * Makefile.am (lyx_main.o): add language.h
13083
13084 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13085
13086         * exporter.C:
13087         * paragraph.C:
13088         * screen.C:
13089         * tabular.C:
13090         * CutAndPaste.C: include gettext.h
13091
13092         * lyxfont.h: remove old hack with ON and OFF.
13093
13094         * lyxparagraph.h:
13095         * lyxfont.h: do not include language.h...
13096
13097         * BufferView2.C:
13098         * LaTeXFeatures.C:
13099         * Painter.C:
13100         * bufferview_funcs.C:
13101         * font.C:
13102         * lyxfont.C:
13103         * text.C:
13104         * text2.C:
13105         * trans_mgr.C:
13106         * paragraph.C: ... but do it here instead
13107
13108 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13109
13110         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13111
13112         * tabular.C: small reformat
13113
13114         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13115         NEW_INSETS version
13116         (GetChar): ditto
13117         (BreakParagraph): ditto
13118         (SetOnlyLayout): ditto
13119         (SetLayout): ditto
13120
13121         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13122         with one arg less.
13123
13124         * lastfiles.C: removed most using decl, add std:: where needed
13125
13126         * buffer.C: ws changes
13127
13128         * MenuBackend.C (class compare_format): put into anon namespace
13129         (expand): constify label, names, action, action2
13130         (expand):
13131
13132         * text.C (SingleWidth): constify font
13133         (IsBoundary): constify rtl2
13134         (GetVisibleRow): constify ww
13135
13136         * LaTeX.C (deplog): constify logfile
13137
13138         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13139         start_x, end_x
13140         (workAreaExpose): constify widthChange, heightChange
13141
13142         * lyxrow.C (par): moved
13143         (height): moved
13144         (next): moved
13145         * lyxrow.h: as inlines here
13146
13147         * lyxfont.h (shape): moved from lyxfont.C
13148         (emph): moved from lyxfont.C
13149
13150         * lyxfont.C (LyXFont): use initialization list for all
13151         constructors
13152         (shape): move to lyxfont.h as inline
13153         (emph): move to lyxfont.h as inline
13154
13155
13156 2001-04-04  Juergen Vigna  <jug@sad.it>
13157
13158         * vspace.C: had to include stdio.h for use of sscanf
13159
13160 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13161
13162         * BufferView.h:
13163         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13164         independent of xforms.
13165
13166 2001-04-02  Juergen Vigna  <jug@sad.it>
13167
13168         * spellchecker.C: fixed namespace placing!
13169
13170 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13171
13172         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13173         the LyXParagraph * is 0.
13174
13175 2001-03-29  Juergen Vigna  <jug@sad.it>
13176
13177         * vspace.C: added support for %, c%, p%, l%.
13178         (stringFromUnit): added helper function.
13179         (asLatexString): changed to give right results for the %-values.
13180
13181         * buffer.C: convert the widthp in a width%.
13182
13183 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13184
13185         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13186         figureForm.[Ch].
13187
13188         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13189         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13190
13191         * lyx_cb.[Ch]: see above.
13192
13193         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13194         form1.[Ch].
13195
13196         * form1.[Ch]:
13197         * lyx.[Ch]: replaced by figure_form.[Ch].
13198
13199         * lyx_gui.C:
13200         * lyx_gui_misc.C:
13201         * lyxfunc.C: changed headers associated with above changes.
13202
13203 2001-03-27  Juergen Vigna  <jug@sad.it>
13204
13205         * BufferView_pimpl.C: set the temporary cursor right!
13206
13207 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13208
13209         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13210
13211 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13212
13213         * LString.h: removed "using std::getline"!
13214
13215         * BufferView_pimpl.C (Dispatch): changes due to changes in
13216         InsetInclude::Params.
13217
13218         * buffer.C (tag_name): removed redundant break statements as they were
13219         producing lots of warnings with my compiler.
13220
13221 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13222
13223         * LString.h: add "using std::getline" when using the real <string>.
13224
13225 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13226
13227         * buffer.C: removed bitset usage.
13228         PAR_TAG moved to an anonymous name space.
13229         (tag_name): new funtion, also in the anonymous namespace.
13230         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13231         (makeDocBookFile): clean code. Completed transition from string arrays
13232         to string vectors.
13233         (SimpleDocBookOnePar): code clean.
13234
13235 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13236
13237         * tabular.C: add some comments.
13238
13239 2001-03-22  Juergen Vigna  <jug@sad.it>
13240
13241         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13242         compatibility read a bit and fixed bug with minipage in different
13243         depth.
13244
13245 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13246
13247         * buffer.C (pop_tag): removed.
13248         (push_tag): removed.
13249         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13250         array replaced with vector. Added support for CDATA sections.
13251         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13252         at any nest level.
13253         (makeDocBookFile): XML conformant declaration of CDATA section,
13254         fixed bug related to <emphasis> in the first paragraph char.
13255         (sgmlOpenTag): exclude empty tags.
13256         (sgmlCloseTag): ditto.
13257
13258         * buffer.h (pop_tag): removed.
13259         (push_tag): removed.
13260
13261 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13262
13263         * language.h (Languages): added size_type and size().
13264
13265 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13266
13267         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13268         response on compability reading of minipages. One probliem is that
13269         the old usage of minipages was «flertydig»
13270
13271         * several files here and in subdirs: don't use static at file
13272         scope use anon namespaces instead.
13273
13274 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13275
13276         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13277         LaTeX output. This is necessary for Literate document
13278         processing.
13279
13280 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13281
13282         * buffer.C: insert hfill when needed.
13283
13284         * tabular.C (l_getline): use string::erase, small whitespace change.
13285
13286         * BufferView_pimpl.C: try the anon namespace.
13287         * WorkArea.C: ditto
13288
13289 2001-03-16  Juergen Vigna  <jug@sad.it>
13290
13291         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13292         otherwise it won't open options-dialogs.
13293
13294         * buffer.C: honor pextraWidth(p) on converting minipages.
13295
13296         * tabular.C (l_getline): changed the functions to strip trailing \r.
13297
13298 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13299
13300         * BufferView_pimpl.C:
13301         * minibuffer..C: added "using SigC::slot" declaration.
13302
13303 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13304
13305         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13306
13307         * text2.C: ditto
13308
13309         * text.C: ditto
13310
13311         * paragraph.C: ditto
13312
13313         * lyxtext.h: NO_PEXTRA
13314
13315         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13316
13317         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13318         * ParameterStruct.h: ditto
13319         * ParagraphParameters.h: ditto
13320         * lyxparagraph.h: ditto
13321
13322 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13323
13324         * buffer.C: add compability for minipage alignment.
13325         (latexParagraphs): remove unwanted pextra check.
13326
13327         * several files: remove CXX_WORKING_NAMESPACES
13328
13329         * buffer.C (pop_tag): tie is in namespace boost
13330
13331         * BufferView.h: noncopyable is in namespace boost
13332         * lyxlex.h: ditto
13333         * lyx_main.h: ditto
13334         * lyx_gui.h: ditto
13335         * layout.h: ditto
13336         * lastfiles.h: ditto
13337         * bufferlist.h: ditto
13338         * ShareContainer.h: ditto
13339         * LyXView.h: ditto
13340         * LyXAction.h: ditto
13341         * LaTeX.h: ditto
13342
13343 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13344
13345         * Merging changes from BRANCH_MVC back into HEAD.
13346
13347         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13348
13349 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13350
13351         * BufferView_pimpl.C: change from intl.C
13352
13353         * combox.h:
13354         * combox.C:
13355         * Makefile.am: move combox.*
13356
13357         * form1.h:
13358         * form1.C:
13359         * lyx_gui.C:
13360         * intl.h:
13361         * intl.C: remove dialog (covered by prefs)
13362
13363 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13364
13365         * lyxfunc.C (Dispatch): removed redundant break statement.
13366
13367 2001-03-14  Juergen Vigna  <jug@sad.it>
13368
13369         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13370
13371 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13372
13373         * buffer.C: add hack to fix compability reading of minipages.
13374
13375 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13376
13377         * buffer.C (getLists): Cleanup.
13378
13379 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13380
13381         * lyxfont.C (update): don't honor toggleall on font size.
13382
13383 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13384
13385         * bmtable.c:
13386         * bmtable.h:
13387         * Makefile.am: moved to frontends/xforms/
13388
13389         * lyx_gui_misc.C:
13390         * lyxfunc.C:
13391         * BufferView_pimpl.C: changes for moved mathpanel
13392
13393 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13394
13395         * gettext.h: fix gettext_init() in --disable-nls
13396
13397 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13398
13399         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13400
13401 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13402
13403         * lyx.C:
13404         * lyx.h: strip external form
13405
13406 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13407
13408         * BufferView_pimpl.C: add comment, destroySplash()
13409
13410 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13411
13412         * BufferView_pimpl.C:
13413         * LyXAction.C:
13414         * buffer.C:
13415         * commandtags.h:
13416         * lyxfunc.C: use re-worked insetinclude
13417
13418 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13419
13420         * buffer.C: add using std::stringstream.
13421
13422         * lyx_cb.C: readd using std::ios.
13423
13424         * buffer.C: add using std::map.
13425
13426         * BufferView_pimpl.C: add using std::vector.
13427
13428         * ShareContainer.h: add std:: to swap.
13429
13430         * buffer.h: add some typedefs
13431         * buffer.C (getLists): use them
13432         (getLists): renamed from getTocList.
13433         add a counter for the different float types and use it in the
13434         generated string.
13435         (getLists): use the same counter for the NEW_INSETS and the "non"
13436         NEW_INSETS
13437
13438         * lyx_cb.h: remove unused items, includes, using etc.
13439
13440         * ShareContainer.h: remove some commented code, add more comments
13441         and "documentation".
13442
13443 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13444
13445         * buffer.C (getTocList): make the list also when NEW_INSETS is
13446         defined.
13447
13448         * buffer.h: remove TocType
13449
13450         * buffer.C (getTocList): change to return a map<string,
13451         vector<TocItem> >, implement for dynamic number of list.
13452
13453         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13454         * text2.C (PasteSelection): adjust
13455         * CutAndPaste.C (pasteSelection): adjust
13456
13457         * FloatList.C (FloatList): update from the new_insets branch.
13458         * Floating.[Ch]: ditto
13459         * LaTeXFeatures.C: ditto
13460         * buffer.C: ditto
13461         * lyxlex_pimpl.C: ditto
13462
13463         * paragraph.C (Last): remove when NEW_INSETS is defined.
13464
13465         * other file: changes because of the above.
13466
13467 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13468
13469         * lyxparagraph.h: rename next to next_, previous to previous_,
13470         make them private for NEW_INSETS. Rename Next() to next(),
13471         Previous() to previous().
13472
13473         * other files: changes because of the above.
13474
13475 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13476
13477         * BufferView.h:
13478         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13479         problem.
13480
13481 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13482
13483         * main.C (main): pass lyx_localedir to gettext_init().
13484
13485         * gettext.h: remove locale_init and gettext_init macros
13486
13487         * gettext.C (locale_init): new function
13488         (gettext_init): new function
13489
13490         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13491         setlocale().
13492
13493 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13494
13495         * Moved credits to frontends:
13496         * credits.[Ch]: removed
13497         * credits_form.[Ch]: removed
13498         * lyx_gui_misc.C: remove credits stuff
13499         * Makefile.am:
13500
13501 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13502
13503         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13504
13505         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13506         unneeded destructor.
13507
13508         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13509         a standalone pointer again.
13510
13511         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13512
13513 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13514
13515         * Makefile.am:
13516         * filedlg.h:
13517         * filedlg.C:
13518         * LyXAction.C:
13519         * ToolbarDefaults.C:
13520         * bufferlist.C:
13521         * commandtags.h:
13522         * form1.C:
13523         * form1.h:
13524         * lyx_cb.C:
13525         * lyx_cb.h:
13526         * lyxfunc.h:
13527         * lyxfunc.C:
13528         * BufferView_pimpl.C: use new file dialog in GUII
13529
13530         * lyx_cb.h:
13531         * lyx_cb.C: remove LayoutsCB to Toolbar
13532
13533 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13534
13535         * ShareContainer.h (get): add std:: qualifier
13536
13537 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13538
13539         * ShareContainer.h: define a proper ShareContainer::value_type
13540         type (and use typename to please compaq cxx)
13541
13542 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13543
13544         * lyxparagraph.h: move serveral local vars to
13545         ParameterStruct/ParagraphParameters., use ShareContainer in
13546         FontTable., make vars in FontTable private and add getter and
13547         setter.
13548
13549         * paragraph.C: changes because of the above.
13550
13551         * lyxfont.h: remove copy constructor and copy assignment. (the
13552         default ones is ok), move number inside FontBits. move inlines to
13553         lyxfont.C
13554
13555         * lyxfont.C: add number to initializaton of statics, move several
13556         inlines here. constify several local vars. some whitespace
13557         cleanup. Dont hide outerscope variables.
13558
13559         * Spacing.h: add two new constructors to match the set methods.
13560
13561         * ShareContainer.h: new file, will perhaps be moved to support
13562
13563         * ParameterStruct.h: new file
13564
13565         * ParagraphParameters.h: new file
13566
13567         * ParagraphParameters.C: new file
13568
13569         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13570         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13571
13572         * BufferView_pimpl.C: ParagraphParameter changes.
13573         * buffer.C: Likewise.
13574         * bufferview_funcs.C: Likewise.
13575         * text.C: Likewise.
13576         * text2.C: Likewise.
13577
13578 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13579
13580         * lyxfind.C (LyXReplace): do not redefine default argument in
13581         implementation.
13582         (IsStringInText): ditto
13583         (SearchForward): ditto
13584         (SearchBackward): ditto
13585
13586 2001-03-06  Juergen Vigna  <jug@sad.it>
13587
13588         * lyxfind.C (IsStringInText): put parentes around expressions.
13589
13590 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13591
13592         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13593
13594 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13595
13596         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13597
13598         * stl_string_fwd.h: add comment
13599
13600         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13601
13602         * tabular.h:
13603         * tabular.C: remove unused DocBook methods
13604
13605         * intl.C:
13606         * language.C:
13607         * paragraph.C:
13608         * buffer.C:
13609         killed DO_USE_DEFAULT_LANGUAGE
13610
13611 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13612
13613         * lyx_gui.C: do not include language.h.
13614
13615         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13616         arguments in function implementation.
13617
13618 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13619
13620         * BufferView_pimpl.C: add <ctime>
13621
13622 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13623
13624         * BufferView_pimpl.C: add using std::find_if
13625
13626 2001-02-27  José Matos  <jamatos@fep.up.pt>
13627
13628         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13629         by OnlyPath.
13630
13631 2001-02-11  José Matos  <jamatos@fep.up.pt>
13632
13633         * buffer.C (makeDocBookFile): command styles now have a parameter as
13634         "title" by default.
13635
13636 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13637
13638         * layout_forms.[Ch]: removed
13639         * lyx_cb.[Ch]: out character
13640         * lyx_gui.C: out character
13641         * lyx_gui_misc.C: out character
13642         * bufferview_funcs.C: : out character,
13643         added toggleall as parameter in ToggleAndShow
13644
13645 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13646
13647         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13648
13649         * text2.C (SetCurrentFont): Disable number property at boundary.
13650
13651 2001-02-26  Juergen Vigna  <jug@sad.it>
13652
13653         * lyxfunc.C (getStatus): added a string argument override function so
13654         that this is correctly called from LyXFunc::Dispatch if it contains a
13655         do_not_use_argument which is used!
13656         (Dispatch): added check for "custom" export and call appropriate func.
13657
13658 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13659
13660         * lyxrc.C: Add language_command_local, language_use_babel and
13661         language_global_options.
13662
13663         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13664
13665         * buffer.C (makeLaTeXFile): Use language_use_babel and
13666         language_global_options.
13667
13668 2001-02-23  Juergen Vigna  <jug@sad.it>
13669
13670         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13671         which works with LyXText and putted it inside BufferView. Here now we
13672         only call for that part the BufferView::Dispatch() function.
13673
13674         * BufferView.C (Dispatch): added.
13675
13676         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13677         functions which needs to use a LyXText over from LyXFunc.
13678         (MenuInsertLyXFile): added
13679         (getInsetByCode): added
13680         (moveCursorUpdate): added
13681         (static TEXT): added
13682
13683 2001-02-22  Juergen Vigna  <jug@sad.it>
13684
13685         * BufferView_pimpl.C (update): call a status update to see if LyXText
13686         needs it.
13687
13688 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13689
13690         * vc-backend.C (revert): implement for CVS
13691         (getLog): implement for CVS
13692
13693 2001-02-20  Juergen Vigna  <jug@sad.it>
13694
13695         * text2.C (ClearSelection): added BufferView param for inset_owner call
13696
13697         * lyxfunc.C (TEXT): added this function and use it instead of
13698         directly owner->view()-text of getLyXText().
13699
13700 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13701
13702         * src/layout_forms.C: out preamble
13703         * src/layout_forms.h: out preamble
13704         * src/lyx_cb.C: out preamble
13705         * src/lyx_cb.h: out preamble
13706         * src/lyx_gui.C: out preamble
13707         * src/lyx_gui_misc.C: out preamble
13708         * src/lyxfunc.C: connect with guii preamble
13709
13710 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13711
13712         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13713
13714 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13715
13716         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13717         whether to run bibtex.
13718
13719 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13720
13721         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13722
13723 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13724
13725         * Makefile.am (lyx_SOURCES): removed bibforms.h
13726
13727         * vspace.h: doxygen
13728
13729         * text.C (GetVisibleRow): make several local vars const
13730
13731         * tabular.C: small cleanup.
13732
13733         * lyxserver.C (callback): use compare instead of strncmp
13734
13735         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13736         inlines to after class or to paragraph.C
13737
13738         * lyxfont.h: remove friend operator!=
13739
13740         * converter.h: move friend bool operator< to non friend and after
13741         class def.
13742
13743         * combox.h: small cleanup
13744
13745         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13746         to inlines after class def.
13747
13748         * buffer.C (pop_tag): use string operations instead of strcmp
13749
13750         * bmtable.c: doxygen, small cleanup
13751
13752         * LaTeX.h: remove friend operator==
13753
13754 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13755
13756         * screen.C:
13757         * lyxrc.[Ch]:
13758         * lyxfunc.C:
13759         * lyxfont.[Ch]:
13760         * lyx_cb.C:
13761         * intl.[Ch]:
13762         * commandtags.h:
13763         * buffer.C:
13764         * WorkArea.[Ch]:
13765         * LyXAction.C:
13766         * BufferView_pimpl.C:
13767         * BufferView.[Ch]: remove cruft
13768
13769 2001-02-14  Juergen Vigna  <jug@sad.it>
13770
13771         * lyxfunc.C: removed #if 0 unused code
13772
13773         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13774
13775         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13776
13777         * text2.C (SetSelection): added a BufferView * parameter
13778
13779 2001-02-13  Juergen Vigna  <jug@sad.it>
13780
13781         * lyxfunc.C (Dispatch): fixed protected blank problem.
13782         * BufferView2.C (protectedBlank): added LyxText * parameter.
13783
13784         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13785         (AppendColumn): same as above for column_info.
13786
13787         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13788         (moveCursorUpdate): use a LyXText param for support of InsetText.
13789
13790         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13791         (tripleClick): ditto
13792
13793         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13794
13795         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13796
13797         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13798
13799         * text2.C (SetSelection): set correct update status if inset_owner
13800         (ToggleFree): ditto
13801
13802 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13803
13804         * tabular.C: remove some commented code.
13805
13806 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13807
13808         * BufferView_pimpl.C: call hideSplash()
13809
13810         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13811
13812         * include_form.h:
13813         * bibforms.h: remove
13814
13815         * lyxfunc.C:
13816         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13817           add LFUN_CHILD_CREATE
13818
13819         * counters.h: fix tiny typo
13820
13821         * lyx_cb.C:
13822         * lyx.h:
13823         * lyx_gui.C:
13824         * lyx.C: move splash to frontends/xforms/
13825
13826         * lyx_gui_misc.C: move Include and Bibform to frontends
13827
13828         * lyxvc.h: clarify comment
13829
13830         * vspace.C: tiny housekeeping
13831
13832 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13833
13834         * text.C (PrepareToPrint): RTL Fix.
13835
13836         * paragraph.C (GetUChar): New method.
13837         (String):  Use GetUChar.
13838
13839         * buffer.C (asciiParagraph): Use GetUChar.
13840
13841 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13842
13843         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13844
13845 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13846
13847         * buffer.h:
13848         * buffer.C: rename to getLogName(), handle
13849           build log / latex log nicely
13850
13851 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13852
13853         * MenuBackend.C:
13854         * MenuBackend.h: remove support for reference menuitem type.
13855
13856 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13857
13858         * BufferView_pimpl.C: housekeeping
13859         * BufferView_pimpl.h:
13860         * LyXView.h:
13861         * Makefile.am:
13862         * Timeout.C:
13863         * Timeout.h:
13864         * minibuffer.h: move Timeout GUI-I
13865
13866 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13867
13868         * lyxrc.C (read): Update converters data-structures.
13869
13870 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13871
13872         * LaTeX.h (operator!=): add operator != for Aux_Info
13873
13874 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13875
13876         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13877
13878         * LaTeXLog.C: deleted, useful code moved to Buffer
13879
13880         * buffer.h:
13881         * buffer.C: new function getLatexLogName()
13882
13883         * lyx_gui_misc.C:
13884         * lyx_gui.C:
13885         * lyxvc.C:
13886         * lyxvc.h:
13887         * lyxfunc.C: use frontends for LaTeX and VC logs
13888
13889 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13890
13891         * LaTeX.h: yet another std:: that Allan forgot.
13892
13893         * Variables.C (set): renamed from isset(), because this clashes
13894         with some HP-UX macros (grr).
13895
13896 2001-02-06  Allan Rae  <rae@lyx.org>
13897
13898         * LaTeX.h: Another bug fix.  Missing std:: this time.
13899
13900 2001-02-04  Allan Rae  <rae@lyx.org>
13901
13902         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13903         floats problem. I've left it commented out because it's not quite
13904         correct.  It should also test that the current object is a table or
13905         figure inset.  But I haven't gotten around to figuring out how to do
13906         that.  I *think* it'll be something like: "table" == inset.type()
13907
13908         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13909         bool.
13910
13911 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13912
13913         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13914         all the citation/databases/styles in the auxilary file.
13915         (run): Rerun latex if there was a babel language error.
13916
13917 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13918
13919         * text.C (Backspace): Preserve the font when changing newline char
13920         with a space.
13921         (BreakParagraph): If the cursor is before a space, delete the space.
13922
13923         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13924
13925 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13926
13927         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13928         new argument (code).
13929         (ChangeCitationsIfUnique): New method.
13930
13931         * paragraph.C (GetPositionOfInset): Handle bibkey.
13932
13933 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13934
13935         * BufferView_pimpl.h: change type of Position::par_pos to
13936         LyXParagraph::size_type.
13937
13938 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13939
13940         * BufferView_pimpl.C (savePosition, restorePosition): Write
13941         messages to minibuffer.
13942
13943 2001-01-28  José Matos  <jamatos@fep.up.pt>
13944
13945         * buffer.C (makeDocBookFile): adds support for document language.
13946         A silly restriction on the name of LatexCommand types where removed.
13947         Added support for CDATA sections, allows to chars unescaped, used
13948         among others in code, to avoid escape < and >.
13949
13950 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13951
13952         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13953         saved positions instrad of a stack. Furthermore, a position is
13954         stored using paragraph id/paragraph position.
13955
13956         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13957         Remove LFUN_REF_BACK.
13958
13959 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13960
13961         * converter.C (dvipdfm_options): New method.
13962
13963 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13964
13965         * vspace.C (isValidLength): Fix for empty input string.
13966
13967 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13968
13969         * LyXAction.C (init): change description of LFUN_FIGURE to
13970         "Insert Graphics"
13971
13972 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13973
13974         * LaTeX.C: add using directive
13975
13976 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13977
13978         * MenuBackend.C (expand): Fix the sorting of the formats.
13979
13980 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13981
13982         * lyx_main.C: tiny error message fix
13983
13984 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13985
13986         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13987         calling fl_initialize(). This fixes the problem with ',' as
13988         decimal separator in text files.
13989
13990 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13991
13992         * trans.C (process): Fix the keymap bug.
13993
13994 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13995
13996         * LaTeX.C (scanAuxFiles): New method. Provides support for
13997         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13998         (scanLogFile) Scan for "run BibTeX" messages.
13999
14000         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14001         OT1 font encoding. Also, load the aecompl package if the ae
14002         package is loaded.
14003
14004         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14005
14006 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14007
14008         * texrow.C (increasePos): turn two error messages into debug
14009         messages.
14010
14011 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14012
14013         * LaTeX.C (scanAux): Handle the \@input macro.
14014         (runBibTeX): Use scanAux().
14015
14016         * language.C (latex_options_): New field.
14017
14018         * LaTeXFeatures.C (getMacros): Add language macros.
14019
14020         * buffer.C (makeLaTeXFile): Small fix.
14021
14022 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14023
14024         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14025
14026         * text2.C: add a using directive.
14027
14028 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14029
14030         * BufferView2.C:
14031         * lyx_gui_misc.h:
14032         * lyxfr1.C:
14033         * lyxfunc.C: kill LyXBell.
14034
14035 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14036
14037         * text.C (IsBoundary): Remove the error message
14038
14039         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14040
14041         * lyxrc.C (setDefaults): Correct initialization value for
14042         font_norm_type.
14043
14044 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14045
14046         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14047         gotoError().
14048
14049         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14050         and GotoNextNote().
14051
14052         * src/LyXAction.C: Added reference-next.
14053
14054         * text.C (InsertChar): Use contains instead of strchr.
14055
14056         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14057
14058 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14059
14060         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14061         alignment commands (when needed).
14062
14063         * text.C (InsertChar): Add ':' to number separator chars.