]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Martin's BranchList fix
[lyx.git] / src / ChangeLog
1 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * BranchList.C: fix setSelected() method.
4
5 2003-11-28  André Pönitz  <poenitz@gmx.net>
6
7         * ParagraphParameters.[Ch]:
8         * ParameterStruct.h: remove space above/below from Paragraph to
9          InsetVSpace
10
11         * BufferView_pimpl.C:
12         * factory.C:
13         * lyxfunc.C:
14         * lyxtext.h:
15         * output_latex.C:
16         * paragraph.C:
17         * paragraph_funcs.C:
18         * rowpainter.[Ch]:
19         * text.C:
20         * text2.C:
21         * text3.C: adjust
22
23 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
24
25         * factory.C: Syntax change for CharStyles
26
27 2003-11-28  André Pönitz  <poenitz@gmx.net>
28
29         * BufferView.[Ch]:
30         * BufferView.[Ch]:
31         * buffer.[Ch]:
32         * buffer.[Ch]: move LyXText member
33
34 2003-11-28  André Pönitz  <poenitz@gmx.net>
35
36         * BufferView.[Ch]: make LyXText * text a private member
37
38         * BufferView_pimpl.C:
39         * cursor.C:
40         * iterators.C:
41         * lyx_cb.C:
42         * lyxfind.C:
43         * lyxtext.h:
44         * rowpainter.[Ch]:
45         * text.C:
46         * text2.C:
47         * undo.C: adjust
48
49         * output_plaintext.C: cleanup
50
51 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
52
53         * buffer.C: 
54         * lyxtextclass.[Ch]: parametrize SGML document header
55
56 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
57
58         * converter.[Ch]:
59         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
60         getFlavor().
61
62 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
63
64         * text2.C (setFont): rework using PosIterator (no more recursive)
65         (setCharFont): no more needed 
66         (setLayout): no more selection cursors fiddling (done by redoCursor)
67         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
68         destroy remaining ones)
69
70 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
71
72         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
73         * lyxtext.h: ditto
74         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
75         selection cursors
76         * lyxfunc.C: adjust
77         * text3.C: adjust + re-allow multi par depth changes
78         * textcursor.C: simplify a bit
79
80 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
81
82         * src/buffer.C:
83         * src/lyxlayout.C:
84         * src/lyxlayout.h:
85         * src/lyxtext.h:
86         * src/output_docbook.C:
87         * src/output_latex.C:
88         * src/paragraph.C:
89         * src/paragraph.h:
90         * src/sgml.C:
91         * src/sgml.h:
92         * src/text2.C: Introducing a number of tags parametrizing various
93         XML formats that we may want to support
94
95 2003-11-25  André Pönitz  <poenitz@gmx.net>
96
97         * InsetList.[Ch] (begein, end): inline as suggested by profiler
98
99         * lyxtext.h (leftMargin/rightMargin): simplify interface
100
101         * rowpainter.C:
102         * text.C:
103         * text2.C:
104         * text3.C: adjust
105
106 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
107
108         * lyxfunc.C (dispatch): propogate the bibtex databases from the
109         master file to any child files. Fixes bug 546.
110
111 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
112
113         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
114
115 2003-11-24  André Pönitz  <poenitz@gmx.net>
116
117         * rowpainter.C: simplification
118
119         * text2.C (updateCounters): remove call to redoParagraph on 
120         changed labels as this is far too expensive.
121
122 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
123
124         * converter.C (convert): fix a crash: this function gets
125         called with buffer == 0 from importer code.
126
127 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
128
129         * text3.C (cursorPrevious): make sure that we do not compare
130         iterators form different containers.
131         (cursorNext): ditto
132
133         * rowpainter.C (paintSelection): make sure that we do not compare
134         iterators from different containers.
135
136         * text3.C (dispatch): [PRIOR] make sure that we do not compare
137         iterators from different ParagraphList containers.
138         [NEXT] ditto
139
140         * text2.C (LyXText): change order of initialization slightly
141         (operator=): new function. copy all variables except cache_par_
142         (moveUp): make sure that we do not compare iterators from
143         different ParagraphList constainers.
144         (moveDown): ditto
145
146         * text.C (firstPar): new function
147         (lastPar): new function
148         (endPar): new function
149
150         * lyxtext.h: move things around and group public functions, public
151         variables, private functions, private variables
152
153 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
154
155         * factory.C: change call to InsetERT constructor to avoid
156         additional invocation of method status
157         * text2.C (toggleInset): remove redundant update() call
158         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
159         instead of a Bufferview pointer
160
161 2003-11-21  André Pönitz  <poenitz@gmx.net>
162
163         * rowpainter.C: simplification
164
165 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
166
167         * text3.C (dispatch): make possible to extend a word/row selection
168         with the mouse
169
170 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
171
172         * lyxtext.h: x0_,y0_ -> xo_,yo_
173         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
174         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
175         * rowpainter.C (paintRows): paint full paragraphs
176
177 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
178
179         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
180         screen coordinates)
181
182 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
183
184         * lyxtext.h: add x0_, y0_
185         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
186         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
187
188 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
189
190         * text2.C (setCursorIntern): move the x_target update here *
191         * text3.C: change some bv() to true/false in calls to
192         cursorUp/Down/Right/Left
193         * cursor.C: use helper function.
194
195 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
196
197         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
198         * paragraph_funcs.[Ch]: correct comment
199         * rowpainter.C: do not paint selections away from bv->cursor()
200         Fix a long standing selection painting bug.
201         * text3.C: generalize mouse-selection code to LyXTexts other that
202         top one
203         * textcursor.C: do not use y coords if we can use par offsets
204
205 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
206
207         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
208         cursor position after e.g. inset insert)
209
210 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
211
212         * lyxfind.C (replace): adjust to locking removal + some
213         code simplification
214
215 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
216
217         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
218         of the path
219
220 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
221
222         * lyxlayout.[Ch]:
223         * output_docbook.C: XML sanitation: new layout
224         parameters InnerTag and CommandDepth
225
226 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
227
228         * BufferView_pimpl.C:
229         * factory.C:
230         * text3.C: Fix the insertion and modification of button-style
231         insets
232
233 2003-11-13  André Pönitz  <poenitz@gmx.net>
234
235         * InsetList.[Ch]: remove deleteLyXText
236
237         * paragraph.[Ch]: cache beginOfBody position
238
239         * Bidi.C:
240         * text.C:
241         * text2.C:
242         * text3.C: remove superfluous update() calls
243
244         * vspace.C: cleanup
245
246 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
247
248         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
249         * BufferView.C (fitLockedInsetCursor): remove
250         * cursor.[Ch] (getDim): add
251         * text.C (getRowNearY): add faster version
252         * text3.C: remove some update calls
253
254 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
255
256         * LaTeXFeatures.C:
257         * LyXAction.C:
258         * MenuBackend.C:
259         * MenuBackend.h:
260         * dispatchresult.h:
261         * factory.C:
262         * lfuns.h:
263         * lyxfunc.C:
264         * lyxtextclass.C:
265         * lyxtextclass.h:
266         * text3.C: The Character Style /XML short element patch.
267
268 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
269
270         * text3.C:
271         * factory.C: Small step to solving 'unable to insert some insets'
272         problem
273
274 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
275
276         * cursor.[Ch] (updatePos): new function for updating the y
277         position of the tip inset
278         * bufferview_funcs.C (put_selection_at):
279         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
280
281 2003-11-11  André Pönitz  <poenitz@gmx.net>
282
283         * text.C: remove big comment on invalid Paragraph pointers as it is
284         not valid anymore
285
286 2003-11-11  André Pönitz  <poenitz@gmx.net>
287
288         * text_funcs.[Ch]: merge with ...
289
290         * text.C: ... this
291
292         * lyxtext.h:
293         * text2.C:
294         * text3.C: adjust
295
296         * Makefile.am: remove text_funcs.[Ch]
297
298 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
299
300         * cursor.C (getPos): return absolute cached y coord
301
302         * BufferView_pimpl.C (fitCursor): new simplistic code
303         (workAreaDispatch): add a fitCursor call
304
305 2003-11-10  André Pönitz  <poenitz@gmx.net>
306
307         * BufferView.[Ch]:
308         * BufferView_pimpl.[Ch]: merge update() and updateInset()
309
310 2003-11-10  André Pönitz  <poenitz@gmx.net>
311
312         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
313         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
314         indicate that the cursor needs to leave an inset
315
316         * lyxtext.h: remove inset locking
317
318         * cursor.[Ch]: re-implement functionality provided by inset locking
319
320         * BufferView.[Ch]:
321         * BufferView_pimpl.[Ch]:
322         * LyXAction.C:
323         * bufferview_funcs.[Ch]:
324         * factory.C:
325         * funcrequest.[Ch]:
326         * iterators.C:
327         * lyx_cb.C:
328         * lyxfind.C:
329         * lyxfunc.C:
330         * text.C:
331         * text2.C:
332         * text3.C:
333         * undo.C: adjust
334
335 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
336
337         * PosIterator.[Ch]: replace the stack with a vector, add inset
338         accesor
339         * iterators.[C]: adjust
340
341 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
342
343         * lyxfind.C (replaceAll): mark the buffer dirty if something was
344         replaced
345         * paragraph_funcs.C (readParToken): put the correct id in the
346         error item, not the id of the top paragraph
347
348 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
349
350         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
351         * bufferview_funcs.C (put_selection_at): use the above
352
353 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
354
355         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
356
357 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
358
359         * output_linuxdoc.h:
360         * output_plaintext.h:
361         * output.h:
362         * output_docbook.h: add #include statements
363
364 2003-11-05  José Matos  <jamatos@lyx.org>
365
366         * output_docbook.[Ch]:
367         * output_latex.[Ch]:
368         * output_linuxdoc.[Ch]:
369         * output_plaintext.[Ch]: New files for output formats.
370         * output.[Ch]: New file for helper functions.
371
372         * buffer.[Ch]:
373         * paragraph_funcs.[Ch]: output functions moved to new files.
374
375         * outputparams.h: rename of latexrunparams.h
376
377         * LaTeX.[Ch]:
378         * buffer.[Ch]:
379         * bufferlist.[Ch]:
380         * converter.[Ch]:
381         * exporter.C:
382         * paragraph.[Ch]:
383         * paragraph_funcs.[Ch]:
384         * paragraph_pimpl.[Ch]:
385         * tabular.[Ch]: rename ascii to plaintext
386         and LatexRunParams to OutputParams.
387
388 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
389
390         * iterators.[Ch] (text): require bv argument
391         * undo.C (recordUndo):
392         * lyxfunc.C (dispatch):
393         * bufferview_funcs.C (put_selection_at): adjust
394
395 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
396
397         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
398
399 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
400
401         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
402         nestings
403
404 2003-11-04  André Pönitz  <poenitz@gmx.net>
405
406         * cursor.[Ch]: restructure
407
408         * BufferView.[Ch]:
409         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
410
411         * iterators.[Ch] (asCursor): remove
412
413         * lfuns.h: remove LFUN_INSET_EDIT
414
415         * lyxfunc.C:
416         * tabular.C:
417         * text.C:
418         * text2.C:
419         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
420
421 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
422
423         * lyxfind.[Ch]: complete overhaul
424         * BufferView_pimpl.C:
425         * lyxfunc.C: adjust
426         * paragraph.[Ch] (insert): add
427
428 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
429
430         * BufferView.[Ch]:
431         * lyxtext.h:
432         * text.C: remove dead spellcheck code
433
434 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
435
436         * dispatchresult.h: add a val setter
437
438         * cursor.C (dispatch): use a tempvar for data_[i]
439
440 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
441
442         * PosIterator.[Ch]: compile fix
443
444 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
445
446         * text.C (cursorPar): deactivate the cursor cache
447
448 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
449
450         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
451
452 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
453
454         * text3.C (dispatch): adjust for new DisptchResult semantics.
455
456         * lyxfunc.C (dispatch): handle update when return from
457         Cursor::dispatch, adjust for new DispatchResult semantics.
458
459         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
460         DispatchResult(true) mean to not update. Add class functions for
461         setting dispatched and update, as well as reading.
462
463         * cursor.C (dispatch): don't handle update here
464
465 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
466
467         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
468         * trans_mgr.C: adjust
469
470         * paragraph_funcs.C (readParToken): exception safety
471
472         * lyxvc.h: store the vcs pointer in a scoped_ptr
473         * lyxvc.C: adjust
474
475         * lyxsocket.C (serverCallback): exception safety
476
477         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
478
479         * ispell.C (clone): make it return a auto_ptr
480
481         * factory.C (createInset): exception safety
482         (readInset): exception safety
483
484         * bufferlist.C (newBuffer): exception safety
485
486         * Thesaurus.C (Thesaurus): use initialization for aik_
487
488         * MenuBackend.C (expandToc): exception safety.
489
490 2003-11-03  André Pönitz  <poenitz@gmx.net>
491
492         * buffer.C:
493         * buffer.h:
494         * bufferview_funcs.C: remove getInsetFromId()
495
496         * lyxcursor.[Ch]:
497         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
498
499         * lyxfunc.C:
500         * text2.C:
501         * text3.C: adjust
502
503 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
504
505         * PosIterator.C (distance, advance): new
506         * bufferview_funcs.[Ch] (put_selection_at): new
507         * iterators.[Ch] (lockPath): new
508
509 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
510
511         * iterators.[Ch] (asPosIterator): added
512         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
513         * PosIterator.[Ch]: added
514
515 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
516
517         * text3.C:
518         * lyxfunc.C:
519         * cursor.C (dispatch):
520         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
521
522         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
523         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
524         contructor, add a class function dispatched. Remove operator>=
525
526 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
527
528         * debug.C: only use the default constructor for debugstream
529         (lyxerr) here.
530
531         * main.C (main): include debug.h and setup the lyxerr streambuf
532         here.
533
534 2003-10-31  José Matos  <jamatos@lyx.org>
535
536         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
537
538         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
539         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
540         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
541         * paragraph_pimpl.C (simpleTeXSpecialC):
542         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
543         add LatexRunParams argument.
544
545         * exporter.C (Export): change call accordingly.
546
547         * latexrunparams.h: add new member to take care of the other backends.
548 2003-10-30  José Matos  <jamatos@lyx.org>
549
550         * buffer.C (makeLinuxDocFile, makeDocBookFile):
551         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
552         factorise code for paragraph output.
553         * buffer.[Ch]:
554         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
555         move functions.
556
557 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
558
559         * text3.C (dispatch):
560         * lyxfunc.C (dispatch):
561         * cursor.C (dispatch):
562         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
563
564         * dispatchresult.h: make the dispatch_result_t ctor explicit
565
566 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
567
568         * sgml.[Ch]:
569         * buffer.C: small refactoring of docbook stuff
570
571 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
572
573         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
574         meaning.
575
576 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
577
578         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
579         operator dispatch_result_t, and operators for == != and >=
580
581         * cursor.C (dispatch): adjust for operator dispatch_result_t
582         removal. comment out call to update
583
584         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
585
586 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
587
588         * text3.C:
589         * text2.C:
590         * text.C:
591         * lyxtext.h:
592         * lyxfunc.C:
593         * cursor.C:
594         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
595         (dispatch):
596
597         * dispatchresult.h: new file, DispatchResult broken out of
598         insets/insetbase.h
599
600         * Makefile.am (lyx_SOURCES): add dispatchresult.h
601
602 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
603
604         * text.C (rowBreakPoint): put a hack inside #if 0
605
606 2003-10-28  André Pönitz  <poenitz@gmx.net>
607
608         * lyxtext.h:
609         * metricsinfo.C:
610         * paragraph_funcs.C:
611         * rowpainter.C:
612         * text.C:
613         * text2.C: general cleanup (lots of small stuff)
614
615 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
616
617         * text2.C (cursorEnd): simple fix to the "end key goes to one
618         before the end on last row" bug
619
620 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
621
622         * text.C (backspace): fix the "zombie characters"
623
624 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
625
626         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
627
628 2003-10-27  André Pönitz  <poenitz@gmx.net>
629
630         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
631
632         * factory.C: handle new InsetPagebreak, InsetLine
633
634         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
635         and move handling into new InsetPagebreak, InsetLine
636
637         * BufferView_pimpl.C:
638         * LyXAction.C:
639         * ParagraphParameters.C:
640         * ParameterStruct.h:
641         * lyxfunc.C:
642         * lyxtext.h:
643         * paragraph.C:
644         * paragraph.h:
645         * paragraph_funcs.C:
646         * paragraph_pimpl.C:
647         * rowpainter.C:
648         * text.C:
649         * text2.C:
650         * text3.C: adjust
651
652 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
653
654         * text.C:
655         * lyxrow_funcs.[Ch]:
656         * Bidi.C:
657         * paragraph.C:
658         * lyxtext.h:
659         * rowpainter.C:
660         * text2.C:
661         * text3.C: remove lastPos uses in favour of Row::endpos
662
663 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
664
665         * undo.C (performUndoOrRedo): fix two crashes by setting a
666         cursor by hand and reordering some calls. Use bv->lockInset instead
667         of inset->edit because the latter loses cursor information
668
669 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
670
671         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
672         by Martin
673         (rowBreakPoint): fix width. change point to point + 1.
674         Add a missing check.
675
676 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
677
678         * MenuBackend.C:
679         * lyxfunc.C: fix (at least partly) the problems
680         with the Nav menu and headers inside branch insets
681         reported by Kayvan
682
683 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
684
685         * paragraph.C (getChar): add strong asserts
686
687         * lyxrow_funcs.C (lastPos): remove hideous hack
688
689         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
690         (fill): adjust to that (avoid an infinite loop)
691
692 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
693
694         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
695
696 2003-10-23  André Pönitz  <poenitz@gmx.net>
697
698         * RowList_fwd.h: change list<> to vector<> to gain speed
699         after suggestion from Alfredo
700
701 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
702
703         * lyxtext.h: move the bidi stuff from here...
704         * text.C: and here
705         * text2.C: and here
706         * Bidi.[Ch]: ... to here
707
708 2003-10-23  André Pönitz  <poenitz@gmx.net>
709
710         * lyxtext.h:
711         * text.C (isLastRow, isFirstRow): new functions
712
713         * paragraph.h: new width cache member
714
715         * rowpainter.C: replace RowList::iterator with Row & where possible
716
717         * lyxfunc.C: replace several view()->text with a single call
718
719         * toc.C: fix 'unused' warning
720
721 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
722
723         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
724         when woring with stream::pos_type
725         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
726
727 2003-10-22  André Pönitz  <poenitz@gmx.net>
728
729         * lyxtext.h:
730         * text.C: use Row & instead of RowList::iterator
731
732         * lyxrow.h: rename end() to endpos()
733
734         * rowpainter.C:
735         * text.C:
736         * text2.C: adjust
737
738 2003-10-22  Angus Leeming  <leeming@lyx.org>
739
740         * buffer.[Ch] (fully_loaded): new member function, returning true
741         only when the file has been loaded fully.
742         Used to prevent the premature generation of previews and by the
743         citation inset to prevent computation of the natbib-style label.
744
745         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
746         templates are all set up.
747
748         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
749
750 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
751
752         * text.C: fixed an "oops" in the "is a bit silly"
753         bug fix
754
755 2003-10-21  André Pönitz  <poenitz@gmx.net>
756
757         * FuncStatus.[Ch]: small stuff, whitespace
758
759         * lyxfont.[Ch]: operator<<() for debug reasons
760
761         * lyxfunc.C:
762         * lyxrow_funcs.C:
763         * lyxtext.h: whitespace, spelling
764
765         * paragraph.C: naming of variables
766
767         * text.C:
768         * text2.C: small stuff
769
770
771 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
772
773         * text.C: (1) finish off the inset display() work;
774         (2) fix the "is a bit silly" bug (accessing char
775         past end of par).
776
777 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
778
779         * text.C: re-introduce display() for insets, fixing the
780         various bugs (stretch of line above, math inset
781         positioning, ...)
782
783 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
784
785         * text.C (rightMargin): remove spurious semicolon
786
787         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
788         1415)
789
790 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
791
792         * text3.C: fix one crash due to wrong cursor def
793
794 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
795
796         * vc-backend.C (scanMaster): make the regex static
797
798         * LaTeX.C (scanAuxFile): make the regexs static
799
800         * text3.C (doInsertInset, dispatch, dispatch):
801         * text2.C (cursorUp, cursorDown):
802         * text.C (selectNextWordToSpellcheck):
803         * BufferView_pimpl.C (dispatch):
804         * lyxfunc.C (dispatch):  localDispatch -> dispatch
805
806 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
807
808         * lyxsocket.C: include <cerrno>
809
810 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
811
812         * lyxfunc.C (dispatch): remove textcache stuff
813
814         * bufferlist.C (release): remove textcache stuff
815         (closeAll): ditto
816
817         * TextCache.C: delete file
818         * TextCache.h: delete file
819
820         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
821
822         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
823         delete of the bv_->text.
824         (resizeCurrentBuffer): remove texcache stuff
825         (workAreaResize): ditto
826
827 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
828
829         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
830         action.
831
832 2003-10-16  André Pönitz  <poenitz@gmx.net>
833
834         * lyxrow.[Ch]:
835         * paragraph.h:
836         * rowpainter.C:
837         * text.C:
838         * text2.C:
839         * text3.C: speed up by storing y positions per paragraph plus per-row
840         offset instead of having a 'full' y position in the row.
841
842 2003-10-15  André Pönitz  <poenitz@gmx.net>
843
844         * iterators.[Ch]:
845         * iterators.[Ch]:
846         * undo.[Ch]: make undo aware of inner insets
847
848 2003-10-14  Angus Leeming  <leeming@lyx.org>
849
850         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
851         static member functions LyX::ref() and LyX::cref.
852         (lastfiles): new accessor functions for the new lastfiles_ member var.
853         (addLyXView, views_): add a new LyXView to the list of views_.
854         (updateInset): loop over all LyXViews to call their own updateInset
855         member function, returning a pointer to the Buffer owning the inset.
856
857         * BufferView_pimpl.C (loadLyXFile):
858         * MenuBackend.C (expandLastfiles):
859         * bufferlist.C (MenuWrite, QuitLyX):
860         lastfiles is no longer a global variable.
861         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
862
863         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
864         static function. Access through LyX::cref().emergencyCleanup().
865
866 2003-10-14  André Pönitz  <poenitz@gmx.net>
867
868         * iterators.[Ch]: new direct access to innermost LyXText and Inset
869
870         * undo.[Ch]: restoring part of 'undo in insets'
871
872         * Makefile.am:
873         * undo_funcs.[Ch]: merge with undo.[Ch]
874
875         * tabular.C: small cleansing stuff
876
877 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
878
879         * paragraph_funcs.C (readParToken): report unknown insets as error
880         boxes. Use the outer paragraph as location (also for unknown
881         tokens).
882
883         * factory.C (readInset): do not abort on reading an unknown inset.
884         Eat it and return 0.
885
886 2003-10-13  Angus Leeming  <leeming@lyx.org>
887
888         * lyx_main.C (LyX): remove call to setDisplayTranslator().
889
890         * lyxrc.C: displayTranslator is now a function,
891         declared in GraphicsTypes.h.
892
893 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
894
895         * format.C: new placeholder $$a to pass the socket address.
896
897         * bufferlist.[Ch]: new function getBufferFromTmp.
898
899         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
900           files in the temporary dir.
901
902 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
903
904         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
905
906         * Makefile.am: add lyxsocket.[Ch].
907
908         * lyx_main.C (error_handler): handle SIGPIPE.
909
910 2003-10-13  André Pönitz  <poenitz@gmx.net>
911
912         * BufferView_pimpl.C:
913         * lyxtext.h:
914         * text.C:
915         * text2.C:
916         * text3.C:
917         * undo_funcs.[Ch]: use paroffset_type instead of
918           ParagraphList::iterators to prevent multiple conversion
919           (and get a more robust interface)
920
921 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
922
923         * lyxfunc.C (dispatch): RESULT -> dispatch_result
924         * lyxtext.h: ditto
925         * text3.C (dispatch): ditto
926
927 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
928
929         * LaTeX.C (handleFoundFile): move the static to smaller scope,
930         move the onlyfile, use onlyfile instead of foundfile in a couple
931         of places.
932
933         * DepTable.C (update): flush the error stream a bit more
934
935 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
936
937         * lyxserver.C (callback): adjust
938
939         * lyxfunc.C (getStatus): add a missing brace in commented code
940         (ensureBufferClean): reindent
941         (dispatch): delete version taking a string
942
943 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
944
945         * LaTeX.C (deplog): move found file handlig from here...
946         (handleFoundFile): .. to new function here.
947         (deplog): make sure to discover several files mentioned on the
948         same log line.
949
950 2003-10-10  André Pönitz  <poenitz@gmx.net>
951
952         * lyxfunc.C:
953         * lyxtext.h:
954         * tabular.C:
955         * text.C:
956         * text2.C:
957         * text3.C: fix some of the tabular crashes
958
959 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
960
961         * MenuBackend.C (binding): put debug message into Debug::KBMAP
962
963         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
964
965 2003-10-09  André Pönitz  <poenitz@gmx.net>
966
967         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
968
969         * BufferView.C:
970         * BufferView_pimpl.C:
971         * bufferview_funcs.C:
972         * lyx_cb.C:
973         * lyxcursor.C:
974         * lyxfind.C:
975         * lyxfunc.C:
976         * lyxtext.h:
977         * text.C:
978         * text2.C:
979         * text3.C:
980         * text_funcs.[Ch]:
981         * textcursor.[Ch]:
982         * undo_funcs.C: adjust
983
984 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
985
986         * text2.C (incrementItemDepth): new function, use a backtracking
987         algorithm to discover the correct item depth.
988         (resetEnumCounterIfNeeded): new function, use a backtracking
989         algorithm to discover if counter reset is needed.
990         (setCounter): use them. Simplify a bit. Add different labels for
991         different item depths for itemize.
992
993         * paragraph.C (Paragraph): remove initialization of enumdepth
994         (operator=): ditto
995
996         * paragraph.h: get rid of enumdepth, and use itemdepth both for
997         enumerate and itemize. Change the type of itemdepth to signed char.
998
999 2003-10-08  André Pönitz  <poenitz@gmx.net>
1000
1001         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1002           thing assignable.
1003         * text.C:
1004         * text2.C: adjust
1005
1006         * tabular.[Ch]: fix crash after 'row-insert'
1007
1008 2003-10-08  Angus Leeming  <leeming@lyx.org>
1009
1010         Fix doxygen warnings.
1011
1012         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1013         Remove CutAndPaste:: prefix from header file declaration.
1014
1015         * LColor.h (fill): remove LColor:: prefix from declaration.
1016
1017         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1018         use lyx::depth_type rather than Paragraph::depth_type so that
1019         header file and .C file match.
1020
1021         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1022
1023         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1024         * aspell.C: \file aspell_local.C -> \file aspell.C
1025         * gettext.C: \file gettext.C -> \file src/gettext.C
1026         * gettext.h: \file gettext.h -> \file src/gettext.h
1027         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1028         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1029         * text.C: \file text.C -> \file src/text.C
1030
1031         * toc.C: move comment so that doxygen is not confused.
1032
1033 2003-10-07  Angus Leeming  <leeming@lyx.org>
1034
1035         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1036
1037 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1038
1039         * aspell.C:
1040         * aspell_local.h: add forgotten std::string's.
1041
1042 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1043
1044         * LaTeXFeatures.C:
1045         * LyXAction.C:
1046         * factory.C:
1047         * lfuns.h:
1048         * lyxfunc.C:
1049         * text3.C: The Box patch. Fancybox support, minipage, parbox
1050
1051 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1052
1053         * CutAndPaste.h:
1054         * DepTable.h:
1055         * FloatList.h:
1056         * LaTeXFeatures.h:
1057         * ParagraphParameters.h:
1058         * TextCache.h:
1059         * Thesaurus.h:
1060         * bufferlist.h:
1061         * exporter.h:
1062         * importer.h:
1063         * lastfiles.h:
1064         * lyxfind.h:
1065         * lyxfont.h:
1066         * lyxlex.h:
1067         * lyxtextclasslist.h:
1068         * messages.h:
1069         * paragraph.h:
1070         * paragraph_pimpl.C:
1071         * textcursor.h: add <string> and other small fixes to make Lars'
1072         std::string patch compile with STLport.
1073
1074 2003-10-06  Angus Leeming  <leeming@lyx.org>
1075
1076         * LColor.h: Add missing #include <string>.
1077
1078 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1079
1080         * All most all file in all subdirs: Make <string> be the prefered
1081         way of getting to std::string, add using declarations.
1082
1083 2003-10-06  André Pönitz  <poenitz@gmx.net>
1084
1085         * metricsinfo.C: initialize LyXFont before changing attribute.
1086         (fixes the 'math in \emph is upright' bug)
1087
1088 2003-10-06  André Pönitz  <poenitz@gmx.net>
1089
1090         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1091
1092 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1093
1094         * graph.C:
1095         * paragraph_pimpl.C: Small fixes to build using STLport
1096
1097 2003-10-02  André Pönitz  <poenitz@gmx.net>
1098
1099         * lyxfunc.C:
1100         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1101
1102 2003-10-01  André Pönitz  <poenitz@gmx.net>
1103
1104         * factory.C: assert early
1105
1106 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1107
1108         * lyx_main.C: remove the global debug object
1109
1110         * debug.h: adjust for new debugstream
1111
1112         * debug.C: adjust for new debugstream and keep the global debug
1113         object here.
1114
1115 2003-09-22  Angus Leeming  <leeming@lyx.org>
1116
1117         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1118         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1119         an incomplete class LyXFont.
1120
1121 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1122
1123         * factory.C: bug fix in branches
1124
1125 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1126
1127         * lyxfunc.C (processKeySym): adjust
1128         (dispatch): adjust
1129         (dispatch): change arg name from ev to func, adjust
1130         (sendDispatchMessage): ditto
1131
1132         * lyx_main.C (defaultKeyBindings): adjust keybindings
1133         (deadKeyBindings): ditto
1134
1135         * kbsequence.C (addkey): return a FuncRequest
1136
1137         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1138
1139         * kbmap.C (bind): take a FuncRequest as arg, adjust
1140         (read): adjust
1141         (lookup): adjust
1142         (defkey): change to take a FuncRequest as arg, adjust
1143         (findbinding): take a FuncRequest as arg, adjust.
1144
1145         * funcrequest.h (operator=): added
1146
1147         * funcrequest.C (FuncRequest): default kb_action changed from
1148         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1149
1150         * buffer.C (dispatch): simplify
1151         (dispatch): adjust to take a FuncRequest as arg, adjust
1152
1153         * boost.C (assertion_failed): change assertion message slightly
1154
1155         * ToolbarBackend.C (read): simplify
1156
1157         * MenuBackend.C (binding): adjust call to findbinding, add a
1158         message if no binding is found.
1159         (read): simplify
1160         (expandToc): correct by adding a empty FuncRequest
1161
1162         * LyXAction.C: include <boost/assert.hpp>
1163         (isPseudoAction): delete function
1164         (LookupFunc): change name to...
1165         (lookupFunc): this. change return type to FuncRequest.
1166         (getActionName): take kb_action as arg, simplify
1167         (funcHasFlag): add an assert, simplify.
1168
1169 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1170
1171         * toc.C (action): return a FuncRequest, simplify
1172
1173         * lyxfunc.C (processKeySym): adjust
1174         (getStatus): delete version that takes an int.
1175         (getStatus): adjust
1176         (dispatch): delete version that takes action as int
1177         (dispatch): adjust
1178         (sendDispatchMessage): simplify and adjust
1179
1180         * funcrequest.C (getArg): take unsigned int as arg
1181
1182         * ToolbarBackend.C (read): adjust
1183         (add): delete version that takes func as a string.
1184         (getIton): take a FuncRequest as arg
1185
1186         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1187         action.
1188
1189         * MenuBackend.C (MenuItem): add a new construct that only takes a
1190         Kind, simplify the constructor use for submenus.
1191         (add): adjust
1192         (expandLastfiles): adjust
1193         (expandDocuments): adjust
1194         (expandFormats): adjust
1195         (expandFloatListInsert): adjust
1196         (expandFloatInsert): adjust
1197         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1198
1199         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1200         Remove class variables lyx_pseudo_map and lyx_arg_map
1201
1202         * LyXAction.C (searchActionArg): delete function
1203         (getPseudoAction): delete function
1204         (retrieveActionArg): delete function
1205         (LookupFunc): make it return kb_action, simplify.
1206         (getActionName): simplify
1207
1208         * factory.C (createInset): fix new bug
1209
1210 2003-09-19  Angus Leeming  <leeming@lyx.org>
1211
1212         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1213         masterFilename_ parameter in the include inset.
1214
1215         * factory.C (createInset): changes due to the changes to InsetInclude.
1216
1217 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1218
1219         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1220
1221 2003-09-18  Angus Leeming  <leeming@lyx.org>
1222
1223         * buffer.C:
1224         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1225         Inset::fillWithBibKeys.
1226         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1227
1228 2003-09-18  Angus Leeming  <leeming@lyx.org>
1229
1230         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1231         variables.
1232         (ctor): pass and store a 'Buffer const &'
1233         (buffer): new member function.
1234
1235         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1236         '*this' to the LaTeXFeatures ctor.
1237
1238 2003-09-18  Angus Leeming  <leeming@lyx.org>
1239
1240         * LColor.h:
1241         * lyxfont.C:
1242         * lyxfont.h:
1243         * lyxtext.h:
1244         * text.C: rename EnumLColor as LColor_color.
1245
1246 2003-09-18  Angus Leeming  <leeming@lyx.org>
1247
1248         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1249         remove #include "insets/insetbase.h" from cursor.h.
1250
1251 2003-09-18  Angus Leeming  <leeming@lyx.org>
1252
1253         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1254         InsetOld_code to remove #include "inset.h".
1255
1256         * iterators.C: add #include "insets/inset.h"
1257
1258 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1259
1260         * BufferView.C: remove more locking stuff that apparently doesn't
1261         do anything sensible.
1262
1263 2003-09-16  André Pönitz  <poenitz@gmx.net>
1264
1265         * paragraph.[Ch]:
1266         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1267           performance boost.
1268
1269 2003-09-16  Angus Leeming  <leeming@lyx.org>
1270
1271         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1272
1273         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1274         arg/return type.
1275
1276         * paragraph.h: remove #include "lyxfont.h". Forward declare
1277         LyXFont_size.
1278
1279 2003-09-16  Angus Leeming  <leeming@lyx.org>
1280
1281         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1282         of support/textutils.h.
1283         (isWord): move the contents of support/textutils.h's IsWordChar here.
1284
1285         * buffer.C:
1286         * lyxfind.C:
1287         * rowpainter.C:
1288         * text.C:
1289         * text2.C: add #include "paragraph.h".
1290
1291         * rowpainter.C:
1292         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1293
1294 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1295
1296         * main.C:
1297         * lyx_main.C:
1298         * lyx_cb.C:
1299         * buffer.C:
1300         * LaTeX.C: use namespace alias for lyx::support::os
1301
1302 2003-09-16  Angus Leeming  <leeming@lyx.org>
1303
1304         * bufferparams.C:
1305         * bufferview_funcs.C:
1306         * factory.C:
1307         * lyxfunc.C:
1308         * paragraph_pimpl.C:
1309         * rowpainter.C:
1310         * text.C: add #include "LColor.h".
1311
1312 2003-09-16  Angus Leeming  <leeming@lyx.org>
1313
1314         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1315         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1316         return LyXFont &.
1317         Store the FontBits::color variable as an int rather than as an
1318         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1319         file.
1320
1321         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1322         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1323         string calls together.
1324
1325         * lyxrc.C: add #include "LColor.h".
1326
1327 2003-09-15  Angus Leeming  <leeming@lyx.org>
1328
1329         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1330         a cow_ptr.
1331
1332 2003-09-15  Angus Leeming  <leeming@lyx.org>
1333
1334         * LColor.h: add an EnumLColor wrapper for LColor::color.
1335
1336         * lyxfont.[Ch] (color, setColor, realColor):
1337         * lyxtext.h, text.C (backgroundColor):
1338         pass EnumLColor args to/from the functions, rather than LColor::color
1339         ones.
1340
1341         * lyxfont.h:
1342         * lyxtext.h: forward declare EnumLColor.
1343
1344         * lyx_main.C: add #include "LColor.h".
1345
1346 2003-09-15  Angus Leeming  <leeming@lyx.org>
1347
1348         * .cvsignore: add lyx-gtk.
1349
1350 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1351
1352         * Chktex.C
1353         * LaTeX.C
1354         * LaTeXFeatures.C
1355         * ParagraphParameters.C
1356         * Spacing.C
1357         * buffer.C
1358         * bufferparams.C
1359         * bufferview_funcs.C
1360         * chset.C
1361         * counters.C
1362         * funcrequest.C
1363         * lyxfont.C
1364         * lyxgluelength.C
1365         * lyxlength.C
1366         * paragraph.C
1367         * paragraph_funcs.C
1368         * text3.C
1369         * vc-backend.C: remove usage of STRCONV
1370
1371 2003-09-15  Angus Leeming  <leeming@lyx.org>
1372
1373         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1374         explicitly define the color passed to the painter.
1375
1376 2003-09-15  Angus Leeming  <leeming@lyx.org>
1377
1378         * bufferparams.C (BufferParams): reorder member initializers to avoid
1379         compiler warning.
1380
1381 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1382
1383         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1384         * text.C (updateRowPositions): remove an unusual nop
1385
1386 2003-09-12  André Pönitz  <poenitz@gmx.net>
1387
1388         * BufferView_pimpl.C:
1389         * Bullet.C:
1390         * layout.h:
1391         * lyxfunc.C:
1392         * lyxlayout.[Ch]:
1393         * lyxtextclass.C:
1394         * rowpainter.C:
1395         * text.C:
1396         * text2.C:
1397         * Counters.[Ch]: finish the 'automatic counters' job
1398
1399 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1400
1401         * aspell.C: include <boost/assert.cpp> (compile fix)
1402
1403 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1404
1405         * boost.C (assertion_failed): use lyx::support::abort instead of
1406         assert.
1407
1408 2003-09-10  Angus Leeming  <leeming@lyx.org>
1409
1410         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1411         with their _fwd progeny.
1412
1413 2003-09-09  Angus Leeming  <leeming@lyx.org>
1414
1415         134 files throughtout the source tree: replace 'using namespace abc;'
1416         directives with the appropriate 'using abc::xyz;' declarations.
1417
1418 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1419
1420         * boost.C (emergencyCleanup): moved here from LAssert.c
1421         (assertion_failed): new function, called by BOOST_ASSERT
1422
1423         * several files: change Assert to BOOST_ASSERT
1424
1425 2003-09-09  Angus Leeming  <leeming@lyx.org>
1426
1427         * buffer.[Ch]: Add an Impl class and move Buffer's member
1428         variables into it. As a result move several header files out of
1429         buffer.h.
1430
1431         Add header files to lots of .C files all over the tree as a result.
1432
1433 2003-09-09  Angus Leeming  <leeming@lyx.org>
1434
1435         * buffer.[Ch]: make Buffer's member variables private. Add
1436         accessor functions.
1437
1438         Lots of changes all over the tree as a result.
1439
1440 2003-09-08  Angus Leeming  <leeming@lyx.org>
1441
1442         * graph.C: #include <config.h>.
1443
1444 2003-09-08  Angus Leeming  <leeming@lyx.org>
1445
1446         * BranchList.C:
1447         * BufferView.C:
1448         * BufferView_pimpl.C:
1449         * CutAndPaste.C:
1450         * DepTable.C:
1451         * LaTeX.C:
1452         * LaTeXFeatures.C:
1453         * LyXAction.C:
1454         * MenuBackend.C:
1455         * TextCache.C:
1456         * aspell.C:
1457         * buffer.C:
1458         * bufferlist.C:
1459         * changes.C:
1460         * chset.C:
1461         * converter.C:
1462         * counters.C:
1463         * debug.C:
1464         * graph.C:
1465         * ispell.C:
1466         * lyx_cb.C:
1467         * lyxfind.C:
1468         * lyxfunc.C:
1469         * lyxlex_pimpl.C:
1470         * lyxrc.C:
1471         * lyxrow.C:
1472         * paragraph.C:
1473         * rowpainter.C:
1474         * texrow.C:
1475         * text.C:
1476         * text2.C:
1477         * toc.C: remove redundant using directives.
1478
1479 2003-09-07  Angus Leeming  <leeming@lyx.org>
1480
1481         * LaTeXFeatures.h: remove #include "support/types.h".
1482         * ToolbarBackend.h: remove #include <algorithm>.
1483         * changes.h: remove #include <ctime>.
1484         * debug.h: remove #include <iosfwd>.
1485         * graph.h: remove #include "support/std_string.h".
1486         * lyx_main.h: remove #include <csignal>.
1487         * lyxlex_pimpl.h: remove #include <fstream>.
1488         * sgml.h: remove #include <algorithm>, <utility>.
1489         * toc.h: remove #include "support/std_ostream.h".
1490         Add #include <iosfwd>.
1491
1492 2003-09-07  Angus Leeming  <leeming@lyx.org>
1493
1494         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1495
1496         * converter.h: forward declare LatexRunParams.
1497         * encoding.h: remove #include "lyxrc.h".
1498         * lyxtext.h: remove #include "LColor.h".
1499         * lyxtextclass.h: remove #include "support/types.h".
1500         * trans.h: remove #include "tex-accent.h".
1501         * trans_mgr.h: remove #include "tex-accent.h".
1502         * insets/inset.h: remove #include "support/types.h", <vector>.
1503         * insets/insetcollapsable.h: remove #include "LColor.h".
1504         * insets/insetinclude.h: remove #include "dimension.h".
1505         * insets/insetlatexaccent.h: remove #include "dimension.h".
1506         * insets/insetoptarg.h:: remove #include "insettext.h".
1507         * insets/insettext.h: remove #include "dimension.h",
1508         <boost/shared_ptr.hpp>
1509
1510         * insets/renderers.h: add #include "dimension.h".
1511         * insets/updatableinset.h: add #include "support/types.h".
1512
1513         * many .C files: Associated changes.
1514
1515 2003-09-06  Angus Leeming  <leeming@lyx.org>
1516
1517         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1518         one, inside testInvariant.
1519
1520         * PrinterParams.C: new file.
1521         * PrinterParams.[Ch]: move the function bodies out of line.
1522
1523 2003-09-06  Angus Leeming  <leeming@lyx.org>
1524
1525         * ParagraphParameters.h: forward declare ParameterStruct rather than
1526         including its header file.
1527         (depth): moved out-of-line.
1528
1529 2003-09-06  Angus Leeming  <leeming@lyx.org>
1530
1531         * BufferView_pimpl.h:
1532         * kbmap.h:
1533         * kbsequence.h:
1534         * lyxfunc.h: forward declare LyXKeySym rather than
1535         #include "frontends/LyXKeySym.h".
1536
1537         * BufferView_pimpl.C:
1538         * kbmap.C:
1539         * kbsequence.C:
1540         * lyxfunc.C: associated changes.
1541
1542 2003-09-06  Angus Leeming  <leeming@lyx.org>
1543
1544         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1545         As a result, can remove the #include "insets/inset.h" from BufferView.h
1546
1547 2003-09-06  Angus Leeming  <leeming@lyx.org>
1548
1549         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1550         As a result, can remove the #include "insets/inset.h" from BufferView.h
1551
1552 2003-09-06  Angus Leeming  <leeming@lyx.org>
1553
1554         * buffer_funcs.C:
1555         * buffer.h:
1556         * bufferlist.C:
1557         * BufferView.C:
1558         * bufferview_funcs.C:
1559         * BufferView_pimpl.C:
1560         * CutAndPaste.C:
1561         * lyx_cb.C:
1562         * lyxfunc.C:
1563         * paragraph.h:
1564         * ParagraphParameters.C:
1565         * tabular.C:
1566         * text3.C:
1567         * toc.C:
1568         * undo_funcs.C:
1569         * frontends/controllers/ControlDocument.C:
1570         * insets/insetcaption.C: rearrange the #includes into some sort of
1571         coherent order.
1572
1573         * buffer.h: remove #includes ErrorList.h, undo.h
1574
1575 2003-09-06  Angus Leeming  <leeming@lyx.org>
1576
1577         * support/types.h: add a 'depth_type' typedef, used to store the
1578         nesting depth of a paragraph.
1579
1580         * paragraph.h:
1581         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1582         defining explicitly.
1583
1584         * buffer.h:
1585         * paragraph_funcs.h:
1586         * ParagraphParameters.h:
1587         * sgml.h: use lyx::depth_type rather than Paragraph or
1588         ParameterStruct's depth_type.
1589
1590         * buffer.h
1591         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1592
1593         * BufferView.C:
1594         * BufferView_pimpl.C:
1595         * CutAndPaste.C:
1596         * ParagraphParameters.C:
1597         * buffer_funcs.C:
1598         * bufferlist.C:
1599         * bufferview_funcs.C:
1600         * lyx_cb.C:
1601         * lyxfunc.C:
1602         * tabular.C:
1603         * text3.C:
1604         * toc.C:
1605         * undo_funcs.C:
1606         * frontends/LyXView.C:
1607         * frontends/controllers/ControlDocument.C:
1608         * frontends/controllers/ControlErrorList.C:
1609         * insets/insetbibitem.C:
1610         * insets/insetbranch.C:
1611         * insets/insetcaption.C:
1612         * insets/insetcollapsable.C:
1613         * insets/insetenv.C:
1614         * insets/insetert.C:
1615         * insets/insetfloat.C:
1616         * insets/insetfoot.C:
1617         * insets/insetfootlike.C:
1618         * insets/insetnewline.C:
1619         * insets/insetquotes.C:
1620         * insets/insettabular.C:
1621         * insets/insettext.C:
1622         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1623
1624         * frontends/controllers/ControlChanges.C: #include "changes.h".
1625
1626 2003-09-06  Angus Leeming  <leeming@lyx.org>
1627
1628         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1629         than #including paragraph.h.
1630
1631         * ParagraphList.h:
1632         * RowList.h: deleted. Superfluous.
1633
1634         * CutAndPaste.h:
1635         * iterators.h:
1636         * lyxcursor.h:
1637         * lyxtext.h:
1638         * text_funcs.h:
1639         * undo.h:
1640         * undo_funcs.h:
1641         * insets/inset.h:
1642         * insets/insettext.h: use ParagraphList_fwd.h rather than
1643         ParagraphList.h.
1644
1645         * paragraph.h: don't forward declare ParagraphList.
1646
1647         * buffer.h:
1648         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1649         rather than ParagraphList.h. paragraph.h is still needed for the
1650         Paragraph::depth_type parameters.
1651
1652         * textcursor.h: enable it to compile stand-alone in light of the
1653         above changes.
1654
1655         * bufferview_funcs.C:
1656         * iterators.C:
1657         * lyxfunc.C:
1658         * lyxrow_funcs.C:
1659         * paragraph.C:
1660         * rowpainter.C:
1661         * text.C:
1662         * text2.C:
1663         * text3.C:
1664         * text_funcs.C:
1665         * textcursor.C:
1666         * undo.C:
1667         * frontends/controllers/ControlParagraph.C:
1668         * frontends/controllers/ControlTabular.C:
1669         * insets/insetmarginal.C:
1670         * insets/insetminipage.C:
1671         * insets/insetnote.C:
1672         * insets/insetoptarg.C: add header files needed to compile again.
1673
1674 2003-09-06  Angus Leeming  <leeming@lyx.org>
1675
1676         * RowList_fwd.h: new file, forward-declaring Row rather than
1677         #including lyxrow.h.
1678
1679         * lyxrow_funcs.h:
1680         * lyxtext.h:
1681         * paragraph.h:
1682         * insets/insettext.h: use it instead of RowList.h
1683
1684         * bufferview_funcs.C:
1685         * lyxfunc.C:
1686         * lyxrow_funcs.C:
1687         * paragraph.C:
1688         * rowpainter.C:
1689         * text.C:
1690         * text2.C:
1691         * text3.C: #include "RowList.h".
1692
1693 2003-09-05  Angus Leeming  <leeming@lyx.org>
1694
1695         * factory.C (createInset):
1696         * vspace.C (c-tor): replace sscanf call with an istringstream.
1697         * ispell.C: re-add missing HP/UX headers.
1698         * lyxserver.C: re-add missing  os2 headers.
1699
1700 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1701
1702         * BranchList.C:
1703         * graph.C:
1704         * ispell.C:
1705         * lastfiles.C:
1706         * lyx_cb.C:
1707         * lyxserver.C:
1708         * texrow.C:
1709         * text3.C: re-add missing system headers, needed for 2.95.2.
1710
1711 2003-09-05  Angus Leeming  <leeming@lyx.org>
1712
1713         Changes most place everywhere due to the removal of using directives
1714         from support/std_sstream.h.
1715
1716 2003-09-05  Angus Leeming  <leeming@lyx.org>
1717
1718         Replace LString.h with support/std_string.h,
1719         Lsstream.h with support/std_sstream.h,
1720         support/LIstream.h with support/std_istream.h,
1721         support/LOstream.h with support/std_ostream.h.
1722
1723         Changes resulting throughout the tree.
1724
1725 2003-09-05  Angus Leeming  <leeming@lyx.org>
1726
1727         * sgml.h: ensure that the header file can be compiled stand-alone.
1728         * *.C: strip out redundant #includes. (320 in total.)
1729
1730 2003-09-04  Angus Leeming  <leeming@lyx.org>
1731
1732         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1733         here (from getPackages).
1734
1735         * debug.[Ch]: add a new EXTERNAL tag.
1736
1737 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1738
1739         * text2.C (cursorEnd): simplify
1740         (setCursor): adjust
1741         (getColumnNearX): adjust
1742
1743         * text.C (computeBidiTables): adjust
1744         (fill): adjust
1745
1746         * rowpainter.C (paintChars): adjust
1747         (paintSelection): adjust
1748         (paintChangeBar): adjust
1749         (paintText): adjust
1750
1751         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1752         lastPos instead.
1753         (numberOfSeparators): adjust
1754
1755 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1756
1757         * LyXAction.C:
1758         * box.[Ch]:
1759         * lfuns.h:
1760         * lyxfunc.C:
1761         * text3.C: Restricts the mouse click functionality
1762         of insets like bibtex, include, toc and floatlist to the visible
1763         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1764         up the dialogs. Cursor has to be in front of the inset (i.e.
1765         start of row) for this to function.
1766
1767 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1768
1769         * bufferview_funcs.C (currentState): output row information
1770
1771 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1772
1773         * bufferview_funcs.C (currentState): output paragraph position
1774
1775 2003-09-04  Angus Leeming  <leeming@lyx.org>
1776
1777         * FloatList.h: move out #include "Floating.h".
1778         * LaTeX.h: move out #include "DepTable.h".
1779         * LyXAction.h: move out #include "funcrequest.h".
1780         * buffer.h: move out #include "author.h", "iterators.h".
1781         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1782         * lyx_main.h: move out #include "errorlist.h".
1783         * lyxfunc.h: move out #include "FuncStatus.h".
1784         * lyxtext: move out #include "lyxcursor.h".
1785         * paragraph_pimpl.h: move out #include "counters.h".
1786
1787 2003-09-03  Angus Leeming  <leeming@lyx.org>
1788
1789         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1790         preamble_snippets list, enabling us to add snippets to the preamble
1791         only if the snippet was not there already.
1792
1793 2003-09-04  Angus Leeming  <leeming@lyx.org>
1794
1795         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1796
1797 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1798
1799         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1800         update
1801
1802 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1803
1804         * BranchList.C: point fix, earlier forgotten
1805
1806 2003-09-02  Angus Leeming  <leeming@lyx.org>
1807
1808         * box.C (contains): renamed from 'contained' after a fantastic
1809         amount of hot air.
1810
1811 2003-09-02  John Levon  <levon@movementarian.org>
1812
1813         * BufferView.C:
1814         * lyxcursor.h:
1815         * lyxcursor.C:
1816         * lyxfunc.C:
1817         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1818
1819 2003-09-02  John Levon  <levon@movementarian.org>
1820
1821         * text2.C: simplification of cursorEnd(), including partial
1822         fix for bug 1376
1823
1824 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1825
1826         * buffer.C (readFile): add a space
1827
1828 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1829
1830         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1831
1832 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1833
1834         * buffer.C (readFile): new function, take a filename and a
1835         ParagraphList::iterator
1836         (readFile): adjust
1837         (readFile): adjust, make it private. don't use setStream, make
1838         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1839         always contain the filename.
1840
1841         * BufferView.C (insertLyXFile): simplify and make it work for
1842         gzipped files.
1843
1844 2003-08-30  John Levon  <levon@movementarian.org>
1845
1846         * Makefile.am: fix dist (from Kayvan)
1847
1848 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1849
1850         * most files: change to use const Buffer refs
1851
1852 2003-08-27  André Pönitz  <poenitz@gmx.net>
1853
1854         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1855         on top of ownerPar().
1856
1857 2003-08-27  John Levon  <levon@movementarian.org>
1858
1859         * funcrequest.C: properly initialise POD members
1860
1861 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1862
1863         * lyxtext.h (top_y): move top_y from here
1864         * text.C:
1865         * text2.C:
1866         * text3.C:
1867         * BufferView.[Ch]:
1868         * BufferView_pimpl.[Ch]: to here
1869         * frontends/screen.C:
1870         * insets/insettabular.C:
1871         * insets/insettext.C: adjust
1872         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1873
1874 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1875
1876         * BufferView.[Ch]:
1877         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1878
1879 2003-08-26  André Pönitz  <poenitz@gmx.net>
1880
1881         * paragraph_func.[Ch] (outerPar): new function
1882
1883         * paragraph.C:
1884         * paragraph_funcs.C:
1885         * paragraph_funcs.h:
1886         * paragraph_pimpl.C:
1887         * text2.C: remove Inset::par_owner
1888
1889 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1890
1891         * lyxrow_funcs.C:
1892         * lyxtext.h:
1893         * text.C:
1894         * text2.C: eliminates the needFullRow/display() stuff
1895         altogether, putting the logic in metrics/draw in the insets.
1896
1897 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1898
1899         * text2.C (redoParagraphInternal, redoParagraphs):
1900         * text.C (redoParagraph): add a call to updateRowPositions at the
1901         end of each 'metrics-like' call. Remove all others.
1902         (getRow): remove the 'y-computing' version.
1903         (getRowNearY): do not compute nor return the real y. Solve the
1904         'y < 0' problem and simplify.
1905
1906 2003-08-22  Angus Leeming  <leeming@lyx.org>
1907
1908         * *.[Ch]: clean-up of licence and author blurbs.
1909         Also move config.h out of a few .h files and into a few .C files.
1910
1911 2003-08-22  André Pönitz  <poenitz@gmx.net>
1912
1913         * lyxrow.[Ch]: add x_ and *fill_ members
1914
1915         * lyxtext.h:
1916         * text.C:
1917         * rowpainter.C:
1918         * text2.C: adjust/remove prepareToPrint() calls
1919
1920 2003-08-22  André Pönitz  <poenitz@gmx.net>
1921
1922         * lyxrow.[Ch]: add  end_ member
1923
1924         * lyxrow_funcs.C: use LyXRow::end_
1925
1926         * lyxtext.h (singleWidth): add LyXFont parameter
1927
1928         * rowpainter.C:
1929         * text2.C: adjust LyXText::singleWidth() calls
1930
1931         * text.C (redoParagraph): simplify row breaking logic
1932
1933
1934 2003-08-19  André Pönitz  <poenitz@gmx.net>
1935
1936         * funcrequest.C: initialize button_ member
1937
1938         * text3.C:
1939         * rowpainter.[Ch]: interface consolidation
1940
1941 2003-08-18  André Pönitz  <poenitz@gmx.net>
1942
1943         * BufferView.C:
1944         * BufferView_pimpl.C:
1945         * lyxfind.C:
1946         * paragraph_funcs.C:
1947         * rowpainter.C:
1948         * text3.C: remove LyXScreen::draw() and fitCursor calls
1949
1950         * BranchList.h: remove spurious semicolons
1951
1952         * MenuBackend.C: fix branchlist related crash
1953
1954 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1955
1956         * BranchList.[Ch]:
1957         * InsetList.[Ch]:
1958         * LColor.[Ch]:
1959         * LyXAction.C:
1960         * Makefile.am:
1961         * MenuBackend.[Ch]:
1962         * bufferparams.[Ch]:
1963         * factory.C:
1964         * lfuns.h:
1965         * lyxfunc.C:
1966         * text3.C: implements the 'branch inset'
1967         idea. This allows the output of various versions of a document
1968         from a single source version, selectively outputing or suppressing
1969         output of parts of the text.
1970         This implementation contains a 'branch list editor' in a separate
1971         tab of the document settings dialog. Branches are user definable
1972         and have a "display colour" to distinguish them on-screen.
1973
1974         ColorHandler was somewhat cleaned up.
1975         (1) make possible a dynamically growing LColor list by allowing
1976         the graphic context cache to grow along (vector);
1977         (2) eliminate an IMHO unnecessary step in colour allocation.
1978
1979 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1980
1981         * BufferView_pimpl.C: compile fix
1982
1983 2003-08-15  André Pönitz  <poenitz@gmx.net>
1984
1985         * rowpainter.C: remove extra metrics calls
1986
1987         * lyxtext.h: merge the two constructors into a single one,
1988           pass reference to owner's par list
1989
1990         * BufferView_pimpl.C:
1991         * text.C:
1992         * text2.C: adjust
1993
1994 2003-08-15  André Pönitz  <poenitz@gmx.net>
1995
1996         * lyxrow_funcs.[Ch]:
1997         * lyxtext.h:
1998         * paragraph.h:
1999         * paragraph_funcs.C:
2000         * rowpainter.C:
2001         * text.C:
2002         * text2.C:
2003         * text3.C:
2004         * text_funcs.C: split LyXText::rowlist_ into individual
2005         Paragraph::rows_ chunks
2006
2007         * BufferView.[Ch]:
2008         * BufferView_pimpl.[Ch]:
2009         * lyxfind.C:
2010         * lyxtext.h:
2011         * text3.C: remove toggleSelection()
2012
2013 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2014
2015         * bufferlist.C: beautify two alerts (shorter text of buttons)
2016         * buffer.C: Remove redundant ' ' from message
2017         * tabular.h:
2018         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2019         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2020         rename VALIGN_CENTER to VALIGN_MIDDLE
2021
2022 2003-08-11  André Pönitz  <poenitz@gmx.net>
2023
2024         * lyxtext.h (getPar):
2025         * text.C: new function
2026
2027 2003-08-11  André Pönitz  <poenitz@gmx.net>
2028
2029         * Makefile.am:
2030         * tracer.[Ch]: remove unneeded files
2031
2032         * InsetList.[Ch]: remove resizeInsetsLyXText()
2033
2034         * lyxtext.h:
2035         * text.C:
2036         * text2.C:
2037         * text3.C: merge insertParagraphs() and appendParagraph()
2038         remove breakAgain(), update()
2039
2040         * BufferView_pimpl.[Ch]:
2041         * bufferview_funcs.[Ch]:
2042         * lyxfunc.C:
2043         * paragraph.[Ch]:
2044         * rowpainter.C:
2045         * tabular.C: adjust after text & InsetList changes.
2046
2047 2003-08-08  André Pönitz  <poenitz@gmx.net>
2048
2049         * text.C (insertChar, backspace): replace rowlist fiddling
2050         with rebreak of full par
2051
2052         * lyxtext.h:
2053         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2054         checkParagraph, updateInset): removed
2055
2056 2003-08-07  André Pönitz  <poenitz@gmx.net>
2057
2058         * paragraph.C:
2059         * text3.C: merge some LFUN handlers, remove dead code
2060
2061 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2062
2063         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2064
2065 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2066
2067         * text2.C (DEPM): fix part of bug 1255 and 1256
2068
2069 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2070
2071         * BufferView_pimpl.C (workAreaDispatch): change to use
2072         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2073         that are no mouse related.
2074
2075 2003-08-05  André Pönitz  <poenitz@gmx.net>
2076
2077         * BufferView.[Ch]:
2078         * BufferView_pimpl.[Ch]:
2079         * bufferview_funcs.C:
2080         * text2.C:
2081         * text3.C: rip out "deep update"
2082
2083         * textcursor.[Ch] (last_sel_cursor): remove unused member
2084
2085 2003-08-04  André Pönitz  <poenitz@gmx.net>
2086
2087         * BufferView.[Ch]:
2088         * BufferView_pimpl.[Ch]:
2089         * ParagraphParameters.C:
2090         * bufferview_funcs.C:
2091         * lyx_cb.C:
2092         * lyxfind.C:
2093         * lyxfunc.C:
2094         * text.C:
2095         * text2.C:
2096         * text3.C: replace "complicated" BufferView::update(...) calls with
2097         simpler ones.
2098
2099         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2100
2101 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2102
2103         * Makefile.am (lyx_SOURCES): add paper.h
2104
2105 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2106
2107         * Makefile.am: move things around so that both lyx-qt and
2108         lyx-xforms can be built (according to --with-frontend). Then lyx
2109         is a symbolic link to lyx-[firstfrontend]
2110
2111 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2112
2113         * Always use std::endl with lyxerr
2114
2115 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2116
2117         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2118
2119 2003-08-01  André Pönitz  <poenitz@gmx.net>
2120
2121         * BufferView.[Ch]:
2122         * BufferView_pimpl.[Ch]:
2123         * lyxfunc.C:
2124         * text3.C: merge BufferView::repaint() and BufferView::update()
2125
2126 2003-08-01  José Matos  <jamatos@lyx.org>
2127
2128         * buffer.[Ch]: file_format is no longer a buffer data element.
2129
2130 2003-08-01  André Pönitz  <poenitz@gmx.net>
2131
2132         * BufferView.C:
2133         * lyxtext.h:
2134         * text.C:
2135         * text2.C: make redoParagraph more independent of current cursor
2136
2137         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2138         * text.C:
2139         * text2.C: remove unneeded members
2140
2141 2003-07-30  André Pönitz  <poenitz@gmx.net>
2142
2143         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2144
2145         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2146           create a single function...
2147
2148         * paragraph_funcs.C (moveItem): ... here.
2149
2150         * text.C:
2151           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2152
2153 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2154
2155         * LColor.[Ch]: Add comment and greyedout logical colors.
2156
2157 2003-07-30  André Pönitz  <poenitz@gmx.net>
2158
2159         * tabular.C: don't use Assert too heavily. This crashes where it
2160           shouldn't
2161
2162 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2163
2164         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2165         is disabled (bug 1232)
2166
2167 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2168
2169         * factory.C: limited 'arg' scope
2170
2171 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2172
2173         * factory.C: fixed Note submenu issues
2174
2175 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2176
2177         * factory.C: submenu for Note/Comment/Greyedout
2178
2179 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2180
2181         * lyx_main.C (LyX):
2182         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2183
2184 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2185
2186         * LaTeXFeatures.C:
2187         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2188         greyedout. Patch provided by Jürgen Spitzmüller.
2189
2190 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2191
2192         * kbmap.C (read): fix error message when reading bind files
2193
2194 2003-07-29  Angus Leeming  <leeming@lyx.org>
2195
2196         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2197         certainly does not do what it purports to do. I am doing it, and
2198         us, a favour by killing it.
2199
2200 2003-07-28  José Matos  <jamatos@lyx.org>
2201
2202         * buffer.C (readBody, do_writeFile):
2203         * paragraph.C(readParagraph): \end_document replaces \the_end.
2204
2205 2003-07-29  André Pönitz  <poenitz@gmx.net>
2206
2207         * BufferView.[Ch]:
2208         * BufferView_pimpl.[Ch]:
2209         * lyxfunc.C:
2210         * text2.C:
2211         * text3.C:
2212         * textcursor.[Ch]: remove toggleToggle & Co
2213
2214 2003-07-28  José Matos  <jamatos@fep.up.pt>
2215
2216         * buffer.C (readParagraph):
2217         * params_func (readParToken, readParagraph):
2218         * paragraph.C (write): \layout -> \begin_layout.
2219
2220 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2221
2222         * lyxlex_pimpl.C (setFile): clean up slightly.
2223
2224         * bufferparams.h: add compressed var
2225
2226         * buffer_funcs.C (readFile): adjust for LyXLex change
2227         (newFile): ditto + simplify
2228
2229         * buffer.C (writeFile): handle writing of compressed files
2230
2231         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2232         Check if the file is compressed and set a bufferparm if so.
2233
2234         * Makefile.am (lyx_LDADD): remove explicit -lz
2235
2236 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2237
2238         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2239         makeDocBookFile): put the real LyX version in the first line of
2240         the file
2241
2242         * version.h:
2243         * version.C.in: remove lyx_docversion
2244
2245         * tabular.C (write_attribute): add a template-based version to
2246         write enums properly
2247
2248 2003-07-28  André Pönitz  <poenitz@gmx.net>
2249
2250         * lyxtext.h:
2251         * text.C:
2252         * text2.C:
2253         * text3.C: use doubles again for x-coordinates. They are needed.
2254
2255 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2256
2257         * messages.C (getLocaleDir): use lyx_localedir()
2258
2259         * lyxlex_pimpl.C (setFile): compress stuff
2260
2261         * buffer.C (writeFile): add some compression stuff
2262         (do_writeFile): new func, dont call expliti close... will this
2263         breake anything?
2264
2265         * Makefile.am (lyx_LDADD): add -lz
2266
2267 2003-07-28  José Matos  <jamatos@fep.up.pt>
2268
2269         * buffer.C: increment file format.
2270         * paragraph_funcs (readParagraph, readParToken):
2271         * paragraph.C (readParagraph): add \end_layout.
2272
2273 2003-07-27  Angus Leeming  <leeming@lyx.org>
2274
2275         * Makefile.am: remove special casing for configure-time setting of
2276         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2277
2278         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2279         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2280
2281 2003-07-26  André Pönitz  <poenitz@gmx.net>
2282
2283         * paragraph_func.[Ch]:
2284         * paragraph.C (realizeFont): inline it whereever it is used
2285
2286         * rowpainter.C:
2287         * text.C:
2288         * text2.C:
2289         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2290
2291
2292 2003-07-26  André Pönitz  <poenitz@gmx.net>
2293
2294         *       lyxtext.h:
2295         * text.C:
2296         * text2.C: get rid of LyXText::need_break_row
2297
2298 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2299
2300         * toc.[Ch]: put namespace toc inside namespace lyx
2301
2302         * MenuBackend.C (expandToc2): adjust for lyx::toc
2303         (expandToc): ditto
2304
2305         * lyxfunc.C (dispatch): adjust for lyx::find
2306
2307         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2308         lyx::find instead. Reorganize a bit.
2309         (LyXReplace): rename to replace
2310         (LyXFind): rename to find
2311
2312         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2313         (dispatch): ditto
2314
2315 2003-07-26  André Pönitz  <poenitz@gmx.net>
2316
2317         * text.C (setHeightOfRow): restrict scope of temporary variable
2318
2319         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2320           code (never has been used?)
2321
2322 2003-07-27  Asger Alstrup  <alstrup@local>
2323
2324         * text.C (fill): Optimise algorithm to exploit that we can reuse
2325         the LyXFont for many characters.
2326         (setHeightOfRow): Same thing.
2327         (rowBreakPoint): Same thing.
2328
2329 2003-07-26  Asger Alstrup  <alstrup@local>
2330
2331         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2332
2333         * text.C (singleWidth): Spurious font copying in hot-spot
2334         singleWidth avoided. Reorder tests for arabic for efficiency.
2335
2336         * text.C (fill): handle empty paragraphs better.
2337
2338 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2339
2340         * ispell.C:
2341         * encoding.h: add includes
2342
2343         * lyxrc.C: remove reading of bind files
2344
2345         * lyx_main.C (init): setup bindings and menus only if we have a
2346         gui.
2347
2348         * kbmap.C (read): new method. Do the actual reading of bind
2349         files.
2350
2351         * converter.C (dvipdfm_options):
2352         * bufferparams.C:
2353         * lyxrc.C (read):
2354         (output): adapt PAPER_* enums.
2355
2356         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2357
2358         * bufferparams.h: remove paper-related enums from there
2359
2360         * paper.h: New file. A trivial header file to hold paper-related
2361         enums. It should later expand to contain many paper-related
2362         horrors access.
2363
2364         * lyxrc.C: declare extern displayTranslator
2365
2366 2003-07-27  José Matos  <jamatos@fep.up.pt>
2367
2368         * tabular.[Ch] (linuxdoc): add support for tables and figures
2369         (linuxdoc).
2370
2371 2003-07-27  José Matos  <jamatos@fep.up.pt>
2372
2373         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2374         consistency in both functions.
2375         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2376
2377 2003-07-26  Asger Alstrup  <alstrup@local>
2378
2379         * rowpainter.C (paintRows): Change algorithm to work directly on
2380         the insets rather than asking every character in the document
2381         whether its an inset.
2382
2383 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2384
2385         * buffer.C (openFileWrite): factorize some code
2386
2387 2003-07-26  Angus Leeming  <leeming@lyx.org>
2388
2389         * lyx_cb.C:
2390         * lyx_main.[Ch]: replace occurances of system_tempdir with
2391         os::getTmpDir().
2392
2393 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2394
2395         * rename Inset to InsetOld
2396
2397 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2398
2399         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2400         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2401         which I think is a bit clearer. EDIT is gone, since it was
2402         premature optimisation, and broken for mathed anyway.
2403         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2404         with cursor positioning in insets as well (math insets still do not
2405         work, but that's a different story anyway.) It mysteriously
2406         crashes sometimes with undo in the first paragraph, but I'm fairly
2407         confident that this is a compiler bug.
2408
2409 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2410
2411         * paragraph.C (Paragraph): adjust for new clone return type
2412         (operator==): ditto
2413         (copyIntoMinibuffer): ditto
2414
2415 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2416
2417         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2418         by not having a special case, and always doing a full rebreak of
2419         the document after undo.
2420
2421 2003-07-23  Angus Leeming  <leeming@lyx.org>
2422
2423         * factory.C (createInset): InsetExternal::setParams now takes a
2424         Buffer const * arg.
2425
2426 2003-07-23  Angus Leeming  <leeming@lyx.org>
2427
2428         * factory.C (createInset): changed interface to the external and
2429         graphics mailers' string2params functions.
2430
2431 2003-07-23  Angus Leeming  <leeming@lyx.org>
2432
2433         * factory.C (createInset): pass a
2434         Buffer const * parameter to InsetExternalMailer's string2params.
2435
2436 2003-07-22  John Levon  <levon@movementarian.org>
2437
2438         * Thesaurus.h: include the right aiksaurus header
2439
2440 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2441
2442         * MenuBackend.C (expand): check menu shortcuts unconditionally
2443
2444 2003-07-21  Angus Leeming  <leeming@lyx.org>
2445
2446         * factory.C (createInset): pass a
2447         buffer_path parameter to InsetGraphicsMailer's string2params.
2448
2449 2003-07-21  Angus Leeming  <leeming@lyx.org>
2450
2451         * BufferView_pimpl.C (buffer):
2452         * buffer.C (d-tor):
2453         * lyx_main.C (LyX):
2454         * lyxfunc.C (dispatch):
2455         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2456         rather than the grfx shortcut.
2457
2458 2003-07-21  André Pönitz  <poenitz@gmx.net>
2459
2460         * rowpainter.C: remove unused variables
2461
2462         * tabular_funcs.C:
2463         * tabular_funcs.h: move to tabular.C
2464         * Makefile.am: adjust
2465
2466         * tabular.[Ch]: basic optical cleaning
2467
2468         * author.h: pass references, not values
2469
2470 2003-07-18  André Pönitz  <poenitz@gmx.net>
2471
2472         * lyxtext.h:
2473         * metricsinfo.C:
2474         * metricsinfo.h:
2475         * rowpainter.C:
2476         * text.C:
2477         * text2.C:
2478         * text3.C: two-phase drawing for InsetText and InsetTabular
2479         some float -> int changes.
2480
2481 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2482
2483         * lyx_main.C: fix the fix
2484
2485 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2486
2487         * lyx_main.C: fix a crash in batch mode if no files specified
2488         * converter.C: ws
2489
2490 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2491
2492         * format.[Ch] (papersize): moved to BufferParams
2493         * converter.[Ch] (dvips_options): moved to BufferParams
2494         (dvipdfm_options): moved to anon namespace
2495         * bufferparams.[Ch]: added above functions.
2496
2497 2003-07-17  André Pönitz  <poenitz@gmx.net>
2498
2499         * lyxtext.h:
2500         * rowpainter.C:
2501         * text2.C: don't call inset->update() anymore
2502
2503         * metricsinfo.[Ch]: add convenience constructor
2504
2505 2003-07-16  André Pönitz  <poenitz@gmx.net>
2506
2507         * lyxcursor.[Ch]:
2508         * lyxfunc.[Ch]:
2509         * text.C:
2510         * text2.C: replace the LyXCursor::irow_ member with
2511          on-demand computation of the value
2512
2513 2003-07-16  John Levon  <levon@movementarian.org>
2514
2515         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2516
2517 2003-07-15  André Pönitz  <poenitz@gmx.net>
2518
2519         * text.C:
2520         * text2.C: remove no more needed refresh_row
2521
2522 2003-07-15  André Pönitz  <poenitz@gmx.net>
2523
2524         * lyxtext.h:
2525         * rowpainter.C:
2526         * text2.C:
2527         * text3.C: refresh_status tristate -> need_update bool
2528
2529 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2530
2531         * lyxtext.h (init): remove reinit argument (act as if always true)
2532         * text2.C: adjust to that
2533
2534 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2535
2536         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2537         * text3.C: use it to delete selections in some cases
2538         (bugs 441, 673, 702, 954).
2539
2540 2003-07-14  André Pönitz  <poenitz@gmx.net>
2541
2542         * rowpainter.[Ch]: reduce interface
2543
2544 2003-07-14  André Pönitz  <poenitz@gmx.net>
2545
2546         * BufferView_pimpl.C:
2547         * text2.C: adjust after removing unused BufferView * argument
2548
2549 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2550
2551         * text2.C (init): fix a crash fired on resize
2552
2553 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2554
2555         * buffer.[Ch]: added new closing signal
2556         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2557         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2558         BufferView::Pimpl via the closing the signal
2559
2560 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2561
2562         * buffer.[Ch]: take out all bv-related from buffer
2563         * BufferView.C:
2564         * BufferView_pimpl.[Ch]: connect to new signals
2565         * CutAndPaste.C: removed useless asserts
2566         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2567         * lyxvc.[Ch]:
2568         * vc-backend.[Ch]:
2569         * lyxfunc.C: moved view-related funciontality from vc here
2570         * paragraph.C: removed outdated comments
2571         * text.C: ws
2572
2573 2003-07-10  André Pönitz  <poenitz@gmx.net>
2574
2575         * BufferView_pimpl.C:
2576         * tabular.h:
2577         * tabular_funcs.C:
2578         * text.C:
2579         * text2.C: remove InsetText::InnerCache, clean up consequences
2580
2581 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2582
2583         * ispell.C: fix two typos in error messages
2584
2585 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2586
2587         * Extend Note inset to other forms of annotation like Comment
2588         and Greyedout. Right button click gives dialog.
2589
2590         Files modified or added (+):
2591
2592         * insetnote.[Ch]
2593         * FormNote.[Ch]      +
2594         * ControlNote.[Ch]   +
2595         * form_note.fd       +
2596         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2597         frontends/controllers
2598         * xforms/Dialogs.C
2599         * factory.C
2600
2601 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2602
2603         * aspell.C: add missing namespace lyx::support
2604
2605 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2606
2607         * BufferView.[Ch] (newFile): Add
2608         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2609         * LaTeX.[Ch] (message): added this signal and use it
2610         * buffer.[Ch] (busy, message): added these signals and use them
2611         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2612         * converter.C:
2613         * exporter.C:
2614         * format.C:
2615         * importer.C: use buffer signals instead of direct bv calling
2616         * lyx_cb.[Ch] (ShowMessage): removed
2617         * lyx_main.C:
2618         * lyxfunc.C:
2619         * paragraph_funcs.C:
2620         * text2.C: use buffer signals
2621
2622 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2623
2624         * introduce namespace lyx::graphics
2625
2626 2003-07-02  André Pönitz  <poenitz@gmx.net>
2627
2628         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2629
2630 2003-07-01  André Pönitz  <poenitz@gmx.net>
2631
2632         * text.C:
2633         * text2.C:
2634         * text3.C:
2635         * text_funcs.[Ch]:
2636         * textcursor.h:
2637         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2638           text*.C to text_func.C
2639
2640 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2641
2642         * introduce namespace lyx::support
2643
2644 2003-06-30  André Pönitz  <poenitz@gmx.net>
2645
2646         * Chktex.C:
2647         * funcrequest.C:
2648         * lyxtext.h:
2649         * text.C: re-enable --with-included-string
2650
2651 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2652
2653         * textcursor.C: add <config.h>
2654
2655         * text.C (getWord): remove const from word_location arg
2656
2657         * lyxvc.C (getLogFile): fix const type order
2658
2659         * lyxtext.h: remove const from word_location arg, add arg name
2660
2661         * lyxlayout.h: currect type on labeltype.
2662
2663         * importer.C: correct \file
2664
2665         * converter.C (intToFormat): use std:: on ret val, ws changes
2666
2667         * bufferlist.h: correct \file
2668
2669         * buffer.C (makeLinuxDocFile): fix const type order
2670         (makeDocBookFile): ditto
2671         (fillWithBibKeys): use std:: on stdlib args.
2672
2673         * CutAndPaste.C: fix authors.
2674         (availableSelections): use std:: on return vector
2675
2676 2003-06-27  André Pönitz  <poenitz@gmx.net>
2677
2678         * BufferView_pimpl.C:
2679         * bufferview_funcs.C:
2680         * lyxcursor.C:
2681         * lyxcursor.h:
2682         * lyxfunc.C:
2683         * lyxtext.h:
2684         * rowpainter.C:
2685         * text.C:
2686         * text2.C:
2687         * text3.C: remove LyXCursor::row_ member
2688
2689         * lyxtext.h:
2690         * text.C: rename fullRebreak() to partialRebreak() and implement
2691           a fullRebreak() that really bereks fully
2692
2693         * textcursor.h: new struct for cursor-related data
2694
2695 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2696
2697         * lyx_main.C (LyX): get full path of document loaded on the
2698         command line
2699
2700 2003-06-26  André Pönitz  <poenitz@gmx.net>
2701
2702         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2703           remove unused/broken operator>,<,>=.
2704
2705         *       text.C: remove only use of broken operator<= in an Assert().
2706
2707 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2708
2709         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2710         moved errorlist_.clear to showErrorList
2711
2712 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2713
2714         * converter.C (scanLog, runLaTeX):
2715         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2716         move the bv->showErrorList call to the callers
2717         * lyxfunc.C: i.e. here...
2718         * text2.C: and here
2719         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2720         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2721         namespace, the second to...
2722         * buffer_funcs (BufferFormat, parseErrors): added
2723         * errorlist.C (ErrorList(TeXErrors const &)): removed
2724
2725 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2726
2727         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2728
2729 2003-06-24  "Garst R. Reese" <reese@isn.net>
2730
2731         * debug.C: fix typo
2732
2733 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2734
2735         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2736
2737         * version.C.in: change docversion to 1.4
2738
2739 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2740
2741         * buffer.C: fix a bug just introduced
2742
2743 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2744
2745         * buffer.[Ch]: added the parseError signal and use it, removed
2746         sgmlError
2747         * BufferView.[Ch] (addError): moved to ...
2748         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2749         to the Buffer::parseError signal to catch (guess what) parse errors
2750         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2751
2752 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2753
2754         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2755         ability to create a buffer and to return an existing one from
2756         the list. Moved these functions to...
2757         * buffer_funcs.[Ch]: added
2758         * BufferView.[Ch] (loadLyXFile): added
2759         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2760         job removed from bufferlist::loadLyXFile.
2761         * buffer.C (setReadOnly): make it work without view
2762         (i.e added an if (users))
2763
2764 2003-06-19  Angus Leeming  <leeming@lyx.org>
2765
2766         * lfuns.h:
2767         * LyXAction.C (init):
2768         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2769         with LFUN_DIALOG_SHOW <name> <data>.
2770
2771 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2772
2773         * CutAndPaste.C (availableSelections): small compilation fix for
2774         ancient (gcc 2.9x) compilers
2775
2776 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2777
2778         * text3.C (cursorNext): add tmp var
2779
2780         * text2.C (updateCounters): for function calling out of for clause
2781         (replaceSelectionWithString): ditto
2782         (insertStringAsParagraphs): ditto
2783         (getColumnNearX): add tmp var
2784         (setCursorFromCoordinates): add tmp var
2785         (cursorDownParagraph): add tmp var
2786         (deleteEmptyParagraphMechanism): add tmp var
2787
2788         * text.C (insertChar): add tmp var
2789
2790         * rowpainter.C (paintDepthBar): add tmp var
2791
2792         * CutAndPaste.C (availableSelections): potentially check all
2793         paragraphs in a cut to fill the shown strings.
2794
2795 2003-06-18  André Pönitz  <poenitz@gmx.net>
2796
2797         * kbmap.[Ch]: use vector<> instead of list<>
2798
2799 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2800
2801         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2802         pasteSelection with index
2803
2804         * text2.C (pasteSelection): modify, call pasteSelection with index
2805
2806         * paragraph.C (asString): reimplement version with no interval to
2807         call the one with interval.
2808
2809         * lyxtext.h: add index arg to pasteSelection
2810
2811         * MenuBackend.C (MenuItem): handle PasteRecent
2812         (Menu::read::Menutags): add md_pasterecent
2813         (read): handle it
2814         (expandPasteRecent): new function
2815         (expand): use it
2816
2817         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2818
2819         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2820         the limited stack
2821         (availableSelections): new function
2822
2823 2003-06-17  Angus Leeming  <leeming@lyx.org>
2824
2825         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2826
2827 2003-06-17  Angus Leeming  <leeming@lyx.org>
2828
2829         * lfuns.h:
2830         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2831
2832         * lyxfunc.C (dispatch): invoke it.
2833
2834 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2835
2836         * iterators.C (operator++, ParPosition): reintroduce some
2837         const_cast for the benefit of older compilers.
2838
2839 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2840
2841         * text3.C (dispatch): do not modify clipboard when doing
2842         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2843         LFUN_DELETE_SKIP on a selection selection
2844
2845 2003-06-16  André Pönitz  <poenitz@gmx.net>
2846
2847         * BufferView.C:
2848         * buffer.C:
2849         * buffer.h:
2850         * paragraph.C:
2851         * tabular.[Ch]: IU of clone() and getLabelList();
2852
2853 2003-06-13  André Pönitz  <poenitz@gmx.net>
2854
2855         * tabular.h: compactification
2856
2857 2003-06-12  André Pönitz  <poenitz@gmx.net>
2858
2859         * tabular.C:
2860         * tabular.h:
2861         * tabular_funcs.h: some renaming plus whitespace
2862
2863 2003-06-12  André Pönitz  <poenitz@gmx.net>
2864
2865         * BufferView.C:
2866         * BufferView_pimpl.C:
2867         * CutAndPaste.C:
2868         * buffer.C:
2869         * iterators.[Ch]:
2870         * lyxfunc.C:
2871         * text.C:
2872         * toc.C: Return a Paragraph & for ParIterator::operator*()
2873
2874 2003-06-11  John Levon  <levon@movementarian.org>
2875
2876         * lyx_main.C:
2877         * ToolbarBackend.h:
2878         * ToolbarBackend.C: add "Toolbars" section and
2879         put the flags there
2880
2881 2003-06-10  Angus Leeming  <leeming@lyx.org>
2882
2883         * lfuns.h:
2884         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2885
2886         * lyxfunc.C (dispatch): invoke it.
2887
2888 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2889
2890         * main.C: protect <ios> with HAVE_IOS
2891         (main): protect sync_with_stdio with HAVE_IOS
2892
2893 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2894
2895         * text2.C (cutSelection): adjust
2896         (pasteSelection): adjust
2897
2898         * messages.C: handle get of empty string
2899
2900         * main.C (main): use sync_with_stdio(false)
2901
2902         * lyxfunc.C (dispatch): adjust
2903
2904         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2905         (WriteAs): remove unneeded BufferView arg.
2906
2907         * bufferparams.h: use correct types on papersize, papersize2 and
2908         paperpackage.
2909
2910         * bufferparams.C (readToken): adjust for type
2911         (writeLaTeX): add missing cases to switch.
2912
2913         * bufferlist.C (quitWriteBuffer): adjust
2914         (close): adjust
2915
2916         * buffer.C (asciiParagraph): remove some commented code.
2917
2918         * CutAndPaste.C: remove current_view extern variable.
2919         (cutSelection): add BufferParams arg.
2920         (eraseSelection): add BufferParams arg.
2921         (pasteSelection): add Buffer const & arg
2922
2923 2003-06-07  John Levon  <levon@movementarian.org>
2924
2925         * buffer.C:
2926         * paragraph_funcs.C:
2927         * paragraph_pimpl.C:
2928         * text.C:
2929         * text2.C:
2930         * paragraph.h:
2931         * paragraph.C: allow InsetERT to freely space lines,
2932         and some consolidation of code
2933
2934 2003-06-06  José Matos  <jamatos@fep.up.pt>
2935
2936         * buffer.C (makeDocBookFile): fix bug #821
2937
2938 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2939
2940         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2941
2942 2003-06-04  Angus Leeming  <leeming@lyx.org>
2943
2944         * buffer.C: bump format to 224.
2945
2946 2003-06-05  André Pönitz  <poenitz@gmx.net>
2947
2948         * text2.C (redoParagraphs): remove two const_cast<>
2949
2950 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2951
2952         * ParagraphList.h: remove last remnants of NO_STD_LIST
2953
2954 2003-06-03  Angus Leeming  <leeming@lyx.org>
2955
2956         * factory.C (createInset): small change to the way InsetExternal's params
2957         are set.
2958
2959 2003-06-04  André Pönitz  <poenitz@gmx.net>
2960
2961         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2962
2963         * paragraph_pimpl.h:
2964         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2965
2966         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2967
2968         * undo_funcs.C: make some simple cases of undo work again
2969
2970 2003-06-03  John Levon  <levon@movementarian.org>
2971
2972         * ispell.C: HPUX doesn't have sys/select.h
2973         (from Albert Chin)
2974
2975 2003-06-03  John Levon  <levon@movementarian.org>
2976
2977         * CutAndPaste.C: update tabular and include inset
2978         buffer references
2979
2980         * buffer.h:
2981         * paragraph.h:
2982         * paragraph.C: remove owningBuffer(), don't pass Buffer
2983         to clone()
2984
2985         * factory.C: insetGraphicsParams changed
2986
2987 2003-06-02  John Levon  <levon@movementarian.org>
2988
2989         * LyXAction.C:
2990         * factory.C:
2991         * lfuns.h:
2992         * lyxfunc.C:
2993         * text3.C: remove insetparent
2994
2995 2003-06-02  John Levon  <levon@movementarian.org>
2996
2997         * buffer.h:
2998         * buffer.C: fix inset_iterator.end(), move out of line
2999         (bug 1149)
3000
3001 2003-06-01  John Levon  <levon@movementarian.org>
3002
3003         * text3.C: use a proper cut/paste when doing inset
3004         insert (from Jürgen Spitzmüller)
3005
3006 2003-06-01  John Levon  <levon@movementarian.org>
3007
3008         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3009
3010 2003-05-30  André Pönitz  <poenitz@gmx.net>
3011
3012         * rowpainter.C: unify second drawing phase
3013
3014 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3015
3016         * trans_mgr.C: remove one case of current_view
3017
3018         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3019
3020         * paragraph_funcs.h: remove paragraph.h include
3021
3022         * paragraph.h: delete NO_STD_LIST stuff
3023
3024         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3025
3026         * buffer.h: remove paragraph.h include
3027
3028         * ParagraphList.C: delete file
3029
3030         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3031
3032         * toc.C (getTocList): adjust
3033
3034         * paragraph_pimpl.C (validate): adjust
3035
3036         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3037
3038         * paragraph.C (Paragraph): adjust
3039         (getPositionOfInset): use const_iterator, adjust
3040         (bibitem): use const_iterator, adjust
3041         (setInsetOwner): adjust
3042
3043         * iterators.C (operator++): adjust
3044
3045         * InsetList.[Ch]: Replace selfmade iterator with standard
3046         vector::iterator also introduce const_iterator. Remove getPos,
3047         getInset and setInset from InsetTable. Adjust accordingly.
3048
3049         * BufferView.C (lockInset): adjust
3050         (ChangeInsets): adjust
3051
3052         * tabular.[Ch]: delete commented same_id functions
3053
3054 2003-05-28  John Levon  <levon@movementarian.org>
3055
3056         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3057
3058 2003-05-28  André Pönitz  <poenitz@gmx.net>
3059
3060         * metricsinfo.[Ch]: remove 'fullredraw' member
3061
3062 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3063
3064         * lyxtextclass.C (operator): remove caching.
3065
3066 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3067
3068         * text3.C: adjust
3069
3070         * text2.C (cursorBottom): adjust
3071         (setCounter): use ParagraphList::find, adjust
3072
3073         * text.C (workWidth): use ParagraphList::find, adjust
3074
3075         * lyxcursor.C (LyXCursor): adjust
3076
3077         * buffer.C (inset_iterator): adjust
3078
3079         * ParagraphList.h: make iterator(value_type) private, make
3080         ParagraphList a friend of iterator.
3081
3082         * ParagraphList.C (find): new function
3083
3084         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3085
3086 2003-05-27  André Pönitz  <poenitz@gmx.net>
3087
3088         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3089
3090 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3091
3092         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3093
3094 2003-05-26  John Levon  <levon@movementarian.org>
3095
3096         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3097
3098 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3099
3100         * remove same_id from function signatures, adjust.
3101
3102 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3103
3104         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3105
3106         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3107
3108         * paragraph.C (Paragraph): get rid of same_ids parameter
3109
3110         * ParagraphList.C (insert): adjust
3111         (push_back): adjust
3112
3113 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3114
3115         * paragraph_funcs.C (breakParagraph): adjust
3116         (breakParagraphConservative): adjust
3117
3118         * buffer.C (readParagraph): adjust
3119
3120         * ParagraphList.C (insert): take a reference instead of a pointer
3121         (insert): adjust
3122
3123         * paragraph.[Ch] (id): new function
3124
3125         * bufferlist.C (newFile): adjust
3126
3127         * ParagraphList.C (ParagraphList): adjust
3128         (assign): adjust
3129         (push_back): take a reference instead of a pointer.
3130
3131         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3132
3133         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3134         instead.
3135
3136         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3137         set else use old code.
3138
3139         * ParagraphList.C: remove all NO_NEXT code and only compile this
3140         code of NO_STD_LIST is set.
3141
3142 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3143
3144         * BufferView_pimpl.C:
3145         * TextCache.C:
3146         * TextCache.h:
3147         * bufferlist.C:
3148         * errorlist.h:
3149         * format.C:
3150         * format.h:
3151         * graph.C:
3152         * lyxfunc.C:
3153         * lyxrc.C:
3154         * graphics/GraphicsConverter.C:
3155         * graphics/PreviewLoader.C: header adjustment
3156
3157 2003-05-23  Angus Leeming  <leeming@lyx.org>
3158
3159         * LaTeXFeatures.[Ch] (useBabel): new method.
3160         * bufferparams.C (writeLaTeX): use it.
3161
3162 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3163
3164         * ParagraphList.h (set): remove unused function.
3165
3166 2003-05-23  André Pönitz  <poenitz@gmx.net>
3167
3168         * BufferView.C:
3169         * BufferView_pimpl.C:
3170         * buffer.C:
3171         * buffer.h:
3172         * lyxfunc.C:
3173         * undo_funcs.C: setUndo reworked
3174
3175         * iterators.[Ch]: add access to topmost ParagraphList
3176
3177         * lyxtext.[Ch] (workWidth): add a const
3178
3179 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3180
3181         * texrow.[Ch] (increasePos): remove function
3182         * exporter.C (export): removed unused var and outdated comment
3183
3184 2003-05-23  Angus Leeming  <leeming@lyx.org>
3185
3186         * latexrunparams.h: rename fragile as moving_arg.
3187         * paragraph.C (simpleTeXOnePar): ditto.
3188         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3189
3190 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3191
3192         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3193         (createUndo): ditto
3194         (textUndoOrRedo): comment out a currently unused var.
3195
3196         * paragraph.h (NO_NEXT): enable NO_NEXT
3197
3198         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3199
3200         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3201
3202         * exporter.C (Export): adjust for removeAutoInsets removal.
3203
3204         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3205
3206         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3207
3208         * BufferView.[Ch] (removeAutoInsets): delete function
3209
3210 2003-05-22  Angus Leeming  <leeming@lyx.org>
3211
3212         * latexrunparams.h: add a free_spacing variable.
3213
3214         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3215         to pass moving_arg, as the data is stored in runparams.fragile.
3216
3217         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3218         to Inset::latexOptional or to simpleTeXOnePar.
3219
3220         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3221         free_spacing arg to Inset::latexOptional.
3222
3223         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3224         free_spacing arg.
3225
3226 2003-05-22  Angus Leeming  <leeming@lyx.org>
3227
3228         * latexrunparams.h: add fragile and use_babel variables.
3229
3230         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3231         * buffer.C (makeLaTeXFile): store this returned value in
3232         runparams.use_babel, thus passing it to the inset::latex methods.
3233
3234         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3235         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3236
3237         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3238         longer has a fragile arg, as it is stored in runparams.fragile.
3239
3240         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3241         moving_arg parameter as the data is stored in runparams.fragile.
3242
3243         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3244         a fragile parameter as the data is stored in runparams.fragile.
3245
3246 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3247
3248         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3249
3250 2003-05-22  Angus Leeming  <leeming@lyx.org>
3251
3252         * latexrunparams.h: add a 'bool nice' which defaults to false.
3253
3254         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3255         now encapsulated within runparams.
3256
3257         * bufferlist.C (updateIncludedTeXfiles):
3258         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3259
3260 2003-05-22  Angus Leeming  <leeming@lyx.org>
3261
3262         * latexrunparams.h: new file containing struct LatexRunParams.
3263         * Makefile.am: add new file.
3264
3265         * LaTeX.[Ch] (c-tor, run):
3266         * buffer.[Ch] (makeLaTeXFile):
3267         * bufferlist.[Ch] (updateIncludedTeXfiles):
3268         * converter.C (convert, scanLog):
3269         * converter.[Ch] (runLaTeX):
3270         * exporter.C (Export):
3271         * paragraph.[Ch] (simpleTeXOnePar):
3272         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3273         * paragraph_funcs.[Ch] (latexParagraphs):
3274         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3275         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3276         pass around a LatexRunParams parameter.
3277
3278 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3279
3280         * paragraph.[Ch]: remove unused constructor
3281
3282         * ParagraphList.C (erase): new function, taking two iterators
3283
3284 2003-05-22  André Pönitz  <poenitz@gmx.net>
3285
3286         * undo_funcs.C: remove duplicated code
3287
3288         * iterator.[Ch]: operator=
3289
3290 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3291
3292         * tabular.C (SetMultiColumn): ws changes
3293
3294         * rowpainter.C (paintFirst): get rid of a ->previous
3295
3296         * lyx_cb.C (getPossibleLabel): parlist simplification
3297
3298         * BufferView.C (ChangeInsets): simplify slightly.
3299
3300 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3301
3302         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3303         * lfuns.h: new LFUN_SPACE
3304         * lyxfunc.C: protected space has a new lfun
3305         * paragraph_funcs.C: read new space insets
3306         * text3.C:
3307         * factory.C: handle new space insets
3308
3309 2003-05-22  André Pönitz  <poenitz@gmx.net>
3310
3311         * BufferView.C:
3312         * BufferView_pimpl.C:
3313         * buffer.[Ch]:
3314         * lyxfunc.C:
3315         * undo_funcs.C: return a ParIterator from getParFromID.
3316
3317         * iterators.[Ch]: add two const's
3318
3319 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3320
3321         * toc.C (getTocList): adjust
3322
3323         * iterators.[Ch]: rework for parlist
3324
3325         * buffer.C (par_iterator_begin): adjust
3326         (par_iterator_end): adjust
3327
3328         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3329
3330         * BufferView.C (removeAutoInsets): adjust
3331         (ChangeInsets): adjust
3332
3333 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3334
3335         * text.C (top_y): fix bug 1110
3336
3337 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3338
3339         * errorlist.[Ch]: added
3340         * buffer.C:
3341         * BufferView.[Ch]:
3342         * BufferView_pimpl.C:
3343         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3344         instead
3345
3346 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3347
3348         * Makefile.am: ensure that lyx is relinked upon changes to the
3349         various "convenience" libs.
3350
3351 2003-05-20  Angus Leeming  <leeming@lyx.org>
3352
3353         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3354         files are compiled in alphabetical order again.
3355
3356         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3357
3358 2003-05-19  Angus Leeming  <leeming@lyx.org>
3359
3360         * gettext.[Ch]: remove "char const * _(char const *)".
3361
3362 2003-05-19  André Pönitz  <poenitz@gmx.net>
3363
3364         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3365
3366         * Makefile.am:
3367         * BufferView.C:
3368         * DepTable.h:
3369         * LaTeXFeatures.C:
3370         * buffer.C:
3371         * lyxfont.C:
3372         * lyxlex.h:
3373         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3374
3375 2003-05-19  André Pönitz  <poenitz@gmx.net>
3376
3377         * buffer.C:
3378         * lyxlayout.[Ch]:
3379         * lyxtextclass.[Ch]:
3380         * paragraph.C:
3381         * paragraph_funcs.[Ch]:
3382         * text2.C:
3383         * text3.C: more insetenv work
3384
3385 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3386
3387         * ParagraphParameters.C (params2string): small bug fixed
3388
3389 2003-05-16  André Pönitz  <poenitz@gmx.net>
3390
3391         * debug.C:
3392         * bufferview_funcs.C: patch from Kornel Benko to prevent
3393           crash when _(...) is called twice in a statement
3394
3395 2003-05-16  André Pönitz  <poenitz@gmx.net>
3396
3397         * BufferView.C:
3398         * lyxfunc.C:
3399         * text.C:
3400         * text2.C:
3401         * text3.C:
3402         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3403
3404 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3405
3406         * lyx_main.C (init): remove spurious static_cast
3407
3408 2003-05-14  André Pönitz  <poenitz@gmx.net>
3409
3410         * BufferView.C: fix format string
3411
3412 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3413
3414         * BufferView.[Ch] (insertErrors): removed
3415         * BufferView.[Ch] (showErrorList): added
3416         * buffer.C (runChkTeX):
3417         * converter.C (scanLog): call showErrorList instead of inserterrors
3418
3419 2003-05-13  André Pönitz  <poenitz@gmx.net>
3420
3421         * BufferView_pimpl.C:
3422         * buffer.C:
3423         * bufferview_func.C:
3424         * MenuBackend.C:
3425         * lyxfunc.C:
3426         * lyxrc.C:
3427         * tex-accent.C:
3428         * text3.C:
3429         * toc.C:
3430         * tabular_funcs.h: tostr() from its own header
3431
3432         * ParagraphParameters.C:
3433         * ToolbarBackend.C:
3434         * bufferparams.C:
3435         * format.C:
3436         * lyxlex_pimpl.C:
3437         * text3.C: STRCONV()
3438
3439 2003-05-12  André Pönitz  <poenitz@gmx.net>
3440
3441         * BufferView.C:
3442         * BufferView_pimpl.C:
3443         * CutAndPaste.C:
3444         * LaTeX.C:
3445         * LaTeXFeatures.C:
3446         * ParagraphParameters.C:
3447         * buffer.C:
3448         * bufferlist.C:
3449         * bufferparams.C:
3450         * bufferview_funcs.C:
3451         * converter.C:
3452         * counters.C:
3453         * debug.C:
3454         * exporter.C:
3455         * format.C:
3456         * importer.C:
3457         * lyx_cb.C:
3458         * lyx_main.C:
3459         * lyxfont.C:
3460         * lyxfunc.C:
3461         * lyxvc.C:
3462         * paragraph.C:
3463         * paragraph_funcs.C:
3464         * tabular.C:
3465         * tabular_funcs.C:
3466         * text2.C:
3467         * text3.C:  boost::format -> bformat  all over the place
3468
3469
3470 2003-05-09  André Pönitz  <poenitz@gmx.net>
3471
3472         * LColor.[Ch]: Pimpl the #include <map> away
3473
3474 2003-05-09  John Levon  <levon@movementarian.org>
3475
3476         * bufferlist.C: never remove emergency saves
3477
3478 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3479
3480         * Makefile.am: better lib building
3481
3482 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3483
3484         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3485         instead.
3486         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3487         (simpleTeXSpecialChars): adjust
3488         (simpleTeXSpecialChars): adjust
3489         * paragraph.C (simpleTeXOnePar): adjust
3490         * buffer.C (makeLaTeXFile): adjust
3491
3492         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3493
3494         * text2.C (changeDepth): parlist cleanup
3495         (getColumnNearX): ditto
3496
3497         * rowpainter.C (getLabelFont): parlist cleanup
3498
3499         * bufferlist.C (newFile): parlist cleanup
3500
3501         * CutAndPaste.C (eraseSelection): parlist cleanup
3502
3503         * BufferView_pimpl.C (trackChanges): parlist cleanup
3504         (dispatch): ditto
3505
3506         * BufferView.C (lockInset): parlist cleanup.
3507         (ChangeInsets): ditto
3508
3509 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3510
3511         * CutAndPaste.h: Update file header.
3512
3513         * CutAndPaste.C: Update file header.
3514         Store the parts cut out of the Document in a limited_stack.
3515         (copySelection): adjust
3516         (pasteSelection): new function, takes the index in the limited stack.
3517         (nrOfParagraphs): adjust
3518         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3519         simplify error inset insertion.
3520         (checkPastePossible): adjust
3521
3522 2003-05-06  John Levon  <levon@movementarian.org>
3523
3524         * text2.C: don't cast wrap inset to float
3525
3526 2003-05-05  André Pönitz  <poenitz@gmx.net>
3527
3528         * iterator.C:
3529         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3530
3531         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3532           few naked Paragraph *.
3533
3534 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3535
3536         * bufferparams.C: Output warning if a document with missing
3537         TeX document class is loaded
3538         * exporter.C: Disable TeX exports if the document class is missing
3539         * lyxtextclass.C:
3540         * lyxtextclass.h:
3541         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3542         isTeXClassAvailable()
3543
3544 2003-05-03  John Levon  <levon@movementarian.org>
3545
3546         * BufferView.h:
3547         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3548         explicit cursor show/hide
3549
3550         * BufferView_pimpl.h:
3551         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3552         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3553
3554         * lyxfunc.C: hide cursor before dispatching.
3555
3556         * lyx_cb.C:
3557         * lyxfind.C:
3558         * text.C:
3559         * text3.C: remove explicit cursor hides
3560
3561 2003-05-02  André Pönitz  <poenitz@gmx.net>
3562
3563         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3564
3565         * undo_funcs.C:
3566         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3567           linked lists
3568
3569         * text2.C: tiny whitespace
3570
3571 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3572
3573         * undo_funcs.C: almost only ws changes.
3574
3575         * ParagraphList.C (splice): just return if pl is empty.
3576
3577 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3578
3579         * ParagraphList.C (splice): new function.
3580
3581         * CutAndPaste.C (pasteSelection): use it
3582
3583 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3584
3585         * CutAndPaste.C (pasteSelection): remove the last next and
3586         previous from this file.
3587
3588 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3589
3590         * CutAndPaste.C (pasteSelection): more clean up, user proper
3591         ParagraphList functions for pasteing.
3592
3593         * ParagraphList.C (insert): new function, three arg insert
3594
3595 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3596
3597         * ParagraphList.C (insert): new function, three arg insert
3598
3599         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3600         not on paragraphs.
3601
3602 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3603
3604         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3605
3606 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3607
3608         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3609
3610 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3611
3612         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3613         (copySelection): clean up a bit.
3614         (pasteSelection): use make_pair
3615
3616         * ParagraphList.C (ParagraphList): implement copy constructor
3617         (operator=): implement, base on copy constructor.
3618         (assign): new func
3619
3620         * paragraph.C (erase): return a bool
3621
3622         * paragraph_pimpl.C (erasePos): remove function, move contents...
3623         (erase): ... here. Return a bool.
3624         (erase): call erase instead of erasePos.
3625
3626 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3627
3628         * ParagraphList.h: define PitPosPair
3629         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3630         ParagraphList, fix a bug on pasting multiple pars
3631         * text2.C: change interface to C&P
3632
3633 2003-04-30  André Pönitz  <poenitz@gmx.net>
3634
3635         * undo_func.C: revert part of yesterday's patch 2
3636
3637 2003-04-30  John Levon  <levon@movementarian.org>
3638
3639         * LColor.C: s/tabular/table/
3640
3641 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3642
3643         * text3.C (dispatch): do not convert iterator -> pointer
3644         * undo_funcs.C (setCursorParUndo): ditto
3645         * text_funcs.C (transposeChars): ditto
3646
3647         * text2.C (setLayout): ws changes only
3648
3649         * text.C (breakParagraph): do not convert iterator -> pointer
3650         (insertChar): ditto
3651         (acceptChange): ditto
3652         (rejectChange): ditto
3653         (changeCase): ditto
3654         (Delete): ditto
3655         (backspace): ditto
3656
3657         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3658         pointer
3659
3660 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3661
3662         * text3.C (gotoInset): YABG (yet another bad getChar)
3663
3664 2003-04-29  André Pönitz  <poenitz@gmx.net>
3665
3666         * paragraph.h: make operator= private unimplemented as long as
3667           it is unusable
3668
3669         * ParagraphList.C: whitespace
3670
3671         * paragraph.[Ch]:
3672         * paragraph_pimpl.[Ch]:
3673         * paragraph_funcs.C:
3674         * CutAndPaste.C:
3675         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3676
3677         * text2.C:
3678           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3679
3680 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3681
3682         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3683         * paragraph.[Ch] (erase):
3684         * paragraph_pimpl.[Ch] (erase): change return type and value
3685         * text2.C (cutSelection): some rework
3686
3687 2003-04-28  John Levon  <levon@movementarian.org>
3688
3689         * bufferlist.C: changes for unsaved changes dialog
3690
3691 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3692
3693         * bufferlist.C (newFile): set language (messages_) for new
3694         documents also.
3695
3696         * buffer.C (readFile): ws changes only.
3697
3698 2003-04-28  André Pönitz  <poenitz@gmx.net>
3699
3700         * undo_funcs.C:
3701         * lyxfunc.C:
3702         * buffer.[Ch]:
3703         * BufferView_pimpl.C:
3704         * BufferView.C: getParFromID related ParagraphList::iterator changes
3705
3706 2003-04-28  André Pönitz  <poenitz@gmx.net>
3707
3708         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3709           Changes
3710
3711 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3712
3713         * messages.C: remove one more localedir class variable.
3714
3715 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3716
3717         * messages.C (getLocaleDir): singleton generation function
3718         (Pimpl): use it.
3719         (Messages): add a default constructor.
3720
3721         * main.C (main): do not setup localedir here, do not call
3722         gettext_init.
3723
3724         * gettext.C (_): use it.
3725         (gettext_init): delete funciton
3726
3727 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3728
3729         * gettext.C (getLyXMessages): new singleton generating function.
3730
3731         * buffer.C (updateDocLang): adjust
3732
3733         * Makefile.am (messages.o): add target
3734         (main.o): remove target
3735
3736 2003-04-27  John Levon  <levon@movementarian.org>
3737
3738         * bufferlist.C:
3739         * lyx_cb.C:
3740         * lyxfunc.C:
3741         * lyxvc.C: specify cancel button in Alert::prompt
3742
3743 2003-04-26  John Levon  <levon@movementarian.org>
3744
3745         * text3.C:
3746         * lyxfunc.C:
3747         * lfuns.h:
3748         * LyXAction.C: add LFUN_INSET_SETTINGS
3749
3750         * lyxfunc.C: don't enable tabular-feature when there's
3751         just any locking inset
3752
3753 2003-04-26  John Levon  <levon@movementarian.org>
3754
3755         * bufferlist.C: re-add Cancel to buffer close question
3756
3757         * lyxfunc.C: fix import UI a bit
3758
3759 2003-04-25  John Levon  <levon@movementarian.org>
3760
3761         * gettext.C: remove the broken asserts for now
3762
3763 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3764
3765         * messages.C: make case where setlocale cannot comply work better.
3766
3767         * buffer.C (updateDocLang): new function
3768         (changeLanguage): use it
3769         (readFile): use it
3770
3771         * text2.C (setCounter): use B_ a bit.
3772
3773         * lyxlayout.C (Read): be sure to trim the label strings.
3774
3775         * messages.C (Messages): fix typo in comment
3776
3777         * buffer.C (readFile): set message_ after file is loaded.
3778         (makeDocBookFile): remove double return
3779         (changeLanguage): reset message_ upon language change.
3780         (B_): new func, use this to get translated buffer strings.
3781
3782         * main.C: add myself and Jean Marc as authors.
3783
3784 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3785
3786         * messages.[hC]: pimplify Messages, and three different pimpls to be
3787         used in different circumstances.
3788
3789         * gettext.[Ch]: change for use with new message code.
3790
3791 2003-04-24 André Pönitz <poenitz@gmx.net>
3792
3793         * factory.C: support for eqref
3794
3795 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3796
3797         * messages.[Ch]: add missing char
3798
3799         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3800
3801         * messages.[Ch]: New files
3802
3803 2003-04-18  John Levon  <levon@movementarian.org>
3804
3805         * BufferView.h:
3806         * BufferView.C:
3807         * BufferView_pimpl.C:
3808         * lfuns.h:
3809         * LyXAction.C:
3810         * lyxtext.h:
3811         * text2.C: remove layout-copy/paste (bug 778)
3812
3813 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3814
3815         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3816
3817 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3818
3819         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3820         if they succeed. Act accordingly.
3821
3822 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3823
3824         * text2.C (setCharFont): adjust
3825         (setCounter): adjust
3826         (insertStringAsLines): adjust
3827
3828         * text.C (leftMargin): adjust
3829         (setHeightOfRow): adjust
3830
3831         * rowpainter.C (paintFirst): adjust
3832         (paintLast): adjust
3833
3834         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3835         (outerHook): ditto
3836         (isFirstInSequence): ditto
3837         (getEndLabel): ditto
3838         (outerFont): adjust
3839
3840         * paragraph.C (getParLanguage): comment out some hard stuff.
3841
3842         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3843         (sgmlError): ditto
3844         (simpleDocBookOnePar): ditto
3845         (makeDocBookFile): use ParagraphList::iterator
3846
3847         * CutAndPaste.C (pasteSelection): adjust
3848
3849 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3850
3851         * text2.C (getFont): adjust
3852         (getLayoutFont): adjust
3853         (getLabelFont): adjust
3854
3855         * paragraph_funcs.C (TeXOnePar): adjust
3856
3857         * buffer.C (simpleLinuxDocOnePar): adjust
3858         (simpleDocBookOnePar): adjust
3859
3860         * CutAndPaste.C (pasteSelection): adjust
3861
3862         * BufferView.C (getEncoding): adjust
3863
3864         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3865
3866 2003-04-16  John Levon  <levon@movementarian.org>
3867
3868         * lyxfind.C: use parlist stuff for search/changes
3869
3870 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3871
3872         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3873
3874         * text2.C (deleteEmptyParagraphMechanism): adjust
3875
3876         * text2.[Ch] (ownerParagraph): delete func (both of them
3877
3878 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3879
3880         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3881
3882 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3883
3884         * ParagraphList.C: prepare for NO_NEXT
3885
3886 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3887
3888         * text2.C (getFont): adjust
3889         (getLayoutFont): adjust
3890         (getLabelFont): adjust
3891
3892         * paragraph.C (getFont): adjust
3893         (getLabelFont): adjust
3894         (getLayoutFont): adjust
3895
3896         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3897
3898 2003-04-15  John Levon  <levon@movementarian.org>
3899
3900         From Angus Leeming
3901
3902         * lyx_main.C: handle Include in .ui files
3903
3904 2003-04-15  John Levon  <levon@movementarian.org>
3905
3906         * MenuBackend.C: make the doc files length shorter
3907
3908         * ToolbarBackend.h:
3909         * ToolbarBackend.C: handle toolbar placement flags,
3910         Minibuffer
3911
3912 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3913
3914         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3915         adjust
3916
3917         * paragraph_funcs.C (TeXOnePar): adjust
3918
3919         * paragraph.C (getLabelFont): add outerfont arg, adjust
3920         (getLayoutFont): ditto
3921         (simpleTeXOnePar): adjust
3922
3923         * paragraph_pimpl.C (realizeFont): delete func
3924
3925 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3926
3927         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3928         row argument, constify cur argument.
3929
3930 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3931
3932         * text2.C (getFont): adjust
3933         (getLayoutFont): adjust
3934         (getLabelFont): adjust
3935
3936         * paragraph_funcs.C (TeXOnePar): adjust
3937         (outerFont): new func...
3938         (realizeFont): ...moved out from here, changed this to facilitate
3939         transition
3940
3941         * paragraph.C (getFont): take outerfont as arg, adjust
3942         (simpleTeXOnePar): add outerfont arg, adjust
3943
3944         * buffer.C (simpleLinuxDocOnePar): adjust
3945         (simpleDocBookOnePar): adjust
3946
3947         * CutAndPaste.C (pasteSelection): adjust
3948
3949         * BufferView.C (getEncoding): adjust
3950
3951 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3952
3953         * text2.C (setCharFont): adjust
3954         (setCounter): adjust
3955
3956         * text.C (leftMargin): adjust
3957         (setHeightOfRow): adjust
3958
3959         * rowpainter.C (paintFirst): adjust
3960         (paintLast): adjust
3961
3962         * paragraph_pimpl.C (realizeFont): adjust
3963
3964         * paragraph.C (isFirstInSequence): move from here...
3965         * paragraph_funcs.C (isFirstInSequence): ...to here
3966
3967         * paragraph.C (outerHook): move from here...
3968         * paragraph_funcs.C (outerHook): ...to here
3969
3970         * paragraph.C (depthHook): move from here...
3971         * paragraph_funcs.C (depthHook): ...to here
3972
3973         * paragraph.C (getEndLabel): move from here...
3974         * paragraph_funcs.C (getEndLabel): ...to here
3975
3976         * text2.C (realizeFont): move from here...
3977         * paragraph_funcs.C (realizeFont): ...to here
3978
3979 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3980
3981         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3982
3983 2003-04-14  Angus Leeming  <leeming@lyx.org>
3984
3985         * LColor.[Ch]: scrap LColor mathcursor.
3986
3987 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3988
3989         * lyxlex.[Ch] (text): delete function
3990         * trans.C (Load): adjust
3991         * paragraph_funcs.C (readParToken): adjust
3992
3993 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3994
3995         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3996         vector<char> instead of a char[].
3997
3998         * lyxlex_pimpl.C (getString): adjust
3999         (next): adjust
4000         (lex): use getString
4001         (eatLine): adjust
4002         (nextToken): adjust
4003
4004         * lyxlex.C (text): use pimpl_->getString()
4005         (getBool): ditto
4006         (findToken): ditto
4007
4008 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4009
4010         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4011         (makeFontEntriesLayoutSpecific): temp var for par.size()
4012         (setLayout): temp var for ownerParagraphs().end()
4013         (fullRebreak): temp var for rows().end()
4014         (selectionAsString): temp var for boost::next(startpit), realize
4015         that the while really is a regular for loop.
4016         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4017         setCursor in one place.
4018         (setParagraph): temp vr for ownerParagraphs().end()
4019         (updateCounters): make the while loop a for loop
4020         (cutSelection): temp var for ownerParagraphs().end()
4021         (updateInset): make the do {} while() a regular for loop
4022         (getCursorX): use temp vars
4023         (setCurrentFont): use temp vars
4024         (getColumnNearX): use temp vars
4025
4026 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4027
4028         * text.C (transformChar): use temp var for getChar
4029         (computeBidiTables): use temp var for row->par()
4030         (fill): move temp vars for row->par() and pit->layout() earlier in
4031         the function.
4032         (labelFill): use temp var for row->par()
4033         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4034         asc and desc, realize that pit never changes and that firstpit is
4035         just a duplicate and not needed. Exchange rit->par() with pit in a
4036         lot of places.
4037         (breakAgain): use a temp var for boost::next(rit)
4038         (breakAgainOneRow): ditto
4039         (breakParagraph): use a temp var for rows().begin()
4040         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4041         (cursorRightOneWord): use temp var for cursor.par() and
4042         cursor.pos(), remove usage of tmpcursor.
4043         (cursorLeftOneWord): use temp var for cursor.par() and
4044         cursor.pos() only set cur at end of function.
4045
4046 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4047
4048         * text.C, text2.C: exchange all usage of Paragraph::next with
4049         boost::next(ParagraphList::iterator)
4050
4051         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4052
4053         * text2.C (cursorTop): simplify implementation
4054         (cursorBottom): ditto
4055         (setParagraph): use ParagraphList::iterator
4056         (setCurrentFont): adjust
4057         (getColumnNearX): adjust
4058         (cursorRight): adjust
4059         (cursorLeft): remove usage of Paragraph::previous
4060         (cursorUpParagraph): ditto
4061         (deleteEmptyParagraphMechanism): slight cleanup
4062
4063         * text.C (isBoundary): take a Paragraph const & instead of a
4064         pointer as arg.
4065         (addressBreakPoint): ditto
4066         (leftMargin): remove usage of Paragraph::previous.
4067         (setHeightOfRow): ditto
4068         (cursorLeftOneWord): ditto
4069         (selectNextWordToSpellcheck): ditto
4070         (Delete): ditto
4071         (backspace): ditto
4072         (breakParagraph): remove one usage of Paragraph::next
4073         (redoParagraph): ditto
4074         (acceptChange): ditto
4075         (insertChar): adjust
4076         (rowBreakPoint): adjust
4077
4078         * bufferview_funcs.C (toggleAndShow): adjust
4079
4080 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4081
4082         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4083         methods to access it.
4084         * lyxtext.h:
4085         * text.C: Added updateRowPositions to compute all row positions.
4086         Make top_y and getRowNearY() to use the cached y position
4087
4088 2003-04-11  John Levon  <levon@movementarian.org>
4089
4090         * text.C (rowBreakPoint): reintroduce the labelEnd
4091         checks, code copied from the row fill stuff. Deep voodoo.
4092
4093         * text.C (fill): add a comment and debugging for the
4094         next poor soul.
4095
4096 2003-04-11  John Levon  <levon@movementarian.org>
4097
4098         * text.C: make sure fullrow insets get wrapped to the next line,
4099         even when they're in a manual label
4100
4101 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4102
4103         * text2.C (insertParagraph): make it take ParagraphList::iterator
4104         as arg.
4105         (setLayout): make it return ParagraphList::iterator
4106         (redoParagraphs): ditto
4107         (setCounter): ditto
4108         (checkParagraph): ditto
4109
4110         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4111
4112         * text2.C: adjust several funcs.
4113         (realizeFont): take a ParagraphList::iterator as arg.
4114         (getLayoutFont): ditto
4115         (getLabelFont): ditto
4116         (setCharFont): ditto
4117
4118         * text.C: adjust several funcs.
4119
4120 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4121
4122         * text.C (selectNextWordToSpellcheck): don't accidentally
4123         skip insets
4124
4125 2003-04-10  John Levon  <levon@movementarian.org>
4126
4127         * ToolbarBackend.C (getIcon): special handling for
4128         LFUN_MATH_DELIM
4129
4130 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4131
4132         * text2.C (cursorRight): a getChar assert fixed
4133
4134 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4135
4136         * text2.C (getFont): change to take a ParagraphList::iterator
4137         instead of Paragraph*
4138         Adjust several functions.
4139
4140         * text.C (transformChar): change to take a ParagraphList::iterator
4141         instead of Paragraph*
4142         (singleWidth): ditto
4143         Adjust several functions.
4144
4145         * rowpainter.C: adjust several functions
4146         * rowpainter.h:store a ParagraphList::iterator and not a
4147         Paragraph&.
4148
4149
4150 2003-04-09  John Levon  <levon@movementarian.org>
4151
4152         * lyxfunc.C:
4153         * lfuns.h:
4154         * LyXAction.h:
4155         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4156         and the "help" bits as well
4157
4158 2003-04-09  John Levon  <levon@movementarian.org>
4159
4160         * ToolbarBackend.h:
4161         * ToolbarBackend.C: allow multiple toolbars
4162
4163 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4164
4165         * undo_funcs.C (setCursorParUndo): adjust
4166
4167         * text_funcs.C (transposeChars): adjust
4168
4169         * text3.C (gotoNextInset): adjust
4170         (dispatch): adjust
4171
4172         * text2.C (setLayout): adjust
4173         (changeDepth): adjust
4174         (setFont): adjust
4175         (redoParagraphs): adjust
4176         (selectionAsString): adjust
4177         (setParagraph): adjust
4178         (insertInset): adjust
4179         (cutSelection): adjust
4180         (copySelection): adjust
4181         (pasteSelection): adjust
4182         (insertStringAsLines): adjust
4183         (updateInset): adjust
4184         (setCursor): change to take a ParagraphList::iterator parameter
4185         (setCursorIntern): change to take a ParagraphList::iterator parameter
4186         (setCurrentFont): adjust
4187         (cursorLeft): adjust
4188         (cursorRight): adjust
4189         (deleteEmptyParagraphMechanism): adjust
4190
4191         * text.C (breakParagraph): adjust
4192         (insertChar): adjust
4193         (acceptChange): adjust
4194         (rejectChange): adjust
4195         (selectNextWordToSpellcheck): adjust
4196         (changeCase): adjust
4197         (Delete): adjust
4198         (backspace): adjust
4199
4200         * lyxfind.C (SearchForward): adjust
4201         (SearchBackward): adjust
4202         (nextChange): adjust
4203
4204         * lyxcursor.C (par): adjust
4205
4206         * lyxcursor.h: store a ParagraphList::iterator instead of a
4207         Paragraph*
4208
4209         * lyx_cb.C (getPossibleLabel): adjust
4210
4211         * bufferview_funcs.C (toggleAndShow): adjust
4212
4213         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4214         (dispatch): adjust
4215
4216         * BufferView.C (removeAutoInsets): adjust
4217         (lockedInsetStoreUndo): adjust
4218
4219 2003-04-09  John Levon  <levon@movementarian.org>
4220
4221         * ToolbarBackend.C: try icon without argument
4222         if with argument fails
4223
4224 2003-04-08  John Levon  <levon@movementarian.org>
4225
4226         * ToolbarBackend.h:
4227         * ToolbarBackend.C: add getIcon(), handle tooltip,
4228         and change from "Icon" to "Item".
4229
4230 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4231
4232         * BufferView.C (lockInset): another bad getchar crunched
4233
4234 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4235
4236         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4237         again)
4238
4239 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4240
4241         * lyxfind.C (searchForward, searchBackwards): bug 782
4242
4243 2003-04-07  John Levon  <levon@movementarian.org>
4244
4245         * paragraph.C: remove dead comment
4246
4247         * text.C: remove troublesome depth-fiddling code
4248         in leftMargin() and rightMargin() (bug 1017)
4249
4250         * text.C: fix breaking of rows in nested lists
4251         (bug 1004)
4252
4253         * text2.C (updateCounters): fix up depth values
4254         (bug 1013)
4255
4256 2003-04-07  John Levon  <levon@movementarian.org>
4257
4258         * BufferView_pimpl.C: clear message when doc finishes resizing,
4259         and after a mouse event
4260
4261         * lyxfunc.C: clear message after exiting inset
4262
4263 2003-04-07  John Levon  <levon@movementarian.org>
4264
4265         * bufferview_funcs.C: show math status not outside
4266         status in the statusbar
4267
4268 2003-04-07  John Levon  <levon@movementarian.org>
4269
4270         * lyxfunc.C: note status changed after a depth change
4271
4272 2003-04-04  Angus Leeming  <leeming@lyx.org>
4273
4274         * LaTeX.h: move AuxInfo operator==, != out of line.
4275         Remove LaTeX virtual destructor; nothing derives from it.
4276         Move operator()() out of public area and rename it startscript().
4277         Change protected for private.
4278
4279 2003-04-04  Angus Leeming  <leeming@lyx.org>
4280
4281         * lyxfunc.C:
4282         * text2.C: remove unneeded #includes.
4283
4284 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4285
4286         * text2.C (dEPM): fix the heigth of the next row
4287
4288 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4289
4290         * text.C: squashed an invalid getChar requester + some ws changes
4291
4292 2003-04-03  John Levon  <levon@movementarian.org>
4293
4294         * bufferview_funcs.h:
4295         * bufferview_funcs.C:
4296         * lyxfunc.C:
4297         * lyxtext.h:
4298         * text2.C: make getStatus work for the env depth lfuns
4299
4300 2003-04-03  John Levon  <levon@movementarian.org>
4301
4302         * bufferview_funcs.h:
4303         * bufferview_funcs.C:
4304         * lyxfunc.C:
4305         * lyxtext.h:
4306         * text2.C: parlistize decDepth(), by merging it with incDepth()
4307
4308 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4309
4310         * lyxrow.h: store a ParagraphList::iterator instead of a
4311         Paragraph* and adjust other class functions to suit.
4312
4313         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4314         above.
4315
4316 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4317
4318         * text2.C (setCursor): do not anchor to cursor row for the time being
4319
4320 2003-04-02  John Levon  <levon@movementarian.org>
4321
4322         * LyXAction.C:
4323         * lfuns.h:
4324         * lyx_main.C:
4325         * lyxtext.h:
4326         * text.C:
4327         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4328
4329 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4330
4331         * paragraph.h: make ParagraphList and ParagraphList::iterator
4332         friends of Paragraph.
4333
4334         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4335
4336         * ParagraphList.C: Use the private next_ and previous_ from
4337         Paragraph.
4338
4339 2003-04-01  John Levon  <levon@movementarian.org>
4340
4341         * ToolbarBackend.h:
4342         * ToolbarBackend.C:
4343         * Makefile.am: rename, remove defaults gunk
4344
4345         * MenuBackend.h:
4346         * MenuBackend.C: remove defaults gunk
4347
4348         * Languages.h:
4349         * Languages.C: remove defaults gunk
4350
4351         * lyx_main.h:
4352         * lyx_main.C: error out if files couldn't be found.
4353
4354 2003-04-02  John Levon  <levon@movementarian.org>
4355
4356         * text2.C: make incDepth() use parlist
4357
4358 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4359
4360         * undo_funcs.C (firstUndoParagraph): adjust
4361
4362         * text3.C (gotoInset): adjust
4363         (dispatch): adjust, and rewrite loop.
4364
4365         * text2.C (init): adjust, and rewrite loop.
4366         (redoParagraphs): adjust
4367         (updateInset): adjust, and rewrite loop.
4368         (deleteEmptyParagraphMechanism): adjust
4369
4370         * tabular.C (LyXTabular): adjust
4371         (SetMultiColumn): adjust
4372         (TeXRow): adjust
4373
4374         * lyxtext.[Ch] (ownerParagraph): delete function
4375         (ownerParagraphs): new function returns a ParagraphList.
4376
4377         * BufferView.C (removeAutoInsets): adjust
4378         (insertErrors): adjust
4379         (setCursorFromRow): adjust
4380
4381 2003-04-01  Angus Leeming  <leeming@lyx.org>
4382
4383         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4384         in the frontends.
4385
4386 2003-04-02  John Levon  <levon@movementarian.org>
4387
4388         * lyxtext.h:
4389         * text.C:
4390         * Makefile.am:
4391         * text_funcs.h:
4392         * text_funcs.C: make transposeChars a free function
4393
4394         * lyxrow_funcs.C: remove wrong comment
4395
4396 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4397
4398         * lyxtext.h: adjust
4399         * rowpainter.C: adjust
4400         * text.C: adjust
4401         * text2.C: adjust
4402         * text3.C: adjust
4403
4404         * lyxrow_funcs. [Ch]: new files
4405
4406         * lyxrow.[Ch]: remove next and previous pointers
4407         (next,previous): remove accessor functions
4408         (isParEnd): move to lyxrow_funcs
4409         (lastPos): move to lyxrow_funcs
4410         (nextRowIsAllInset): move to lyxrow_funcs
4411         (lastPrintablePos): move to lyxrow_funcs
4412         (numberOfSeparators): move to lyxrow_funcs
4413         (numberOfHfills): move to lyxrow_funcs
4414         (numberOfLabelHfills): move to lyxrow_funcs
4415         (hfillExpansion): move to lyxrow_funcs
4416
4417         * lyxfunc.C: adjust
4418
4419         * bufferview_funcs.C (toggleAndShow): adjust
4420
4421         * RowList.h: Remove class RowList from file leave just a
4422         std::list<Row>.
4423
4424         * RowList.C: delete file
4425
4426         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4427         and lyxrow_funcs.h
4428
4429 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4430
4431         * text3.C (cursorPrevious): adjust
4432         (cursorNext): adjust
4433         (dispatch): adjust
4434
4435         * text2.C (redoHeightOfParagraph): adjust
4436         (redoDrawingOfParagraph): adjust
4437         (setCursor): adjust
4438
4439         * text.C (breakParagraph): adjust
4440         (insertChar): adjust
4441         (backspace): adjust
4442
4443         * rowpainter.C (RowPainter): adjust
4444         (leftMargin): simplify and adjust
4445         (most rowpainter functions): adjust.
4446
4447         * rowpainter.h: store the row as RowList::iterator not as Row*
4448
4449         * lyxcursor.C (row): taka RowList::iterator as arg
4450         (irow): ditto
4451
4452         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4453         of Row*.
4454
4455 2003-04-01  Angus Leeming  <leeming@lyx.org>
4456
4457         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4458         stuff like bool Bool.
4459
4460 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4461
4462         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4463         rewrite a loop
4464
4465 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4466
4467         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4468         RowList::iterator.
4469
4470         * lyxtext.h (rows): drop one version and leve a const variant that
4471         returns a RowList::iterator.
4472
4473 2003-03-31  Angus Leeming  <leeming@lyx.org>
4474
4475         * text.C (fill): ensure that the signature is the same as that in the
4476         header file.
4477
4478 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4479
4480         * text2.C (redoParagraphs): adjust
4481         (updateCounters): adjust
4482         (checkParagraph): adjust
4483         (getColumnNearX): adjust and reformat a bit.
4484
4485         * text.C (top_y): adjust
4486         (workWidth): adjust
4487         (leftMargin): adjust
4488         (prepareToPrint): adjust
4489         (getRow): adjust
4490         (getRowNearY): adjust
4491
4492         * lyxtext.h: make rowlist_ mutable.
4493
4494         * RowList.h: add const_iterator
4495         * RowList.C: adjust for RowList::const_iterator.
4496
4497         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4498         adjust.
4499
4500 2003-03-31  John Levon  <levon@movementarian.org>
4501
4502         * lyxrc.h:
4503         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4504
4505         * lyx_main.C: set default fonts from using lyx_gui funcs
4506
4507         * exporter.C: pdf_mode moved from lyxrc
4508
4509         * lyx_cb.C:
4510         * lyxfunc.C: changes from above
4511
4512 2003-03-31  John Levon  <levon@movementarian.org>
4513
4514         * lyx_main.C: fix to the last fix
4515
4516 2003-03-31  John Levon  <levon@movementarian.org>
4517
4518         * bufferlist.C: "Load original" -> "Load Original"
4519
4520         * converter.C:
4521         * exporter.C:
4522         * importer.C:
4523         * lyx_main.C:
4524         * format.C: more Alert cleanups
4525
4526 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4527
4528         * text2.C (removeParagraph): make it take a RowList::iterator as
4529         arg, adjust.
4530         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4531         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4532
4533         * text.C (anchor_row): make it take a RowList::iterator as arg,
4534         adjust.
4535         (computeBidiTables): make it take a const reference to Row instead
4536         of Row pointer, adjust.
4537         (leftMargin): make it take a RowList::iterator as arg, adjust.
4538         (rowBreakPoint): adjust
4539         (breakAgainOneRow): make it take a RowList::iterator as arg,
4540         adjust.
4541         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4542
4543         * bufferview_funcs.C (toggleAndShow): adjust
4544
4545 2003-03-30  John Levon  <levon@movementarian.org>
4546
4547         * Makefile.am:
4548         * BoostFormat.h:
4549         * boost-inst.C: moved to support
4550
4551         * several files: changes as a result
4552
4553 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4554
4555         * text2.C (LyXText): adjust.
4556         (init): adjust
4557         (removeRow): make it take a RowList::iterator as arg, adjust.
4558         (fullRebreak): adjust
4559         (deleteEmptyParagraphMechanism): adjust
4560         (clearPaint): adjust
4561         (postPaint): adjust
4562
4563         * text.C (top_y): adjust
4564         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4565         (breakAgain): make it take a RowList::iterator as arg, adjust.
4566         (breakParagraph): adjust
4567         (insertChar): adjust
4568         (backspace): adjust
4569
4570         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4571         need_break_row, and refresh_row.
4572
4573         * text3.C (dispatch): adjust
4574
4575         * text2.C (checkParagraph): adjust
4576         (setCursor): adjust
4577         (setCursorFromCoordinates): adjust
4578
4579         * text.C (top_y): adjust
4580         (workWidth): adjust
4581         (getRow): make it return a RowList::iterator, adjust
4582         (getRowNearY): make it return a RowList::iterator, adjust
4583
4584         * text2.C (init): adjust
4585         (insertRow): remove function
4586         (insertParagraph): adjust
4587         (redoParagraphs): adjust
4588         (fullRebreak): adjust
4589         (updateCounters): adjust
4590
4591         * text.C (top_y): rewrite to use RowList iterators.
4592         (top_y): adjust
4593         (setHeightOfRow): rewrite to sue RowList iterators.
4594         (appendParagraph): adjust
4595         (breakAgain): adjust
4596         (breakAgainOneRow): adjust
4597         (breakParagraph): adjust
4598         (getRow): adjust
4599         (getRowNearY): adjust, and remove commented code.
4600
4601         * lyxtext.h (firstRow): delete function
4602         (lastRow): delete function
4603         (rows): new function (const and non-const versions.)
4604         (insertRow): delete function
4605
4606         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4607
4608 2003-03-29  John Levon  <levon@movementarian.org>
4609
4610         * BufferView_pimpl.C: always update scrollbar top
4611         because pasting text when we're anchored could mean we
4612         miss an update altogether
4613
4614 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4615
4616         * text2.C (init): use rowlist_.end() and not 0.
4617         (insertRow): change to take a RowList::iterator as arg, adjust
4618         for this.
4619         (insertParagraph): change to take a RowList::iterator as arg,
4620         adjust for this.
4621         (redoParagraphs): remove some debug msgs.
4622
4623         * text.C (appendParagraph): change to take a RowList::iterator
4624         arg, adjust for this.
4625         (breakAgain): add an assert
4626         (breakAgainOneRow): ditto
4627
4628 2003-03-29  John Levon  <levon@movementarian.org>
4629
4630         * text2.C: do not clear selection after inc/decDepth
4631         (bug 550)
4632
4633 2003-03-29  John Levon  <levon@movementarian.org>
4634
4635         * BufferView.C:
4636         * buffer.C: fix broken strerrors according to Lars
4637
4638 2003-03-29  John Levon  <levon@movementarian.org>
4639
4640         * converters.C: more Alert cleanups
4641
4642 2003-03-29  John Levon  <levon@movementarian.org>
4643
4644         * bufferview_funcs.C: remove pointless Alert
4645
4646         * buffer.C: fix confusing error message when
4647         a template is chmoded 000
4648
4649 2003-03-29  John Levon  <levon@movementarian.org>
4650
4651         * BufferView.C:
4652         * BufferView.h:
4653         * BufferView_pimpl.C: Alert fixes
4654
4655         * Makefile.am:
4656         * tabular.C:
4657         * tabular-old.C: remove unused table compat reading
4658
4659 2003-03-29  John Levon  <levon@movementarian.org>
4660
4661         * BufferView.C:
4662         * buffer.C:
4663         * lyx_cb.h:
4664         * lyx_cb.C: more Alert cleanups
4665
4666         * lyxfunc.C: don't allow chktex if not latex document
4667
4668 2003-03-29  John Levon  <levon@movementarian.org>
4669
4670         * lyx_cb.C:
4671         * BufferView.C:
4672         * buffer.C: warnings pushed down from support/,
4673         kill err_alert
4674
4675 2003-03-29  John Levon  <levon@movementarian.org>
4676
4677         * lyxfunc.C: safety check for C-r (revert)
4678
4679 2003-03-29  John Levon  <levon@movementarian.org>
4680
4681         * bufferlist.h:
4682         * bufferlist.C: several UI fixes using Alert::prompt.
4683         Fix the pointless looping quit code. Fix stupid revert
4684         behaviour (bug 938)
4685
4686         * lyxvc.h:
4687         * lyxvc.C:
4688         * lyx_cb.C: use Alert::prompt
4689
4690         * lyx_main.C: remove a silly question
4691
4692         * lyxfunc.C: remove a couple of silly questions,
4693         use Alert::prompt
4694
4695 2003-03-28  John Levon  <levon@movementarian.org>
4696
4697         * text2.C: fix bug 974 (End on empty par)
4698
4699 2003-03-28  John Levon  <levon@movementarian.org>
4700
4701         * BufferView_pimpl.C:
4702         * LyXAction.C:
4703         * lfuns.h: remove do-nothing math greek lfuns
4704
4705 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4706
4707         * lyxgluelength.h (isValidGlueLength): add default arg on
4708         parameter 2. Remove default arg from friend in class.
4709
4710         * lyxlength.h (isValidLength): add default arg on parameter 2.
4711         Remove default arg from friend in class.
4712
4713         * text2.C (LyXText): adjust, initialize refresh_row.
4714         (init): adjust
4715         (removeRow): adjust
4716         (insertRow): adjust
4717         (insertParagraph): adjst
4718         (redoParagraphs): adjust
4719         (fullRebreak): adjust
4720         (updateCounters): adjust
4721         (deleteEmptyParagraphMechanism): first attempt at fixing a
4722         crashing bug.
4723
4724         * text.C (top_y): adjust
4725         (setHeightOfRow): adjust
4726         (getRow): adjust
4727         (getRowNearY): adjust
4728
4729         * lyxtext.h: include RowList.h
4730         (~LyXText): not needed anymore, deleted.
4731         (firstRow): modify for RowList
4732         (lastRow): new function
4733         Delete firstrow and lastrow class variables, add a Rowlist
4734         rowlist_ class variable.
4735
4736         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4737         paragraph is empty.
4738
4739         * RowList.C (insert): fix case where it == begin().
4740
4741 2003-03-26  Angus Leeming  <leeming@lyx.org>
4742
4743         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4744         the thesaurus dialog.
4745
4746 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4747
4748         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4749
4750         * RowList.[Ch]: new files
4751
4752         * ParagraphList.C (erase): handle the case where it == begin
4753         correctly.
4754
4755 2003-03-25  John Levon  <levon@movementarian.org>
4756
4757         * Makefile.am:
4758         * aspell_local.h:
4759         * aspell.C: add new aspell support
4760
4761         * lyxrc.h:
4762         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4763         have it accessible.
4764
4765 2003-03-25  Angus Leeming  <leeming@lyx.org>
4766
4767         * lfuns.h:
4768         * LyXAction.C (init): new LFUN_INSET_INSERT.
4769
4770         * BufferView_pimpl.C (dispatch): split out part of the
4771         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4772
4773         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4774         LFUN_INSET_APPLY.
4775
4776 2003-03-25  Angus Leeming  <leeming@lyx.org>
4777
4778         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4779
4780 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4781
4782         * text2.C:
4783         * text3.C: remove useless row->height(0)
4784
4785 2003-03-25  John Levon  <levon@movementarian.org>
4786
4787         * lyxtext.h:
4788         * text2.C:
4789         * text3.C: rename the refreshing stuff to better names
4790
4791 2003-03-24  John Levon  <levon@movementarian.org>
4792
4793         * BufferView_pimpl.h:
4794         * BufferView_pimpl.C: update layout choice on a mouse
4795         press/release
4796
4797 2003-03-23  John Levon  <levon@movementarian.org>
4798
4799         * Makefile.am: fix commandtags.h reference
4800
4801 2003-03-22  John Levon  <levon@movementarian.org>
4802
4803         * BufferView_pimpl.C:
4804         * lyxtext.h:
4805         * rowpainter.C:
4806         * rowpainter.h:
4807         * text.C:
4808         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4809
4810 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4811
4812         * lyxtext.h:
4813         * text.C: take the rtl methods out of line
4814
4815 2003-03-21 André Pönitz <poenitz@gmx.net>
4816
4817         * metricsinfo.[Ch]: new files containing structures to be passed around
4818         during the two-phase-drawing...
4819
4820 2003-03-21 André Pönitz <poenitz@gmx.net>
4821
4822         * lyxtextclass.C: read 'environment' tag.
4823
4824 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4825
4826         * text2.C (removeRow): fix bug 964
4827
4828 2003-03-20  John Levon  <levon@movementarian.org>
4829
4830         * rowpainter.C:
4831         * text.C:
4832         * text2.C: paint cleanups. Inset::update() dropped font
4833         parameter
4834
4835 2003-03-19  John Levon  <levon@movementarian.org>
4836
4837         * lyxfunc.C: only fitcursor/markDirty if available()
4838
4839 2003-03-19  John Levon  <levon@movementarian.org>
4840
4841         * commandtags.h: rename to ...
4842
4843         * lfuns.h: ... this, and renumber / cleanup
4844
4845 2003-03-19  John Levon  <levon@movementarian.org>
4846
4847         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4848         fit the cursor after an lfun
4849
4850         * BufferView.h:
4851         * BufferView.C:
4852         * BufferView_pimpl.h:
4853         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4854
4855         * LyXAction.C: layout-character should have ReadOnly
4856
4857         * ParagraphParameters.C:
4858         * buffer.C:
4859         * bufferview_funcs.C:
4860         * lyx_cb.C:
4861         * lyxfind.C:
4862         * lyxtext.h:
4863         * text.C:
4864         * text2.C:
4865         * text3.C:
4866         * undo_funcs.C: changes from above
4867
4868 2003-03-18  John Levon  <levon@movementarian.org>
4869
4870         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4871         remove it from update()
4872
4873         * lyxfunc.C: update layout choice after an lfun
4874
4875         * text3.C: remove extra updateLayoutChoice()s
4876
4877 2003-03-18  John Levon  <levon@movementarian.org>
4878
4879         * text.C: top_y change means full repaint, fix
4880         a drawing bug with cursor movement
4881
4882 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4883
4884         * lyxtext.h:
4885         * text.C:
4886         * text2.C: anchor row on setCursor
4887
4888 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4889
4890         * lyxtext.h: remove almost all mutable keywords
4891         * text.C:
4892         * text2.C:
4893         * text3.C: remove const keywords accordingly
4894
4895 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4896
4897         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4898         anon namespace
4899         (TeXEnvironment): ditto
4900         (TeXOnePar): ditto
4901
4902 2003-03-17  John Levon  <levon@movementarian.org>
4903
4904         * text.C (rowBreakPoint): remove attempt to fix displayed
4905         math insets inside a manual label
4906
4907 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4908
4909         * lyxtext.h: remove BufferView* as first arg from almost all class
4910         functions.
4911         * other files: adjust.
4912
4913 2003-03-17  John Levon  <levon@movementarian.org>
4914
4915         * lyxtext.h:
4916         * undo_funcs.C:
4917         * text2.C: more paint cleanups
4918
4919         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4920
4921         * rowpainter.h:
4922         * rowpainter.C: remove "smart" background painting code
4923
4924 2003-03-16  John Levon  <levon@movementarian.org>
4925
4926         * lyxtext.h:
4927         * text.C:
4928         * text2.C:
4929         * text3.C: add helper functions for setting refresh_row/y
4930
4931 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4932
4933         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4934         newline inset which *can* get inserted in the pass_thru layouts.
4935         This is primarily for literate documents.
4936
4937 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4938
4939         * buffer.C: increment LYX_FORMAT to 223
4940
4941 2003-03-14 André Pönitz <poenitz@gmx.net>
4942
4943         * textclass.h: prepare for environment handling, ws changes
4944         * lyxlayout.C: read latexheader and latexfooter tags
4945
4946 2003-03-14  John Levon  <levon@movementarian.org>
4947
4948         * text2.C: rewrite ::status() a bit
4949
4950 2003-03-13  John Levon  <levon@movementarian.org>
4951
4952         * lyxtext.h: add some docs
4953
4954 2003-03-13  John Levon  <levon@movementarian.org>
4955
4956         * lyxtext.h:
4957         * text.C:
4958         * text2.C:
4959         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4960
4961 2003-03-13  John Levon  <levon@movementarian.org>
4962
4963         * text3.C: fix appendix redrawing
4964
4965 2003-03-13  John Levon  <levon@movementarian.org>
4966
4967         * text.C (setHeightOfRow):
4968         * rowpainter.h:
4969         * rowpainter.C: make appendix mark have the text
4970           "Appendix" so the user knows what it is
4971
4972         * LColor.h:
4973         * LColor.C: s/appendixline/appendix/ from above
4974
4975 2003-03-13  John Levon  <levon@movementarian.org>
4976
4977         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4978
4979         * text.C: fix a getChar(pos) bug properly
4980
4981 2003-03-13  Angus Leeming  <leeming@lyx.org>
4982
4983         * commandtags.h:
4984         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4985         Probably only temporary. Let's see how things pan out.
4986
4987         * BufferView.C (unlockInset):
4988         * BufferView_pimpl.C (fitCursor):
4989         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4990
4991         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4992         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4993
4994         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4995         new functions that convert ParagraphParameters to and from a string.
4996
4997         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4998         BufferView::Pimpl's dispatch.
4999         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5000
5001 2003-03-13 André Pönitz <poenitz@gmx.net>
5002
5003         * lyxfunc.C:
5004         * text3.C:
5005         * factory.C: make it aware of InsetEnv
5006
5007 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5008
5009         * text2.C (setCursor): never ask for one past last
5010         (setCursor): add some debugging messages.
5011
5012         * text.C (singleWidth): never ask for one past last
5013         (singleWidth): ditto
5014         (leftMargin): ditto
5015         (rightMargin): ditto
5016         (rowBreakPoint): ditto
5017         (setHeightOfRow): ditto
5018         (prepareToPrint): ditto
5019
5020         * rowpainter.C (paintBackground): never ask for one past last
5021         (paintText): never ask for one past last
5022
5023         * paragraph_pimpl.C (getChar): make the assert stricter, never
5024         allow the one past last pos to be taken
5025
5026         * paragraph.C (getChar): ws changes only
5027
5028         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5029         (numberOfSeparators): ditto
5030         (numberOfHfills): ditto
5031
5032 2003-03-12  John Levon  <levon@movementarian.org>
5033
5034         * author.h:
5035         * author.C:
5036         * bufferparams.h:
5037         * bufferparams.C:
5038         * paragraph_funcs.C: fix per-buffer authorlists
5039
5040 2003-03-12  John Levon  <levon@movementarian.org>
5041
5042         * text.C: fix newline in right address
5043
5044 2003-03-12  Angus Leeming  <leeming@lyx.org>
5045
5046         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5047         duplicate those in LyXFunc::dispatch.
5048
5049         * commandtags.h:
5050         * LyXAction.C:
5051         * ToolbarDefaults.C:
5052         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5053         Add LFUN_FONTFREE_UPDATE.
5054
5055         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5056         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5057
5058         * bufferview_func.[Ch]: several new functions to facilliate
5059         transfer of data to and from the character dialog.
5060
5061 2003-03-12  John Levon  <levon@movementarian.org>
5062
5063         * buffer.C:
5064         * paragraph.h:
5065         * paragraph.C:
5066         * paragraph_funcs.C:
5067         * paragraph_pimpl.C:
5068         * sgml.C:
5069         * tabular.C:
5070         * text.C:
5071         * text3.C: remove META_NEWLINE in favour of an inset
5072
5073         * rowpainter.h:
5074         * rowpainter.C: remove paintNewline (done by inset)
5075
5076 2003-03-12  John Levon  <levon@movementarian.org>
5077
5078         * paragraph_pimpl.C: complain about bad getChar()s
5079         for a while at least
5080
5081 2003-03-12  John Levon  <levon@movementarian.org>
5082
5083         * buffer.h:
5084         * buffer.C: move paragraph read into a separate function,
5085         a little renaming to reflect that.
5086
5087         * bufferparams.h:
5088         * bufferparams.C: remove the author_ids map, not necessary now
5089
5090         * factory.h:
5091         * factory.C: moved Buffer::readInset to here
5092
5093         * paragraph_funcs.h:
5094         * paragraph_funcs.C: readParagraph free function moved from
5095         buffer.C
5096
5097         * tabular.C: name change
5098
5099 2003-03-12  John Levon  <levon@movementarian.org>
5100
5101         * buffer.C:
5102         * ParagraphParameters.C: move par params input to
5103         a read() method
5104
5105         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5106         behave like a normal read from the stream wrt reading
5107         a line vs. a \\token
5108
5109 2003-03-12  John Levon  <levon@movementarian.org>
5110
5111         * paragraph.C:
5112         * ParagraphParameters.h:
5113         * ParagraphParameters.C: move output code to a
5114         ::write() method
5115
5116 2003-03-12  John Levon  <levon@movementarian.org>
5117
5118         * BufferView.C (insertLyXFile):
5119         * buffer.h:
5120         * buffer.C:
5121         * tabular.C: use a parlist iterator for creating the
5122           document.
5123
5124 2003-03-12  John Levon  <levon@movementarian.org>
5125
5126         * buffer.C: make current_change static local not
5127           static file-scope
5128
5129 2003-03-12  John Levon  <levon@movementarian.org>
5130
5131         * buffer.C: fix insertStringAsLines for change tracking
5132
5133 2003-03-12  John Levon  <levon@movementarian.org>
5134
5135         * BufferView.C:
5136         * tabular.C:
5137         * buffer.h:
5138         * buffer.C:
5139         * bufferparams.h:
5140         * bufferparams.C: move author list into params. Rename some
5141           functions. Move the header reading into a separate token
5142           loop. Move the header token reading into BufferParams.
5143
5144 2003-03-12  John Levon  <levon@movementarian.org>
5145
5146         * changes.C: put debug inside lyxerr.debugging() checks
5147
5148 2003-03-11 André Pönitz <poenitz@gmx.net>
5149
5150         * factory.C: make it aware of InsetHFill
5151
5152 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5153
5154         * buffer.C (latexParagraphs): move function from here...
5155         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5156         args.
5157
5158 2003-03-10  Angus Leeming  <leeming@lyx.org>
5159
5160         * LyXAction.C (init): fix bug in poplating array with multiple entries
5161         with the same LFUN (spotted by JMarc).
5162
5163 2003-03-10  John Levon  <levon@movementarian.org>
5164
5165         * text.C:
5166         * text2.C: move getColumnNearX() near its
5167         only call site
5168
5169 2003-03-10  John Levon  <levon@movementarian.org>
5170
5171         * text.C: fix break before a minipage
5172
5173 2003-03-10  John Levon  <levon@movementarian.org>
5174
5175         * text.C: fix the last commit
5176
5177 2003-03-09  John Levon  <levon@movementarian.org>
5178
5179         * lyxtext.h:
5180         * text.C:
5181         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5182         bug 365 (don't break before insets unless needed). Don't
5183         return a value > last under any circumstances.
5184
5185 2003-03-09  Angus Leeming  <leeming@lyx.org>
5186
5187         * BufferView_pimpl.C (trackChanges, dispatch): call
5188         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5189
5190 2003-03-09  Angus Leeming  <leeming@lyx.org>
5191
5192         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5193         than Dialogs::showAboutlyx().
5194
5195 2003-03-09  Angus Leeming  <leeming@lyx.org>
5196
5197         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5198         than Dialogs::showTabularCreate().
5199
5200 2003-03-09  John Levon  <levon@movementarian.org>
5201
5202         * lyxtext.h:
5203         * text.C:
5204         * text2.C: 3rd arg to nextBreakPoint was always the same.
5205           Use references.
5206
5207 2003-03-08  John Levon  <levon@movementarian.org>
5208
5209         * lyxrow.C:
5210         * paragraph.C:
5211         * paragraph.h:
5212         * rowpainter.C:
5213         * text.C:
5214         * text2.C: Remove the "main" bit from the "main body"
5215           notion.
5216
5217 2003-03-08  John Levon  <levon@movementarian.org>
5218
5219         * text.C (leftMargin): The left margin of an empty
5220         manual label paragraph should not include the label width
5221         string length.
5222
5223         * text.C (prepareToPrint): don't attempt to measure hfills
5224         for empty manual label paragraphs - the answer should be 0
5225
5226 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5227
5228         * CutAndPaste.C: remove commented code and reindent.
5229
5230 2003-03-08  John Levon  <levon@movementarian.org>
5231
5232         * lyxfunc.h:
5233         * lyxfunc.C: move reloadBuffer()
5234
5235         * BufferView.h:
5236         * BufferView.C: to here
5237
5238         * lyxvc.C: add comment
5239
5240         * vc-backend.h:
5241         * vc-backend.C: call bv->reload() to avoid
5242           getStatus() check on MENURELOAD
5243
5244 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5245
5246         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5247         to an old format .dep file.
5248
5249 2003-03-07  Angus Leeming  <leeming@lyx.org>
5250
5251         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5252         when the LFUN_MOUSE_RELEASE should have been handled by
5253         inset->localDispatch.
5254
5255 2003-03-07  Angus Leeming  <leeming@lyx.org>
5256
5257         * BufferView_pimpl.C (dispatch):
5258         * LyXAction.C (init):
5259         * ToolbarDefaults.C (init):
5260         * commandtags.h:
5261         * lyxfunc.C (getStatus):
5262         remove LFUN_INSET_GRAPHICS.
5263
5264         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5265
5266 2003-03-07  Angus Leeming  <leeming@lyx.org>
5267
5268         * commandtags.h:
5269         * LyXAction.C (init):
5270         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5271
5272         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5273
5274         * commandtags.h:
5275         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5276
5277         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5278         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5279
5280 2003-03-07  Angus Leeming  <leeming@lyx.org>
5281
5282         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5283         remove "ert".
5284
5285 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5286
5287         * ParagraphList.C (front): new function
5288         (back): implement
5289
5290 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5291
5292         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5293         and top_row_offset_. removed var first_y.
5294         * text.C (top_y):
5295         * text2.C (LyXText, removeRow):
5296         * text3.C:
5297         * BufferView_pimpl.C:
5298         use these methods instead of using first_y
5299
5300 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5301
5302         * text2.C (pasteSelection): adjust for checkPastePossible
5303
5304         * CutAndPaste.C: remove Paragraph * buf and replace with
5305         ParagraphList paragraphs.
5306         (DeleteBuffer): delete
5307         (cutSelection): change the tc type to textclass_type
5308         (copySelection): change the tc type to textclass_type
5309         (copySelection): adjust for ParagraphList
5310         (pasteSelection): change the tc type to textclass_type
5311         (pasteSelection): adjust for Paragraphlist
5312         (nrOfParagraphs): simplify for ParagraphList
5313         (checkPastePossible): simplify for ParagraphList
5314         (checkPastePossible): remove unused arg
5315
5316         * ParagraphList.C (insert): handle the case where there are no
5317         paragraphs yet.
5318
5319         * CutAndPaste.h: make CutAndPaste a namespace.
5320
5321         * text3.C (dispatch): adjust
5322
5323         * text.C (breakParagraph): add a ParagraphList as arg
5324
5325         * paragraph_funcs.C (breakParagraph): change to take a
5326         BufferParams and a ParagraphList as args.
5327         (breakParagraphConservative): ditto
5328         (mergeParagraph): ditto
5329         (TeXDeeper): add a ParagraphList arg
5330         (TeXEnvironment): ditto
5331         (TeXOnePar): ditto
5332
5333         * buffer.C (readLyXformat2): adjust
5334         (insertStringAsLines): adjust
5335         (latexParagraphs): adjust
5336
5337         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5338         (cutSelection): adjust
5339         (pasteSelection): adjust
5340
5341         * BufferView_pimpl.C (insertInset): adjust
5342
5343 2003-03-05  Angus Leeming  <leeming@lyx.org>
5344
5345         * commandtags.h:
5346         * LyXAction.C (init):
5347         * BufferView_pimpl.C (dispatch):
5348         * lyxfunc.C (getStatus):
5349         remove LFUN_CHILD_INSERT.
5350
5351         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5352
5353 2003-03-05  Angus Leeming  <leeming@lyx.org>
5354
5355         * commandtags.h:
5356         * LyXAction.C (init):
5357         * src/factory.C (createInset):
5358         * lyxfunc.C (getStatus):
5359         * text3.C (dispatch):
5360         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5361
5362         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5363
5364 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5365
5366         * ParagraphList.C (insert): handle insert right before end()
5367         (erase): fix cases where it can be first or last paragraph.
5368
5369 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5370
5371         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5372         Paragraph::next and Paragraph::previous
5373         (TeXOnePar): ditto
5374
5375         * text.C (breakParagraph): adjust
5376
5377         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5378         BufferParams& as arg.
5379         (breakParagraph): use ParagraphList::insert
5380         (breakParagraphConservative): take a Buffer* instead of a
5381         BufferParams& as arg.
5382         (breakParagraphConservative): use ParagraphList::insert.
5383
5384         * buffer.C (insertStringAsLines): un-const it
5385         (insertStringAsLines): adjust
5386
5387         * ParagraphList.C (insert): new function
5388
5389         * CutAndPaste.C (pasteSelection): adjust
5390
5391         * text.C (backspace): adjust
5392
5393         * tabular.C (SetMultiColumn): adjust
5394
5395         * CutAndPaste.C (cutSelection): adjust
5396         (pasteSelection): adjust
5397
5398         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5399         Buffer const * as arg
5400
5401         * ParagraphList.C (erase): new function
5402         * paragraph_funcs.C (mergeParagraph): use it
5403         (mergeParagraph): make it take a Buffer* instead of a
5404         BufferParams* as arg
5405
5406         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5407         as arg
5408         (breakParagraphConservative): ditto
5409
5410         * paragraph.h: remove the breakParagraph friend
5411
5412         * paragraph.C (eraseIntern): new function
5413         (setChange): new function
5414
5415         * paragraph_funcs.C (mergeParagraph): make it take a
5416         ParagraphList::iterator instead of a Paragraph *, adjust
5417         accordingly.
5418
5419         * paragraph.h: move an #endif so that the change tracking stuff
5420         also works in the NO_NEXT case.
5421
5422 2003-03-04  Angus Leeming  <leeming@lyx.org>
5423
5424         * commandtags.h:
5425         * LyXAction.C: new LFUN_INSET_MODIFY.
5426
5427         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5428         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5429
5430 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5431
5432         * several files: ws changes only
5433
5434         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5435         (TeXEnvironment): ditto
5436         (TeXDeeper): ditto
5437
5438         * buffer.C (makeLaTeXFile): adjust
5439         (latexParagraphs): make it take ParagraphList::iterator as args
5440
5441 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5442
5443         * buffer.C (latexParagraphs): adjust
5444
5445         * paragraph.C (TeXOnePar): move function...
5446         (optArgInset): move function...
5447         (TeXEnvironment): move function...
5448         * paragraph_pimpl.C (TeXDeeper): move function...
5449         * paragraph_funcs.C: ...here
5450
5451         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5452
5453 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5454
5455         * buffer.C (readInset): remove compability code for old Figure and
5456         InsetInfo insets
5457
5458 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5459
5460         * buffer.C: ws changes
5461         (readInset):
5462
5463         * BufferView_pimpl.C: ditto
5464         * author.C: ditto
5465         * buffer.h: ditto
5466         * bufferlist.h: ditto
5467         * changes.h: ditto
5468         * lyxfunc.C: ditto
5469
5470 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5471
5472         * converter.[Ch]: split into itself +
5473         * graph.[Ch]
5474         * format.[Ch]
5475         * Makefile.am: += graph.[Ch] + format.[Ch]
5476         * MenuBackend.C
5477         * buffer.C
5478         * exporter.C
5479         * importer.C
5480         * lyx_main.C
5481         * lyxfunc.C
5482         * lyxrc.C: added #include "format.h"
5483
5484 2003-02-27  Angus Leeming  <leeming@lyx.org>
5485
5486         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5487           a label.
5488
5489         * factory.C (createInset): add "label" to the factory.
5490
5491         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5492           string and do no more.
5493
5494 2003-02-27  Angus Leeming  <leeming@lyx.org>
5495
5496         * commandtags.h:
5497         * LyXAction.C (init):
5498         * factory.C (createInset):
5499         * BufferView_pimpl.C (dispatch):
5500           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5501
5502         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5503
5504         * lyxfunc.C (dispatch):
5505         * text3.C (dispatch): pass name to params2string.
5506
5507 2003-02-26  Angus Leeming  <leeming@lyx.org>
5508
5509         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5510           blocks together.
5511           Rearrange the ~includes. Strip out the unnecessary ones.
5512
5513         * factory.C (createInset): reformat.
5514           create new insets for the various LFUN_XYZ_APPLY lfuns.
5515
5516 2003-02-26  John Levon  <levon@movementarian.org>
5517
5518         * lyxrow.h:
5519         * lyxrow.C: add isParStart,isParEnd helpers
5520
5521         * paragraph.h: make isInserted/DeletedText take refs
5522
5523         * paragraph_funcs.h:
5524         * paragraph_funcs.C: remove #if 0'd code
5525
5526         * lyxtext.h:
5527         * text3.C:
5528         * text2.C:
5529         * text.C: use lyxrow helpers above.
5530           Move draw and paint routines to RowPainter.
5531           Make several methods use refs not pointers.
5532           Make backgroundColor() const.
5533           Add markChangeInDraw(), isInInset().
5534           Merge changeRegionCase into changeCase.
5535           Make workWidth() shouldn't-happen code into an Assert.
5536
5537         * rowpainter.h:
5538         * rowpainter.C: new class for painting a row.
5539
5540         * vspace.h:
5541         * vspace.C: make inPixels take a ref
5542
5543 2003-02-26  Angus Leeming  <leeming@lyx.org>
5544
5545         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5546         LFUN_REF_APPLY.
5547
5548 2003-02-25  John Levon  <levon@movementarian.org>
5549
5550         * ispell.C: give the forked command a more accurate name
5551
5552 2003-02-22  John Levon  <levon@movementarian.org>
5553
5554         * toc.h:
5555         * toc.C: make TocItem store an id not a Paragraph *
5556           (bug #913)
5557
5558 2003-02-21  Angus Leeming  <leeming@lyx.org>
5559
5560         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5561           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5562           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5563           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5564           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5565           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5566
5567         * BufferView_pimpl.C (dispatch):
5568         * LyXAction.C (init):
5569         * factory.C (createInset):
5570         * lyxfunc.C (getStatus, dispatch):
5571         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5572
5573 2003-02-21  Angus Leeming  <leeming@lyx.org>
5574
5575         * BufferView_pimpl.C (MenuInsertLyXFile):
5576         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5577         * lyxfunc.C (menuNew, open, doImport):
5578           no longer pass a LyXView & to fileDlg.
5579
5580 2003-02-21  Angus Leeming  <leeming@lyx.org>
5581
5582         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5583         * LyXAction.C: change, BIBKEY to BIBITEM.
5584         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5585         Change InsetBibKey to InsetBibitem.
5586         Change BIBKEY_CODE to BIBITEM_CODE.
5587         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5588         * factory.C: replace insetbib.h with insetbibitem.h.
5589         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5590         * paragraph.C: replace insetbib.h with insetbibitem.h.
5591         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5592         Change bibkey() to bibitem().
5593         * text.C: remove insetbib.h.
5594         * text2.C: replace insetbib.h with insetbibitem.h.
5595         change bibkey() to bibitem().
5596         * text3.C: remove insetbib.h.
5597         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5598
5599 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5600
5601         * lyxrc.C (output): enclose user email in quotes (in case there are
5602         several words)
5603
5604 2003-02-18  John Levon  <levon@movementarian.org>
5605
5606         * buffer.h: add std::
5607
5608 2003-02-17  John Levon  <levon@movementarian.org>
5609
5610         * SpellBase.h:
5611         * ispell.h:
5612         * ispell.C:
5613         * pspell.h:
5614         * pspell.C: reworking. Especially in ispell, a large
5615           number of clean ups and bug fixes.
5616
5617         * lyxfunc.C: fix revert to behave sensibly
5618
5619 2003-02-17 André Pönitz <poenitz@gmx.net>
5620
5621         * LyXAction.C:
5622         * commandtags.h: new LFUN_INSERT_BIBKEY
5623
5624         * layout.h:
5625         * lyxlayout.C:
5626         * buffer.C:
5627         * factory.C:
5628         * text.C:
5629         * text2.C:
5630         * text3.C:
5631         * paragraph.[Ch]:
5632         * paragraph_func.C: remove special bibkey handling
5633
5634 2003-02-17  John Levon  <levon@movementarian.org>
5635
5636         * text.C (Delete): fix case where delete at the end of
5637           the very first paragraph would not merge the pars
5638
5639 2003-02-17  John Levon  <levon@movementarian.org>
5640
5641         * lyxrow.C: fix lastPrintablePos()
5642
5643 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5644
5645         * bufferparams.C (writeLaTeX): add a std:here
5646
5647         * buffer.C: and remove a using directive there
5648
5649 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5650
5651         * buffer.C (makeLaTeXFile): move the code that generates the
5652           preamble...
5653
5654         * bufferparams.C (writeLaTeX): ... in this new method
5655
5656         * LaTeXFeatures.C (getEncodingSet): make const
5657           (getLanguages): make const
5658
5659         * MenuBackend.C (binding): returns the binding associated to this
5660           action
5661           (add): sets the status of each item by calling getStatus. Adds
5662           some intelligence.
5663           (read): add support for OptSubMenu
5664           (expand): remove extra separator at the end of expanded menu
5665
5666 2003-02-15  John Levon  <levon@movementarian.org>
5667
5668         * BufferView.C:
5669         * BufferView_pimpl.C:
5670         * bufferlist.h:
5671         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5672           inset code that had no actual effect. Remove unneeded status
5673           code.
5674
5675 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5676
5677         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5678           in preamble
5679
5680 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5681
5682         * text.C (drawLengthMarker): also draw an arrow marker for
5683           symbolic lengths (medskip...)
5684
5685 2003-02-14  John Levon  <levon@movementarian.org>
5686
5687         * tabular.h:
5688         * tabular.C: better method names
5689
5690 2003-02-14  John Levon  <levon@movementarian.org>
5691
5692         * BufferView_pimpl.C:
5693         * bufferlist.C:
5694         * buffer.C:
5695         * converter.C:
5696         * lyx_cb.C:
5697         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5698           it's a more accurate name. Remove some pointless uses.
5699
5700 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5701
5702         * text2.C (LyXText): change order of initilizers to shut off
5703           warnings
5704
5705 2003-02-14  John Levon  <levon@movementarian.org>
5706
5707         * buffer.C: use ParIterator for getParFromID()
5708
5709         * paragraph.h:
5710         * paragraph.C:
5711         * paragraph_pimpl.h:
5712         * paragraph_pimpl.C: remove unused getParFromID()
5713
5714 2003-02-14  John Levon  <levon@movementarian.org>
5715
5716         * buffer.C: remove some very old #if 0'd parse code
5717
5718 2003-02-13  John Levon  <levon@movementarian.org>
5719
5720         * text.h:
5721         * text.C:
5722         * text2.C: move hfillExpansion(), numberOfSeparators(),
5723           rowLast(), rowLastPrintable(), numberofHfills(),
5724           numberOfLabelHfills() ...
5725
5726         * lyxrow.h:
5727         * lyxrow.C: ... to member functions here.
5728
5729         * paragraph.h:
5730         * paragraph.C:
5731         * lyxtext.h:
5732         * text.C: remove LyXText::beginningOfMainBody(), and call
5733           p->beginningOfMainBody() directly. Move the check for
5734           LABEL_MANUAL into the latter.
5735
5736         * text.h:
5737         * text.C:
5738         * text2.C:
5739         * vspace.C:
5740         * BufferView.h:
5741         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5742
5743         * text.h:
5744         * text.C:
5745         * text2.C:
5746         * text3.C:
5747         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5748           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5749
5750 2003-02-13  John Levon  <levon@movementarian.org>
5751
5752         * CutAndPaste.C: remove debug
5753
5754 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5755
5756         * paragraph.C (asString): remove two unused variables
5757
5758         * lyxtextclass.C (readTitleType):
5759           (Read):
5760           (LyXTextClass): handle new members titletype_ and titlename_
5761
5762         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5763
5764 2003-02-09  John Levon  <levon@movementarian.org>
5765
5766         * buffer.h:
5767         * buffer.C: replace hand-coded list with a map for the dep clean
5768
5769 2003-02-08  John Levon  <levon@movementarian.org>
5770
5771         * LaTeX.C: consolidate code into showRunMessage() helper
5772
5773 2003-02-08  John Levon  <levon@movementarian.org>
5774
5775         * lyxfind.C:
5776         * lyxtext.h:
5777         * text2.C:
5778         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5779           and pass the size in explicitly
5780
5781         * BufferView_pimpl.h:
5782         * BufferView_pimpl.C:
5783         * BufferView.h:
5784         * BufferView.C: add getCurrentChange()
5785
5786         * BufferView_pimpl.h:
5787         * BufferView_pimpl.C: handle change lfuns
5788
5789         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5790           for changes. Mark pasted paragraphs as new.
5791
5792         * support/lyxtime.h:
5793         * support/lyxtime.C:
5794         * DepTable.C: abstract time_t as lyx::time_type
5795
5796         * LColor.h:
5797         * LColor.C: add colours for new text, deleted text, changebars
5798
5799         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5800           package use "usenames" option.
5801
5802         * commandtags.h:
5803         * lyxfunc.C:
5804         * LyXAction.C: add change lfuns
5805
5806         * Makefile.am:
5807         * author.h:
5808         * author.C: author handling
5809
5810         * buffer.h:
5811         * buffer.C: add a per-buffer author list, with first entry as
5812           current author. Handle new .lyx tokens for change tracking. Output
5813           author list to .lyx file. Output dvipost stuff to .tex preamble.
5814           Bump lyx format to 222.
5815
5816         * bufferlist.h:
5817         * bufferlist.C: add setCurrentAuthor() to reset current author details
5818           in all buffers.
5819
5820         * bufferparams.h:
5821         * bufferparams.C: add param for tracking
5822
5823         * bufferview_funcs.C: output change info in minibuffer
5824
5825         * Makefile.am:
5826         * changes.h:
5827         * changes.C: add change-tracking structure
5828
5829         * debug.h:
5830         * debug.C: add CHANGES debug flag
5831
5832         * lyxfind.h:
5833         * lyxfind.C: add code for finding the next change piece
5834
5835         * lyxrc.h:
5836         * lyxrc.C: add user_name and user_email
5837
5838         * lyxrow.h:
5839         * lyxrow.C: add a metric for the top of the text line
5840
5841         * lyxtext.h:
5842         * text.C: implement accept/rejectChange()
5843
5844         * lyxtext.h:
5845         * text.C: paint changebars. Paint new/deleted text in the chosen
5846         colours. Strike through deleted text.
5847
5848         * paragraph.h:
5849         * paragraph.C:
5850         * paragraph_pimpl.h:
5851         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5852           in the current change to the insert functions. Rework erase to
5853           mark text as deleted, adding an eraseIntern() and a range-based
5854           erase(). Implement per-paragraph change lookup and
5855           accept/reject.
5856
5857         * paragraph_funcs.C: Fixup paste for change tracking.
5858
5859         * tabular.C: mark added row/columns as new.
5860
5861         * text.C: fix rowLast() to never return -1. Don't allow
5862           spellchecking of deleted text. Track transpose changes. Don't
5863           allow paragraph break or merge where appropriate.
5864
5865         * text2.C: leave cursor at end of selection after a cut.
5866
5867 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5868
5869         * text.C (getLengthMarkerHeight):
5870         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5871         visible on screen too.
5872
5873 2003-02-07  John Levon  <levon@movementarian.org>
5874
5875         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5876
5877 2003-02-05  Angus Leeming  <leeming@lyx.org>
5878
5879         * lyxserver.C (read_ready): revert my patch of 11 September last year
5880         as it sends PC cpu through the roof. Presumably this means that
5881         the lyxserver will no longer run on an Alpha...
5882
5883 2003-01-30  Angus Leeming  <leeming@lyx.org>
5884
5885         * factory.C (createInset): create an InsetCommandParam of type "index"
5886         and use it to 'do the right thing'.
5887
5888         * text2.C (getStringToIndex): ensure that cursor position is always
5889         reset to the reset_cursor position.
5890
5891 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5892
5893         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5894         disabled.
5895
5896 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5897
5898         * bufferview.C:
5899         * lyxcb.C:
5900         * lyxfunc.C: Output messages with identical spelling, punctuation,
5901         and spaces
5902
5903 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5904
5905         * MenuBackend.C (expandFormats): List only viewable export formats
5906         in "View" menu
5907
5908         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5909         message
5910
5911         * lyxfunc.C (getStatus): Make sure that formats other than
5912         "fax" can also be disabled
5913
5914 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5915
5916         * text3.C (dispatch): put the lfuns that insert insets in 3
5917         groups, and call doInsertInset with appropriate arguments.
5918         (doInsertInset): new function, that creates an inset and inserts
5919         it according to some boolean parameters.
5920
5921 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5922
5923         * buffer.C (readFile): remember to pass on 'par' when calling
5924         readFile recursively.
5925
5926 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5927
5928         * MenuBackend.C (expandFormats): add "..." to import formats.
5929
5930 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5931
5932         * paragraph.C (asString): Remove XForms RTL hacks.
5933
5934 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5935         * buffer.C: fix typo
5936
5937 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5938
5939         * Makefile.am (LIBS): delete var
5940         (lyx_LDADD): add @LIBS@ here instead.
5941
5942 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5943
5944         * Clarify the meaning of "wheel mouse jump"
5945
5946 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5947
5948         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5949         tabular in a float
5950
5951 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5952
5953         * importer.C (Loaders): do not preallocate 3 elements in the
5954         vector, since one ends up with 6 elements otherwise
5955
5956 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5957
5958         * DepTable.C (write): write the file name as last element of the
5959         .dep file (because it may contain spaces)
5960         (read): read info in the right order
5961
5962 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5963
5964         * paragraph_pimpl.C (simpleTeXBlanks):
5965         (simpleTeXSpecialChars):
5966         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5967
5968         * tabular.C (latex): add some missing case statements. Reindent.
5969
5970         * MenuBackend.C (expandToc): remove unused variable.
5971
5972 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5973
5974         * LColor.C:
5975         * LaTeX.C:
5976         * LyXAction.C:
5977         * MenuBackend.C:
5978         * buffer.C:
5979         * exporter.C:
5980         * lyxfunc.C:
5981         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5982         and the like.
5983
5984 2003-01-05  John Levon  <levon@movementarian.org>
5985
5986         * BufferView.h:
5987         * BufferView.C: add getEncoding()
5988
5989         * kbsequence.h:
5990         * kbsequence.C: do not store last keypress
5991
5992         * lyxfunc.h:
5993         * lyxfunc.C: store last keypress here instead. Pass encoding
5994           to getISOEncoded()
5995
5996 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5997
5998         * lyx_main.C (init): remove annoying error message when following
5999         symbolic links (bug #780)
6000
6001 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6002
6003         * text.C (insertChar):
6004         * lyxrc.C (getDescription): remove extra spaces
6005
6006 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6007
6008         * lyxrc.C (getDescription): remove extra spaces
6009
6010 2002-12-20  John Levon  <levon@movementarian.org>
6011
6012         * text3.C: hack fix for page up/down across tall rows
6013
6014 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6015
6016         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6017         not been invoked
6018
6019 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6020
6021         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6022         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6023         thesaurus is not compiled in
6024
6025 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6026
6027         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6028
6029 2002-12-16  Angus Leeming  <leeming@lyx.org>
6030
6031         * lyxrc.[Ch]:
6032         * lyx_main.C (init): remove override_x_deadkeys stuff.
6033
6034 2002-12-12  John Levon  <levon@movementarian.org>
6035
6036         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6037           insert. Only remove shift modifier under strict
6038           circumstances.
6039
6040 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6041
6042         * MenuBackend.C (expandToc): fix crash.
6043
6044 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6045
6046         * MenuBackend.C (expandToc): gettext on float names.
6047
6048 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6049
6050         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6051         implement bool empty() [bug 490]
6052
6053 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6054
6055         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6056
6057 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6058
6059         * several files: ws changes
6060
6061 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6062
6063         * text2.C (setCounter): clean up a bit, use boost.format.
6064         (updateCounters): initialize par upon declaration.
6065
6066         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6067         if the layout exists. We do not just store the layout any more.
6068         (SwitchLayoutsBetweenClasses): use boost.format
6069
6070 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6071
6072         * converter.C (convert): if from and to files are the same, use a
6073         temporary files as intermediary
6074
6075 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6076
6077         * commandtags.h:
6078         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6079
6080 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6081
6082         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6083
6084 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6085
6086         * tabular.C (asciiPrintCell): use string(size, char) instead of
6087         explicit loop.
6088
6089         * sgml.C (openTag): fix order of arguments to string constructor
6090         (closeTag): ditto
6091
6092         * lyxfunc.C (dispatch): use boost.format
6093
6094         * lots of files: change "c" -> 'c'
6095
6096 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6097
6098         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6099
6100 2002-11-25  Angus Leeming  <leeming@lyx.org>
6101
6102         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6103
6104         * lyx_main.C (init): compile fix.
6105
6106 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6107
6108         * lyx_cb.C (start): boost.formatify
6109         do not include <iostream>
6110
6111         * lengthcommon.C: ws only
6112
6113         * boost-inst.C,BoostFormat.h: add more explict instantations
6114
6115 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6116
6117         * lots of files: handle USE_BOOST_FORMAT
6118
6119 2002-11-21  John Levon  <levon@movementarian.org>
6120
6121         * pspell.C: fix compile
6122
6123 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6124
6125         * lyxfunc.C (dispatch): use boost::format
6126         (open): ditto
6127         (doImport): ditto
6128
6129         * lyxfont.C (stateText): use boost::format
6130
6131         * lyx_main.C (LyX): use boost::format
6132         (init): ditto
6133         (queryUserLyXDir): ditto
6134         (readRcFile): ditto
6135         (parse_dbg): ditto
6136         (typedef boost::function): use the recommened syntax.
6137
6138         * importer.C (Import): use boost::format
6139
6140         * debug.C (showLevel): use boost::format
6141
6142         * converter.C (view): use boost::format
6143         (convert): ditto
6144         (move): ditto
6145         (scanLog): ditto
6146
6147         * bufferview_funcs.C (currentState): use boost::format
6148
6149         * bufferlist.C (emergencyWrite): use boost::format
6150
6151         * buffer.C (readLyXformat2): use boost::format
6152         (parseSingleLyXformat2Token): ditto
6153
6154         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6155
6156         * LaTeX.C (run): use boost::format
6157
6158         * Chktex.C (scanLogFile): use boost::format
6159
6160         * BufferView_pimpl.C (savePosition): use boost::format
6161         (restorePosition): ditto
6162         (MenuInsertLyXFile): ditto
6163
6164         * BoostFormat.h: help file for explicit instation.
6165
6166 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6167
6168         * tabular.C (latex): Support for block alignment in fixed width
6169         columns.
6170
6171 2002-11-17  John Levon  <levon@movementarian.org>
6172
6173         * BufferView_pimpl.C:
6174         * lyx_cb.C:
6175         * lyxfunc.C: split filedialog into open/save
6176
6177 2002-11-08  Juergen Vigna  <jug@sad.it>
6178
6179         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6180         by my last patch (hopefully).
6181
6182 2002-11-08  John Levon  <levon@movementarian.org>
6183
6184         * iterators.h:
6185         * iterators.C:
6186         * buffer.h:
6187         * buffer.C:
6188         * paragraph.h:
6189         * paragraph.C:
6190         * toc.h:
6191         * toc.C: ParConstIterator, and use it (from Lars)
6192
6193 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6194
6195         * lyxtextclass.[Ch]: revise and add doxygen comments
6196
6197 2002-11-07  John Levon  <levon@movementarian.org>
6198
6199         * text.C: fix progress value for spellchecker
6200
6201         * toc.C: fix navigate menu for insetwrap inside minipage
6202
6203         * paragraph_funcs.C: added FIXME for suspect code
6204
6205 2002-11-07  John Levon  <levon@movementarian.org>
6206
6207         * BufferView_pimpl.C: fix redrawing of insets
6208           on buffer switch
6209
6210 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6211
6212         * text2.C (updateCounters): fix bug 668
6213
6214 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6215
6216         * text3.C (dispatch): Do not make the buffer dirty when moving the
6217         cursor.
6218
6219 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6220
6221         * vc-backend.C: STRCONV
6222         (scanMaster): ditto
6223
6224         * text2.C (setCounter): STRCONV
6225
6226         * paragraph.C (asString): STRCONV
6227
6228         * lyxlength.C (asString): STRCONV
6229         (asLatexString): ditto
6230
6231         * lyxgluelength.C (asString): STRCONV
6232         (asLatexString): ditto
6233
6234         * lyxfunc.C (dispatch): STRCONV
6235         (open): ditto
6236
6237         * lyxfont.C (stateText): STRCONV
6238
6239         * importer.C (Import): STRCONV
6240
6241         * counters.C (labelItem): STRCONV
6242         (numberLabel): ditto
6243         (numberLabel): remove unused ostringstream o
6244
6245         * chset.C: STRCONV
6246         (loadFile): ditto
6247
6248         * bufferview_funcs.C (currentState): STRCONV
6249
6250         * buffer.C (readFile): STRCONV
6251         (asciiParagraph): ditto
6252         (makeLaTeXFile): ditto
6253
6254         * Spacing.C (writeEnvirBegin): STRCONV
6255
6256         * LaTeXFeatures.C (getLanguages): STRCONV
6257         (getPackages): ditto
6258         (getMacros): ditto
6259         (getBabelOptions): ditto
6260         (getTClassPreamble): ditto
6261         (getLyXSGMLEntities): ditto
6262         (getIncludedFiles): ditto
6263
6264         * LaTeX.C: STRCONV
6265         (run): ditto
6266         (scanAuxFile): ditto
6267         (deplog): ditto
6268
6269         * LString.h: add the STRCONV macros
6270
6271         * BufferView_pimpl.C (savePosition): STRCONV
6272         (restorePosition): ditto
6273         (MenuInsertLyXFile): ditto
6274
6275         * vc-backend.C (scanMaster): change from submatch[...] to
6276         submatch.str(...)
6277
6278         * funcrequest.C: include config.h
6279
6280         * factory.C: include config.h
6281
6282         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6283
6284         * box.C: include config.h
6285
6286         * LaTeX.C (scanAuxFile): change from submatch[...] to
6287         submatch.str(...)
6288         (deplog): ditto
6289
6290 2002-10-25  Angus Leeming  <leeming@lyx.org>
6291
6292         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6293
6294         * ispell.[Ch] (setError): new method.
6295         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6296         Use setError() insetead of goto END.
6297
6298         * lyx_cb.C (AutoSave): move out child process into new class
6299         AutoSaveBuffer.
6300
6301 2002-10-30  John Levon  <levon@movementarian.org>
6302
6303         * text3.C: make start appendix undoable
6304
6305 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6306
6307         * lyxlength.C (inPixels): Fix returned value.
6308
6309         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6310         environment.
6311
6312 2002-10-24  Angus Leeming  <leeming@lyx.org>
6313
6314         * lyxgluelength.h: no need to forward declare BufferParams
6315         or BufferView, so don't.
6316
6317 2002-10-21  John Levon  <levon@movementarian.org>
6318
6319         * BufferView.C: menuUndo ->undo, redo
6320
6321         * BufferView.h: document, remove dead, make some methods private
6322
6323         * paragraph_funcs.h:
6324         * paragraph_funcs.C:
6325         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6326
6327         * buffer.h:
6328         * buffer.C:
6329         * sgml.h:
6330         * sgml.C: move sgml open/close tag into sgml.C
6331
6332         * bufferview_funcs.h: unused prototype
6333
6334         * lyxfunc.h:
6335         * lyxfunc.C: remove unused
6336
6337         * lyxtext.h:
6338         * text.C: remove unused
6339
6340 2002-10-21  John Levon  <levon@movementarian.org>
6341
6342         * BufferView.h:
6343         * BufferView.C:
6344         * BufferView_pimpl.h:
6345         * BufferView_pimpl.C: fix mouse wheel handling based on
6346           patch from Darren Freeman
6347
6348 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6349
6350         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6351
6352 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6353
6354         * lyxlength.C (inPixels): Fix hanfling of negative length.
6355         Fix LyXLength::MU case.
6356
6357 2002-10-16  John Levon  <levon@movementarian.org>
6358
6359         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6360
6361 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6362
6363         * converter.C (view): add support for $$i (file name) and $$p
6364         (file path) for the viewer command. If $$i is not specified, then
6365         it is appended to the command (for compatibility with old syntax)
6366
6367 2002-10-14  Juergen Vigna  <jug@sad.it>
6368
6369         * undo_funcs.C (textHandleUndo): alter the order in which the
6370         new undopar is added to the LyXText, as we have to set first
6371         the right prev/next and then add it as otherwise the rebuild of
6372         LyXText is not correct. Also reset the cursor to the right paragraph,
6373         with this IMO we could remove the hack in "redoParagraphs()".
6374
6375 2002-10-09  Angus Leeming  <leeming@lyx.org>
6376
6377         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6378         to turn off an optimisation if a new inset is to be inserted.
6379
6380 2002-10-11 André Pönitz <poenitz@gmx.net>
6381
6382         * lyxtext.h: make some functions public to allow access
6383         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6384
6385 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6386
6387         * text3.C (dispatch): when changing layout, avoid an infinite loop
6388         [bug #652]
6389
6390 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6391
6392         * lyxrc.C (read): treat a viewer or converter command of "none" as
6393         if it were empty.
6394
6395         * MenuBackend.C (expandFormats): for an update, also allow the
6396         formats that are not viewable
6397
6398         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6399         script if it is newer than the lyxrc.defaults in user directory
6400
6401 2002-10-07 André Pönitz <poenitz@gmx.net>
6402
6403         * text.C: Vitaly Lipatov's small i18n fix
6404
6405 2002-09-25  Angus Leeming  <leeming@lyx.org>
6406
6407         * ispell.h: doxygen fix.
6408
6409 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6410
6411         * buffer.h (readFile): Add a new argument to the method, to allow
6412         reading of old-format templates.
6413
6414 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6415
6416         * toc.C (getTocList): Get TOC from InsetWrap.
6417
6418 2002-09-16  John Levon  <levon@movementarian.org>
6419
6420         * lyxfunc.C: check tabular for cut/copy too
6421
6422 2002-09-12  John Levon  <levon@movementarian.org>
6423
6424         * LyXAction.C: tidy
6425
6426         * factory.h:
6427         * factory.C: add header
6428
6429         * paragraph_funcs.h:
6430         * paragraph_funcs.C: cleanup
6431
6432 2002-09-11  John Levon  <levon@movementarian.org>
6433
6434         * PrinterParams.h: odd/even default to true
6435
6436 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6437
6438         * PrinterParams.h: update printer parameters for new xforms dialog
6439
6440 2002-09-11  Angus Leeming  <leeming@lyx.org>
6441
6442         * lyxserver.C (read_ready): re-write to make it more transparent
6443         and to make it work in coherent fashion under Tru64 Unix.
6444
6445 2002-09-11  André Pönitz <poenitz@gmx.net>
6446
6447         * commandtags.h:
6448         * LyXAction.C:
6449         * text3.C: implement LFUN_WORDSEL
6450
6451 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6452
6453         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6454         make floatlist_ a boost::shared_ptr<FloatList>
6455
6456         * lyxtextclass.C: include FloatList.h
6457         (LyXTextClass): initialize floatlist_
6458         (TextClassTags): add TC_NOFLOAT
6459         (Read): match "nofloat" to TC_NOFLOAT and use it.
6460         (readFloat): modify call to floatlist_
6461         (floats): ditto
6462         (floats): ditto
6463
6464         * FloatList.[Ch] (FloatList): remove commented out float
6465         initialization.
6466         (erase): new function
6467
6468 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6469
6470         * MenuBackend.C (expandToc): fix crash when there is no document
6471         open
6472
6473 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6474
6475         * many files: Add insetwrap.
6476
6477 2002-09-09  John Levon  <levon@movementarian.org>
6478
6479         * text2.C: remove confusing and awkward depth wraparound
6480
6481 2002-09-09  John Levon  <levon@movementarian.org>
6482
6483         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6484
6485         * buffer.h:
6486         * buffer.C: remove getIncludeonlyList()
6487
6488         * paragraph.C:
6489         * lyxfunc.C: remove headers
6490
6491 2002-09-09  Juergen Vigna  <jug@sad.it>
6492
6493         * text.C (getColumnNearX): fix form Michael this is most
6494         probably a cut&paste bug.
6495
6496 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6497
6498         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6499
6500         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6501         references, ws changes.
6502
6503         * text2.C (init): update counters after init
6504         (insertParagraph): no need to set counter on idividual paragraphs.
6505         (setCounter): access the counters object in the textclass object
6506         on in the buffer object.
6507         (updateCounters): ditto
6508
6509         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6510         shared_ptr<Counters> to avoid loading counters.h in all
6511         compilation units.
6512         (LyXTextClass): initialize ctrs_
6513         (TextClassTags): add TC_COUNTER, and ...
6514         (Read): use it here.
6515         (CounterTags): new tags
6516         (readCounter): new function
6517         (counters): new funtion
6518         (defaultLayoutName): return a const reference
6519
6520         * counters.C (Counters): remove contructor
6521         (newCounter): remove a couple of unneeded statements.
6522         (newCounter): simplify a bit.
6523         (numberLabel): some small formatting changes.
6524
6525         * buffer.[Ch]: remove all traces of counters, move the Counters
6526         object to the LyXTextClass.
6527
6528 2002-09-06  Alain Castera  <castera@in2p3.fr>
6529
6530         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6531         package to set the horizontal alignment on fixed width columns.
6532
6533         * lyx_sty.C:
6534         * lyx_sty.h: added tabularnewline macro def.
6535
6536         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6537
6538 2002-09-06  John Levon  <levon@movementarian.org>
6539
6540         * LyXAction.C: tooltips for sub/superscript
6541
6542         * MenuBackend.C: a bit more verbose
6543
6544         * lyxfunc.C: tiny clean
6545
6546         * undo_funcs.C: document undo_frozen
6547
6548 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6549
6550         * counters.C (Counters): add missing algorithm counter.
6551
6552         * text2.C (setCounter): lookup the counter with layouts latexname
6553         instead of by section number.
6554         (setCounter): use a hackish way to lookup the correct enum
6555         counter.
6556         a float name->type change
6557         reset enum couners with counter name directly instead of depth value.
6558
6559         * counters.C (Counters): remove the push_backs, change to use the
6560         float type not the float name.
6561         (labelItem): remove unused string, float name->type change
6562
6563         * counters.h: don't include vector, loose the enums and sects vectors
6564
6565 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6566
6567         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6568         (Read): add float->TC_FLOAT to textclassTags
6569         (Read): and handle it in the switch
6570         (readFloat): new function
6571
6572         * FloatList.C (FloatList): comment out the hardcoded float
6573         definitions.
6574
6575         * lyxlayout.h: ws change.
6576
6577 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6578
6579         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6580
6581 2002-09-03  Angus Leeming  <leeming@lyx.org>
6582
6583         * BufferView_pimpl.h: qualified name is not allowed in member
6584         declaration: WorkArea & Pimpl::workarea() const;
6585
6586         * factory.C: added using std::endl directive.
6587
6588         * text3.C: added using std::find and std::vector directives.
6589
6590 2002-08-29  André Pönitz <poenitz@gmx.net>
6591
6592         * lyxtext.h:
6593         * text2.C: remove unused member number_of_rows
6594
6595         * Makefile.am:
6596         * BufferView2.C: remove file, move contents to...
6597         * BufferView.C: ... here
6598
6599         * BufferView_pimpl.C:
6600         * factory.C: move more inset creation to factory
6601
6602         * vspace.C: avoid direct usage of LyXText, ws changes
6603
6604         * BufferView.[Ch]:
6605                 don't provide direct access to WorkArea, use two simple
6606                 acessors haveSelction() and workHeight() instead
6607
6608
6609 2002-08-29  John Levon  <levon@movementarian.org>
6610
6611         * BufferView_pimpl.C (dispatch): do not continue when
6612           no buffer
6613
6614 2002-08-28  André Pönitz <poenitz@gmx.net>
6615
6616         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6617
6618         * BufferView.h:
6619         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6620
6621 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6622
6623         * buffer.C: increment LYX_FORMAT to 221
6624
6625         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6626         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6627
6628         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6629
6630         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6631
6632 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6633
6634         * factory.C (createInset): use LyXTextClass::floats
6635
6636         * MenuBackend.C (expandFloatListInsert):
6637         (expandFloatInsert):
6638         (expandToc):
6639
6640         * text2.C (setCounter):
6641
6642         * LaTeXFeatures.C (useFloat):
6643         (getFloatDefinitions):
6644
6645         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6646
6647         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6648         floatlist_, with accessor floats().
6649
6650         * FloatList.h: remove global FloatList
6651
6652 2002-08-26  André Pönitz <poenitz@gmx.net>
6653
6654         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6655
6656         * BufferView.h:
6657         * BufferView2.C:
6658         * BufferView_pimpl.C:
6659         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6660
6661 2002-08-25  John Levon  <levon@movementarian.org>
6662
6663         * LyXAction.C: fix margin note description
6664
6665 2002-08-24  John Levon  <levon@movementarian.org>
6666
6667         * buffer.C:
6668         * bufferlist.C:
6669         * bufferview_funcs.C:
6670         * lyxfont.C:
6671         * undo_funcs.C: cleanups
6672
6673         * lyxfunc.C: disable CUT/COPY when no selection
6674
6675 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6676
6677         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6678         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6679
6680         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6681         Add backward compatibility to "mono", "gray" and "no".
6682
6683 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6684
6685         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6686         (and file_format >= 200).
6687
6688 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6689
6690         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6691
6692 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6693
6694         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6695
6696 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6697
6698         * BufferView_pimpl.C:
6699         * LyXAction.C:
6700         * buffer.C:
6701         * commandtags.h:
6702         * lyxfunc.C:
6703         * paragraph.[Ch]:
6704         * text2.C:
6705         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6706         inset and code to make it  work with the paragraph code. The inset
6707         can be anywhere in the paragraph, but will only do the expected
6708         thing in LaTeX if the layout file contains the parameter line
6709                         OptionalArgs    1
6710         (or more generally, a nonzero value) for that layout.
6711
6712 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6713
6714         * paragraph.h: remove the declaration of undefined counters class
6715         function.
6716
6717 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6718
6719         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6720         Dr. Richard Hawkins.
6721
6722 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6723
6724         * paragraph_funcs.h: remove some unneeded includes
6725
6726         * text.C (backspace): pasteParagraph now in global scipe
6727
6728         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6729         (pasteSelection): ditto
6730
6731         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6732         * paragraph_funcs.C (pasteParagraph): ... here
6733
6734 2002-08-20  André Pönitz <poenitz@gmx.net>
6735
6736         * commandtags.h: new LFUNs for swapping/copying table row/colums
6737
6738         * LyXAction.C:
6739         * lyxfunc.C: support for new lfuns
6740
6741 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6742
6743         * tabular.C:
6744         * buffer.[Ch]: remove NO_COMPABILITY stuff
6745
6746 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6747
6748         * boost.C (throw_exception): new file, with helper function for
6749         boost compiled without exceptions.
6750
6751         * paragraph.h:
6752         * lyxlength.C:
6753         * buffer.C:
6754         * ParameterStruct.h:
6755         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6756
6757         * bufferlist.C (emergencyWriteAll): use boost bind
6758
6759         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6760
6761         * text.C: include paragraph_funcs.h
6762         (breakParagraph): breakParagraph is now in global scope
6763
6764         * paragraph_funcs.[Ch]: new files
6765
6766         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6767         global scope
6768
6769         * buffer.C: include paragraph_funcs.h
6770         (insertStringAsLines): breakParagraph is now in global scope
6771
6772         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6773         paragraph_funcs.C
6774
6775         * CutAndPaste.C: include paragraph_funcs.h
6776         (cutSelection): breakParagraphConservative is now in global scope
6777         (pasteSelection): ditto
6778
6779         * buffer.h: declare oprator== and operator!= for
6780         Buffer::inset_iterator
6781
6782         * bufferlist.C (emergencyWrite): don't use fmt(...)
6783
6784         * text3.C: add using std::endl
6785
6786         * BufferView.C (moveCursorUpdate): remove default arg
6787
6788 2002-08-20  André Pönitz <poenitz@gmx.net>
6789
6790         * buffer.[Ch]: move inline functions to .C
6791
6792         * BufferView2.C:
6793         * BufferView_pimpl.C:
6794         * text.C:
6795         * buffer.[Ch]: use improved inset_iterator
6796
6797         * buffer.C:
6798         * paragraph.[Ch]: write one paragraph at a time
6799
6800 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6801
6802         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6803         style if style is not specified.
6804
6805 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6806
6807         * text2.C (setCounter): when searching for right label for a
6808         caption, make sure to recurse to parent insets (so that a caption
6809         in a minipage in a figure float works) (bug #568)
6810
6811 2002-08-20  André Pönitz <poenitz@gmx.net>
6812
6813         * text3.C: new file for LyXText::dispatch() and helpers
6814
6815         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6816
6817         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6818
6819 2002-08-19  André Pönitz <poenitz@gmx.net>
6820
6821         * lyxtext.h:
6822         * text.C: new LyXText::dispatch()
6823
6824         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6825
6826 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6827
6828         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6829
6830         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6831         Hebrew text.
6832
6833 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6834
6835         * Makefile.am: use $(variables) instead of @substitutions@
6836
6837 2002-08-15  André Pönitz <poenitz@gmx.net>
6838
6839         * lyxfunc.C:
6840         * BufferView_pimpl.C: streamlining mathed <-> outer world
6841         interaction
6842
6843         * commandtags.h:
6844         * LyXAction.C: remove unused LFUN_MATH
6845
6846 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6847
6848         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6849
6850 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6851
6852         * paragraph.C (Paragraph): reformat a bit
6853         (cutIntoMinibuffer): use builtin InsetList function instad of
6854         doing it manually.
6855         (getInset): ditto
6856
6857         * buffer.C: include boost/bind.hpp, add using std::for_each
6858         (writeFileAscii): use ParagraphList iterators
6859         (validate): use for_each for validate traversal of paragraphs
6860         (getBibkeyList): use ParagraphList iterators
6861         (resizeInsets): use for_each to resizeInsetsLyXText for all
6862         paragraphs.
6863         (getParFromID): use ParagraphList iterators
6864
6865         * BufferView2.C (lockInset): use paragraph list and iterators
6866
6867 2002-08-14  John Levon  <levon@movementarian.org>
6868
6869         * lyxserver.C: remove spurious xforms include
6870
6871 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6872
6873         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6874
6875 2002-08-13  André Pönitz <poenitz@gmx.net>
6876
6877         * LyXAction.[Ch]:
6878         * lyxfunc.C: further cleaning
6879
6880 2002-08-13  André Pönitz <poenitz@gmx.net>
6881
6882         * funcrequest.h: new constructor
6883
6884         * funcrequest.C: move stuff here from .h
6885
6886         * Makefile.am:
6887         * BufferView_pimpl.C:
6888         * LyXAction.C:
6889         * toc.C:
6890         * lyxfunc.C: subsequent changes
6891
6892         * lyxfunc.h: new view() member function
6893
6894         * lyxfunc.C: subsequent changes
6895
6896 2002-08-13  Angus Leeming  <leeming@lyx.org>
6897
6898         * BufferView2.C:
6899         * BufferView_pimpl.C:
6900         * buffer.C:
6901         * converter.C:
6902         * importer.C:
6903         * lyxfunc.C:
6904         * lyxvc.C:
6905         * toc.C:
6906         * vc-backend.C:
6907         changes due to the changed LyXView interface that now returns references
6908         to member variables not pointers.
6909
6910 2002-08-13  Angus Leeming  <leeming@lyx.org>
6911
6912         * WordLangTuple (word, lang_code): return references to strings,
6913         not strings.
6914
6915         * BufferView.h:
6916         * SpellBase.h:
6917         * lyxtext.h: forward-declare WordLangTuple.
6918
6919         * BufferView2.C:
6920         * ispell.C:
6921         * pspell.C:
6922         * text.C: #include "WordLangTuple.h".
6923
6924         * lyxtext.h:
6925         * text.C: (selectNextWordToSpellcheck): constify return type.
6926
6927 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6928
6929         * buffer.C:
6930         * buffer.h:
6931         * lyxtext.h:
6932         * paragraph.C:
6933         * paragraph_pimpl.h:
6934         * text.C:
6935         * text2.C:
6936         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6937         suggested by Angus.
6938         Made updateCounter always count from start of buffer, and removed
6939         second argument (par).
6940         Reverted floats number display to '#'. Perhaps I'll try again when the
6941         code base is sanitized a bit.
6942
6943 2002-08-12  Angus Leeming  <leeming@lyx.org>
6944
6945         * buffer.[Ch] (getLabelList): constify.
6946
6947 2002-08-07  André Pönitz <poenitz@gmx.net>
6948
6949         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6950
6951         * funcrequest.h: extension to keep mouse (x,y) position
6952
6953 2002-08-12  Juergen Vigna  <jug@sad.it>
6954
6955         * BufferView2.C (insertErrors): forbid undo when inserting error
6956         insets.
6957
6958         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6959
6960 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6961
6962         * ParagraphList.[Ch]: new files
6963
6964         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6965
6966         * BufferView2.C (lockInset): ParagraphList changes
6967         * toc.C: ditto
6968         * text2.C: ditto
6969         * bufferlist.C: ditto
6970         * buffer.h: ditto
6971         * buffer.C: ditto
6972
6973 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6974
6975         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6976         unused class variable counter_,
6977
6978         * paragraph.[Ch] (getFirstCounter): delete unused function
6979
6980         * counters.C: include LAssert.h
6981         (reset): add a new function with no arg, change other version to
6982         not have def. arg and to not allow empty arg.
6983
6984         * text2.C (setCounter): remove empty arg from call to Counters::reset
6985
6986 2002-08-11  John Levon  <levon@movementarian.org>
6987
6988         * Makefile.am: add WordLangTuple.h
6989
6990 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6991
6992         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6993         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6994
6995         * insets/insettext.C: InsetList changes
6996
6997         * graphics/GraphicsSupport.C (operator()): InsetList changes
6998
6999         * toc.C (getTocList): InsetList changes
7000
7001         * paragraph_pimpl.[Ch]: InsetList changes
7002
7003         * paragraph.[Ch]: InsetList changes
7004
7005         * buffer.C (inset_iterator): InsetList changes
7006         (setParagraph): ditto
7007         * buffer.h (inset_iterator): ditto
7008         * iterators.C (operator++): ditto
7009         * iterators.h: ditto
7010
7011         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7012
7013         * InsetList.[Ch]: new files, most InsetList handling moved out of
7014         paragraph.C.
7015
7016         * BufferView2.C (removeAutoInsets): InsetList changes
7017         (lockInset): ditto
7018         (ChangeInsets): ditto
7019
7020 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7021
7022         * paragraph_pimpl.h (empty): new function
7023
7024         * paragraph.[Ch] (empty): new function
7025
7026         * other files: use the new Paragraph::empty function
7027
7028 2002-08-09  John Levon  <levon@movementarian.org>
7029
7030         * lyxtext.h: remove unused refresh_height
7031
7032 2002-08-09  John Levon  <levon@movementarian.org>
7033
7034         * Makefile.am:
7035         * sgml.h:
7036         * sgml.C:
7037         * buffer.C:
7038         * paragraph.h:
7039         * paragraph.C: move sgml char escaping out of paragraph
7040
7041         * paragraph.h:
7042         * paragraph.C: remove id setter
7043
7044         * buffer.C:
7045         * paragraph.C:
7046         * paragraph_pimpl.C: remove dead tex_code_break_column
7047
7048         * bufferview_funcs.C: small cleanup
7049
7050         * lyxfunc.C: remove dead proto
7051
7052         * lyxtext.h: make some stuff private. Remove some dead stuff.
7053
7054         * lyxgluelength.C: make as[LyX]String() readable
7055
7056 2002-08-08  John Levon  <levon@movementarian.org>
7057
7058         * LyXAction.h:
7059         * LyXAction.C:
7060         * MenuBackend.C:
7061         * ToolbarDefaults.C:
7062         * lyxfunc.C:
7063         * lyxrc.C:
7064         * toc.C: lyxaction cleanup
7065
7066 2002-08-08  John Levon  <levon@movementarian.org>
7067
7068         * BufferView2.C: small cleanup
7069
7070         * lyxfind.h:
7071         * lyxfind.C: move unnecessary header into the .C
7072
7073 2002-08-08  John Levon  <levon@movementarian.org>
7074
7075         * funcrequest.h: just tedious nonsense
7076
7077         * lyx_main.h:
7078         * lyx_main.C: cleanups
7079
7080         * buffer.C:
7081         * vspace.C: remove dead header lyx_main.h
7082
7083 2002-08-07  Angus Leeming  <leeming@lyx.org>
7084
7085         * Paragraph.[Ch]:
7086         * paragraph_pimpl.h:
7087         Forward declare class Counters in paragraph.h by moving the ctrs member
7088         variable into Paragraph::Pimpl.
7089         (counters): new method, returning a reference to pimpl_->ctrs.
7090
7091         * text2.C: ensuing changes.
7092
7093 2002-08-07  John Levon  <levon@movementarian.org>
7094
7095         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7096
7097         * BufferView_pimpl.C: announce X selection on double/triple
7098           click
7099
7100         * lyx_main.C: use correct bool in batch dispatch
7101
7102         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7103
7104 2002-08-07  André Pönitz <poenitz@gmx.net>
7105
7106         * funcrequest.h: new class to wrap a kb_action and its argument
7107
7108         * BufferView.[Ch]:
7109         * BufferView_pimpl[Ch]:
7110         * LaTeX.C:
7111         * LyXAction.[Ch]:
7112         * lyxfunc.[Ch]:
7113         * lyxrc.C: subsequent changes
7114
7115
7116 2002-08-07  John Levon  <levon@movementarian.org>
7117
7118         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7119           document options change.
7120
7121 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7122
7123         * counters.[Ch]
7124         * text2.C
7125         * paragraph.[Ch]
7126         * makefile.am: move counters functionality over from
7127         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7128
7129 2002-08-06  John Levon  <levon@movementarian.org>
7130
7131         * WordLangTuple.h: new file for word + language code tuple
7132
7133         * SpellBase.h:
7134         * pspell.h:
7135         * pspell.C:
7136         * ispell.h:
7137         * ispell.C:
7138         * lyxtext.h:
7139         * text.C:
7140         * text2.C:
7141         * BufferView.h:
7142         * BufferView2.C: use WordLangTuple
7143
7144         * layout.h:
7145         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7146
7147 2002-08-06  John Levon  <levon@movementarian.org>
7148
7149         * lyx_main.C: fix cmdline batch handling
7150
7151 2002-08-06  André Pönitz <poenitz@gmx.net>
7152
7153         * lyxrc.C: set default for show_banner to true
7154
7155 2002-08-06  John Levon  <levon@movementarian.org>
7156
7157         * pspell.C: fix a crash, and allow new aspell to work
7158
7159 2002-08-06  John Levon  <levon@movementarian.org>
7160
7161         * lyxfunc.C:
7162         * kbmap.C: small cleanup
7163
7164         * vspace.h:
7165         * vspace.C: add const
7166
7167 2002-08-05  John Levon  <levon@movementarian.org>
7168
7169         * LyXAction.C: back to tabular-insert
7170
7171 2002-08-04  John Levon  <levon@movementarian.org>
7172
7173         * BufferView.h:
7174         * BufferView.C: cosmetic change
7175
7176         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7177
7178         * bufferlist.C:
7179         * buffer.h:
7180         * buffer.C:
7181         * lyxcb.h:
7182         * lyxcb.C:
7183         * lyxserver.C:
7184         * lyxvc.C:
7185         * vc-backend.C:
7186         * BufferView2.C: purge all "Lyx" not "LyX" strings
7187
7188         * lyxcursor.h:
7189         * lyxcursor.C: attempt to add some documentation
7190
7191         * lyxfunc.C:
7192         * commandtags.h:
7193         * LyXAction.C:
7194         * ToolbarDefaults.C:
7195         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7196           merge with LFUN_TABULAR_INSERT
7197
7198         * Makefile.am:
7199         * SpellBase.h:
7200         * ispell.h:
7201         * ispell.C:
7202         * pspell.h:
7203         * pspell.C: split up i/pspell implementations into separate
7204           files, many cleanups
7205
7206         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7207
7208         * text2.C: some cleanup
7209
7210         * lyxfunc.C: don't check for isp_command == "none" any more, it
7211           didn't make any sense
7212
7213 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7214
7215         * counters.[Ch]
7216         * text2.C
7217         * paragraph.[Ch]
7218         * makefile.am: move counters functionality over
7219         from text2.C/paragraph.[Ch] to counters.[Ch], and
7220         make proper C++.
7221 2002-08-02  John Levon  <levon@movementarian.org>
7222
7223         * buffer.C: s/lyxconvert/lyx2lyx/
7224
7225 2002-08-02  Angus Leeming  <leeming@lyx.org>
7226
7227         * lyxlex.C: revert John's change as it breaks reading of the user
7228         preamble.
7229
7230 2002-08-02  Angus Leeming  <leeming@lyx.org>
7231
7232         * importer.C (Import):
7233         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7234         changes due to LyXView::view() now returning a boost::shared_ptr.
7235
7236 2002-08-02  John Levon  <levon@movementarian.org>
7237
7238         * lyxlex.C: small cleanup
7239
7240 2002-08-02  John Levon  <levon@movementarian.org>
7241
7242         * text2.C (status): small cleanup, no logic change
7243
7244 2002-08-01  John Levon  <levon@movementarian.org>
7245
7246         * buffer.h:
7247         * buffer.C (writeFile): don't output alerts, caller
7248           handles this
7249
7250         * bufferlist.C:
7251         * lyx_cb.C: from above
7252
7253         * lyxfunc.C: allow to open non-existent files
7254
7255 2002-07-31  John Levon  <levon@movementarian.org>
7256
7257         * lyxserver.C: don't let incidental errors get
7258           in the way (errno)
7259
7260 2002-07-30  John Levon  <levon@movementarian.org>
7261
7262         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7263
7264 2002-07-30  John Levon  <levon@movementarian.org>
7265
7266         * lyxserver.h:
7267         * lyxserver.C: remove I/O callback too
7268
7269 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7270
7271         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7272         log.
7273
7274 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7275
7276         * many files: strip,frontStrip -> trim,ltrim,rtrim
7277
7278 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7279
7280         * PrinterParams.h: remove extern containsOnly, and include
7281         support/lstrings.h instead.
7282
7283         * LaTeX.C (scanAuxFile): modify because of strip changes
7284         (deplog): ditto
7285         * buffer.C (makeLaTeXFile): ditto
7286         * bufferparams.C (writeFile): ditt
7287         * lyxfont.C (stateText): ditto
7288         * lyxserver.C (read_ready): ditto
7289         * vc-backend.C (scanMaster): ditto
7290
7291         * BufferView_pimpl.h: ws changes
7292
7293         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7294
7295 2002-07-26  André Pönitz <poenitz@gmx.net>
7296
7297         * kb_sequence.C: remove unnedred usings
7298
7299 2002-07-26  Juergen Vigna  <jug@sad.it>
7300
7301         * lyxfind.C (LyXReplace): we have to check better if the returned
7302         text is not of theLockingInset()->getLockingInset().
7303
7304 2002-07-25  Juergen Vigna  <jug@sad.it>
7305
7306         * lyxfind.C (LyXReplace): don't replace if we don't get the
7307         right LyXText.
7308
7309         * undo_funcs.C (createUndo): remove debugging code.
7310
7311 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7312
7313         * buffer.C (parseSingleLyXformat2Token): Use default placement
7314         when reading old floats.
7315
7316         * FloatList.C (FloatList): Change the default placement of figure
7317         and tables to "tbp".
7318
7319 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7320
7321         * MenuBackend.C: using std::max
7322
7323 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7324
7325         * MenuBackend.C (expandToc):
7326         (expandToc2): code moved from xforms menu frontend. It is now
7327         generic and TOCs are transparent to menu frontends.
7328
7329 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7330
7331         * toc.C (getTocList): protect against buf=0
7332
7333         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7334         Menu as first parameter. Now, this calls itself recursively to
7335         expand a whole tree (this will be useful for TOC handling)
7336         (expandFloatInsert): remove 'wide' version of floats
7337
7338         * MenuBackend.h (submenuname): returns the name of the submenu.
7339         (submenu): returns the submenu itself, provided it has been
7340         created by MenuBackend::expand
7341
7342 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7343
7344         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7345         insets which have noFontChange == true. (bug #172)
7346
7347 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7348
7349         * BufferView_pimpl.C: add connection objects and use them...
7350         (Pimpl): here.
7351
7352 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7353
7354         * MenuBackend.C (expandLastfiles):
7355         (expandDocuments):
7356         (expandFormats):
7357         (expandFloatListInsert):
7358         (expandFloatInsert):
7359         (expand): split expand in parts
7360
7361 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7362
7363         * lyx_gui.C: use lyx_gui::exit()
7364
7365 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7366
7367         * LyXAction.C: show the failing pseudo action
7368
7369 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7370
7371         * buffer.C (readFile): Run the lyxconvert script in order to read
7372         old files.
7373
7374 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7375
7376         * LyXAction.C:
7377         * commandtags.h:
7378         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7379
7380 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7381
7382         * LyXAction.C:
7383         * commandtags.h:
7384         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7385
7386 2002-07-22  Herbert Voss  <voss@lyx.org>
7387
7388         * lengthcommon.C:
7389         * lyxlength.[Ch]: add support for the vertical lengths
7390
7391 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7392
7393         * toc.[Ch]: std:: fixes
7394
7395 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7396
7397         * lyxrc.C: do not include lyx_main.h
7398
7399         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7400         for layouts
7401
7402         * lyxrc.C:
7403         * encoding.C:
7404         * bufferlist.C:
7405         * BufferView2.C: include "lyxlex.h"
7406
7407         * tabular.h:
7408         * bufferparams.h: do not #include "lyxlex.h"
7409
7410         * lyxtextclasslist.C (Add): remove method
7411         (classlist): renamed to classlist_
7412
7413         * paragraph_pimpl.C:
7414         * paragraph.C:
7415         * text2.C:
7416         * CutAndPaste.C:
7417         * bufferview_funcs.C:
7418         * bufferlist.C:
7419         * text.C:
7420         * LaTeXFeatures.C:
7421         * buffer.C:
7422         * toc.C (getTocList): use BufferParams::getLyXTextClass
7423
7424         * toc.C (getTocList): use InsetFloat::addToToc
7425
7426         * toc.[Ch]: new files, containing helper functions to handle table
7427         of contents
7428
7429         * lyxfunc.C (dispatch): no need to remove spaces around command
7430         given as a string
7431         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7432         first command of the sequence; it is not very clever, but I do not
7433         have a better idea, actually
7434
7435         * LyXAction.C (LookupFunc): make sure to remove space at the
7436         beginning and end of the command
7437
7438 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7439
7440         * MenuBackend.C (getMenubar): new method: return the menubar of
7441         this menu set
7442         (read): treat differently reading of menu and menubar (in
7443         particular, the menubar has no name now)
7444         (Menu::menubar): remove
7445
7446         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7447         saving is finished
7448
7449 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7450
7451         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7452         a bibitem inset in a RTL paragraph.
7453
7454 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7455
7456         * paragraph_pimpl.C: constify
7457
7458         * BufferView_pimpl.C:
7459         * LaTeX.C:
7460         * lyxfunc.C: fix dispatch in a nicer way
7461
7462 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7463
7464         * lyxfunc.C (dispatch):
7465         * BufferView_pimpl.C:
7466         * BufferView_pimpl.h:
7467         * BufferView.C:
7468         * BufferView.h: rename Dispatch() to dispatch()
7469
7470         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7471
7472         * lyxlayout.C (Read): honor DependsOn tag
7473
7474         * lyxlayout.[Ch] (depends_on): new method
7475
7476         * version.C.in: update lyx_docversion
7477
7478         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7479
7480         * paragraph.C (validate): remove from here...
7481         * paragraph_pimpl.C (validate): ... and move here
7482         (isTextAt): make it const
7483
7484         * buffer.C (getLists): ws cleanup
7485
7486 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7487
7488         * language.C (read): Use iso8859-1 encoding in latex_lang
7489         (this prevents LyX from crashing when using iso10646-1 encoding).
7490
7491 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7492
7493         * text2.C (toggleInset): if cursor is inside an inset, close the
7494         inset and leave cursor _after_ it
7495
7496 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7497
7498         * lyxfunc.C: move minibuffer completion handling out of here
7499
7500 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7501
7502         * BufferView_pimpl.C:
7503         * LaTeX.C: fix dispatch calls
7504
7505 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7506
7507         * text.C (drawChars): Fix Arabic text rendering.
7508
7509 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7510
7511         * LyXAction.C:
7512         * commandtags.h:
7513         * lyxfunc.C: remove message-push/pop
7514
7515         * lyxserver.C:
7516         * lyxfunc.h:
7517         * lyxfunc.C: rationalise some code by removing verboseDispatch
7518           in favour of a bool argument to dispatch()
7519
7520 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7521
7522         * lyx_main.C (init): make sure to read symlinks as absolute paths
7523
7524 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7525
7526         * lyxfunc.h:
7527         * lyxfunc.C: no need for commandshortcut to be a member
7528
7529 2002-07-15  André Pönitz <poenitz@gmx.net>
7530
7531         * converter.C: add support for $$s (scripts from lib/scripts dir)
7532         * lyx_main.C: white space
7533
7534 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7535
7536         * bufferlist.C:
7537         * lyxrc.h:
7538         * lyxrc.C: remove second exit confirmation
7539
7540 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7541
7542         * BufferView.h:
7543         * BufferView.C:
7544         * BufferView2.C:
7545         * BufferView_pimpl.h:
7546         * BufferView_pimpl.C:
7547         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7548
7549 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7550
7551         * MenuBackend.C (expand): add numeric shortcuts to document menu
7552
7553         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7554
7555 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7556
7557         * lyxfont.C (setLyXFamily):
7558         (setLyXSeries):
7559         (setLyXShape):
7560         (setLyXSize):
7561         (setLyXMisc):
7562         (lyxRead):
7563         * debug.C (value):
7564         * buffer.C (asciiParagraph): use ascii_lowercase
7565
7566 2002-07-15  Mike Fabian  <mfabian@suse.de>
7567
7568         * lyxlex_pimpl.C (search_kw):
7569         * lyxlex.C (getLongString):
7570         * converter.h (operator<):
7571         * converter.C (operator<):
7572         * buffer.C (parseSingleLyXformat2Token):
7573         (asciiParagraph):
7574         * ToolbarDefaults.C (read):
7575         * MenuBackend.C (checkShortcuts):
7576         (read):
7577         * LColor.C (getFromGUIName):
7578         (getFromLyXName): use the compare_ascii_no_case instead of
7579         compare_no_case, because in turkish, 'i' is not the lowercase
7580         version of 'I', and thus turkish locale breaks parsing of tags.
7581
7582 2002-07-16  Angus Leeming  <leeming@lyx.org>
7583
7584         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7585         now takes a Buffer const & argument.
7586
7587 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7588
7589         * BufferView.C (resize): check there's a buffer to resize
7590
7591 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7592
7593         * lyxfunc.C: remove dead code
7594
7595         * lyxserver.h:
7596         * lyxserver.C: use lyx_guii::set_read_callback
7597
7598 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7599
7600         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7601         an inset in a RTL paragraph.
7602
7603 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7604
7605         * lyxfunc.C: repaint after a font size update
7606
7607 2002-07-15  André Pönitz <poenitz@gmx.net>
7608
7609         * lyxlength.C: inBP should be able to return negative values
7610
7611 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7612
7613         * lyxfunc.C: use lyx_gui::update_fonts()
7614
7615 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7616
7617         * lyxfunc.C: use lyx_gui::update_color()
7618
7619 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7620
7621         * bufferlist.C:
7622         * lyxfunc.h:
7623         * lyxfunc.C:
7624         * lyxrc.h:
7625         * lyxrc.C: remove file->new asks for name option, and let
7626           buffer-new take an argument
7627
7628 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7629
7630         * BufferView_pimpl.C: remove unneeded extra repaint()
7631
7632 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7633
7634         * LyXAction.C: allow command-sequence with NoBuffer
7635
7636         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7637
7638 2002-07-10  Angus Leeming  <leeming@lyx.org>
7639
7640         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7641
7642 2002-07-09  Angus Leeming  <leeming@lyx.org>
7643
7644         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7645
7646 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7647
7648         * lengthcommon.h: whitespace
7649
7650         * lyxfunc.C: update scrollbar after goto paragraph
7651
7652         * lyxtext.h: factor out page break drawing, and fix it so
7653           page break/added space paints as selected nicely
7654
7655 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7656
7657         * BufferView_pimpl.C: add FIXMEs, clean up a little
7658
7659 2002-07-09  André Pönitz <poenitz@gmx.net>
7660
7661         * lyxfont.[Ch]: support for wasy symbols
7662
7663 2002-07-08  André Pönitz <poenitz@gmx.net>
7664
7665         * BufferView_pimpl.C: apply John's patch for #93.
7666
7667 2002-07-05  Angus Leeming  <leeming@lyx.org>
7668
7669         * BufferView_pimpl.C (buffer): generate previews if desired.
7670
7671         * LColor.h: add "preview" to the color enum.
7672
7673         * LColor.C (LColor): add a corresponding entry to the items array.
7674
7675         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7676         with this buffer.
7677
7678 2002-07-05  Angus Leeming  <leeming@lyx.org>
7679
7680         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7681         The body of the code is now in the method that is passed an ostream &
7682         rather than a file name.
7683         Pass an additional only_preamble parameter, useful for the forthcoming
7684         preview stuff.
7685
7686 2002-07-03  André Pönitz <poenitz@gmx.net>
7687
7688         * lyxfunc.C: simplify getStatus() a bit for math stuff
7689
7690 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7691
7692         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7693
7694 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7695
7696         * text.C (changeRegionCase): do not change case of all the
7697         document when region ends at paragraph end (bug #461)
7698
7699 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7700
7701         * paragraph.C (startTeXParParams):
7702         (endTeXParParams): add \protect when necessary
7703
7704 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7705
7706         * BufferView_pimpl.C (workAreaExpose): remove warning
7707
7708 2002-06-27  Angus Leeming  <leeming@lyx.org>
7709
7710         * Makefile.am: add lyxlayout_ptr_fwd.h.
7711
7712 2002-06-26  André Pönitz <poenitz@gmx.net>
7713
7714         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7715
7716 2002-06-25  Angus Leeming  <leeming@lyx.org>
7717
7718         * lyxfunc.C (dispatch): Comment out the call to
7719         grfx::GCache::changeDisplay. The method no longer exists now that the
7720         pixmap generation part of the graphics loader has been moved into
7721         InsetGraphics.
7722
7723 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7724
7725         * text2.C: layout as layout
7726
7727         * text.C: layout as layout
7728
7729         * tabular.C (OldFormatRead): layout as layout
7730
7731         * paragraph_pimpl.C (TeXDeeper): layout as layout
7732         (realizeFont): layout as layout
7733
7734         * paragraph.C (writeFile): layout as layout
7735         (validate): layout as layout
7736         (getFont): layout as layout
7737         (getLabelFont): layout as layout
7738         (getLayoutFont): layout as layout
7739         (breakParagraph): layout as layout
7740         (stripLeadingSpaces): layout as layout
7741         (getEndLabel): layout as layout
7742         (getMaxDepthAfter): layout as layout
7743         (applyLayout): layout as layout
7744         (TeXOnePar): layout as layout
7745         (simpleTeXOnePar): layout as layout
7746         (TeXEnvironment): layout as layout
7747         (layout): layout as layout
7748         (layout): layout as layout
7749
7750         * lyxtextclass.C (compare_name): new functor to work with
7751         shared_ptr, layout as layout
7752         (Read): layout as layout
7753         (hasLayout): layout as layout
7754         (operator): layout as layout
7755         (delete_layout): layout as layout
7756         (defaultLayout): layout as layout
7757
7758         * lyxlayout_ptr_fwd.h: new file
7759
7760         * lyxlayout.C (Read): layout as layout
7761
7762         * lyx_cb.C (MenuInsertLabel): layout as layout
7763
7764         * bufferlist.C (newFile): layout as layout
7765
7766         * buffer.C (readLyXformat2): layout as layout
7767         (parseSingleLyXformat2Token): layout as layout
7768         (insertStringAsLines): layout as layout
7769         (asciiParagraph): layout as layout
7770         (latexParagraphs): layout as layout
7771         (makeLinuxDocFile): layout as layout
7772         (simpleLinuxDocOnePar): layout as layout
7773         (makeDocBookFile): layout as layout
7774         (simpleDocBookOnePar): layout as layout
7775         (getLists): layout as layout
7776
7777         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7778
7779         * CutAndPaste.C (cutSelection): layout as layout
7780         (pasteSelection): layout as layout
7781         (SwitchLayoutsBetweenClasses): layout as layout
7782
7783         * BufferView_pimpl.C (Dispatch): layout as layout
7784         (smartQuote): layout as layout
7785
7786         * BufferView2.C (unlockInset): layout as layout
7787
7788 2002-06-24  André Pönitz <poenitz@gmx.net>
7789
7790         * lyxfunc.C: fix #487
7791
7792 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7793
7794         * lyxrc.h:
7795         * lyxrc.C:
7796         * lyxfunc.C: remove display_shortcuts, show_banner
7797
7798 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7799
7800         * Buffer_pimpl.C: oops, update on resize
7801
7802 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7803
7804         * buffer.C:
7805         * converter.C:
7806         * exporter.C:
7807         * lyxfunc.C:
7808         * BufferView.h:
7809         * BufferView.C: use repaint()
7810
7811         * BufferView_pimpl.h:
7812         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7813           as it's a clearer description. Remove superfluous
7814           redraws.
7815
7816 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7817
7818         * text.C: fix bug 488. Not ideal, but getting
7819           getWord() to work properly for the insets that
7820           matter is more difficult ...
7821
7822 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7823
7824         * BufferView_pimpl.C:
7825         * LyXAction.C:
7826         * commandtags.h:
7827         * lyxfunc.C: remove the six million index lyxfuncs to just
7828           one, and DTRT (bug 458)
7829
7830 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7831
7832         * BufferView.h:
7833         * BufferView.C:
7834         * BufferView_pimpl.h:
7835         * BufferView_pimpl.C: clean up resize() stuff,
7836           and unnecessary updateScreen()s
7837
7838 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7839
7840         * BufferView.h:
7841         * BufferView.C:
7842         * BufferView_pimpl.h:
7843         * BufferView_pimpl.C:
7844         * lyxfind.h:
7845         * lyxfind.C:
7846         * minibuffer.C: remove focus management of workarea,
7847           not needed. Use screen's greyOut()
7848
7849 2002-06-17  Herbert Voss  <voss@lyx.org>
7850
7851         * converter.C: (convert) do not post a message, when converting
7852         fails, let the calling function decide what to do in this case
7853
7854 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7855
7856         * lyxfunc.C: tidy up a little
7857
7858 2002-06-16    <alstrup@diku.dk>
7859
7860         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7861         Got rid of FORMS_H_LOCATION include. Now we are
7862         GUII.
7863
7864 2002-06-15  LyX Development team  <lyx@rilke>
7865
7866         * buffer.[Ch] (sgmlOpenTag):
7867         (sgmlCloseTag): Added support for avoiding pernicious mixed
7868         content. Return number of lines written.
7869
7870         (makeLinuxDocFile):
7871         (makeDocBookFile): Fixed calls to sgml*Tag.
7872         Simple white space clean.
7873
7874         (simpleDocBookOnePar): Simple white space clean.
7875
7876         * tabular.[Ch] (docBook): Renamed to docbook and got another
7877         argument to related with the pernicious mixed content.
7878
7879         (docbookRow): Fixed calls for docbook inset method.
7880
7881 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7882
7883         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7884         so it's X11 independent.
7885
7886         * kb*.[Ch]: ditto.
7887
7888         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7889
7890 2002-06-15  Lyx Development team  <lyx@electronia>
7891
7892         * intl.h: Renamed getTrans to getTransManager.
7893
7894 2002-06-14  Angus Leeming  <leeming@lyx.org>
7895
7896         * Makefile.am: nuke forgotten stl_string_fwd.h.
7897
7898 2002-06-12  Angus Leeming  <leeming@lyx.org>
7899
7900         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7901
7902 2002-06-13  Angus Leeming  <leeming@lyx.org>
7903
7904         * LaTeX.C:
7905         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7906
7907 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7908
7909         * kbmap.C (getiso): add support for cyrillic and greek
7910
7911 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7912
7913         * BufferView.h:
7914         * BufferView.C:
7915         * BufferView_pimpl.h:
7916         * BufferView_pimpl.C: move bogus scrolling logic
7917           to xforms
7918
7919 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7920
7921         * lyxfunc.C:
7922         * BufferView_pimpl.C: view->resize() change
7923
7924 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7925
7926         * BufferView_pimpl.C: topCursorVisible
7927           prototype change
7928
7929 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7930
7931         * Makefile.am:
7932         * lyx_gui.h:
7933         * lyx_gui.C: move to frontends/
7934
7935         * main.C:
7936         * lyx_main.h:
7937         * lyx_main.C: changes from above
7938
7939 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7940
7941         * intl.C:
7942         * intl.h:
7943         * kbmap.C:
7944         * kbsequence.C:
7945         * lyx_cb.C:
7946         * lyx_main.C: minor tidy
7947
7948 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7949
7950         * BufferView_pimpl.h:
7951         * BufferView_pimpl.C:
7952         * BufferView.h:
7953         * BufferView.C: make painter() const,
7954           remove dead code
7955
7956         * BufferView2.C: use screen() accessor
7957
7958         * lyx_main.h:
7959         * lyx_main.C: some minor cleanup
7960
7961 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7962
7963         * BufferView_pimpl.h:
7964         * BufferView_pimpl.C: remove enter/leaveView,
7965           use workHeight()
7966
7967 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7968
7969         * BufferView.h:
7970         * BufferView.C:
7971         * BufferView2.C:
7972         * BufferView_pimpl.h:
7973         * BufferView_pimpl.C: only construct screen once,
7974           rename
7975
7976         * lyxrc.C: remove pointless comment
7977
7978 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7979
7980         * BufferView.h:
7981         * BufferView.C: remove active() and belowMouse()
7982
7983         * BufferView_pimpl.h:
7984         * BufferView_pimpl.C: use workarea() not workarea_,
7985           and make it use a scoped_ptr instead
7986
7987 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7988
7989         * lyx_gui.C: add debug message on BadWindow
7990
7991 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7992
7993         * sp_spell.C: fdopen is not part of the C++ standard.
7994
7995         * paragraph.C (InsetIterator): use >= instead of ==
7996
7997 2002-06-07  Angus Leeming  <leeming@lyx.org>
7998
7999         Fixes needed to compile with Compaq cxx 6.5.
8000         * BufferView_pimpl.C:
8001         * DepTable.C:
8002         * buffer.C:
8003         * converter.C:
8004         * encoding.C:
8005         * lyx_gui.C:
8006         * lyx_main.C:
8007         * lyxtextclasslist.C:
8008         * minibuffer.C:
8009         * sp_spell.C:
8010         * tabular_funcs.C:
8011         * vc-backend.C:
8012         all c-library variables have been moved into namespace std. Wrap
8013         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8014
8015         * lyxlength.C:
8016         * tabular-old.C:
8017         * tabular.C:
8018         Add a using std::abs declaration.
8019
8020         * kbmap.h (modifier_pair):
8021         * paragraph.h (InsetTable, InsetList):
8022         * lyxfont.h (FontBits):
8023         type definition made public.
8024
8025         * bufferlist.C (emergencyWriteAll): the compiler complains that
8026         there is more than one possible lyx::class_fun template to choose from.
8027         I re-named the void specialisation as lyx::void_class_fun.
8028
8029         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8030
8031         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8032         the compiler is is unable to find tostr in write_attribute.
8033
8034 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8035
8036         * buffer.C (sgmlError): hide #warning
8037
8038 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8039
8040         * xtl/*: get rid of xtl, which is not in use anyway
8041
8042         * LyXAction.C (init):
8043         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8044         were unimplemented xtl experimentation
8045
8046 2002-06-04  André Pönitz <poenitz@gmx.net>
8047
8048         * lyxfunc.C: disable array operation on simple formulae
8049
8050 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8051
8052         * converter.C: constify a bit
8053
8054 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8055
8056         * lyx_gui.C: check xforms version correctly
8057
8058 2002-04-30  Herbert Voss  <voss@lyx.org>
8059
8060         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8061         "keep" option
8062
8063 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8064
8065         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8066           attempt to register it with a VCS)
8067
8068 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8069
8070         * lyx_main.C (init): honor variables LYX_DIR_13x and
8071         LYX_USERDIR_13x
8072
8073 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8074
8075         * buffer.h:
8076         * buffer.C:
8077         * lyx_main.C: fix a crash on bad command line,
8078           and give a useful exit status on error
8079
8080         * lyxfunc.C (doImport): allow -i lyx to work
8081
8082 2002-03-30  André Pönitz <poenitz@gmx.net>
8083
8084         * lyxfunc.C: mathed font changes
8085
8086 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8087
8088         * LaTeX.C:
8089         * importer.h:
8090         * importer.C:
8091         * lyx_sty.h:
8092         * lyx_sty.C:
8093         * lyxlex.C:
8094         * lyxrow.h:
8095         * lyxtext.h:
8096         * paragraph.h:
8097         * paragraph.C:
8098         * texrow.h:
8099         * texrow.C:
8100         * text.C:
8101         * trans_mgr.h: srcdocs, and some minor cleanups
8102
8103 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8104
8105         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8106         call getFont all the time)
8107
8108 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8109
8110         * switch from SigC signals to boost::signals
8111
8112 2002-05-29  André Pönitz <poenitz@gmx.net>
8113
8114         * paragraph_pimpl.C (getChar): don't call size() too often...
8115
8116 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8117
8118         * paragraph_pimpl.C (insertChar): do not try to update tables when
8119         appending (pos == size())
8120
8121         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8122         in order to reduce drastically the number of comparisons needed to
8123         parse a large document
8124
8125 2002-05-29  André Pönitz <poenitz@gmx.net>
8126
8127         * text.C:
8128         * text2.C:
8129         * lyxtextclass.C:
8130         * sp_pspell.h:
8131         * textclasslist.[Ch]:
8132         * sp_ispell.h: whitespace change
8133
8134 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8135
8136         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8137         lyxaction directly now.
8138
8139 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8140
8141         * trans.C:
8142         * lyxfont.C:
8143         * lyxvc.C: remove unused headers
8144
8145 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8146
8147         * Makefile.am:
8148         * buffer.h:
8149         * undostack.h:
8150         * undostack.C:
8151         * undo_funcs.h:
8152         * undo_funcs.C: some cleanups. Use shared_ptr
8153           and a template for the undo stacks.
8154
8155 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8156
8157         * BufferView_pimpl.h:
8158         * BufferView_pimpl.C:
8159         * kbmap.h:
8160         * kbmap.C:
8161         * kbsequence.h:
8162         * kbsequence.C:
8163         * lyxfunc.h:
8164         * lyxfunc.C:
8165         * text2.C: use key_state/mouse_state
8166
8167 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8168
8169         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8170         and LSubstring
8171
8172         * chset.C: change include order
8173         (loadFile): use boost regex and get rid of LRegex and LSubstring
8174
8175         * Makefile.am (BOOST_LIBS): new variable
8176         (lyx_LDADD): use it
8177
8178         * LaTeX.C: change include order.
8179         (scanAuxFile): use boost regex and get rid of LRegex and
8180         LSubstring
8181         (deplog): ditto
8182
8183 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8184
8185         * ColorHandler.h:
8186         * ColorHandler.C:
8187         * FontInfo.h:
8188         * FontInfo.C: moved to frontends/xforms/
8189
8190         * FontLoader.h:
8191         * FontLoader.C: moved into frontends for GUIIzation
8192
8193         * Makefile.am:
8194         * lyx_gui.C:
8195         * lyxfont.C:
8196         * lyxfunc.C: changes from above
8197
8198 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8199
8200         * LColor.C: remove spurious X include
8201
8202         * BufferView_pimpl.C:
8203         * Makefile.am:
8204         * font.h:
8205         * font.C:
8206         * text.C:
8207         * text2.C: move font metrics to frontends/
8208
8209 2002-05-24  Juergen Vigna  <jug@sad.it>
8210
8211         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8212         setting the undo_cursor.
8213
8214         * ParagraphParameters.h: include local includes first.
8215
8216 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8217
8218         * BufferView_pimpl.C:
8219         * BufferView_pimpl.h:
8220         * Makefile.am:
8221         * WorkArea.h:
8222         * WorkArea.C:
8223         * screen.C: move WorkArea into frontends/
8224
8225         * lyxscreen.h:
8226         * screen.C:
8227         * text.C:
8228         * BufferView.C:
8229         * BufferView2.C: move LyXScreen into frontends/
8230
8231         * lyxlookup.h:
8232         * lyxlookup.C:
8233         * lyx_gui.C: move lyxlookup into frontends/xforms/
8234
8235 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8236
8237         * BufferView2.C:
8238         * BufferView_pimpl.C:
8239         * FontLoader.C:
8240         * LyXView.h:
8241         * LyXView.C:
8242         * Makefile.am:
8243         * WorkArea.C:
8244         * XFormsView.h:
8245         * XFormsView.C:
8246         * buffer.C:
8247         * bufferlist.C:
8248         * bufferview_funcs.C:
8249         * converter.C:
8250         * importer.C:
8251         * lyx_cb.C:
8252         * lyx_gui.C:
8253         * lyx_main.C:
8254         * lyx_find.C:
8255         * lyxfunc.C:
8256         * lyxvc.C:
8257         * minibuffer.C:
8258         * text.C:
8259         * text2.C:
8260         * trans.C:
8261         * vc-backend.C: move LyX/XFormsView into frontends/
8262
8263 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8264
8265         * Makefile.am:
8266         * PainterBase.C:
8267         * PainterBase.h:
8268         * Painter.C:
8269         * Painter.h:
8270         * WorkArea.C:
8271         * WorkArea.h:
8272         * screen.C:
8273         * tabular.C:
8274         * text.C:
8275         * text2.C: move Painter to frontends/
8276
8277 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8278
8279         * buffer.C: comment out some some code that depend upon lyx_format
8280         < 220
8281
8282         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8283         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8284
8285         * buffer.h (NO_COMPABILITY): turn off compability
8286
8287         * ColorHandler.C: include scoped_array.hpp
8288
8289         * font.C: Use more specific smart_ptr header.
8290         * Painter.C: ditto
8291         * gettext.C: ditto
8292         * ShareContainer.h: ditto
8293         * lyx_main.h: ditto
8294         * kbmap.h: ditto
8295         * FontInfo.h: ditto
8296         * BufferView_pimpl.h: ditto
8297         * ColorHandler.h: ditto
8298
8299         * kbmap.C (defkey): change call to shared_ptr::reset
8300
8301 2002-05-21  Juergen Vigna  <jug@sad.it>
8302
8303         * buffer.C (insertErtContents): fix to insert ert asis if it is
8304         non empty. Skip it completely if it contains only whitespaces.
8305
8306 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8307
8308         * BufferView_pimpl.C:
8309         * BufferView2.C: clear selection on paste (bug 393)
8310
8311 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8312
8313         * DepTable.C: include ctime
8314
8315 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8316
8317         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8318
8319 2002-05-14  Juergen Vigna  <jug@sad.it>
8320
8321         * text.C (breakParagraph): fixed function to honor the keepempty
8322         layout in the right maner and also to permit the right breaking
8323         algorithm on empty or non empyt keepempty paragraphs.
8324
8325         * paragraph.C (breakParagraph): we have to check also if the par
8326         is really empty (!size()) for isempty otherwise we do the wrong
8327         paragraph break.
8328
8329 2002-05-10  Juergen Vigna  <jug@sad.it>
8330
8331         * buffer.[Ch] : The following are only changes to the ert
8332         compatibility read reading old LaTeX layout and font stuff and
8333         convert it to ERTInsets.
8334
8335         * buffer.h: added isErtInset().
8336
8337         * buffer.C (struct ErtComp): add a fromlayout bool to check
8338         if we're inside a LaTeX layout.
8339         (isErtInset): new helper function.
8340         (insertErtContents): look for other ert insets before this one
8341         and insert the contents there, so that we don't have subsequent
8342         ERT insets with nothing between them. This way we create only one
8343         inset with multiple paragraphs. Also check if we don't insert only
8344         spaces ' ' as they are ignored anyway afterwards in the .tex file
8345         so if we have only spaces we will ignore this latex part in the
8346         new file.
8347         (parseSingleLyXformat2Token \\layout): better compatibility when
8348         reading layout-latex stuff.
8349         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8350         language tag.
8351         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8352         stuff after reading the inset only get the information back from
8353         the stack.
8354
8355 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8356
8357         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8358
8359         * LaTeXFeatures.C (getBabelOptions): New method.
8360
8361 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8362
8363         * BufferView_pimpl.C (Dispatch): work around missing argument for
8364         'layout'
8365
8366 2002-05-08  Juergen Vigna  <jug@sad.it>
8367
8368         * text.C (leftMargin): handle paragraph leftindent.
8369
8370         * paragraph.C (writeFile): write the new \\leftindent tag.
8371         (validate): handle leftindent code.
8372         (TeXEnvironment): handle paragraphleftindent code again.
8373
8374         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8375
8376         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8377         for paragrap_extra indent code and new token \\leftindent.
8378         (latexParagraphs): handle the leftindent as environment.
8379
8380         * ParameterStruct.h: added leftindent support.
8381
8382         * ParagraphParameters.C (leftIndent): added support functions for
8383         the paragraph left indent.
8384
8385         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8386         more appropriate.
8387
8388 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8389
8390         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8391         inside insetERT.
8392
8393         * text.C (computeBidiTables): No bidi in insetERT.
8394
8395         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8396         in RTL documents.
8397
8398 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8399
8400         * version.C.in: pre 5
8401
8402 2002-05-02  José Matos  <jamatos@fep.up.pt>
8403         * buffer.C (makeDocBookFile): white space changes, add newline to
8404         command styles.
8405         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8406
8407         * tabular.C (docBook): fix typo.
8408
8409 2002-05-03  Juergen Vigna  <jug@sad.it>
8410
8411         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8412         change in LyXText as we can not be sure it was not freed.
8413         (drawOneRow): remove unused code.
8414
8415         * text.C (drawInset): redo the calculation of the need_break_row as
8416         it could have a row which was already freed.
8417         (draw): look at the return value of drawInset and return false if
8418         it also returned false.
8419         (paintRowText): look at the return value of draw and return false if
8420         it also returned false.
8421
8422         * lyxtext.h: added bool return type to drawInset() and draw() so that
8423         if we have a change in the row so that the rowbreak has to be redone
8424         we abort drawing as it will be called again.
8425
8426 2002-05-02  Juergen Vigna  <jug@sad.it>
8427
8428         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8429         a change in the maintext also if we're inside an inset.
8430         (Dispatch): set the cursor again after a break line and after the
8431         screen has been updated as it could be we're in a different row.
8432
8433         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8434         to set the cursor behind the pargraph with > size().
8435         (setCursor): check also for the same paragraph when checking where
8436         to put the cursor if we have a NFR inset.
8437
8438         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8439         parts of layout read further up as it still was in the wrong
8440         position.
8441
8442 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8443
8444         * screen.C (drawFromTo): change sine fullRebreak always return
8445         true.
8446
8447         * buffer.C (parseSingleLyXformat2Token): reindent some
8448
8449         * BufferView_pimpl.C (update): change since fullRebreak always
8450         return true.
8451         (Dispatch): git rid of the last hardcoded "Standard"s.
8452
8453 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8454
8455         * text2.[Ch] (fullRebreak): make it return void now that we always
8456         returned true.
8457
8458 2002-04-30  Juergen Vigna  <jug@sad.it>
8459
8460         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8461         ert compatibility check for "latex" layout.
8462
8463 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8464
8465         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8466         minipages: use col% instead of p%, and also use the current font.
8467         (makeLaTeXFile): Fix use babel condition.
8468         (parseSingleLyXformat2Token): Correct font when reading old floats.
8469
8470 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8471
8472         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8473         inserting list of floats.
8474
8475 2002-04-25  Herbert Voss  <voss@lyx.org>
8476
8477         * MenuBackend.C (expand): don't add the graphics extensions to the
8478         export menu
8479
8480 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8481
8482         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8483         non-existing layout, do not complain if it was the default layout
8484         of the original class (bug #342)
8485
8486 2002-04-24  Juergen Vigna  <jug@sad.it>
8487
8488         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8489         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8490
8491 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8492
8493         * buffer.C (getBibkeyList): If using \bibliography, return the
8494         option field with the reference itself. Enables us to provide natbib
8495         support when using \bibliography.
8496
8497 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8498
8499         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8500
8501         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8502         natbib is provided by the LaTeX class.
8503
8504 2002-04-23  Juergen Vigna  <jug@sad.it>
8505
8506         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8507         Wakeup functions.
8508
8509         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8510
8511 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8512
8513         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8514
8515         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8516         ensuremath around textordmasculine, textordfeminine and
8517         textdegree.
8518
8519 2002-04-19  Juergen Vigna  <jug@sad.it>
8520
8521         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8522         reinitializing the buffer otherwise row-dimensions may be wrong.
8523         (update): reset also the selection cursors if they do exits otherwise
8524         their x/y positions may be wrong.
8525
8526         * text2.C (cursorDown): don't enter the inset if we came from a row
8527         above and are one row over the inset.
8528
8529         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8530         really leaving an inset.
8531
8532 2002-04-18  Juergen Vigna  <jug@sad.it>
8533
8534         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8535         of the selected paragraph does not have the selected layout also if
8536         the last one had!
8537
8538         * text2.C (setLayout): fixed bug which did not change last selected
8539         paragraph.
8540
8541         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8542         changed the read and substituted \\end_float with \\end_inset!
8543
8544         * BufferView_pimpl.C (cursorPrevious):
8545         (cursorNext): fixed to make it work with rows heigher than the work
8546         area without moving the cursor only the draw of the row.
8547         (workAreaMotionNotify): fix jumping over high rows.
8548
8549 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8550
8551         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8552         Ressler.
8553
8554 2002-04-16  Juergen Vigna  <jug@sad.it>
8555
8556         * text2.C (setCursor): set also the irow().
8557         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8558         (cursorUp):
8559         (cursorDown): support for locking an inset if the x_fix value goes
8560         inside it. That way I can transverse insets too with cursor up/down.
8561
8562         * lyxrow.h: added irow helper function same as other (i) functions.
8563
8564         * BufferView_pimpl.C (cursorPrevious):
8565         (cursorNext): fixed for insets!
8566
8567 2002-04-15  Juergen Vigna  <jug@sad.it>
8568
8569         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8570         position otherwise it is wrong in some cases.
8571
8572         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8573         inside the inset before the call.
8574
8575 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8576
8577         * buffer.[Ch] (getBibkeyList): make it const.
8578
8579 2002-04-12  Juergen Vigna  <jug@sad.it>
8580
8581         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8582
8583         * text2.C (getCursorX): new helper function
8584         (setCursor): compute also ix_
8585         (setCursorFromCoordinates): set also ix.
8586
8587         * lyxcursor.h: added ix_ and helper functions.
8588
8589         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8590
8591         * buffer.C (insertStringAsLines): dont break paragraph if the this
8592         paragraph is inside an inset which does not permit it!
8593
8594         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8595         also with no chars on this paragraph.
8596         (paintRowText): only paint stuff if it's inside the workarea!
8597
8598         * paragraph.C (breakParagraph): honor keepempty flag and break the
8599         paragraph always below not above.
8600
8601         * BufferView2.C (unlockInset): update the paragraph layout on inset
8602         unlock as we changed paragraph in such a case.
8603
8604         * lyxfind.C (LyXFind): clear the former selection if not found!
8605
8606         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8607         again called in insertChar().
8608
8609         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8610         an inset which uses the whole row!
8611         (rightMargin): ditto.
8612         (insertChar): force a rebreak if we inserted an inset!
8613
8614 2002-03-28  Herbert Voss  <voss@lyx.org>
8615
8616         * lyxlength.[Ch]: add inBP() to get the right PS-point
8617         units (BigPoint). With inPixels we have rounding errors
8618
8619 2002-04-11  Juergen Vigna  <jug@sad.it>
8620
8621         * text2.C (setCursorFromCoordinates): set iy to the right value.
8622         (setCursor): add check if row->previous exists!
8623
8624         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8625         an old float_type as this was the case in the old code!
8626
8627         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8628
8629         * BufferView2.C (showLockedInsetCursor): use iy
8630         (fitLockedInsetCursor): ditto
8631
8632         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8633         locked insets as there we have the right value now.
8634
8635         * lyxcursor.C: added iy_ variable and iy functions to set to the
8636         baseline of cursor-y of the locked inset.
8637
8638         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8639         (setCursor): fixed for insets which need a full row.
8640
8641         * text.C (rowLastPrintable): don't ignore the last space when before
8642         an inset which needs a full row.
8643         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8644         as last character of a row when before a inset which needs a full row.
8645
8646 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8647
8648         * version.C.in: update date
8649
8650         * text2.C (fullRebreak): try to always return true and see what
8651         happens...
8652
8653 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8654
8655         * MenuBackend.C (expand): use Floating::listName
8656
8657         * FloatList.C (FloatList): add listName argument to the built-in
8658         floats
8659
8660         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8661         text associated with the float.
8662
8663 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8664
8665         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8666
8667 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8668
8669         * ShareContainer.h: add a couple of missing typenames.
8670
8671 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8672
8673         * lyxrc.C (getDescription): use _() correctly rather than N_().
8674
8675 2002-03-28  Herbert Voss  <voss@lyx.org>
8676
8677         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8678         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8679
8680 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8681
8682         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8683         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8684
8685 2002-03-29  Juergen Vigna  <jug@sad.it>
8686
8687         * lyxfunc.C (dispatch): add a missing fitCursor call.
8688
8689         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8690         it was scrolled by a cursor move, so return the bool status.
8691
8692         * BufferView.C (fitCursor): return the bool flag also to the outside
8693         world as this is needed.
8694
8695         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8696
8697         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8698         call the edit() as it is not needed (and wrong) IMO.
8699         (workAreaButtonPress): set the screen_first variable before evt.
8700         unlock the inset as this may change screen_first and then we have
8701         a wrong y position for the click!
8702
8703 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8704
8705         * MenuBackend.C (expand): another translation that I missed
8706
8707 2002-03-28  Juergen Vigna  <jug@sad.it>
8708
8709         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8710
8711         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8712
8713 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8714
8715         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8716
8717         * MenuBackend.C (expand): fix export/view/update when there is no
8718         document open.
8719
8720 2002-03-27  Herbert Voss  <voss@lyx.org>
8721
8722         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8723         and text%
8724
8725 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8726
8727         * bufferview_funcs.C (currentState): only show paragraph number
8728         for is DEVEL_VERSION is set.
8729
8730         * lyxfunc.C (dispatch): put warning in INFO channel
8731
8732         * MenuBackend.C (expand): translate the name of floats
8733
8734         * FloatList.C (FloatList): mark the float names for translation
8735
8736         * converter.C (convert): use LibScriptSearch
8737
8738 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8739
8740         * MenuBackend.C (defaults): fix default menu (we might as well get
8741         rid of it...)
8742
8743 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8744
8745         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8746         directory.
8747
8748 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8749
8750         * lyxvc.C: reorder includes.
8751
8752 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8753
8754         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8755           properly
8756
8757 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8758
8759         * CutAndPaste.C: change layouts earlier on paste
8760           to avoid crashing when calling getFont()
8761
8762 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8763
8764         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8765         irritating #error.
8766
8767 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8768
8769         * WorkArea.C: remove 'Pending' debug message.
8770
8771         * most files: ws cleanup
8772
8773         * buffer.[Ch]: ws changes
8774
8775         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8776
8777 2002-03-21  Juergen Vigna  <jug@sad.it>
8778
8779         * tabular.C (SetMultiColumn): collapse also the contents of the
8780         cells and set the last border right. Added a Buffer const * param.
8781
8782 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8783
8784         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8785         linking or not.
8786
8787 2002-03-19  Juergen Vigna  <jug@sad.it>
8788
8789         * text2.C (clearSelection): reset also xsel_cache.
8790
8791         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8792         where it needs to be called (John tells us to do so too :)
8793         (selectionLost): reset sel_cache.
8794
8795         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8796
8797 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8798
8799         * text2.C (setCursorIntern): put debuging code in INSETS channel
8800
8801 2002-03-19  André Pönitz <poenitz@gmx.net>
8802
8803         * lyxfunc.C: tiny whitespace change
8804
8805 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8806
8807         * ToolbarDefaults.C (init):
8808         * LyXAction.C (init):
8809         * commandtags.h:
8810         * BufferView_pimpl.C (Dispatch):
8811         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8812
8813 2002-03-19  Allan Rae  <rae@lyx.org>
8814
8815         * exporter.C (Export): removeAutoInsets before doing anything else.
8816         While I've just introduced a dependency on BufferView this really is
8817         the best place to clean the buffer otherwise you need to cleanup in
8818         a dozen places before calling export or cleanup in a dozen functions
8819         that export calls.
8820
8821         * converter.C (runLaTeX):
8822         (scanLog): Better handling of removeAutoInsets and screen updates.
8823
8824         * lyxfunc.C (dispatch): small whitespace changes
8825
8826 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8827
8828         * WorkArea.C (C_WorkAreaEvent): return a value.
8829         (event_cb): return 1 if we handled the event, 0 otherwise.
8830
8831         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8832
8833 2002-03-18  Juergen Vigna  <jug@sad.it>
8834
8835         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8836         (GetAdditionalWidth): ditto.
8837         (RightLine): ditto.
8838         (LeftLine): ditto.
8839
8840         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8841         inset if we're there actually (probably not used right now but this
8842         is the direction to go for unifying code).
8843         (paste): disable code to clear the selection.
8844
8845         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8846         inside an InsetText and move the check further up as it is in the
8847         wrong place.
8848
8849         * text2.C (pasteSelection): set a selection over the pasted text.
8850
8851 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8852
8853         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8854         and libgraphics to build on Cygwin.
8855
8856 2002-03-15  Juergen Vigna  <jug@sad.it>
8857
8858         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8859         inserting an Inset into the paragraph. I know this is not the best
8860         fix but we already use current_view in CutAndPaste so we will remove
8861         all of it's using at the same time.
8862
8863         * buffer.C (sgmlError): deactivated function till it is rewritten in
8864         the right mode, now it can create problems.
8865
8866         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8867         before accessing it.
8868
8869 2002-03-14  Juergen Vigna  <jug@sad.it>
8870
8871         * undo_funcs.C (textHandleUndo): do the right thing when updating
8872         the inset after the undo/redo.
8873
8874         * text2.C (setCursor): just some testcode for #44 not ready yet.
8875
8876         * undo_funcs.C (textHandleUndo): set the next() and previous()
8877         pointers of the paragraph to 0 before deleting otherwise we have
8878         problems with the Paragraph::[destructor].
8879
8880         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8881         on a paragraph insertion.
8882
8883 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8884
8885         * buffer.C (asciiParagraph): use += operator for char append to
8886         string.
8887
8888         * paragraph.C (getFontSettings): compare >= not just >
8889         (highestFontInRange): ditto
8890         (setFont): ditto
8891
8892 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8893
8894         * paragraph.C: change several algorithm to be more appripriate for
8895         the problem domain. This is lookip in FontList and in the InsetList.
8896
8897 2002-03-13  André Pönitz <poenitz@gmx.net>
8898
8899         * commandtags.h:
8900         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8901
8902 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8903
8904         * commandtags.h:
8905         * LyXAction.C:
8906         * lyxfunc.C:
8907         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8908
8909 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8910
8911         * Painter.C (display): anon helper function, adjust code for this
8912         change.
8913         (pixmap): remove function.
8914
8915         * Painter.h: remove private display variable.
8916
8917         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8918
8919 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8920
8921         * WorkArea.[Ch]: remove figinset_canvas cruft.
8922
8923 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8924
8925         * lyxtextclass.C (operator): add one item cache optimization.
8926
8927         * bufferlist.h: doxy changes
8928
8929         * bufferlist.C: ws changes
8930
8931         * DepTable.[Ch] (ext_exist): place const in the right spot.
8932
8933         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8934         call resizeInsets.
8935         (workAreaExpose): call resizeInsets when the with BufferView changes.
8936         (Dispatch): adjust for protectedBlank removal
8937         (specialChar): call updateInset if the insert went ok.
8938
8939         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8940         specialChar instead.
8941
8942         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8943
8944         * BufferView.h: doxy change
8945
8946         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8947
8948         * lyxtextclass.C (operator[]): remove non-const version
8949         (defaultLayout): remove non-const version
8950
8951 2002-03-12  Juergen Vigna  <jug@sad.it>
8952
8953         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8954         did resize the LyXText too.
8955
8956         * buffer.C (readLyXformat2): set layout information on newly allocated
8957         paragraphs.
8958
8959         * tabular.C (OldFormatRead): set layout information on the paragraph.
8960
8961 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8962
8963         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8964
8965 2002-03-11  Juergen Vigna  <jug@sad.it>
8966
8967         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8968         plainly wrong.
8969         (resizeCurrentBuffer): force also the insets to resize themselfes.
8970         (moveCursorUpdate): fixed up for InsetText.
8971
8972 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8973
8974         * commandtags.h:
8975         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8976         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8977         value of Dialogs::tooltipsEnabled().
8978         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8979
8980 2002-03-08  Juergen Vigna  <jug@sad.it>
8981
8982         * BufferView_pimpl.C (updateInset): update inset inside inset also
8983         if it isn't inside theLockingInset().
8984
8985 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8986
8987         * buffer.C (asciiParagraph): redo some of the word and line length
8988         handling.
8989         (getLists): look for Caption instead of caption.
8990
8991 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8992
8993         * buffer.C (Buffer): initialize niceFile to true
8994         (makeLaTeXFile):
8995         (makeLinuxDocFile):
8996         (makeDocBookFile): make sure niceFile is true on exit
8997
8998 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8999
9000         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9001
9002 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9003
9004         * LyXSendto.C: remove.
9005         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9006         * lyx_gui.C: remove now-redundant comment.
9007         * ColorHandler.h: remove forward declaration of class WorkArea.
9008         * lyxfunc.C: remove #include "WorkArea.h".
9009
9010 2002-03-07  Juergen Vigna  <jug@sad.it>
9011
9012         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9013         got moved away with the DEPM and also set the inset_owner always
9014         right which before could have been omitted.
9015
9016 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9017
9018         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9019         wanted layout is not found.
9020
9021 2002-03-07  Juergen Vigna  <jug@sad.it>
9022
9023         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9024
9025 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9026
9027         * paragraph.C (breakParagraph): use default layout not layout of
9028         prev paragraph.
9029         (Paragraph): clear ParagraphParameters.
9030
9031 2002-03-06  Juergen Vigna  <jug@sad.it>
9032
9033         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9034         otherwise it would not be a valid lenght. Fixed a special case in
9035         the minipage compatibility read where we end the document with a
9036         minipage.
9037
9038         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9039         was set as it could be 0 for InsetTexts first entry.
9040
9041 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9042
9043         * paragraph.C (writeFile): if layout is empty write out
9044         defaultLayoutName().
9045
9046         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9047         file without named layout we set layout to defaultLayoutName().
9048
9049 2002-03-06  Juergen Vigna  <jug@sad.it>
9050
9051         * CutAndPaste.C (copySelection): set layout for new paragraph.
9052
9053         * text.C (prepareToPrint): leave ERT inset left aligned
9054         (leftMargin): don't indent paragraphs inside ERT insets
9055
9056 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9057
9058         * paragraph.C (breakParagraph): dont call clear do the work manually
9059
9060         * paragraph.[Ch] (clear): remove function
9061
9062 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9063
9064         * paragraph.C (Paragraph): dont call clear, the work has already
9065         been done.
9066
9067         * lyxtextclass.C (operator): assert if n is empty
9068
9069         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9070         work manually instead.
9071
9072 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9073
9074         * BufferView_pimpl.C: protect selectionLost against text == 0
9075
9076 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9077
9078         * text.C (breakParagraph): fix a setting layout to '0' problem.
9079
9080 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9081
9082         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9083         final location of file, for the included files, and graphics.
9084
9085 2002-03-05  Juergen Vigna  <jug@sad.it>
9086
9087         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9088
9089 2002-03-04  Juergen Vigna  <jug@sad.it>
9090
9091         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9092
9093         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9094         last column of multicolumn cells.
9095         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9096
9097 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9098
9099         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9100         file if it doesn't go to a temporary file.
9101
9102         * buffer.C (sgmlOpenTag):
9103         (sgmlCloseTag):  remove extra newline insertion.
9104
9105 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9106
9107         * text.C (getRowNearY): comment out debug msg
9108
9109 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9110
9111         * text2.C: first -> first_y
9112
9113         * text.C (getRowNearY): add some attemts at a possible
9114         optimization, not working.
9115
9116         * tabular.[Ch]: add BufferParams to several function so that newly
9117         created paragraph can be initialized to he default layotu for the
9118         buffers textclass.
9119
9120         * tabular-old.C (ReadOld): add buf->params to call of Init
9121
9122         * screen.C: rename text->first to text->first_y
9123
9124         * paragraph.C (breakParagraph): always set layout in the broken
9125         paragraph
9126
9127         * lyxtextclass.C (Read): remove lowercase
9128         (hasLayout): ditto
9129         (operator): ditto
9130         (delete_layout): ditto
9131
9132         * lyxtext.h: rename first -> first_y
9133
9134         * lyxlayout.C (Read): remove lowercase
9135         (name): ditto
9136         (setName): ditto
9137         (obsoleted_by): ditto
9138
9139         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9140
9141         * buffer.C (insertErtContents): add params are to InsetERT
9142         (parseSingleLyXformat2Token): add code to check if a paragraphs
9143         layout really exist.
9144         (parseSingleLyXformat2Token): add params to several inset
9145         constructors
9146         (asciiParagraph): remove lowercase, do the layout comparisons with
9147         no_case
9148
9149         * BufferView_pimpl.C (cursorNext): first -> first_y
9150         (resizeCurrentBuffer): first -> first_y
9151         (updateScrollbar): first -> first_y
9152         (scrollCB): first -> first_y
9153         (workAreaMotionNotify): first -> first_y
9154         (workAreaButtonPress): first -> first_y
9155         (checkInsetHit): first -> first_y
9156         (cursorPrevious): first -> first_y
9157         (cursorNext): first -> first_y
9158         (Dispatch): add buffer_->params to severl inset contructors
9159
9160 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9161
9162         * lyxlayout.C (Read): remove some debug info that I forgot.
9163
9164         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9165         clean up the code slightly.
9166         (makeLinuxDocFile): ditto
9167         (makeDocBookFile): ditto
9168
9169         * text2.C: layout as string
9170
9171         * text.C: layout as string
9172
9173         * paragraph_pimpl.C: layout as string
9174
9175         * paragraph.[Ch]: layout as string
9176
9177         * lyxtextclasslist.[Ch]: layout as string
9178
9179         * lyxtextclass.[Ch]: layout as string
9180
9181         * lyxtext.h: layout as string
9182
9183         * lyxlayout.[Ch]: layout as string
9184
9185         * lyx_cb.C: layout as string
9186
9187         * bufferview_funcs.C: layout as string
9188
9189         * bufferparams.C: layout as string
9190
9191         * buffer.C: layout as string
9192
9193         * LyXView.[Ch]: layout as string
9194
9195         * LaTeXFeatures.[Ch]: layout as string
9196
9197         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9198
9199         * BufferView_pimpl.C: change current_layout to string, remove
9200         lyx::layout_type.
9201         (Dispatch):
9202         (smartQuote):
9203         (insertInset):
9204         (workAreaButtonRelease): layout as string
9205
9206         * BufferView2.C (unlockInset): adjust
9207
9208         * vspace.C (asLatexCommand): use an explict temp variable.
9209
9210 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9211
9212         * Makefile.am: use FRONTEND_*
9213
9214 2002-03-01  Juergen Vigna  <jug@sad.it>
9215
9216         * tabular.C (SetWidthOfMulticolCell): changed to something better
9217         I hope but still work in progress.
9218         (recalculateMulticolumnsOfColumn): renamed function from
9219         recalculateMulticolCells as it is more appropriate now.
9220         (SetWidthOfCell): calculate multicols better.
9221
9222 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9223
9224         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9225
9226         * lyxfunc.C (processKeySym): print sequence also if it is
9227         `deleted' (complete)
9228
9229         * kbsequence.C (print): print sequence even if it is deleted
9230         (complete would be a better word, actually).
9231
9232         * lyxfunc.C (dispatch): print complete options after a prefix key
9233
9234         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9235
9236 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9237
9238         * text2.C (setCharFont): eliminate setCharFont code duplication.
9239
9240 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9241
9242         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9243         LFUN_TABULAR_FEATURE (bug #177)
9244
9245 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9246
9247         * Makefile.am: remove figure.h
9248
9249 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9250
9251         * Bufferview_pimpl.C:
9252         * CutAndPasteC:
9253         * LaTeX.C:
9254         * LyXSendto.C:
9255         * buffer.C:
9256         * bufferlist.C:
9257         * converter.C:
9258         * language.C:
9259         * lyxfunc.C:
9260         * lyxvc.C:
9261         * paragraph.C:
9262         * text.C:
9263         * text2.C: remove #include "lyx_gui_misc.h".
9264
9265         * LaTeX.C: added #include <cstdio>
9266
9267 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9268
9269         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9270         that the paragraph following this one can have.
9271
9272         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9273
9274         * vspace.C (asLatexCommand): fix bogus gcc warning
9275
9276         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9277
9278 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9279
9280         * text2.C (setLayout): get rid of redundant code
9281
9282 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9283
9284         * text2.C (incDepth): make sure depth cannot be increased beyond
9285         reasonable values.
9286
9287 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9288
9289         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9290         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9291
9292         * PainterBase.h (image):
9293         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9294         a LyXImage const *.
9295
9296 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9297
9298         * BufferView.C:
9299         * BufferView.h:
9300         * BufferView_pimpl.C:
9301         * BufferView_pimpl.h:
9302         * LaTeXFeatures.C:
9303         * LyXAction.C:
9304         * LyXView.C:
9305         * Makefile.am:
9306         * UpdateList.h:
9307         * UpdateList.C:
9308         * buffer.C:
9309         * figure.h:
9310         * figureForm.C:
9311         * figureForm.h:
9312         * figure_form.C:
9313         * figure_form.h:
9314         * lyx_cb.C:
9315         * lyx_gui.C:
9316         * lyx_gui_misc.C:
9317         * lyxfunc.C:
9318         * sp_base.h:
9319         * sp_ispell.h:
9320         * sp_pspell.h:
9321         * sp_spell.C: remove fig inset, and the crap house of
9322           cards that follows it
9323
9324 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9325
9326         * Makefile.am:
9327         * lyxserver.C:
9328         * os2_defines.h:
9329         * os2_errortable.h:
9330         * nt_defines.h: move .h into support/
9331
9332         * vms_defines.h: remove
9333
9334         * WorkArea.C: add space in debug output
9335
9336         * text2.C:
9337         * paragraph.C:
9338         * buffer.C: add WITH_WARNINGS
9339
9340         * vc-backend.h:
9341         * vc-backend.C:
9342         * bufferlist.C: s/retrive/retrieve/, add docs
9343
9344         * vspace.h:
9345         * vspace.C:
9346         * kbmap.h:
9347         * lyxlength.h:
9348         * lyxgluelength.h:
9349         * length_common.h:
9350         * chset.h:
9351         * chset.C: add docs
9352
9353         * lyxgui.C: add ID to X error handler
9354
9355         * lyxtestclass.c: fix typo
9356
9357 2002-02-26  Juergen Vigna  <jug@sad.it>
9358
9359         * tabular_funcs.C (write_attribute): changed so that some default
9360         attributes are not written at all.
9361         (getTokenValue): set default values before trying to read the
9362         value so we have the return value always set as default if we don't
9363         find the token we search for.
9364
9365         * tabular.C (Write): write bools as bools not as strings!
9366
9367 2002-02-22  Juergen Vigna  <jug@sad.it>
9368
9369         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9370         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9371
9372         * text.C (leftMargin): don't add an indent for paragraphs inside
9373         tabular cells (fix #208).
9374
9375 2002-02-21  José Matos  <jamatos@fep.up.pt>
9376
9377         * tabular.C (docBook): fixed support for long tables.
9378
9379 2002-02-20  Juergen Vigna  <jug@sad.it>
9380
9381         * text2.C (getFont): get the drawing font of the Inset if this
9382         paragraph is inside an inset (only important for InsetERT for now).
9383
9384         * buffer.C (insertErtContents): use new lanugage params in ERT
9385         constructor.
9386
9387         * CutAndPaste.C: commenting out seemingly uneeded code.
9388
9389 2002-02-19  Allan Rae  <rae@lyx.org>
9390
9391         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9392         Iterators might be simple to use but they also get invalidated.
9393         (removeAutoInsets): renamed saved cursor tracking variables and added
9394         some comments to clarify what everything does.
9395
9396 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9397
9398         * Chktex.C:
9399         * LaTeX.C:
9400         * LyXSendto.C:
9401         * converter.C:
9402         * lyx_cb.C:
9403         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9404         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9405
9406         * lyxfunc.C:
9407         * vc-backend.h: remove #include "support/syscall.h"
9408
9409         * LaTeX.C:
9410         * LyXSendto.C:
9411         * converter.C: rearrange #includes in Lars' approved fashion.
9412
9413         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9414         forward declare class Timeout in the header file.
9415
9416         * XFormsView.C: changes due to the above.
9417
9418         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9419         similar to LyXView.
9420
9421         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9422         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9423
9424 2002-02-18  José Matos  <jamatos@fep.up.pt>
9425
9426         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9427         insets contents.
9428
9429 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9430
9431         * a lot of small ws changes
9432         * add a lot of using std::XXX
9433         * use std construcs some places where approp.
9434         * use some exisint stuff from lyxfunctional where approp.
9435         * Make file changes to use partial linking (lets test this now...)
9436
9437 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9438
9439         * Chktex.C:
9440         * buffer.C:
9441         remove #include "support/syscontr.h" as it's redundant. Always has been.
9442
9443         * Chktex.C:
9444         * LaTeX.C:
9445         * LyXSendto.C:
9446         * converter.C:
9447         * lyx_cb.C:
9448         * vc-backend.C:
9449         change Systemcalls::System to Systemcalls::Wait and
9450         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9451         No change of functionality, just reflects the stripped down Systemcalls
9452         class.
9453
9454 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9455
9456         * debug.[Ch]: add a GRAPHICS type to the enum.
9457
9458 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9459
9460         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9461
9462         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9463         there is an inset.
9464
9465 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9466
9467         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9468         match the changes below.
9469
9470         * text2.C (toggleInset): if there is not editable inset at cursor
9471         position, try to see if cursor is _inside_ a collapsable inset
9472         and close it.
9473
9474 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9475
9476         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9477         document menu has a nice checkbox
9478
9479 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9480
9481         * lyxlength.C (asLatexString): change PW to output as percent of
9482         \textwidth.
9483
9484         * lengthcommon.C: change '%' to 't%'
9485
9486         * lyxfunc.C (dispatch): a few comments from Martin
9487
9488 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9489
9490         * WorkArea.h:
9491         * WorkArea.C:
9492         * BufferView_pimpl.h:
9493         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9494           the X selection.
9495
9496 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9497
9498         * vspace.C (inPixels): fix compiler warning
9499
9500 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9501
9502         * lyxfunc.C (getStatus): fix status message for disabled commands.
9503
9504 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9505
9506         * BufferView_pimpl.C: fix crash on close buffer
9507         during selection (#227)
9508
9509 2002-01-27  Herbert Voss  <voss@lyx.org>
9510
9511         * buffer.C: link old Figure to new graphic inset
9512
9513 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9514
9515         * FontLoader.C (getFontinfo): Change the latex font names in order
9516         to match the names of type1inst.
9517
9518 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9519
9520         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9521
9522         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9523         (extchanged): ditto
9524         (ext_exist): ditto
9525         (remove_files_with_extension): ditto
9526         (remove_file): ditto
9527         (write): ditto
9528
9529         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9530         document is smaller than the work area height. Do not initialize
9531         static variables to 0.
9532
9533 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9534
9535         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9536
9537         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9538         LFUN_LAYOUT_PARAGRAPHS.
9539
9540         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9541         tabular. It is possible to provide a possible cell, which will
9542         typically be the actcell from the corresponding insettabular
9543
9544         * lyxfunc.C (getStatus): small cleanup; disable
9545         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9546         true
9547
9548 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9549
9550         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9551
9552         * paragraph.C (startTeXParParams):
9553         (endTeXParParams): new methods. The LaTeX code to
9554         start/end paragraph formatting
9555         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9556         empty (fixes bug #200)
9557
9558         * vspace.C (inPixels): adapt to the change below
9559         (inPixels): [later] more cleanups (remove unused variables)
9560
9561         * lyxlength.C (inPixels): change to use a width and a height as
9562         parameter.
9563
9564 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9565
9566         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9567         Replaced with \paperwidth
9568
9569         * DepTable.C (insert): add std:: qualifier
9570
9571 2002-01-18  Allan Rae  <rae@lyx.org>
9572
9573         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9574         updated also?
9575
9576         * text.C (drawInset): Turned out I didn't know enough about how
9577         rebreaking worked.  This fixes most of the redraw problems.  I see
9578         an occasional cursor trail when a line is broken now and the cursor
9579         placement can seem out by a few pixels also after a rebreak.
9580
9581 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9582
9583         * buffer.C (parseSingleLyXformat2Token): update because minipage
9584         width is now a LyXLength
9585
9586         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9587
9588         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9589         math insets
9590
9591 2002-01-17  Juergen Vigna  <jug@sad.it>
9592
9593         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9594
9595         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9596         is set correctly and the inset is updated correctly.
9597
9598 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9599
9600         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9601         the beginning of the loop.
9602
9603 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9604
9605         * lyxrc.C: improve help for use_scalable_fonts
9606
9607 2002-01-17  Allan Rae  <rae@lyx.org>
9608
9609         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9610
9611 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9612
9613         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9614         make sure to set their inset_owner to the right value (bug #171)
9615
9616 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9617
9618         * DepTable.h
9619         * DepTable.C: Implement mtime checking to reduce time spent doing
9620         CRCs.
9621
9622 2002-01-16  Juergen Vigna  <jug@sad.it>
9623
9624         * tabular.C (GetAdditionalHeight): one of error fixed.
9625
9626         * lyxrc.C (output): small fix in writing use_pspell.
9627
9628 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9629
9630         * sp_base.h: #include LString.h
9631
9632 2002-01-16  Allan Rae  <rae@lyx.org>
9633
9634         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9635         Can someone check this please?
9636
9637         * text.C (drawInset): It was possible that p.row would be removed by
9638         breakAgainOneRow upsetting a few other settings.  There may be another
9639         small tweak possible by setting need_break_row = 0 when p.row has been
9640         removed but I don't know enough about the logic here.
9641
9642 2002-01-15  Allan Rae  <rae@lyx.org>
9643
9644         * text.C (insertChar): removed conditional truism.
9645
9646         * BufferView2.C (removeAutoInsets): More tweaks.
9647         cur_par_prev could be a stray pointer.  Check for trailing empty line
9648         in case last line was cur_par and only had an error inset on it.
9649
9650 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9651
9652         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9653         absolute
9654
9655         * vc-backend.C (most methods):
9656         * exporter.C (Export):
9657         * converter.C (convert):
9658         (runLaTeX):
9659         * LyXSendto.C (SendtoApplyCB):
9660         * lyxfunc.C (dispatch):
9661         (menuNew):
9662         (open):
9663         (doImport):
9664         * lyx_cb.C (AutoSave):
9665         (InsertAsciiFile):
9666         * BufferView_pimpl.C (MenuInsertLyXFile):
9667         * buffer.C (runChktex): use Buffer::filePath().
9668
9669         * buffer.h: rename filename to filename_; rename filepath to
9670         filepath_ and make it private
9671         (filePath): new method
9672
9673         * buffer.C (writeFile): use fileName()
9674         (getLatexName):
9675
9676         * lyx_main.C (init): fix starting  of LyX when the binary is a
9677         link from so,ewhere else.
9678
9679         * minibuffer.C: include <cctype> for isprint
9680
9681 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9682
9683         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9684         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9685         name clash with InsetCollapsable's width function.
9686
9687 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9688
9689         * lastfiles.C: include <iterator>
9690
9691 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9692
9693         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9694         std::count.
9695
9696         * buffer.C (makeLaTeXFile): ditto.
9697         Also make loop operation more transparent.
9698
9699 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9700
9701         * ToolbarDefaults.C: remove trailing comma closing namespace.
9702
9703         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9704
9705         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9706         as in WorkArea.
9707
9708         * trans.C (Load): comment out unused variable, allowed.
9709
9710 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9711
9712         * minibuffer.[Ch] (append_char): new method to recieve input from the
9713         drop-down completion browser. If a key was pressed, then recieve this
9714         char and append it to the existing string.
9715         (peek_event): modify the positioning data passed to the completion
9716         browser so that it can be placed above the minibuffer rather than below.
9717 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9718
9719         * LyXAction.C (init): alloe error-next for readonly documents.
9720
9721         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9722         count.
9723
9724 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9725
9726         * bufferlist.C (readFile): create the buffer _after_ checking that
9727         the file exists.
9728
9729         * lyxfunc.C (verboseDispatch): fix handling of arguments
9730
9731         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9732
9733         * lyxrc.C: use string::erase() instead of initializing to "".
9734
9735
9736 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9737
9738         * BufferView_pimpl.h:
9739         * BufferView_pimpl.C:
9740         * WorkArea.h:
9741         * WorkArea.C:
9742         * text2.C: tell X when we have made a selection for copying
9743
9744 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9745
9746         * BufferView_pimpl.C (MenuInsertLyXFile):
9747         * lyxfunc.C (menuNew):
9748         (open):
9749         (doImport): add shortcuts to directory buttons
9750
9751         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9752         open a float)
9753
9754         * lyxfunc.C (setStatusMessage):
9755         (getStatusMessage): new methods
9756         (getStatus):use setStatusMessage instead of setErrorMessage
9757         (dispatch): when function is disabled, set error message here
9758         [instead of in getStatus previously]
9759
9760         * BufferView_pimpl.C (workAreaButtonRelease): update
9761         toolbar/menubar here too.
9762
9763 2002-01-13  Allan Rae  <rae@lyx.org>
9764
9765         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9766         Now seems indestructible.  Remaining task is to audit all other
9767         code affected by deleteEmptyParagraphMechanism.  One small quirk
9768         left is that an empty document with an error in the preamble can
9769         be made to report an error but no error box appears.  I don't know
9770         where it goes.
9771         (removeAutoInsets): Improved comments.
9772
9773 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9774
9775         * Thesaurus.h:
9776         * Thesaurus.C: update for Aiksaurus 0.14
9777
9778 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9779
9780         * text2.C (firstParagraph): removed member function, all uses
9781         replaces with ownerParagraph
9782         (redoParagraphs): here
9783         (updateInset): here
9784         (toggleAppendix): here
9785         * BufferView2.C (insertErrors): here
9786         (setCursorFromRow): here
9787
9788 2002-01-13  Allan Rae  <rae@lyx.org>
9789
9790         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9791         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9792         There is still a way to segfault this although you may have to do this
9793         multiple times: Have an InsetERT with an unknown command in it.
9794         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9795         <down-arrow>, <Enter> again, View->DVI, BANG!
9796
9797         * text2.C (setCursor):
9798         (deleteEmptyParagraphMechanism):
9799         * lyxtext.h (setCursor):
9800         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9801         Making use of the return value may help fix other bugs.
9802
9803 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9804
9805         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9806
9807         * LyXView.C (updateMenubar): call MenuBar::update here
9808         (updateToolbar): but not here
9809         (showState): do not update toolbar/menubar
9810
9811         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9812         should need to care about that.
9813
9814         * lyxfunc.C (verboseDispatch): simplify a bit
9815         (getStatus): have a version which takes a pseudoaction, and
9816         another which requires a (kb_action,string).
9817
9818         * LyXAction.C (retrieveActionArg): make it work also when action
9819         is not a pseudo-action.
9820         (getActionName): simplify a bit
9821         (helpText):
9822
9823 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9824
9825         * lyxfunc.C (verboseDispatch): new families of methods with
9826         several ways to specify a command and a bool to indicate whether
9827         the command name and shortcut should be displayed in minibuffer
9828         (eventually, we could extend that to a finer bitmask like
9829         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9830         (dispatch): the pristine dispatch command which just, well,
9831         dispatchs! Note it still sets its result to minibuffer; I'm not
9832         sure we want that.
9833
9834         * lyxfunc.h: remove setHintMessage
9835
9836         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9837
9838 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9839
9840         * BufferView_pimpl.C (specialChar): delete new inset if we have
9841         not been able to insert it.
9842
9843         * kbmap.C: revert to using int instead of kb_action, since all we
9844         are dealing with is pseudo-actions.
9845
9846         * LyXAction.C (searchActionArg): change to return int instead of
9847         kb_action, since the result is a pseudoaction.
9848
9849 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9850
9851         * buffer.C (insertErtContents): Fix (partially) the font bug.
9852
9853 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9854
9855         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9856         as the other one is broken on my machine!
9857
9858 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9859
9860         * commandtags.h:
9861         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9862
9863 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9864
9865         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9866         reflect their actual use. Provide compatibility code for older lyxrc
9867         files.
9868
9869         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9870         FL_NORMAL_STYLE.
9871         change names of popup font variables in line with the changes to lyxrc.C
9872
9873 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9874
9875         * buffer.C (asciiParagraph): avoid outputing a word twice after
9876         an inset.
9877
9878         * lyxrc.C (getDescription): document that document_path and
9879         template_path can be empty.
9880
9881 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9882
9883         * LaTeXFeatures.C (getMacros):
9884         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9885
9886         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9887
9888         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9889         getPackages.
9890         (getPackages): rename feature "floats" to "float". Use an array to
9891         iterate over 'simple' features (i.e. just a \usepackage). Add
9892         handling of "amsmath" (renamed from "amsstyle").
9893
9894 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9895
9896         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9897         features list.
9898
9899 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9900
9901         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9902         FuncStaus::FuncStatus & FuncStaus::some_method().
9903
9904 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9905
9906         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9907         of the func_satus stuff. Edited and massaged in various ways by
9908         JMarc.
9909
9910         * lyxfunc.C (getStatus): use FuncStatus
9911
9912 2002-01-08  Juergen Vigna  <jug@sad.it>
9913
9914         * text.C (nextBreakPoint): use function Inset::isChar().
9915
9916         * paragraph.C (TeXOnePar): use function
9917         Inset::forceDefaultParagraphs.
9918
9919         * buffer.C (latexParagraphs): use function
9920         Inset::forceDefaultParagraphs.
9921
9922 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9923
9924         * lyx_gui.C (init): set the style of the menu popups to
9925         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9926
9927 2002-01-07  Juergen Vigna  <jug@sad.it>
9928
9929         * text.C (setHeightOfRow): small fix
9930         (prepareToPrint): don't look at alignment if we don't have the place
9931         for doing it.
9932
9933 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9934
9935         * box.C: New file. Move the Box methods and functions out of box.h,
9936         following Lars' suggestion.
9937
9938 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9939
9940         * box.h: #include "support/LOstream.h", needed for inlined function.
9941
9942         * lyxtextclass.C:
9943         * lyxtextclasslist.C: added some using std declarations.
9944
9945 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9946
9947         * box.h: make signed dimensions to allow insets wider than
9948           the screen (bug #162)
9949
9950         * BufferView_pimpl.C: add some insetHit debug
9951
9952 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9953
9954         * vc-backend.C: add FIXME
9955
9956 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9957
9958         * lyxfunc.C (getStatus): enable code for showing math font status
9959         in toolbar/menu.
9960
9961 2002-01-07  Juergen Vigna  <jug@sad.it>
9962
9963         * text.C (nextBreakPoint): removed debug output not needed anymore.
9964
9965 2002-01-06  Juergen Vigna  <jug@sad.it>
9966
9967         * text.C (nextBreakPoint): fixed up this function we had this bug
9968         since ever but now hopefully we break row better.
9969         (insertChar): we have to check if an inset is the next char as it
9970         could now happen that a large inset is causing a break.
9971
9972 2002-01-05  Juergen Vigna  <jug@sad.it>
9973
9974         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9975         if it doesn't like to be drawed.
9976
9977 2002-01-04  Juergen Vigna  <jug@sad.it>
9978
9979         * BufferView2.C (lockInset): forgot to set a cursor.
9980
9981         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9982
9983 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9984
9985         * FormMathsPanel.C:
9986         * FormMathsPanel.h
9987         * MathsSymbols.C:
9988         * form_maths_panel.C:
9989         * form_maths_panel.h:
9990         * form_maths_panel.fd: implemented sub- and super- buttons in math
9991         panel.
9992
9993         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9994         (or ^ space) to be used as in TeX (req'd by André).
9995
9996         * lyxfunc.C: Allow ^ and _ again to be used both as
9997         super/subscript (mathed) and as themselves (in text).
9998
9999 2002-01-03  Allan Rae  <rae@lyx.org>
10000
10001         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10002         "LyX" or the filename of the current buffer if it has one.  This is a
10003         modified form of John Levon's patch.
10004
10005         * XFormsView.C (setWindowTitle): also set icon title.
10006
10007         * LyXView.h (setWindowTitle): signature changed.
10008         * XFormsView.h (setWindowTitle): ditto.
10009
10010 2002-01-02  Juergen Vigna  <jug@sad.it>
10011
10012         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10013
10014 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10015
10016         * screen.C (topCursorVisible): introduce a temp var for
10017         text->cursor.row(), handle the case where this row is null. (kindo
10018         hachish)
10019
10020         * text2.C (setCursor): add a couple of asserts.
10021
10022         * paragraph.h (inset_iterator): add -> operator
10023
10024         * paragraph.[Ch] (autoDeleteInsets): remove member function
10025
10026         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10027         cursor pos correctly and handle inset deletion by itself.
10028         (insertErrors): move iterator declaration out of for expression
10029
10030         * lyxtextclass.C: add <algorithm>
10031
10032         * Makefile.am: added the new files to sources, removed layout.C
10033
10034         * layout.C: removed file
10035
10036         * layout.h: remove LYX_DUMMY_LAYOUT
10037
10038         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10039         layout.
10040
10041         * lyxlayout.[Ch]:
10042         * lyxtextclass.[Ch]:
10043         * lyxtextclasslist.[Ch]: new files
10044
10045         * include order changes to a lot of files, also changes because of
10046         the six new files.
10047
10048 2001-12-27  Juergen Vigna  <jug@sad.it>
10049
10050         * buffer.C (asciiParagraph): more fixes.
10051
10052         * tabular.C (ascii): make ascii export support export of only the
10053         data separated by a column-delimiter.
10054         (ascii): better support for ascii export.
10055
10056         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10057
10058 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10059
10060         * tabular_funcs.C: use a "using std::getline" instead of the
10061         previous fix from Angus (necessary for cxx + lyxstring)
10062
10063 2001-12-24  Juergen Vigna  <jug@sad.it>
10064
10065         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10066
10067         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10068         problems. First check a minipage also if we have some ert-contents
10069         (not only on par->size(), second set the right depth of the paragraph
10070         on the relink to the root-paragraph-list!
10071
10072         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10073         which then did not anymore update the main paragraphs on undo/redo!
10074
10075 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10076
10077         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10078         code. Support all font-changing funcs (even those which are not in
10079         menu currently). Support for reporting font settings in
10080         mathed (disabled until Andre provides a function on mathed's side).
10081
10082         * func_status.h (toggle): small helper function to set toggle
10083         state on a flag.
10084
10085 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10086
10087         * tabular_funcs.C: getline -> std::getline
10088
10089 2001-12-21  Juergen Vigna  <jug@sad.it>
10090
10091         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10092         accessed and could be 0 (I couldn't generate this but it seems
10093         Michael could!).
10094
10095 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10096
10097         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10098         * tabular_funcs.h: here and include iosfwd
10099
10100 2001-12-20  Juergen Vigna  <jug@sad.it>
10101
10102         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10103         inside inset but undo_par was.
10104
10105 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10106
10107         * Thesaurus.C: always include <config.h> in sources.
10108
10109         * Painter.h:
10110         * lyxlookup.h:
10111         * box.h: do not include <config.h> in header files
10112
10113         * text.C (paintLastRow): remove unused variable
10114
10115         * text.C (transformChar):
10116         (insertChar):
10117         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10118
10119         * Painter.C (text):
10120         * font.C (width): rewrite to use uppercase() instead of
10121         islower/toupper.
10122
10123         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10124
10125 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10126
10127         * lyxfind.C: clean up of find failure position change
10128
10129 2001-12-20  Juergen Vigna  <jug@sad.it>
10130
10131         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10132
10133         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10134         (TeXRow): added to LaTeX a single tabular row.
10135         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10136         (Latex): simplified and finally good LT-h/f support.
10137         (various_functions): just small adaptions for LT-h/f support.
10138
10139         * tabular_funcs.[hC]: added and moved here all not classfunctions
10140         of LyXTabular.
10141
10142 2001-12-19  Juergen Vigna  <jug@sad.it>
10143
10144         * tabular.[Ch]: better support for longtabular options (not finished
10145         yet!)
10146
10147 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10148
10149         * text.C (paintLastRow): use the label font instead of the font of
10150         the last character to compute the size of *_BOX. This makes more
10151         sense and avoids a crash with empty paragraphs.
10152         Use Painter::rectangle to draw EMPTY_BOX.
10153
10154 2001-12-19  Juergen Vigna  <jug@sad.it>
10155
10156         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10157         the paragraphs if the replaced paragraph is not the first one!
10158         Tried to delete not used paragraphs but does not work yet so for
10159         now it's inside #ifdef's and by default off!
10160
10161 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10162
10163         * MenuBackend.C: include "lyx_main.h" instead of declaring
10164         lastfiles (actually was declared as LastFiles* instead of a
10165         scoped_ptr).
10166
10167 2001-12-17  Juergen Vigna  <jug@sad.it>
10168
10169         * tabular.C (AppendColumn): applied John's fix
10170
10171 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10172
10173         * BufferView.h:
10174         * BufferView.C:
10175         * BufferView_pimpl.h:
10176         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10177
10178         * Makefile.am:
10179         * box.h: new start of class for above
10180
10181         * lyxfunc.C: ignore space-only minibuffer dispatches.
10182           Show the command name when it doesn't exist
10183
10184         * minibuffer.C: don't add empty lines to the history
10185
10186         * minibuffer.C: add a space on dropdown completion
10187
10188 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10189
10190         * text.C: fix line above/below drawing in insets
10191
10192 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10193
10194         * lyxlength.C (LyXLength): Initialize private variables.
10195
10196 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10197
10198         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10199         when inserting error insets.
10200
10201 2001-12-13  Juergen Vigna  <jug@sad.it>
10202
10203         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10204         actually sometimes the before-paragraph.
10205         (setUndo): don't clear the redostack if we're not actually undoing!
10206
10207 2001-12-06  Juergen Vigna  <jug@sad.it>
10208
10209         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10210         and fixed redoing of main paragraph, so we can use it now ;)
10211
10212         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10213
10214 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10215
10216         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10217         Juergen's request
10218
10219 2001-12-13  André Pönitz <poenitz@gmx.net>
10220
10221         * undostack.[Ch]:
10222         * undo_func.C: minor cleanup
10223
10224 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10225
10226         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10227         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10228         font in urw-fonts package which is marked as -urw-fontspecific and
10229         does not work (incidentally, changing the encoding in the
10230         fonts.dir of this package to -adobe-fontspecific fixes the
10231         problem).
10232
10233         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10234         is a crash when undoing first paragraph (Juergen, please take a
10235         look). THis does not mean the undo fix is wrong, just that it
10236         uncovers problems.
10237
10238         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10239         the (Paragraph*) version when needed instead of duplicating the
10240         code.
10241
10242         * text.C (workWidth): use Inset::parOwner to find out where the
10243         inset has been inserted. This is a huge performance gain for large
10244         documents with lots of insets. If Inset::parOwner is not set, fall
10245         back on the brute force method
10246
10247         * paragraph_pimpl.C (insertInset):
10248         * paragraph.C (Paragraph):
10249         (cutIntoMinibuffer): set parOwner of insets when
10250         inserting/removing them
10251
10252         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10253
10254 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10255
10256         * commandtags.h:
10257         * LyXAction.C:
10258         * lyx_main.C:
10259         * lyxfunc.C:
10260         * mathed/formulabase.C:
10261         * mathed/math_cursor.[Ch]:
10262         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10263
10264
10265 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10266
10267         * lyxlength.[Ch] (operator!=): new function
10268
10269 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10270
10271         * text.C (workWidth): use Inset::parOwner to find out where the
10272         inset has been inserted. This is a huge performance gain for large
10273         documents with lots of insets. If Inset::parOwner is not set, fall
10274         back on the brute force method
10275
10276         * paragraph_pimpl.C (insertInset):
10277         * paragraph.C (Paragraph):
10278         (cutIntoMinibuffer): set parOwner of insets when
10279         inserting/removing them
10280
10281         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10282
10283 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10284
10285         * tabular-old.C (getTokenValue):
10286         * tabular.C (getTokenValue):
10287         (write_attribute): new versions for LyXLength
10288         (everywhere): adjust the use of widths
10289
10290         * tabular.h: change the type of widths from string to LyXLength
10291
10292 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10293
10294         * paragraph.C: fixed missing line number count when exporting
10295         Environments to LaTeX file
10296
10297         * buffer.C: added informational message for checking line numbers.
10298
10299 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10300
10301         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10302         paragraph, do the 'double space' part, but not the 'empty
10303         paragraph' one.
10304
10305         * text.C (workWidth): small optimization
10306         (getLengthMarkerHeight): use minimal size for negative lengths.
10307
10308 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10309
10310         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10311
10312         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10313
10314 2001-12-11  André Pönitz <poenitz@gmx.net>
10315
10316         * FontLoader.C:
10317         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10318
10319 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10320
10321         * text2.C: keep selection on a setFont()
10322
10323 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10324
10325         * lyx_cb.C: another bv->text misuse, from insert label
10326
10327 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10328
10329         * kbsequence.h:
10330         * kbsequence.C: re-instate nmodifier mask
10331
10332 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10333
10334         * lyx_main.h: make lyxGUI private.
10335
10336 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10337
10338         * lyxfind.C: place the cursor correctly on failed search
10339
10340 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10341
10342         * text.C (getLengthMarkerHeight): for small heights, the arrows
10343         are not always on top/bottom of the text
10344         (drawLengthMarker): smaller arrows; take the left margin in
10345         account; draw also vfills.
10346         (paintFirstRow):
10347         (paintLastRow): remove special code for vfill and standard spaces,
10348         since everything is handled in drawLengthMarker now.
10349
10350 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10351
10352         * buffer.C (insertErtContents): try to handle font and language
10353         interaction a bit better.g
10354
10355         * ColorHandler.C (updateColor): change the hash to cover the whole
10356         LColor enum, ws cleanup
10357         (getGCLinepars): ditto
10358         (getGCLinepars): only lookup in the linecache once.
10359
10360 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10361
10362         * iterators.C (operator++): Make the iterator more robust
10363
10364         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10365         (John's patch)
10366         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10367
10368 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10369
10370         * lyxtext.h:
10371         * text.C: better added space drawing
10372
10373 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10374
10375         * LyXView.C:
10376         * BufferView2.C: fix layout combo update on inset unlock
10377
10378 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10379
10380         * Makefile.am: don't compile unused files
10381
10382 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10383
10384         * lyxfunc.C:
10385         * commandtags.h:
10386         * LyXAction.C: remove old LFUN_LAYOUTNO
10387
10388 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10389
10390         * paragraph_pimpl.h:
10391         * paragraph_pimpl.C: isTextAt() doesn't need font param
10392
10393 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10394
10395         * lyxlex.h:
10396         * lyxlex.C: little cleanup
10397
10398 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10399
10400         * BufferView_pimpl.C: fix insertAscii for insets
10401
10402 2001-12-05  Juergen Vigna  <jug@sad.it>
10403
10404         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10405         set the right font on the "multi" paragraph paste!
10406
10407 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10408
10409         * trans_decl.h:
10410         * trans_mgr.[Ch]:
10411         * trans.[Ch]:
10412         * lyxgluelength.C:
10413         * lyxlength.C: remove out-commented code.
10414
10415         * BufferView_pimpl:
10416         * CutAndPaste.C:
10417         * DepTable.C:
10418         * buffer.C:
10419         * chset.C:
10420         * lastfiles.C:
10421         * lyxlex.C:
10422         * lyxlex_pimpl.C:
10423         * lyxserver.C:
10424         * screen.C:
10425         * tabular-old.C:
10426         * tabular.C:
10427         * text.C:
10428         * trans_mgr.C:
10429         * vc-backend.C: change "while(" to "while ("
10430
10431         * lyxlength.[Ch]: add zero function to check if length is zero or
10432         not
10433         * lyxgluelength.C: use it
10434
10435 2001-12-05  Allan Rae  <rae@lyx.org>
10436
10437         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10438         Works for 2.95.3, from what I understand of Garst's reports this should
10439         work for other g++ versions.  We're screwed if the abs(int) definition
10440         changed between bugfix releases of gcc.
10441
10442 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10443
10444         * text.C: fix chapter label offset !
10445
10446 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10447
10448         * lyxtext.h:
10449         * text.C: fix hfill at end of line, clean up
10450
10451 2001-12-04  Juergen Vigna  <jug@sad.it>
10452
10453         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10454         that we force an update of the inset and it's owners if neccessary.
10455
10456 2001-12-03  Juergen Vigna  <jug@sad.it>
10457
10458         * text.C (rowLast): simplified code
10459
10460 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10461
10462         * lyxfunc.C: fix show options on timeout
10463
10464 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10465
10466         * screen.C (topCursorVisible): scroll half a page when the cursor
10467         reached top of bottom of screen
10468
10469 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10470
10471         * minibuffer.C: deactivate on loss of focus
10472
10473 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10474
10475         * vspace.[Ch] (operator!=): add operator.
10476
10477 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10478
10479         * BufferView_pimpl.C: refuse to open an inset when
10480         there's a selection.
10481
10482 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10483
10484         * BufferView_pimpl.C: allow to click on RHS of full row insets
10485
10486 2001-11-30  Juergen Vigna  <jug@sad.it>
10487
10488         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10489         insets for undo reasons.
10490
10491 2001-11-28  André Pönitz <poenitz@gmx.net>
10492
10493         * vspace.[Ch]: cosmetical changes
10494
10495 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10496
10497         * LyXAction.h:
10498         * LyXAction.C:
10499         * lyxfunc.h:
10500         * lyxfunc.C:
10501         * kbmap.h:
10502         * kbmap.C:
10503         * lyxrc.C:
10504         * kbsequence.h:
10505         * kbsequence.C: part re-write of old kb code
10506
10507         * Painter.C:
10508         * WorkArea.C: remove Lgb_bug_find_hack
10509
10510 2001-11-30  José Matos <jamatos@fep.up.pt>
10511
10512         * buffer.C (makeDocBookFile): add a comment to point a hack.
10513         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10514         Fixed a double write of labels.
10515
10516 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10517
10518         * LaTeX.C:
10519         * LaTeX.h Fixed bug in LaTeX class where it would not
10520         re-run latex if no depfiles were changed, but the .dvi was removed.
10521
10522 2001-11-28  André Pönitz <poenitz@gmx.net>
10523
10524         * all the files from the change on 2001/11/26:
10525         use lyx::layout_type instead of LyXTextClass::size_type
10526         use lyx::textclass_type instead of LyXTextClassList::size_type
10527
10528 2001-11-29  Juergen Vigna  <jug@sad.it>
10529
10530         * text.C: added support for paragraph::isFreeSpacing()
10531
10532         * buffer.C: same as above
10533
10534         * paragraph.h: inserted isFreeSpacing() function to enable
10535         FreeSpacing inside InsetERT.
10536
10537         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10538         of the paragraph's in the cut/copy buffer to 0!
10539
10540         * text2.C (removeRow): remove the assert as it can!
10541
10542         * lyxtext.h: added helper function firstRow returning firstrow and
10543         made firstrow private again.
10544
10545         * BufferView2.C (lockInset): don't relock if we're already locked!
10546
10547         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10548         the only paragraph.
10549         (removeRow): added Assert::(firstrow)
10550
10551         * debug.C: forgot to add INSETTEXT here.
10552
10553 2001-11-28  Juergen Vigna  <jug@sad.it>
10554
10555         * sp_spell.C (initialize): changed error text to more general
10556         spellchecker command use (not only ispell!)
10557
10558         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10559
10560         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10561
10562 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10563
10564         * vspace.C: initialise lyxgluelength on failure
10565
10566 2001-11-28  Allan Rae  <rae@lyx.org>
10567
10568         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10569         declaration & definition that looks like a function declaration.
10570
10571 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10572
10573         * BufferView2.C (copy):
10574         (copyEnvironment): do not clear the selection when doing a copy.
10575
10576         * text.C (paintFirstRow): compilation fix
10577
10578 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10579
10580         * tabular.C (Latex): correct line count when writing latex.
10581
10582 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10583
10584         * paragraph_pimpl.h:
10585         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10586           bug a bit
10587
10588 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10589
10590         * text.C:
10591         * LColor.h:
10592         * LColor.C: change vfillline->added_space
10593
10594         * text.C: add markers and text for added space
10595
10596         * vspace.C: fix comment
10597
10598 2001-11-28  André Pönitz <poenitz@gmx.net>
10599
10600         * paragraph.C: whitespace changes
10601         * all the other files from the change on 2001/11/26:
10602         change *::pos_type into lyx::pos_type
10603
10604 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10605
10606         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10607         language of the document when inserting error insets.
10608
10609 2001-11-26  André Pönitz <poenitz@gmx.net>
10610
10611         * BufferView_pimpl.[Ch]:
10612         *       CutAndPaste.C:
10613         * buffer.[Ch]:
10614         * lyxcursor.[Ch]:
10615         * lyxfind.C:
10616         * lyxfunc.C:
10617         * lyxrow.[Ch]:
10618         * paragraph.[Ch]:
10619         * paragraph_pimpl.[Ch]:
10620         * sp_spell.C:
10621         * text.C:
10622         * text2.C: reduce header dependencies, introduce type for positions
10623
10624 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10625
10626         * <various>: change to use Alert.h
10627
10628 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10629
10630         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10631         when encountering an unknown token.
10632         (readLyXformat2): Show an error message if there were unknown tokens.
10633
10634 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10635
10636         * BufferView2.C:
10637         * BufferView_pimpl.C:
10638         * buffer.C:
10639         * paragraph.h:
10640         * text.C:
10641         * text2.C: use par->isInset()
10642
10643 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10644
10645         * paragraph_pimpl.h:
10646         * paragraph_pimpl.C: cleanup
10647
10648 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10649
10650         * text2.C (removeRow):
10651         * text.C (setHeightOfRow): remove useless (and costly) call to
10652         getRow.
10653
10654 2001-11-20  Allan Rae  <rae@lyx.org>
10655
10656         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10657         Now need Inset*::checkInsertChar() to return true for appropriate
10658         cases so that the characters in the minibuffer will actually be
10659         inserted.
10660
10661 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10662
10663         * text.C: change the order of the includes.
10664         (workWidth): initialize it at once.
10665         (workWidth): make maxw unsigned
10666         (setHeightOfRow): remove unused variable (inset)
10667         (selectSelectedWord): remove unused variable (inset)
10668         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10669
10670 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10671
10672         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10673         server is not running.
10674         (openConnection):
10675         (closeConnection): add debug info when server is disabled.
10676
10677         * ColorHandler.C (getGCForeground): send debug message to GUI
10678         channel.
10679
10680         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10681
10682         * kbmap.C (bind): modify because return conventions of
10683         kb_sequence::parse have changed.
10684
10685         * kbsequence.C (parse): only ignore spaces and not any stupid
10686         control character. This avoids tests like s[i] <= ' ', which are
10687         guaranteed to fail with 8bit characters and signed chars.
10688         Change return code to string::npos when there have been no error
10689         (0 was a bad idea when error is at first character)
10690
10691 2001-11-14  José Matos  <jamatos@fep.up.pt>
10692
10693         * buffer.h:
10694         * buffer.C (simpleDocBookOnePar): removed unused argument.
10695
10696 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10697
10698         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10699         insets which are part of a word. Paragraph::isLetter takes care of
10700         that now. Use Paragraph::isInset to identify insets.
10701         (selectSelectedWord): do not test for hyphenation break.
10702
10703         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10704         that protected spaces are considered as spaces.
10705
10706         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10707         Inset::isLetter.
10708
10709 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10710
10711         * lyxserver.h:
10712         * lyxserver.C: fix it. and small cleanup.
10713
10714 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10715
10716         * BufferView_pimpl.C: use inline helpers
10717
10718         * LaTeXFeatures.h:
10719         * LaTeXFeatures.C: fix typos
10720
10721         * Spacing.h:
10722         * Spacing.C: move spacing_string into class
10723
10724         * ToolbarDefaults.C: move stuff into namespace anon
10725
10726         * layout.h: update enum
10727
10728         * lyxfunc.C: use better debug
10729
10730         * minibuffer.h: fix typo
10731
10732         * debug.h:
10733         * debug.C:
10734         * WorkArea.C: add and use Debug::WORKAREA
10735
10736         * lyxtext.h:
10737         * text.C:
10738         * text2.C: code re-organisation, inline helpers
10739
10740 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10741
10742         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10743         std::vector.empty().
10744
10745 2001-11-09  Allan Rae  <rae@lyx.org>
10746
10747         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10748         '\n's after tables.  Tabular and ERT inset work now makes this no
10749         longer necessary.
10750
10751 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10752
10753         * minibuffer.h:
10754         * minibuffer.C: fix crash, improve drop-down completion
10755
10756 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10757
10758         * lyxserver.h:
10759         * lyxserver.C: invalidate fd's when doing endPipe()
10760
10761 2001-11-08  José Matos  <jamatos@fep.up.pt>
10762
10763         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10764         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10765
10766         * paragraph.h:
10767         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10768
10769 2001-11-07  José Matos  <jamatos@fep.up.pt>
10770
10771         * buffer.h:
10772         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10773         const qualifier.
10774
10775         * buffer.C (sgmlOpenTag):
10776         * buffer.C (sgmlCloseTag): removed debug info.
10777
10778         * buffer.h (sgmlOpenTag):
10779         * buffer.h (sgmlCloseTag): made public.
10780
10781 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10782
10783         * buffer.C (saveParamsAsDefaults):
10784         * lyx_cb.C (MenuLayoutSave): remove
10785
10786         * LyXAction.C (init):
10787         * commandtags.h:
10788         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10789
10790 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10791
10792         * buffer.C (setPaperStuff): removed from here...
10793
10794         * bufferparams.C (setPaperStuff): ... and moved there.
10795
10796 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10797
10798         * minibuffer.h:
10799         * minibuffer.C:
10800         * XFormsView.C: add support for drop-down completion
10801
10802 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10803
10804         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10805         commands.
10806
10807 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10808
10809         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10810         disabled.
10811
10812 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10813
10814         * lyx_main.C: change ref to known bugs
10815
10816 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10817
10818         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10819         to work around older babel problems.
10820
10821 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10822
10823         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10824
10825 2001-10-24  Juergen Vigna  <jug@sad.it>
10826
10827         * tabular-old.C (ReadOld): below variable changes reflected.
10828
10829         * tabular.[Ch]: added ltType struct for longtable header/footer
10830         defines and changed all instances where they are used. Added
10831         future support for double top/bottom rows.
10832
10833 2001-10-24  José Matos  <jamatos@fep.up.pt>
10834
10835         * buffer.h (docbookHandleCaption):
10836         * buffer.C (docbookHandleCaption): removed unused function.
10837         (makeDocBookFile): moved docbook supported version to v4.1.
10838
10839 2001-10-24  José Matos  <jamatos@fep.up.pt>
10840
10841         * tabular.h:
10842         * tabular.C (docbookRow): new function to export docbook code of a row.
10843         (DocBook): now honors the longtable flags.
10844
10845 2001-10-23  José Matos  <jamatos@fep.up.pt>
10846
10847         * LaTeXFeatures.h:
10848         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10849         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10850
10851         * buffer.C (makeLinuxDocFile):
10852         (makeDocBookFile): reworked the preamble, more clean, and with
10853         support for lyx defined entities. Changed the document declaration
10854         to be more XML friendly.
10855
10856         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10857         if we need to output XML that should be done with a filter.
10858
10859 2001-10-22  Juergen Vigna  <jug@sad.it>
10860
10861         * sp_pspell.h (class PSpell): add alive function needed in the
10862         controller to see if the spellchecker could be started.
10863
10864 2001-10-22  Juergen Vigna  <jug@sad.it>
10865
10866         * buffer.C (insertStringAsLines): modify the font for inserting
10867         chars in certain conditions by calling checkInsertChar(font).
10868
10869 2001-10-19  Juergen Vigna  <jug@sad.it>
10870
10871         * text.C (workWidth): use getRow instead of wrong algorithm.
10872         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10873
10874 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10875
10876         * lyxserver.h:
10877         * lyxserver.C:
10878         * lyx_main.h:
10879         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10880
10881 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10882
10883         * text.C (workWidth): do not search for the exact row when
10884         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10885         optimization for big documents.
10886
10887 2001-10-18  Juergen Vigna  <jug@sad.it>
10888
10889         * text.C (workWidth): new function with added Inset * parameter.
10890
10891 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10892
10893         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10894
10895         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10896         change return type of getColumnNearX.
10897
10898
10899         * text.C (changeRegionCase): use uppercase/lowercase instead of
10900         toupper/tolower.
10901         (leftMargin):
10902         (rightMargin): simplify code by factoring out the uses of
10903         textclasslist.
10904         (labelFill):
10905         (numberOfHfills):
10906         (setHeightOfRow):
10907         (appendParagraph): use Paragraph::size_type
10908
10909 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10910
10911         * vspace.C (asLatexString): add a missing break
10912
10913 2001-10-15  Herbert Voss  <voss@perce.de>
10914
10915         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10916
10917 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10918
10919         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10920         is not available.
10921
10922 2001-10-10  André Pönitz <poenitz@gmx.net>
10923
10924         * lyxfunc.C: removed greek_kb_flag.
10925
10926 2001-10-10  Herbert Voss  <voss@perce.de>
10927
10928         * lyx_main.C: delete global string help_lyxdir.
10929
10930 2001-10-09  Herbert Voss  <voss@perce.de>
10931
10932         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10933
10934         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10935
10936         * lyx_main.C: added global string help_lyxdir.
10937
10938         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10939
10940 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10941
10942         * lyxrc.C (set_font_norm_type): support iso8859-4
10943
10944 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10945
10946         * LaTeX.C (deplog): add another regex for MikTeX
10947
10948 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10949
10950         * lyxrc.C (set_font_norm_type): support iso8859-3
10951
10952 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10953
10954         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10955
10956         * LaTeXFeatures.C: remove special case of french and index
10957
10958         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10959         before \begin{document}). This solves several incompatibilities.
10960
10961 2001-10-03  Garst Reese  <reese@isn.net>
10962
10963         * lyx_cb.C: change CheckTex error msg.
10964
10965 2001-10-03  José Matos  <jamatos@fep.up.pt>
10966
10967         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10968
10969 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10970
10971         * .cvsignore: update
10972
10973         * lyx_main.C (commandLineVersionInfo): use new style version info.
10974
10975         * buffer.C (writeFile):
10976         (makeLaTeXFile):
10977         (makeLinuxDocFile):
10978         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10979
10980         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10981
10982         * version.h: update to use stuff in version.C
10983
10984         * version.C.in: new file. Contains version information determined
10985         at compile time. This is a merging of version.h and
10986         version_info.h.in.
10987
10988 2001-10-03  Juergen Vigna  <jug@sad.it>
10989
10990         * BufferView_pimpl.C (update): don't change "dirty" status in
10991         updateInset call.
10992
10993 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10994
10995         * WorkArea.C (c-tor): re-position version string slightly.
10996
10997 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10998
10999         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11000         revert to previous code.
11001
11002         WorkArea.[Ch]: (show, destroySplash): methods removed.
11003
11004         WorkArea.C: rework code so that it's an amalgam of the codes before and
11005         after the splash screen was moved to WorkArea.
11006
11007 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11008
11009         * lyxrc.C (read):
11010         * vspace.C (inPixels):
11011         (lyx_advance):
11012         * kbmap.C (bind):
11013         * buffer.C (insertStringAsLines):
11014         (asciiParagraph): fix types to be large enough
11015
11016         * lyxlex_pimpl.h: change member status from short to int
11017
11018         * layout.h: fix type of endlabeltype
11019
11020         * kbmap.C (bind):
11021         * kbsequence.C (parse): change return type to string::size_type
11022
11023         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11024         variable
11025
11026         * Bullet.C (bulletSize):
11027         (bulletEntry): do not use short ints as parameters
11028
11029         * BufferView2.C (insertLyXFile): change a char to an int.
11030
11031         * WorkArea.C (WorkArea): remove unneeded floats in computation
11032
11033 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11034
11035         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11036
11037         * paragraph.C (asString): Do not ignore newline/hfill chars when
11038         copying to the clipboard.
11039
11040 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11041
11042         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11043         after a multi-line inset.
11044
11045 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11046
11047         * paragraph.C (validate): Set NeedLyXFootnoteCode
11048
11049 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11050
11051         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11052         and decrease-error to decrease.
11053
11054 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11055
11056         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11057         it more readable (should be equivalent)
11058
11059 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11060
11061         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11062
11063 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11064
11065         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11066         of a cursor (row, etc.) after a character has been deleted
11067         (deleteEmptyParagraphMechanism): call the method above on _all_
11068         cursors held by the LyXText when a double space has been
11069         detected/deleted.
11070
11071 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11072
11073         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11074         pixmap.
11075         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11076
11077         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11078         background. Use greyOut() and the new show() methods to toggle between
11079         the foreground and background. Add code to remove the splash after
11080         its initial showing.
11081
11082         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11083         (create_forms): no longer call Dialogs::showSplash.
11084
11085 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11086
11087         * .cvsignore: add version_info.h
11088
11089 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11090
11091         * version_info.h.in: new file
11092
11093         * Makefile.am: add version_info.h.in
11094
11095         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11096         version_info.h instead of VERSION_INFO
11097
11098 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11099
11100         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11101         The ERT inset now returns string().
11102
11103 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11104
11105         * lyxtext.h, text.C (selectNextWord): renamed as
11106         selectNextWordToSpellcheck.
11107
11108         * text.C (selectNextWordToSpellcheck): Modified to not select
11109         words inside an ERT inset.
11110
11111 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11112
11113         * lyx_cb.C (MenuLayoutSave): change a bit the question
11114
11115         * sp_base.h: include <sys/types.h>
11116
11117 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11118
11119         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11120
11121 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11122
11123         * several files: fix typos in user-visible strings
11124
11125 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11126
11127         * text2.C (pasteSelection): do not set the selection, since it
11128         will be cleared later. Actually, the intent was to fix the way the
11129         selection was set, but I figured rmoving the code was just as good.
11130
11131 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11132
11133         * FontLoader.C (available): Check if font is available without
11134         loading the font.
11135
11136 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11137
11138         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11139
11140 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11141
11142         * lyxrc.[Ch]: added display_graphics variable and associated code.
11143
11144 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11145
11146         * bufferparams.C (hasClassDefaults): new method. Returns true if
11147         the buffer parameters correspond to known class defaults
11148
11149 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11150
11151         * XFormsView.C (show): set minimum size to the main window.
11152
11153 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11154
11155         * text2.C (copySelection):
11156         (cutSelection):
11157         * lyxfind.C (LyXReplace):
11158         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11159         LyXText::selectionAsString.
11160
11161         * paragraph.C (asString): add "label" argument to the second form
11162
11163         * text2.C (selectionAsString): add "label" argument and pass it to
11164         Paragraph::asString.
11165
11166 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11167
11168         * lyx_main.C (commandLineHelp): remove version information
11169
11170 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11171
11172         * lyx_main.C: add -version commandline option
11173
11174 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11175
11176         * paragraph.h: make the optional constructor arg required instead.
11177         some modifications to other files because of this.
11178
11179         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11180
11181         * lyxserver.C (C_LyXComm_callback): make it static
11182
11183         * lyx_main.C (error_handler): make it static
11184
11185         * lyx_gui.C (LyX_XErrHandler): make it static
11186
11187         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11188
11189         * WorkArea.C: make the extern "C" methods static.
11190
11191         * Makefile.am (lyx_LDADD): simplify
11192
11193 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11194
11195         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11196         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11197
11198         * LyXAction.C (init):
11199         * lyxfunc.C (dispatch): associated code removal.
11200
11201 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11202
11203         * lyxfont.h (isSymbolFont): shut off warning
11204
11205         * text.C (setHeightOfRow):
11206         (getVisibleRow): fix crash with empty paragraphs which have a
11207         bottom line
11208
11209 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11210
11211         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11212         code.
11213
11214 2001-09-04  José Matos  <jamatos@fep.up.pt>
11215         * buffer.C
11216         * buffer.h
11217         * tabular.C (docbook): rename docBook method to docbook.
11218
11219 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11220
11221         * Makefile.am: add dependencies to main.o.
11222
11223 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11224
11225         * FontLoader.C (available): Return false if !lyxrc.use_gui
11226
11227 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11228
11229         * FontInfo.C (query):
11230         * converter.C (view):
11231         * importer.C (Import):
11232         * exporter.C (Export): Can not -> cannot.
11233
11234 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11235
11236         * BufferView_pimpl.C: allow to create index inset even if
11237           string is empty
11238
11239 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11240
11241         * buffer.C (getLists): replace boost::tie code with an explicit pair
11242         as boost::tie can break some compilers.
11243
11244         * iterators.h: Added a std:: declaration to the return type of
11245         ParIterator::size.
11246
11247 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11248
11249         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11250           case.
11251
11252 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11253
11254         * iterators.[Ch]: New files. Provide paragraph iterators.
11255
11256         * buffer.C (changeLanguage): Use paragraph iterators.
11257         (isMultiLingual): ditto
11258
11259         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11260
11261 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11262
11263         * FontLoader.C: Support for cmr font.
11264
11265 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11266
11267         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11268         (available): New method.
11269
11270         * FontInfo.C (getFontname): Use scalable fonts even when
11271         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11272         found.
11273
11274 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11275
11276         * converter.C (Formats::view): reverted! Incorrect fix.
11277
11278 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11279
11280         * converter.C (Formats::view): only output the -paper option
11281         if the dvi viewer is xdvi, thereby fixing bug #233429.
11282
11283 2001-08-23  Herbert Voss  <voss@perce>
11284
11285         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11286
11287 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11288
11289         * Spacing.h (Spacing): Set space to Default on in the default
11290         constructor.
11291
11292 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11293
11294         * vc-backend.h (RCS::versionString): add RCS to version
11295         (CVS::versionString): add CVS to version
11296
11297         * vc-backend.C (scanMaster): do not add CVS to version.
11298         (scanMaster): do not add RCS to version
11299
11300         * lyxvc.C (versionString): new method
11301
11302         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11303
11304 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11305
11306         * Spacing.C (set): initialize fval
11307
11308 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11309
11310         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11311         " or \.
11312
11313 2001-08-16  Juergen Vigna  <jug@sad.it>
11314
11315         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11316
11317 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11318
11319         * BufferView_pimpl.C:
11320         * figureForm.C:
11321         * lyxtext.h:
11322         * text2.C: setParagraph takes linespacing now
11323
11324 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11325
11326         * LyxAction.C: add internal LFUN_CITATION_INSERT
11327
11328         * LyXView.C: actually apply fix
11329
11330         * bufferlist.C: fix open non-existent file
11331
11332         * lyxfind.C: fix indentation
11333
11334         * lyxfunc.C: remove unneeded assert, fix typo
11335
11336 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11337
11338         * MenuBackend.C: use "Floatname List"
11339
11340 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11341
11342         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11343         when converting LaTeX layout to insetERT.
11344         Generate a non-collapsed float when reading old float
11345
11346 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11347
11348         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11349         ERT insets.
11350
11351 2001-08-13  Juergen Vigna  <jug@sad.it>
11352
11353         * text.C (fill): return 0 instead of 20 as this seems to be the more
11354         correct value.
11355
11356 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11357
11358         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11359         lyxrc.font_norm.
11360
11361 2001-08-13  Juergen Vigna  <jug@sad.it>
11362
11363         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11364         casesensitive off.
11365         (SearchBackward): comment out the unlocking of the inset_owner this
11366         should not be needed!
11367
11368 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11369
11370         * Many files: Remove inherit_language, and add latex_language
11371
11372         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11373         collapsible insets.
11374
11375 2001-08-10  Juergen Vigna  <jug@sad.it>
11376
11377         * text.C (prepareToPrint): fixed hfill-width in draw!
11378
11379         * BufferView2.C (selectLastWord): save the selection cursor as this
11380         now is cleared in the function LyXText::clearSelection!
11381
11382 2001-08-08  Juergen Vigna  <jug@sad.it>
11383
11384         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11385         BACKSPACE type functions.
11386
11387         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11388         is only cutted from the document but not put in the cut-buffer, where
11389         still the old stuff should be.
11390
11391         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11392
11393         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11394
11395         * tabular.C (SetWidthOfCell): fixed special case where the width
11396         was not updated!
11397         (LeftLine): handle '|' in align_special.
11398         (RightLine): ditto
11399         (LeftAlreadyDrawed): ditto
11400         (SetWidthOfCell): ditto
11401
11402 2001-08-07  Juergen Vigna  <jug@sad.it>
11403
11404         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11405
11406 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11407
11408         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11409         * lyxlex.[hC]: ditto
11410
11411 2001-08-06  Juergen Vigna  <jug@sad.it>
11412
11413         * text.C (getVisibleRow): fix up row clearing a bit.
11414
11415 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11416
11417         * minibuffer.C: make sure the X server sees the changes in the input.
11418
11419 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11420
11421         * paragraph.C (getFont): split into...
11422         (getLabelFont): this
11423         (getLayoutFont): and this
11424         * paragraph_pimpl.C (realizeFont): calling this
11425
11426         * text2.C (getFont): split into...
11427         (getLayoutFont): this
11428         (getLabelFont): and this
11429         (realizeFont): all three calling this
11430
11431         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11432         files where used.
11433
11434 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11435
11436         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11437
11438 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11439
11440         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11441         layouts from the Quote inset insertion.
11442
11443 2001-08-03  Juergen Vigna  <jug@sad.it>
11444
11445         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11446
11447         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11448         only if status not is already CHANGED_IN_DRAW (second level).
11449
11450         * text.C (draw): don't set the need_break_row when inside an
11451         InsetText LyXText.
11452
11453 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11454
11455         * buffer.C (parseSingleLyXformat2Token): handle more latex
11456         conversion cases.
11457
11458         * bufferview_funcs.[hC]: change function names to
11459         begin with small char, adjust other files.
11460
11461 2001-08-02  André Pönitz <poenitz@gmx.net>
11462
11463         * lyxfunc.C:
11464         BufferView_pimpl.C: remove broken special code for math-greek
11465
11466 2001-08-02  Juergen Vigna  <jug@sad.it>
11467
11468         * BufferView_pimpl.C (update): redone this function so that we
11469         update the text again if there was a CHANGE_IN_DRAW.
11470
11471         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11472         (drawFromTo): added a new internal bool which is used by draw() and
11473         redraw() function.
11474         (general): some cursor drawing problems fixed.
11475
11476 2001-08-01  Juergen Vigna  <jug@sad.it>
11477
11478         * lyxfind.C (LyXFind): fixed
11479         (SearchForward): ditto
11480         (SearchBackward): ditto
11481
11482         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11483         spurius drawing of the cursor in the main area.
11484
11485         * text2.C (status): small fix which could lead to a segfault!
11486         (clearSelection): remove unneeded BufferView param.
11487
11488 2001-08-01  André Pönitz <poenitz@gmx.net>
11489
11490         * lyxfunc.C: small change due to changed mathed interface
11491
11492 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11493
11494         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11495
11496 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11497
11498         * lyxfunc.c: fail gracefully if file doesn't exist
11499
11500         * LyXSendto.C:
11501         * buffer.C:
11502         * lyxfunc.C:
11503         * BufferView_pimpl.C: IsDirWriteable() proto changed
11504
11505         * LyXView.C: fix updateWindowTitle() to store the last title
11506
11507 2001-07-31  Juergen Vigna  <jug@sad.it>
11508
11509         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11510         the font (wrong since using of Paragraph::highestFontInRange).
11511
11512         * paragraph.C (highestFontInRange): added a default_size parameter.
11513
11514         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11515         (setHeightOfRow): reformat
11516
11517 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11518
11519         * converter.[hC] + affected files: move to (inital-char)lowercase
11520         function names.
11521
11522         * ParagraphParameters.C (ParagraphParameters): remove commented code
11523
11524         * PainterBase.[Ch]: remove commented code
11525
11526         * LaTeXFeatures.h: add "bool floats" for float.sty
11527
11528         * LaTeXFeatures.C (LaTeXFeatures): init floats
11529         (require): handle float
11530         (getPackages): do it with floats
11531
11532 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11533
11534         * BufferView_pimpl.C (Dispatch): improve handling of
11535         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11536
11537         * commandtags.h: #include lyxfont.h here temporarily to avoid
11538         keybinding bug.
11539
11540         * bufferlist.h: include LString.h here.
11541
11542 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11543
11544         * text2.C (getStringToIndex): new method.
11545
11546 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11547
11548         * *: Reduced header file dependencies all over.
11549
11550 2001-07-30  Baruch Even  <baruch@lyx.org>
11551
11552         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11553
11554 2001-07-29  Baruch Even  <baruch@lyx.org>
11555
11556         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11557
11558 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11559
11560         * ParameterStruct.h (endif): add a default constructor to make
11561         sure that all variables is initialized.
11562
11563         * ParagraphParameters.C (ParagraphParameters): adjust
11564
11565 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11566
11567         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11568         index; also, check that there is something to index, and that it
11569         does not span over several paragraphs.
11570         (doubleClick): use WHOLE_WORD_STRICT for double click.
11571
11572         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11573
11574         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11575         scheme.
11576
11577 2001-07-26  Baruch Even  <baruch@lyx.org>
11578
11579         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11580         an InsetFig figure, backwards compatible reading of old figure code.
11581
11582 2001-07-27  Juergen Vigna  <jug@sad.it>
11583
11584         * text2.C: font.realize function adaption.
11585
11586         * text.C (draw): add a warnings lyxerr text if needed.
11587
11588         * layout.C: font.realize function adaption.
11589
11590         * language.C: add inherit_language and implement it's handlings
11591
11592         * bufferview_funcs.C (StyleReset): remove language parameter from
11593         font creation (should be language_inherit now).
11594
11595         * bufferparams.C (writeFile): handle ignore_language.
11596
11597         * paragraph.C (getFontSettings): the language has to be resolved
11598         otherwise we have problems in LyXFont!
11599
11600         * lyxfont.C (lyxWriteChanges): added document_language parameter
11601         (update): removed unneeded language parameter
11602
11603         * paragraph.C (validate): fixed wrong output of color-package when
11604         using interface colors for certain fonts in certain environments,
11605         which should not seen as that on the final output.
11606
11607 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11608
11609         * BufferView_pimpl.C:
11610         * Thesaurus.h:
11611         * Thesaurus.C:
11612         * Makefile.am:
11613         * commandtags.h:
11614         * LyXAction.C: add thesaurus support
11615
11616         * lyxfind.h:
11617         * lyxfind.C: add "once" parameter, for thesaurus, to not
11618           move to the next match
11619
11620 2001-07-26  Juergen Vigna  <jug@sad.it>
11621
11622         * lyxfont.C (realize): honor ignore_language too!
11623         (resolved): ditto.
11624
11625         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11626
11627         * text.C (draw): one place more for ignore_language to not draw
11628         itself!
11629
11630 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11631
11632         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11633
11634 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11635
11636         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11637         the minipage conversion problem.
11638
11639 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11640
11641         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11642         insert an inset.
11643
11644 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11645
11646         * BufferView.h: don't forward declare WorkArea
11647
11648         * BufferView.C: don't include WorkArea.h
11649
11650 2001-07-25  André Pönitz <poenitz@gmx.net>
11651
11652         * commandtags.h:
11653         * LyXAction.C:
11654         * lyxfunc.C:  new LFUN 'math-space'
11655
11656         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11657
11658 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11659
11660         * text2.C (toggleInset): call open/close
11661
11662 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11663
11664         * lyxfunc.C (dispatch): add debug for the disabled case
11665
11666         * font.C (buttonText): make similar to rectText
11667
11668         * buffer.C (readInset): comment out parsing of insetlist and
11669         insttheorem
11670
11671         * PainterBase.C (rectText): small correction
11672
11673         * BufferView_pimpl.C: comment out insettheorem and insetlist
11674         * LyXAction.C: ditto
11675         * commandtags.h: ditto
11676
11677 2001-07-24  Juergen Vigna  <jug@sad.it>
11678
11679         * text.C (draw): honor the ignore_language.
11680
11681         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11682
11683 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11684
11685         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11686         char inset.
11687
11688 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11689
11690         * lyxtext.h: remove unused (and unimplemented) methods
11691
11692 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11693
11694         * text.C (getVisibleRow): honor background color
11695
11696         * PainterBase.h:
11697         * Painter.h: remove default color argument for fillRectangle
11698
11699         * text.C (backgroundColor): new method
11700
11701 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11702
11703         * text.C (getVisibleRow): adjust
11704
11705         * font.[Ch] (rectText): new method, metrics
11706         (buttonText): new method, metrics
11707
11708         * PainterBase.[hC]: make rectText and buttonText always draw and take
11709         fewer paramteres.
11710
11711 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11712
11713         * ToolbarDefaults.C (read):
11714         * MenuBackend.C (read): allow escaping in all strings
11715
11716         * BufferView_pimpl.C (insertAndEditInset): new method.
11717         (Dispatch): use insertAndEditInset whenever appropriate.
11718
11719         * BufferView_pimpl.C (insertNote): removed
11720
11721         * BufferView_pimpl.C (smartQuote): new method, moved from
11722         BufferView; if an insetquote cannot be inserted, insert a '"'
11723         character instead.
11724
11725         * BufferView2.C: remove insertCorrectQuote();
11726
11727         * lyxfunc.C (getStatus): Add support for all remaingin
11728         inset-insert lfuns.
11729
11730         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11731
11732         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11733         command (necessary to pass " as parameter of self-insert.
11734
11735         * text.C (selectWordWhenUnderCursor):
11736         (selectWord): add word_location parameter
11737         (selectWordWhenUnderCursor): same + remove special code for word
11738         boundary.
11739         (selectNextWord): use kind() to guess type of insetspecialchar,
11740         not latex().
11741
11742         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11743         (insertErtContents): create ert insets as collapsed.
11744         (readInset): better compatibility code for Info inset.
11745
11746 2001-07-20  Juergen Vigna  <jug@sad.it>
11747
11748         * lyxfunc.C (dispatch): use always LyXFind now!
11749
11750         * text2.C (init): add a reinit flag so that the LyXText can be
11751         reinited instead of deleted and reallocated (used in InsetText).
11752
11753         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11754
11755         * text.C: ditto
11756
11757         * text2.C: ditto
11758
11759 2001-07-18  Juergen Vigna  <jug@sad.it>
11760
11761         * text.C (selectNextWord): handle insets inside inset by calling
11762         always the bv->text functions so that we can go up the_locking_inset!
11763
11764         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11765         in strange locations when inside an inset!
11766
11767         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11768         handling to include insets.
11769
11770         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11771
11772 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11773
11774         * LyXAction.C (init):
11775         * commandtags.h:
11776         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11777         LIGATURE_BREAK, since the name is so stupid.
11778
11779 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11780
11781         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11782         InsetInfos.
11783
11784         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11785
11786         * sp_form.[Ch]: remove.
11787
11788         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11789
11790         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11791         InsetInfo.
11792
11793         * src/buffer.C (readInset): ditto.
11794
11795 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11796
11797         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11798         menuSeparator(), endOfSentenceDot(), ldots() and
11799         hyphenationPoint(), which are therefore removed.
11800         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11801
11802         * LyXAction.C (init):
11803         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11804
11805         * paragraph.C (getWord): removed.
11806
11807         * BufferView_pimpl.C (Dispatch): use last word or selection for
11808         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11809
11810         * lyx_main.C (queryUserLyXDir): do not ask before creating
11811         user_dir, except if it has been named explicitely.
11812
11813 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11814
11815         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11816         a document of zero size.
11817
11818 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11819
11820         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11821         approriately in the c-tor and in require().
11822         (getPackages): output the appropriate LaTeX for natbib support.
11823
11824         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11825         variables "use_natbib" and "use_numerical_citations" when reading the
11826         LyX file.
11827         (readInset): read the various natbib cite commands.
11828         (validate): white-space change.
11829
11830         * bufferparams.[Ch]: new variables "bool use_natbib" and
11831         "bool use_numerical_citations".
11832         (writeFile): output them in the LyX file.
11833
11834 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11835
11836         * lyxfunc.C (getStatus): add support for all the inset insertion
11837         commands.
11838
11839         * text2.C (insertInset):
11840         * paragraph.C (insetAllowed):
11841         * BufferView_pimpl.C (insertInset): update to take in account the
11842         renaming of insertInsetAllowed
11843
11844         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11845
11846         * text2.C (getInset): new method. returns inset at cursor position.
11847
11848         * BufferView_pimpl.C (Dispatch): changes because of this.
11849
11850         * LyXAction.C (init): rename open-stuff to inset-toggle.
11851
11852         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11853
11854         * text2.C (toggleInset): renamed from openStuff; use
11855         Inset::open().
11856
11857 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11858
11859         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11860
11861         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11862
11863 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11864
11865         * buffer.C (readLyXformat2): Add filename to the error dialog
11866
11867 2001-07-18  Juergen Vigna  <jug@sad.it>
11868
11869         * tabular.C (GetCellNumber): put an assert here instead of the check!
11870
11871 2001-07-17  Juergen Vigna  <jug@sad.it>
11872
11873         * BufferView_pimpl.C (toggleSelection): adapted too.
11874
11875         * text.C (selectNextWord): adapted for use with insets.
11876         (selectSelectedWord): ditto
11877
11878 2001-07-17  Juergen Vigna  <jug@sad.it>
11879
11880         * sp_spell.C (PSpell): fix initialitation order.
11881
11882 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11883
11884         * paragraph.C: spacing
11885
11886 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11887
11888         * sp_spell.C: repair language selection for pspell
11889
11890 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11891
11892         * lyxfunc.h: change more methods to begin with lower char.
11893
11894 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11895
11896         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11897         for unknown layouts.
11898
11899 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11900
11901         * buffer.C (readLyXformat2): Generate an error dialog if there are
11902         unknown layouts.
11903
11904 2001-07-16  Juergen Vigna  <jug@sad.it>
11905
11906         * sp_spell.C: always compile ISpell part.
11907
11908         * lyxrc.C: added use_pspell entry and it's handling.
11909
11910 2001-07-13  Juergen Vigna  <jug@sad.it>
11911
11912         * sp_spell.C: removed double includes.
11913
11914 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11915
11916         Consistent use of Lsstream.h:
11917         * Lsstream.h: added using std::stringstream for consistencies sake.
11918
11919         * buffer.C: removed using std::stringstream
11920
11921         * lyxfont.C (stateText):
11922         * paragraph.C (asString):
11923         * text.C (selectNextWord, selectSelectedWord):
11924         * text2.C (setCounter):
11925         * vspace.C (asString, asLatexString):
11926         std::ostringstream -> ostringstream.
11927
11928 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11929
11930         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11931         * commandtags.h: add LFUN_HELP_ABOUTLYX
11932         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11933
11934 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11935
11936         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11937         cursorToggle()
11938         * lyx_gui_misc.C: remove spellchecker
11939         * lyxfunc.C: showSpellchecker
11940         * sp_base.h: added
11941         * sp_ispell.h: added
11942         * sp_pspell.h: added
11943         * sp_spell.C: added
11944         * sp_form.[Ch]: removed
11945         * spellchecker.[Ch]: removed
11946
11947 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11948
11949         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11950         is set.
11951         (simpleTeXSpecialChars): Simply print the input character without
11952         any special translation if pass_thru is set.
11953
11954         * layout.h: Added bool pass_thru to layout class for being able to
11955         implement pass through of a paragraph for Literate Programming.
11956
11957         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11958         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11959         * layout.C (Read): add "passthru" to list of layout tags and add
11960         code to set the pass_thru boolean when it is read.
11961
11962 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11963
11964         * trans_decl.h: remove allowed from KmodInfo
11965
11966         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11967         remove allowed code
11968         (Load): adjust
11969
11970         * paragraph_pimpl.C (erase): use boost::prior
11971
11972         * Painter.C (text): use data() instead of c_str() when length is
11973         also provided.
11974         * WorkArea.C (putClipboard): ditto
11975         * font.h (width): ditto
11976
11977         * BufferView2.C: use it-> instead of (*it). for iterators
11978         * texrow.C: ditto
11979         * paragraph_pimpl.C: ditto
11980         * paragraph.C: ditto
11981         * minibuffer.C: ditto
11982         * language.C: ditto
11983         * kbmap.C: ditto
11984         * encoding.C: ditto
11985         * counters.C: ditto
11986         * converter.C: ditto
11987         * chset.C: ditto
11988         * Variables.C: ditto
11989         * TextCache.C: ditto
11990         * MenuBackend.C: ditto
11991         * LyXAction.C: ditto
11992         * LColor.C: ditto
11993         * FloatList.C: ditto
11994         * DepTable.C: ditto
11995         * ColorHandler.C (LyXColorHandler): ditto
11996
11997 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11998
11999         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12000
12001         * text2.C (openStuff): reintroduce this method (which had been
12002         nuked in NEW_INSETS frenzy).
12003
12004         * lyxfunc.C (Dispatch): when an action has not been handled, use
12005         its name in the error message, not its number.
12006
12007         * paragraph.C (inInset): change method name to begin with lowercase.
12008
12009         * undo_funcs.C:
12010         * text2.C: updates because of this.
12011
12012 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12013
12014         * ToolbarDefaults.C (add): add spaces in error message
12015
12016 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12017
12018         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12019         (readLyXformat2): rename return_par to first_par, use lyxlex's
12020         pushToken and remove the manual push handling.
12021         (parseSingleLyXformat2Token): add another ert comp. variable:
12022         in_tabular, rename return_par to first_par. handle newlines better
12023
12024 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12025
12026         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12027
12028 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12029
12030         * text2.C (getParFromID): removed
12031
12032         * buffer.C (getParFromID): new method moved form lyxtext.
12033         * BufferView2.C (insertErrors): adjust
12034         (setCursorFromRow): adjust
12035         * BufferView_pimpl.C (restorePosition): adjust
12036         * lyxfunc.C (Dispatch): adjust
12037         * undo_funcs.C (textUndo): adjust
12038         (textRedo): adjust
12039         (textHandleUndo): adjust
12040         (textHandleUndo): adjust
12041
12042 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12043
12044         * buffer.C: up' the LYX_FORMAT
12045
12046         * lyxfont.h: turn NO_LATEX on as default
12047
12048         * buffer.C (insertErtContents): new methods of tex style compability.
12049         (parseSingleLyXformat2Token): use it several places.
12050         * tabular.C (OldFormatRead): and here
12051
12052 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12053
12054         * text2.C: remove some commented code.
12055         reindent file.
12056
12057         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12058         * trans.C: changes because of the above.
12059
12060 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12061
12062         * text2.C (setCounter): Fix counters bug with bibliography layout.
12063
12064 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12065
12066         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12067         own member functions
12068         (simpleTeXSpecialChars): ditto
12069
12070 2001-07-06  Juergen Vigna  <jug@sad.it>
12071
12072         * a lot of files: changed the access to LyXText::status and the
12073         call of undo-functions.
12074
12075         * undo.[Ch]: added a inset_id to the undo informations.
12076
12077         * undo_funcs.[Ch]: added and moved here all undo functions.
12078
12079         * lyxtext.h: give the status enum a weight, made status_ a private
12080         variable and made accessor functions for it, removed the whole bunch
12081         of undo-functions as they are now in their own file, make some
12082         functions publically available. Added function ownerParagraph with
12083         int parameter.
12084
12085         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12086         made InInset() a const function, added getParFromID() function.
12087
12088         * buffer.[Ch]: added const version for inset_iterator functions,
12089         added getInsetFromID() function.
12090
12091         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12092         changed undo functions for new version.
12093
12094 2001-07-05  Juergen Vigna  <jug@sad.it>
12095
12096         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12097         unknow mechanism does not call the proper constructor but only this
12098         one also if I request the other!?
12099
12100 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12101
12102         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12103
12104         * text2.C (LyXText): use initialization lists.
12105
12106         * lyxtext.h (Selection): initialize set_ and mark_
12107         (init): remove method
12108
12109 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12110
12111         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12112
12113 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12114
12115         * screen.[Ch]: change method names to begin with lowercase
12116
12117         * BufferView_pimpl.C (updateScrollbar): simplify further and
12118         hopefully make it a bit faster.
12119
12120 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12121
12122         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12123         calling directly xforms functions.
12124
12125         * Painter.C (Painter):
12126         * lyx_cb.C (MenuWrite):
12127         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12128         fl_display.
12129
12130         * lyx_gui.C: remove bogus guiruntime extern declaration.
12131
12132 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12133
12134         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12135         in NEW_INSETS
12136         (redoDrawingOfParagraph): ditto
12137         (redoParagraphs): ditto
12138         (cutSelection): don't create a object for CutAndPaste use the
12139         static method directly
12140         (pasteSelection): ditto
12141
12142         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12143         LyXview (+ rename)
12144
12145 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12146
12147         * modifications to some other files because of this.
12148
12149         * Makefile.am (lyx_SOURCES): add XFormsView
12150
12151         * XFormsView.[Ch]: new files
12152
12153         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12154         the main window. Move the gui dependent stuff to XFormsView
12155
12156 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12157
12158         * tabular.C (GetCellInset): update cur_cell also in the row/col
12159         version of this function.
12160
12161         * lyxfunc.C: no need to include figure_form.h here.
12162
12163         * FontLoader.h:
12164         * lyxfunc.h:
12165         * lyxscreen.h:
12166         * text2.C:
12167         * lyxvc.C: no need to include forms.h here.
12168
12169 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12170
12171         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12172
12173         * lyxfunc.C (Dispatch):
12174         * Spacing.C (set):
12175         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12176         constructor argument.
12177
12178 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12179
12180         * paragraph.C (Paragraph): dont't clear, and just set layout.
12181         (makeSameLayout): use params's copy contructor.
12182
12183         * ParagraphParameters.[Ch] (makeSame): delete method
12184
12185 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12186
12187         * Variables.[Ch]: fix indentation, rename set to isSet
12188
12189 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12190
12191         * lyxfunc.C (Dispatch): fix typo
12192
12193 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12194
12195         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12196         upper_bound.
12197
12198         * bufferlist.C: include assert.h for emergencyWrite().
12199
12200 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12201
12202         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12203           give up at last (bug #425202) !
12204
12205 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12206
12207         * lyx_gui_misc.C:
12208         * sp_form.h:
12209         * sp_form.C:
12210         * spellchecker.h:
12211         * spellchecker.C: strip spellchecker options and bring up
12212           preferences tab instead
12213
12214 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12215
12216         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12217         the istringstream constructor
12218
12219 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12220
12221         * paragraph.C (getLayout): fix return value
12222
12223         * paragraph.h: do not declare getLayout as inline.
12224
12225         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12226
12227 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12228
12229         * lyxcursor.h (operator<): new func
12230         (operator>): new func
12231         (operator>=): new func
12232         (operator<=): new func
12233
12234         * text.C (changeCase): use selection.start and selection.end
12235         (changeRegionCase): require from to be <= to. Require par to be a
12236         valid paragraph.
12237
12238         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12239
12240 2001-06-27  Juergen Vigna  <jug@sad.it>
12241
12242         * text.C (cursorLeftOneWord): changed to return the cursor and added
12243         overlay with BufferView * parameter which calls this one.
12244         (getWord): added
12245         (selectWord): use new getWord function.
12246         (changeCase): renamed from changeWordCase as and extended to work
12247         also on selections.
12248
12249         * lyxtext.h: added enum word_location
12250
12251         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12252         changeCase as this operates now also on selections.
12253
12254 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12255
12256         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12257
12258         * many files: send debug output to Debug::INFO instead of
12259         Debug::ANY.
12260
12261         * converter.C (View):
12262         (Convert):
12263         (Move): send debug output to Debug::FILES instead of console.
12264
12265 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12266
12267         * lyxfunc.C (getStatus): use func_status
12268
12269         * func_status.h: new header, describing the results of
12270         LyXFunc::getStatus;
12271
12272         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12273         LFUN_MATH_HALIGN.
12274
12275 2001-06-25  The LyX Project  <jug@sad.it>
12276
12277         * buffer.C (sgmlOpenTag):
12278         (sgmlCloseTag):
12279         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12280
12281 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12282
12283         * text2.C: remove some dead code
12284
12285         * tabular.C (GetCellInset): store the last cell checked (gotten)
12286
12287         * tabular.h: add the helper for the speedup
12288
12289         * lyxtext.h: remove some dead code
12290
12291 2001-06-26  The LyX Project  <Asger>
12292
12293         * paragraph.C: Change export to LaTeX of alignment to
12294         \begin{center} and family for better roundtrip work with reLyX.
12295
12296         * Tune the math drawing a bit.
12297
12298 2001-06-25  The LyX Project  <Asger>
12299
12300         * LColor.C (LColor): New color for math background. New color
12301         for buttons.
12302
12303 2001-06-25  The LyX Project  <jug@sad.it>
12304
12305         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12306
12307         * lyxfunc.C (Open):
12308         * bufferlist.C (newFile): do not restrict to files ending with
12309         .lyx
12310
12311         * BufferView_pimpl.C (MenuInsertLyXFile):
12312
12313 2001-06-24  The LyX Project  <jug@sad.it>
12314
12315         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12316         of compare_no_case
12317
12318 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12319
12320         * lyxtext.h: rename most methods to begin with a small char.
12321         Lots of changes because of this.
12322
12323         * paragraph.C (Paragraph): do not call fitToSize
12324         (erase): call Pimpl::erase
12325         (insertChar): call Pimpl::insertChar
12326         (insertInset): call Pipl::insertInset
12327         (breakParagraph): do not call fitToSize
12328         (breakParagraphConservative): do not call fitToSize
12329         (fitToSize): remove method
12330
12331         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12332
12333 2001-06-24  The LyX Project  <Asger>
12334
12335         * Fix Qt compilation^2
12336
12337 2001-06-24  The LyX Project  <jug@sad.it>
12338
12339         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12340         depthHook(getDepth()-1).
12341
12342         * paragraph.h:
12343         * ParagraphParameters.h:
12344         * ParameterStruct.h: change type of depth to unsigned int ==
12345         depth_type. Many adaptations to other files before of that.
12346
12347 2001-06-24  The LyX Project  <Asger>
12348
12349         * Fix Qt compilation.
12350
12351 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12352
12353         * paragraph.h: renamed several methods to begin with small letter.
12354         several changes to many parts of the code because of this.
12355
12356 2001-06-23  The LyX Project  <jug@sad.it>
12357
12358         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12359         rewritten to discard all double spaces when KeepEmpty is off
12360         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12361         to only handle newlines but not fiddle with spaces and friends.
12362
12363         * lyxfunc.C (MenuNew): when doing 'new from template', use
12364         template_path as default directory
12365
12366 2001-06-23  The LyX Project  <Asger>
12367
12368         * Clean-up of header file includes all over
12369         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12370
12371 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12372
12373         * paragraph.h: renamed from lyxparagraph.h
12374
12375 2001-06-23  Asger  <lyx@violet.home.sad.it>
12376
12377         * Buffer.h: Removed Buffer::resize
12378         * BufferList.h: Removed BufferList::resize
12379         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12380         the document lazily when we change the width, or the font settings.
12381
12382 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12383
12384         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12385
12386 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12387
12388         * buffer.h: remove out of date comment
12389
12390 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12391
12392         * lyxscreen.h:
12393         * screen.C: fix "theoretical" GC leak
12394
12395 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12396
12397         * LaTeX.C (scanAuxFile):
12398         (deplog): remove trailing \r when reading stream (useful under
12399         win32)
12400
12401 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12402
12403         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12404         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12405         and BufferView::theLockingInset(Inset*), so should use them and not
12406         access bv_->text->the_locking_inset directly.
12407
12408         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12409
12410 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12411
12412         * Makefile.am:
12413         * tex-defs.h: remove old unused file
12414
12415 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12416
12417         * BufferView_pimpl.C: fix typo, remove minibuffer message
12418           when buffer has loaded
12419
12420 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12421
12422         * lyxfunc.C (Dispatch): use stringstream
12423         (MenuNew): use stringstream
12424         (Open): use stringstream
12425
12426         * importer.C (Import): use stringstream
12427
12428         * bufferview_funcs.C (CurrentState): use stringstream
12429
12430         * LaTeX.C (run): use stringstream
12431
12432         * BufferView_pimpl.C (savePosition): use stringstream
12433         (restorePosition): use stringstream
12434         (MenuInsertLyXFile): use stringstream
12435
12436 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12437
12438         * BufferView.C:
12439         * Bullet.C:
12440         * ColorHandler.C:
12441         * FontInfo.C:
12442         * FontLoader.C:
12443         * LColor.C:
12444         * LaTeXFeatures.C:
12445         * Painter.C:
12446         * gettext.C:
12447         * lyx_gui_misc.C:
12448         * lyxserver.C:
12449         * vspace.C: removed // -*- C++ -*- as first line.
12450
12451         * lyxfind.h:
12452         * version.h: added // -*- C++ -*- as first line.
12453
12454 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12455
12456         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12457
12458         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12459         of string
12460
12461 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12462
12463         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12464         of floats.
12465
12466 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12467
12468         * gettext.C: include LString.h even when --disable-nls is on.
12469
12470 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12471
12472         * converter.h (Get): changed argument type from int to
12473         FormatList::size_type to avoid unnecessary conversion.
12474
12475         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12476         before using it.
12477
12478 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12479
12480         * gettext.h: include LString.h even when --disable-nls is on.
12481
12482 2001-06-07  Juergen Vigna  <jug@sad.it>
12483
12484         * text.C (BreakAgain): subst spaces with tabs.
12485
12486         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12487         (resizeInsetsLyXText): set force on resizeLyXText.
12488
12489 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12490
12491         * gettext.h (gettext_init):
12492         (locale_init): use a real definition instead of a macro
12493
12494 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12495
12496         * Bufferview_pimpl.C:
12497         * LColor.h:
12498         * LColor.C: further lcolor tidies
12499
12500 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12501
12502         * BufferView_pimpl.C (updateScrollbar): simplify.
12503
12504         * BufferView2.C: don't include insets/insetinfo.h, change
12505         prototype for insertInset and call the Pimpl version. let
12506         updateInset call Pimpl version.
12507
12508         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12509         gotoInset to BufferView::Pimpl
12510
12511 2001-06-01  Juergen Vigna  <jug@sad.it>
12512
12513         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12514         inside a LockingInset (is the update needed at all?).
12515
12516 2001-05-31  Juergen Vigna  <jug@sad.it>
12517
12518         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12519         here not the old one otherwise how should we compare it afterwards
12520         if it's the same!
12521
12522 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12523
12524         * lyxfont.C:
12525         * tabular.C:
12526         * tabular-old.C:
12527         * FontInfo.C: bring C functions into global namespace when
12528         necessary
12529
12530 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12531
12532         * LString.h: make sure config.h has been loaded before LString.h.
12533
12534         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12535         (one for each char read by EatLine!).
12536
12537         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12538         variables.
12539
12540 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12541
12542         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12543         to the same as the par we break from
12544
12545 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12546
12547         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12548
12549         * MenuBackend.C (expand): also create menu entries for wide
12550         versions of the floats.
12551
12552         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12553
12554         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12555
12556         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12557         frontends/Makefile.am
12558
12559         * text2.C: adjust
12560         * text.C: adjust
12561
12562
12563         * tabular.C (getTokenValue): add std::
12564
12565         * tabular-old.C (getTokenValue): add std::
12566         (getTokenValue): ditto
12567         (getTokenValue): ditto
12568
12569         * screen.C (ToggleSelection): adjust
12570
12571         * lyxtext.h: put selection cursors inside a Selection struct.
12572
12573         * lyxfunc.C (moveCursorUpdate): adjust
12574
12575         * lyxfont.C (latexWriteStartChanges): add std::
12576
12577         * lyxfind.C: adjust
12578
12579         * font.h: delete with(char const *, LyXFont const &)
12580
12581         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12582
12583         * FontInfo.C (getFontname): add std::
12584
12585         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12586         (workAreaButtonPress): adjust
12587         (tripleClick): adjust
12588         (update): adjust
12589         (moveCursorUpdate): adjust
12590         (Dispatch): adjust
12591
12592         * BufferView2.C (gotoInset): adjust
12593
12594 2001-05-30  Juergen Vigna  <jug@sad.it>
12595
12596         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12597         to check pspell I add this as default as I now have new pspell
12598         libraries and they seem to use this.
12599
12600 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12601
12602         * text2.C (CutSelection): make the cursor valid before the call to
12603         ClearSelection.
12604
12605 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12606
12607         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12608         relied on 0 terminated strings and other horrors. Bug found due to
12609         the new assert in lyxstring!
12610
12611         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12612         KP_ keys.
12613
12614 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12615
12616         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12617         to latinkeys.bind.
12618
12619         * lyxfunc.C (processKeySym): change method of getting to the
12620         self-insert char.
12621
12622         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12623         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12624         * BufferView_pimpl.[Ch]: here as private methods.
12625
12626 2001-05-28  Juergen Vigna  <jug@sad.it>
12627
12628         * text.C (SetHeightOfRow): added the update() call again as it is
12629         needed to initialize inset dimensions!
12630
12631 2001-05-16  Juergen Vigna  <jug@sad.it>
12632
12633         * text2.C (SetCharFont): Add new function with BufferView * and
12634         bool toggleall parameters for setting insets internal fonts.
12635         (SetFont): Freeze the undo as we may change fonts in Insets and
12636         all this change should be inside only one Undo!
12637
12638         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12639         setting font's in insets as for them we have the SetFont function!
12640
12641 2001-05-15  Juergen Vigna  <jug@sad.it>
12642
12643         * text2.C (ClearSelection): to be sure we REALLY don't have any
12644         selection anymore!
12645
12646         * tabular.C (TeXCellPreamble): fixed the left border problem for
12647         multicolumn cells.
12648
12649 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12650
12651         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12652         dependancy file
12653
12654 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12655
12656         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12657         LFUN_BREAKPARAGRAPH.
12658
12659         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12660         help test to "internal only", similar for LFUN_INSERT_URL
12661
12662         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12663         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12664         auto_region_delete and deadkeys.
12665
12666 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12667
12668         * LColor.h:
12669         * LColor.C: remove some dead entries, tidy a little
12670
12671 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12672
12673         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12674         commented code.
12675         (Dispatch): implement LFUN_ESCAPE
12676
12677         * commandtags.h: add LFUN_ESCAPE
12678
12679         * LyXAction.C (init): add entry for LFUN_ESCAPE
12680
12681         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12682         Remove commented code.
12683         (insertNote): moved here
12684         (open_new_inset): moved here
12685
12686         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12687         BufferView_pimpl
12688
12689 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12690
12691         * kbmap.C (findbinding): clean it up and make it work correctly.
12692
12693         * lyx_main.C (init): do not pass argc and argv as parameters
12694
12695 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12696
12697         * buffer.C: fix path for OS/2 & Win32
12698
12699         * lyx_gui.C:
12700         * lyx_main:
12701         * lyx_main.C: Added os:: class.
12702
12703         * os2_defines.h: update
12704
12705 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12706
12707         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12708         better by trying again with reduced state.
12709
12710 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12711
12712         * lyxrc.C (read): print error about invalid key sequence only when
12713         debugging (because not all latinX keysyms are known to some X
12714         servers)
12715
12716         * kbsequence.C (getiso): add a few std:: qualifiers
12717         (getiso): comment out extra return statement.
12718
12719 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12720
12721         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12722         handling.
12723         (Dispatch): enhance the accent inset a bit. (not perfect)
12724
12725 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12726
12727         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12728
12729 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12730
12731         * bufferlist.C (emergencyWrite): fix assert() call
12732
12733 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12734
12735         * text.C (InsertChar): Added trivial patch to only send the "you
12736         can not do multiple spaces this way" message once during a
12737         session.
12738
12739 2001-05-08  Baruch Even  <baruch@lyx.org>
12740
12741         * Makefile.am: Changed order of libraries to get LyX to link properly
12742         with the gnome frontend.
12743
12744 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12745
12746         * LaTeXFeatures.h: add a std:: qualifier
12747
12748 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12749
12750         * paragraph.C (String): use stringstream
12751
12752 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12753
12754         * paragraph.C (writeFile): remove footflag arg
12755
12756         * buffer.C (makeLaTeXFile): use stringstream
12757         (latexParagraphs): remove footnot gurba
12758
12759         * LaTeXFeatures.C (getPackages): use stringstream
12760         (getMacros): likewise
12761         (getTClassPreamble): likewise
12762         (getFloatDefinitions): new method
12763
12764         * paragraph.C (writeFile): reindent
12765         (Erase): reindent
12766
12767         * WorkArea.h: revert the xpos + etc changes.
12768
12769         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12770
12771         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12772
12773         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12774         (pasteSelection): likewise
12775         * text2.C (CreateUndo): likewise
12776
12777 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12778
12779         * minibuffer.C (peek_event): temporarily reduce the functionality
12780         of the minibuffer (to allow args on lfuns)
12781
12782         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12783         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12784
12785         * buffer.C (readInset): add compability reading of old float
12786         lists, add reading of new style float list.
12787         (readInset): avoid reevaluation of inscmd.getCmdName()
12788         (getLists): reindent
12789
12790         * MenuBackend.C (MenuItem): implement parsing of
12791         md_floatlistinsert and md_floatinsert.
12792         (expand::LastFiles): move initalizaton of iterators out of loop,
12793         avoid reevaluation.
12794         (expand::Documents): introduce typdedef vector<string> Strings,
12795         and use it.
12796         (expand::ExportFormats): introduce typedef vector<Format const *>
12797         Formats, and use it.
12798         (expand): implement FloatListInsert and FloatInsert.
12799
12800         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12801         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12802         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12803
12804         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12805         handling.
12806         (Dispatch::LFUN_FLOAT_LIST): implement
12807
12808 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12809
12810         * LaTeX.C (run): Fix problem with --export code.
12811
12812 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12813
12814         * BufferView.[Ch] (workarea): removed.
12815         (getClipboard) new method; wrapper for workarea()->getClipboard()
12816
12817         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12818         bug.
12819
12820         * WorkArea.h (width, height, xpos, ypos): These methods all
12821         returned the dimensions of the work_area sub-area of WorkArea,
12822         resulting in a position error if the WorkArea were resized. Now
12823         return the dimensions of the entire WorkArea.
12824
12825         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12826
12827 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12828
12829         * LaTeX.C (deplog): correct the syntax of regex reg1
12830
12831 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12832
12833         * undo.C: remove !NEW_INSETS cruft
12834
12835 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12836
12837         * text2.C: remove !NEW_INSETS cruft
12838
12839         * text.C: remove !NEW_INSETS cruft
12840
12841         * tabular.C: remove !NEW_INSETS cruft
12842
12843         * spellchecker.C: remove !NEW_INSETS cruft
12844
12845         * lyxtext.h: remove !NEW_INSETS cruft
12846
12847         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12848
12849         * lyxfunc.C: remove !NEW_INSETS cruft
12850
12851         * lyxfind.C: remove !NEW_INSETS cruft
12852
12853         * lyx_cb.C: remove !NEW_INSETS cruft
12854
12855         * figureForm.C: remove  !NEW_INSETS cruft
12856
12857         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12858
12859         * buffer.[Ch]: remove !NEW_INSETS cruft
12860
12861         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12862
12863         * CutAndPaste.C: remove !NEW_INSETS cruft
12864
12865         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12866
12867         * BufferView2.C: remove !NEW_INSETS cruft
12868
12869         * BufferView.h: remove !NEW_INSETS cruft
12870
12871 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12872
12873         * Lsstream.h: include LString.h before the sstream headers to
12874         fix problem with gcc 2.95.3 and lyxstring
12875
12876 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12877
12878         * lyx_main.C: add using directives when needed for C functions
12879         declared in std:: namespace.
12880
12881 2001-04-27  Juergen Vigna  <jug@sad.it>
12882
12883         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12884         (SetHeightOfRow): comment out the update call should not be needed!
12885
12886 2001-04-13  Juergen Vigna  <jug@sad.it>
12887
12888         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12889         (LyXTabular): tried to minimize operator= operations (and realized
12890         hopfully Lars wish).
12891
12892 2001-04-27  Juergen Vigna  <jug@sad.it>
12893
12894         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12895
12896 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12897
12898         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12899
12900         * buffer.C (readInset): hack to make listof algorithm work
12901
12902         * BufferView_pimpl.C: hack to make listof algorithm work
12903
12904 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12905
12906         * LyXAction.C: removed all !NEW_INSETS cruft
12907         (init): moved lfun_item in method
12908
12909         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12910
12911 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12912
12913         * BufferView2.C (theLockingInset): white space.
12914
12915 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12916
12917         * minibuffer.C: include <iostream>
12918
12919         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12920
12921         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12922
12923         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12924
12925         * text.[Ch] (TransposeChars): new method
12926
12927 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12928
12929         * call message directly through LyXView instead of through LyXFunc
12930         * BufferView2.C: adjust
12931         * BufferView_pimpl.C: adjust
12932         * FontLoader.C: adjust
12933         * buffer.C: adjust
12934         * bufferview_funcs.C: adjust
12935         * converter.C: adjust
12936         * figureForm.C: adjust
12937         * importer.C: adjust
12938         * lyx_cb.C: adjust
12939         * lyx_gui_misc.C: adjust
12940         * lyxfunc.C: adjust
12941         * lyxvc.C: adjust
12942         * text2.C: adjust
12943         + more files in subdirs
12944
12945         * lyxparagraph.h (size): move up int file
12946         (GetLayout): ditto
12947
12948         * adjust all uses of Assert to lyx::Assert.
12949
12950         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12951         lyxfunctional in namespace lyx
12952         * layout.C (hasLayout): ditto
12953         (GetLayout): ditto
12954         (GetLayout): ditto
12955         (delete_layout): ditto
12956         (NumberOfClass): ditto
12957         * converter.C (GetFormat): ditto
12958         (GetNumber): ditto
12959         (Add): ditto
12960         (Delete): ditto
12961         (SetViewer): ditto
12962         * bufferlist.C (getFileNames): ditto
12963         (emergencyWriteAll): ditto
12964         (exists): ditto
12965         (getBuffer): ditto
12966         * MenuBackend.C (hasSubmenu): ditto
12967         (hasMenu): ditto
12968         (getMenu): ditto
12969         * BufferView_pimpl.C (getInsetByCode): ditto
12970
12971 2001-04-18  Juergen Vigna  <jug@sad.it>
12972
12973         * vspace.C (asLatexString): fixed the 100% problem.
12974
12975 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12976
12977         * lyxfunc.C (Dispatch):
12978         * minibuffer.C:
12979         * minibuffer.h: add a few std:: qualifiers
12980
12981 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12982
12983         * minibuffer.[Ch]: reimplement so that commands is initiated and
12984         run from lyxfunc, simplified som handling, and made the completion
12985         and history code for complete. wip.
12986
12987         * lyxfunc.C (processKeySym): call message
12988         (miniDispatch): new temporary method
12989         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12990         (LFUN_MESSAGE): implement
12991         (LFUN_MESSAGE_PUSH): implement
12992         (LFUN_MESSAGE_POP): implement
12993         (initMiniBuffer): the initial/defualt minibuffer message.
12994
12995         * lyxfont.[Ch]: inline some more getters
12996
12997         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12998
12999         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13000
13001         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13002         (AutoSave): use LFUN_MESSAGE
13003         (Reconfigure): ditto
13004
13005         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13006
13007         * figureForm.C: use LFUN_MESSAGE
13008
13009         * converter.C (runLaTeX): use LFUN_MESSAGE
13010
13011         * bufferview_funcs.C: use LFUN_MESSAGE
13012         (Melt): ditto
13013         (changeDepth): ditto
13014
13015         * bufferparams.h: use boost::
13016
13017         * bufferlist.h: inherit privately from noncopyable
13018
13019         * bufferlist.C (loadLyXFile): remove some commented code.
13020
13021         * buffer.C (runChktex): use LFUN_MESSAGE
13022
13023         * ShareContainer.h: inherit privately from noncopyable
13024
13025         * ParagraphParameters.[hC] (depth): inline it.
13026
13027         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13028         methods.
13029         (message): new method
13030         (messagePush): ditto
13031         (messagePop): ditto
13032         (show): init minibuffer
13033         (showState): direct call
13034
13035         * LaTeX.[Ch]: inherit privately from noncopyable
13036         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13037         instead of WriteStatus.
13038
13039         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13040
13041         * BufferView_pimpl.C (buffer): don't init minibuffer
13042         (workAreaButtonPress): use LFUN_MESSAGE
13043         (workAreaButtonRelease): ditto
13044         (savePosition): ditto
13045         (restorePosition): ditto
13046         (MenuInsertLyXFile): ditto
13047         (workAreaExpose): don't init minibuffer
13048         (update): remove commented code, simplify
13049
13050         * BufferView2.C (openStuff): use LFUN_MESSAGE
13051         (toggleFloat): ditto
13052         (menuUndo): ditto
13053         (menuRedo): ditto
13054         (copyEnvironment): ditto
13055         (pasteEnvironment): ditto
13056         (copy): ditto
13057         (cut): ditto
13058         (paste): ditto
13059         (gotoInset): ditto
13060         (updateInset): remove some commented code
13061
13062         * lastfiles.h: inherit privately from noncopyable
13063         * layout.h: ditto
13064         * lyx_gui.h: ditto
13065         * lyx_main.h: ditto
13066         * lyxlex.h: ditto
13067         * lyxlex_pimpl.h: ditto
13068
13069         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13070         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13071         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13072
13073         * LyXAction.h: inherit privately from noncopyable, add methods
13074         func_begin, func_end, returning iterators to the func map.
13075
13076         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13077         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13078         (func_begin): new method
13079         (func_end): new method
13080
13081         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13082         and not)
13083         (copySelection): ditto
13084         (pasteSelection): ditto
13085
13086         * BufferView.C: whitespace change
13087         * BufferView.h: inherit privately from noncopyable
13088
13089 2001-04-16  Allan Rae  <rae@lyx.org>
13090
13091         * tabular-old.C (l_getline):
13092         * spellchecker.C (sc_check_word):
13093         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13094         an unrecognised preprocessor directive.  So ensure they're wrapped.
13095
13096 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13097
13098         * src/exporter.C (Export): Give an error message when path to file
13099         contains spaces.
13100
13101 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13102
13103         * LaTeX.C (deplog): Always check that foundfile exists.
13104
13105 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13106
13107         * lyx_main.h:
13108         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13109
13110 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13111
13112         * tabular.[Ch] (getLabelList): implement new method
13113
13114         * minibuffer.h: comment ouf setTiimer
13115
13116         * minibuffer.C (ExecutingCB): constify res
13117         (peek_event): constify s
13118         (Set): constify ntext
13119         (Init): constify nicename
13120
13121         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13122
13123         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13124         (savePosition): use two params to Minibuffer::Set
13125         (restorePosition): ditto
13126
13127 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13128
13129         * lyx_main.C: include language.h
13130
13131         * Makefile.am (lyx_main.o): add language.h
13132
13133 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13134
13135         * exporter.C:
13136         * paragraph.C:
13137         * screen.C:
13138         * tabular.C:
13139         * CutAndPaste.C: include gettext.h
13140
13141         * lyxfont.h: remove old hack with ON and OFF.
13142
13143         * lyxparagraph.h:
13144         * lyxfont.h: do not include language.h...
13145
13146         * BufferView2.C:
13147         * LaTeXFeatures.C:
13148         * Painter.C:
13149         * bufferview_funcs.C:
13150         * font.C:
13151         * lyxfont.C:
13152         * text.C:
13153         * text2.C:
13154         * trans_mgr.C:
13155         * paragraph.C: ... but do it here instead
13156
13157 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13158
13159         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13160
13161         * tabular.C: small reformat
13162
13163         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13164         NEW_INSETS version
13165         (GetChar): ditto
13166         (BreakParagraph): ditto
13167         (SetOnlyLayout): ditto
13168         (SetLayout): ditto
13169
13170         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13171         with one arg less.
13172
13173         * lastfiles.C: removed most using decl, add std:: where needed
13174
13175         * buffer.C: ws changes
13176
13177         * MenuBackend.C (class compare_format): put into anon namespace
13178         (expand): constify label, names, action, action2
13179         (expand):
13180
13181         * text.C (SingleWidth): constify font
13182         (IsBoundary): constify rtl2
13183         (GetVisibleRow): constify ww
13184
13185         * LaTeX.C (deplog): constify logfile
13186
13187         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13188         start_x, end_x
13189         (workAreaExpose): constify widthChange, heightChange
13190
13191         * lyxrow.C (par): moved
13192         (height): moved
13193         (next): moved
13194         * lyxrow.h: as inlines here
13195
13196         * lyxfont.h (shape): moved from lyxfont.C
13197         (emph): moved from lyxfont.C
13198
13199         * lyxfont.C (LyXFont): use initialization list for all
13200         constructors
13201         (shape): move to lyxfont.h as inline
13202         (emph): move to lyxfont.h as inline
13203
13204
13205 2001-04-04  Juergen Vigna  <jug@sad.it>
13206
13207         * vspace.C: had to include stdio.h for use of sscanf
13208
13209 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13210
13211         * BufferView.h:
13212         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13213         independent of xforms.
13214
13215 2001-04-02  Juergen Vigna  <jug@sad.it>
13216
13217         * spellchecker.C: fixed namespace placing!
13218
13219 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13220
13221         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13222         the LyXParagraph * is 0.
13223
13224 2001-03-29  Juergen Vigna  <jug@sad.it>
13225
13226         * vspace.C: added support for %, c%, p%, l%.
13227         (stringFromUnit): added helper function.
13228         (asLatexString): changed to give right results for the %-values.
13229
13230         * buffer.C: convert the widthp in a width%.
13231
13232 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13233
13234         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13235         figureForm.[Ch].
13236
13237         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13238         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13239
13240         * lyx_cb.[Ch]: see above.
13241
13242         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13243         form1.[Ch].
13244
13245         * form1.[Ch]:
13246         * lyx.[Ch]: replaced by figure_form.[Ch].
13247
13248         * lyx_gui.C:
13249         * lyx_gui_misc.C:
13250         * lyxfunc.C: changed headers associated with above changes.
13251
13252 2001-03-27  Juergen Vigna  <jug@sad.it>
13253
13254         * BufferView_pimpl.C: set the temporary cursor right!
13255
13256 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13257
13258         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13259
13260 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13261
13262         * LString.h: removed "using std::getline"!
13263
13264         * BufferView_pimpl.C (Dispatch): changes due to changes in
13265         InsetInclude::Params.
13266
13267         * buffer.C (tag_name): removed redundant break statements as they were
13268         producing lots of warnings with my compiler.
13269
13270 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13271
13272         * LString.h: add "using std::getline" when using the real <string>.
13273
13274 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13275
13276         * buffer.C: removed bitset usage.
13277         PAR_TAG moved to an anonymous name space.
13278         (tag_name): new funtion, also in the anonymous namespace.
13279         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13280         (makeDocBookFile): clean code. Completed transition from string arrays
13281         to string vectors.
13282         (SimpleDocBookOnePar): code clean.
13283
13284 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13285
13286         * tabular.C: add some comments.
13287
13288 2001-03-22  Juergen Vigna  <jug@sad.it>
13289
13290         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13291         compatibility read a bit and fixed bug with minipage in different
13292         depth.
13293
13294 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13295
13296         * buffer.C (pop_tag): removed.
13297         (push_tag): removed.
13298         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13299         array replaced with vector. Added support for CDATA sections.
13300         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13301         at any nest level.
13302         (makeDocBookFile): XML conformant declaration of CDATA section,
13303         fixed bug related to <emphasis> in the first paragraph char.
13304         (sgmlOpenTag): exclude empty tags.
13305         (sgmlCloseTag): ditto.
13306
13307         * buffer.h (pop_tag): removed.
13308         (push_tag): removed.
13309
13310 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13311
13312         * language.h (Languages): added size_type and size().
13313
13314 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13315
13316         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13317         response on compability reading of minipages. One probliem is that
13318         the old usage of minipages was «flertydig»
13319
13320         * several files here and in subdirs: don't use static at file
13321         scope use anon namespaces instead.
13322
13323 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13324
13325         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13326         LaTeX output. This is necessary for Literate document
13327         processing.
13328
13329 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13330
13331         * buffer.C: insert hfill when needed.
13332
13333         * tabular.C (l_getline): use string::erase, small whitespace change.
13334
13335         * BufferView_pimpl.C: try the anon namespace.
13336         * WorkArea.C: ditto
13337
13338 2001-03-16  Juergen Vigna  <jug@sad.it>
13339
13340         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13341         otherwise it won't open options-dialogs.
13342
13343         * buffer.C: honor pextraWidth(p) on converting minipages.
13344
13345         * tabular.C (l_getline): changed the functions to strip trailing \r.
13346
13347 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13348
13349         * BufferView_pimpl.C:
13350         * minibuffer..C: added "using SigC::slot" declaration.
13351
13352 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13353
13354         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13355
13356         * text2.C: ditto
13357
13358         * text.C: ditto
13359
13360         * paragraph.C: ditto
13361
13362         * lyxtext.h: NO_PEXTRA
13363
13364         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13365
13366         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13367         * ParameterStruct.h: ditto
13368         * ParagraphParameters.h: ditto
13369         * lyxparagraph.h: ditto
13370
13371 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13372
13373         * buffer.C: add compability for minipage alignment.
13374         (latexParagraphs): remove unwanted pextra check.
13375
13376         * several files: remove CXX_WORKING_NAMESPACES
13377
13378         * buffer.C (pop_tag): tie is in namespace boost
13379
13380         * BufferView.h: noncopyable is in namespace boost
13381         * lyxlex.h: ditto
13382         * lyx_main.h: ditto
13383         * lyx_gui.h: ditto
13384         * layout.h: ditto
13385         * lastfiles.h: ditto
13386         * bufferlist.h: ditto
13387         * ShareContainer.h: ditto
13388         * LyXView.h: ditto
13389         * LyXAction.h: ditto
13390         * LaTeX.h: ditto
13391
13392 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13393
13394         * Merging changes from BRANCH_MVC back into HEAD.
13395
13396         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13397
13398 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13399
13400         * BufferView_pimpl.C: change from intl.C
13401
13402         * combox.h:
13403         * combox.C:
13404         * Makefile.am: move combox.*
13405
13406         * form1.h:
13407         * form1.C:
13408         * lyx_gui.C:
13409         * intl.h:
13410         * intl.C: remove dialog (covered by prefs)
13411
13412 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13413
13414         * lyxfunc.C (Dispatch): removed redundant break statement.
13415
13416 2001-03-14  Juergen Vigna  <jug@sad.it>
13417
13418         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13419
13420 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13421
13422         * buffer.C: add hack to fix compability reading of minipages.
13423
13424 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13425
13426         * buffer.C (getLists): Cleanup.
13427
13428 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13429
13430         * lyxfont.C (update): don't honor toggleall on font size.
13431
13432 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13433
13434         * bmtable.c:
13435         * bmtable.h:
13436         * Makefile.am: moved to frontends/xforms/
13437
13438         * lyx_gui_misc.C:
13439         * lyxfunc.C:
13440         * BufferView_pimpl.C: changes for moved mathpanel
13441
13442 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13443
13444         * gettext.h: fix gettext_init() in --disable-nls
13445
13446 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13447
13448         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13449
13450 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13451
13452         * lyx.C:
13453         * lyx.h: strip external form
13454
13455 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13456
13457         * BufferView_pimpl.C: add comment, destroySplash()
13458
13459 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13460
13461         * BufferView_pimpl.C:
13462         * LyXAction.C:
13463         * buffer.C:
13464         * commandtags.h:
13465         * lyxfunc.C: use re-worked insetinclude
13466
13467 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13468
13469         * buffer.C: add using std::stringstream.
13470
13471         * lyx_cb.C: readd using std::ios.
13472
13473         * buffer.C: add using std::map.
13474
13475         * BufferView_pimpl.C: add using std::vector.
13476
13477         * ShareContainer.h: add std:: to swap.
13478
13479         * buffer.h: add some typedefs
13480         * buffer.C (getLists): use them
13481         (getLists): renamed from getTocList.
13482         add a counter for the different float types and use it in the
13483         generated string.
13484         (getLists): use the same counter for the NEW_INSETS and the "non"
13485         NEW_INSETS
13486
13487         * lyx_cb.h: remove unused items, includes, using etc.
13488
13489         * ShareContainer.h: remove some commented code, add more comments
13490         and "documentation".
13491
13492 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13493
13494         * buffer.C (getTocList): make the list also when NEW_INSETS is
13495         defined.
13496
13497         * buffer.h: remove TocType
13498
13499         * buffer.C (getTocList): change to return a map<string,
13500         vector<TocItem> >, implement for dynamic number of list.
13501
13502         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13503         * text2.C (PasteSelection): adjust
13504         * CutAndPaste.C (pasteSelection): adjust
13505
13506         * FloatList.C (FloatList): update from the new_insets branch.
13507         * Floating.[Ch]: ditto
13508         * LaTeXFeatures.C: ditto
13509         * buffer.C: ditto
13510         * lyxlex_pimpl.C: ditto
13511
13512         * paragraph.C (Last): remove when NEW_INSETS is defined.
13513
13514         * other file: changes because of the above.
13515
13516 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13517
13518         * lyxparagraph.h: rename next to next_, previous to previous_,
13519         make them private for NEW_INSETS. Rename Next() to next(),
13520         Previous() to previous().
13521
13522         * other files: changes because of the above.
13523
13524 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13525
13526         * BufferView.h:
13527         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13528         problem.
13529
13530 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13531
13532         * main.C (main): pass lyx_localedir to gettext_init().
13533
13534         * gettext.h: remove locale_init and gettext_init macros
13535
13536         * gettext.C (locale_init): new function
13537         (gettext_init): new function
13538
13539         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13540         setlocale().
13541
13542 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13543
13544         * Moved credits to frontends:
13545         * credits.[Ch]: removed
13546         * credits_form.[Ch]: removed
13547         * lyx_gui_misc.C: remove credits stuff
13548         * Makefile.am:
13549
13550 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13551
13552         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13553
13554         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13555         unneeded destructor.
13556
13557         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13558         a standalone pointer again.
13559
13560         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13561
13562 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13563
13564         * Makefile.am:
13565         * filedlg.h:
13566         * filedlg.C:
13567         * LyXAction.C:
13568         * ToolbarDefaults.C:
13569         * bufferlist.C:
13570         * commandtags.h:
13571         * form1.C:
13572         * form1.h:
13573         * lyx_cb.C:
13574         * lyx_cb.h:
13575         * lyxfunc.h:
13576         * lyxfunc.C:
13577         * BufferView_pimpl.C: use new file dialog in GUII
13578
13579         * lyx_cb.h:
13580         * lyx_cb.C: remove LayoutsCB to Toolbar
13581
13582 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13583
13584         * ShareContainer.h (get): add std:: qualifier
13585
13586 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13587
13588         * ShareContainer.h: define a proper ShareContainer::value_type
13589         type (and use typename to please compaq cxx)
13590
13591 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13592
13593         * lyxparagraph.h: move serveral local vars to
13594         ParameterStruct/ParagraphParameters., use ShareContainer in
13595         FontTable., make vars in FontTable private and add getter and
13596         setter.
13597
13598         * paragraph.C: changes because of the above.
13599
13600         * lyxfont.h: remove copy constructor and copy assignment. (the
13601         default ones is ok), move number inside FontBits. move inlines to
13602         lyxfont.C
13603
13604         * lyxfont.C: add number to initializaton of statics, move several
13605         inlines here. constify several local vars. some whitespace
13606         cleanup. Dont hide outerscope variables.
13607
13608         * Spacing.h: add two new constructors to match the set methods.
13609
13610         * ShareContainer.h: new file, will perhaps be moved to support
13611
13612         * ParameterStruct.h: new file
13613
13614         * ParagraphParameters.h: new file
13615
13616         * ParagraphParameters.C: new file
13617
13618         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13619         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13620
13621         * BufferView_pimpl.C: ParagraphParameter changes.
13622         * buffer.C: Likewise.
13623         * bufferview_funcs.C: Likewise.
13624         * text.C: Likewise.
13625         * text2.C: Likewise.
13626
13627 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13628
13629         * lyxfind.C (LyXReplace): do not redefine default argument in
13630         implementation.
13631         (IsStringInText): ditto
13632         (SearchForward): ditto
13633         (SearchBackward): ditto
13634
13635 2001-03-06  Juergen Vigna  <jug@sad.it>
13636
13637         * lyxfind.C (IsStringInText): put parentes around expressions.
13638
13639 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13640
13641         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13642
13643 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13644
13645         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13646
13647         * stl_string_fwd.h: add comment
13648
13649         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13650
13651         * tabular.h:
13652         * tabular.C: remove unused DocBook methods
13653
13654         * intl.C:
13655         * language.C:
13656         * paragraph.C:
13657         * buffer.C:
13658         killed DO_USE_DEFAULT_LANGUAGE
13659
13660 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13661
13662         * lyx_gui.C: do not include language.h.
13663
13664         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13665         arguments in function implementation.
13666
13667 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13668
13669         * BufferView_pimpl.C: add <ctime>
13670
13671 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13672
13673         * BufferView_pimpl.C: add using std::find_if
13674
13675 2001-02-27  José Matos  <jamatos@fep.up.pt>
13676
13677         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13678         by OnlyPath.
13679
13680 2001-02-11  José Matos  <jamatos@fep.up.pt>
13681
13682         * buffer.C (makeDocBookFile): command styles now have a parameter as
13683         "title" by default.
13684
13685 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13686
13687         * layout_forms.[Ch]: removed
13688         * lyx_cb.[Ch]: out character
13689         * lyx_gui.C: out character
13690         * lyx_gui_misc.C: out character
13691         * bufferview_funcs.C: : out character,
13692         added toggleall as parameter in ToggleAndShow
13693
13694 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13695
13696         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13697
13698         * text2.C (SetCurrentFont): Disable number property at boundary.
13699
13700 2001-02-26  Juergen Vigna  <jug@sad.it>
13701
13702         * lyxfunc.C (getStatus): added a string argument override function so
13703         that this is correctly called from LyXFunc::Dispatch if it contains a
13704         do_not_use_argument which is used!
13705         (Dispatch): added check for "custom" export and call appropriate func.
13706
13707 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13708
13709         * lyxrc.C: Add language_command_local, language_use_babel and
13710         language_global_options.
13711
13712         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13713
13714         * buffer.C (makeLaTeXFile): Use language_use_babel and
13715         language_global_options.
13716
13717 2001-02-23  Juergen Vigna  <jug@sad.it>
13718
13719         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13720         which works with LyXText and putted it inside BufferView. Here now we
13721         only call for that part the BufferView::Dispatch() function.
13722
13723         * BufferView.C (Dispatch): added.
13724
13725         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13726         functions which needs to use a LyXText over from LyXFunc.
13727         (MenuInsertLyXFile): added
13728         (getInsetByCode): added
13729         (moveCursorUpdate): added
13730         (static TEXT): added
13731
13732 2001-02-22  Juergen Vigna  <jug@sad.it>
13733
13734         * BufferView_pimpl.C (update): call a status update to see if LyXText
13735         needs it.
13736
13737 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13738
13739         * vc-backend.C (revert): implement for CVS
13740         (getLog): implement for CVS
13741
13742 2001-02-20  Juergen Vigna  <jug@sad.it>
13743
13744         * text2.C (ClearSelection): added BufferView param for inset_owner call
13745
13746         * lyxfunc.C (TEXT): added this function and use it instead of
13747         directly owner->view()-text of getLyXText().
13748
13749 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13750
13751         * src/layout_forms.C: out preamble
13752         * src/layout_forms.h: out preamble
13753         * src/lyx_cb.C: out preamble
13754         * src/lyx_cb.h: out preamble
13755         * src/lyx_gui.C: out preamble
13756         * src/lyx_gui_misc.C: out preamble
13757         * src/lyxfunc.C: connect with guii preamble
13758
13759 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13760
13761         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13762
13763 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13764
13765         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13766         whether to run bibtex.
13767
13768 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13769
13770         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13771
13772 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13773
13774         * Makefile.am (lyx_SOURCES): removed bibforms.h
13775
13776         * vspace.h: doxygen
13777
13778         * text.C (GetVisibleRow): make several local vars const
13779
13780         * tabular.C: small cleanup.
13781
13782         * lyxserver.C (callback): use compare instead of strncmp
13783
13784         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13785         inlines to after class or to paragraph.C
13786
13787         * lyxfont.h: remove friend operator!=
13788
13789         * converter.h: move friend bool operator< to non friend and after
13790         class def.
13791
13792         * combox.h: small cleanup
13793
13794         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13795         to inlines after class def.
13796
13797         * buffer.C (pop_tag): use string operations instead of strcmp
13798
13799         * bmtable.c: doxygen, small cleanup
13800
13801         * LaTeX.h: remove friend operator==
13802
13803 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13804
13805         * screen.C:
13806         * lyxrc.[Ch]:
13807         * lyxfunc.C:
13808         * lyxfont.[Ch]:
13809         * lyx_cb.C:
13810         * intl.[Ch]:
13811         * commandtags.h:
13812         * buffer.C:
13813         * WorkArea.[Ch]:
13814         * LyXAction.C:
13815         * BufferView_pimpl.C:
13816         * BufferView.[Ch]: remove cruft
13817
13818 2001-02-14  Juergen Vigna  <jug@sad.it>
13819
13820         * lyxfunc.C: removed #if 0 unused code
13821
13822         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13823
13824         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13825
13826         * text2.C (SetSelection): added a BufferView * parameter
13827
13828 2001-02-13  Juergen Vigna  <jug@sad.it>
13829
13830         * lyxfunc.C (Dispatch): fixed protected blank problem.
13831         * BufferView2.C (protectedBlank): added LyxText * parameter.
13832
13833         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13834         (AppendColumn): same as above for column_info.
13835
13836         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13837         (moveCursorUpdate): use a LyXText param for support of InsetText.
13838
13839         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13840         (tripleClick): ditto
13841
13842         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13843
13844         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13845
13846         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13847
13848         * text2.C (SetSelection): set correct update status if inset_owner
13849         (ToggleFree): ditto
13850
13851 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13852
13853         * tabular.C: remove some commented code.
13854
13855 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13856
13857         * BufferView_pimpl.C: call hideSplash()
13858
13859         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13860
13861         * include_form.h:
13862         * bibforms.h: remove
13863
13864         * lyxfunc.C:
13865         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13866           add LFUN_CHILD_CREATE
13867
13868         * counters.h: fix tiny typo
13869
13870         * lyx_cb.C:
13871         * lyx.h:
13872         * lyx_gui.C:
13873         * lyx.C: move splash to frontends/xforms/
13874
13875         * lyx_gui_misc.C: move Include and Bibform to frontends
13876
13877         * lyxvc.h: clarify comment
13878
13879         * vspace.C: tiny housekeeping
13880
13881 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13882
13883         * text.C (PrepareToPrint): RTL Fix.
13884
13885         * paragraph.C (GetUChar): New method.
13886         (String):  Use GetUChar.
13887
13888         * buffer.C (asciiParagraph): Use GetUChar.
13889
13890 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13891
13892         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13893
13894 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13895
13896         * buffer.h:
13897         * buffer.C: rename to getLogName(), handle
13898           build log / latex log nicely
13899
13900 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13901
13902         * MenuBackend.C:
13903         * MenuBackend.h: remove support for reference menuitem type.
13904
13905 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13906
13907         * BufferView_pimpl.C: housekeeping
13908         * BufferView_pimpl.h:
13909         * LyXView.h:
13910         * Makefile.am:
13911         * Timeout.C:
13912         * Timeout.h:
13913         * minibuffer.h: move Timeout GUI-I
13914
13915 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13916
13917         * lyxrc.C (read): Update converters data-structures.
13918
13919 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13920
13921         * LaTeX.h (operator!=): add operator != for Aux_Info
13922
13923 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13924
13925         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13926
13927         * LaTeXLog.C: deleted, useful code moved to Buffer
13928
13929         * buffer.h:
13930         * buffer.C: new function getLatexLogName()
13931
13932         * lyx_gui_misc.C:
13933         * lyx_gui.C:
13934         * lyxvc.C:
13935         * lyxvc.h:
13936         * lyxfunc.C: use frontends for LaTeX and VC logs
13937
13938 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13939
13940         * LaTeX.h: yet another std:: that Allan forgot.
13941
13942         * Variables.C (set): renamed from isset(), because this clashes
13943         with some HP-UX macros (grr).
13944
13945 2001-02-06  Allan Rae  <rae@lyx.org>
13946
13947         * LaTeX.h: Another bug fix.  Missing std:: this time.
13948
13949 2001-02-04  Allan Rae  <rae@lyx.org>
13950
13951         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13952         floats problem. I've left it commented out because it's not quite
13953         correct.  It should also test that the current object is a table or
13954         figure inset.  But I haven't gotten around to figuring out how to do
13955         that.  I *think* it'll be something like: "table" == inset.type()
13956
13957         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13958         bool.
13959
13960 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13961
13962         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13963         all the citation/databases/styles in the auxilary file.
13964         (run): Rerun latex if there was a babel language error.
13965
13966 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13967
13968         * text.C (Backspace): Preserve the font when changing newline char
13969         with a space.
13970         (BreakParagraph): If the cursor is before a space, delete the space.
13971
13972         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13973
13974 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13975
13976         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13977         new argument (code).
13978         (ChangeCitationsIfUnique): New method.
13979
13980         * paragraph.C (GetPositionOfInset): Handle bibkey.
13981
13982 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13983
13984         * BufferView_pimpl.h: change type of Position::par_pos to
13985         LyXParagraph::size_type.
13986
13987 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13988
13989         * BufferView_pimpl.C (savePosition, restorePosition): Write
13990         messages to minibuffer.
13991
13992 2001-01-28  José Matos  <jamatos@fep.up.pt>
13993
13994         * buffer.C (makeDocBookFile): adds support for document language.
13995         A silly restriction on the name of LatexCommand types where removed.
13996         Added support for CDATA sections, allows to chars unescaped, used
13997         among others in code, to avoid escape < and >.
13998
13999 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14000
14001         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14002         saved positions instrad of a stack. Furthermore, a position is
14003         stored using paragraph id/paragraph position.
14004
14005         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14006         Remove LFUN_REF_BACK.
14007
14008 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14009
14010         * converter.C (dvipdfm_options): New method.
14011
14012 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14013
14014         * vspace.C (isValidLength): Fix for empty input string.
14015
14016 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14017
14018         * LyXAction.C (init): change description of LFUN_FIGURE to
14019         "Insert Graphics"
14020
14021 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14022
14023         * LaTeX.C: add using directive
14024
14025 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14026
14027         * MenuBackend.C (expand): Fix the sorting of the formats.
14028
14029 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14030
14031         * lyx_main.C: tiny error message fix
14032
14033 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14034
14035         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14036         calling fl_initialize(). This fixes the problem with ',' as
14037         decimal separator in text files.
14038
14039 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14040
14041         * trans.C (process): Fix the keymap bug.
14042
14043 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14044
14045         * LaTeX.C (scanAuxFiles): New method. Provides support for
14046         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14047         (scanLogFile) Scan for "run BibTeX" messages.
14048
14049         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14050         OT1 font encoding. Also, load the aecompl package if the ae
14051         package is loaded.
14052
14053         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14054
14055 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14056
14057         * texrow.C (increasePos): turn two error messages into debug
14058         messages.
14059
14060 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14061
14062         * LaTeX.C (scanAux): Handle the \@input macro.
14063         (runBibTeX): Use scanAux().
14064
14065         * language.C (latex_options_): New field.
14066
14067         * LaTeXFeatures.C (getMacros): Add language macros.
14068
14069         * buffer.C (makeLaTeXFile): Small fix.
14070
14071 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14072
14073         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14074
14075         * text2.C: add a using directive.
14076
14077 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14078
14079         * BufferView2.C:
14080         * lyx_gui_misc.h:
14081         * lyxfr1.C:
14082         * lyxfunc.C: kill LyXBell.
14083
14084 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14085
14086         * text.C (IsBoundary): Remove the error message
14087
14088         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14089
14090         * lyxrc.C (setDefaults): Correct initialization value for
14091         font_norm_type.
14092
14093 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14094
14095         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14096         gotoError().
14097
14098         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14099         and GotoNextNote().
14100
14101         * src/LyXAction.C: Added reference-next.
14102
14103         * text.C (InsertChar): Use contains instead of strchr.
14104
14105         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14106
14107 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14108
14109         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14110         alignment commands (when needed).
14111
14112         * text.C (InsertChar): Add ':' to number separator chars.