]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
ea2638efdff2dd1130c8610377f399fd8b87e084
[lyx.git] / src / ChangeLog
1 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * text3.C (cursorPrevious): make sure that we do not compare
4         iterators form different containers.
5         (cursorNext): ditto
6
7         * rowpainter.C (paintSelection): make sure that we do not compare
8         iterators from different containers.
9
10         * text3.C (dispatch): [PRIOR] make sure that we do not compare
11         iterators from different ParagraphList containers.
12         [NEXT] ditto
13
14         * text2.C (LyXText): change order of initialization slightly
15         (operator=): new function. copy all variables except cache_par_
16         (moveUp): make sure that we do not compare iterators from
17         different ParagraphList constainers.
18         (moveDown): ditto
19
20         * text.C (firstPar): new function
21         (lastPar): new function
22         (endPar): new function
23
24         * lyxtext.h: move things around and group public functions, public
25         variables, private functions, private variables
26
27 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
28
29         * factory.C: change call to InsetERT constructor to avoid
30         additional invocation of method status
31         * text2.C (toggleInset): remove redundant update() call
32         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
33         instead of a Bufferview pointer
34
35 2003-11-21  André Pönitz  <poenitz@gmx.net>
36
37         * rowpainter.C: simplification
38
39 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
40
41         * text3.C (dispatch): make possible to extend a word/row selection
42         with the mouse
43
44 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
45
46         * lyxtext.h: x0_,y0_ -> xo_,yo_
47         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
48         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
49         * rowpainter.C (paintRows): paint full paragraphs
50
51 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
52
53         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
54         screen coordinates)
55
56 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
57
58         * lyxtext.h: add x0_, y0_
59         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
60         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
61
62 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
63
64         * text2.C (setCursorIntern): move the x_target update here *
65         * text3.C: change some bv() to true/false in calls to
66         cursorUp/Down/Right/Left
67         * cursor.C: use helper function.
68
69 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
70
71         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
72         * paragraph_funcs.[Ch]: correct comment
73         * rowpainter.C: do not paint selections away from bv->cursor()
74         Fix a long standing selection painting bug.
75         * text3.C: generalize mouse-selection code to LyXTexts other that
76         top one
77         * textcursor.C: do not use y coords if we can use par offsets
78
79 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
80
81         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
82         cursor position after e.g. inset insert)
83
84 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
85
86         * lyxfind.C (replace): adjust to locking removal + some
87         code simplification
88
89 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
90
91         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
92         of the path
93
94 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
95
96         * lyxlayout.[Ch]:
97         * output_docbook.C: XML sanitation: new layout
98         parameters InnerTag and CommandDepth
99
100 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
101
102         * BufferView_pimpl.C:
103         * factory.C:
104         * text3.C: Fix the insertion and modification of button-style
105         insets
106
107 2003-11-13  André Pönitz  <poenitz@gmx.net>
108
109         * InsetList.[Ch]: remove deleteLyXText
110
111         * paragraph.[Ch]: cache beginOfBody position
112
113         * Bidi.C:
114         * text.C:
115         * text2.C:
116         * text3.C: remove superfluous update() calls
117
118         * vspace.C: cleanup
119
120 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
121
122         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
123         * BufferView.C (fitLockedInsetCursor): remove
124         * cursor.[Ch] (getDim): add
125         * text.C (getRowNearY): add faster version
126         * text3.C: remove some update calls
127
128 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
129
130         * LaTeXFeatures.C:
131         * LyXAction.C:
132         * MenuBackend.C:
133         * MenuBackend.h:
134         * dispatchresult.h:
135         * factory.C:
136         * lfuns.h:
137         * lyxfunc.C:
138         * lyxtextclass.C:
139         * lyxtextclass.h:
140         * text3.C: The Character Style /XML short element patch.
141
142 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
143
144         * text3.C:
145         * factory.C: Small step to solving 'unable to insert some insets'
146         problem
147
148 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
149
150         * cursor.[Ch] (updatePos): new function for updating the y
151         position of the tip inset
152         * bufferview_funcs.C (put_selection_at):
153         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
154
155 2003-11-11  André Pönitz  <poenitz@gmx.net>
156
157         * text.C: remove big comment on invalid Paragraph pointers as it is
158         not valid anymore
159
160 2003-11-11  André Pönitz  <poenitz@gmx.net>
161
162         * text_funcs.[Ch]: merge with ...
163
164         * text.C: ... this
165
166         * lyxtext.h:
167         * text2.C:
168         * text3.C: adjust
169
170         * Makefile.am: remove text_funcs.[Ch]
171
172 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
173
174         * cursor.C (getPos): return absolute cached y coord
175
176         * BufferView_pimpl.C (fitCursor): new simplistic code
177         (workAreaDispatch): add a fitCursor call
178
179 2003-11-10  André Pönitz  <poenitz@gmx.net>
180
181         * BufferView.[Ch]:
182         * BufferView_pimpl.[Ch]: merge update() and updateInset()
183
184 2003-11-10  André Pönitz  <poenitz@gmx.net>
185
186         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
187         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
188         indicate that the cursor needs to leave an inset
189
190         * lyxtext.h: remove inset locking
191
192         * cursor.[Ch]: re-implement functionality provided by inset locking
193
194         * BufferView.[Ch]:
195         * BufferView_pimpl.[Ch]:
196         * LyXAction.C:
197         * bufferview_funcs.[Ch]:
198         * factory.C:
199         * funcrequest.[Ch]:
200         * iterators.C:
201         * lyx_cb.C:
202         * lyxfind.C:
203         * lyxfunc.C:
204         * text.C:
205         * text2.C:
206         * text3.C:
207         * undo.C: adjust
208
209 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
210
211         * PosIterator.[Ch]: replace the stack with a vector, add inset
212         accesor
213         * iterators.[C]: adjust
214
215 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
216
217         * lyxfind.C (replaceAll): mark the buffer dirty if something was
218         replaced
219         * paragraph_funcs.C (readParToken): put the correct id in the
220         error item, not the id of the top paragraph
221
222 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
223
224         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
225         * bufferview_funcs.C (put_selection_at): use the above
226
227 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
228
229         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
230
231 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
232
233         * output_linuxdoc.h:
234         * output_plaintext.h:
235         * output.h:
236         * output_docbook.h: add #include statements
237
238 2003-11-05  José Matos  <jamatos@lyx.org>
239
240         * output_docbook.[Ch]:
241         * output_latex.[Ch]:
242         * output_linuxdoc.[Ch]:
243         * output_plaintext.[Ch]: New files for output formats.
244         * output.[Ch]: New file for helper functions.
245
246         * buffer.[Ch]:
247         * paragraph_funcs.[Ch]: output functions moved to new files.
248
249         * outputparams.h: rename of latexrunparams.h
250
251         * LaTeX.[Ch]:
252         * buffer.[Ch]:
253         * bufferlist.[Ch]:
254         * converter.[Ch]:
255         * exporter.C:
256         * paragraph.[Ch]:
257         * paragraph_funcs.[Ch]:
258         * paragraph_pimpl.[Ch]:
259         * tabular.[Ch]: rename ascii to plaintext
260         and LatexRunParams to OutputParams.
261
262 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
263
264         * iterators.[Ch] (text): require bv argument
265         * undo.C (recordUndo):
266         * lyxfunc.C (dispatch):
267         * bufferview_funcs.C (put_selection_at): adjust
268
269 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
270
271         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
272
273 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
274
275         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
276         nestings
277
278 2003-11-04  André Pönitz  <poenitz@gmx.net>
279
280         * cursor.[Ch]: restructure
281
282         * BufferView.[Ch]:
283         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
284
285         * iterators.[Ch] (asCursor): remove
286
287         * lfuns.h: remove LFUN_INSET_EDIT
288
289         * lyxfunc.C:
290         * tabular.C:
291         * text.C:
292         * text2.C:
293         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
294
295 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
296
297         * lyxfind.[Ch]: complete overhaul
298         * BufferView_pimpl.C:
299         * lyxfunc.C: adjust
300         * paragraph.[Ch] (insert): add
301
302 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
303
304         * BufferView.[Ch]:
305         * lyxtext.h:
306         * text.C: remove dead spellcheck code
307
308 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
309
310         * dispatchresult.h: add a val setter
311
312         * cursor.C (dispatch): use a tempvar for data_[i]
313
314 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
315
316         * PosIterator.[Ch]: compile fix
317
318 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
319
320         * text.C (cursorPar): deactivate the cursor cache
321
322 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
323
324         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
325
326 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
327
328         * text3.C (dispatch): adjust for new DisptchResult semantics.
329
330         * lyxfunc.C (dispatch): handle update when return from
331         Cursor::dispatch, adjust for new DispatchResult semantics.
332
333         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
334         DispatchResult(true) mean to not update. Add class functions for
335         setting dispatched and update, as well as reading.
336
337         * cursor.C (dispatch): don't handle update here
338
339 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
340
341         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
342         * trans_mgr.C: adjust
343
344         * paragraph_funcs.C (readParToken): exception safety
345
346         * lyxvc.h: store the vcs pointer in a scoped_ptr
347         * lyxvc.C: adjust
348
349         * lyxsocket.C (serverCallback): exception safety
350
351         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
352
353         * ispell.C (clone): make it return a auto_ptr
354
355         * factory.C (createInset): exception safety
356         (readInset): exception safety
357
358         * bufferlist.C (newBuffer): exception safety
359
360         * Thesaurus.C (Thesaurus): use initialization for aik_
361
362         * MenuBackend.C (expandToc): exception safety.
363
364 2003-11-03  André Pönitz  <poenitz@gmx.net>
365
366         * buffer.C:
367         * buffer.h:
368         * bufferview_funcs.C: remove getInsetFromId()
369
370         * lyxcursor.[Ch]:
371         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
372
373         * lyxfunc.C:
374         * text2.C:
375         * text3.C: adjust
376
377 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
378
379         * PosIterator.C (distance, advance): new
380         * bufferview_funcs.[Ch] (put_selection_at): new
381         * iterators.[Ch] (lockPath): new
382
383 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
384
385         * iterators.[Ch] (asPosIterator): added
386         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
387         * PosIterator.[Ch]: added
388
389 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
390
391         * text3.C:
392         * lyxfunc.C:
393         * cursor.C (dispatch):
394         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
395
396         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
397         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
398         contructor, add a class function dispatched. Remove operator>=
399
400 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
401
402         * debug.C: only use the default constructor for debugstream
403         (lyxerr) here.
404
405         * main.C (main): include debug.h and setup the lyxerr streambuf
406         here.
407
408 2003-10-31  José Matos  <jamatos@lyx.org>
409
410         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
411
412         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
413         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
414         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
415         * paragraph_pimpl.C (simpleTeXSpecialC):
416         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
417         add LatexRunParams argument.
418
419         * exporter.C (Export): change call accordingly.
420
421         * latexrunparams.h: add new member to take care of the other backends.
422 2003-10-30  José Matos  <jamatos@lyx.org>
423
424         * buffer.C (makeLinuxDocFile, makeDocBookFile):
425         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
426         factorise code for paragraph output.
427         * buffer.[Ch]:
428         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
429         move functions.
430
431 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
432
433         * text3.C (dispatch):
434         * lyxfunc.C (dispatch):
435         * cursor.C (dispatch):
436         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
437
438         * dispatchresult.h: make the dispatch_result_t ctor explicit
439
440 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
441
442         * sgml.[Ch]:
443         * buffer.C: small refactoring of docbook stuff
444
445 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
446
447         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
448         meaning.
449
450 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
451
452         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
453         operator dispatch_result_t, and operators for == != and >=
454
455         * cursor.C (dispatch): adjust for operator dispatch_result_t
456         removal. comment out call to update
457
458         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
459
460 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
461
462         * text3.C:
463         * text2.C:
464         * text.C:
465         * lyxtext.h:
466         * lyxfunc.C:
467         * cursor.C:
468         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
469         (dispatch):
470
471         * dispatchresult.h: new file, DispatchResult broken out of
472         insets/insetbase.h
473
474         * Makefile.am (lyx_SOURCES): add dispatchresult.h
475
476 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
477
478         * text.C (rowBreakPoint): put a hack inside #if 0
479
480 2003-10-28  André Pönitz  <poenitz@gmx.net>
481
482         * lyxtext.h:
483         * metricsinfo.C:
484         * paragraph_funcs.C:
485         * rowpainter.C:
486         * text.C:
487         * text2.C: general cleanup (lots of small stuff)
488
489 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
490
491         * text2.C (cursorEnd): simple fix to the "end key goes to one
492         before the end on last row" bug
493
494 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
495
496         * text.C (backspace): fix the "zombie characters"
497
498 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
499
500         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
501
502 2003-10-27  André Pönitz  <poenitz@gmx.net>
503
504         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
505
506         * factory.C: handle new InsetPagebreak, InsetLine
507
508         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
509         and move handling into new InsetPagebreak, InsetLine
510
511         * BufferView_pimpl.C:
512         * LyXAction.C:
513         * ParagraphParameters.C:
514         * ParameterStruct.h:
515         * lyxfunc.C:
516         * lyxtext.h:
517         * paragraph.C:
518         * paragraph.h:
519         * paragraph_funcs.C:
520         * paragraph_pimpl.C:
521         * rowpainter.C:
522         * text.C:
523         * text2.C:
524         * text3.C: adjust
525
526 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
527
528         * text.C:
529         * lyxrow_funcs.[Ch]:
530         * Bidi.C:
531         * paragraph.C:
532         * lyxtext.h:
533         * rowpainter.C:
534         * text2.C:
535         * text3.C: remove lastPos uses in favour of Row::endpos
536
537 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
538
539         * undo.C (performUndoOrRedo): fix two crashes by setting a
540         cursor by hand and reordering some calls. Use bv->lockInset instead
541         of inset->edit because the latter loses cursor information
542
543 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
544
545         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
546         by Martin
547         (rowBreakPoint): fix width. change point to point + 1.
548         Add a missing check.
549
550 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
551
552         * MenuBackend.C:
553         * lyxfunc.C: fix (at least partly) the problems
554         with the Nav menu and headers inside branch insets
555         reported by Kayvan
556
557 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
558
559         * paragraph.C (getChar): add strong asserts
560
561         * lyxrow_funcs.C (lastPos): remove hideous hack
562
563         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
564         (fill): adjust to that (avoid an infinite loop)
565
566 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
567
568         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
569
570 2003-10-23  André Pönitz  <poenitz@gmx.net>
571
572         * RowList_fwd.h: change list<> to vector<> to gain speed
573         after suggestion from Alfredo
574
575 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
576
577         * lyxtext.h: move the bidi stuff from here...
578         * text.C: and here
579         * text2.C: and here
580         * Bidi.[Ch]: ... to here
581
582 2003-10-23  André Pönitz  <poenitz@gmx.net>
583
584         * lyxtext.h:
585         * text.C (isLastRow, isFirstRow): new functions
586
587         * paragraph.h: new width cache member
588
589         * rowpainter.C: replace RowList::iterator with Row & where possible
590
591         * lyxfunc.C: replace several view()->text with a single call
592
593         * toc.C: fix 'unused' warning
594
595 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
596
597         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
598         when woring with stream::pos_type
599         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
600
601 2003-10-22  André Pönitz  <poenitz@gmx.net>
602
603         * lyxtext.h:
604         * text.C: use Row & instead of RowList::iterator
605
606         * lyxrow.h: rename end() to endpos()
607
608         * rowpainter.C:
609         * text.C:
610         * text2.C: adjust
611
612 2003-10-22  Angus Leeming  <leeming@lyx.org>
613
614         * buffer.[Ch] (fully_loaded): new member function, returning true
615         only when the file has been loaded fully.
616         Used to prevent the premature generation of previews and by the
617         citation inset to prevent computation of the natbib-style label.
618
619         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
620         templates are all set up.
621
622         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
623
624 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
625
626         * text.C: fixed an "oops" in the "is a bit silly"
627         bug fix
628
629 2003-10-21  André Pönitz  <poenitz@gmx.net>
630
631         * FuncStatus.[Ch]: small stuff, whitespace
632
633         * lyxfont.[Ch]: operator<<() for debug reasons
634
635         * lyxfunc.C:
636         * lyxrow_funcs.C:
637         * lyxtext.h: whitespace, spelling
638
639         * paragraph.C: naming of variables
640
641         * text.C:
642         * text2.C: small stuff
643
644
645 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
646
647         * text.C: (1) finish off the inset display() work;
648         (2) fix the "is a bit silly" bug (accessing char
649         past end of par).
650
651 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
652
653         * text.C: re-introduce display() for insets, fixing the
654         various bugs (stretch of line above, math inset
655         positioning, ...)
656
657 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
658
659         * text.C (rightMargin): remove spurious semicolon
660
661         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
662         1415)
663
664 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
665
666         * text3.C: fix one crash due to wrong cursor def
667
668 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
669
670         * vc-backend.C (scanMaster): make the regex static
671
672         * LaTeX.C (scanAuxFile): make the regexs static
673
674         * text3.C (doInsertInset, dispatch, dispatch):
675         * text2.C (cursorUp, cursorDown):
676         * text.C (selectNextWordToSpellcheck):
677         * BufferView_pimpl.C (dispatch):
678         * lyxfunc.C (dispatch):  localDispatch -> dispatch
679
680 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
681
682         * lyxsocket.C: include <cerrno>
683
684 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
685
686         * lyxfunc.C (dispatch): remove textcache stuff
687
688         * bufferlist.C (release): remove textcache stuff
689         (closeAll): ditto
690
691         * TextCache.C: delete file
692         * TextCache.h: delete file
693
694         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
695
696         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
697         delete of the bv_->text.
698         (resizeCurrentBuffer): remove texcache stuff
699         (workAreaResize): ditto
700
701 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
702
703         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
704         action.
705
706 2003-10-16  André Pönitz  <poenitz@gmx.net>
707
708         * lyxrow.[Ch]:
709         * paragraph.h:
710         * rowpainter.C:
711         * text.C:
712         * text2.C:
713         * text3.C: speed up by storing y positions per paragraph plus per-row
714         offset instead of having a 'full' y position in the row.
715
716 2003-10-15  André Pönitz  <poenitz@gmx.net>
717
718         * iterators.[Ch]:
719         * iterators.[Ch]:
720         * undo.[Ch]: make undo aware of inner insets
721
722 2003-10-14  Angus Leeming  <leeming@lyx.org>
723
724         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
725         static member functions LyX::ref() and LyX::cref.
726         (lastfiles): new accessor functions for the new lastfiles_ member var.
727         (addLyXView, views_): add a new LyXView to the list of views_.
728         (updateInset): loop over all LyXViews to call their own updateInset
729         member function, returning a pointer to the Buffer owning the inset.
730
731         * BufferView_pimpl.C (loadLyXFile):
732         * MenuBackend.C (expandLastfiles):
733         * bufferlist.C (MenuWrite, QuitLyX):
734         lastfiles is no longer a global variable.
735         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
736
737         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
738         static function. Access through LyX::cref().emergencyCleanup().
739
740 2003-10-14  André Pönitz  <poenitz@gmx.net>
741
742         * iterators.[Ch]: new direct access to innermost LyXText and Inset
743
744         * undo.[Ch]: restoring part of 'undo in insets'
745
746         * Makefile.am:
747         * undo_funcs.[Ch]: merge with undo.[Ch]
748
749         * tabular.C: small cleansing stuff
750
751 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
752
753         * paragraph_funcs.C (readParToken): report unknown insets as error
754         boxes. Use the outer paragraph as location (also for unknown
755         tokens).
756
757         * factory.C (readInset): do not abort on reading an unknown inset.
758         Eat it and return 0.
759
760 2003-10-13  Angus Leeming  <leeming@lyx.org>
761
762         * lyx_main.C (LyX): remove call to setDisplayTranslator().
763
764         * lyxrc.C: displayTranslator is now a function,
765         declared in GraphicsTypes.h.
766
767 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
768
769         * format.C: new placeholder $$a to pass the socket address.
770
771         * bufferlist.[Ch]: new function getBufferFromTmp.
772
773         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
774           files in the temporary dir.
775
776 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
777
778         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
779
780         * Makefile.am: add lyxsocket.[Ch].
781
782         * lyx_main.C (error_handler): handle SIGPIPE.
783
784 2003-10-13  André Pönitz  <poenitz@gmx.net>
785
786         * BufferView_pimpl.C:
787         * lyxtext.h:
788         * text.C:
789         * text2.C:
790         * text3.C:
791         * undo_funcs.[Ch]: use paroffset_type instead of
792           ParagraphList::iterators to prevent multiple conversion
793           (and get a more robust interface)
794
795 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
796
797         * lyxfunc.C (dispatch): RESULT -> dispatch_result
798         * lyxtext.h: ditto
799         * text3.C (dispatch): ditto
800
801 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
802
803         * LaTeX.C (handleFoundFile): move the static to smaller scope,
804         move the onlyfile, use onlyfile instead of foundfile in a couple
805         of places.
806
807         * DepTable.C (update): flush the error stream a bit more
808
809 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
810
811         * lyxserver.C (callback): adjust
812
813         * lyxfunc.C (getStatus): add a missing brace in commented code
814         (ensureBufferClean): reindent
815         (dispatch): delete version taking a string
816
817 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
818
819         * LaTeX.C (deplog): move found file handlig from here...
820         (handleFoundFile): .. to new function here.
821         (deplog): make sure to discover several files mentioned on the
822         same log line.
823
824 2003-10-10  André Pönitz  <poenitz@gmx.net>
825
826         * lyxfunc.C:
827         * lyxtext.h:
828         * tabular.C:
829         * text.C:
830         * text2.C:
831         * text3.C: fix some of the tabular crashes
832
833 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
834
835         * MenuBackend.C (binding): put debug message into Debug::KBMAP
836
837         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
838
839 2003-10-09  André Pönitz  <poenitz@gmx.net>
840
841         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
842
843         * BufferView.C:
844         * BufferView_pimpl.C:
845         * bufferview_funcs.C:
846         * lyx_cb.C:
847         * lyxcursor.C:
848         * lyxfind.C:
849         * lyxfunc.C:
850         * lyxtext.h:
851         * text.C:
852         * text2.C:
853         * text3.C:
854         * text_funcs.[Ch]:
855         * textcursor.[Ch]:
856         * undo_funcs.C: adjust
857
858 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
859
860         * text2.C (incrementItemDepth): new function, use a backtracking
861         algorithm to discover the correct item depth.
862         (resetEnumCounterIfNeeded): new function, use a backtracking
863         algorithm to discover if counter reset is needed.
864         (setCounter): use them. Simplify a bit. Add different labels for
865         different item depths for itemize.
866
867         * paragraph.C (Paragraph): remove initialization of enumdepth
868         (operator=): ditto
869
870         * paragraph.h: get rid of enumdepth, and use itemdepth both for
871         enumerate and itemize. Change the type of itemdepth to signed char.
872
873 2003-10-08  André Pönitz  <poenitz@gmx.net>
874
875         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
876           thing assignable.
877         * text.C:
878         * text2.C: adjust
879
880         * tabular.[Ch]: fix crash after 'row-insert'
881
882 2003-10-08  Angus Leeming  <leeming@lyx.org>
883
884         Fix doxygen warnings.
885
886         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
887         Remove CutAndPaste:: prefix from header file declaration.
888
889         * LColor.h (fill): remove LColor:: prefix from declaration.
890
891         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
892         use lyx::depth_type rather than Paragraph::depth_type so that
893         header file and .C file match.
894
895         * converter.h (intToFormat): remove Converters:: prefix from declaration.
896
897         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
898         * aspell.C: \file aspell_local.C -> \file aspell.C
899         * gettext.C: \file gettext.C -> \file src/gettext.C
900         * gettext.h: \file gettext.h -> \file src/gettext.h
901         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
902         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
903         * text.C: \file text.C -> \file src/text.C
904
905         * toc.C: move comment so that doxygen is not confused.
906
907 2003-10-07  Angus Leeming  <leeming@lyx.org>
908
909         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
910
911 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
912
913         * aspell.C:
914         * aspell_local.h: add forgotten std::string's.
915
916 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
917
918         * LaTeXFeatures.C:
919         * LyXAction.C:
920         * factory.C:
921         * lfuns.h:
922         * lyxfunc.C:
923         * text3.C: The Box patch. Fancybox support, minipage, parbox
924
925 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
926
927         * CutAndPaste.h:
928         * DepTable.h:
929         * FloatList.h:
930         * LaTeXFeatures.h:
931         * ParagraphParameters.h:
932         * TextCache.h:
933         * Thesaurus.h:
934         * bufferlist.h:
935         * exporter.h:
936         * importer.h:
937         * lastfiles.h:
938         * lyxfind.h:
939         * lyxfont.h:
940         * lyxlex.h:
941         * lyxtextclasslist.h:
942         * messages.h:
943         * paragraph.h:
944         * paragraph_pimpl.C:
945         * textcursor.h: add <string> and other small fixes to make Lars'
946         std::string patch compile with STLport.
947
948 2003-10-06  Angus Leeming  <leeming@lyx.org>
949
950         * LColor.h: Add missing #include <string>.
951
952 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
953
954         * All most all file in all subdirs: Make <string> be the prefered
955         way of getting to std::string, add using declarations.
956
957 2003-10-06  André Pönitz  <poenitz@gmx.net>
958
959         * metricsinfo.C: initialize LyXFont before changing attribute.
960         (fixes the 'math in \emph is upright' bug)
961
962 2003-10-06  André Pönitz  <poenitz@gmx.net>
963
964         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
965
966 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
967
968         * graph.C:
969         * paragraph_pimpl.C: Small fixes to build using STLport
970
971 2003-10-02  André Pönitz  <poenitz@gmx.net>
972
973         * lyxfunc.C:
974         * text3.C: move handling of LFUN_DEPTH *; fix #1360
975
976 2003-10-01  André Pönitz  <poenitz@gmx.net>
977
978         * factory.C: assert early
979
980 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
981
982         * lyx_main.C: remove the global debug object
983
984         * debug.h: adjust for new debugstream
985
986         * debug.C: adjust for new debugstream and keep the global debug
987         object here.
988
989 2003-09-22  Angus Leeming  <leeming@lyx.org>
990
991         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
992         of g++ which otherwise complain that the scoped_ptr destructor can't delete
993         an incomplete class LyXFont.
994
995 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
996
997         * factory.C: bug fix in branches
998
999 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1000
1001         * lyxfunc.C (processKeySym): adjust
1002         (dispatch): adjust
1003         (dispatch): change arg name from ev to func, adjust
1004         (sendDispatchMessage): ditto
1005
1006         * lyx_main.C (defaultKeyBindings): adjust keybindings
1007         (deadKeyBindings): ditto
1008
1009         * kbsequence.C (addkey): return a FuncRequest
1010
1011         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1012
1013         * kbmap.C (bind): take a FuncRequest as arg, adjust
1014         (read): adjust
1015         (lookup): adjust
1016         (defkey): change to take a FuncRequest as arg, adjust
1017         (findbinding): take a FuncRequest as arg, adjust.
1018
1019         * funcrequest.h (operator=): added
1020
1021         * funcrequest.C (FuncRequest): default kb_action changed from
1022         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1023
1024         * buffer.C (dispatch): simplify
1025         (dispatch): adjust to take a FuncRequest as arg, adjust
1026
1027         * boost.C (assertion_failed): change assertion message slightly
1028
1029         * ToolbarBackend.C (read): simplify
1030
1031         * MenuBackend.C (binding): adjust call to findbinding, add a
1032         message if no binding is found.
1033         (read): simplify
1034         (expandToc): correct by adding a empty FuncRequest
1035
1036         * LyXAction.C: include <boost/assert.hpp>
1037         (isPseudoAction): delete function
1038         (LookupFunc): change name to...
1039         (lookupFunc): this. change return type to FuncRequest.
1040         (getActionName): take kb_action as arg, simplify
1041         (funcHasFlag): add an assert, simplify.
1042
1043 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1044
1045         * toc.C (action): return a FuncRequest, simplify
1046
1047         * lyxfunc.C (processKeySym): adjust
1048         (getStatus): delete version that takes an int.
1049         (getStatus): adjust
1050         (dispatch): delete version that takes action as int
1051         (dispatch): adjust
1052         (sendDispatchMessage): simplify and adjust
1053
1054         * funcrequest.C (getArg): take unsigned int as arg
1055
1056         * ToolbarBackend.C (read): adjust
1057         (add): delete version that takes func as a string.
1058         (getIton): take a FuncRequest as arg
1059
1060         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1061         action.
1062
1063         * MenuBackend.C (MenuItem): add a new construct that only takes a
1064         Kind, simplify the constructor use for submenus.
1065         (add): adjust
1066         (expandLastfiles): adjust
1067         (expandDocuments): adjust
1068         (expandFormats): adjust
1069         (expandFloatListInsert): adjust
1070         (expandFloatInsert): adjust
1071         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1072
1073         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1074         Remove class variables lyx_pseudo_map and lyx_arg_map
1075
1076         * LyXAction.C (searchActionArg): delete function
1077         (getPseudoAction): delete function
1078         (retrieveActionArg): delete function
1079         (LookupFunc): make it return kb_action, simplify.
1080         (getActionName): simplify
1081
1082         * factory.C (createInset): fix new bug
1083
1084 2003-09-19  Angus Leeming  <leeming@lyx.org>
1085
1086         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1087         masterFilename_ parameter in the include inset.
1088
1089         * factory.C (createInset): changes due to the changes to InsetInclude.
1090
1091 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1092
1093         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1094
1095 2003-09-18  Angus Leeming  <leeming@lyx.org>
1096
1097         * buffer.C:
1098         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1099         Inset::fillWithBibKeys.
1100         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1101
1102 2003-09-18  Angus Leeming  <leeming@lyx.org>
1103
1104         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1105         variables.
1106         (ctor): pass and store a 'Buffer const &'
1107         (buffer): new member function.
1108
1109         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1110         '*this' to the LaTeXFeatures ctor.
1111
1112 2003-09-18  Angus Leeming  <leeming@lyx.org>
1113
1114         * LColor.h:
1115         * lyxfont.C:
1116         * lyxfont.h:
1117         * lyxtext.h:
1118         * text.C: rename EnumLColor as LColor_color.
1119
1120 2003-09-18  Angus Leeming  <leeming@lyx.org>
1121
1122         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1123         remove #include "insets/insetbase.h" from cursor.h.
1124
1125 2003-09-18  Angus Leeming  <leeming@lyx.org>
1126
1127         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1128         InsetOld_code to remove #include "inset.h".
1129
1130         * iterators.C: add #include "insets/inset.h"
1131
1132 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1133
1134         * BufferView.C: remove more locking stuff that apparently doesn't
1135         do anything sensible.
1136
1137 2003-09-16  André Pönitz  <poenitz@gmx.net>
1138
1139         * paragraph.[Ch]:
1140         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1141           performance boost.
1142
1143 2003-09-16  Angus Leeming  <leeming@lyx.org>
1144
1145         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1146
1147         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1148         arg/return type.
1149
1150         * paragraph.h: remove #include "lyxfont.h". Forward declare
1151         LyXFont_size.
1152
1153 2003-09-16  Angus Leeming  <leeming@lyx.org>
1154
1155         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1156         of support/textutils.h.
1157         (isWord): move the contents of support/textutils.h's IsWordChar here.
1158
1159         * buffer.C:
1160         * lyxfind.C:
1161         * rowpainter.C:
1162         * text.C:
1163         * text2.C: add #include "paragraph.h".
1164
1165         * rowpainter.C:
1166         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1167
1168 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1169
1170         * main.C:
1171         * lyx_main.C:
1172         * lyx_cb.C:
1173         * buffer.C:
1174         * LaTeX.C: use namespace alias for lyx::support::os
1175
1176 2003-09-16  Angus Leeming  <leeming@lyx.org>
1177
1178         * bufferparams.C:
1179         * bufferview_funcs.C:
1180         * factory.C:
1181         * lyxfunc.C:
1182         * paragraph_pimpl.C:
1183         * rowpainter.C:
1184         * text.C: add #include "LColor.h".
1185
1186 2003-09-16  Angus Leeming  <leeming@lyx.org>
1187
1188         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1189         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1190         return LyXFont &.
1191         Store the FontBits::color variable as an int rather than as an
1192         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1193         file.
1194
1195         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1196         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1197         string calls together.
1198
1199         * lyxrc.C: add #include "LColor.h".
1200
1201 2003-09-15  Angus Leeming  <leeming@lyx.org>
1202
1203         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1204         a cow_ptr.
1205
1206 2003-09-15  Angus Leeming  <leeming@lyx.org>
1207
1208         * LColor.h: add an EnumLColor wrapper for LColor::color.
1209
1210         * lyxfont.[Ch] (color, setColor, realColor):
1211         * lyxtext.h, text.C (backgroundColor):
1212         pass EnumLColor args to/from the functions, rather than LColor::color
1213         ones.
1214
1215         * lyxfont.h:
1216         * lyxtext.h: forward declare EnumLColor.
1217
1218         * lyx_main.C: add #include "LColor.h".
1219
1220 2003-09-15  Angus Leeming  <leeming@lyx.org>
1221
1222         * .cvsignore: add lyx-gtk.
1223
1224 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1225
1226         * Chktex.C
1227         * LaTeX.C
1228         * LaTeXFeatures.C
1229         * ParagraphParameters.C
1230         * Spacing.C
1231         * buffer.C
1232         * bufferparams.C
1233         * bufferview_funcs.C
1234         * chset.C
1235         * counters.C
1236         * funcrequest.C
1237         * lyxfont.C
1238         * lyxgluelength.C
1239         * lyxlength.C
1240         * paragraph.C
1241         * paragraph_funcs.C
1242         * text3.C
1243         * vc-backend.C: remove usage of STRCONV
1244
1245 2003-09-15  Angus Leeming  <leeming@lyx.org>
1246
1247         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1248         explicitly define the color passed to the painter.
1249
1250 2003-09-15  Angus Leeming  <leeming@lyx.org>
1251
1252         * bufferparams.C (BufferParams): reorder member initializers to avoid
1253         compiler warning.
1254
1255 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1256
1257         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1258         * text.C (updateRowPositions): remove an unusual nop
1259
1260 2003-09-12  André Pönitz  <poenitz@gmx.net>
1261
1262         * BufferView_pimpl.C:
1263         * Bullet.C:
1264         * layout.h:
1265         * lyxfunc.C:
1266         * lyxlayout.[Ch]:
1267         * lyxtextclass.C:
1268         * rowpainter.C:
1269         * text.C:
1270         * text2.C:
1271         * Counters.[Ch]: finish the 'automatic counters' job
1272
1273 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1274
1275         * aspell.C: include <boost/assert.cpp> (compile fix)
1276
1277 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1278
1279         * boost.C (assertion_failed): use lyx::support::abort instead of
1280         assert.
1281
1282 2003-09-10  Angus Leeming  <leeming@lyx.org>
1283
1284         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1285         with their _fwd progeny.
1286
1287 2003-09-09  Angus Leeming  <leeming@lyx.org>
1288
1289         134 files throughtout the source tree: replace 'using namespace abc;'
1290         directives with the appropriate 'using abc::xyz;' declarations.
1291
1292 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1293
1294         * boost.C (emergencyCleanup): moved here from LAssert.c
1295         (assertion_failed): new function, called by BOOST_ASSERT
1296
1297         * several files: change Assert to BOOST_ASSERT
1298
1299 2003-09-09  Angus Leeming  <leeming@lyx.org>
1300
1301         * buffer.[Ch]: Add an Impl class and move Buffer's member
1302         variables into it. As a result move several header files out of
1303         buffer.h.
1304
1305         Add header files to lots of .C files all over the tree as a result.
1306
1307 2003-09-09  Angus Leeming  <leeming@lyx.org>
1308
1309         * buffer.[Ch]: make Buffer's member variables private. Add
1310         accessor functions.
1311
1312         Lots of changes all over the tree as a result.
1313
1314 2003-09-08  Angus Leeming  <leeming@lyx.org>
1315
1316         * graph.C: #include <config.h>.
1317
1318 2003-09-08  Angus Leeming  <leeming@lyx.org>
1319
1320         * BranchList.C:
1321         * BufferView.C:
1322         * BufferView_pimpl.C:
1323         * CutAndPaste.C:
1324         * DepTable.C:
1325         * LaTeX.C:
1326         * LaTeXFeatures.C:
1327         * LyXAction.C:
1328         * MenuBackend.C:
1329         * TextCache.C:
1330         * aspell.C:
1331         * buffer.C:
1332         * bufferlist.C:
1333         * changes.C:
1334         * chset.C:
1335         * converter.C:
1336         * counters.C:
1337         * debug.C:
1338         * graph.C:
1339         * ispell.C:
1340         * lyx_cb.C:
1341         * lyxfind.C:
1342         * lyxfunc.C:
1343         * lyxlex_pimpl.C:
1344         * lyxrc.C:
1345         * lyxrow.C:
1346         * paragraph.C:
1347         * rowpainter.C:
1348         * texrow.C:
1349         * text.C:
1350         * text2.C:
1351         * toc.C: remove redundant using directives.
1352
1353 2003-09-07  Angus Leeming  <leeming@lyx.org>
1354
1355         * LaTeXFeatures.h: remove #include "support/types.h".
1356         * ToolbarBackend.h: remove #include <algorithm>.
1357         * changes.h: remove #include <ctime>.
1358         * debug.h: remove #include <iosfwd>.
1359         * graph.h: remove #include "support/std_string.h".
1360         * lyx_main.h: remove #include <csignal>.
1361         * lyxlex_pimpl.h: remove #include <fstream>.
1362         * sgml.h: remove #include <algorithm>, <utility>.
1363         * toc.h: remove #include "support/std_ostream.h".
1364         Add #include <iosfwd>.
1365
1366 2003-09-07  Angus Leeming  <leeming@lyx.org>
1367
1368         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1369
1370         * converter.h: forward declare LatexRunParams.
1371         * encoding.h: remove #include "lyxrc.h".
1372         * lyxtext.h: remove #include "LColor.h".
1373         * lyxtextclass.h: remove #include "support/types.h".
1374         * trans.h: remove #include "tex-accent.h".
1375         * trans_mgr.h: remove #include "tex-accent.h".
1376         * insets/inset.h: remove #include "support/types.h", <vector>.
1377         * insets/insetcollapsable.h: remove #include "LColor.h".
1378         * insets/insetinclude.h: remove #include "dimension.h".
1379         * insets/insetlatexaccent.h: remove #include "dimension.h".
1380         * insets/insetoptarg.h:: remove #include "insettext.h".
1381         * insets/insettext.h: remove #include "dimension.h",
1382         <boost/shared_ptr.hpp>
1383
1384         * insets/renderers.h: add #include "dimension.h".
1385         * insets/updatableinset.h: add #include "support/types.h".
1386
1387         * many .C files: Associated changes.
1388
1389 2003-09-06  Angus Leeming  <leeming@lyx.org>
1390
1391         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1392         one, inside testInvariant.
1393
1394         * PrinterParams.C: new file.
1395         * PrinterParams.[Ch]: move the function bodies out of line.
1396
1397 2003-09-06  Angus Leeming  <leeming@lyx.org>
1398
1399         * ParagraphParameters.h: forward declare ParameterStruct rather than
1400         including its header file.
1401         (depth): moved out-of-line.
1402
1403 2003-09-06  Angus Leeming  <leeming@lyx.org>
1404
1405         * BufferView_pimpl.h:
1406         * kbmap.h:
1407         * kbsequence.h:
1408         * lyxfunc.h: forward declare LyXKeySym rather than
1409         #include "frontends/LyXKeySym.h".
1410
1411         * BufferView_pimpl.C:
1412         * kbmap.C:
1413         * kbsequence.C:
1414         * lyxfunc.C: associated changes.
1415
1416 2003-09-06  Angus Leeming  <leeming@lyx.org>
1417
1418         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1419         As a result, can remove the #include "insets/inset.h" from BufferView.h
1420
1421 2003-09-06  Angus Leeming  <leeming@lyx.org>
1422
1423         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1424         As a result, can remove the #include "insets/inset.h" from BufferView.h
1425
1426 2003-09-06  Angus Leeming  <leeming@lyx.org>
1427
1428         * buffer_funcs.C:
1429         * buffer.h:
1430         * bufferlist.C:
1431         * BufferView.C:
1432         * bufferview_funcs.C:
1433         * BufferView_pimpl.C:
1434         * CutAndPaste.C:
1435         * lyx_cb.C:
1436         * lyxfunc.C:
1437         * paragraph.h:
1438         * ParagraphParameters.C:
1439         * tabular.C:
1440         * text3.C:
1441         * toc.C:
1442         * undo_funcs.C:
1443         * frontends/controllers/ControlDocument.C:
1444         * insets/insetcaption.C: rearrange the #includes into some sort of
1445         coherent order.
1446
1447         * buffer.h: remove #includes ErrorList.h, undo.h
1448
1449 2003-09-06  Angus Leeming  <leeming@lyx.org>
1450
1451         * support/types.h: add a 'depth_type' typedef, used to store the
1452         nesting depth of a paragraph.
1453
1454         * paragraph.h:
1455         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1456         defining explicitly.
1457
1458         * buffer.h:
1459         * paragraph_funcs.h:
1460         * ParagraphParameters.h:
1461         * sgml.h: use lyx::depth_type rather than Paragraph or
1462         ParameterStruct's depth_type.
1463
1464         * buffer.h
1465         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1466
1467         * BufferView.C:
1468         * BufferView_pimpl.C:
1469         * CutAndPaste.C:
1470         * ParagraphParameters.C:
1471         * buffer_funcs.C:
1472         * bufferlist.C:
1473         * bufferview_funcs.C:
1474         * lyx_cb.C:
1475         * lyxfunc.C:
1476         * tabular.C:
1477         * text3.C:
1478         * toc.C:
1479         * undo_funcs.C:
1480         * frontends/LyXView.C:
1481         * frontends/controllers/ControlDocument.C:
1482         * frontends/controllers/ControlErrorList.C:
1483         * insets/insetbibitem.C:
1484         * insets/insetbranch.C:
1485         * insets/insetcaption.C:
1486         * insets/insetcollapsable.C:
1487         * insets/insetenv.C:
1488         * insets/insetert.C:
1489         * insets/insetfloat.C:
1490         * insets/insetfoot.C:
1491         * insets/insetfootlike.C:
1492         * insets/insetnewline.C:
1493         * insets/insetquotes.C:
1494         * insets/insettabular.C:
1495         * insets/insettext.C:
1496         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1497
1498         * frontends/controllers/ControlChanges.C: #include "changes.h".
1499
1500 2003-09-06  Angus Leeming  <leeming@lyx.org>
1501
1502         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1503         than #including paragraph.h.
1504
1505         * ParagraphList.h:
1506         * RowList.h: deleted. Superfluous.
1507
1508         * CutAndPaste.h:
1509         * iterators.h:
1510         * lyxcursor.h:
1511         * lyxtext.h:
1512         * text_funcs.h:
1513         * undo.h:
1514         * undo_funcs.h:
1515         * insets/inset.h:
1516         * insets/insettext.h: use ParagraphList_fwd.h rather than
1517         ParagraphList.h.
1518
1519         * paragraph.h: don't forward declare ParagraphList.
1520
1521         * buffer.h:
1522         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1523         rather than ParagraphList.h. paragraph.h is still needed for the
1524         Paragraph::depth_type parameters.
1525
1526         * textcursor.h: enable it to compile stand-alone in light of the
1527         above changes.
1528
1529         * bufferview_funcs.C:
1530         * iterators.C:
1531         * lyxfunc.C:
1532         * lyxrow_funcs.C:
1533         * paragraph.C:
1534         * rowpainter.C:
1535         * text.C:
1536         * text2.C:
1537         * text3.C:
1538         * text_funcs.C:
1539         * textcursor.C:
1540         * undo.C:
1541         * frontends/controllers/ControlParagraph.C:
1542         * frontends/controllers/ControlTabular.C:
1543         * insets/insetmarginal.C:
1544         * insets/insetminipage.C:
1545         * insets/insetnote.C:
1546         * insets/insetoptarg.C: add header files needed to compile again.
1547
1548 2003-09-06  Angus Leeming  <leeming@lyx.org>
1549
1550         * RowList_fwd.h: new file, forward-declaring Row rather than
1551         #including lyxrow.h.
1552
1553         * lyxrow_funcs.h:
1554         * lyxtext.h:
1555         * paragraph.h:
1556         * insets/insettext.h: use it instead of RowList.h
1557
1558         * bufferview_funcs.C:
1559         * lyxfunc.C:
1560         * lyxrow_funcs.C:
1561         * paragraph.C:
1562         * rowpainter.C:
1563         * text.C:
1564         * text2.C:
1565         * text3.C: #include "RowList.h".
1566
1567 2003-09-05  Angus Leeming  <leeming@lyx.org>
1568
1569         * factory.C (createInset):
1570         * vspace.C (c-tor): replace sscanf call with an istringstream.
1571         * ispell.C: re-add missing HP/UX headers.
1572         * lyxserver.C: re-add missing  os2 headers.
1573
1574 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1575
1576         * BranchList.C:
1577         * graph.C:
1578         * ispell.C:
1579         * lastfiles.C:
1580         * lyx_cb.C:
1581         * lyxserver.C:
1582         * texrow.C:
1583         * text3.C: re-add missing system headers, needed for 2.95.2.
1584
1585 2003-09-05  Angus Leeming  <leeming@lyx.org>
1586
1587         Changes most place everywhere due to the removal of using directives
1588         from support/std_sstream.h.
1589
1590 2003-09-05  Angus Leeming  <leeming@lyx.org>
1591
1592         Replace LString.h with support/std_string.h,
1593         Lsstream.h with support/std_sstream.h,
1594         support/LIstream.h with support/std_istream.h,
1595         support/LOstream.h with support/std_ostream.h.
1596
1597         Changes resulting throughout the tree.
1598
1599 2003-09-05  Angus Leeming  <leeming@lyx.org>
1600
1601         * sgml.h: ensure that the header file can be compiled stand-alone.
1602         * *.C: strip out redundant #includes. (320 in total.)
1603
1604 2003-09-04  Angus Leeming  <leeming@lyx.org>
1605
1606         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1607         here (from getPackages).
1608
1609         * debug.[Ch]: add a new EXTERNAL tag.
1610
1611 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1612
1613         * text2.C (cursorEnd): simplify
1614         (setCursor): adjust
1615         (getColumnNearX): adjust
1616
1617         * text.C (computeBidiTables): adjust
1618         (fill): adjust
1619
1620         * rowpainter.C (paintChars): adjust
1621         (paintSelection): adjust
1622         (paintChangeBar): adjust
1623         (paintText): adjust
1624
1625         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1626         lastPos instead.
1627         (numberOfSeparators): adjust
1628
1629 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1630
1631         * LyXAction.C:
1632         * box.[Ch]:
1633         * lfuns.h:
1634         * lyxfunc.C:
1635         * text3.C: Restricts the mouse click functionality
1636         of insets like bibtex, include, toc and floatlist to the visible
1637         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1638         up the dialogs. Cursor has to be in front of the inset (i.e.
1639         start of row) for this to function.
1640
1641 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1642
1643         * bufferview_funcs.C (currentState): output row information
1644
1645 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1646
1647         * bufferview_funcs.C (currentState): output paragraph position
1648
1649 2003-09-04  Angus Leeming  <leeming@lyx.org>
1650
1651         * FloatList.h: move out #include "Floating.h".
1652         * LaTeX.h: move out #include "DepTable.h".
1653         * LyXAction.h: move out #include "funcrequest.h".
1654         * buffer.h: move out #include "author.h", "iterators.h".
1655         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1656         * lyx_main.h: move out #include "errorlist.h".
1657         * lyxfunc.h: move out #include "FuncStatus.h".
1658         * lyxtext: move out #include "lyxcursor.h".
1659         * paragraph_pimpl.h: move out #include "counters.h".
1660
1661 2003-09-03  Angus Leeming  <leeming@lyx.org>
1662
1663         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1664         preamble_snippets list, enabling us to add snippets to the preamble
1665         only if the snippet was not there already.
1666
1667 2003-09-04  Angus Leeming  <leeming@lyx.org>
1668
1669         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1670
1671 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1672
1673         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1674         update
1675
1676 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1677
1678         * BranchList.C: point fix, earlier forgotten
1679
1680 2003-09-02  Angus Leeming  <leeming@lyx.org>
1681
1682         * box.C (contains): renamed from 'contained' after a fantastic
1683         amount of hot air.
1684
1685 2003-09-02  John Levon  <levon@movementarian.org>
1686
1687         * BufferView.C:
1688         * lyxcursor.h:
1689         * lyxcursor.C:
1690         * lyxfunc.C:
1691         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1692
1693 2003-09-02  John Levon  <levon@movementarian.org>
1694
1695         * text2.C: simplification of cursorEnd(), including partial
1696         fix for bug 1376
1697
1698 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1699
1700         * buffer.C (readFile): add a space
1701
1702 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1703
1704         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1705
1706 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1707
1708         * buffer.C (readFile): new function, take a filename and a
1709         ParagraphList::iterator
1710         (readFile): adjust
1711         (readFile): adjust, make it private. don't use setStream, make
1712         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1713         always contain the filename.
1714
1715         * BufferView.C (insertLyXFile): simplify and make it work for
1716         gzipped files.
1717
1718 2003-08-30  John Levon  <levon@movementarian.org>
1719
1720         * Makefile.am: fix dist (from Kayvan)
1721
1722 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1723
1724         * most files: change to use const Buffer refs
1725
1726 2003-08-27  André Pönitz  <poenitz@gmx.net>
1727
1728         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1729         on top of ownerPar().
1730
1731 2003-08-27  John Levon  <levon@movementarian.org>
1732
1733         * funcrequest.C: properly initialise POD members
1734
1735 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1736
1737         * lyxtext.h (top_y): move top_y from here
1738         * text.C:
1739         * text2.C:
1740         * text3.C:
1741         * BufferView.[Ch]:
1742         * BufferView_pimpl.[Ch]: to here
1743         * frontends/screen.C:
1744         * insets/insettabular.C:
1745         * insets/insettext.C: adjust
1746         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1747
1748 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1749
1750         * BufferView.[Ch]:
1751         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1752
1753 2003-08-26  André Pönitz  <poenitz@gmx.net>
1754
1755         * paragraph_func.[Ch] (outerPar): new function
1756
1757         * paragraph.C:
1758         * paragraph_funcs.C:
1759         * paragraph_funcs.h:
1760         * paragraph_pimpl.C:
1761         * text2.C: remove Inset::par_owner
1762
1763 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1764
1765         * lyxrow_funcs.C:
1766         * lyxtext.h:
1767         * text.C:
1768         * text2.C: eliminates the needFullRow/display() stuff
1769         altogether, putting the logic in metrics/draw in the insets.
1770
1771 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1772
1773         * text2.C (redoParagraphInternal, redoParagraphs):
1774         * text.C (redoParagraph): add a call to updateRowPositions at the
1775         end of each 'metrics-like' call. Remove all others.
1776         (getRow): remove the 'y-computing' version.
1777         (getRowNearY): do not compute nor return the real y. Solve the
1778         'y < 0' problem and simplify.
1779
1780 2003-08-22  Angus Leeming  <leeming@lyx.org>
1781
1782         * *.[Ch]: clean-up of licence and author blurbs.
1783         Also move config.h out of a few .h files and into a few .C files.
1784
1785 2003-08-22  André Pönitz  <poenitz@gmx.net>
1786
1787         * lyxrow.[Ch]: add x_ and *fill_ members
1788
1789         * lyxtext.h:
1790         * text.C:
1791         * rowpainter.C:
1792         * text2.C: adjust/remove prepareToPrint() calls
1793
1794 2003-08-22  André Pönitz  <poenitz@gmx.net>
1795
1796         * lyxrow.[Ch]: add  end_ member
1797
1798         * lyxrow_funcs.C: use LyXRow::end_
1799
1800         * lyxtext.h (singleWidth): add LyXFont parameter
1801
1802         * rowpainter.C:
1803         * text2.C: adjust LyXText::singleWidth() calls
1804
1805         * text.C (redoParagraph): simplify row breaking logic
1806
1807
1808 2003-08-19  André Pönitz  <poenitz@gmx.net>
1809
1810         * funcrequest.C: initialize button_ member
1811
1812         * text3.C:
1813         * rowpainter.[Ch]: interface consolidation
1814
1815 2003-08-18  André Pönitz  <poenitz@gmx.net>
1816
1817         * BufferView.C:
1818         * BufferView_pimpl.C:
1819         * lyxfind.C:
1820         * paragraph_funcs.C:
1821         * rowpainter.C:
1822         * text3.C: remove LyXScreen::draw() and fitCursor calls
1823
1824         * BranchList.h: remove spurious semicolons
1825
1826         * MenuBackend.C: fix branchlist related crash
1827
1828 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1829
1830         * BranchList.[Ch]:
1831         * InsetList.[Ch]:
1832         * LColor.[Ch]:
1833         * LyXAction.C:
1834         * Makefile.am:
1835         * MenuBackend.[Ch]:
1836         * bufferparams.[Ch]:
1837         * factory.C:
1838         * lfuns.h:
1839         * lyxfunc.C:
1840         * text3.C: implements the 'branch inset'
1841         idea. This allows the output of various versions of a document
1842         from a single source version, selectively outputing or suppressing
1843         output of parts of the text.
1844         This implementation contains a 'branch list editor' in a separate
1845         tab of the document settings dialog. Branches are user definable
1846         and have a "display colour" to distinguish them on-screen.
1847
1848         ColorHandler was somewhat cleaned up.
1849         (1) make possible a dynamically growing LColor list by allowing
1850         the graphic context cache to grow along (vector);
1851         (2) eliminate an IMHO unnecessary step in colour allocation.
1852
1853 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1854
1855         * BufferView_pimpl.C: compile fix
1856
1857 2003-08-15  André Pönitz  <poenitz@gmx.net>
1858
1859         * rowpainter.C: remove extra metrics calls
1860
1861         * lyxtext.h: merge the two constructors into a single one,
1862           pass reference to owner's par list
1863
1864         * BufferView_pimpl.C:
1865         * text.C:
1866         * text2.C: adjust
1867
1868 2003-08-15  André Pönitz  <poenitz@gmx.net>
1869
1870         * lyxrow_funcs.[Ch]:
1871         * lyxtext.h:
1872         * paragraph.h:
1873         * paragraph_funcs.C:
1874         * rowpainter.C:
1875         * text.C:
1876         * text2.C:
1877         * text3.C:
1878         * text_funcs.C: split LyXText::rowlist_ into individual
1879         Paragraph::rows_ chunks
1880
1881         * BufferView.[Ch]:
1882         * BufferView_pimpl.[Ch]:
1883         * lyxfind.C:
1884         * lyxtext.h:
1885         * text3.C: remove toggleSelection()
1886
1887 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1888
1889         * bufferlist.C: beautify two alerts (shorter text of buttons)
1890         * buffer.C: Remove redundant ' ' from message
1891         * tabular.h:
1892         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1893         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1894         rename VALIGN_CENTER to VALIGN_MIDDLE
1895
1896 2003-08-11  André Pönitz  <poenitz@gmx.net>
1897
1898         * lyxtext.h (getPar):
1899         * text.C: new function
1900
1901 2003-08-11  André Pönitz  <poenitz@gmx.net>
1902
1903         * Makefile.am:
1904         * tracer.[Ch]: remove unneeded files
1905
1906         * InsetList.[Ch]: remove resizeInsetsLyXText()
1907
1908         * lyxtext.h:
1909         * text.C:
1910         * text2.C:
1911         * text3.C: merge insertParagraphs() and appendParagraph()
1912         remove breakAgain(), update()
1913
1914         * BufferView_pimpl.[Ch]:
1915         * bufferview_funcs.[Ch]:
1916         * lyxfunc.C:
1917         * paragraph.[Ch]:
1918         * rowpainter.C:
1919         * tabular.C: adjust after text & InsetList changes.
1920
1921 2003-08-08  André Pönitz  <poenitz@gmx.net>
1922
1923         * text.C (insertChar, backspace): replace rowlist fiddling
1924         with rebreak of full par
1925
1926         * lyxtext.h:
1927         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1928         checkParagraph, updateInset): removed
1929
1930 2003-08-07  André Pönitz  <poenitz@gmx.net>
1931
1932         * paragraph.C:
1933         * text3.C: merge some LFUN handlers, remove dead code
1934
1935 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1936
1937         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1938
1939 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1940
1941         * text2.C (DEPM): fix part of bug 1255 and 1256
1942
1943 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1944
1945         * BufferView_pimpl.C (workAreaDispatch): change to use
1946         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1947         that are no mouse related.
1948
1949 2003-08-05  André Pönitz  <poenitz@gmx.net>
1950
1951         * BufferView.[Ch]:
1952         * BufferView_pimpl.[Ch]:
1953         * bufferview_funcs.C:
1954         * text2.C:
1955         * text3.C: rip out "deep update"
1956
1957         * textcursor.[Ch] (last_sel_cursor): remove unused member
1958
1959 2003-08-04  André Pönitz  <poenitz@gmx.net>
1960
1961         * BufferView.[Ch]:
1962         * BufferView_pimpl.[Ch]:
1963         * ParagraphParameters.C:
1964         * bufferview_funcs.C:
1965         * lyx_cb.C:
1966         * lyxfind.C:
1967         * lyxfunc.C:
1968         * text.C:
1969         * text2.C:
1970         * text3.C: replace "complicated" BufferView::update(...) calls with
1971         simpler ones.
1972
1973         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1974
1975 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1976
1977         * Makefile.am (lyx_SOURCES): add paper.h
1978
1979 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1980
1981         * Makefile.am: move things around so that both lyx-qt and
1982         lyx-xforms can be built (according to --with-frontend). Then lyx
1983         is a symbolic link to lyx-[firstfrontend]
1984
1985 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1986
1987         * Always use std::endl with lyxerr
1988
1989 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1990
1991         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1992
1993 2003-08-01  André Pönitz  <poenitz@gmx.net>
1994
1995         * BufferView.[Ch]:
1996         * BufferView_pimpl.[Ch]:
1997         * lyxfunc.C:
1998         * text3.C: merge BufferView::repaint() and BufferView::update()
1999
2000 2003-08-01  José Matos  <jamatos@lyx.org>
2001
2002         * buffer.[Ch]: file_format is no longer a buffer data element.
2003
2004 2003-08-01  André Pönitz  <poenitz@gmx.net>
2005
2006         * BufferView.C:
2007         * lyxtext.h:
2008         * text.C:
2009         * text2.C: make redoParagraph more independent of current cursor
2010
2011         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2012         * text.C:
2013         * text2.C: remove unneeded members
2014
2015 2003-07-30  André Pönitz  <poenitz@gmx.net>
2016
2017         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2018
2019         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2020           create a single function...
2021
2022         * paragraph_funcs.C (moveItem): ... here.
2023
2024         * text.C:
2025           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2026
2027 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2028
2029         * LColor.[Ch]: Add comment and greyedout logical colors.
2030
2031 2003-07-30  André Pönitz  <poenitz@gmx.net>
2032
2033         * tabular.C: don't use Assert too heavily. This crashes where it
2034           shouldn't
2035
2036 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2037
2038         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2039         is disabled (bug 1232)
2040
2041 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2042
2043         * factory.C: limited 'arg' scope
2044
2045 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2046
2047         * factory.C: fixed Note submenu issues
2048
2049 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2050
2051         * factory.C: submenu for Note/Comment/Greyedout
2052
2053 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2054
2055         * lyx_main.C (LyX):
2056         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2057
2058 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2059
2060         * LaTeXFeatures.C:
2061         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2062         greyedout. Patch provided by Jürgen Spitzmüller.
2063
2064 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2065
2066         * kbmap.C (read): fix error message when reading bind files
2067
2068 2003-07-29  Angus Leeming  <leeming@lyx.org>
2069
2070         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2071         certainly does not do what it purports to do. I am doing it, and
2072         us, a favour by killing it.
2073
2074 2003-07-28  José Matos  <jamatos@lyx.org>
2075
2076         * buffer.C (readBody, do_writeFile):
2077         * paragraph.C(readParagraph): \end_document replaces \the_end.
2078
2079 2003-07-29  André Pönitz  <poenitz@gmx.net>
2080
2081         * BufferView.[Ch]:
2082         * BufferView_pimpl.[Ch]:
2083         * lyxfunc.C:
2084         * text2.C:
2085         * text3.C:
2086         * textcursor.[Ch]: remove toggleToggle & Co
2087
2088 2003-07-28  José Matos  <jamatos@fep.up.pt>
2089
2090         * buffer.C (readParagraph):
2091         * params_func (readParToken, readParagraph):
2092         * paragraph.C (write): \layout -> \begin_layout.
2093
2094 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2095
2096         * lyxlex_pimpl.C (setFile): clean up slightly.
2097
2098         * bufferparams.h: add compressed var
2099
2100         * buffer_funcs.C (readFile): adjust for LyXLex change
2101         (newFile): ditto + simplify
2102
2103         * buffer.C (writeFile): handle writing of compressed files
2104
2105         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2106         Check if the file is compressed and set a bufferparm if so.
2107
2108         * Makefile.am (lyx_LDADD): remove explicit -lz
2109
2110 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2111
2112         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2113         makeDocBookFile): put the real LyX version in the first line of
2114         the file
2115
2116         * version.h:
2117         * version.C.in: remove lyx_docversion
2118
2119         * tabular.C (write_attribute): add a template-based version to
2120         write enums properly
2121
2122 2003-07-28  André Pönitz  <poenitz@gmx.net>
2123
2124         * lyxtext.h:
2125         * text.C:
2126         * text2.C:
2127         * text3.C: use doubles again for x-coordinates. They are needed.
2128
2129 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2130
2131         * messages.C (getLocaleDir): use lyx_localedir()
2132
2133         * lyxlex_pimpl.C (setFile): compress stuff
2134
2135         * buffer.C (writeFile): add some compression stuff
2136         (do_writeFile): new func, dont call expliti close... will this
2137         breake anything?
2138
2139         * Makefile.am (lyx_LDADD): add -lz
2140
2141 2003-07-28  José Matos  <jamatos@fep.up.pt>
2142
2143         * buffer.C: increment file format.
2144         * paragraph_funcs (readParagraph, readParToken):
2145         * paragraph.C (readParagraph): add \end_layout.
2146
2147 2003-07-27  Angus Leeming  <leeming@lyx.org>
2148
2149         * Makefile.am: remove special casing for configure-time setting of
2150         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2151
2152         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2153         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2154
2155 2003-07-26  André Pönitz  <poenitz@gmx.net>
2156
2157         * paragraph_func.[Ch]:
2158         * paragraph.C (realizeFont): inline it whereever it is used
2159
2160         * rowpainter.C:
2161         * text.C:
2162         * text2.C:
2163         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2164
2165
2166 2003-07-26  André Pönitz  <poenitz@gmx.net>
2167
2168         *       lyxtext.h:
2169         * text.C:
2170         * text2.C: get rid of LyXText::need_break_row
2171
2172 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2173
2174         * toc.[Ch]: put namespace toc inside namespace lyx
2175
2176         * MenuBackend.C (expandToc2): adjust for lyx::toc
2177         (expandToc): ditto
2178
2179         * lyxfunc.C (dispatch): adjust for lyx::find
2180
2181         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2182         lyx::find instead. Reorganize a bit.
2183         (LyXReplace): rename to replace
2184         (LyXFind): rename to find
2185
2186         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2187         (dispatch): ditto
2188
2189 2003-07-26  André Pönitz  <poenitz@gmx.net>
2190
2191         * text.C (setHeightOfRow): restrict scope of temporary variable
2192
2193         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2194           code (never has been used?)
2195
2196 2003-07-27  Asger Alstrup  <alstrup@local>
2197
2198         * text.C (fill): Optimise algorithm to exploit that we can reuse
2199         the LyXFont for many characters.
2200         (setHeightOfRow): Same thing.
2201         (rowBreakPoint): Same thing.
2202
2203 2003-07-26  Asger Alstrup  <alstrup@local>
2204
2205         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2206
2207         * text.C (singleWidth): Spurious font copying in hot-spot
2208         singleWidth avoided. Reorder tests for arabic for efficiency.
2209
2210         * text.C (fill): handle empty paragraphs better.
2211
2212 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2213
2214         * ispell.C:
2215         * encoding.h: add includes
2216
2217         * lyxrc.C: remove reading of bind files
2218
2219         * lyx_main.C (init): setup bindings and menus only if we have a
2220         gui.
2221
2222         * kbmap.C (read): new method. Do the actual reading of bind
2223         files.
2224
2225         * converter.C (dvipdfm_options):
2226         * bufferparams.C:
2227         * lyxrc.C (read):
2228         (output): adapt PAPER_* enums.
2229
2230         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2231
2232         * bufferparams.h: remove paper-related enums from there
2233
2234         * paper.h: New file. A trivial header file to hold paper-related
2235         enums. It should later expand to contain many paper-related
2236         horrors access.
2237
2238         * lyxrc.C: declare extern displayTranslator
2239
2240 2003-07-27  José Matos  <jamatos@fep.up.pt>
2241
2242         * tabular.[Ch] (linuxdoc): add support for tables and figures
2243         (linuxdoc).
2244
2245 2003-07-27  José Matos  <jamatos@fep.up.pt>
2246
2247         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2248         consistency in both functions.
2249         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2250
2251 2003-07-26  Asger Alstrup  <alstrup@local>
2252
2253         * rowpainter.C (paintRows): Change algorithm to work directly on
2254         the insets rather than asking every character in the document
2255         whether its an inset.
2256
2257 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2258
2259         * buffer.C (openFileWrite): factorize some code
2260
2261 2003-07-26  Angus Leeming  <leeming@lyx.org>
2262
2263         * lyx_cb.C:
2264         * lyx_main.[Ch]: replace occurances of system_tempdir with
2265         os::getTmpDir().
2266
2267 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2268
2269         * rename Inset to InsetOld
2270
2271 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2272
2273         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2274         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2275         which I think is a bit clearer. EDIT is gone, since it was
2276         premature optimisation, and broken for mathed anyway.
2277         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2278         with cursor positioning in insets as well (math insets still do not
2279         work, but that's a different story anyway.) It mysteriously
2280         crashes sometimes with undo in the first paragraph, but I'm fairly
2281         confident that this is a compiler bug.
2282
2283 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2284
2285         * paragraph.C (Paragraph): adjust for new clone return type
2286         (operator==): ditto
2287         (copyIntoMinibuffer): ditto
2288
2289 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2290
2291         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2292         by not having a special case, and always doing a full rebreak of
2293         the document after undo.
2294
2295 2003-07-23  Angus Leeming  <leeming@lyx.org>
2296
2297         * factory.C (createInset): InsetExternal::setParams now takes a
2298         Buffer const * arg.
2299
2300 2003-07-23  Angus Leeming  <leeming@lyx.org>
2301
2302         * factory.C (createInset): changed interface to the external and
2303         graphics mailers' string2params functions.
2304
2305 2003-07-23  Angus Leeming  <leeming@lyx.org>
2306
2307         * factory.C (createInset): pass a
2308         Buffer const * parameter to InsetExternalMailer's string2params.
2309
2310 2003-07-22  John Levon  <levon@movementarian.org>
2311
2312         * Thesaurus.h: include the right aiksaurus header
2313
2314 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2315
2316         * MenuBackend.C (expand): check menu shortcuts unconditionally
2317
2318 2003-07-21  Angus Leeming  <leeming@lyx.org>
2319
2320         * factory.C (createInset): pass a
2321         buffer_path parameter to InsetGraphicsMailer's string2params.
2322
2323 2003-07-21  Angus Leeming  <leeming@lyx.org>
2324
2325         * BufferView_pimpl.C (buffer):
2326         * buffer.C (d-tor):
2327         * lyx_main.C (LyX):
2328         * lyxfunc.C (dispatch):
2329         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2330         rather than the grfx shortcut.
2331
2332 2003-07-21  André Pönitz  <poenitz@gmx.net>
2333
2334         * rowpainter.C: remove unused variables
2335
2336         * tabular_funcs.C:
2337         * tabular_funcs.h: move to tabular.C
2338         * Makefile.am: adjust
2339
2340         * tabular.[Ch]: basic optical cleaning
2341
2342         * author.h: pass references, not values
2343
2344 2003-07-18  André Pönitz  <poenitz@gmx.net>
2345
2346         * lyxtext.h:
2347         * metricsinfo.C:
2348         * metricsinfo.h:
2349         * rowpainter.C:
2350         * text.C:
2351         * text2.C:
2352         * text3.C: two-phase drawing for InsetText and InsetTabular
2353         some float -> int changes.
2354
2355 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2356
2357         * lyx_main.C: fix the fix
2358
2359 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2360
2361         * lyx_main.C: fix a crash in batch mode if no files specified
2362         * converter.C: ws
2363
2364 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2365
2366         * format.[Ch] (papersize): moved to BufferParams
2367         * converter.[Ch] (dvips_options): moved to BufferParams
2368         (dvipdfm_options): moved to anon namespace
2369         * bufferparams.[Ch]: added above functions.
2370
2371 2003-07-17  André Pönitz  <poenitz@gmx.net>
2372
2373         * lyxtext.h:
2374         * rowpainter.C:
2375         * text2.C: don't call inset->update() anymore
2376
2377         * metricsinfo.[Ch]: add convenience constructor
2378
2379 2003-07-16  André Pönitz  <poenitz@gmx.net>
2380
2381         * lyxcursor.[Ch]:
2382         * lyxfunc.[Ch]:
2383         * text.C:
2384         * text2.C: replace the LyXCursor::irow_ member with
2385          on-demand computation of the value
2386
2387 2003-07-16  John Levon  <levon@movementarian.org>
2388
2389         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2390
2391 2003-07-15  André Pönitz  <poenitz@gmx.net>
2392
2393         * text.C:
2394         * text2.C: remove no more needed refresh_row
2395
2396 2003-07-15  André Pönitz  <poenitz@gmx.net>
2397
2398         * lyxtext.h:
2399         * rowpainter.C:
2400         * text2.C:
2401         * text3.C: refresh_status tristate -> need_update bool
2402
2403 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2404
2405         * lyxtext.h (init): remove reinit argument (act as if always true)
2406         * text2.C: adjust to that
2407
2408 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2409
2410         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2411         * text3.C: use it to delete selections in some cases
2412         (bugs 441, 673, 702, 954).
2413
2414 2003-07-14  André Pönitz  <poenitz@gmx.net>
2415
2416         * rowpainter.[Ch]: reduce interface
2417
2418 2003-07-14  André Pönitz  <poenitz@gmx.net>
2419
2420         * BufferView_pimpl.C:
2421         * text2.C: adjust after removing unused BufferView * argument
2422
2423 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2424
2425         * text2.C (init): fix a crash fired on resize
2426
2427 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2428
2429         * buffer.[Ch]: added new closing signal
2430         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2431         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2432         BufferView::Pimpl via the closing the signal
2433
2434 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2435
2436         * buffer.[Ch]: take out all bv-related from buffer
2437         * BufferView.C:
2438         * BufferView_pimpl.[Ch]: connect to new signals
2439         * CutAndPaste.C: removed useless asserts
2440         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2441         * lyxvc.[Ch]:
2442         * vc-backend.[Ch]:
2443         * lyxfunc.C: moved view-related funciontality from vc here
2444         * paragraph.C: removed outdated comments
2445         * text.C: ws
2446
2447 2003-07-10  André Pönitz  <poenitz@gmx.net>
2448
2449         * BufferView_pimpl.C:
2450         * tabular.h:
2451         * tabular_funcs.C:
2452         * text.C:
2453         * text2.C: remove InsetText::InnerCache, clean up consequences
2454
2455 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2456
2457         * ispell.C: fix two typos in error messages
2458
2459 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2460
2461         * Extend Note inset to other forms of annotation like Comment
2462         and Greyedout. Right button click gives dialog.
2463
2464         Files modified or added (+):
2465
2466         * insetnote.[Ch]
2467         * FormNote.[Ch]      +
2468         * ControlNote.[Ch]   +
2469         * form_note.fd       +
2470         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2471         frontends/controllers
2472         * xforms/Dialogs.C
2473         * factory.C
2474
2475 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2476
2477         * aspell.C: add missing namespace lyx::support
2478
2479 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2480
2481         * BufferView.[Ch] (newFile): Add
2482         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2483         * LaTeX.[Ch] (message): added this signal and use it
2484         * buffer.[Ch] (busy, message): added these signals and use them
2485         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2486         * converter.C:
2487         * exporter.C:
2488         * format.C:
2489         * importer.C: use buffer signals instead of direct bv calling
2490         * lyx_cb.[Ch] (ShowMessage): removed
2491         * lyx_main.C:
2492         * lyxfunc.C:
2493         * paragraph_funcs.C:
2494         * text2.C: use buffer signals
2495
2496 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2497
2498         * introduce namespace lyx::graphics
2499
2500 2003-07-02  André Pönitz  <poenitz@gmx.net>
2501
2502         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2503
2504 2003-07-01  André Pönitz  <poenitz@gmx.net>
2505
2506         * text.C:
2507         * text2.C:
2508         * text3.C:
2509         * text_funcs.[Ch]:
2510         * textcursor.h:
2511         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2512           text*.C to text_func.C
2513
2514 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2515
2516         * introduce namespace lyx::support
2517
2518 2003-06-30  André Pönitz  <poenitz@gmx.net>
2519
2520         * Chktex.C:
2521         * funcrequest.C:
2522         * lyxtext.h:
2523         * text.C: re-enable --with-included-string
2524
2525 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2526
2527         * textcursor.C: add <config.h>
2528
2529         * text.C (getWord): remove const from word_location arg
2530
2531         * lyxvc.C (getLogFile): fix const type order
2532
2533         * lyxtext.h: remove const from word_location arg, add arg name
2534
2535         * lyxlayout.h: currect type on labeltype.
2536
2537         * importer.C: correct \file
2538
2539         * converter.C (intToFormat): use std:: on ret val, ws changes
2540
2541         * bufferlist.h: correct \file
2542
2543         * buffer.C (makeLinuxDocFile): fix const type order
2544         (makeDocBookFile): ditto
2545         (fillWithBibKeys): use std:: on stdlib args.
2546
2547         * CutAndPaste.C: fix authors.
2548         (availableSelections): use std:: on return vector
2549
2550 2003-06-27  André Pönitz  <poenitz@gmx.net>
2551
2552         * BufferView_pimpl.C:
2553         * bufferview_funcs.C:
2554         * lyxcursor.C:
2555         * lyxcursor.h:
2556         * lyxfunc.C:
2557         * lyxtext.h:
2558         * rowpainter.C:
2559         * text.C:
2560         * text2.C:
2561         * text3.C: remove LyXCursor::row_ member
2562
2563         * lyxtext.h:
2564         * text.C: rename fullRebreak() to partialRebreak() and implement
2565           a fullRebreak() that really bereks fully
2566
2567         * textcursor.h: new struct for cursor-related data
2568
2569 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2570
2571         * lyx_main.C (LyX): get full path of document loaded on the
2572         command line
2573
2574 2003-06-26  André Pönitz  <poenitz@gmx.net>
2575
2576         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2577           remove unused/broken operator>,<,>=.
2578
2579         *       text.C: remove only use of broken operator<= in an Assert().
2580
2581 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2582
2583         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2584         moved errorlist_.clear to showErrorList
2585
2586 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2587
2588         * converter.C (scanLog, runLaTeX):
2589         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2590         move the bv->showErrorList call to the callers
2591         * lyxfunc.C: i.e. here...
2592         * text2.C: and here
2593         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2594         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2595         namespace, the second to...
2596         * buffer_funcs (BufferFormat, parseErrors): added
2597         * errorlist.C (ErrorList(TeXErrors const &)): removed
2598
2599 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2600
2601         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2602
2603 2003-06-24  "Garst R. Reese" <reese@isn.net>
2604
2605         * debug.C: fix typo
2606
2607 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2608
2609         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2610
2611         * version.C.in: change docversion to 1.4
2612
2613 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2614
2615         * buffer.C: fix a bug just introduced
2616
2617 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2618
2619         * buffer.[Ch]: added the parseError signal and use it, removed
2620         sgmlError
2621         * BufferView.[Ch] (addError): moved to ...
2622         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2623         to the Buffer::parseError signal to catch (guess what) parse errors
2624         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2625
2626 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2627
2628         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2629         ability to create a buffer and to return an existing one from
2630         the list. Moved these functions to...
2631         * buffer_funcs.[Ch]: added
2632         * BufferView.[Ch] (loadLyXFile): added
2633         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2634         job removed from bufferlist::loadLyXFile.
2635         * buffer.C (setReadOnly): make it work without view
2636         (i.e added an if (users))
2637
2638 2003-06-19  Angus Leeming  <leeming@lyx.org>
2639
2640         * lfuns.h:
2641         * LyXAction.C (init):
2642         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2643         with LFUN_DIALOG_SHOW <name> <data>.
2644
2645 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2646
2647         * CutAndPaste.C (availableSelections): small compilation fix for
2648         ancient (gcc 2.9x) compilers
2649
2650 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2651
2652         * text3.C (cursorNext): add tmp var
2653
2654         * text2.C (updateCounters): for function calling out of for clause
2655         (replaceSelectionWithString): ditto
2656         (insertStringAsParagraphs): ditto
2657         (getColumnNearX): add tmp var
2658         (setCursorFromCoordinates): add tmp var
2659         (cursorDownParagraph): add tmp var
2660         (deleteEmptyParagraphMechanism): add tmp var
2661
2662         * text.C (insertChar): add tmp var
2663
2664         * rowpainter.C (paintDepthBar): add tmp var
2665
2666         * CutAndPaste.C (availableSelections): potentially check all
2667         paragraphs in a cut to fill the shown strings.
2668
2669 2003-06-18  André Pönitz  <poenitz@gmx.net>
2670
2671         * kbmap.[Ch]: use vector<> instead of list<>
2672
2673 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2674
2675         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2676         pasteSelection with index
2677
2678         * text2.C (pasteSelection): modify, call pasteSelection with index
2679
2680         * paragraph.C (asString): reimplement version with no interval to
2681         call the one with interval.
2682
2683         * lyxtext.h: add index arg to pasteSelection
2684
2685         * MenuBackend.C (MenuItem): handle PasteRecent
2686         (Menu::read::Menutags): add md_pasterecent
2687         (read): handle it
2688         (expandPasteRecent): new function
2689         (expand): use it
2690
2691         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2692
2693         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2694         the limited stack
2695         (availableSelections): new function
2696
2697 2003-06-17  Angus Leeming  <leeming@lyx.org>
2698
2699         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2700
2701 2003-06-17  Angus Leeming  <leeming@lyx.org>
2702
2703         * lfuns.h:
2704         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2705
2706         * lyxfunc.C (dispatch): invoke it.
2707
2708 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2709
2710         * iterators.C (operator++, ParPosition): reintroduce some
2711         const_cast for the benefit of older compilers.
2712
2713 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2714
2715         * text3.C (dispatch): do not modify clipboard when doing
2716         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2717         LFUN_DELETE_SKIP on a selection selection
2718
2719 2003-06-16  André Pönitz  <poenitz@gmx.net>
2720
2721         * BufferView.C:
2722         * buffer.C:
2723         * buffer.h:
2724         * paragraph.C:
2725         * tabular.[Ch]: IU of clone() and getLabelList();
2726
2727 2003-06-13  André Pönitz  <poenitz@gmx.net>
2728
2729         * tabular.h: compactification
2730
2731 2003-06-12  André Pönitz  <poenitz@gmx.net>
2732
2733         * tabular.C:
2734         * tabular.h:
2735         * tabular_funcs.h: some renaming plus whitespace
2736
2737 2003-06-12  André Pönitz  <poenitz@gmx.net>
2738
2739         * BufferView.C:
2740         * BufferView_pimpl.C:
2741         * CutAndPaste.C:
2742         * buffer.C:
2743         * iterators.[Ch]:
2744         * lyxfunc.C:
2745         * text.C:
2746         * toc.C: Return a Paragraph & for ParIterator::operator*()
2747
2748 2003-06-11  John Levon  <levon@movementarian.org>
2749
2750         * lyx_main.C:
2751         * ToolbarBackend.h:
2752         * ToolbarBackend.C: add "Toolbars" section and
2753         put the flags there
2754
2755 2003-06-10  Angus Leeming  <leeming@lyx.org>
2756
2757         * lfuns.h:
2758         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2759
2760         * lyxfunc.C (dispatch): invoke it.
2761
2762 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2763
2764         * main.C: protect <ios> with HAVE_IOS
2765         (main): protect sync_with_stdio with HAVE_IOS
2766
2767 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2768
2769         * text2.C (cutSelection): adjust
2770         (pasteSelection): adjust
2771
2772         * messages.C: handle get of empty string
2773
2774         * main.C (main): use sync_with_stdio(false)
2775
2776         * lyxfunc.C (dispatch): adjust
2777
2778         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2779         (WriteAs): remove unneeded BufferView arg.
2780
2781         * bufferparams.h: use correct types on papersize, papersize2 and
2782         paperpackage.
2783
2784         * bufferparams.C (readToken): adjust for type
2785         (writeLaTeX): add missing cases to switch.
2786
2787         * bufferlist.C (quitWriteBuffer): adjust
2788         (close): adjust
2789
2790         * buffer.C (asciiParagraph): remove some commented code.
2791
2792         * CutAndPaste.C: remove current_view extern variable.
2793         (cutSelection): add BufferParams arg.
2794         (eraseSelection): add BufferParams arg.
2795         (pasteSelection): add Buffer const & arg
2796
2797 2003-06-07  John Levon  <levon@movementarian.org>
2798
2799         * buffer.C:
2800         * paragraph_funcs.C:
2801         * paragraph_pimpl.C:
2802         * text.C:
2803         * text2.C:
2804         * paragraph.h:
2805         * paragraph.C: allow InsetERT to freely space lines,
2806         and some consolidation of code
2807
2808 2003-06-06  José Matos  <jamatos@fep.up.pt>
2809
2810         * buffer.C (makeDocBookFile): fix bug #821
2811
2812 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2813
2814         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2815
2816 2003-06-04  Angus Leeming  <leeming@lyx.org>
2817
2818         * buffer.C: bump format to 224.
2819
2820 2003-06-05  André Pönitz  <poenitz@gmx.net>
2821
2822         * text2.C (redoParagraphs): remove two const_cast<>
2823
2824 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2825
2826         * ParagraphList.h: remove last remnants of NO_STD_LIST
2827
2828 2003-06-03  Angus Leeming  <leeming@lyx.org>
2829
2830         * factory.C (createInset): small change to the way InsetExternal's params
2831         are set.
2832
2833 2003-06-04  André Pönitz  <poenitz@gmx.net>
2834
2835         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2836
2837         * paragraph_pimpl.h:
2838         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2839
2840         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2841
2842         * undo_funcs.C: make some simple cases of undo work again
2843
2844 2003-06-03  John Levon  <levon@movementarian.org>
2845
2846         * ispell.C: HPUX doesn't have sys/select.h
2847         (from Albert Chin)
2848
2849 2003-06-03  John Levon  <levon@movementarian.org>
2850
2851         * CutAndPaste.C: update tabular and include inset
2852         buffer references
2853
2854         * buffer.h:
2855         * paragraph.h:
2856         * paragraph.C: remove owningBuffer(), don't pass Buffer
2857         to clone()
2858
2859         * factory.C: insetGraphicsParams changed
2860
2861 2003-06-02  John Levon  <levon@movementarian.org>
2862
2863         * LyXAction.C:
2864         * factory.C:
2865         * lfuns.h:
2866         * lyxfunc.C:
2867         * text3.C: remove insetparent
2868
2869 2003-06-02  John Levon  <levon@movementarian.org>
2870
2871         * buffer.h:
2872         * buffer.C: fix inset_iterator.end(), move out of line
2873         (bug 1149)
2874
2875 2003-06-01  John Levon  <levon@movementarian.org>
2876
2877         * text3.C: use a proper cut/paste when doing inset
2878         insert (from Jürgen Spitzmüller)
2879
2880 2003-06-01  John Levon  <levon@movementarian.org>
2881
2882         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2883
2884 2003-05-30  André Pönitz  <poenitz@gmx.net>
2885
2886         * rowpainter.C: unify second drawing phase
2887
2888 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2889
2890         * trans_mgr.C: remove one case of current_view
2891
2892         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2893
2894         * paragraph_funcs.h: remove paragraph.h include
2895
2896         * paragraph.h: delete NO_STD_LIST stuff
2897
2898         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2899
2900         * buffer.h: remove paragraph.h include
2901
2902         * ParagraphList.C: delete file
2903
2904         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2905
2906         * toc.C (getTocList): adjust
2907
2908         * paragraph_pimpl.C (validate): adjust
2909
2910         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2911
2912         * paragraph.C (Paragraph): adjust
2913         (getPositionOfInset): use const_iterator, adjust
2914         (bibitem): use const_iterator, adjust
2915         (setInsetOwner): adjust
2916
2917         * iterators.C (operator++): adjust
2918
2919         * InsetList.[Ch]: Replace selfmade iterator with standard
2920         vector::iterator also introduce const_iterator. Remove getPos,
2921         getInset and setInset from InsetTable. Adjust accordingly.
2922
2923         * BufferView.C (lockInset): adjust
2924         (ChangeInsets): adjust
2925
2926         * tabular.[Ch]: delete commented same_id functions
2927
2928 2003-05-28  John Levon  <levon@movementarian.org>
2929
2930         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2931
2932 2003-05-28  André Pönitz  <poenitz@gmx.net>
2933
2934         * metricsinfo.[Ch]: remove 'fullredraw' member
2935
2936 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2937
2938         * lyxtextclass.C (operator): remove caching.
2939
2940 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2941
2942         * text3.C: adjust
2943
2944         * text2.C (cursorBottom): adjust
2945         (setCounter): use ParagraphList::find, adjust
2946
2947         * text.C (workWidth): use ParagraphList::find, adjust
2948
2949         * lyxcursor.C (LyXCursor): adjust
2950
2951         * buffer.C (inset_iterator): adjust
2952
2953         * ParagraphList.h: make iterator(value_type) private, make
2954         ParagraphList a friend of iterator.
2955
2956         * ParagraphList.C (find): new function
2957
2958         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2959
2960 2003-05-27  André Pönitz  <poenitz@gmx.net>
2961
2962         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2963
2964 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2965
2966         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2967
2968 2003-05-26  John Levon  <levon@movementarian.org>
2969
2970         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2971
2972 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2973
2974         * remove same_id from function signatures, adjust.
2975
2976 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2977
2978         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2979
2980         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2981
2982         * paragraph.C (Paragraph): get rid of same_ids parameter
2983
2984         * ParagraphList.C (insert): adjust
2985         (push_back): adjust
2986
2987 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2988
2989         * paragraph_funcs.C (breakParagraph): adjust
2990         (breakParagraphConservative): adjust
2991
2992         * buffer.C (readParagraph): adjust
2993
2994         * ParagraphList.C (insert): take a reference instead of a pointer
2995         (insert): adjust
2996
2997         * paragraph.[Ch] (id): new function
2998
2999         * bufferlist.C (newFile): adjust
3000
3001         * ParagraphList.C (ParagraphList): adjust
3002         (assign): adjust
3003         (push_back): take a reference instead of a pointer.
3004
3005         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3006
3007         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3008         instead.
3009
3010         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3011         set else use old code.
3012
3013         * ParagraphList.C: remove all NO_NEXT code and only compile this
3014         code of NO_STD_LIST is set.
3015
3016 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3017
3018         * BufferView_pimpl.C:
3019         * TextCache.C:
3020         * TextCache.h:
3021         * bufferlist.C:
3022         * errorlist.h:
3023         * format.C:
3024         * format.h:
3025         * graph.C:
3026         * lyxfunc.C:
3027         * lyxrc.C:
3028         * graphics/GraphicsConverter.C:
3029         * graphics/PreviewLoader.C: header adjustment
3030
3031 2003-05-23  Angus Leeming  <leeming@lyx.org>
3032
3033         * LaTeXFeatures.[Ch] (useBabel): new method.
3034         * bufferparams.C (writeLaTeX): use it.
3035
3036 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3037
3038         * ParagraphList.h (set): remove unused function.
3039
3040 2003-05-23  André Pönitz  <poenitz@gmx.net>
3041
3042         * BufferView.C:
3043         * BufferView_pimpl.C:
3044         * buffer.C:
3045         * buffer.h:
3046         * lyxfunc.C:
3047         * undo_funcs.C: setUndo reworked
3048
3049         * iterators.[Ch]: add access to topmost ParagraphList
3050
3051         * lyxtext.[Ch] (workWidth): add a const
3052
3053 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3054
3055         * texrow.[Ch] (increasePos): remove function
3056         * exporter.C (export): removed unused var and outdated comment
3057
3058 2003-05-23  Angus Leeming  <leeming@lyx.org>
3059
3060         * latexrunparams.h: rename fragile as moving_arg.
3061         * paragraph.C (simpleTeXOnePar): ditto.
3062         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3063
3064 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3065
3066         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3067         (createUndo): ditto
3068         (textUndoOrRedo): comment out a currently unused var.
3069
3070         * paragraph.h (NO_NEXT): enable NO_NEXT
3071
3072         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3073
3074         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3075
3076         * exporter.C (Export): adjust for removeAutoInsets removal.
3077
3078         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3079
3080         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3081
3082         * BufferView.[Ch] (removeAutoInsets): delete function
3083
3084 2003-05-22  Angus Leeming  <leeming@lyx.org>
3085
3086         * latexrunparams.h: add a free_spacing variable.
3087
3088         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3089         to pass moving_arg, as the data is stored in runparams.fragile.
3090
3091         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3092         to Inset::latexOptional or to simpleTeXOnePar.
3093
3094         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3095         free_spacing arg to Inset::latexOptional.
3096
3097         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3098         free_spacing arg.
3099
3100 2003-05-22  Angus Leeming  <leeming@lyx.org>
3101
3102         * latexrunparams.h: add fragile and use_babel variables.
3103
3104         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3105         * buffer.C (makeLaTeXFile): store this returned value in
3106         runparams.use_babel, thus passing it to the inset::latex methods.
3107
3108         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3109         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3110
3111         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3112         longer has a fragile arg, as it is stored in runparams.fragile.
3113
3114         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3115         moving_arg parameter as the data is stored in runparams.fragile.
3116
3117         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3118         a fragile parameter as the data is stored in runparams.fragile.
3119
3120 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3121
3122         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3123
3124 2003-05-22  Angus Leeming  <leeming@lyx.org>
3125
3126         * latexrunparams.h: add a 'bool nice' which defaults to false.
3127
3128         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3129         now encapsulated within runparams.
3130
3131         * bufferlist.C (updateIncludedTeXfiles):
3132         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3133
3134 2003-05-22  Angus Leeming  <leeming@lyx.org>
3135
3136         * latexrunparams.h: new file containing struct LatexRunParams.
3137         * Makefile.am: add new file.
3138
3139         * LaTeX.[Ch] (c-tor, run):
3140         * buffer.[Ch] (makeLaTeXFile):
3141         * bufferlist.[Ch] (updateIncludedTeXfiles):
3142         * converter.C (convert, scanLog):
3143         * converter.[Ch] (runLaTeX):
3144         * exporter.C (Export):
3145         * paragraph.[Ch] (simpleTeXOnePar):
3146         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3147         * paragraph_funcs.[Ch] (latexParagraphs):
3148         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3149         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3150         pass around a LatexRunParams parameter.
3151
3152 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3153
3154         * paragraph.[Ch]: remove unused constructor
3155
3156         * ParagraphList.C (erase): new function, taking two iterators
3157
3158 2003-05-22  André Pönitz  <poenitz@gmx.net>
3159
3160         * undo_funcs.C: remove duplicated code
3161
3162         * iterator.[Ch]: operator=
3163
3164 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3165
3166         * tabular.C (SetMultiColumn): ws changes
3167
3168         * rowpainter.C (paintFirst): get rid of a ->previous
3169
3170         * lyx_cb.C (getPossibleLabel): parlist simplification
3171
3172         * BufferView.C (ChangeInsets): simplify slightly.
3173
3174 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3175
3176         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3177         * lfuns.h: new LFUN_SPACE
3178         * lyxfunc.C: protected space has a new lfun
3179         * paragraph_funcs.C: read new space insets
3180         * text3.C:
3181         * factory.C: handle new space insets
3182
3183 2003-05-22  André Pönitz  <poenitz@gmx.net>
3184
3185         * BufferView.C:
3186         * BufferView_pimpl.C:
3187         * buffer.[Ch]:
3188         * lyxfunc.C:
3189         * undo_funcs.C: return a ParIterator from getParFromID.
3190
3191         * iterators.[Ch]: add two const's
3192
3193 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3194
3195         * toc.C (getTocList): adjust
3196
3197         * iterators.[Ch]: rework for parlist
3198
3199         * buffer.C (par_iterator_begin): adjust
3200         (par_iterator_end): adjust
3201
3202         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3203
3204         * BufferView.C (removeAutoInsets): adjust
3205         (ChangeInsets): adjust
3206
3207 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3208
3209         * text.C (top_y): fix bug 1110
3210
3211 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3212
3213         * errorlist.[Ch]: added
3214         * buffer.C:
3215         * BufferView.[Ch]:
3216         * BufferView_pimpl.C:
3217         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3218         instead
3219
3220 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3221
3222         * Makefile.am: ensure that lyx is relinked upon changes to the
3223         various "convenience" libs.
3224
3225 2003-05-20  Angus Leeming  <leeming@lyx.org>
3226
3227         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3228         files are compiled in alphabetical order again.
3229
3230         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3231
3232 2003-05-19  Angus Leeming  <leeming@lyx.org>
3233
3234         * gettext.[Ch]: remove "char const * _(char const *)".
3235
3236 2003-05-19  André Pönitz  <poenitz@gmx.net>
3237
3238         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3239
3240         * Makefile.am:
3241         * BufferView.C:
3242         * DepTable.h:
3243         * LaTeXFeatures.C:
3244         * buffer.C:
3245         * lyxfont.C:
3246         * lyxlex.h:
3247         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3248
3249 2003-05-19  André Pönitz  <poenitz@gmx.net>
3250
3251         * buffer.C:
3252         * lyxlayout.[Ch]:
3253         * lyxtextclass.[Ch]:
3254         * paragraph.C:
3255         * paragraph_funcs.[Ch]:
3256         * text2.C:
3257         * text3.C: more insetenv work
3258
3259 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3260
3261         * ParagraphParameters.C (params2string): small bug fixed
3262
3263 2003-05-16  André Pönitz  <poenitz@gmx.net>
3264
3265         * debug.C:
3266         * bufferview_funcs.C: patch from Kornel Benko to prevent
3267           crash when _(...) is called twice in a statement
3268
3269 2003-05-16  André Pönitz  <poenitz@gmx.net>
3270
3271         * BufferView.C:
3272         * lyxfunc.C:
3273         * text.C:
3274         * text2.C:
3275         * text3.C:
3276         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3277
3278 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3279
3280         * lyx_main.C (init): remove spurious static_cast
3281
3282 2003-05-14  André Pönitz  <poenitz@gmx.net>
3283
3284         * BufferView.C: fix format string
3285
3286 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3287
3288         * BufferView.[Ch] (insertErrors): removed
3289         * BufferView.[Ch] (showErrorList): added
3290         * buffer.C (runChkTeX):
3291         * converter.C (scanLog): call showErrorList instead of inserterrors
3292
3293 2003-05-13  André Pönitz  <poenitz@gmx.net>
3294
3295         * BufferView_pimpl.C:
3296         * buffer.C:
3297         * bufferview_func.C:
3298         * MenuBackend.C:
3299         * lyxfunc.C:
3300         * lyxrc.C:
3301         * tex-accent.C:
3302         * text3.C:
3303         * toc.C:
3304         * tabular_funcs.h: tostr() from its own header
3305
3306         * ParagraphParameters.C:
3307         * ToolbarBackend.C:
3308         * bufferparams.C:
3309         * format.C:
3310         * lyxlex_pimpl.C:
3311         * text3.C: STRCONV()
3312
3313 2003-05-12  André Pönitz  <poenitz@gmx.net>
3314
3315         * BufferView.C:
3316         * BufferView_pimpl.C:
3317         * CutAndPaste.C:
3318         * LaTeX.C:
3319         * LaTeXFeatures.C:
3320         * ParagraphParameters.C:
3321         * buffer.C:
3322         * bufferlist.C:
3323         * bufferparams.C:
3324         * bufferview_funcs.C:
3325         * converter.C:
3326         * counters.C:
3327         * debug.C:
3328         * exporter.C:
3329         * format.C:
3330         * importer.C:
3331         * lyx_cb.C:
3332         * lyx_main.C:
3333         * lyxfont.C:
3334         * lyxfunc.C:
3335         * lyxvc.C:
3336         * paragraph.C:
3337         * paragraph_funcs.C:
3338         * tabular.C:
3339         * tabular_funcs.C:
3340         * text2.C:
3341         * text3.C:  boost::format -> bformat  all over the place
3342
3343
3344 2003-05-09  André Pönitz  <poenitz@gmx.net>
3345
3346         * LColor.[Ch]: Pimpl the #include <map> away
3347
3348 2003-05-09  John Levon  <levon@movementarian.org>
3349
3350         * bufferlist.C: never remove emergency saves
3351
3352 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3353
3354         * Makefile.am: better lib building
3355
3356 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3357
3358         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3359         instead.
3360         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3361         (simpleTeXSpecialChars): adjust
3362         (simpleTeXSpecialChars): adjust
3363         * paragraph.C (simpleTeXOnePar): adjust
3364         * buffer.C (makeLaTeXFile): adjust
3365
3366         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3367
3368         * text2.C (changeDepth): parlist cleanup
3369         (getColumnNearX): ditto
3370
3371         * rowpainter.C (getLabelFont): parlist cleanup
3372
3373         * bufferlist.C (newFile): parlist cleanup
3374
3375         * CutAndPaste.C (eraseSelection): parlist cleanup
3376
3377         * BufferView_pimpl.C (trackChanges): parlist cleanup
3378         (dispatch): ditto
3379
3380         * BufferView.C (lockInset): parlist cleanup.
3381         (ChangeInsets): ditto
3382
3383 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3384
3385         * CutAndPaste.h: Update file header.
3386
3387         * CutAndPaste.C: Update file header.
3388         Store the parts cut out of the Document in a limited_stack.
3389         (copySelection): adjust
3390         (pasteSelection): new function, takes the index in the limited stack.
3391         (nrOfParagraphs): adjust
3392         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3393         simplify error inset insertion.
3394         (checkPastePossible): adjust
3395
3396 2003-05-06  John Levon  <levon@movementarian.org>
3397
3398         * text2.C: don't cast wrap inset to float
3399
3400 2003-05-05  André Pönitz  <poenitz@gmx.net>
3401
3402         * iterator.C:
3403         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3404
3405         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3406           few naked Paragraph *.
3407
3408 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3409
3410         * bufferparams.C: Output warning if a document with missing
3411         TeX document class is loaded
3412         * exporter.C: Disable TeX exports if the document class is missing
3413         * lyxtextclass.C:
3414         * lyxtextclass.h:
3415         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3416         isTeXClassAvailable()
3417
3418 2003-05-03  John Levon  <levon@movementarian.org>
3419
3420         * BufferView.h:
3421         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3422         explicit cursor show/hide
3423
3424         * BufferView_pimpl.h:
3425         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3426         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3427
3428         * lyxfunc.C: hide cursor before dispatching.
3429
3430         * lyx_cb.C:
3431         * lyxfind.C:
3432         * text.C:
3433         * text3.C: remove explicit cursor hides
3434
3435 2003-05-02  André Pönitz  <poenitz@gmx.net>
3436
3437         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3438
3439         * undo_funcs.C:
3440         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3441           linked lists
3442
3443         * text2.C: tiny whitespace
3444
3445 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3446
3447         * undo_funcs.C: almost only ws changes.
3448
3449         * ParagraphList.C (splice): just return if pl is empty.
3450
3451 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3452
3453         * ParagraphList.C (splice): new function.
3454
3455         * CutAndPaste.C (pasteSelection): use it
3456
3457 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3458
3459         * CutAndPaste.C (pasteSelection): remove the last next and
3460         previous from this file.
3461
3462 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3463
3464         * CutAndPaste.C (pasteSelection): more clean up, user proper
3465         ParagraphList functions for pasteing.
3466
3467         * ParagraphList.C (insert): new function, three arg insert
3468
3469 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3470
3471         * ParagraphList.C (insert): new function, three arg insert
3472
3473         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3474         not on paragraphs.
3475
3476 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3477
3478         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3479
3480 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3481
3482         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3483
3484 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3485
3486         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3487         (copySelection): clean up a bit.
3488         (pasteSelection): use make_pair
3489
3490         * ParagraphList.C (ParagraphList): implement copy constructor
3491         (operator=): implement, base on copy constructor.
3492         (assign): new func
3493
3494         * paragraph.C (erase): return a bool
3495
3496         * paragraph_pimpl.C (erasePos): remove function, move contents...
3497         (erase): ... here. Return a bool.
3498         (erase): call erase instead of erasePos.
3499
3500 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3501
3502         * ParagraphList.h: define PitPosPair
3503         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3504         ParagraphList, fix a bug on pasting multiple pars
3505         * text2.C: change interface to C&P
3506
3507 2003-04-30  André Pönitz  <poenitz@gmx.net>
3508
3509         * undo_func.C: revert part of yesterday's patch 2
3510
3511 2003-04-30  John Levon  <levon@movementarian.org>
3512
3513         * LColor.C: s/tabular/table/
3514
3515 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3516
3517         * text3.C (dispatch): do not convert iterator -> pointer
3518         * undo_funcs.C (setCursorParUndo): ditto
3519         * text_funcs.C (transposeChars): ditto
3520
3521         * text2.C (setLayout): ws changes only
3522
3523         * text.C (breakParagraph): do not convert iterator -> pointer
3524         (insertChar): ditto
3525         (acceptChange): ditto
3526         (rejectChange): ditto
3527         (changeCase): ditto
3528         (Delete): ditto
3529         (backspace): ditto
3530
3531         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3532         pointer
3533
3534 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3535
3536         * text3.C (gotoInset): YABG (yet another bad getChar)
3537
3538 2003-04-29  André Pönitz  <poenitz@gmx.net>
3539
3540         * paragraph.h: make operator= private unimplemented as long as
3541           it is unusable
3542
3543         * ParagraphList.C: whitespace
3544
3545         * paragraph.[Ch]:
3546         * paragraph_pimpl.[Ch]:
3547         * paragraph_funcs.C:
3548         * CutAndPaste.C:
3549         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3550
3551         * text2.C:
3552           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3553
3554 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3555
3556         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3557         * paragraph.[Ch] (erase):
3558         * paragraph_pimpl.[Ch] (erase): change return type and value
3559         * text2.C (cutSelection): some rework
3560
3561 2003-04-28  John Levon  <levon@movementarian.org>
3562
3563         * bufferlist.C: changes for unsaved changes dialog
3564
3565 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3566
3567         * bufferlist.C (newFile): set language (messages_) for new
3568         documents also.
3569
3570         * buffer.C (readFile): ws changes only.
3571
3572 2003-04-28  André Pönitz  <poenitz@gmx.net>
3573
3574         * undo_funcs.C:
3575         * lyxfunc.C:
3576         * buffer.[Ch]:
3577         * BufferView_pimpl.C:
3578         * BufferView.C: getParFromID related ParagraphList::iterator changes
3579
3580 2003-04-28  André Pönitz  <poenitz@gmx.net>
3581
3582         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3583           Changes
3584
3585 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3586
3587         * messages.C: remove one more localedir class variable.
3588
3589 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3590
3591         * messages.C (getLocaleDir): singleton generation function
3592         (Pimpl): use it.
3593         (Messages): add a default constructor.
3594
3595         * main.C (main): do not setup localedir here, do not call
3596         gettext_init.
3597
3598         * gettext.C (_): use it.
3599         (gettext_init): delete funciton
3600
3601 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3602
3603         * gettext.C (getLyXMessages): new singleton generating function.
3604
3605         * buffer.C (updateDocLang): adjust
3606
3607         * Makefile.am (messages.o): add target
3608         (main.o): remove target
3609
3610 2003-04-27  John Levon  <levon@movementarian.org>
3611
3612         * bufferlist.C:
3613         * lyx_cb.C:
3614         * lyxfunc.C:
3615         * lyxvc.C: specify cancel button in Alert::prompt
3616
3617 2003-04-26  John Levon  <levon@movementarian.org>
3618
3619         * text3.C:
3620         * lyxfunc.C:
3621         * lfuns.h:
3622         * LyXAction.C: add LFUN_INSET_SETTINGS
3623
3624         * lyxfunc.C: don't enable tabular-feature when there's
3625         just any locking inset
3626
3627 2003-04-26  John Levon  <levon@movementarian.org>
3628
3629         * bufferlist.C: re-add Cancel to buffer close question
3630
3631         * lyxfunc.C: fix import UI a bit
3632
3633 2003-04-25  John Levon  <levon@movementarian.org>
3634
3635         * gettext.C: remove the broken asserts for now
3636
3637 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3638
3639         * messages.C: make case where setlocale cannot comply work better.
3640
3641         * buffer.C (updateDocLang): new function
3642         (changeLanguage): use it
3643         (readFile): use it
3644
3645         * text2.C (setCounter): use B_ a bit.
3646
3647         * lyxlayout.C (Read): be sure to trim the label strings.
3648
3649         * messages.C (Messages): fix typo in comment
3650
3651         * buffer.C (readFile): set message_ after file is loaded.
3652         (makeDocBookFile): remove double return
3653         (changeLanguage): reset message_ upon language change.
3654         (B_): new func, use this to get translated buffer strings.
3655
3656         * main.C: add myself and Jean Marc as authors.
3657
3658 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3659
3660         * messages.[hC]: pimplify Messages, and three different pimpls to be
3661         used in different circumstances.
3662
3663         * gettext.[Ch]: change for use with new message code.
3664
3665 2003-04-24 André Pönitz <poenitz@gmx.net>
3666
3667         * factory.C: support for eqref
3668
3669 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3670
3671         * messages.[Ch]: add missing char
3672
3673         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3674
3675         * messages.[Ch]: New files
3676
3677 2003-04-18  John Levon  <levon@movementarian.org>
3678
3679         * BufferView.h:
3680         * BufferView.C:
3681         * BufferView_pimpl.C:
3682         * lfuns.h:
3683         * LyXAction.C:
3684         * lyxtext.h:
3685         * text2.C: remove layout-copy/paste (bug 778)
3686
3687 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3688
3689         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3690
3691 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3692
3693         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3694         if they succeed. Act accordingly.
3695
3696 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3697
3698         * text2.C (setCharFont): adjust
3699         (setCounter): adjust
3700         (insertStringAsLines): adjust
3701
3702         * text.C (leftMargin): adjust
3703         (setHeightOfRow): adjust
3704
3705         * rowpainter.C (paintFirst): adjust
3706         (paintLast): adjust
3707
3708         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3709         (outerHook): ditto
3710         (isFirstInSequence): ditto
3711         (getEndLabel): ditto
3712         (outerFont): adjust
3713
3714         * paragraph.C (getParLanguage): comment out some hard stuff.
3715
3716         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3717         (sgmlError): ditto
3718         (simpleDocBookOnePar): ditto
3719         (makeDocBookFile): use ParagraphList::iterator
3720
3721         * CutAndPaste.C (pasteSelection): adjust
3722
3723 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3724
3725         * text2.C (getFont): adjust
3726         (getLayoutFont): adjust
3727         (getLabelFont): adjust
3728
3729         * paragraph_funcs.C (TeXOnePar): adjust
3730
3731         * buffer.C (simpleLinuxDocOnePar): adjust
3732         (simpleDocBookOnePar): adjust
3733
3734         * CutAndPaste.C (pasteSelection): adjust
3735
3736         * BufferView.C (getEncoding): adjust
3737
3738         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3739
3740 2003-04-16  John Levon  <levon@movementarian.org>
3741
3742         * lyxfind.C: use parlist stuff for search/changes
3743
3744 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3745
3746         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3747
3748         * text2.C (deleteEmptyParagraphMechanism): adjust
3749
3750         * text2.[Ch] (ownerParagraph): delete func (both of them
3751
3752 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3753
3754         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3755
3756 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3757
3758         * ParagraphList.C: prepare for NO_NEXT
3759
3760 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3761
3762         * text2.C (getFont): adjust
3763         (getLayoutFont): adjust
3764         (getLabelFont): adjust
3765
3766         * paragraph.C (getFont): adjust
3767         (getLabelFont): adjust
3768         (getLayoutFont): adjust
3769
3770         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3771
3772 2003-04-15  John Levon  <levon@movementarian.org>
3773
3774         From Angus Leeming
3775
3776         * lyx_main.C: handle Include in .ui files
3777
3778 2003-04-15  John Levon  <levon@movementarian.org>
3779
3780         * MenuBackend.C: make the doc files length shorter
3781
3782         * ToolbarBackend.h:
3783         * ToolbarBackend.C: handle toolbar placement flags,
3784         Minibuffer
3785
3786 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3787
3788         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3789         adjust
3790
3791         * paragraph_funcs.C (TeXOnePar): adjust
3792
3793         * paragraph.C (getLabelFont): add outerfont arg, adjust
3794         (getLayoutFont): ditto
3795         (simpleTeXOnePar): adjust
3796
3797         * paragraph_pimpl.C (realizeFont): delete func
3798
3799 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3800
3801         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3802         row argument, constify cur argument.
3803
3804 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3805
3806         * text2.C (getFont): adjust
3807         (getLayoutFont): adjust
3808         (getLabelFont): adjust
3809
3810         * paragraph_funcs.C (TeXOnePar): adjust
3811         (outerFont): new func...
3812         (realizeFont): ...moved out from here, changed this to facilitate
3813         transition
3814
3815         * paragraph.C (getFont): take outerfont as arg, adjust
3816         (simpleTeXOnePar): add outerfont arg, adjust
3817
3818         * buffer.C (simpleLinuxDocOnePar): adjust
3819         (simpleDocBookOnePar): adjust
3820
3821         * CutAndPaste.C (pasteSelection): adjust
3822
3823         * BufferView.C (getEncoding): adjust
3824
3825 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3826
3827         * text2.C (setCharFont): adjust
3828         (setCounter): adjust
3829
3830         * text.C (leftMargin): adjust
3831         (setHeightOfRow): adjust
3832
3833         * rowpainter.C (paintFirst): adjust
3834         (paintLast): adjust
3835
3836         * paragraph_pimpl.C (realizeFont): adjust
3837
3838         * paragraph.C (isFirstInSequence): move from here...
3839         * paragraph_funcs.C (isFirstInSequence): ...to here
3840
3841         * paragraph.C (outerHook): move from here...
3842         * paragraph_funcs.C (outerHook): ...to here
3843
3844         * paragraph.C (depthHook): move from here...
3845         * paragraph_funcs.C (depthHook): ...to here
3846
3847         * paragraph.C (getEndLabel): move from here...
3848         * paragraph_funcs.C (getEndLabel): ...to here
3849
3850         * text2.C (realizeFont): move from here...
3851         * paragraph_funcs.C (realizeFont): ...to here
3852
3853 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3854
3855         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3856
3857 2003-04-14  Angus Leeming  <leeming@lyx.org>
3858
3859         * LColor.[Ch]: scrap LColor mathcursor.
3860
3861 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3862
3863         * lyxlex.[Ch] (text): delete function
3864         * trans.C (Load): adjust
3865         * paragraph_funcs.C (readParToken): adjust
3866
3867 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3868
3869         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3870         vector<char> instead of a char[].
3871
3872         * lyxlex_pimpl.C (getString): adjust
3873         (next): adjust
3874         (lex): use getString
3875         (eatLine): adjust
3876         (nextToken): adjust
3877
3878         * lyxlex.C (text): use pimpl_->getString()
3879         (getBool): ditto
3880         (findToken): ditto
3881
3882 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3883
3884         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3885         (makeFontEntriesLayoutSpecific): temp var for par.size()
3886         (setLayout): temp var for ownerParagraphs().end()
3887         (fullRebreak): temp var for rows().end()
3888         (selectionAsString): temp var for boost::next(startpit), realize
3889         that the while really is a regular for loop.
3890         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3891         setCursor in one place.
3892         (setParagraph): temp vr for ownerParagraphs().end()
3893         (updateCounters): make the while loop a for loop
3894         (cutSelection): temp var for ownerParagraphs().end()
3895         (updateInset): make the do {} while() a regular for loop
3896         (getCursorX): use temp vars
3897         (setCurrentFont): use temp vars
3898         (getColumnNearX): use temp vars
3899
3900 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3901
3902         * text.C (transformChar): use temp var for getChar
3903         (computeBidiTables): use temp var for row->par()
3904         (fill): move temp vars for row->par() and pit->layout() earlier in
3905         the function.
3906         (labelFill): use temp var for row->par()
3907         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3908         asc and desc, realize that pit never changes and that firstpit is
3909         just a duplicate and not needed. Exchange rit->par() with pit in a
3910         lot of places.
3911         (breakAgain): use a temp var for boost::next(rit)
3912         (breakAgainOneRow): ditto
3913         (breakParagraph): use a temp var for rows().begin()
3914         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3915         (cursorRightOneWord): use temp var for cursor.par() and
3916         cursor.pos(), remove usage of tmpcursor.
3917         (cursorLeftOneWord): use temp var for cursor.par() and
3918         cursor.pos() only set cur at end of function.
3919
3920 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3921
3922         * text.C, text2.C: exchange all usage of Paragraph::next with
3923         boost::next(ParagraphList::iterator)
3924
3925         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3926
3927         * text2.C (cursorTop): simplify implementation
3928         (cursorBottom): ditto
3929         (setParagraph): use ParagraphList::iterator
3930         (setCurrentFont): adjust
3931         (getColumnNearX): adjust
3932         (cursorRight): adjust
3933         (cursorLeft): remove usage of Paragraph::previous
3934         (cursorUpParagraph): ditto
3935         (deleteEmptyParagraphMechanism): slight cleanup
3936
3937         * text.C (isBoundary): take a Paragraph const & instead of a
3938         pointer as arg.
3939         (addressBreakPoint): ditto
3940         (leftMargin): remove usage of Paragraph::previous.
3941         (setHeightOfRow): ditto
3942         (cursorLeftOneWord): ditto
3943         (selectNextWordToSpellcheck): ditto
3944         (Delete): ditto
3945         (backspace): ditto
3946         (breakParagraph): remove one usage of Paragraph::next
3947         (redoParagraph): ditto
3948         (acceptChange): ditto
3949         (insertChar): adjust
3950         (rowBreakPoint): adjust
3951
3952         * bufferview_funcs.C (toggleAndShow): adjust
3953
3954 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3955
3956         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3957         methods to access it.
3958         * lyxtext.h:
3959         * text.C: Added updateRowPositions to compute all row positions.
3960         Make top_y and getRowNearY() to use the cached y position
3961
3962 2003-04-11  John Levon  <levon@movementarian.org>
3963
3964         * text.C (rowBreakPoint): reintroduce the labelEnd
3965         checks, code copied from the row fill stuff. Deep voodoo.
3966
3967         * text.C (fill): add a comment and debugging for the
3968         next poor soul.
3969
3970 2003-04-11  John Levon  <levon@movementarian.org>
3971
3972         * text.C: make sure fullrow insets get wrapped to the next line,
3973         even when they're in a manual label
3974
3975 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3976
3977         * text2.C (insertParagraph): make it take ParagraphList::iterator
3978         as arg.
3979         (setLayout): make it return ParagraphList::iterator
3980         (redoParagraphs): ditto
3981         (setCounter): ditto
3982         (checkParagraph): ditto
3983
3984         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3985
3986         * text2.C: adjust several funcs.
3987         (realizeFont): take a ParagraphList::iterator as arg.
3988         (getLayoutFont): ditto
3989         (getLabelFont): ditto
3990         (setCharFont): ditto
3991
3992         * text.C: adjust several funcs.
3993
3994 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3995
3996         * text.C (selectNextWordToSpellcheck): don't accidentally
3997         skip insets
3998
3999 2003-04-10  John Levon  <levon@movementarian.org>
4000
4001         * ToolbarBackend.C (getIcon): special handling for
4002         LFUN_MATH_DELIM
4003
4004 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4005
4006         * text2.C (cursorRight): a getChar assert fixed
4007
4008 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4009
4010         * text2.C (getFont): change to take a ParagraphList::iterator
4011         instead of Paragraph*
4012         Adjust several functions.
4013
4014         * text.C (transformChar): change to take a ParagraphList::iterator
4015         instead of Paragraph*
4016         (singleWidth): ditto
4017         Adjust several functions.
4018
4019         * rowpainter.C: adjust several functions
4020         * rowpainter.h:store a ParagraphList::iterator and not a
4021         Paragraph&.
4022
4023
4024 2003-04-09  John Levon  <levon@movementarian.org>
4025
4026         * lyxfunc.C:
4027         * lfuns.h:
4028         * LyXAction.h:
4029         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4030         and the "help" bits as well
4031
4032 2003-04-09  John Levon  <levon@movementarian.org>
4033
4034         * ToolbarBackend.h:
4035         * ToolbarBackend.C: allow multiple toolbars
4036
4037 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4038
4039         * undo_funcs.C (setCursorParUndo): adjust
4040
4041         * text_funcs.C (transposeChars): adjust
4042
4043         * text3.C (gotoNextInset): adjust
4044         (dispatch): adjust
4045
4046         * text2.C (setLayout): adjust
4047         (changeDepth): adjust
4048         (setFont): adjust
4049         (redoParagraphs): adjust
4050         (selectionAsString): adjust
4051         (setParagraph): adjust
4052         (insertInset): adjust
4053         (cutSelection): adjust
4054         (copySelection): adjust
4055         (pasteSelection): adjust
4056         (insertStringAsLines): adjust
4057         (updateInset): adjust
4058         (setCursor): change to take a ParagraphList::iterator parameter
4059         (setCursorIntern): change to take a ParagraphList::iterator parameter
4060         (setCurrentFont): adjust
4061         (cursorLeft): adjust
4062         (cursorRight): adjust
4063         (deleteEmptyParagraphMechanism): adjust
4064
4065         * text.C (breakParagraph): adjust
4066         (insertChar): adjust
4067         (acceptChange): adjust
4068         (rejectChange): adjust
4069         (selectNextWordToSpellcheck): adjust
4070         (changeCase): adjust
4071         (Delete): adjust
4072         (backspace): adjust
4073
4074         * lyxfind.C (SearchForward): adjust
4075         (SearchBackward): adjust
4076         (nextChange): adjust
4077
4078         * lyxcursor.C (par): adjust
4079
4080         * lyxcursor.h: store a ParagraphList::iterator instead of a
4081         Paragraph*
4082
4083         * lyx_cb.C (getPossibleLabel): adjust
4084
4085         * bufferview_funcs.C (toggleAndShow): adjust
4086
4087         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4088         (dispatch): adjust
4089
4090         * BufferView.C (removeAutoInsets): adjust
4091         (lockedInsetStoreUndo): adjust
4092
4093 2003-04-09  John Levon  <levon@movementarian.org>
4094
4095         * ToolbarBackend.C: try icon without argument
4096         if with argument fails
4097
4098 2003-04-08  John Levon  <levon@movementarian.org>
4099
4100         * ToolbarBackend.h:
4101         * ToolbarBackend.C: add getIcon(), handle tooltip,
4102         and change from "Icon" to "Item".
4103
4104 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4105
4106         * BufferView.C (lockInset): another bad getchar crunched
4107
4108 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4109
4110         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4111         again)
4112
4113 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4114
4115         * lyxfind.C (searchForward, searchBackwards): bug 782
4116
4117 2003-04-07  John Levon  <levon@movementarian.org>
4118
4119         * paragraph.C: remove dead comment
4120
4121         * text.C: remove troublesome depth-fiddling code
4122         in leftMargin() and rightMargin() (bug 1017)
4123
4124         * text.C: fix breaking of rows in nested lists
4125         (bug 1004)
4126
4127         * text2.C (updateCounters): fix up depth values
4128         (bug 1013)
4129
4130 2003-04-07  John Levon  <levon@movementarian.org>
4131
4132         * BufferView_pimpl.C: clear message when doc finishes resizing,
4133         and after a mouse event
4134
4135         * lyxfunc.C: clear message after exiting inset
4136
4137 2003-04-07  John Levon  <levon@movementarian.org>
4138
4139         * bufferview_funcs.C: show math status not outside
4140         status in the statusbar
4141
4142 2003-04-07  John Levon  <levon@movementarian.org>
4143
4144         * lyxfunc.C: note status changed after a depth change
4145
4146 2003-04-04  Angus Leeming  <leeming@lyx.org>
4147
4148         * LaTeX.h: move AuxInfo operator==, != out of line.
4149         Remove LaTeX virtual destructor; nothing derives from it.
4150         Move operator()() out of public area and rename it startscript().
4151         Change protected for private.
4152
4153 2003-04-04  Angus Leeming  <leeming@lyx.org>
4154
4155         * lyxfunc.C:
4156         * text2.C: remove unneeded #includes.
4157
4158 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4159
4160         * text2.C (dEPM): fix the heigth of the next row
4161
4162 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4163
4164         * text.C: squashed an invalid getChar requester + some ws changes
4165
4166 2003-04-03  John Levon  <levon@movementarian.org>
4167
4168         * bufferview_funcs.h:
4169         * bufferview_funcs.C:
4170         * lyxfunc.C:
4171         * lyxtext.h:
4172         * text2.C: make getStatus work for the env depth lfuns
4173
4174 2003-04-03  John Levon  <levon@movementarian.org>
4175
4176         * bufferview_funcs.h:
4177         * bufferview_funcs.C:
4178         * lyxfunc.C:
4179         * lyxtext.h:
4180         * text2.C: parlistize decDepth(), by merging it with incDepth()
4181
4182 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4183
4184         * lyxrow.h: store a ParagraphList::iterator instead of a
4185         Paragraph* and adjust other class functions to suit.
4186
4187         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4188         above.
4189
4190 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4191
4192         * text2.C (setCursor): do not anchor to cursor row for the time being
4193
4194 2003-04-02  John Levon  <levon@movementarian.org>
4195
4196         * LyXAction.C:
4197         * lfuns.h:
4198         * lyx_main.C:
4199         * lyxtext.h:
4200         * text.C:
4201         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4202
4203 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4204
4205         * paragraph.h: make ParagraphList and ParagraphList::iterator
4206         friends of Paragraph.
4207
4208         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4209
4210         * ParagraphList.C: Use the private next_ and previous_ from
4211         Paragraph.
4212
4213 2003-04-01  John Levon  <levon@movementarian.org>
4214
4215         * ToolbarBackend.h:
4216         * ToolbarBackend.C:
4217         * Makefile.am: rename, remove defaults gunk
4218
4219         * MenuBackend.h:
4220         * MenuBackend.C: remove defaults gunk
4221
4222         * Languages.h:
4223         * Languages.C: remove defaults gunk
4224
4225         * lyx_main.h:
4226         * lyx_main.C: error out if files couldn't be found.
4227
4228 2003-04-02  John Levon  <levon@movementarian.org>
4229
4230         * text2.C: make incDepth() use parlist
4231
4232 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4233
4234         * undo_funcs.C (firstUndoParagraph): adjust
4235
4236         * text3.C (gotoInset): adjust
4237         (dispatch): adjust, and rewrite loop.
4238
4239         * text2.C (init): adjust, and rewrite loop.
4240         (redoParagraphs): adjust
4241         (updateInset): adjust, and rewrite loop.
4242         (deleteEmptyParagraphMechanism): adjust
4243
4244         * tabular.C (LyXTabular): adjust
4245         (SetMultiColumn): adjust
4246         (TeXRow): adjust
4247
4248         * lyxtext.[Ch] (ownerParagraph): delete function
4249         (ownerParagraphs): new function returns a ParagraphList.
4250
4251         * BufferView.C (removeAutoInsets): adjust
4252         (insertErrors): adjust
4253         (setCursorFromRow): adjust
4254
4255 2003-04-01  Angus Leeming  <leeming@lyx.org>
4256
4257         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4258         in the frontends.
4259
4260 2003-04-02  John Levon  <levon@movementarian.org>
4261
4262         * lyxtext.h:
4263         * text.C:
4264         * Makefile.am:
4265         * text_funcs.h:
4266         * text_funcs.C: make transposeChars a free function
4267
4268         * lyxrow_funcs.C: remove wrong comment
4269
4270 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4271
4272         * lyxtext.h: adjust
4273         * rowpainter.C: adjust
4274         * text.C: adjust
4275         * text2.C: adjust
4276         * text3.C: adjust
4277
4278         * lyxrow_funcs. [Ch]: new files
4279
4280         * lyxrow.[Ch]: remove next and previous pointers
4281         (next,previous): remove accessor functions
4282         (isParEnd): move to lyxrow_funcs
4283         (lastPos): move to lyxrow_funcs
4284         (nextRowIsAllInset): move to lyxrow_funcs
4285         (lastPrintablePos): move to lyxrow_funcs
4286         (numberOfSeparators): move to lyxrow_funcs
4287         (numberOfHfills): move to lyxrow_funcs
4288         (numberOfLabelHfills): move to lyxrow_funcs
4289         (hfillExpansion): move to lyxrow_funcs
4290
4291         * lyxfunc.C: adjust
4292
4293         * bufferview_funcs.C (toggleAndShow): adjust
4294
4295         * RowList.h: Remove class RowList from file leave just a
4296         std::list<Row>.
4297
4298         * RowList.C: delete file
4299
4300         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4301         and lyxrow_funcs.h
4302
4303 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4304
4305         * text3.C (cursorPrevious): adjust
4306         (cursorNext): adjust
4307         (dispatch): adjust
4308
4309         * text2.C (redoHeightOfParagraph): adjust
4310         (redoDrawingOfParagraph): adjust
4311         (setCursor): adjust
4312
4313         * text.C (breakParagraph): adjust
4314         (insertChar): adjust
4315         (backspace): adjust
4316
4317         * rowpainter.C (RowPainter): adjust
4318         (leftMargin): simplify and adjust
4319         (most rowpainter functions): adjust.
4320
4321         * rowpainter.h: store the row as RowList::iterator not as Row*
4322
4323         * lyxcursor.C (row): taka RowList::iterator as arg
4324         (irow): ditto
4325
4326         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4327         of Row*.
4328
4329 2003-04-01  Angus Leeming  <leeming@lyx.org>
4330
4331         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4332         stuff like bool Bool.
4333
4334 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4335
4336         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4337         rewrite a loop
4338
4339 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4340
4341         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4342         RowList::iterator.
4343
4344         * lyxtext.h (rows): drop one version and leve a const variant that
4345         returns a RowList::iterator.
4346
4347 2003-03-31  Angus Leeming  <leeming@lyx.org>
4348
4349         * text.C (fill): ensure that the signature is the same as that in the
4350         header file.
4351
4352 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4353
4354         * text2.C (redoParagraphs): adjust
4355         (updateCounters): adjust
4356         (checkParagraph): adjust
4357         (getColumnNearX): adjust and reformat a bit.
4358
4359         * text.C (top_y): adjust
4360         (workWidth): adjust
4361         (leftMargin): adjust
4362         (prepareToPrint): adjust
4363         (getRow): adjust
4364         (getRowNearY): adjust
4365
4366         * lyxtext.h: make rowlist_ mutable.
4367
4368         * RowList.h: add const_iterator
4369         * RowList.C: adjust for RowList::const_iterator.
4370
4371         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4372         adjust.
4373
4374 2003-03-31  John Levon  <levon@movementarian.org>
4375
4376         * lyxrc.h:
4377         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4378
4379         * lyx_main.C: set default fonts from using lyx_gui funcs
4380
4381         * exporter.C: pdf_mode moved from lyxrc
4382
4383         * lyx_cb.C:
4384         * lyxfunc.C: changes from above
4385
4386 2003-03-31  John Levon  <levon@movementarian.org>
4387
4388         * lyx_main.C: fix to the last fix
4389
4390 2003-03-31  John Levon  <levon@movementarian.org>
4391
4392         * bufferlist.C: "Load original" -> "Load Original"
4393
4394         * converter.C:
4395         * exporter.C:
4396         * importer.C:
4397         * lyx_main.C:
4398         * format.C: more Alert cleanups
4399
4400 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4401
4402         * text2.C (removeParagraph): make it take a RowList::iterator as
4403         arg, adjust.
4404         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4405         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4406
4407         * text.C (anchor_row): make it take a RowList::iterator as arg,
4408         adjust.
4409         (computeBidiTables): make it take a const reference to Row instead
4410         of Row pointer, adjust.
4411         (leftMargin): make it take a RowList::iterator as arg, adjust.
4412         (rowBreakPoint): adjust
4413         (breakAgainOneRow): make it take a RowList::iterator as arg,
4414         adjust.
4415         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4416
4417         * bufferview_funcs.C (toggleAndShow): adjust
4418
4419 2003-03-30  John Levon  <levon@movementarian.org>
4420
4421         * Makefile.am:
4422         * BoostFormat.h:
4423         * boost-inst.C: moved to support
4424
4425         * several files: changes as a result
4426
4427 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4428
4429         * text2.C (LyXText): adjust.
4430         (init): adjust
4431         (removeRow): make it take a RowList::iterator as arg, adjust.
4432         (fullRebreak): adjust
4433         (deleteEmptyParagraphMechanism): adjust
4434         (clearPaint): adjust
4435         (postPaint): adjust
4436
4437         * text.C (top_y): adjust
4438         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4439         (breakAgain): make it take a RowList::iterator as arg, adjust.
4440         (breakParagraph): adjust
4441         (insertChar): adjust
4442         (backspace): adjust
4443
4444         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4445         need_break_row, and refresh_row.
4446
4447         * text3.C (dispatch): adjust
4448
4449         * text2.C (checkParagraph): adjust
4450         (setCursor): adjust
4451         (setCursorFromCoordinates): adjust
4452
4453         * text.C (top_y): adjust
4454         (workWidth): adjust
4455         (getRow): make it return a RowList::iterator, adjust
4456         (getRowNearY): make it return a RowList::iterator, adjust
4457
4458         * text2.C (init): adjust
4459         (insertRow): remove function
4460         (insertParagraph): adjust
4461         (redoParagraphs): adjust
4462         (fullRebreak): adjust
4463         (updateCounters): adjust
4464
4465         * text.C (top_y): rewrite to use RowList iterators.
4466         (top_y): adjust
4467         (setHeightOfRow): rewrite to sue RowList iterators.
4468         (appendParagraph): adjust
4469         (breakAgain): adjust
4470         (breakAgainOneRow): adjust
4471         (breakParagraph): adjust
4472         (getRow): adjust
4473         (getRowNearY): adjust, and remove commented code.
4474
4475         * lyxtext.h (firstRow): delete function
4476         (lastRow): delete function
4477         (rows): new function (const and non-const versions.)
4478         (insertRow): delete function
4479
4480         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4481
4482 2003-03-29  John Levon  <levon@movementarian.org>
4483
4484         * BufferView_pimpl.C: always update scrollbar top
4485         because pasting text when we're anchored could mean we
4486         miss an update altogether
4487
4488 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4489
4490         * text2.C (init): use rowlist_.end() and not 0.
4491         (insertRow): change to take a RowList::iterator as arg, adjust
4492         for this.
4493         (insertParagraph): change to take a RowList::iterator as arg,
4494         adjust for this.
4495         (redoParagraphs): remove some debug msgs.
4496
4497         * text.C (appendParagraph): change to take a RowList::iterator
4498         arg, adjust for this.
4499         (breakAgain): add an assert
4500         (breakAgainOneRow): ditto
4501
4502 2003-03-29  John Levon  <levon@movementarian.org>
4503
4504         * text2.C: do not clear selection after inc/decDepth
4505         (bug 550)
4506
4507 2003-03-29  John Levon  <levon@movementarian.org>
4508
4509         * BufferView.C:
4510         * buffer.C: fix broken strerrors according to Lars
4511
4512 2003-03-29  John Levon  <levon@movementarian.org>
4513
4514         * converters.C: more Alert cleanups
4515
4516 2003-03-29  John Levon  <levon@movementarian.org>
4517
4518         * bufferview_funcs.C: remove pointless Alert
4519
4520         * buffer.C: fix confusing error message when
4521         a template is chmoded 000
4522
4523 2003-03-29  John Levon  <levon@movementarian.org>
4524
4525         * BufferView.C:
4526         * BufferView.h:
4527         * BufferView_pimpl.C: Alert fixes
4528
4529         * Makefile.am:
4530         * tabular.C:
4531         * tabular-old.C: remove unused table compat reading
4532
4533 2003-03-29  John Levon  <levon@movementarian.org>
4534
4535         * BufferView.C:
4536         * buffer.C:
4537         * lyx_cb.h:
4538         * lyx_cb.C: more Alert cleanups
4539
4540         * lyxfunc.C: don't allow chktex if not latex document
4541
4542 2003-03-29  John Levon  <levon@movementarian.org>
4543
4544         * lyx_cb.C:
4545         * BufferView.C:
4546         * buffer.C: warnings pushed down from support/,
4547         kill err_alert
4548
4549 2003-03-29  John Levon  <levon@movementarian.org>
4550
4551         * lyxfunc.C: safety check for C-r (revert)
4552
4553 2003-03-29  John Levon  <levon@movementarian.org>
4554
4555         * bufferlist.h:
4556         * bufferlist.C: several UI fixes using Alert::prompt.
4557         Fix the pointless looping quit code. Fix stupid revert
4558         behaviour (bug 938)
4559
4560         * lyxvc.h:
4561         * lyxvc.C:
4562         * lyx_cb.C: use Alert::prompt
4563
4564         * lyx_main.C: remove a silly question
4565
4566         * lyxfunc.C: remove a couple of silly questions,
4567         use Alert::prompt
4568
4569 2003-03-28  John Levon  <levon@movementarian.org>
4570
4571         * text2.C: fix bug 974 (End on empty par)
4572
4573 2003-03-28  John Levon  <levon@movementarian.org>
4574
4575         * BufferView_pimpl.C:
4576         * LyXAction.C:
4577         * lfuns.h: remove do-nothing math greek lfuns
4578
4579 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4580
4581         * lyxgluelength.h (isValidGlueLength): add default arg on
4582         parameter 2. Remove default arg from friend in class.
4583
4584         * lyxlength.h (isValidLength): add default arg on parameter 2.
4585         Remove default arg from friend in class.
4586
4587         * text2.C (LyXText): adjust, initialize refresh_row.
4588         (init): adjust
4589         (removeRow): adjust
4590         (insertRow): adjust
4591         (insertParagraph): adjst
4592         (redoParagraphs): adjust
4593         (fullRebreak): adjust
4594         (updateCounters): adjust
4595         (deleteEmptyParagraphMechanism): first attempt at fixing a
4596         crashing bug.
4597
4598         * text.C (top_y): adjust
4599         (setHeightOfRow): adjust
4600         (getRow): adjust
4601         (getRowNearY): adjust
4602
4603         * lyxtext.h: include RowList.h
4604         (~LyXText): not needed anymore, deleted.
4605         (firstRow): modify for RowList
4606         (lastRow): new function
4607         Delete firstrow and lastrow class variables, add a Rowlist
4608         rowlist_ class variable.
4609
4610         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4611         paragraph is empty.
4612
4613         * RowList.C (insert): fix case where it == begin().
4614
4615 2003-03-26  Angus Leeming  <leeming@lyx.org>
4616
4617         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4618         the thesaurus dialog.
4619
4620 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4621
4622         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4623
4624         * RowList.[Ch]: new files
4625
4626         * ParagraphList.C (erase): handle the case where it == begin
4627         correctly.
4628
4629 2003-03-25  John Levon  <levon@movementarian.org>
4630
4631         * Makefile.am:
4632         * aspell_local.h:
4633         * aspell.C: add new aspell support
4634
4635         * lyxrc.h:
4636         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4637         have it accessible.
4638
4639 2003-03-25  Angus Leeming  <leeming@lyx.org>
4640
4641         * lfuns.h:
4642         * LyXAction.C (init): new LFUN_INSET_INSERT.
4643
4644         * BufferView_pimpl.C (dispatch): split out part of the
4645         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4646
4647         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4648         LFUN_INSET_APPLY.
4649
4650 2003-03-25  Angus Leeming  <leeming@lyx.org>
4651
4652         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4653
4654 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4655
4656         * text2.C:
4657         * text3.C: remove useless row->height(0)
4658
4659 2003-03-25  John Levon  <levon@movementarian.org>
4660
4661         * lyxtext.h:
4662         * text2.C:
4663         * text3.C: rename the refreshing stuff to better names
4664
4665 2003-03-24  John Levon  <levon@movementarian.org>
4666
4667         * BufferView_pimpl.h:
4668         * BufferView_pimpl.C: update layout choice on a mouse
4669         press/release
4670
4671 2003-03-23  John Levon  <levon@movementarian.org>
4672
4673         * Makefile.am: fix commandtags.h reference
4674
4675 2003-03-22  John Levon  <levon@movementarian.org>
4676
4677         * BufferView_pimpl.C:
4678         * lyxtext.h:
4679         * rowpainter.C:
4680         * rowpainter.h:
4681         * text.C:
4682         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4683
4684 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4685
4686         * lyxtext.h:
4687         * text.C: take the rtl methods out of line
4688
4689 2003-03-21 André Pönitz <poenitz@gmx.net>
4690
4691         * metricsinfo.[Ch]: new files containing structures to be passed around
4692         during the two-phase-drawing...
4693
4694 2003-03-21 André Pönitz <poenitz@gmx.net>
4695
4696         * lyxtextclass.C: read 'environment' tag.
4697
4698 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4699
4700         * text2.C (removeRow): fix bug 964
4701
4702 2003-03-20  John Levon  <levon@movementarian.org>
4703
4704         * rowpainter.C:
4705         * text.C:
4706         * text2.C: paint cleanups. Inset::update() dropped font
4707         parameter
4708
4709 2003-03-19  John Levon  <levon@movementarian.org>
4710
4711         * lyxfunc.C: only fitcursor/markDirty if available()
4712
4713 2003-03-19  John Levon  <levon@movementarian.org>
4714
4715         * commandtags.h: rename to ...
4716
4717         * lfuns.h: ... this, and renumber / cleanup
4718
4719 2003-03-19  John Levon  <levon@movementarian.org>
4720
4721         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4722         fit the cursor after an lfun
4723
4724         * BufferView.h:
4725         * BufferView.C:
4726         * BufferView_pimpl.h:
4727         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4728
4729         * LyXAction.C: layout-character should have ReadOnly
4730
4731         * ParagraphParameters.C:
4732         * buffer.C:
4733         * bufferview_funcs.C:
4734         * lyx_cb.C:
4735         * lyxfind.C:
4736         * lyxtext.h:
4737         * text.C:
4738         * text2.C:
4739         * text3.C:
4740         * undo_funcs.C: changes from above
4741
4742 2003-03-18  John Levon  <levon@movementarian.org>
4743
4744         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4745         remove it from update()
4746
4747         * lyxfunc.C: update layout choice after an lfun
4748
4749         * text3.C: remove extra updateLayoutChoice()s
4750
4751 2003-03-18  John Levon  <levon@movementarian.org>
4752
4753         * text.C: top_y change means full repaint, fix
4754         a drawing bug with cursor movement
4755
4756 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4757
4758         * lyxtext.h:
4759         * text.C:
4760         * text2.C: anchor row on setCursor
4761
4762 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4763
4764         * lyxtext.h: remove almost all mutable keywords
4765         * text.C:
4766         * text2.C:
4767         * text3.C: remove const keywords accordingly
4768
4769 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4770
4771         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4772         anon namespace
4773         (TeXEnvironment): ditto
4774         (TeXOnePar): ditto
4775
4776 2003-03-17  John Levon  <levon@movementarian.org>
4777
4778         * text.C (rowBreakPoint): remove attempt to fix displayed
4779         math insets inside a manual label
4780
4781 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4782
4783         * lyxtext.h: remove BufferView* as first arg from almost all class
4784         functions.
4785         * other files: adjust.
4786
4787 2003-03-17  John Levon  <levon@movementarian.org>
4788
4789         * lyxtext.h:
4790         * undo_funcs.C:
4791         * text2.C: more paint cleanups
4792
4793         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4794
4795         * rowpainter.h:
4796         * rowpainter.C: remove "smart" background painting code
4797
4798 2003-03-16  John Levon  <levon@movementarian.org>
4799
4800         * lyxtext.h:
4801         * text.C:
4802         * text2.C:
4803         * text3.C: add helper functions for setting refresh_row/y
4804
4805 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4806
4807         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4808         newline inset which *can* get inserted in the pass_thru layouts.
4809         This is primarily for literate documents.
4810
4811 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4812
4813         * buffer.C: increment LYX_FORMAT to 223
4814
4815 2003-03-14 André Pönitz <poenitz@gmx.net>
4816
4817         * textclass.h: prepare for environment handling, ws changes
4818         * lyxlayout.C: read latexheader and latexfooter tags
4819
4820 2003-03-14  John Levon  <levon@movementarian.org>
4821
4822         * text2.C: rewrite ::status() a bit
4823
4824 2003-03-13  John Levon  <levon@movementarian.org>
4825
4826         * lyxtext.h: add some docs
4827
4828 2003-03-13  John Levon  <levon@movementarian.org>
4829
4830         * lyxtext.h:
4831         * text.C:
4832         * text2.C:
4833         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4834
4835 2003-03-13  John Levon  <levon@movementarian.org>
4836
4837         * text3.C: fix appendix redrawing
4838
4839 2003-03-13  John Levon  <levon@movementarian.org>
4840
4841         * text.C (setHeightOfRow):
4842         * rowpainter.h:
4843         * rowpainter.C: make appendix mark have the text
4844           "Appendix" so the user knows what it is
4845
4846         * LColor.h:
4847         * LColor.C: s/appendixline/appendix/ from above
4848
4849 2003-03-13  John Levon  <levon@movementarian.org>
4850
4851         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4852
4853         * text.C: fix a getChar(pos) bug properly
4854
4855 2003-03-13  Angus Leeming  <leeming@lyx.org>
4856
4857         * commandtags.h:
4858         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4859         Probably only temporary. Let's see how things pan out.
4860
4861         * BufferView.C (unlockInset):
4862         * BufferView_pimpl.C (fitCursor):
4863         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4864
4865         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4866         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4867
4868         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4869         new functions that convert ParagraphParameters to and from a string.
4870
4871         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4872         BufferView::Pimpl's dispatch.
4873         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4874
4875 2003-03-13 André Pönitz <poenitz@gmx.net>
4876
4877         * lyxfunc.C:
4878         * text3.C:
4879         * factory.C: make it aware of InsetEnv
4880
4881 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4882
4883         * text2.C (setCursor): never ask for one past last
4884         (setCursor): add some debugging messages.
4885
4886         * text.C (singleWidth): never ask for one past last
4887         (singleWidth): ditto
4888         (leftMargin): ditto
4889         (rightMargin): ditto
4890         (rowBreakPoint): ditto
4891         (setHeightOfRow): ditto
4892         (prepareToPrint): ditto
4893
4894         * rowpainter.C (paintBackground): never ask for one past last
4895         (paintText): never ask for one past last
4896
4897         * paragraph_pimpl.C (getChar): make the assert stricter, never
4898         allow the one past last pos to be taken
4899
4900         * paragraph.C (getChar): ws changes only
4901
4902         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4903         (numberOfSeparators): ditto
4904         (numberOfHfills): ditto
4905
4906 2003-03-12  John Levon  <levon@movementarian.org>
4907
4908         * author.h:
4909         * author.C:
4910         * bufferparams.h:
4911         * bufferparams.C:
4912         * paragraph_funcs.C: fix per-buffer authorlists
4913
4914 2003-03-12  John Levon  <levon@movementarian.org>
4915
4916         * text.C: fix newline in right address
4917
4918 2003-03-12  Angus Leeming  <leeming@lyx.org>
4919
4920         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4921         duplicate those in LyXFunc::dispatch.
4922
4923         * commandtags.h:
4924         * LyXAction.C:
4925         * ToolbarDefaults.C:
4926         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4927         Add LFUN_FONTFREE_UPDATE.
4928
4929         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4930         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4931
4932         * bufferview_func.[Ch]: several new functions to facilliate
4933         transfer of data to and from the character dialog.
4934
4935 2003-03-12  John Levon  <levon@movementarian.org>
4936
4937         * buffer.C:
4938         * paragraph.h:
4939         * paragraph.C:
4940         * paragraph_funcs.C:
4941         * paragraph_pimpl.C:
4942         * sgml.C:
4943         * tabular.C:
4944         * text.C:
4945         * text3.C: remove META_NEWLINE in favour of an inset
4946
4947         * rowpainter.h:
4948         * rowpainter.C: remove paintNewline (done by inset)
4949
4950 2003-03-12  John Levon  <levon@movementarian.org>
4951
4952         * paragraph_pimpl.C: complain about bad getChar()s
4953         for a while at least
4954
4955 2003-03-12  John Levon  <levon@movementarian.org>
4956
4957         * buffer.h:
4958         * buffer.C: move paragraph read into a separate function,
4959         a little renaming to reflect that.
4960
4961         * bufferparams.h:
4962         * bufferparams.C: remove the author_ids map, not necessary now
4963
4964         * factory.h:
4965         * factory.C: moved Buffer::readInset to here
4966
4967         * paragraph_funcs.h:
4968         * paragraph_funcs.C: readParagraph free function moved from
4969         buffer.C
4970
4971         * tabular.C: name change
4972
4973 2003-03-12  John Levon  <levon@movementarian.org>
4974
4975         * buffer.C:
4976         * ParagraphParameters.C: move par params input to
4977         a read() method
4978
4979         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4980         behave like a normal read from the stream wrt reading
4981         a line vs. a \\token
4982
4983 2003-03-12  John Levon  <levon@movementarian.org>
4984
4985         * paragraph.C:
4986         * ParagraphParameters.h:
4987         * ParagraphParameters.C: move output code to a
4988         ::write() method
4989
4990 2003-03-12  John Levon  <levon@movementarian.org>
4991
4992         * BufferView.C (insertLyXFile):
4993         * buffer.h:
4994         * buffer.C:
4995         * tabular.C: use a parlist iterator for creating the
4996           document.
4997
4998 2003-03-12  John Levon  <levon@movementarian.org>
4999
5000         * buffer.C: make current_change static local not
5001           static file-scope
5002
5003 2003-03-12  John Levon  <levon@movementarian.org>
5004
5005         * buffer.C: fix insertStringAsLines for change tracking
5006
5007 2003-03-12  John Levon  <levon@movementarian.org>
5008
5009         * BufferView.C:
5010         * tabular.C:
5011         * buffer.h:
5012         * buffer.C:
5013         * bufferparams.h:
5014         * bufferparams.C: move author list into params. Rename some
5015           functions. Move the header reading into a separate token
5016           loop. Move the header token reading into BufferParams.
5017
5018 2003-03-12  John Levon  <levon@movementarian.org>
5019
5020         * changes.C: put debug inside lyxerr.debugging() checks
5021
5022 2003-03-11 André Pönitz <poenitz@gmx.net>
5023
5024         * factory.C: make it aware of InsetHFill
5025
5026 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5027
5028         * buffer.C (latexParagraphs): move function from here...
5029         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5030         args.
5031
5032 2003-03-10  Angus Leeming  <leeming@lyx.org>
5033
5034         * LyXAction.C (init): fix bug in poplating array with multiple entries
5035         with the same LFUN (spotted by JMarc).
5036
5037 2003-03-10  John Levon  <levon@movementarian.org>
5038
5039         * text.C:
5040         * text2.C: move getColumnNearX() near its
5041         only call site
5042
5043 2003-03-10  John Levon  <levon@movementarian.org>
5044
5045         * text.C: fix break before a minipage
5046
5047 2003-03-10  John Levon  <levon@movementarian.org>
5048
5049         * text.C: fix the last commit
5050
5051 2003-03-09  John Levon  <levon@movementarian.org>
5052
5053         * lyxtext.h:
5054         * text.C:
5055         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5056         bug 365 (don't break before insets unless needed). Don't
5057         return a value > last under any circumstances.
5058
5059 2003-03-09  Angus Leeming  <leeming@lyx.org>
5060
5061         * BufferView_pimpl.C (trackChanges, dispatch): call
5062         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5063
5064 2003-03-09  Angus Leeming  <leeming@lyx.org>
5065
5066         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5067         than Dialogs::showAboutlyx().
5068
5069 2003-03-09  Angus Leeming  <leeming@lyx.org>
5070
5071         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5072         than Dialogs::showTabularCreate().
5073
5074 2003-03-09  John Levon  <levon@movementarian.org>
5075
5076         * lyxtext.h:
5077         * text.C:
5078         * text2.C: 3rd arg to nextBreakPoint was always the same.
5079           Use references.
5080
5081 2003-03-08  John Levon  <levon@movementarian.org>
5082
5083         * lyxrow.C:
5084         * paragraph.C:
5085         * paragraph.h:
5086         * rowpainter.C:
5087         * text.C:
5088         * text2.C: Remove the "main" bit from the "main body"
5089           notion.
5090
5091 2003-03-08  John Levon  <levon@movementarian.org>
5092
5093         * text.C (leftMargin): The left margin of an empty
5094         manual label paragraph should not include the label width
5095         string length.
5096
5097         * text.C (prepareToPrint): don't attempt to measure hfills
5098         for empty manual label paragraphs - the answer should be 0
5099
5100 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5101
5102         * CutAndPaste.C: remove commented code and reindent.
5103
5104 2003-03-08  John Levon  <levon@movementarian.org>
5105
5106         * lyxfunc.h:
5107         * lyxfunc.C: move reloadBuffer()
5108
5109         * BufferView.h:
5110         * BufferView.C: to here
5111
5112         * lyxvc.C: add comment
5113
5114         * vc-backend.h:
5115         * vc-backend.C: call bv->reload() to avoid
5116           getStatus() check on MENURELOAD
5117
5118 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5119
5120         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5121         to an old format .dep file.
5122
5123 2003-03-07  Angus Leeming  <leeming@lyx.org>
5124
5125         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5126         when the LFUN_MOUSE_RELEASE should have been handled by
5127         inset->localDispatch.
5128
5129 2003-03-07  Angus Leeming  <leeming@lyx.org>
5130
5131         * BufferView_pimpl.C (dispatch):
5132         * LyXAction.C (init):
5133         * ToolbarDefaults.C (init):
5134         * commandtags.h:
5135         * lyxfunc.C (getStatus):
5136         remove LFUN_INSET_GRAPHICS.
5137
5138         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5139
5140 2003-03-07  Angus Leeming  <leeming@lyx.org>
5141
5142         * commandtags.h:
5143         * LyXAction.C (init):
5144         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5145
5146         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5147
5148         * commandtags.h:
5149         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5150
5151         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5152         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5153
5154 2003-03-07  Angus Leeming  <leeming@lyx.org>
5155
5156         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5157         remove "ert".
5158
5159 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5160
5161         * ParagraphList.C (front): new function
5162         (back): implement
5163
5164 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5165
5166         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5167         and top_row_offset_. removed var first_y.
5168         * text.C (top_y):
5169         * text2.C (LyXText, removeRow):
5170         * text3.C:
5171         * BufferView_pimpl.C:
5172         use these methods instead of using first_y
5173
5174 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5175
5176         * text2.C (pasteSelection): adjust for checkPastePossible
5177
5178         * CutAndPaste.C: remove Paragraph * buf and replace with
5179         ParagraphList paragraphs.
5180         (DeleteBuffer): delete
5181         (cutSelection): change the tc type to textclass_type
5182         (copySelection): change the tc type to textclass_type
5183         (copySelection): adjust for ParagraphList
5184         (pasteSelection): change the tc type to textclass_type
5185         (pasteSelection): adjust for Paragraphlist
5186         (nrOfParagraphs): simplify for ParagraphList
5187         (checkPastePossible): simplify for ParagraphList
5188         (checkPastePossible): remove unused arg
5189
5190         * ParagraphList.C (insert): handle the case where there are no
5191         paragraphs yet.
5192
5193         * CutAndPaste.h: make CutAndPaste a namespace.
5194
5195         * text3.C (dispatch): adjust
5196
5197         * text.C (breakParagraph): add a ParagraphList as arg
5198
5199         * paragraph_funcs.C (breakParagraph): change to take a
5200         BufferParams and a ParagraphList as args.
5201         (breakParagraphConservative): ditto
5202         (mergeParagraph): ditto
5203         (TeXDeeper): add a ParagraphList arg
5204         (TeXEnvironment): ditto
5205         (TeXOnePar): ditto
5206
5207         * buffer.C (readLyXformat2): adjust
5208         (insertStringAsLines): adjust
5209         (latexParagraphs): adjust
5210
5211         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5212         (cutSelection): adjust
5213         (pasteSelection): adjust
5214
5215         * BufferView_pimpl.C (insertInset): adjust
5216
5217 2003-03-05  Angus Leeming  <leeming@lyx.org>
5218
5219         * commandtags.h:
5220         * LyXAction.C (init):
5221         * BufferView_pimpl.C (dispatch):
5222         * lyxfunc.C (getStatus):
5223         remove LFUN_CHILD_INSERT.
5224
5225         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5226
5227 2003-03-05  Angus Leeming  <leeming@lyx.org>
5228
5229         * commandtags.h:
5230         * LyXAction.C (init):
5231         * src/factory.C (createInset):
5232         * lyxfunc.C (getStatus):
5233         * text3.C (dispatch):
5234         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5235
5236         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5237
5238 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5239
5240         * ParagraphList.C (insert): handle insert right before end()
5241         (erase): fix cases where it can be first or last paragraph.
5242
5243 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5244
5245         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5246         Paragraph::next and Paragraph::previous
5247         (TeXOnePar): ditto
5248
5249         * text.C (breakParagraph): adjust
5250
5251         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5252         BufferParams& as arg.
5253         (breakParagraph): use ParagraphList::insert
5254         (breakParagraphConservative): take a Buffer* instead of a
5255         BufferParams& as arg.
5256         (breakParagraphConservative): use ParagraphList::insert.
5257
5258         * buffer.C (insertStringAsLines): un-const it
5259         (insertStringAsLines): adjust
5260
5261         * ParagraphList.C (insert): new function
5262
5263         * CutAndPaste.C (pasteSelection): adjust
5264
5265         * text.C (backspace): adjust
5266
5267         * tabular.C (SetMultiColumn): adjust
5268
5269         * CutAndPaste.C (cutSelection): adjust
5270         (pasteSelection): adjust
5271
5272         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5273         Buffer const * as arg
5274
5275         * ParagraphList.C (erase): new function
5276         * paragraph_funcs.C (mergeParagraph): use it
5277         (mergeParagraph): make it take a Buffer* instead of a
5278         BufferParams* as arg
5279
5280         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5281         as arg
5282         (breakParagraphConservative): ditto
5283
5284         * paragraph.h: remove the breakParagraph friend
5285
5286         * paragraph.C (eraseIntern): new function
5287         (setChange): new function
5288
5289         * paragraph_funcs.C (mergeParagraph): make it take a
5290         ParagraphList::iterator instead of a Paragraph *, adjust
5291         accordingly.
5292
5293         * paragraph.h: move an #endif so that the change tracking stuff
5294         also works in the NO_NEXT case.
5295
5296 2003-03-04  Angus Leeming  <leeming@lyx.org>
5297
5298         * commandtags.h:
5299         * LyXAction.C: new LFUN_INSET_MODIFY.
5300
5301         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5302         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5303
5304 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5305
5306         * several files: ws changes only
5307
5308         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5309         (TeXEnvironment): ditto
5310         (TeXDeeper): ditto
5311
5312         * buffer.C (makeLaTeXFile): adjust
5313         (latexParagraphs): make it take ParagraphList::iterator as args
5314
5315 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5316
5317         * buffer.C (latexParagraphs): adjust
5318
5319         * paragraph.C (TeXOnePar): move function...
5320         (optArgInset): move function...
5321         (TeXEnvironment): move function...
5322         * paragraph_pimpl.C (TeXDeeper): move function...
5323         * paragraph_funcs.C: ...here
5324
5325         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5326
5327 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5328
5329         * buffer.C (readInset): remove compability code for old Figure and
5330         InsetInfo insets
5331
5332 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5333
5334         * buffer.C: ws changes
5335         (readInset):
5336
5337         * BufferView_pimpl.C: ditto
5338         * author.C: ditto
5339         * buffer.h: ditto
5340         * bufferlist.h: ditto
5341         * changes.h: ditto
5342         * lyxfunc.C: ditto
5343
5344 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5345
5346         * converter.[Ch]: split into itself +
5347         * graph.[Ch]
5348         * format.[Ch]
5349         * Makefile.am: += graph.[Ch] + format.[Ch]
5350         * MenuBackend.C
5351         * buffer.C
5352         * exporter.C
5353         * importer.C
5354         * lyx_main.C
5355         * lyxfunc.C
5356         * lyxrc.C: added #include "format.h"
5357
5358 2003-02-27  Angus Leeming  <leeming@lyx.org>
5359
5360         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5361           a label.
5362
5363         * factory.C (createInset): add "label" to the factory.
5364
5365         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5366           string and do no more.
5367
5368 2003-02-27  Angus Leeming  <leeming@lyx.org>
5369
5370         * commandtags.h:
5371         * LyXAction.C (init):
5372         * factory.C (createInset):
5373         * BufferView_pimpl.C (dispatch):
5374           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5375
5376         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5377
5378         * lyxfunc.C (dispatch):
5379         * text3.C (dispatch): pass name to params2string.
5380
5381 2003-02-26  Angus Leeming  <leeming@lyx.org>
5382
5383         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5384           blocks together.
5385           Rearrange the ~includes. Strip out the unnecessary ones.
5386
5387         * factory.C (createInset): reformat.
5388           create new insets for the various LFUN_XYZ_APPLY lfuns.
5389
5390 2003-02-26  John Levon  <levon@movementarian.org>
5391
5392         * lyxrow.h:
5393         * lyxrow.C: add isParStart,isParEnd helpers
5394
5395         * paragraph.h: make isInserted/DeletedText take refs
5396
5397         * paragraph_funcs.h:
5398         * paragraph_funcs.C: remove #if 0'd code
5399
5400         * lyxtext.h:
5401         * text3.C:
5402         * text2.C:
5403         * text.C: use lyxrow helpers above.
5404           Move draw and paint routines to RowPainter.
5405           Make several methods use refs not pointers.
5406           Make backgroundColor() const.
5407           Add markChangeInDraw(), isInInset().
5408           Merge changeRegionCase into changeCase.
5409           Make workWidth() shouldn't-happen code into an Assert.
5410
5411         * rowpainter.h:
5412         * rowpainter.C: new class for painting a row.
5413
5414         * vspace.h:
5415         * vspace.C: make inPixels take a ref
5416
5417 2003-02-26  Angus Leeming  <leeming@lyx.org>
5418
5419         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5420         LFUN_REF_APPLY.
5421
5422 2003-02-25  John Levon  <levon@movementarian.org>
5423
5424         * ispell.C: give the forked command a more accurate name
5425
5426 2003-02-22  John Levon  <levon@movementarian.org>
5427
5428         * toc.h:
5429         * toc.C: make TocItem store an id not a Paragraph *
5430           (bug #913)
5431
5432 2003-02-21  Angus Leeming  <leeming@lyx.org>
5433
5434         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5435           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5436           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5437           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5438           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5439           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5440
5441         * BufferView_pimpl.C (dispatch):
5442         * LyXAction.C (init):
5443         * factory.C (createInset):
5444         * lyxfunc.C (getStatus, dispatch):
5445         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5446
5447 2003-02-21  Angus Leeming  <leeming@lyx.org>
5448
5449         * BufferView_pimpl.C (MenuInsertLyXFile):
5450         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5451         * lyxfunc.C (menuNew, open, doImport):
5452           no longer pass a LyXView & to fileDlg.
5453
5454 2003-02-21  Angus Leeming  <leeming@lyx.org>
5455
5456         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5457         * LyXAction.C: change, BIBKEY to BIBITEM.
5458         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5459         Change InsetBibKey to InsetBibitem.
5460         Change BIBKEY_CODE to BIBITEM_CODE.
5461         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5462         * factory.C: replace insetbib.h with insetbibitem.h.
5463         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5464         * paragraph.C: replace insetbib.h with insetbibitem.h.
5465         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5466         Change bibkey() to bibitem().
5467         * text.C: remove insetbib.h.
5468         * text2.C: replace insetbib.h with insetbibitem.h.
5469         change bibkey() to bibitem().
5470         * text3.C: remove insetbib.h.
5471         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5472
5473 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5474
5475         * lyxrc.C (output): enclose user email in quotes (in case there are
5476         several words)
5477
5478 2003-02-18  John Levon  <levon@movementarian.org>
5479
5480         * buffer.h: add std::
5481
5482 2003-02-17  John Levon  <levon@movementarian.org>
5483
5484         * SpellBase.h:
5485         * ispell.h:
5486         * ispell.C:
5487         * pspell.h:
5488         * pspell.C: reworking. Especially in ispell, a large
5489           number of clean ups and bug fixes.
5490
5491         * lyxfunc.C: fix revert to behave sensibly
5492
5493 2003-02-17 André Pönitz <poenitz@gmx.net>
5494
5495         * LyXAction.C:
5496         * commandtags.h: new LFUN_INSERT_BIBKEY
5497
5498         * layout.h:
5499         * lyxlayout.C:
5500         * buffer.C:
5501         * factory.C:
5502         * text.C:
5503         * text2.C:
5504         * text3.C:
5505         * paragraph.[Ch]:
5506         * paragraph_func.C: remove special bibkey handling
5507
5508 2003-02-17  John Levon  <levon@movementarian.org>
5509
5510         * text.C (Delete): fix case where delete at the end of
5511           the very first paragraph would not merge the pars
5512
5513 2003-02-17  John Levon  <levon@movementarian.org>
5514
5515         * lyxrow.C: fix lastPrintablePos()
5516
5517 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5518
5519         * bufferparams.C (writeLaTeX): add a std:here
5520
5521         * buffer.C: and remove a using directive there
5522
5523 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5524
5525         * buffer.C (makeLaTeXFile): move the code that generates the
5526           preamble...
5527
5528         * bufferparams.C (writeLaTeX): ... in this new method
5529
5530         * LaTeXFeatures.C (getEncodingSet): make const
5531           (getLanguages): make const
5532
5533         * MenuBackend.C (binding): returns the binding associated to this
5534           action
5535           (add): sets the status of each item by calling getStatus. Adds
5536           some intelligence.
5537           (read): add support for OptSubMenu
5538           (expand): remove extra separator at the end of expanded menu
5539
5540 2003-02-15  John Levon  <levon@movementarian.org>
5541
5542         * BufferView.C:
5543         * BufferView_pimpl.C:
5544         * bufferlist.h:
5545         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5546           inset code that had no actual effect. Remove unneeded status
5547           code.
5548
5549 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5550
5551         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5552           in preamble
5553
5554 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5555
5556         * text.C (drawLengthMarker): also draw an arrow marker for
5557           symbolic lengths (medskip...)
5558
5559 2003-02-14  John Levon  <levon@movementarian.org>
5560
5561         * tabular.h:
5562         * tabular.C: better method names
5563
5564 2003-02-14  John Levon  <levon@movementarian.org>
5565
5566         * BufferView_pimpl.C:
5567         * bufferlist.C:
5568         * buffer.C:
5569         * converter.C:
5570         * lyx_cb.C:
5571         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5572           it's a more accurate name. Remove some pointless uses.
5573
5574 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5575
5576         * text2.C (LyXText): change order of initilizers to shut off
5577           warnings
5578
5579 2003-02-14  John Levon  <levon@movementarian.org>
5580
5581         * buffer.C: use ParIterator for getParFromID()
5582
5583         * paragraph.h:
5584         * paragraph.C:
5585         * paragraph_pimpl.h:
5586         * paragraph_pimpl.C: remove unused getParFromID()
5587
5588 2003-02-14  John Levon  <levon@movementarian.org>
5589
5590         * buffer.C: remove some very old #if 0'd parse code
5591
5592 2003-02-13  John Levon  <levon@movementarian.org>
5593
5594         * text.h:
5595         * text.C:
5596         * text2.C: move hfillExpansion(), numberOfSeparators(),
5597           rowLast(), rowLastPrintable(), numberofHfills(),
5598           numberOfLabelHfills() ...
5599
5600         * lyxrow.h:
5601         * lyxrow.C: ... to member functions here.
5602
5603         * paragraph.h:
5604         * paragraph.C:
5605         * lyxtext.h:
5606         * text.C: remove LyXText::beginningOfMainBody(), and call
5607           p->beginningOfMainBody() directly. Move the check for
5608           LABEL_MANUAL into the latter.
5609
5610         * text.h:
5611         * text.C:
5612         * text2.C:
5613         * vspace.C:
5614         * BufferView.h:
5615         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5616
5617         * text.h:
5618         * text.C:
5619         * text2.C:
5620         * text3.C:
5621         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5622           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5623
5624 2003-02-13  John Levon  <levon@movementarian.org>
5625
5626         * CutAndPaste.C: remove debug
5627
5628 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5629
5630         * paragraph.C (asString): remove two unused variables
5631
5632         * lyxtextclass.C (readTitleType):
5633           (Read):
5634           (LyXTextClass): handle new members titletype_ and titlename_
5635
5636         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5637
5638 2003-02-09  John Levon  <levon@movementarian.org>
5639
5640         * buffer.h:
5641         * buffer.C: replace hand-coded list with a map for the dep clean
5642
5643 2003-02-08  John Levon  <levon@movementarian.org>
5644
5645         * LaTeX.C: consolidate code into showRunMessage() helper
5646
5647 2003-02-08  John Levon  <levon@movementarian.org>
5648
5649         * lyxfind.C:
5650         * lyxtext.h:
5651         * text2.C:
5652         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5653           and pass the size in explicitly
5654
5655         * BufferView_pimpl.h:
5656         * BufferView_pimpl.C:
5657         * BufferView.h:
5658         * BufferView.C: add getCurrentChange()
5659
5660         * BufferView_pimpl.h:
5661         * BufferView_pimpl.C: handle change lfuns
5662
5663         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5664           for changes. Mark pasted paragraphs as new.
5665
5666         * support/lyxtime.h:
5667         * support/lyxtime.C:
5668         * DepTable.C: abstract time_t as lyx::time_type
5669
5670         * LColor.h:
5671         * LColor.C: add colours for new text, deleted text, changebars
5672
5673         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5674           package use "usenames" option.
5675
5676         * commandtags.h:
5677         * lyxfunc.C:
5678         * LyXAction.C: add change lfuns
5679
5680         * Makefile.am:
5681         * author.h:
5682         * author.C: author handling
5683
5684         * buffer.h:
5685         * buffer.C: add a per-buffer author list, with first entry as
5686           current author. Handle new .lyx tokens for change tracking. Output
5687           author list to .lyx file. Output dvipost stuff to .tex preamble.
5688           Bump lyx format to 222.
5689
5690         * bufferlist.h:
5691         * bufferlist.C: add setCurrentAuthor() to reset current author details
5692           in all buffers.
5693
5694         * bufferparams.h:
5695         * bufferparams.C: add param for tracking
5696
5697         * bufferview_funcs.C: output change info in minibuffer
5698
5699         * Makefile.am:
5700         * changes.h:
5701         * changes.C: add change-tracking structure
5702
5703         * debug.h:
5704         * debug.C: add CHANGES debug flag
5705
5706         * lyxfind.h:
5707         * lyxfind.C: add code for finding the next change piece
5708
5709         * lyxrc.h:
5710         * lyxrc.C: add user_name and user_email
5711
5712         * lyxrow.h:
5713         * lyxrow.C: add a metric for the top of the text line
5714
5715         * lyxtext.h:
5716         * text.C: implement accept/rejectChange()
5717
5718         * lyxtext.h:
5719         * text.C: paint changebars. Paint new/deleted text in the chosen
5720         colours. Strike through deleted text.
5721
5722         * paragraph.h:
5723         * paragraph.C:
5724         * paragraph_pimpl.h:
5725         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5726           in the current change to the insert functions. Rework erase to
5727           mark text as deleted, adding an eraseIntern() and a range-based
5728           erase(). Implement per-paragraph change lookup and
5729           accept/reject.
5730
5731         * paragraph_funcs.C: Fixup paste for change tracking.
5732
5733         * tabular.C: mark added row/columns as new.
5734
5735         * text.C: fix rowLast() to never return -1. Don't allow
5736           spellchecking of deleted text. Track transpose changes. Don't
5737           allow paragraph break or merge where appropriate.
5738
5739         * text2.C: leave cursor at end of selection after a cut.
5740
5741 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5742
5743         * text.C (getLengthMarkerHeight):
5744         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5745         visible on screen too.
5746
5747 2003-02-07  John Levon  <levon@movementarian.org>
5748
5749         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5750
5751 2003-02-05  Angus Leeming  <leeming@lyx.org>
5752
5753         * lyxserver.C (read_ready): revert my patch of 11 September last year
5754         as it sends PC cpu through the roof. Presumably this means that
5755         the lyxserver will no longer run on an Alpha...
5756
5757 2003-01-30  Angus Leeming  <leeming@lyx.org>
5758
5759         * factory.C (createInset): create an InsetCommandParam of type "index"
5760         and use it to 'do the right thing'.
5761
5762         * text2.C (getStringToIndex): ensure that cursor position is always
5763         reset to the reset_cursor position.
5764
5765 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5766
5767         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5768         disabled.
5769
5770 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5771
5772         * bufferview.C:
5773         * lyxcb.C:
5774         * lyxfunc.C: Output messages with identical spelling, punctuation,
5775         and spaces
5776
5777 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5778
5779         * MenuBackend.C (expandFormats): List only viewable export formats
5780         in "View" menu
5781
5782         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5783         message
5784
5785         * lyxfunc.C (getStatus): Make sure that formats other than
5786         "fax" can also be disabled
5787
5788 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5789
5790         * text3.C (dispatch): put the lfuns that insert insets in 3
5791         groups, and call doInsertInset with appropriate arguments.
5792         (doInsertInset): new function, that creates an inset and inserts
5793         it according to some boolean parameters.
5794
5795 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5796
5797         * buffer.C (readFile): remember to pass on 'par' when calling
5798         readFile recursively.
5799
5800 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5801
5802         * MenuBackend.C (expandFormats): add "..." to import formats.
5803
5804 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5805
5806         * paragraph.C (asString): Remove XForms RTL hacks.
5807
5808 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5809         * buffer.C: fix typo
5810
5811 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5812
5813         * Makefile.am (LIBS): delete var
5814         (lyx_LDADD): add @LIBS@ here instead.
5815
5816 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5817
5818         * Clarify the meaning of "wheel mouse jump"
5819
5820 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5821
5822         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5823         tabular in a float
5824
5825 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5826
5827         * importer.C (Loaders): do not preallocate 3 elements in the
5828         vector, since one ends up with 6 elements otherwise
5829
5830 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5831
5832         * DepTable.C (write): write the file name as last element of the
5833         .dep file (because it may contain spaces)
5834         (read): read info in the right order
5835
5836 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5837
5838         * paragraph_pimpl.C (simpleTeXBlanks):
5839         (simpleTeXSpecialChars):
5840         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5841
5842         * tabular.C (latex): add some missing case statements. Reindent.
5843
5844         * MenuBackend.C (expandToc): remove unused variable.
5845
5846 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5847
5848         * LColor.C:
5849         * LaTeX.C:
5850         * LyXAction.C:
5851         * MenuBackend.C:
5852         * buffer.C:
5853         * exporter.C:
5854         * lyxfunc.C:
5855         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5856         and the like.
5857
5858 2003-01-05  John Levon  <levon@movementarian.org>
5859
5860         * BufferView.h:
5861         * BufferView.C: add getEncoding()
5862
5863         * kbsequence.h:
5864         * kbsequence.C: do not store last keypress
5865
5866         * lyxfunc.h:
5867         * lyxfunc.C: store last keypress here instead. Pass encoding
5868           to getISOEncoded()
5869
5870 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5871
5872         * lyx_main.C (init): remove annoying error message when following
5873         symbolic links (bug #780)
5874
5875 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5876
5877         * text.C (insertChar):
5878         * lyxrc.C (getDescription): remove extra spaces
5879
5880 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5881
5882         * lyxrc.C (getDescription): remove extra spaces
5883
5884 2002-12-20  John Levon  <levon@movementarian.org>
5885
5886         * text3.C: hack fix for page up/down across tall rows
5887
5888 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5889
5890         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5891         not been invoked
5892
5893 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5894
5895         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5896         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5897         thesaurus is not compiled in
5898
5899 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5900
5901         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5902
5903 2002-12-16  Angus Leeming  <leeming@lyx.org>
5904
5905         * lyxrc.[Ch]:
5906         * lyx_main.C (init): remove override_x_deadkeys stuff.
5907
5908 2002-12-12  John Levon  <levon@movementarian.org>
5909
5910         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5911           insert. Only remove shift modifier under strict
5912           circumstances.
5913
5914 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5915
5916         * MenuBackend.C (expandToc): fix crash.
5917
5918 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5919
5920         * MenuBackend.C (expandToc): gettext on float names.
5921
5922 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5923
5924         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5925         implement bool empty() [bug 490]
5926
5927 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5928
5929         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5930
5931 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5932
5933         * several files: ws changes
5934
5935 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5936
5937         * text2.C (setCounter): clean up a bit, use boost.format.
5938         (updateCounters): initialize par upon declaration.
5939
5940         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5941         if the layout exists. We do not just store the layout any more.
5942         (SwitchLayoutsBetweenClasses): use boost.format
5943
5944 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5945
5946         * converter.C (convert): if from and to files are the same, use a
5947         temporary files as intermediary
5948
5949 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5950
5951         * commandtags.h:
5952         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5953
5954 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5955
5956         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5957
5958 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5959
5960         * tabular.C (asciiPrintCell): use string(size, char) instead of
5961         explicit loop.
5962
5963         * sgml.C (openTag): fix order of arguments to string constructor
5964         (closeTag): ditto
5965
5966         * lyxfunc.C (dispatch): use boost.format
5967
5968         * lots of files: change "c" -> 'c'
5969
5970 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5971
5972         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5973
5974 2002-11-25  Angus Leeming  <leeming@lyx.org>
5975
5976         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5977
5978         * lyx_main.C (init): compile fix.
5979
5980 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5981
5982         * lyx_cb.C (start): boost.formatify
5983         do not include <iostream>
5984
5985         * lengthcommon.C: ws only
5986
5987         * boost-inst.C,BoostFormat.h: add more explict instantations
5988
5989 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5990
5991         * lots of files: handle USE_BOOST_FORMAT
5992
5993 2002-11-21  John Levon  <levon@movementarian.org>
5994
5995         * pspell.C: fix compile
5996
5997 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5998
5999         * lyxfunc.C (dispatch): use boost::format
6000         (open): ditto
6001         (doImport): ditto
6002
6003         * lyxfont.C (stateText): use boost::format
6004
6005         * lyx_main.C (LyX): use boost::format
6006         (init): ditto
6007         (queryUserLyXDir): ditto
6008         (readRcFile): ditto
6009         (parse_dbg): ditto
6010         (typedef boost::function): use the recommened syntax.
6011
6012         * importer.C (Import): use boost::format
6013
6014         * debug.C (showLevel): use boost::format
6015
6016         * converter.C (view): use boost::format
6017         (convert): ditto
6018         (move): ditto
6019         (scanLog): ditto
6020
6021         * bufferview_funcs.C (currentState): use boost::format
6022
6023         * bufferlist.C (emergencyWrite): use boost::format
6024
6025         * buffer.C (readLyXformat2): use boost::format
6026         (parseSingleLyXformat2Token): ditto
6027
6028         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6029
6030         * LaTeX.C (run): use boost::format
6031
6032         * Chktex.C (scanLogFile): use boost::format
6033
6034         * BufferView_pimpl.C (savePosition): use boost::format
6035         (restorePosition): ditto
6036         (MenuInsertLyXFile): ditto
6037
6038         * BoostFormat.h: help file for explicit instation.
6039
6040 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6041
6042         * tabular.C (latex): Support for block alignment in fixed width
6043         columns.
6044
6045 2002-11-17  John Levon  <levon@movementarian.org>
6046
6047         * BufferView_pimpl.C:
6048         * lyx_cb.C:
6049         * lyxfunc.C: split filedialog into open/save
6050
6051 2002-11-08  Juergen Vigna  <jug@sad.it>
6052
6053         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6054         by my last patch (hopefully).
6055
6056 2002-11-08  John Levon  <levon@movementarian.org>
6057
6058         * iterators.h:
6059         * iterators.C:
6060         * buffer.h:
6061         * buffer.C:
6062         * paragraph.h:
6063         * paragraph.C:
6064         * toc.h:
6065         * toc.C: ParConstIterator, and use it (from Lars)
6066
6067 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6068
6069         * lyxtextclass.[Ch]: revise and add doxygen comments
6070
6071 2002-11-07  John Levon  <levon@movementarian.org>
6072
6073         * text.C: fix progress value for spellchecker
6074
6075         * toc.C: fix navigate menu for insetwrap inside minipage
6076
6077         * paragraph_funcs.C: added FIXME for suspect code
6078
6079 2002-11-07  John Levon  <levon@movementarian.org>
6080
6081         * BufferView_pimpl.C: fix redrawing of insets
6082           on buffer switch
6083
6084 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6085
6086         * text2.C (updateCounters): fix bug 668
6087
6088 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6089
6090         * text3.C (dispatch): Do not make the buffer dirty when moving the
6091         cursor.
6092
6093 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6094
6095         * vc-backend.C: STRCONV
6096         (scanMaster): ditto
6097
6098         * text2.C (setCounter): STRCONV
6099
6100         * paragraph.C (asString): STRCONV
6101
6102         * lyxlength.C (asString): STRCONV
6103         (asLatexString): ditto
6104
6105         * lyxgluelength.C (asString): STRCONV
6106         (asLatexString): ditto
6107
6108         * lyxfunc.C (dispatch): STRCONV
6109         (open): ditto
6110
6111         * lyxfont.C (stateText): STRCONV
6112
6113         * importer.C (Import): STRCONV
6114
6115         * counters.C (labelItem): STRCONV
6116         (numberLabel): ditto
6117         (numberLabel): remove unused ostringstream o
6118
6119         * chset.C: STRCONV
6120         (loadFile): ditto
6121
6122         * bufferview_funcs.C (currentState): STRCONV
6123
6124         * buffer.C (readFile): STRCONV
6125         (asciiParagraph): ditto
6126         (makeLaTeXFile): ditto
6127
6128         * Spacing.C (writeEnvirBegin): STRCONV
6129
6130         * LaTeXFeatures.C (getLanguages): STRCONV
6131         (getPackages): ditto
6132         (getMacros): ditto
6133         (getBabelOptions): ditto
6134         (getTClassPreamble): ditto
6135         (getLyXSGMLEntities): ditto
6136         (getIncludedFiles): ditto
6137
6138         * LaTeX.C: STRCONV
6139         (run): ditto
6140         (scanAuxFile): ditto
6141         (deplog): ditto
6142
6143         * LString.h: add the STRCONV macros
6144
6145         * BufferView_pimpl.C (savePosition): STRCONV
6146         (restorePosition): ditto
6147         (MenuInsertLyXFile): ditto
6148
6149         * vc-backend.C (scanMaster): change from submatch[...] to
6150         submatch.str(...)
6151
6152         * funcrequest.C: include config.h
6153
6154         * factory.C: include config.h
6155
6156         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6157
6158         * box.C: include config.h
6159
6160         * LaTeX.C (scanAuxFile): change from submatch[...] to
6161         submatch.str(...)
6162         (deplog): ditto
6163
6164 2002-10-25  Angus Leeming  <leeming@lyx.org>
6165
6166         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6167
6168         * ispell.[Ch] (setError): new method.
6169         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6170         Use setError() insetead of goto END.
6171
6172         * lyx_cb.C (AutoSave): move out child process into new class
6173         AutoSaveBuffer.
6174
6175 2002-10-30  John Levon  <levon@movementarian.org>
6176
6177         * text3.C: make start appendix undoable
6178
6179 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6180
6181         * lyxlength.C (inPixels): Fix returned value.
6182
6183         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6184         environment.
6185
6186 2002-10-24  Angus Leeming  <leeming@lyx.org>
6187
6188         * lyxgluelength.h: no need to forward declare BufferParams
6189         or BufferView, so don't.
6190
6191 2002-10-21  John Levon  <levon@movementarian.org>
6192
6193         * BufferView.C: menuUndo ->undo, redo
6194
6195         * BufferView.h: document, remove dead, make some methods private
6196
6197         * paragraph_funcs.h:
6198         * paragraph_funcs.C:
6199         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6200
6201         * buffer.h:
6202         * buffer.C:
6203         * sgml.h:
6204         * sgml.C: move sgml open/close tag into sgml.C
6205
6206         * bufferview_funcs.h: unused prototype
6207
6208         * lyxfunc.h:
6209         * lyxfunc.C: remove unused
6210
6211         * lyxtext.h:
6212         * text.C: remove unused
6213
6214 2002-10-21  John Levon  <levon@movementarian.org>
6215
6216         * BufferView.h:
6217         * BufferView.C:
6218         * BufferView_pimpl.h:
6219         * BufferView_pimpl.C: fix mouse wheel handling based on
6220           patch from Darren Freeman
6221
6222 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6223
6224         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6225
6226 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6227
6228         * lyxlength.C (inPixels): Fix hanfling of negative length.
6229         Fix LyXLength::MU case.
6230
6231 2002-10-16  John Levon  <levon@movementarian.org>
6232
6233         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6234
6235 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6236
6237         * converter.C (view): add support for $$i (file name) and $$p
6238         (file path) for the viewer command. If $$i is not specified, then
6239         it is appended to the command (for compatibility with old syntax)
6240
6241 2002-10-14  Juergen Vigna  <jug@sad.it>
6242
6243         * undo_funcs.C (textHandleUndo): alter the order in which the
6244         new undopar is added to the LyXText, as we have to set first
6245         the right prev/next and then add it as otherwise the rebuild of
6246         LyXText is not correct. Also reset the cursor to the right paragraph,
6247         with this IMO we could remove the hack in "redoParagraphs()".
6248
6249 2002-10-09  Angus Leeming  <leeming@lyx.org>
6250
6251         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6252         to turn off an optimisation if a new inset is to be inserted.
6253
6254 2002-10-11 André Pönitz <poenitz@gmx.net>
6255
6256         * lyxtext.h: make some functions public to allow access
6257         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6258
6259 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6260
6261         * text3.C (dispatch): when changing layout, avoid an infinite loop
6262         [bug #652]
6263
6264 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6265
6266         * lyxrc.C (read): treat a viewer or converter command of "none" as
6267         if it were empty.
6268
6269         * MenuBackend.C (expandFormats): for an update, also allow the
6270         formats that are not viewable
6271
6272         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6273         script if it is newer than the lyxrc.defaults in user directory
6274
6275 2002-10-07 André Pönitz <poenitz@gmx.net>
6276
6277         * text.C: Vitaly Lipatov's small i18n fix
6278
6279 2002-09-25  Angus Leeming  <leeming@lyx.org>
6280
6281         * ispell.h: doxygen fix.
6282
6283 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6284
6285         * buffer.h (readFile): Add a new argument to the method, to allow
6286         reading of old-format templates.
6287
6288 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6289
6290         * toc.C (getTocList): Get TOC from InsetWrap.
6291
6292 2002-09-16  John Levon  <levon@movementarian.org>
6293
6294         * lyxfunc.C: check tabular for cut/copy too
6295
6296 2002-09-12  John Levon  <levon@movementarian.org>
6297
6298         * LyXAction.C: tidy
6299
6300         * factory.h:
6301         * factory.C: add header
6302
6303         * paragraph_funcs.h:
6304         * paragraph_funcs.C: cleanup
6305
6306 2002-09-11  John Levon  <levon@movementarian.org>
6307
6308         * PrinterParams.h: odd/even default to true
6309
6310 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6311
6312         * PrinterParams.h: update printer parameters for new xforms dialog
6313
6314 2002-09-11  Angus Leeming  <leeming@lyx.org>
6315
6316         * lyxserver.C (read_ready): re-write to make it more transparent
6317         and to make it work in coherent fashion under Tru64 Unix.
6318
6319 2002-09-11  André Pönitz <poenitz@gmx.net>
6320
6321         * commandtags.h:
6322         * LyXAction.C:
6323         * text3.C: implement LFUN_WORDSEL
6324
6325 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6326
6327         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6328         make floatlist_ a boost::shared_ptr<FloatList>
6329
6330         * lyxtextclass.C: include FloatList.h
6331         (LyXTextClass): initialize floatlist_
6332         (TextClassTags): add TC_NOFLOAT
6333         (Read): match "nofloat" to TC_NOFLOAT and use it.
6334         (readFloat): modify call to floatlist_
6335         (floats): ditto
6336         (floats): ditto
6337
6338         * FloatList.[Ch] (FloatList): remove commented out float
6339         initialization.
6340         (erase): new function
6341
6342 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6343
6344         * MenuBackend.C (expandToc): fix crash when there is no document
6345         open
6346
6347 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6348
6349         * many files: Add insetwrap.
6350
6351 2002-09-09  John Levon  <levon@movementarian.org>
6352
6353         * text2.C: remove confusing and awkward depth wraparound
6354
6355 2002-09-09  John Levon  <levon@movementarian.org>
6356
6357         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6358
6359         * buffer.h:
6360         * buffer.C: remove getIncludeonlyList()
6361
6362         * paragraph.C:
6363         * lyxfunc.C: remove headers
6364
6365 2002-09-09  Juergen Vigna  <jug@sad.it>
6366
6367         * text.C (getColumnNearX): fix form Michael this is most
6368         probably a cut&paste bug.
6369
6370 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6371
6372         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6373
6374         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6375         references, ws changes.
6376
6377         * text2.C (init): update counters after init
6378         (insertParagraph): no need to set counter on idividual paragraphs.
6379         (setCounter): access the counters object in the textclass object
6380         on in the buffer object.
6381         (updateCounters): ditto
6382
6383         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6384         shared_ptr<Counters> to avoid loading counters.h in all
6385         compilation units.
6386         (LyXTextClass): initialize ctrs_
6387         (TextClassTags): add TC_COUNTER, and ...
6388         (Read): use it here.
6389         (CounterTags): new tags
6390         (readCounter): new function
6391         (counters): new funtion
6392         (defaultLayoutName): return a const reference
6393
6394         * counters.C (Counters): remove contructor
6395         (newCounter): remove a couple of unneeded statements.
6396         (newCounter): simplify a bit.
6397         (numberLabel): some small formatting changes.
6398
6399         * buffer.[Ch]: remove all traces of counters, move the Counters
6400         object to the LyXTextClass.
6401
6402 2002-09-06  Alain Castera  <castera@in2p3.fr>
6403
6404         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6405         package to set the horizontal alignment on fixed width columns.
6406
6407         * lyx_sty.C:
6408         * lyx_sty.h: added tabularnewline macro def.
6409
6410         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6411
6412 2002-09-06  John Levon  <levon@movementarian.org>
6413
6414         * LyXAction.C: tooltips for sub/superscript
6415
6416         * MenuBackend.C: a bit more verbose
6417
6418         * lyxfunc.C: tiny clean
6419
6420         * undo_funcs.C: document undo_frozen
6421
6422 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6423
6424         * counters.C (Counters): add missing algorithm counter.
6425
6426         * text2.C (setCounter): lookup the counter with layouts latexname
6427         instead of by section number.
6428         (setCounter): use a hackish way to lookup the correct enum
6429         counter.
6430         a float name->type change
6431         reset enum couners with counter name directly instead of depth value.
6432
6433         * counters.C (Counters): remove the push_backs, change to use the
6434         float type not the float name.
6435         (labelItem): remove unused string, float name->type change
6436
6437         * counters.h: don't include vector, loose the enums and sects vectors
6438
6439 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6440
6441         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6442         (Read): add float->TC_FLOAT to textclassTags
6443         (Read): and handle it in the switch
6444         (readFloat): new function
6445
6446         * FloatList.C (FloatList): comment out the hardcoded float
6447         definitions.
6448
6449         * lyxlayout.h: ws change.
6450
6451 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6452
6453         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6454
6455 2002-09-03  Angus Leeming  <leeming@lyx.org>
6456
6457         * BufferView_pimpl.h: qualified name is not allowed in member
6458         declaration: WorkArea & Pimpl::workarea() const;
6459
6460         * factory.C: added using std::endl directive.
6461
6462         * text3.C: added using std::find and std::vector directives.
6463
6464 2002-08-29  André Pönitz <poenitz@gmx.net>
6465
6466         * lyxtext.h:
6467         * text2.C: remove unused member number_of_rows
6468
6469         * Makefile.am:
6470         * BufferView2.C: remove file, move contents to...
6471         * BufferView.C: ... here
6472
6473         * BufferView_pimpl.C:
6474         * factory.C: move more inset creation to factory
6475
6476         * vspace.C: avoid direct usage of LyXText, ws changes
6477
6478         * BufferView.[Ch]:
6479                 don't provide direct access to WorkArea, use two simple
6480                 acessors haveSelction() and workHeight() instead
6481
6482
6483 2002-08-29  John Levon  <levon@movementarian.org>
6484
6485         * BufferView_pimpl.C (dispatch): do not continue when
6486           no buffer
6487
6488 2002-08-28  André Pönitz <poenitz@gmx.net>
6489
6490         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6491
6492         * BufferView.h:
6493         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6494
6495 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6496
6497         * buffer.C: increment LYX_FORMAT to 221
6498
6499         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6500         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6501
6502         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6503
6504         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6505
6506 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6507
6508         * factory.C (createInset): use LyXTextClass::floats
6509
6510         * MenuBackend.C (expandFloatListInsert):
6511         (expandFloatInsert):
6512         (expandToc):
6513
6514         * text2.C (setCounter):
6515
6516         * LaTeXFeatures.C (useFloat):
6517         (getFloatDefinitions):
6518
6519         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6520
6521         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6522         floatlist_, with accessor floats().
6523
6524         * FloatList.h: remove global FloatList
6525
6526 2002-08-26  André Pönitz <poenitz@gmx.net>
6527
6528         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6529
6530         * BufferView.h:
6531         * BufferView2.C:
6532         * BufferView_pimpl.C:
6533         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6534
6535 2002-08-25  John Levon  <levon@movementarian.org>
6536
6537         * LyXAction.C: fix margin note description
6538
6539 2002-08-24  John Levon  <levon@movementarian.org>
6540
6541         * buffer.C:
6542         * bufferlist.C:
6543         * bufferview_funcs.C:
6544         * lyxfont.C:
6545         * undo_funcs.C: cleanups
6546
6547         * lyxfunc.C: disable CUT/COPY when no selection
6548
6549 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6550
6551         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6552         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6553
6554         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6555         Add backward compatibility to "mono", "gray" and "no".
6556
6557 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6558
6559         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6560         (and file_format >= 200).
6561
6562 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6563
6564         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6565
6566 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6567
6568         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6569
6570 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6571
6572         * BufferView_pimpl.C:
6573         * LyXAction.C:
6574         * buffer.C:
6575         * commandtags.h:
6576         * lyxfunc.C:
6577         * paragraph.[Ch]:
6578         * text2.C:
6579         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6580         inset and code to make it  work with the paragraph code. The inset
6581         can be anywhere in the paragraph, but will only do the expected
6582         thing in LaTeX if the layout file contains the parameter line
6583                         OptionalArgs    1
6584         (or more generally, a nonzero value) for that layout.
6585
6586 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6587
6588         * paragraph.h: remove the declaration of undefined counters class
6589         function.
6590
6591 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6592
6593         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6594         Dr. Richard Hawkins.
6595
6596 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6597
6598         * paragraph_funcs.h: remove some unneeded includes
6599
6600         * text.C (backspace): pasteParagraph now in global scipe
6601
6602         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6603         (pasteSelection): ditto
6604
6605         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6606         * paragraph_funcs.C (pasteParagraph): ... here
6607
6608 2002-08-20  André Pönitz <poenitz@gmx.net>
6609
6610         * commandtags.h: new LFUNs for swapping/copying table row/colums
6611
6612         * LyXAction.C:
6613         * lyxfunc.C: support for new lfuns
6614
6615 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6616
6617         * tabular.C:
6618         * buffer.[Ch]: remove NO_COMPABILITY stuff
6619
6620 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6621
6622         * boost.C (throw_exception): new file, with helper function for
6623         boost compiled without exceptions.
6624
6625         * paragraph.h:
6626         * lyxlength.C:
6627         * buffer.C:
6628         * ParameterStruct.h:
6629         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6630
6631         * bufferlist.C (emergencyWriteAll): use boost bind
6632
6633         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6634
6635         * text.C: include paragraph_funcs.h
6636         (breakParagraph): breakParagraph is now in global scope
6637
6638         * paragraph_funcs.[Ch]: new files
6639
6640         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6641         global scope
6642
6643         * buffer.C: include paragraph_funcs.h
6644         (insertStringAsLines): breakParagraph is now in global scope
6645
6646         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6647         paragraph_funcs.C
6648
6649         * CutAndPaste.C: include paragraph_funcs.h
6650         (cutSelection): breakParagraphConservative is now in global scope
6651         (pasteSelection): ditto
6652
6653         * buffer.h: declare oprator== and operator!= for
6654         Buffer::inset_iterator
6655
6656         * bufferlist.C (emergencyWrite): don't use fmt(...)
6657
6658         * text3.C: add using std::endl
6659
6660         * BufferView.C (moveCursorUpdate): remove default arg
6661
6662 2002-08-20  André Pönitz <poenitz@gmx.net>
6663
6664         * buffer.[Ch]: move inline functions to .C
6665
6666         * BufferView2.C:
6667         * BufferView_pimpl.C:
6668         * text.C:
6669         * buffer.[Ch]: use improved inset_iterator
6670
6671         * buffer.C:
6672         * paragraph.[Ch]: write one paragraph at a time
6673
6674 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6675
6676         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6677         style if style is not specified.
6678
6679 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6680
6681         * text2.C (setCounter): when searching for right label for a
6682         caption, make sure to recurse to parent insets (so that a caption
6683         in a minipage in a figure float works) (bug #568)
6684
6685 2002-08-20  André Pönitz <poenitz@gmx.net>
6686
6687         * text3.C: new file for LyXText::dispatch() and helpers
6688
6689         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6690
6691         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6692
6693 2002-08-19  André Pönitz <poenitz@gmx.net>
6694
6695         * lyxtext.h:
6696         * text.C: new LyXText::dispatch()
6697
6698         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6699
6700 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6701
6702         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6703
6704         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6705         Hebrew text.
6706
6707 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6708
6709         * Makefile.am: use $(variables) instead of @substitutions@
6710
6711 2002-08-15  André Pönitz <poenitz@gmx.net>
6712
6713         * lyxfunc.C:
6714         * BufferView_pimpl.C: streamlining mathed <-> outer world
6715         interaction
6716
6717         * commandtags.h:
6718         * LyXAction.C: remove unused LFUN_MATH
6719
6720 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6721
6722         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6723
6724 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6725
6726         * paragraph.C (Paragraph): reformat a bit
6727         (cutIntoMinibuffer): use builtin InsetList function instad of
6728         doing it manually.
6729         (getInset): ditto
6730
6731         * buffer.C: include boost/bind.hpp, add using std::for_each
6732         (writeFileAscii): use ParagraphList iterators
6733         (validate): use for_each for validate traversal of paragraphs
6734         (getBibkeyList): use ParagraphList iterators
6735         (resizeInsets): use for_each to resizeInsetsLyXText for all
6736         paragraphs.
6737         (getParFromID): use ParagraphList iterators
6738
6739         * BufferView2.C (lockInset): use paragraph list and iterators
6740
6741 2002-08-14  John Levon  <levon@movementarian.org>
6742
6743         * lyxserver.C: remove spurious xforms include
6744
6745 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6746
6747         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6748
6749 2002-08-13  André Pönitz <poenitz@gmx.net>
6750
6751         * LyXAction.[Ch]:
6752         * lyxfunc.C: further cleaning
6753
6754 2002-08-13  André Pönitz <poenitz@gmx.net>
6755
6756         * funcrequest.h: new constructor
6757
6758         * funcrequest.C: move stuff here from .h
6759
6760         * Makefile.am:
6761         * BufferView_pimpl.C:
6762         * LyXAction.C:
6763         * toc.C:
6764         * lyxfunc.C: subsequent changes
6765
6766         * lyxfunc.h: new view() member function
6767
6768         * lyxfunc.C: subsequent changes
6769
6770 2002-08-13  Angus Leeming  <leeming@lyx.org>
6771
6772         * BufferView2.C:
6773         * BufferView_pimpl.C:
6774         * buffer.C:
6775         * converter.C:
6776         * importer.C:
6777         * lyxfunc.C:
6778         * lyxvc.C:
6779         * toc.C:
6780         * vc-backend.C:
6781         changes due to the changed LyXView interface that now returns references
6782         to member variables not pointers.
6783
6784 2002-08-13  Angus Leeming  <leeming@lyx.org>
6785
6786         * WordLangTuple (word, lang_code): return references to strings,
6787         not strings.
6788
6789         * BufferView.h:
6790         * SpellBase.h:
6791         * lyxtext.h: forward-declare WordLangTuple.
6792
6793         * BufferView2.C:
6794         * ispell.C:
6795         * pspell.C:
6796         * text.C: #include "WordLangTuple.h".
6797
6798         * lyxtext.h:
6799         * text.C: (selectNextWordToSpellcheck): constify return type.
6800
6801 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6802
6803         * buffer.C:
6804         * buffer.h:
6805         * lyxtext.h:
6806         * paragraph.C:
6807         * paragraph_pimpl.h:
6808         * text.C:
6809         * text2.C:
6810         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6811         suggested by Angus.
6812         Made updateCounter always count from start of buffer, and removed
6813         second argument (par).
6814         Reverted floats number display to '#'. Perhaps I'll try again when the
6815         code base is sanitized a bit.
6816
6817 2002-08-12  Angus Leeming  <leeming@lyx.org>
6818
6819         * buffer.[Ch] (getLabelList): constify.
6820
6821 2002-08-07  André Pönitz <poenitz@gmx.net>
6822
6823         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6824
6825         * funcrequest.h: extension to keep mouse (x,y) position
6826
6827 2002-08-12  Juergen Vigna  <jug@sad.it>
6828
6829         * BufferView2.C (insertErrors): forbid undo when inserting error
6830         insets.
6831
6832         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6833
6834 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6835
6836         * ParagraphList.[Ch]: new files
6837
6838         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6839
6840         * BufferView2.C (lockInset): ParagraphList changes
6841         * toc.C: ditto
6842         * text2.C: ditto
6843         * bufferlist.C: ditto
6844         * buffer.h: ditto
6845         * buffer.C: ditto
6846
6847 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6848
6849         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6850         unused class variable counter_,
6851
6852         * paragraph.[Ch] (getFirstCounter): delete unused function
6853
6854         * counters.C: include LAssert.h
6855         (reset): add a new function with no arg, change other version to
6856         not have def. arg and to not allow empty arg.
6857
6858         * text2.C (setCounter): remove empty arg from call to Counters::reset
6859
6860 2002-08-11  John Levon  <levon@movementarian.org>
6861
6862         * Makefile.am: add WordLangTuple.h
6863
6864 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6865
6866         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6867         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6868
6869         * insets/insettext.C: InsetList changes
6870
6871         * graphics/GraphicsSupport.C (operator()): InsetList changes
6872
6873         * toc.C (getTocList): InsetList changes
6874
6875         * paragraph_pimpl.[Ch]: InsetList changes
6876
6877         * paragraph.[Ch]: InsetList changes
6878
6879         * buffer.C (inset_iterator): InsetList changes
6880         (setParagraph): ditto
6881         * buffer.h (inset_iterator): ditto
6882         * iterators.C (operator++): ditto
6883         * iterators.h: ditto
6884
6885         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6886
6887         * InsetList.[Ch]: new files, most InsetList handling moved out of
6888         paragraph.C.
6889
6890         * BufferView2.C (removeAutoInsets): InsetList changes
6891         (lockInset): ditto
6892         (ChangeInsets): ditto
6893
6894 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6895
6896         * paragraph_pimpl.h (empty): new function
6897
6898         * paragraph.[Ch] (empty): new function
6899
6900         * other files: use the new Paragraph::empty function
6901
6902 2002-08-09  John Levon  <levon@movementarian.org>
6903
6904         * lyxtext.h: remove unused refresh_height
6905
6906 2002-08-09  John Levon  <levon@movementarian.org>
6907
6908         * Makefile.am:
6909         * sgml.h:
6910         * sgml.C:
6911         * buffer.C:
6912         * paragraph.h:
6913         * paragraph.C: move sgml char escaping out of paragraph
6914
6915         * paragraph.h:
6916         * paragraph.C: remove id setter
6917
6918         * buffer.C:
6919         * paragraph.C:
6920         * paragraph_pimpl.C: remove dead tex_code_break_column
6921
6922         * bufferview_funcs.C: small cleanup
6923
6924         * lyxfunc.C: remove dead proto
6925
6926         * lyxtext.h: make some stuff private. Remove some dead stuff.
6927
6928         * lyxgluelength.C: make as[LyX]String() readable
6929
6930 2002-08-08  John Levon  <levon@movementarian.org>
6931
6932         * LyXAction.h:
6933         * LyXAction.C:
6934         * MenuBackend.C:
6935         * ToolbarDefaults.C:
6936         * lyxfunc.C:
6937         * lyxrc.C:
6938         * toc.C: lyxaction cleanup
6939
6940 2002-08-08  John Levon  <levon@movementarian.org>
6941
6942         * BufferView2.C: small cleanup
6943
6944         * lyxfind.h:
6945         * lyxfind.C: move unnecessary header into the .C
6946
6947 2002-08-08  John Levon  <levon@movementarian.org>
6948
6949         * funcrequest.h: just tedious nonsense
6950
6951         * lyx_main.h:
6952         * lyx_main.C: cleanups
6953
6954         * buffer.C:
6955         * vspace.C: remove dead header lyx_main.h
6956
6957 2002-08-07  Angus Leeming  <leeming@lyx.org>
6958
6959         * Paragraph.[Ch]:
6960         * paragraph_pimpl.h:
6961         Forward declare class Counters in paragraph.h by moving the ctrs member
6962         variable into Paragraph::Pimpl.
6963         (counters): new method, returning a reference to pimpl_->ctrs.
6964
6965         * text2.C: ensuing changes.
6966
6967 2002-08-07  John Levon  <levon@movementarian.org>
6968
6969         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6970
6971         * BufferView_pimpl.C: announce X selection on double/triple
6972           click
6973
6974         * lyx_main.C: use correct bool in batch dispatch
6975
6976         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6977
6978 2002-08-07  André Pönitz <poenitz@gmx.net>
6979
6980         * funcrequest.h: new class to wrap a kb_action and its argument
6981
6982         * BufferView.[Ch]:
6983         * BufferView_pimpl[Ch]:
6984         * LaTeX.C:
6985         * LyXAction.[Ch]:
6986         * lyxfunc.[Ch]:
6987         * lyxrc.C: subsequent changes
6988
6989
6990 2002-08-07  John Levon  <levon@movementarian.org>
6991
6992         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6993           document options change.
6994
6995 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6996
6997         * counters.[Ch]
6998         * text2.C
6999         * paragraph.[Ch]
7000         * makefile.am: move counters functionality over from
7001         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7002
7003 2002-08-06  John Levon  <levon@movementarian.org>
7004
7005         * WordLangTuple.h: new file for word + language code tuple
7006
7007         * SpellBase.h:
7008         * pspell.h:
7009         * pspell.C:
7010         * ispell.h:
7011         * ispell.C:
7012         * lyxtext.h:
7013         * text.C:
7014         * text2.C:
7015         * BufferView.h:
7016         * BufferView2.C: use WordLangTuple
7017
7018         * layout.h:
7019         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7020
7021 2002-08-06  John Levon  <levon@movementarian.org>
7022
7023         * lyx_main.C: fix cmdline batch handling
7024
7025 2002-08-06  André Pönitz <poenitz@gmx.net>
7026
7027         * lyxrc.C: set default for show_banner to true
7028
7029 2002-08-06  John Levon  <levon@movementarian.org>
7030
7031         * pspell.C: fix a crash, and allow new aspell to work
7032
7033 2002-08-06  John Levon  <levon@movementarian.org>
7034
7035         * lyxfunc.C:
7036         * kbmap.C: small cleanup
7037
7038         * vspace.h:
7039         * vspace.C: add const
7040
7041 2002-08-05  John Levon  <levon@movementarian.org>
7042
7043         * LyXAction.C: back to tabular-insert
7044
7045 2002-08-04  John Levon  <levon@movementarian.org>
7046
7047         * BufferView.h:
7048         * BufferView.C: cosmetic change
7049
7050         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7051
7052         * bufferlist.C:
7053         * buffer.h:
7054         * buffer.C:
7055         * lyxcb.h:
7056         * lyxcb.C:
7057         * lyxserver.C:
7058         * lyxvc.C:
7059         * vc-backend.C:
7060         * BufferView2.C: purge all "Lyx" not "LyX" strings
7061
7062         * lyxcursor.h:
7063         * lyxcursor.C: attempt to add some documentation
7064
7065         * lyxfunc.C:
7066         * commandtags.h:
7067         * LyXAction.C:
7068         * ToolbarDefaults.C:
7069         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7070           merge with LFUN_TABULAR_INSERT
7071
7072         * Makefile.am:
7073         * SpellBase.h:
7074         * ispell.h:
7075         * ispell.C:
7076         * pspell.h:
7077         * pspell.C: split up i/pspell implementations into separate
7078           files, many cleanups
7079
7080         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7081
7082         * text2.C: some cleanup
7083
7084         * lyxfunc.C: don't check for isp_command == "none" any more, it
7085           didn't make any sense
7086
7087 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7088
7089         * counters.[Ch]
7090         * text2.C
7091         * paragraph.[Ch]
7092         * makefile.am: move counters functionality over
7093         from text2.C/paragraph.[Ch] to counters.[Ch], and
7094         make proper C++.
7095 2002-08-02  John Levon  <levon@movementarian.org>
7096
7097         * buffer.C: s/lyxconvert/lyx2lyx/
7098
7099 2002-08-02  Angus Leeming  <leeming@lyx.org>
7100
7101         * lyxlex.C: revert John's change as it breaks reading of the user
7102         preamble.
7103
7104 2002-08-02  Angus Leeming  <leeming@lyx.org>
7105
7106         * importer.C (Import):
7107         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7108         changes due to LyXView::view() now returning a boost::shared_ptr.
7109
7110 2002-08-02  John Levon  <levon@movementarian.org>
7111
7112         * lyxlex.C: small cleanup
7113
7114 2002-08-02  John Levon  <levon@movementarian.org>
7115
7116         * text2.C (status): small cleanup, no logic change
7117
7118 2002-08-01  John Levon  <levon@movementarian.org>
7119
7120         * buffer.h:
7121         * buffer.C (writeFile): don't output alerts, caller
7122           handles this
7123
7124         * bufferlist.C:
7125         * lyx_cb.C: from above
7126
7127         * lyxfunc.C: allow to open non-existent files
7128
7129 2002-07-31  John Levon  <levon@movementarian.org>
7130
7131         * lyxserver.C: don't let incidental errors get
7132           in the way (errno)
7133
7134 2002-07-30  John Levon  <levon@movementarian.org>
7135
7136         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7137
7138 2002-07-30  John Levon  <levon@movementarian.org>
7139
7140         * lyxserver.h:
7141         * lyxserver.C: remove I/O callback too
7142
7143 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7144
7145         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7146         log.
7147
7148 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7149
7150         * many files: strip,frontStrip -> trim,ltrim,rtrim
7151
7152 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7153
7154         * PrinterParams.h: remove extern containsOnly, and include
7155         support/lstrings.h instead.
7156
7157         * LaTeX.C (scanAuxFile): modify because of strip changes
7158         (deplog): ditto
7159         * buffer.C (makeLaTeXFile): ditto
7160         * bufferparams.C (writeFile): ditt
7161         * lyxfont.C (stateText): ditto
7162         * lyxserver.C (read_ready): ditto
7163         * vc-backend.C (scanMaster): ditto
7164
7165         * BufferView_pimpl.h: ws changes
7166
7167         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7168
7169 2002-07-26  André Pönitz <poenitz@gmx.net>
7170
7171         * kb_sequence.C: remove unnedred usings
7172
7173 2002-07-26  Juergen Vigna  <jug@sad.it>
7174
7175         * lyxfind.C (LyXReplace): we have to check better if the returned
7176         text is not of theLockingInset()->getLockingInset().
7177
7178 2002-07-25  Juergen Vigna  <jug@sad.it>
7179
7180         * lyxfind.C (LyXReplace): don't replace if we don't get the
7181         right LyXText.
7182
7183         * undo_funcs.C (createUndo): remove debugging code.
7184
7185 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7186
7187         * buffer.C (parseSingleLyXformat2Token): Use default placement
7188         when reading old floats.
7189
7190         * FloatList.C (FloatList): Change the default placement of figure
7191         and tables to "tbp".
7192
7193 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7194
7195         * MenuBackend.C: using std::max
7196
7197 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7198
7199         * MenuBackend.C (expandToc):
7200         (expandToc2): code moved from xforms menu frontend. It is now
7201         generic and TOCs are transparent to menu frontends.
7202
7203 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7204
7205         * toc.C (getTocList): protect against buf=0
7206
7207         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7208         Menu as first parameter. Now, this calls itself recursively to
7209         expand a whole tree (this will be useful for TOC handling)
7210         (expandFloatInsert): remove 'wide' version of floats
7211
7212         * MenuBackend.h (submenuname): returns the name of the submenu.
7213         (submenu): returns the submenu itself, provided it has been
7214         created by MenuBackend::expand
7215
7216 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7217
7218         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7219         insets which have noFontChange == true. (bug #172)
7220
7221 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7222
7223         * BufferView_pimpl.C: add connection objects and use them...
7224         (Pimpl): here.
7225
7226 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7227
7228         * MenuBackend.C (expandLastfiles):
7229         (expandDocuments):
7230         (expandFormats):
7231         (expandFloatListInsert):
7232         (expandFloatInsert):
7233         (expand): split expand in parts
7234
7235 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7236
7237         * lyx_gui.C: use lyx_gui::exit()
7238
7239 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7240
7241         * LyXAction.C: show the failing pseudo action
7242
7243 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7244
7245         * buffer.C (readFile): Run the lyxconvert script in order to read
7246         old files.
7247
7248 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7249
7250         * LyXAction.C:
7251         * commandtags.h:
7252         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7253
7254 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7255
7256         * LyXAction.C:
7257         * commandtags.h:
7258         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7259
7260 2002-07-22  Herbert Voss  <voss@lyx.org>
7261
7262         * lengthcommon.C:
7263         * lyxlength.[Ch]: add support for the vertical lengths
7264
7265 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7266
7267         * toc.[Ch]: std:: fixes
7268
7269 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7270
7271         * lyxrc.C: do not include lyx_main.h
7272
7273         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7274         for layouts
7275
7276         * lyxrc.C:
7277         * encoding.C:
7278         * bufferlist.C:
7279         * BufferView2.C: include "lyxlex.h"
7280
7281         * tabular.h:
7282         * bufferparams.h: do not #include "lyxlex.h"
7283
7284         * lyxtextclasslist.C (Add): remove method
7285         (classlist): renamed to classlist_
7286
7287         * paragraph_pimpl.C:
7288         * paragraph.C:
7289         * text2.C:
7290         * CutAndPaste.C:
7291         * bufferview_funcs.C:
7292         * bufferlist.C:
7293         * text.C:
7294         * LaTeXFeatures.C:
7295         * buffer.C:
7296         * toc.C (getTocList): use BufferParams::getLyXTextClass
7297
7298         * toc.C (getTocList): use InsetFloat::addToToc
7299
7300         * toc.[Ch]: new files, containing helper functions to handle table
7301         of contents
7302
7303         * lyxfunc.C (dispatch): no need to remove spaces around command
7304         given as a string
7305         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7306         first command of the sequence; it is not very clever, but I do not
7307         have a better idea, actually
7308
7309         * LyXAction.C (LookupFunc): make sure to remove space at the
7310         beginning and end of the command
7311
7312 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7313
7314         * MenuBackend.C (getMenubar): new method: return the menubar of
7315         this menu set
7316         (read): treat differently reading of menu and menubar (in
7317         particular, the menubar has no name now)
7318         (Menu::menubar): remove
7319
7320         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7321         saving is finished
7322
7323 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7324
7325         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7326         a bibitem inset in a RTL paragraph.
7327
7328 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7329
7330         * paragraph_pimpl.C: constify
7331
7332         * BufferView_pimpl.C:
7333         * LaTeX.C:
7334         * lyxfunc.C: fix dispatch in a nicer way
7335
7336 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7337
7338         * lyxfunc.C (dispatch):
7339         * BufferView_pimpl.C:
7340         * BufferView_pimpl.h:
7341         * BufferView.C:
7342         * BufferView.h: rename Dispatch() to dispatch()
7343
7344         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7345
7346         * lyxlayout.C (Read): honor DependsOn tag
7347
7348         * lyxlayout.[Ch] (depends_on): new method
7349
7350         * version.C.in: update lyx_docversion
7351
7352         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7353
7354         * paragraph.C (validate): remove from here...
7355         * paragraph_pimpl.C (validate): ... and move here
7356         (isTextAt): make it const
7357
7358         * buffer.C (getLists): ws cleanup
7359
7360 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7361
7362         * language.C (read): Use iso8859-1 encoding in latex_lang
7363         (this prevents LyX from crashing when using iso10646-1 encoding).
7364
7365 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7366
7367         * text2.C (toggleInset): if cursor is inside an inset, close the
7368         inset and leave cursor _after_ it
7369
7370 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7371
7372         * lyxfunc.C: move minibuffer completion handling out of here
7373
7374 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7375
7376         * BufferView_pimpl.C:
7377         * LaTeX.C: fix dispatch calls
7378
7379 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7380
7381         * text.C (drawChars): Fix Arabic text rendering.
7382
7383 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7384
7385         * LyXAction.C:
7386         * commandtags.h:
7387         * lyxfunc.C: remove message-push/pop
7388
7389         * lyxserver.C:
7390         * lyxfunc.h:
7391         * lyxfunc.C: rationalise some code by removing verboseDispatch
7392           in favour of a bool argument to dispatch()
7393
7394 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7395
7396         * lyx_main.C (init): make sure to read symlinks as absolute paths
7397
7398 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7399
7400         * lyxfunc.h:
7401         * lyxfunc.C: no need for commandshortcut to be a member
7402
7403 2002-07-15  André Pönitz <poenitz@gmx.net>
7404
7405         * converter.C: add support for $$s (scripts from lib/scripts dir)
7406         * lyx_main.C: white space
7407
7408 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7409
7410         * bufferlist.C:
7411         * lyxrc.h:
7412         * lyxrc.C: remove second exit confirmation
7413
7414 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7415
7416         * BufferView.h:
7417         * BufferView.C:
7418         * BufferView2.C:
7419         * BufferView_pimpl.h:
7420         * BufferView_pimpl.C:
7421         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7422
7423 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7424
7425         * MenuBackend.C (expand): add numeric shortcuts to document menu
7426
7427         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7428
7429 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7430
7431         * lyxfont.C (setLyXFamily):
7432         (setLyXSeries):
7433         (setLyXShape):
7434         (setLyXSize):
7435         (setLyXMisc):
7436         (lyxRead):
7437         * debug.C (value):
7438         * buffer.C (asciiParagraph): use ascii_lowercase
7439
7440 2002-07-15  Mike Fabian  <mfabian@suse.de>
7441
7442         * lyxlex_pimpl.C (search_kw):
7443         * lyxlex.C (getLongString):
7444         * converter.h (operator<):
7445         * converter.C (operator<):
7446         * buffer.C (parseSingleLyXformat2Token):
7447         (asciiParagraph):
7448         * ToolbarDefaults.C (read):
7449         * MenuBackend.C (checkShortcuts):
7450         (read):
7451         * LColor.C (getFromGUIName):
7452         (getFromLyXName): use the compare_ascii_no_case instead of
7453         compare_no_case, because in turkish, 'i' is not the lowercase
7454         version of 'I', and thus turkish locale breaks parsing of tags.
7455
7456 2002-07-16  Angus Leeming  <leeming@lyx.org>
7457
7458         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7459         now takes a Buffer const & argument.
7460
7461 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7462
7463         * BufferView.C (resize): check there's a buffer to resize
7464
7465 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7466
7467         * lyxfunc.C: remove dead code
7468
7469         * lyxserver.h:
7470         * lyxserver.C: use lyx_guii::set_read_callback
7471
7472 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7473
7474         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7475         an inset in a RTL paragraph.
7476
7477 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7478
7479         * lyxfunc.C: repaint after a font size update
7480
7481 2002-07-15  André Pönitz <poenitz@gmx.net>
7482
7483         * lyxlength.C: inBP should be able to return negative values
7484
7485 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7486
7487         * lyxfunc.C: use lyx_gui::update_fonts()
7488
7489 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7490
7491         * lyxfunc.C: use lyx_gui::update_color()
7492
7493 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7494
7495         * bufferlist.C:
7496         * lyxfunc.h:
7497         * lyxfunc.C:
7498         * lyxrc.h:
7499         * lyxrc.C: remove file->new asks for name option, and let
7500           buffer-new take an argument
7501
7502 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7503
7504         * BufferView_pimpl.C: remove unneeded extra repaint()
7505
7506 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7507
7508         * LyXAction.C: allow command-sequence with NoBuffer
7509
7510         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7511
7512 2002-07-10  Angus Leeming  <leeming@lyx.org>
7513
7514         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7515
7516 2002-07-09  Angus Leeming  <leeming@lyx.org>
7517
7518         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7519
7520 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7521
7522         * lengthcommon.h: whitespace
7523
7524         * lyxfunc.C: update scrollbar after goto paragraph
7525
7526         * lyxtext.h: factor out page break drawing, and fix it so
7527           page break/added space paints as selected nicely
7528
7529 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7530
7531         * BufferView_pimpl.C: add FIXMEs, clean up a little
7532
7533 2002-07-09  André Pönitz <poenitz@gmx.net>
7534
7535         * lyxfont.[Ch]: support for wasy symbols
7536
7537 2002-07-08  André Pönitz <poenitz@gmx.net>
7538
7539         * BufferView_pimpl.C: apply John's patch for #93.
7540
7541 2002-07-05  Angus Leeming  <leeming@lyx.org>
7542
7543         * BufferView_pimpl.C (buffer): generate previews if desired.
7544
7545         * LColor.h: add "preview" to the color enum.
7546
7547         * LColor.C (LColor): add a corresponding entry to the items array.
7548
7549         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7550         with this buffer.
7551
7552 2002-07-05  Angus Leeming  <leeming@lyx.org>
7553
7554         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7555         The body of the code is now in the method that is passed an ostream &
7556         rather than a file name.
7557         Pass an additional only_preamble parameter, useful for the forthcoming
7558         preview stuff.
7559
7560 2002-07-03  André Pönitz <poenitz@gmx.net>
7561
7562         * lyxfunc.C: simplify getStatus() a bit for math stuff
7563
7564 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7565
7566         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7567
7568 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7569
7570         * text.C (changeRegionCase): do not change case of all the
7571         document when region ends at paragraph end (bug #461)
7572
7573 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7574
7575         * paragraph.C (startTeXParParams):
7576         (endTeXParParams): add \protect when necessary
7577
7578 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7579
7580         * BufferView_pimpl.C (workAreaExpose): remove warning
7581
7582 2002-06-27  Angus Leeming  <leeming@lyx.org>
7583
7584         * Makefile.am: add lyxlayout_ptr_fwd.h.
7585
7586 2002-06-26  André Pönitz <poenitz@gmx.net>
7587
7588         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7589
7590 2002-06-25  Angus Leeming  <leeming@lyx.org>
7591
7592         * lyxfunc.C (dispatch): Comment out the call to
7593         grfx::GCache::changeDisplay. The method no longer exists now that the
7594         pixmap generation part of the graphics loader has been moved into
7595         InsetGraphics.
7596
7597 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7598
7599         * text2.C: layout as layout
7600
7601         * text.C: layout as layout
7602
7603         * tabular.C (OldFormatRead): layout as layout
7604
7605         * paragraph_pimpl.C (TeXDeeper): layout as layout
7606         (realizeFont): layout as layout
7607
7608         * paragraph.C (writeFile): layout as layout
7609         (validate): layout as layout
7610         (getFont): layout as layout
7611         (getLabelFont): layout as layout
7612         (getLayoutFont): layout as layout
7613         (breakParagraph): layout as layout
7614         (stripLeadingSpaces): layout as layout
7615         (getEndLabel): layout as layout
7616         (getMaxDepthAfter): layout as layout
7617         (applyLayout): layout as layout
7618         (TeXOnePar): layout as layout
7619         (simpleTeXOnePar): layout as layout
7620         (TeXEnvironment): layout as layout
7621         (layout): layout as layout
7622         (layout): layout as layout
7623
7624         * lyxtextclass.C (compare_name): new functor to work with
7625         shared_ptr, layout as layout
7626         (Read): layout as layout
7627         (hasLayout): layout as layout
7628         (operator): layout as layout
7629         (delete_layout): layout as layout
7630         (defaultLayout): layout as layout
7631
7632         * lyxlayout_ptr_fwd.h: new file
7633
7634         * lyxlayout.C (Read): layout as layout
7635
7636         * lyx_cb.C (MenuInsertLabel): layout as layout
7637
7638         * bufferlist.C (newFile): layout as layout
7639
7640         * buffer.C (readLyXformat2): layout as layout
7641         (parseSingleLyXformat2Token): layout as layout
7642         (insertStringAsLines): layout as layout
7643         (asciiParagraph): layout as layout
7644         (latexParagraphs): layout as layout
7645         (makeLinuxDocFile): layout as layout
7646         (simpleLinuxDocOnePar): layout as layout
7647         (makeDocBookFile): layout as layout
7648         (simpleDocBookOnePar): layout as layout
7649         (getLists): layout as layout
7650
7651         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7652
7653         * CutAndPaste.C (cutSelection): layout as layout
7654         (pasteSelection): layout as layout
7655         (SwitchLayoutsBetweenClasses): layout as layout
7656
7657         * BufferView_pimpl.C (Dispatch): layout as layout
7658         (smartQuote): layout as layout
7659
7660         * BufferView2.C (unlockInset): layout as layout
7661
7662 2002-06-24  André Pönitz <poenitz@gmx.net>
7663
7664         * lyxfunc.C: fix #487
7665
7666 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7667
7668         * lyxrc.h:
7669         * lyxrc.C:
7670         * lyxfunc.C: remove display_shortcuts, show_banner
7671
7672 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7673
7674         * Buffer_pimpl.C: oops, update on resize
7675
7676 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7677
7678         * buffer.C:
7679         * converter.C:
7680         * exporter.C:
7681         * lyxfunc.C:
7682         * BufferView.h:
7683         * BufferView.C: use repaint()
7684
7685         * BufferView_pimpl.h:
7686         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7687           as it's a clearer description. Remove superfluous
7688           redraws.
7689
7690 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7691
7692         * text.C: fix bug 488. Not ideal, but getting
7693           getWord() to work properly for the insets that
7694           matter is more difficult ...
7695
7696 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7697
7698         * BufferView_pimpl.C:
7699         * LyXAction.C:
7700         * commandtags.h:
7701         * lyxfunc.C: remove the six million index lyxfuncs to just
7702           one, and DTRT (bug 458)
7703
7704 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7705
7706         * BufferView.h:
7707         * BufferView.C:
7708         * BufferView_pimpl.h:
7709         * BufferView_pimpl.C: clean up resize() stuff,
7710           and unnecessary updateScreen()s
7711
7712 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7713
7714         * BufferView.h:
7715         * BufferView.C:
7716         * BufferView_pimpl.h:
7717         * BufferView_pimpl.C:
7718         * lyxfind.h:
7719         * lyxfind.C:
7720         * minibuffer.C: remove focus management of workarea,
7721           not needed. Use screen's greyOut()
7722
7723 2002-06-17  Herbert Voss  <voss@lyx.org>
7724
7725         * converter.C: (convert) do not post a message, when converting
7726         fails, let the calling function decide what to do in this case
7727
7728 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7729
7730         * lyxfunc.C: tidy up a little
7731
7732 2002-06-16    <alstrup@diku.dk>
7733
7734         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7735         Got rid of FORMS_H_LOCATION include. Now we are
7736         GUII.
7737
7738 2002-06-15  LyX Development team  <lyx@rilke>
7739
7740         * buffer.[Ch] (sgmlOpenTag):
7741         (sgmlCloseTag): Added support for avoiding pernicious mixed
7742         content. Return number of lines written.
7743
7744         (makeLinuxDocFile):
7745         (makeDocBookFile): Fixed calls to sgml*Tag.
7746         Simple white space clean.
7747
7748         (simpleDocBookOnePar): Simple white space clean.
7749
7750         * tabular.[Ch] (docBook): Renamed to docbook and got another
7751         argument to related with the pernicious mixed content.
7752
7753         (docbookRow): Fixed calls for docbook inset method.
7754
7755 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7756
7757         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7758         so it's X11 independent.
7759
7760         * kb*.[Ch]: ditto.
7761
7762         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7763
7764 2002-06-15  Lyx Development team  <lyx@electronia>
7765
7766         * intl.h: Renamed getTrans to getTransManager.
7767
7768 2002-06-14  Angus Leeming  <leeming@lyx.org>
7769
7770         * Makefile.am: nuke forgotten stl_string_fwd.h.
7771
7772 2002-06-12  Angus Leeming  <leeming@lyx.org>
7773
7774         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7775
7776 2002-06-13  Angus Leeming  <leeming@lyx.org>
7777
7778         * LaTeX.C:
7779         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7780
7781 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7782
7783         * kbmap.C (getiso): add support for cyrillic and greek
7784
7785 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7786
7787         * BufferView.h:
7788         * BufferView.C:
7789         * BufferView_pimpl.h:
7790         * BufferView_pimpl.C: move bogus scrolling logic
7791           to xforms
7792
7793 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7794
7795         * lyxfunc.C:
7796         * BufferView_pimpl.C: view->resize() change
7797
7798 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7799
7800         * BufferView_pimpl.C: topCursorVisible
7801           prototype change
7802
7803 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7804
7805         * Makefile.am:
7806         * lyx_gui.h:
7807         * lyx_gui.C: move to frontends/
7808
7809         * main.C:
7810         * lyx_main.h:
7811         * lyx_main.C: changes from above
7812
7813 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7814
7815         * intl.C:
7816         * intl.h:
7817         * kbmap.C:
7818         * kbsequence.C:
7819         * lyx_cb.C:
7820         * lyx_main.C: minor tidy
7821
7822 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7823
7824         * BufferView_pimpl.h:
7825         * BufferView_pimpl.C:
7826         * BufferView.h:
7827         * BufferView.C: make painter() const,
7828           remove dead code
7829
7830         * BufferView2.C: use screen() accessor
7831
7832         * lyx_main.h:
7833         * lyx_main.C: some minor cleanup
7834
7835 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7836
7837         * BufferView_pimpl.h:
7838         * BufferView_pimpl.C: remove enter/leaveView,
7839           use workHeight()
7840
7841 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7842
7843         * BufferView.h:
7844         * BufferView.C:
7845         * BufferView2.C:
7846         * BufferView_pimpl.h:
7847         * BufferView_pimpl.C: only construct screen once,
7848           rename
7849
7850         * lyxrc.C: remove pointless comment
7851
7852 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7853
7854         * BufferView.h:
7855         * BufferView.C: remove active() and belowMouse()
7856
7857         * BufferView_pimpl.h:
7858         * BufferView_pimpl.C: use workarea() not workarea_,
7859           and make it use a scoped_ptr instead
7860
7861 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7862
7863         * lyx_gui.C: add debug message on BadWindow
7864
7865 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7866
7867         * sp_spell.C: fdopen is not part of the C++ standard.
7868
7869         * paragraph.C (InsetIterator): use >= instead of ==
7870
7871 2002-06-07  Angus Leeming  <leeming@lyx.org>
7872
7873         Fixes needed to compile with Compaq cxx 6.5.
7874         * BufferView_pimpl.C:
7875         * DepTable.C:
7876         * buffer.C:
7877         * converter.C:
7878         * encoding.C:
7879         * lyx_gui.C:
7880         * lyx_main.C:
7881         * lyxtextclasslist.C:
7882         * minibuffer.C:
7883         * sp_spell.C:
7884         * tabular_funcs.C:
7885         * vc-backend.C:
7886         all c-library variables have been moved into namespace std. Wrap
7887         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7888
7889         * lyxlength.C:
7890         * tabular-old.C:
7891         * tabular.C:
7892         Add a using std::abs declaration.
7893
7894         * kbmap.h (modifier_pair):
7895         * paragraph.h (InsetTable, InsetList):
7896         * lyxfont.h (FontBits):
7897         type definition made public.
7898
7899         * bufferlist.C (emergencyWriteAll): the compiler complains that
7900         there is more than one possible lyx::class_fun template to choose from.
7901         I re-named the void specialisation as lyx::void_class_fun.
7902
7903         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7904
7905         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7906         the compiler is is unable to find tostr in write_attribute.
7907
7908 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7909
7910         * buffer.C (sgmlError): hide #warning
7911
7912 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7913
7914         * xtl/*: get rid of xtl, which is not in use anyway
7915
7916         * LyXAction.C (init):
7917         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7918         were unimplemented xtl experimentation
7919
7920 2002-06-04  André Pönitz <poenitz@gmx.net>
7921
7922         * lyxfunc.C: disable array operation on simple formulae
7923
7924 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7925
7926         * converter.C: constify a bit
7927
7928 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7929
7930         * lyx_gui.C: check xforms version correctly
7931
7932 2002-04-30  Herbert Voss  <voss@lyx.org>
7933
7934         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7935         "keep" option
7936
7937 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7938
7939         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7940           attempt to register it with a VCS)
7941
7942 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7943
7944         * lyx_main.C (init): honor variables LYX_DIR_13x and
7945         LYX_USERDIR_13x
7946
7947 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7948
7949         * buffer.h:
7950         * buffer.C:
7951         * lyx_main.C: fix a crash on bad command line,
7952           and give a useful exit status on error
7953
7954         * lyxfunc.C (doImport): allow -i lyx to work
7955
7956 2002-03-30  André Pönitz <poenitz@gmx.net>
7957
7958         * lyxfunc.C: mathed font changes
7959
7960 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7961
7962         * LaTeX.C:
7963         * importer.h:
7964         * importer.C:
7965         * lyx_sty.h:
7966         * lyx_sty.C:
7967         * lyxlex.C:
7968         * lyxrow.h:
7969         * lyxtext.h:
7970         * paragraph.h:
7971         * paragraph.C:
7972         * texrow.h:
7973         * texrow.C:
7974         * text.C:
7975         * trans_mgr.h: srcdocs, and some minor cleanups
7976
7977 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7978
7979         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7980         call getFont all the time)
7981
7982 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7983
7984         * switch from SigC signals to boost::signals
7985
7986 2002-05-29  André Pönitz <poenitz@gmx.net>
7987
7988         * paragraph_pimpl.C (getChar): don't call size() too often...
7989
7990 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7991
7992         * paragraph_pimpl.C (insertChar): do not try to update tables when
7993         appending (pos == size())
7994
7995         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7996         in order to reduce drastically the number of comparisons needed to
7997         parse a large document
7998
7999 2002-05-29  André Pönitz <poenitz@gmx.net>
8000
8001         * text.C:
8002         * text2.C:
8003         * lyxtextclass.C:
8004         * sp_pspell.h:
8005         * textclasslist.[Ch]:
8006         * sp_ispell.h: whitespace change
8007
8008 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8009
8010         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8011         lyxaction directly now.
8012
8013 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8014
8015         * trans.C:
8016         * lyxfont.C:
8017         * lyxvc.C: remove unused headers
8018
8019 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8020
8021         * Makefile.am:
8022         * buffer.h:
8023         * undostack.h:
8024         * undostack.C:
8025         * undo_funcs.h:
8026         * undo_funcs.C: some cleanups. Use shared_ptr
8027           and a template for the undo stacks.
8028
8029 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8030
8031         * BufferView_pimpl.h:
8032         * BufferView_pimpl.C:
8033         * kbmap.h:
8034         * kbmap.C:
8035         * kbsequence.h:
8036         * kbsequence.C:
8037         * lyxfunc.h:
8038         * lyxfunc.C:
8039         * text2.C: use key_state/mouse_state
8040
8041 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8042
8043         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8044         and LSubstring
8045
8046         * chset.C: change include order
8047         (loadFile): use boost regex and get rid of LRegex and LSubstring
8048
8049         * Makefile.am (BOOST_LIBS): new variable
8050         (lyx_LDADD): use it
8051
8052         * LaTeX.C: change include order.
8053         (scanAuxFile): use boost regex and get rid of LRegex and
8054         LSubstring
8055         (deplog): ditto
8056
8057 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8058
8059         * ColorHandler.h:
8060         * ColorHandler.C:
8061         * FontInfo.h:
8062         * FontInfo.C: moved to frontends/xforms/
8063
8064         * FontLoader.h:
8065         * FontLoader.C: moved into frontends for GUIIzation
8066
8067         * Makefile.am:
8068         * lyx_gui.C:
8069         * lyxfont.C:
8070         * lyxfunc.C: changes from above
8071
8072 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8073
8074         * LColor.C: remove spurious X include
8075
8076         * BufferView_pimpl.C:
8077         * Makefile.am:
8078         * font.h:
8079         * font.C:
8080         * text.C:
8081         * text2.C: move font metrics to frontends/
8082
8083 2002-05-24  Juergen Vigna  <jug@sad.it>
8084
8085         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8086         setting the undo_cursor.
8087
8088         * ParagraphParameters.h: include local includes first.
8089
8090 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8091
8092         * BufferView_pimpl.C:
8093         * BufferView_pimpl.h:
8094         * Makefile.am:
8095         * WorkArea.h:
8096         * WorkArea.C:
8097         * screen.C: move WorkArea into frontends/
8098
8099         * lyxscreen.h:
8100         * screen.C:
8101         * text.C:
8102         * BufferView.C:
8103         * BufferView2.C: move LyXScreen into frontends/
8104
8105         * lyxlookup.h:
8106         * lyxlookup.C:
8107         * lyx_gui.C: move lyxlookup into frontends/xforms/
8108
8109 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8110
8111         * BufferView2.C:
8112         * BufferView_pimpl.C:
8113         * FontLoader.C:
8114         * LyXView.h:
8115         * LyXView.C:
8116         * Makefile.am:
8117         * WorkArea.C:
8118         * XFormsView.h:
8119         * XFormsView.C:
8120         * buffer.C:
8121         * bufferlist.C:
8122         * bufferview_funcs.C:
8123         * converter.C:
8124         * importer.C:
8125         * lyx_cb.C:
8126         * lyx_gui.C:
8127         * lyx_main.C:
8128         * lyx_find.C:
8129         * lyxfunc.C:
8130         * lyxvc.C:
8131         * minibuffer.C:
8132         * text.C:
8133         * text2.C:
8134         * trans.C:
8135         * vc-backend.C: move LyX/XFormsView into frontends/
8136
8137 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8138
8139         * Makefile.am:
8140         * PainterBase.C:
8141         * PainterBase.h:
8142         * Painter.C:
8143         * Painter.h:
8144         * WorkArea.C:
8145         * WorkArea.h:
8146         * screen.C:
8147         * tabular.C:
8148         * text.C:
8149         * text2.C: move Painter to frontends/
8150
8151 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8152
8153         * buffer.C: comment out some some code that depend upon lyx_format
8154         < 220
8155
8156         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8157         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8158
8159         * buffer.h (NO_COMPABILITY): turn off compability
8160
8161         * ColorHandler.C: include scoped_array.hpp
8162
8163         * font.C: Use more specific smart_ptr header.
8164         * Painter.C: ditto
8165         * gettext.C: ditto
8166         * ShareContainer.h: ditto
8167         * lyx_main.h: ditto
8168         * kbmap.h: ditto
8169         * FontInfo.h: ditto
8170         * BufferView_pimpl.h: ditto
8171         * ColorHandler.h: ditto
8172
8173         * kbmap.C (defkey): change call to shared_ptr::reset
8174
8175 2002-05-21  Juergen Vigna  <jug@sad.it>
8176
8177         * buffer.C (insertErtContents): fix to insert ert asis if it is
8178         non empty. Skip it completely if it contains only whitespaces.
8179
8180 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8181
8182         * BufferView_pimpl.C:
8183         * BufferView2.C: clear selection on paste (bug 393)
8184
8185 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8186
8187         * DepTable.C: include ctime
8188
8189 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8190
8191         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8192
8193 2002-05-14  Juergen Vigna  <jug@sad.it>
8194
8195         * text.C (breakParagraph): fixed function to honor the keepempty
8196         layout in the right maner and also to permit the right breaking
8197         algorithm on empty or non empyt keepempty paragraphs.
8198
8199         * paragraph.C (breakParagraph): we have to check also if the par
8200         is really empty (!size()) for isempty otherwise we do the wrong
8201         paragraph break.
8202
8203 2002-05-10  Juergen Vigna  <jug@sad.it>
8204
8205         * buffer.[Ch] : The following are only changes to the ert
8206         compatibility read reading old LaTeX layout and font stuff and
8207         convert it to ERTInsets.
8208
8209         * buffer.h: added isErtInset().
8210
8211         * buffer.C (struct ErtComp): add a fromlayout bool to check
8212         if we're inside a LaTeX layout.
8213         (isErtInset): new helper function.
8214         (insertErtContents): look for other ert insets before this one
8215         and insert the contents there, so that we don't have subsequent
8216         ERT insets with nothing between them. This way we create only one
8217         inset with multiple paragraphs. Also check if we don't insert only
8218         spaces ' ' as they are ignored anyway afterwards in the .tex file
8219         so if we have only spaces we will ignore this latex part in the
8220         new file.
8221         (parseSingleLyXformat2Token \\layout): better compatibility when
8222         reading layout-latex stuff.
8223         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8224         language tag.
8225         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8226         stuff after reading the inset only get the information back from
8227         the stack.
8228
8229 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8230
8231         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8232
8233         * LaTeXFeatures.C (getBabelOptions): New method.
8234
8235 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8236
8237         * BufferView_pimpl.C (Dispatch): work around missing argument for
8238         'layout'
8239
8240 2002-05-08  Juergen Vigna  <jug@sad.it>
8241
8242         * text.C (leftMargin): handle paragraph leftindent.
8243
8244         * paragraph.C (writeFile): write the new \\leftindent tag.
8245         (validate): handle leftindent code.
8246         (TeXEnvironment): handle paragraphleftindent code again.
8247
8248         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8249
8250         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8251         for paragrap_extra indent code and new token \\leftindent.
8252         (latexParagraphs): handle the leftindent as environment.
8253
8254         * ParameterStruct.h: added leftindent support.
8255
8256         * ParagraphParameters.C (leftIndent): added support functions for
8257         the paragraph left indent.
8258
8259         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8260         more appropriate.
8261
8262 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8263
8264         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8265         inside insetERT.
8266
8267         * text.C (computeBidiTables): No bidi in insetERT.
8268
8269         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8270         in RTL documents.
8271
8272 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8273
8274         * version.C.in: pre 5
8275
8276 2002-05-02  José Matos  <jamatos@fep.up.pt>
8277         * buffer.C (makeDocBookFile): white space changes, add newline to
8278         command styles.
8279         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8280
8281         * tabular.C (docBook): fix typo.
8282
8283 2002-05-03  Juergen Vigna  <jug@sad.it>
8284
8285         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8286         change in LyXText as we can not be sure it was not freed.
8287         (drawOneRow): remove unused code.
8288
8289         * text.C (drawInset): redo the calculation of the need_break_row as
8290         it could have a row which was already freed.
8291         (draw): look at the return value of drawInset and return false if
8292         it also returned false.
8293         (paintRowText): look at the return value of draw and return false if
8294         it also returned false.
8295
8296         * lyxtext.h: added bool return type to drawInset() and draw() so that
8297         if we have a change in the row so that the rowbreak has to be redone
8298         we abort drawing as it will be called again.
8299
8300 2002-05-02  Juergen Vigna  <jug@sad.it>
8301
8302         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8303         a change in the maintext also if we're inside an inset.
8304         (Dispatch): set the cursor again after a break line and after the
8305         screen has been updated as it could be we're in a different row.
8306
8307         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8308         to set the cursor behind the pargraph with > size().
8309         (setCursor): check also for the same paragraph when checking where
8310         to put the cursor if we have a NFR inset.
8311
8312         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8313         parts of layout read further up as it still was in the wrong
8314         position.
8315
8316 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8317
8318         * screen.C (drawFromTo): change sine fullRebreak always return
8319         true.
8320
8321         * buffer.C (parseSingleLyXformat2Token): reindent some
8322
8323         * BufferView_pimpl.C (update): change since fullRebreak always
8324         return true.
8325         (Dispatch): git rid of the last hardcoded "Standard"s.
8326
8327 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8328
8329         * text2.[Ch] (fullRebreak): make it return void now that we always
8330         returned true.
8331
8332 2002-04-30  Juergen Vigna  <jug@sad.it>
8333
8334         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8335         ert compatibility check for "latex" layout.
8336
8337 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8338
8339         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8340         minipages: use col% instead of p%, and also use the current font.
8341         (makeLaTeXFile): Fix use babel condition.
8342         (parseSingleLyXformat2Token): Correct font when reading old floats.
8343
8344 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8345
8346         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8347         inserting list of floats.
8348
8349 2002-04-25  Herbert Voss  <voss@lyx.org>
8350
8351         * MenuBackend.C (expand): don't add the graphics extensions to the
8352         export menu
8353
8354 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8355
8356         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8357         non-existing layout, do not complain if it was the default layout
8358         of the original class (bug #342)
8359
8360 2002-04-24  Juergen Vigna  <jug@sad.it>
8361
8362         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8363         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8364
8365 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8366
8367         * buffer.C (getBibkeyList): If using \bibliography, return the
8368         option field with the reference itself. Enables us to provide natbib
8369         support when using \bibliography.
8370
8371 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8372
8373         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8374
8375         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8376         natbib is provided by the LaTeX class.
8377
8378 2002-04-23  Juergen Vigna  <jug@sad.it>
8379
8380         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8381         Wakeup functions.
8382
8383         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8384
8385 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8386
8387         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8388
8389         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8390         ensuremath around textordmasculine, textordfeminine and
8391         textdegree.
8392
8393 2002-04-19  Juergen Vigna  <jug@sad.it>
8394
8395         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8396         reinitializing the buffer otherwise row-dimensions may be wrong.
8397         (update): reset also the selection cursors if they do exits otherwise
8398         their x/y positions may be wrong.
8399
8400         * text2.C (cursorDown): don't enter the inset if we came from a row
8401         above and are one row over the inset.
8402
8403         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8404         really leaving an inset.
8405
8406 2002-04-18  Juergen Vigna  <jug@sad.it>
8407
8408         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8409         of the selected paragraph does not have the selected layout also if
8410         the last one had!
8411
8412         * text2.C (setLayout): fixed bug which did not change last selected
8413         paragraph.
8414
8415         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8416         changed the read and substituted \\end_float with \\end_inset!
8417
8418         * BufferView_pimpl.C (cursorPrevious):
8419         (cursorNext): fixed to make it work with rows heigher than the work
8420         area without moving the cursor only the draw of the row.
8421         (workAreaMotionNotify): fix jumping over high rows.
8422
8423 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8424
8425         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8426         Ressler.
8427
8428 2002-04-16  Juergen Vigna  <jug@sad.it>
8429
8430         * text2.C (setCursor): set also the irow().
8431         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8432         (cursorUp):
8433         (cursorDown): support for locking an inset if the x_fix value goes
8434         inside it. That way I can transverse insets too with cursor up/down.
8435
8436         * lyxrow.h: added irow helper function same as other (i) functions.
8437
8438         * BufferView_pimpl.C (cursorPrevious):
8439         (cursorNext): fixed for insets!
8440
8441 2002-04-15  Juergen Vigna  <jug@sad.it>
8442
8443         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8444         position otherwise it is wrong in some cases.
8445
8446         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8447         inside the inset before the call.
8448
8449 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8450
8451         * buffer.[Ch] (getBibkeyList): make it const.
8452
8453 2002-04-12  Juergen Vigna  <jug@sad.it>
8454
8455         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8456
8457         * text2.C (getCursorX): new helper function
8458         (setCursor): compute also ix_
8459         (setCursorFromCoordinates): set also ix.
8460
8461         * lyxcursor.h: added ix_ and helper functions.
8462
8463         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8464
8465         * buffer.C (insertStringAsLines): dont break paragraph if the this
8466         paragraph is inside an inset which does not permit it!
8467
8468         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8469         also with no chars on this paragraph.
8470         (paintRowText): only paint stuff if it's inside the workarea!
8471
8472         * paragraph.C (breakParagraph): honor keepempty flag and break the
8473         paragraph always below not above.
8474
8475         * BufferView2.C (unlockInset): update the paragraph layout on inset
8476         unlock as we changed paragraph in such a case.
8477
8478         * lyxfind.C (LyXFind): clear the former selection if not found!
8479
8480         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8481         again called in insertChar().
8482
8483         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8484         an inset which uses the whole row!
8485         (rightMargin): ditto.
8486         (insertChar): force a rebreak if we inserted an inset!
8487
8488 2002-03-28  Herbert Voss  <voss@lyx.org>
8489
8490         * lyxlength.[Ch]: add inBP() to get the right PS-point
8491         units (BigPoint). With inPixels we have rounding errors
8492
8493 2002-04-11  Juergen Vigna  <jug@sad.it>
8494
8495         * text2.C (setCursorFromCoordinates): set iy to the right value.
8496         (setCursor): add check if row->previous exists!
8497
8498         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8499         an old float_type as this was the case in the old code!
8500
8501         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8502
8503         * BufferView2.C (showLockedInsetCursor): use iy
8504         (fitLockedInsetCursor): ditto
8505
8506         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8507         locked insets as there we have the right value now.
8508
8509         * lyxcursor.C: added iy_ variable and iy functions to set to the
8510         baseline of cursor-y of the locked inset.
8511
8512         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8513         (setCursor): fixed for insets which need a full row.
8514
8515         * text.C (rowLastPrintable): don't ignore the last space when before
8516         an inset which needs a full row.
8517         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8518         as last character of a row when before a inset which needs a full row.
8519
8520 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8521
8522         * version.C.in: update date
8523
8524         * text2.C (fullRebreak): try to always return true and see what
8525         happens...
8526
8527 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8528
8529         * MenuBackend.C (expand): use Floating::listName
8530
8531         * FloatList.C (FloatList): add listName argument to the built-in
8532         floats
8533
8534         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8535         text associated with the float.
8536
8537 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8538
8539         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8540
8541 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8542
8543         * ShareContainer.h: add a couple of missing typenames.
8544
8545 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8546
8547         * lyxrc.C (getDescription): use _() correctly rather than N_().
8548
8549 2002-03-28  Herbert Voss  <voss@lyx.org>
8550
8551         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8552         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8553
8554 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8555
8556         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8557         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8558
8559 2002-03-29  Juergen Vigna  <jug@sad.it>
8560
8561         * lyxfunc.C (dispatch): add a missing fitCursor call.
8562
8563         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8564         it was scrolled by a cursor move, so return the bool status.
8565
8566         * BufferView.C (fitCursor): return the bool flag also to the outside
8567         world as this is needed.
8568
8569         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8570
8571         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8572         call the edit() as it is not needed (and wrong) IMO.
8573         (workAreaButtonPress): set the screen_first variable before evt.
8574         unlock the inset as this may change screen_first and then we have
8575         a wrong y position for the click!
8576
8577 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8578
8579         * MenuBackend.C (expand): another translation that I missed
8580
8581 2002-03-28  Juergen Vigna  <jug@sad.it>
8582
8583         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8584
8585         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8586
8587 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8588
8589         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8590
8591         * MenuBackend.C (expand): fix export/view/update when there is no
8592         document open.
8593
8594 2002-03-27  Herbert Voss  <voss@lyx.org>
8595
8596         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8597         and text%
8598
8599 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8600
8601         * bufferview_funcs.C (currentState): only show paragraph number
8602         for is DEVEL_VERSION is set.
8603
8604         * lyxfunc.C (dispatch): put warning in INFO channel
8605
8606         * MenuBackend.C (expand): translate the name of floats
8607
8608         * FloatList.C (FloatList): mark the float names for translation
8609
8610         * converter.C (convert): use LibScriptSearch
8611
8612 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8613
8614         * MenuBackend.C (defaults): fix default menu (we might as well get
8615         rid of it...)
8616
8617 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8618
8619         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8620         directory.
8621
8622 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8623
8624         * lyxvc.C: reorder includes.
8625
8626 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8627
8628         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8629           properly
8630
8631 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8632
8633         * CutAndPaste.C: change layouts earlier on paste
8634           to avoid crashing when calling getFont()
8635
8636 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8637
8638         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8639         irritating #error.
8640
8641 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8642
8643         * WorkArea.C: remove 'Pending' debug message.
8644
8645         * most files: ws cleanup
8646
8647         * buffer.[Ch]: ws changes
8648
8649         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8650
8651 2002-03-21  Juergen Vigna  <jug@sad.it>
8652
8653         * tabular.C (SetMultiColumn): collapse also the contents of the
8654         cells and set the last border right. Added a Buffer const * param.
8655
8656 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8657
8658         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8659         linking or not.
8660
8661 2002-03-19  Juergen Vigna  <jug@sad.it>
8662
8663         * text2.C (clearSelection): reset also xsel_cache.
8664
8665         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8666         where it needs to be called (John tells us to do so too :)
8667         (selectionLost): reset sel_cache.
8668
8669         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8670
8671 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8672
8673         * text2.C (setCursorIntern): put debuging code in INSETS channel
8674
8675 2002-03-19  André Pönitz <poenitz@gmx.net>
8676
8677         * lyxfunc.C: tiny whitespace change
8678
8679 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8680
8681         * ToolbarDefaults.C (init):
8682         * LyXAction.C (init):
8683         * commandtags.h:
8684         * BufferView_pimpl.C (Dispatch):
8685         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8686
8687 2002-03-19  Allan Rae  <rae@lyx.org>
8688
8689         * exporter.C (Export): removeAutoInsets before doing anything else.
8690         While I've just introduced a dependency on BufferView this really is
8691         the best place to clean the buffer otherwise you need to cleanup in
8692         a dozen places before calling export or cleanup in a dozen functions
8693         that export calls.
8694
8695         * converter.C (runLaTeX):
8696         (scanLog): Better handling of removeAutoInsets and screen updates.
8697
8698         * lyxfunc.C (dispatch): small whitespace changes
8699
8700 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8701
8702         * WorkArea.C (C_WorkAreaEvent): return a value.
8703         (event_cb): return 1 if we handled the event, 0 otherwise.
8704
8705         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8706
8707 2002-03-18  Juergen Vigna  <jug@sad.it>
8708
8709         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8710         (GetAdditionalWidth): ditto.
8711         (RightLine): ditto.
8712         (LeftLine): ditto.
8713
8714         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8715         inset if we're there actually (probably not used right now but this
8716         is the direction to go for unifying code).
8717         (paste): disable code to clear the selection.
8718
8719         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8720         inside an InsetText and move the check further up as it is in the
8721         wrong place.
8722
8723         * text2.C (pasteSelection): set a selection over the pasted text.
8724
8725 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8726
8727         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8728         and libgraphics to build on Cygwin.
8729
8730 2002-03-15  Juergen Vigna  <jug@sad.it>
8731
8732         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8733         inserting an Inset into the paragraph. I know this is not the best
8734         fix but we already use current_view in CutAndPaste so we will remove
8735         all of it's using at the same time.
8736
8737         * buffer.C (sgmlError): deactivated function till it is rewritten in
8738         the right mode, now it can create problems.
8739
8740         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8741         before accessing it.
8742
8743 2002-03-14  Juergen Vigna  <jug@sad.it>
8744
8745         * undo_funcs.C (textHandleUndo): do the right thing when updating
8746         the inset after the undo/redo.
8747
8748         * text2.C (setCursor): just some testcode for #44 not ready yet.
8749
8750         * undo_funcs.C (textHandleUndo): set the next() and previous()
8751         pointers of the paragraph to 0 before deleting otherwise we have
8752         problems with the Paragraph::[destructor].
8753
8754         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8755         on a paragraph insertion.
8756
8757 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8758
8759         * buffer.C (asciiParagraph): use += operator for char append to
8760         string.
8761
8762         * paragraph.C (getFontSettings): compare >= not just >
8763         (highestFontInRange): ditto
8764         (setFont): ditto
8765
8766 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8767
8768         * paragraph.C: change several algorithm to be more appripriate for
8769         the problem domain. This is lookip in FontList and in the InsetList.
8770
8771 2002-03-13  André Pönitz <poenitz@gmx.net>
8772
8773         * commandtags.h:
8774         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8775
8776 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8777
8778         * commandtags.h:
8779         * LyXAction.C:
8780         * lyxfunc.C:
8781         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8782
8783 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8784
8785         * Painter.C (display): anon helper function, adjust code for this
8786         change.
8787         (pixmap): remove function.
8788
8789         * Painter.h: remove private display variable.
8790
8791         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8792
8793 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8794
8795         * WorkArea.[Ch]: remove figinset_canvas cruft.
8796
8797 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8798
8799         * lyxtextclass.C (operator): add one item cache optimization.
8800
8801         * bufferlist.h: doxy changes
8802
8803         * bufferlist.C: ws changes
8804
8805         * DepTable.[Ch] (ext_exist): place const in the right spot.
8806
8807         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8808         call resizeInsets.
8809         (workAreaExpose): call resizeInsets when the with BufferView changes.
8810         (Dispatch): adjust for protectedBlank removal
8811         (specialChar): call updateInset if the insert went ok.
8812
8813         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8814         specialChar instead.
8815
8816         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8817
8818         * BufferView.h: doxy change
8819
8820         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8821
8822         * lyxtextclass.C (operator[]): remove non-const version
8823         (defaultLayout): remove non-const version
8824
8825 2002-03-12  Juergen Vigna  <jug@sad.it>
8826
8827         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8828         did resize the LyXText too.
8829
8830         * buffer.C (readLyXformat2): set layout information on newly allocated
8831         paragraphs.
8832
8833         * tabular.C (OldFormatRead): set layout information on the paragraph.
8834
8835 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8836
8837         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8838
8839 2002-03-11  Juergen Vigna  <jug@sad.it>
8840
8841         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8842         plainly wrong.
8843         (resizeCurrentBuffer): force also the insets to resize themselfes.
8844         (moveCursorUpdate): fixed up for InsetText.
8845
8846 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8847
8848         * commandtags.h:
8849         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8850         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8851         value of Dialogs::tooltipsEnabled().
8852         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8853
8854 2002-03-08  Juergen Vigna  <jug@sad.it>
8855
8856         * BufferView_pimpl.C (updateInset): update inset inside inset also
8857         if it isn't inside theLockingInset().
8858
8859 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8860
8861         * buffer.C (asciiParagraph): redo some of the word and line length
8862         handling.
8863         (getLists): look for Caption instead of caption.
8864
8865 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8866
8867         * buffer.C (Buffer): initialize niceFile to true
8868         (makeLaTeXFile):
8869         (makeLinuxDocFile):
8870         (makeDocBookFile): make sure niceFile is true on exit
8871
8872 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8873
8874         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8875
8876 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8877
8878         * LyXSendto.C: remove.
8879         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8880         * lyx_gui.C: remove now-redundant comment.
8881         * ColorHandler.h: remove forward declaration of class WorkArea.
8882         * lyxfunc.C: remove #include "WorkArea.h".
8883
8884 2002-03-07  Juergen Vigna  <jug@sad.it>
8885
8886         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8887         got moved away with the DEPM and also set the inset_owner always
8888         right which before could have been omitted.
8889
8890 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8891
8892         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8893         wanted layout is not found.
8894
8895 2002-03-07  Juergen Vigna  <jug@sad.it>
8896
8897         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8898
8899 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8900
8901         * paragraph.C (breakParagraph): use default layout not layout of
8902         prev paragraph.
8903         (Paragraph): clear ParagraphParameters.
8904
8905 2002-03-06  Juergen Vigna  <jug@sad.it>
8906
8907         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8908         otherwise it would not be a valid lenght. Fixed a special case in
8909         the minipage compatibility read where we end the document with a
8910         minipage.
8911
8912         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8913         was set as it could be 0 for InsetTexts first entry.
8914
8915 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8916
8917         * paragraph.C (writeFile): if layout is empty write out
8918         defaultLayoutName().
8919
8920         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8921         file without named layout we set layout to defaultLayoutName().
8922
8923 2002-03-06  Juergen Vigna  <jug@sad.it>
8924
8925         * CutAndPaste.C (copySelection): set layout for new paragraph.
8926
8927         * text.C (prepareToPrint): leave ERT inset left aligned
8928         (leftMargin): don't indent paragraphs inside ERT insets
8929
8930 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8931
8932         * paragraph.C (breakParagraph): dont call clear do the work manually
8933
8934         * paragraph.[Ch] (clear): remove function
8935
8936 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8937
8938         * paragraph.C (Paragraph): dont call clear, the work has already
8939         been done.
8940
8941         * lyxtextclass.C (operator): assert if n is empty
8942
8943         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8944         work manually instead.
8945
8946 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8947
8948         * BufferView_pimpl.C: protect selectionLost against text == 0
8949
8950 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8951
8952         * text.C (breakParagraph): fix a setting layout to '0' problem.
8953
8954 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8955
8956         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8957         final location of file, for the included files, and graphics.
8958
8959 2002-03-05  Juergen Vigna  <jug@sad.it>
8960
8961         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8962
8963 2002-03-04  Juergen Vigna  <jug@sad.it>
8964
8965         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8966
8967         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8968         last column of multicolumn cells.
8969         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8970
8971 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8972
8973         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8974         file if it doesn't go to a temporary file.
8975
8976         * buffer.C (sgmlOpenTag):
8977         (sgmlCloseTag):  remove extra newline insertion.
8978
8979 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8980
8981         * text.C (getRowNearY): comment out debug msg
8982
8983 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8984
8985         * text2.C: first -> first_y
8986
8987         * text.C (getRowNearY): add some attemts at a possible
8988         optimization, not working.
8989
8990         * tabular.[Ch]: add BufferParams to several function so that newly
8991         created paragraph can be initialized to he default layotu for the
8992         buffers textclass.
8993
8994         * tabular-old.C (ReadOld): add buf->params to call of Init
8995
8996         * screen.C: rename text->first to text->first_y
8997
8998         * paragraph.C (breakParagraph): always set layout in the broken
8999         paragraph
9000
9001         * lyxtextclass.C (Read): remove lowercase
9002         (hasLayout): ditto
9003         (operator): ditto
9004         (delete_layout): ditto
9005
9006         * lyxtext.h: rename first -> first_y
9007
9008         * lyxlayout.C (Read): remove lowercase
9009         (name): ditto
9010         (setName): ditto
9011         (obsoleted_by): ditto
9012
9013         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9014
9015         * buffer.C (insertErtContents): add params are to InsetERT
9016         (parseSingleLyXformat2Token): add code to check if a paragraphs
9017         layout really exist.
9018         (parseSingleLyXformat2Token): add params to several inset
9019         constructors
9020         (asciiParagraph): remove lowercase, do the layout comparisons with
9021         no_case
9022
9023         * BufferView_pimpl.C (cursorNext): first -> first_y
9024         (resizeCurrentBuffer): first -> first_y
9025         (updateScrollbar): first -> first_y
9026         (scrollCB): first -> first_y
9027         (workAreaMotionNotify): first -> first_y
9028         (workAreaButtonPress): first -> first_y
9029         (checkInsetHit): first -> first_y
9030         (cursorPrevious): first -> first_y
9031         (cursorNext): first -> first_y
9032         (Dispatch): add buffer_->params to severl inset contructors
9033
9034 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9035
9036         * lyxlayout.C (Read): remove some debug info that I forgot.
9037
9038         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9039         clean up the code slightly.
9040         (makeLinuxDocFile): ditto
9041         (makeDocBookFile): ditto
9042
9043         * text2.C: layout as string
9044
9045         * text.C: layout as string
9046
9047         * paragraph_pimpl.C: layout as string
9048
9049         * paragraph.[Ch]: layout as string
9050
9051         * lyxtextclasslist.[Ch]: layout as string
9052
9053         * lyxtextclass.[Ch]: layout as string
9054
9055         * lyxtext.h: layout as string
9056
9057         * lyxlayout.[Ch]: layout as string
9058
9059         * lyx_cb.C: layout as string
9060
9061         * bufferview_funcs.C: layout as string
9062
9063         * bufferparams.C: layout as string
9064
9065         * buffer.C: layout as string
9066
9067         * LyXView.[Ch]: layout as string
9068
9069         * LaTeXFeatures.[Ch]: layout as string
9070
9071         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9072
9073         * BufferView_pimpl.C: change current_layout to string, remove
9074         lyx::layout_type.
9075         (Dispatch):
9076         (smartQuote):
9077         (insertInset):
9078         (workAreaButtonRelease): layout as string
9079
9080         * BufferView2.C (unlockInset): adjust
9081
9082         * vspace.C (asLatexCommand): use an explict temp variable.
9083
9084 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9085
9086         * Makefile.am: use FRONTEND_*
9087
9088 2002-03-01  Juergen Vigna  <jug@sad.it>
9089
9090         * tabular.C (SetWidthOfMulticolCell): changed to something better
9091         I hope but still work in progress.
9092         (recalculateMulticolumnsOfColumn): renamed function from
9093         recalculateMulticolCells as it is more appropriate now.
9094         (SetWidthOfCell): calculate multicols better.
9095
9096 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9097
9098         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9099
9100         * lyxfunc.C (processKeySym): print sequence also if it is
9101         `deleted' (complete)
9102
9103         * kbsequence.C (print): print sequence even if it is deleted
9104         (complete would be a better word, actually).
9105
9106         * lyxfunc.C (dispatch): print complete options after a prefix key
9107
9108         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9109
9110 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9111
9112         * text2.C (setCharFont): eliminate setCharFont code duplication.
9113
9114 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9115
9116         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9117         LFUN_TABULAR_FEATURE (bug #177)
9118
9119 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9120
9121         * Makefile.am: remove figure.h
9122
9123 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9124
9125         * Bufferview_pimpl.C:
9126         * CutAndPasteC:
9127         * LaTeX.C:
9128         * LyXSendto.C:
9129         * buffer.C:
9130         * bufferlist.C:
9131         * converter.C:
9132         * language.C:
9133         * lyxfunc.C:
9134         * lyxvc.C:
9135         * paragraph.C:
9136         * text.C:
9137         * text2.C: remove #include "lyx_gui_misc.h".
9138
9139         * LaTeX.C: added #include <cstdio>
9140
9141 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9142
9143         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9144         that the paragraph following this one can have.
9145
9146         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9147
9148         * vspace.C (asLatexCommand): fix bogus gcc warning
9149
9150         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9151
9152 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9153
9154         * text2.C (setLayout): get rid of redundant code
9155
9156 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9157
9158         * text2.C (incDepth): make sure depth cannot be increased beyond
9159         reasonable values.
9160
9161 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9162
9163         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9164         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9165
9166         * PainterBase.h (image):
9167         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9168         a LyXImage const *.
9169
9170 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9171
9172         * BufferView.C:
9173         * BufferView.h:
9174         * BufferView_pimpl.C:
9175         * BufferView_pimpl.h:
9176         * LaTeXFeatures.C:
9177         * LyXAction.C:
9178         * LyXView.C:
9179         * Makefile.am:
9180         * UpdateList.h:
9181         * UpdateList.C:
9182         * buffer.C:
9183         * figure.h:
9184         * figureForm.C:
9185         * figureForm.h:
9186         * figure_form.C:
9187         * figure_form.h:
9188         * lyx_cb.C:
9189         * lyx_gui.C:
9190         * lyx_gui_misc.C:
9191         * lyxfunc.C:
9192         * sp_base.h:
9193         * sp_ispell.h:
9194         * sp_pspell.h:
9195         * sp_spell.C: remove fig inset, and the crap house of
9196           cards that follows it
9197
9198 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9199
9200         * Makefile.am:
9201         * lyxserver.C:
9202         * os2_defines.h:
9203         * os2_errortable.h:
9204         * nt_defines.h: move .h into support/
9205
9206         * vms_defines.h: remove
9207
9208         * WorkArea.C: add space in debug output
9209
9210         * text2.C:
9211         * paragraph.C:
9212         * buffer.C: add WITH_WARNINGS
9213
9214         * vc-backend.h:
9215         * vc-backend.C:
9216         * bufferlist.C: s/retrive/retrieve/, add docs
9217
9218         * vspace.h:
9219         * vspace.C:
9220         * kbmap.h:
9221         * lyxlength.h:
9222         * lyxgluelength.h:
9223         * length_common.h:
9224         * chset.h:
9225         * chset.C: add docs
9226
9227         * lyxgui.C: add ID to X error handler
9228
9229         * lyxtestclass.c: fix typo
9230
9231 2002-02-26  Juergen Vigna  <jug@sad.it>
9232
9233         * tabular_funcs.C (write_attribute): changed so that some default
9234         attributes are not written at all.
9235         (getTokenValue): set default values before trying to read the
9236         value so we have the return value always set as default if we don't
9237         find the token we search for.
9238
9239         * tabular.C (Write): write bools as bools not as strings!
9240
9241 2002-02-22  Juergen Vigna  <jug@sad.it>
9242
9243         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9244         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9245
9246         * text.C (leftMargin): don't add an indent for paragraphs inside
9247         tabular cells (fix #208).
9248
9249 2002-02-21  José Matos  <jamatos@fep.up.pt>
9250
9251         * tabular.C (docBook): fixed support for long tables.
9252
9253 2002-02-20  Juergen Vigna  <jug@sad.it>
9254
9255         * text2.C (getFont): get the drawing font of the Inset if this
9256         paragraph is inside an inset (only important for InsetERT for now).
9257
9258         * buffer.C (insertErtContents): use new lanugage params in ERT
9259         constructor.
9260
9261         * CutAndPaste.C: commenting out seemingly uneeded code.
9262
9263 2002-02-19  Allan Rae  <rae@lyx.org>
9264
9265         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9266         Iterators might be simple to use but they also get invalidated.
9267         (removeAutoInsets): renamed saved cursor tracking variables and added
9268         some comments to clarify what everything does.
9269
9270 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9271
9272         * Chktex.C:
9273         * LaTeX.C:
9274         * LyXSendto.C:
9275         * converter.C:
9276         * lyx_cb.C:
9277         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9278         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9279
9280         * lyxfunc.C:
9281         * vc-backend.h: remove #include "support/syscall.h"
9282
9283         * LaTeX.C:
9284         * LyXSendto.C:
9285         * converter.C: rearrange #includes in Lars' approved fashion.
9286
9287         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9288         forward declare class Timeout in the header file.
9289
9290         * XFormsView.C: changes due to the above.
9291
9292         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9293         similar to LyXView.
9294
9295         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9296         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9297
9298 2002-02-18  José Matos  <jamatos@fep.up.pt>
9299
9300         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9301         insets contents.
9302
9303 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9304
9305         * a lot of small ws changes
9306         * add a lot of using std::XXX
9307         * use std construcs some places where approp.
9308         * use some exisint stuff from lyxfunctional where approp.
9309         * Make file changes to use partial linking (lets test this now...)
9310
9311 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9312
9313         * Chktex.C:
9314         * buffer.C:
9315         remove #include "support/syscontr.h" as it's redundant. Always has been.
9316
9317         * Chktex.C:
9318         * LaTeX.C:
9319         * LyXSendto.C:
9320         * converter.C:
9321         * lyx_cb.C:
9322         * vc-backend.C:
9323         change Systemcalls::System to Systemcalls::Wait and
9324         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9325         No change of functionality, just reflects the stripped down Systemcalls
9326         class.
9327
9328 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9329
9330         * debug.[Ch]: add a GRAPHICS type to the enum.
9331
9332 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9333
9334         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9335
9336         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9337         there is an inset.
9338
9339 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9340
9341         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9342         match the changes below.
9343
9344         * text2.C (toggleInset): if there is not editable inset at cursor
9345         position, try to see if cursor is _inside_ a collapsable inset
9346         and close it.
9347
9348 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9349
9350         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9351         document menu has a nice checkbox
9352
9353 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9354
9355         * lyxlength.C (asLatexString): change PW to output as percent of
9356         \textwidth.
9357
9358         * lengthcommon.C: change '%' to 't%'
9359
9360         * lyxfunc.C (dispatch): a few comments from Martin
9361
9362 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9363
9364         * WorkArea.h:
9365         * WorkArea.C:
9366         * BufferView_pimpl.h:
9367         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9368           the X selection.
9369
9370 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9371
9372         * vspace.C (inPixels): fix compiler warning
9373
9374 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9375
9376         * lyxfunc.C (getStatus): fix status message for disabled commands.
9377
9378 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9379
9380         * BufferView_pimpl.C: fix crash on close buffer
9381         during selection (#227)
9382
9383 2002-01-27  Herbert Voss  <voss@lyx.org>
9384
9385         * buffer.C: link old Figure to new graphic inset
9386
9387 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9388
9389         * FontLoader.C (getFontinfo): Change the latex font names in order
9390         to match the names of type1inst.
9391
9392 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9393
9394         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9395
9396         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9397         (extchanged): ditto
9398         (ext_exist): ditto
9399         (remove_files_with_extension): ditto
9400         (remove_file): ditto
9401         (write): ditto
9402
9403         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9404         document is smaller than the work area height. Do not initialize
9405         static variables to 0.
9406
9407 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9408
9409         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9410
9411         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9412         LFUN_LAYOUT_PARAGRAPHS.
9413
9414         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9415         tabular. It is possible to provide a possible cell, which will
9416         typically be the actcell from the corresponding insettabular
9417
9418         * lyxfunc.C (getStatus): small cleanup; disable
9419         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9420         true
9421
9422 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9423
9424         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9425
9426         * paragraph.C (startTeXParParams):
9427         (endTeXParParams): new methods. The LaTeX code to
9428         start/end paragraph formatting
9429         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9430         empty (fixes bug #200)
9431
9432         * vspace.C (inPixels): adapt to the change below
9433         (inPixels): [later] more cleanups (remove unused variables)
9434
9435         * lyxlength.C (inPixels): change to use a width and a height as
9436         parameter.
9437
9438 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9439
9440         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9441         Replaced with \paperwidth
9442
9443         * DepTable.C (insert): add std:: qualifier
9444
9445 2002-01-18  Allan Rae  <rae@lyx.org>
9446
9447         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9448         updated also?
9449
9450         * text.C (drawInset): Turned out I didn't know enough about how
9451         rebreaking worked.  This fixes most of the redraw problems.  I see
9452         an occasional cursor trail when a line is broken now and the cursor
9453         placement can seem out by a few pixels also after a rebreak.
9454
9455 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9456
9457         * buffer.C (parseSingleLyXformat2Token): update because minipage
9458         width is now a LyXLength
9459
9460         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9461
9462         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9463         math insets
9464
9465 2002-01-17  Juergen Vigna  <jug@sad.it>
9466
9467         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9468
9469         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9470         is set correctly and the inset is updated correctly.
9471
9472 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9473
9474         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9475         the beginning of the loop.
9476
9477 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9478
9479         * lyxrc.C: improve help for use_scalable_fonts
9480
9481 2002-01-17  Allan Rae  <rae@lyx.org>
9482
9483         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9484
9485 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9486
9487         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9488         make sure to set their inset_owner to the right value (bug #171)
9489
9490 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9491
9492         * DepTable.h
9493         * DepTable.C: Implement mtime checking to reduce time spent doing
9494         CRCs.
9495
9496 2002-01-16  Juergen Vigna  <jug@sad.it>
9497
9498         * tabular.C (GetAdditionalHeight): one of error fixed.
9499
9500         * lyxrc.C (output): small fix in writing use_pspell.
9501
9502 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9503
9504         * sp_base.h: #include LString.h
9505
9506 2002-01-16  Allan Rae  <rae@lyx.org>
9507
9508         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9509         Can someone check this please?
9510
9511         * text.C (drawInset): It was possible that p.row would be removed by
9512         breakAgainOneRow upsetting a few other settings.  There may be another
9513         small tweak possible by setting need_break_row = 0 when p.row has been
9514         removed but I don't know enough about the logic here.
9515
9516 2002-01-15  Allan Rae  <rae@lyx.org>
9517
9518         * text.C (insertChar): removed conditional truism.
9519
9520         * BufferView2.C (removeAutoInsets): More tweaks.
9521         cur_par_prev could be a stray pointer.  Check for trailing empty line
9522         in case last line was cur_par and only had an error inset on it.
9523
9524 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9525
9526         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9527         absolute
9528
9529         * vc-backend.C (most methods):
9530         * exporter.C (Export):
9531         * converter.C (convert):
9532         (runLaTeX):
9533         * LyXSendto.C (SendtoApplyCB):
9534         * lyxfunc.C (dispatch):
9535         (menuNew):
9536         (open):
9537         (doImport):
9538         * lyx_cb.C (AutoSave):
9539         (InsertAsciiFile):
9540         * BufferView_pimpl.C (MenuInsertLyXFile):
9541         * buffer.C (runChktex): use Buffer::filePath().
9542
9543         * buffer.h: rename filename to filename_; rename filepath to
9544         filepath_ and make it private
9545         (filePath): new method
9546
9547         * buffer.C (writeFile): use fileName()
9548         (getLatexName):
9549
9550         * lyx_main.C (init): fix starting  of LyX when the binary is a
9551         link from so,ewhere else.
9552
9553         * minibuffer.C: include <cctype> for isprint
9554
9555 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9556
9557         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9558         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9559         name clash with InsetCollapsable's width function.
9560
9561 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9562
9563         * lastfiles.C: include <iterator>
9564
9565 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9566
9567         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9568         std::count.
9569
9570         * buffer.C (makeLaTeXFile): ditto.
9571         Also make loop operation more transparent.
9572
9573 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9574
9575         * ToolbarDefaults.C: remove trailing comma closing namespace.
9576
9577         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9578
9579         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9580         as in WorkArea.
9581
9582         * trans.C (Load): comment out unused variable, allowed.
9583
9584 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9585
9586         * minibuffer.[Ch] (append_char): new method to recieve input from the
9587         drop-down completion browser. If a key was pressed, then recieve this
9588         char and append it to the existing string.
9589         (peek_event): modify the positioning data passed to the completion
9590         browser so that it can be placed above the minibuffer rather than below.
9591 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9592
9593         * LyXAction.C (init): alloe error-next for readonly documents.
9594
9595         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9596         count.
9597
9598 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9599
9600         * bufferlist.C (readFile): create the buffer _after_ checking that
9601         the file exists.
9602
9603         * lyxfunc.C (verboseDispatch): fix handling of arguments
9604
9605         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9606
9607         * lyxrc.C: use string::erase() instead of initializing to "".
9608
9609
9610 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9611
9612         * BufferView_pimpl.h:
9613         * BufferView_pimpl.C:
9614         * WorkArea.h:
9615         * WorkArea.C:
9616         * text2.C: tell X when we have made a selection for copying
9617
9618 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9619
9620         * BufferView_pimpl.C (MenuInsertLyXFile):
9621         * lyxfunc.C (menuNew):
9622         (open):
9623         (doImport): add shortcuts to directory buttons
9624
9625         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9626         open a float)
9627
9628         * lyxfunc.C (setStatusMessage):
9629         (getStatusMessage): new methods
9630         (getStatus):use setStatusMessage instead of setErrorMessage
9631         (dispatch): when function is disabled, set error message here
9632         [instead of in getStatus previously]
9633
9634         * BufferView_pimpl.C (workAreaButtonRelease): update
9635         toolbar/menubar here too.
9636
9637 2002-01-13  Allan Rae  <rae@lyx.org>
9638
9639         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9640         Now seems indestructible.  Remaining task is to audit all other
9641         code affected by deleteEmptyParagraphMechanism.  One small quirk
9642         left is that an empty document with an error in the preamble can
9643         be made to report an error but no error box appears.  I don't know
9644         where it goes.
9645         (removeAutoInsets): Improved comments.
9646
9647 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9648
9649         * Thesaurus.h:
9650         * Thesaurus.C: update for Aiksaurus 0.14
9651
9652 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9653
9654         * text2.C (firstParagraph): removed member function, all uses
9655         replaces with ownerParagraph
9656         (redoParagraphs): here
9657         (updateInset): here
9658         (toggleAppendix): here
9659         * BufferView2.C (insertErrors): here
9660         (setCursorFromRow): here
9661
9662 2002-01-13  Allan Rae  <rae@lyx.org>
9663
9664         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9665         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9666         There is still a way to segfault this although you may have to do this
9667         multiple times: Have an InsetERT with an unknown command in it.
9668         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9669         <down-arrow>, <Enter> again, View->DVI, BANG!
9670
9671         * text2.C (setCursor):
9672         (deleteEmptyParagraphMechanism):
9673         * lyxtext.h (setCursor):
9674         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9675         Making use of the return value may help fix other bugs.
9676
9677 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9678
9679         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9680
9681         * LyXView.C (updateMenubar): call MenuBar::update here
9682         (updateToolbar): but not here
9683         (showState): do not update toolbar/menubar
9684
9685         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9686         should need to care about that.
9687
9688         * lyxfunc.C (verboseDispatch): simplify a bit
9689         (getStatus): have a version which takes a pseudoaction, and
9690         another which requires a (kb_action,string).
9691
9692         * LyXAction.C (retrieveActionArg): make it work also when action
9693         is not a pseudo-action.
9694         (getActionName): simplify a bit
9695         (helpText):
9696
9697 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9698
9699         * lyxfunc.C (verboseDispatch): new families of methods with
9700         several ways to specify a command and a bool to indicate whether
9701         the command name and shortcut should be displayed in minibuffer
9702         (eventually, we could extend that to a finer bitmask like
9703         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9704         (dispatch): the pristine dispatch command which just, well,
9705         dispatchs! Note it still sets its result to minibuffer; I'm not
9706         sure we want that.
9707
9708         * lyxfunc.h: remove setHintMessage
9709
9710         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9711
9712 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9713
9714         * BufferView_pimpl.C (specialChar): delete new inset if we have
9715         not been able to insert it.
9716
9717         * kbmap.C: revert to using int instead of kb_action, since all we
9718         are dealing with is pseudo-actions.
9719
9720         * LyXAction.C (searchActionArg): change to return int instead of
9721         kb_action, since the result is a pseudoaction.
9722
9723 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9724
9725         * buffer.C (insertErtContents): Fix (partially) the font bug.
9726
9727 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9728
9729         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9730         as the other one is broken on my machine!
9731
9732 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9733
9734         * commandtags.h:
9735         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9736
9737 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9738
9739         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9740         reflect their actual use. Provide compatibility code for older lyxrc
9741         files.
9742
9743         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9744         FL_NORMAL_STYLE.
9745         change names of popup font variables in line with the changes to lyxrc.C
9746
9747 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9748
9749         * buffer.C (asciiParagraph): avoid outputing a word twice after
9750         an inset.
9751
9752         * lyxrc.C (getDescription): document that document_path and
9753         template_path can be empty.
9754
9755 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9756
9757         * LaTeXFeatures.C (getMacros):
9758         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9759
9760         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9761
9762         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9763         getPackages.
9764         (getPackages): rename feature "floats" to "float". Use an array to
9765         iterate over 'simple' features (i.e. just a \usepackage). Add
9766         handling of "amsmath" (renamed from "amsstyle").
9767
9768 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9769
9770         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9771         features list.
9772
9773 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9774
9775         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9776         FuncStaus::FuncStatus & FuncStaus::some_method().
9777
9778 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9779
9780         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9781         of the func_satus stuff. Edited and massaged in various ways by
9782         JMarc.
9783
9784         * lyxfunc.C (getStatus): use FuncStatus
9785
9786 2002-01-08  Juergen Vigna  <jug@sad.it>
9787
9788         * text.C (nextBreakPoint): use function Inset::isChar().
9789
9790         * paragraph.C (TeXOnePar): use function
9791         Inset::forceDefaultParagraphs.
9792
9793         * buffer.C (latexParagraphs): use function
9794         Inset::forceDefaultParagraphs.
9795
9796 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9797
9798         * lyx_gui.C (init): set the style of the menu popups to
9799         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9800
9801 2002-01-07  Juergen Vigna  <jug@sad.it>
9802
9803         * text.C (setHeightOfRow): small fix
9804         (prepareToPrint): don't look at alignment if we don't have the place
9805         for doing it.
9806
9807 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9808
9809         * box.C: New file. Move the Box methods and functions out of box.h,
9810         following Lars' suggestion.
9811
9812 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9813
9814         * box.h: #include "support/LOstream.h", needed for inlined function.
9815
9816         * lyxtextclass.C:
9817         * lyxtextclasslist.C: added some using std declarations.
9818
9819 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9820
9821         * box.h: make signed dimensions to allow insets wider than
9822           the screen (bug #162)
9823
9824         * BufferView_pimpl.C: add some insetHit debug
9825
9826 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9827
9828         * vc-backend.C: add FIXME
9829
9830 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9831
9832         * lyxfunc.C (getStatus): enable code for showing math font status
9833         in toolbar/menu.
9834
9835 2002-01-07  Juergen Vigna  <jug@sad.it>
9836
9837         * text.C (nextBreakPoint): removed debug output not needed anymore.
9838
9839 2002-01-06  Juergen Vigna  <jug@sad.it>
9840
9841         * text.C (nextBreakPoint): fixed up this function we had this bug
9842         since ever but now hopefully we break row better.
9843         (insertChar): we have to check if an inset is the next char as it
9844         could now happen that a large inset is causing a break.
9845
9846 2002-01-05  Juergen Vigna  <jug@sad.it>
9847
9848         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9849         if it doesn't like to be drawed.
9850
9851 2002-01-04  Juergen Vigna  <jug@sad.it>
9852
9853         * BufferView2.C (lockInset): forgot to set a cursor.
9854
9855         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9856
9857 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9858
9859         * FormMathsPanel.C:
9860         * FormMathsPanel.h
9861         * MathsSymbols.C:
9862         * form_maths_panel.C:
9863         * form_maths_panel.h:
9864         * form_maths_panel.fd: implemented sub- and super- buttons in math
9865         panel.
9866
9867         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9868         (or ^ space) to be used as in TeX (req'd by André).
9869
9870         * lyxfunc.C: Allow ^ and _ again to be used both as
9871         super/subscript (mathed) and as themselves (in text).
9872
9873 2002-01-03  Allan Rae  <rae@lyx.org>
9874
9875         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9876         "LyX" or the filename of the current buffer if it has one.  This is a
9877         modified form of John Levon's patch.
9878
9879         * XFormsView.C (setWindowTitle): also set icon title.
9880
9881         * LyXView.h (setWindowTitle): signature changed.
9882         * XFormsView.h (setWindowTitle): ditto.
9883
9884 2002-01-02  Juergen Vigna  <jug@sad.it>
9885
9886         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9887
9888 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9889
9890         * screen.C (topCursorVisible): introduce a temp var for
9891         text->cursor.row(), handle the case where this row is null. (kindo
9892         hachish)
9893
9894         * text2.C (setCursor): add a couple of asserts.
9895
9896         * paragraph.h (inset_iterator): add -> operator
9897
9898         * paragraph.[Ch] (autoDeleteInsets): remove member function
9899
9900         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9901         cursor pos correctly and handle inset deletion by itself.
9902         (insertErrors): move iterator declaration out of for expression
9903
9904         * lyxtextclass.C: add <algorithm>
9905
9906         * Makefile.am: added the new files to sources, removed layout.C
9907
9908         * layout.C: removed file
9909
9910         * layout.h: remove LYX_DUMMY_LAYOUT
9911
9912         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9913         layout.
9914
9915         * lyxlayout.[Ch]:
9916         * lyxtextclass.[Ch]:
9917         * lyxtextclasslist.[Ch]: new files
9918
9919         * include order changes to a lot of files, also changes because of
9920         the six new files.
9921
9922 2001-12-27  Juergen Vigna  <jug@sad.it>
9923
9924         * buffer.C (asciiParagraph): more fixes.
9925
9926         * tabular.C (ascii): make ascii export support export of only the
9927         data separated by a column-delimiter.
9928         (ascii): better support for ascii export.
9929
9930         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9931
9932 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9933
9934         * tabular_funcs.C: use a "using std::getline" instead of the
9935         previous fix from Angus (necessary for cxx + lyxstring)
9936
9937 2001-12-24  Juergen Vigna  <jug@sad.it>
9938
9939         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9940
9941         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9942         problems. First check a minipage also if we have some ert-contents
9943         (not only on par->size(), second set the right depth of the paragraph
9944         on the relink to the root-paragraph-list!
9945
9946         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9947         which then did not anymore update the main paragraphs on undo/redo!
9948
9949 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9950
9951         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9952         code. Support all font-changing funcs (even those which are not in
9953         menu currently). Support for reporting font settings in
9954         mathed (disabled until Andre provides a function on mathed's side).
9955
9956         * func_status.h (toggle): small helper function to set toggle
9957         state on a flag.
9958
9959 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9960
9961         * tabular_funcs.C: getline -> std::getline
9962
9963 2001-12-21  Juergen Vigna  <jug@sad.it>
9964
9965         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9966         accessed and could be 0 (I couldn't generate this but it seems
9967         Michael could!).
9968
9969 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9970
9971         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9972         * tabular_funcs.h: here and include iosfwd
9973
9974 2001-12-20  Juergen Vigna  <jug@sad.it>
9975
9976         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9977         inside inset but undo_par was.
9978
9979 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9980
9981         * Thesaurus.C: always include <config.h> in sources.
9982
9983         * Painter.h:
9984         * lyxlookup.h:
9985         * box.h: do not include <config.h> in header files
9986
9987         * text.C (paintLastRow): remove unused variable
9988
9989         * text.C (transformChar):
9990         (insertChar):
9991         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9992
9993         * Painter.C (text):
9994         * font.C (width): rewrite to use uppercase() instead of
9995         islower/toupper.
9996
9997         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9998
9999 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10000
10001         * lyxfind.C: clean up of find failure position change
10002
10003 2001-12-20  Juergen Vigna  <jug@sad.it>
10004
10005         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10006
10007         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10008         (TeXRow): added to LaTeX a single tabular row.
10009         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10010         (Latex): simplified and finally good LT-h/f support.
10011         (various_functions): just small adaptions for LT-h/f support.
10012
10013         * tabular_funcs.[hC]: added and moved here all not classfunctions
10014         of LyXTabular.
10015
10016 2001-12-19  Juergen Vigna  <jug@sad.it>
10017
10018         * tabular.[Ch]: better support for longtabular options (not finished
10019         yet!)
10020
10021 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10022
10023         * text.C (paintLastRow): use the label font instead of the font of
10024         the last character to compute the size of *_BOX. This makes more
10025         sense and avoids a crash with empty paragraphs.
10026         Use Painter::rectangle to draw EMPTY_BOX.
10027
10028 2001-12-19  Juergen Vigna  <jug@sad.it>
10029
10030         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10031         the paragraphs if the replaced paragraph is not the first one!
10032         Tried to delete not used paragraphs but does not work yet so for
10033         now it's inside #ifdef's and by default off!
10034
10035 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10036
10037         * MenuBackend.C: include "lyx_main.h" instead of declaring
10038         lastfiles (actually was declared as LastFiles* instead of a
10039         scoped_ptr).
10040
10041 2001-12-17  Juergen Vigna  <jug@sad.it>
10042
10043         * tabular.C (AppendColumn): applied John's fix
10044
10045 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10046
10047         * BufferView.h:
10048         * BufferView.C:
10049         * BufferView_pimpl.h:
10050         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10051
10052         * Makefile.am:
10053         * box.h: new start of class for above
10054
10055         * lyxfunc.C: ignore space-only minibuffer dispatches.
10056           Show the command name when it doesn't exist
10057
10058         * minibuffer.C: don't add empty lines to the history
10059
10060         * minibuffer.C: add a space on dropdown completion
10061
10062 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10063
10064         * text.C: fix line above/below drawing in insets
10065
10066 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10067
10068         * lyxlength.C (LyXLength): Initialize private variables.
10069
10070 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10071
10072         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10073         when inserting error insets.
10074
10075 2001-12-13  Juergen Vigna  <jug@sad.it>
10076
10077         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10078         actually sometimes the before-paragraph.
10079         (setUndo): don't clear the redostack if we're not actually undoing!
10080
10081 2001-12-06  Juergen Vigna  <jug@sad.it>
10082
10083         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10084         and fixed redoing of main paragraph, so we can use it now ;)
10085
10086         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10087
10088 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10089
10090         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10091         Juergen's request
10092
10093 2001-12-13  André Pönitz <poenitz@gmx.net>
10094
10095         * undostack.[Ch]:
10096         * undo_func.C: minor cleanup
10097
10098 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10099
10100         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10101         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10102         font in urw-fonts package which is marked as -urw-fontspecific and
10103         does not work (incidentally, changing the encoding in the
10104         fonts.dir of this package to -adobe-fontspecific fixes the
10105         problem).
10106
10107         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10108         is a crash when undoing first paragraph (Juergen, please take a
10109         look). THis does not mean the undo fix is wrong, just that it
10110         uncovers problems.
10111
10112         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10113         the (Paragraph*) version when needed instead of duplicating the
10114         code.
10115
10116         * text.C (workWidth): use Inset::parOwner to find out where the
10117         inset has been inserted. This is a huge performance gain for large
10118         documents with lots of insets. If Inset::parOwner is not set, fall
10119         back on the brute force method
10120
10121         * paragraph_pimpl.C (insertInset):
10122         * paragraph.C (Paragraph):
10123         (cutIntoMinibuffer): set parOwner of insets when
10124         inserting/removing them
10125
10126         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10127
10128 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10129
10130         * commandtags.h:
10131         * LyXAction.C:
10132         * lyx_main.C:
10133         * lyxfunc.C:
10134         * mathed/formulabase.C:
10135         * mathed/math_cursor.[Ch]:
10136         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10137
10138
10139 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10140
10141         * lyxlength.[Ch] (operator!=): new function
10142
10143 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10144
10145         * text.C (workWidth): use Inset::parOwner to find out where the
10146         inset has been inserted. This is a huge performance gain for large
10147         documents with lots of insets. If Inset::parOwner is not set, fall
10148         back on the brute force method
10149
10150         * paragraph_pimpl.C (insertInset):
10151         * paragraph.C (Paragraph):
10152         (cutIntoMinibuffer): set parOwner of insets when
10153         inserting/removing them
10154
10155         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10156
10157 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10158
10159         * tabular-old.C (getTokenValue):
10160         * tabular.C (getTokenValue):
10161         (write_attribute): new versions for LyXLength
10162         (everywhere): adjust the use of widths
10163
10164         * tabular.h: change the type of widths from string to LyXLength
10165
10166 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10167
10168         * paragraph.C: fixed missing line number count when exporting
10169         Environments to LaTeX file
10170
10171         * buffer.C: added informational message for checking line numbers.
10172
10173 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10174
10175         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10176         paragraph, do the 'double space' part, but not the 'empty
10177         paragraph' one.
10178
10179         * text.C (workWidth): small optimization
10180         (getLengthMarkerHeight): use minimal size for negative lengths.
10181
10182 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10183
10184         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10185
10186         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10187
10188 2001-12-11  André Pönitz <poenitz@gmx.net>
10189
10190         * FontLoader.C:
10191         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10192
10193 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10194
10195         * text2.C: keep selection on a setFont()
10196
10197 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10198
10199         * lyx_cb.C: another bv->text misuse, from insert label
10200
10201 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10202
10203         * kbsequence.h:
10204         * kbsequence.C: re-instate nmodifier mask
10205
10206 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10207
10208         * lyx_main.h: make lyxGUI private.
10209
10210 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10211
10212         * lyxfind.C: place the cursor correctly on failed search
10213
10214 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10215
10216         * text.C (getLengthMarkerHeight): for small heights, the arrows
10217         are not always on top/bottom of the text
10218         (drawLengthMarker): smaller arrows; take the left margin in
10219         account; draw also vfills.
10220         (paintFirstRow):
10221         (paintLastRow): remove special code for vfill and standard spaces,
10222         since everything is handled in drawLengthMarker now.
10223
10224 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10225
10226         * buffer.C (insertErtContents): try to handle font and language
10227         interaction a bit better.g
10228
10229         * ColorHandler.C (updateColor): change the hash to cover the whole
10230         LColor enum, ws cleanup
10231         (getGCLinepars): ditto
10232         (getGCLinepars): only lookup in the linecache once.
10233
10234 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10235
10236         * iterators.C (operator++): Make the iterator more robust
10237
10238         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10239         (John's patch)
10240         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10241
10242 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10243
10244         * lyxtext.h:
10245         * text.C: better added space drawing
10246
10247 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10248
10249         * LyXView.C:
10250         * BufferView2.C: fix layout combo update on inset unlock
10251
10252 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10253
10254         * Makefile.am: don't compile unused files
10255
10256 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10257
10258         * lyxfunc.C:
10259         * commandtags.h:
10260         * LyXAction.C: remove old LFUN_LAYOUTNO
10261
10262 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10263
10264         * paragraph_pimpl.h:
10265         * paragraph_pimpl.C: isTextAt() doesn't need font param
10266
10267 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10268
10269         * lyxlex.h:
10270         * lyxlex.C: little cleanup
10271
10272 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10273
10274         * BufferView_pimpl.C: fix insertAscii for insets
10275
10276 2001-12-05  Juergen Vigna  <jug@sad.it>
10277
10278         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10279         set the right font on the "multi" paragraph paste!
10280
10281 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10282
10283         * trans_decl.h:
10284         * trans_mgr.[Ch]:
10285         * trans.[Ch]:
10286         * lyxgluelength.C:
10287         * lyxlength.C: remove out-commented code.
10288
10289         * BufferView_pimpl:
10290         * CutAndPaste.C:
10291         * DepTable.C:
10292         * buffer.C:
10293         * chset.C:
10294         * lastfiles.C:
10295         * lyxlex.C:
10296         * lyxlex_pimpl.C:
10297         * lyxserver.C:
10298         * screen.C:
10299         * tabular-old.C:
10300         * tabular.C:
10301         * text.C:
10302         * trans_mgr.C:
10303         * vc-backend.C: change "while(" to "while ("
10304
10305         * lyxlength.[Ch]: add zero function to check if length is zero or
10306         not
10307         * lyxgluelength.C: use it
10308
10309 2001-12-05  Allan Rae  <rae@lyx.org>
10310
10311         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10312         Works for 2.95.3, from what I understand of Garst's reports this should
10313         work for other g++ versions.  We're screwed if the abs(int) definition
10314         changed between bugfix releases of gcc.
10315
10316 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10317
10318         * text.C: fix chapter label offset !
10319
10320 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10321
10322         * lyxtext.h:
10323         * text.C: fix hfill at end of line, clean up
10324
10325 2001-12-04  Juergen Vigna  <jug@sad.it>
10326
10327         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10328         that we force an update of the inset and it's owners if neccessary.
10329
10330 2001-12-03  Juergen Vigna  <jug@sad.it>
10331
10332         * text.C (rowLast): simplified code
10333
10334 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10335
10336         * lyxfunc.C: fix show options on timeout
10337
10338 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10339
10340         * screen.C (topCursorVisible): scroll half a page when the cursor
10341         reached top of bottom of screen
10342
10343 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10344
10345         * minibuffer.C: deactivate on loss of focus
10346
10347 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10348
10349         * vspace.[Ch] (operator!=): add operator.
10350
10351 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10352
10353         * BufferView_pimpl.C: refuse to open an inset when
10354         there's a selection.
10355
10356 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10357
10358         * BufferView_pimpl.C: allow to click on RHS of full row insets
10359
10360 2001-11-30  Juergen Vigna  <jug@sad.it>
10361
10362         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10363         insets for undo reasons.
10364
10365 2001-11-28  André Pönitz <poenitz@gmx.net>
10366
10367         * vspace.[Ch]: cosmetical changes
10368
10369 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10370
10371         * LyXAction.h:
10372         * LyXAction.C:
10373         * lyxfunc.h:
10374         * lyxfunc.C:
10375         * kbmap.h:
10376         * kbmap.C:
10377         * lyxrc.C:
10378         * kbsequence.h:
10379         * kbsequence.C: part re-write of old kb code
10380
10381         * Painter.C:
10382         * WorkArea.C: remove Lgb_bug_find_hack
10383
10384 2001-11-30  José Matos <jamatos@fep.up.pt>
10385
10386         * buffer.C (makeDocBookFile): add a comment to point a hack.
10387         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10388         Fixed a double write of labels.
10389
10390 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10391
10392         * LaTeX.C:
10393         * LaTeX.h Fixed bug in LaTeX class where it would not
10394         re-run latex if no depfiles were changed, but the .dvi was removed.
10395
10396 2001-11-28  André Pönitz <poenitz@gmx.net>
10397
10398         * all the files from the change on 2001/11/26:
10399         use lyx::layout_type instead of LyXTextClass::size_type
10400         use lyx::textclass_type instead of LyXTextClassList::size_type
10401
10402 2001-11-29  Juergen Vigna  <jug@sad.it>
10403
10404         * text.C: added support for paragraph::isFreeSpacing()
10405
10406         * buffer.C: same as above
10407
10408         * paragraph.h: inserted isFreeSpacing() function to enable
10409         FreeSpacing inside InsetERT.
10410
10411         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10412         of the paragraph's in the cut/copy buffer to 0!
10413
10414         * text2.C (removeRow): remove the assert as it can!
10415
10416         * lyxtext.h: added helper function firstRow returning firstrow and
10417         made firstrow private again.
10418
10419         * BufferView2.C (lockInset): don't relock if we're already locked!
10420
10421         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10422         the only paragraph.
10423         (removeRow): added Assert::(firstrow)
10424
10425         * debug.C: forgot to add INSETTEXT here.
10426
10427 2001-11-28  Juergen Vigna  <jug@sad.it>
10428
10429         * sp_spell.C (initialize): changed error text to more general
10430         spellchecker command use (not only ispell!)
10431
10432         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10433
10434         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10435
10436 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10437
10438         * vspace.C: initialise lyxgluelength on failure
10439
10440 2001-11-28  Allan Rae  <rae@lyx.org>
10441
10442         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10443         declaration & definition that looks like a function declaration.
10444
10445 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10446
10447         * BufferView2.C (copy):
10448         (copyEnvironment): do not clear the selection when doing a copy.
10449
10450         * text.C (paintFirstRow): compilation fix
10451
10452 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10453
10454         * tabular.C (Latex): correct line count when writing latex.
10455
10456 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10457
10458         * paragraph_pimpl.h:
10459         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10460           bug a bit
10461
10462 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10463
10464         * text.C:
10465         * LColor.h:
10466         * LColor.C: change vfillline->added_space
10467
10468         * text.C: add markers and text for added space
10469
10470         * vspace.C: fix comment
10471
10472 2001-11-28  André Pönitz <poenitz@gmx.net>
10473
10474         * paragraph.C: whitespace changes
10475         * all the other files from the change on 2001/11/26:
10476         change *::pos_type into lyx::pos_type
10477
10478 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10479
10480         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10481         language of the document when inserting error insets.
10482
10483 2001-11-26  André Pönitz <poenitz@gmx.net>
10484
10485         * BufferView_pimpl.[Ch]:
10486         *       CutAndPaste.C:
10487         * buffer.[Ch]:
10488         * lyxcursor.[Ch]:
10489         * lyxfind.C:
10490         * lyxfunc.C:
10491         * lyxrow.[Ch]:
10492         * paragraph.[Ch]:
10493         * paragraph_pimpl.[Ch]:
10494         * sp_spell.C:
10495         * text.C:
10496         * text2.C: reduce header dependencies, introduce type for positions
10497
10498 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10499
10500         * <various>: change to use Alert.h
10501
10502 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10503
10504         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10505         when encountering an unknown token.
10506         (readLyXformat2): Show an error message if there were unknown tokens.
10507
10508 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10509
10510         * BufferView2.C:
10511         * BufferView_pimpl.C:
10512         * buffer.C:
10513         * paragraph.h:
10514         * text.C:
10515         * text2.C: use par->isInset()
10516
10517 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10518
10519         * paragraph_pimpl.h:
10520         * paragraph_pimpl.C: cleanup
10521
10522 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10523
10524         * text2.C (removeRow):
10525         * text.C (setHeightOfRow): remove useless (and costly) call to
10526         getRow.
10527
10528 2001-11-20  Allan Rae  <rae@lyx.org>
10529
10530         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10531         Now need Inset*::checkInsertChar() to return true for appropriate
10532         cases so that the characters in the minibuffer will actually be
10533         inserted.
10534
10535 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10536
10537         * text.C: change the order of the includes.
10538         (workWidth): initialize it at once.
10539         (workWidth): make maxw unsigned
10540         (setHeightOfRow): remove unused variable (inset)
10541         (selectSelectedWord): remove unused variable (inset)
10542         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10543
10544 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10545
10546         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10547         server is not running.
10548         (openConnection):
10549         (closeConnection): add debug info when server is disabled.
10550
10551         * ColorHandler.C (getGCForeground): send debug message to GUI
10552         channel.
10553
10554         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10555
10556         * kbmap.C (bind): modify because return conventions of
10557         kb_sequence::parse have changed.
10558
10559         * kbsequence.C (parse): only ignore spaces and not any stupid
10560         control character. This avoids tests like s[i] <= ' ', which are
10561         guaranteed to fail with 8bit characters and signed chars.
10562         Change return code to string::npos when there have been no error
10563         (0 was a bad idea when error is at first character)
10564
10565 2001-11-14  José Matos  <jamatos@fep.up.pt>
10566
10567         * buffer.h:
10568         * buffer.C (simpleDocBookOnePar): removed unused argument.
10569
10570 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10571
10572         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10573         insets which are part of a word. Paragraph::isLetter takes care of
10574         that now. Use Paragraph::isInset to identify insets.
10575         (selectSelectedWord): do not test for hyphenation break.
10576
10577         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10578         that protected spaces are considered as spaces.
10579
10580         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10581         Inset::isLetter.
10582
10583 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10584
10585         * lyxserver.h:
10586         * lyxserver.C: fix it. and small cleanup.
10587
10588 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10589
10590         * BufferView_pimpl.C: use inline helpers
10591
10592         * LaTeXFeatures.h:
10593         * LaTeXFeatures.C: fix typos
10594
10595         * Spacing.h:
10596         * Spacing.C: move spacing_string into class
10597
10598         * ToolbarDefaults.C: move stuff into namespace anon
10599
10600         * layout.h: update enum
10601
10602         * lyxfunc.C: use better debug
10603
10604         * minibuffer.h: fix typo
10605
10606         * debug.h:
10607         * debug.C:
10608         * WorkArea.C: add and use Debug::WORKAREA
10609
10610         * lyxtext.h:
10611         * text.C:
10612         * text2.C: code re-organisation, inline helpers
10613
10614 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10615
10616         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10617         std::vector.empty().
10618
10619 2001-11-09  Allan Rae  <rae@lyx.org>
10620
10621         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10622         '\n's after tables.  Tabular and ERT inset work now makes this no
10623         longer necessary.
10624
10625 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10626
10627         * minibuffer.h:
10628         * minibuffer.C: fix crash, improve drop-down completion
10629
10630 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10631
10632         * lyxserver.h:
10633         * lyxserver.C: invalidate fd's when doing endPipe()
10634
10635 2001-11-08  José Matos  <jamatos@fep.up.pt>
10636
10637         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10638         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10639
10640         * paragraph.h:
10641         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10642
10643 2001-11-07  José Matos  <jamatos@fep.up.pt>
10644
10645         * buffer.h:
10646         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10647         const qualifier.
10648
10649         * buffer.C (sgmlOpenTag):
10650         * buffer.C (sgmlCloseTag): removed debug info.
10651
10652         * buffer.h (sgmlOpenTag):
10653         * buffer.h (sgmlCloseTag): made public.
10654
10655 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10656
10657         * buffer.C (saveParamsAsDefaults):
10658         * lyx_cb.C (MenuLayoutSave): remove
10659
10660         * LyXAction.C (init):
10661         * commandtags.h:
10662         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10663
10664 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10665
10666         * buffer.C (setPaperStuff): removed from here...
10667
10668         * bufferparams.C (setPaperStuff): ... and moved there.
10669
10670 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10671
10672         * minibuffer.h:
10673         * minibuffer.C:
10674         * XFormsView.C: add support for drop-down completion
10675
10676 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10677
10678         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10679         commands.
10680
10681 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10682
10683         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10684         disabled.
10685
10686 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10687
10688         * lyx_main.C: change ref to known bugs
10689
10690 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10691
10692         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10693         to work around older babel problems.
10694
10695 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10696
10697         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10698
10699 2001-10-24  Juergen Vigna  <jug@sad.it>
10700
10701         * tabular-old.C (ReadOld): below variable changes reflected.
10702
10703         * tabular.[Ch]: added ltType struct for longtable header/footer
10704         defines and changed all instances where they are used. Added
10705         future support for double top/bottom rows.
10706
10707 2001-10-24  José Matos  <jamatos@fep.up.pt>
10708
10709         * buffer.h (docbookHandleCaption):
10710         * buffer.C (docbookHandleCaption): removed unused function.
10711         (makeDocBookFile): moved docbook supported version to v4.1.
10712
10713 2001-10-24  José Matos  <jamatos@fep.up.pt>
10714
10715         * tabular.h:
10716         * tabular.C (docbookRow): new function to export docbook code of a row.
10717         (DocBook): now honors the longtable flags.
10718
10719 2001-10-23  José Matos  <jamatos@fep.up.pt>
10720
10721         * LaTeXFeatures.h:
10722         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10723         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10724
10725         * buffer.C (makeLinuxDocFile):
10726         (makeDocBookFile): reworked the preamble, more clean, and with
10727         support for lyx defined entities. Changed the document declaration
10728         to be more XML friendly.
10729
10730         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10731         if we need to output XML that should be done with a filter.
10732
10733 2001-10-22  Juergen Vigna  <jug@sad.it>
10734
10735         * sp_pspell.h (class PSpell): add alive function needed in the
10736         controller to see if the spellchecker could be started.
10737
10738 2001-10-22  Juergen Vigna  <jug@sad.it>
10739
10740         * buffer.C (insertStringAsLines): modify the font for inserting
10741         chars in certain conditions by calling checkInsertChar(font).
10742
10743 2001-10-19  Juergen Vigna  <jug@sad.it>
10744
10745         * text.C (workWidth): use getRow instead of wrong algorithm.
10746         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10747
10748 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10749
10750         * lyxserver.h:
10751         * lyxserver.C:
10752         * lyx_main.h:
10753         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10754
10755 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10756
10757         * text.C (workWidth): do not search for the exact row when
10758         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10759         optimization for big documents.
10760
10761 2001-10-18  Juergen Vigna  <jug@sad.it>
10762
10763         * text.C (workWidth): new function with added Inset * parameter.
10764
10765 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10766
10767         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10768
10769         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10770         change return type of getColumnNearX.
10771
10772
10773         * text.C (changeRegionCase): use uppercase/lowercase instead of
10774         toupper/tolower.
10775         (leftMargin):
10776         (rightMargin): simplify code by factoring out the uses of
10777         textclasslist.
10778         (labelFill):
10779         (numberOfHfills):
10780         (setHeightOfRow):
10781         (appendParagraph): use Paragraph::size_type
10782
10783 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10784
10785         * vspace.C (asLatexString): add a missing break
10786
10787 2001-10-15  Herbert Voss  <voss@perce.de>
10788
10789         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10790
10791 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10792
10793         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10794         is not available.
10795
10796 2001-10-10  André Pönitz <poenitz@gmx.net>
10797
10798         * lyxfunc.C: removed greek_kb_flag.
10799
10800 2001-10-10  Herbert Voss  <voss@perce.de>
10801
10802         * lyx_main.C: delete global string help_lyxdir.
10803
10804 2001-10-09  Herbert Voss  <voss@perce.de>
10805
10806         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10807
10808         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10809
10810         * lyx_main.C: added global string help_lyxdir.
10811
10812         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10813
10814 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10815
10816         * lyxrc.C (set_font_norm_type): support iso8859-4
10817
10818 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10819
10820         * LaTeX.C (deplog): add another regex for MikTeX
10821
10822 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10823
10824         * lyxrc.C (set_font_norm_type): support iso8859-3
10825
10826 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10827
10828         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10829
10830         * LaTeXFeatures.C: remove special case of french and index
10831
10832         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10833         before \begin{document}). This solves several incompatibilities.
10834
10835 2001-10-03  Garst Reese  <reese@isn.net>
10836
10837         * lyx_cb.C: change CheckTex error msg.
10838
10839 2001-10-03  José Matos  <jamatos@fep.up.pt>
10840
10841         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10842
10843 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10844
10845         * .cvsignore: update
10846
10847         * lyx_main.C (commandLineVersionInfo): use new style version info.
10848
10849         * buffer.C (writeFile):
10850         (makeLaTeXFile):
10851         (makeLinuxDocFile):
10852         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10853
10854         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10855
10856         * version.h: update to use stuff in version.C
10857
10858         * version.C.in: new file. Contains version information determined
10859         at compile time. This is a merging of version.h and
10860         version_info.h.in.
10861
10862 2001-10-03  Juergen Vigna  <jug@sad.it>
10863
10864         * BufferView_pimpl.C (update): don't change "dirty" status in
10865         updateInset call.
10866
10867 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10868
10869         * WorkArea.C (c-tor): re-position version string slightly.
10870
10871 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10872
10873         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10874         revert to previous code.
10875
10876         WorkArea.[Ch]: (show, destroySplash): methods removed.
10877
10878         WorkArea.C: rework code so that it's an amalgam of the codes before and
10879         after the splash screen was moved to WorkArea.
10880
10881 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10882
10883         * lyxrc.C (read):
10884         * vspace.C (inPixels):
10885         (lyx_advance):
10886         * kbmap.C (bind):
10887         * buffer.C (insertStringAsLines):
10888         (asciiParagraph): fix types to be large enough
10889
10890         * lyxlex_pimpl.h: change member status from short to int
10891
10892         * layout.h: fix type of endlabeltype
10893
10894         * kbmap.C (bind):
10895         * kbsequence.C (parse): change return type to string::size_type
10896
10897         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10898         variable
10899
10900         * Bullet.C (bulletSize):
10901         (bulletEntry): do not use short ints as parameters
10902
10903         * BufferView2.C (insertLyXFile): change a char to an int.
10904
10905         * WorkArea.C (WorkArea): remove unneeded floats in computation
10906
10907 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10908
10909         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10910
10911         * paragraph.C (asString): Do not ignore newline/hfill chars when
10912         copying to the clipboard.
10913
10914 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10915
10916         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10917         after a multi-line inset.
10918
10919 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10920
10921         * paragraph.C (validate): Set NeedLyXFootnoteCode
10922
10923 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10924
10925         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10926         and decrease-error to decrease.
10927
10928 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10929
10930         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10931         it more readable (should be equivalent)
10932
10933 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10934
10935         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10936
10937 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10938
10939         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10940         of a cursor (row, etc.) after a character has been deleted
10941         (deleteEmptyParagraphMechanism): call the method above on _all_
10942         cursors held by the LyXText when a double space has been
10943         detected/deleted.
10944
10945 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10946
10947         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10948         pixmap.
10949         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10950
10951         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10952         background. Use greyOut() and the new show() methods to toggle between
10953         the foreground and background. Add code to remove the splash after
10954         its initial showing.
10955
10956         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10957         (create_forms): no longer call Dialogs::showSplash.
10958
10959 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10960
10961         * .cvsignore: add version_info.h
10962
10963 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10964
10965         * version_info.h.in: new file
10966
10967         * Makefile.am: add version_info.h.in
10968
10969         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10970         version_info.h instead of VERSION_INFO
10971
10972 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10973
10974         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10975         The ERT inset now returns string().
10976
10977 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10978
10979         * lyxtext.h, text.C (selectNextWord): renamed as
10980         selectNextWordToSpellcheck.
10981
10982         * text.C (selectNextWordToSpellcheck): Modified to not select
10983         words inside an ERT inset.
10984
10985 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10986
10987         * lyx_cb.C (MenuLayoutSave): change a bit the question
10988
10989         * sp_base.h: include <sys/types.h>
10990
10991 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10992
10993         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10994
10995 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10996
10997         * several files: fix typos in user-visible strings
10998
10999 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11000
11001         * text2.C (pasteSelection): do not set the selection, since it
11002         will be cleared later. Actually, the intent was to fix the way the
11003         selection was set, but I figured rmoving the code was just as good.
11004
11005 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11006
11007         * FontLoader.C (available): Check if font is available without
11008         loading the font.
11009
11010 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11011
11012         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11013
11014 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11015
11016         * lyxrc.[Ch]: added display_graphics variable and associated code.
11017
11018 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11019
11020         * bufferparams.C (hasClassDefaults): new method. Returns true if
11021         the buffer parameters correspond to known class defaults
11022
11023 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11024
11025         * XFormsView.C (show): set minimum size to the main window.
11026
11027 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11028
11029         * text2.C (copySelection):
11030         (cutSelection):
11031         * lyxfind.C (LyXReplace):
11032         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11033         LyXText::selectionAsString.
11034
11035         * paragraph.C (asString): add "label" argument to the second form
11036
11037         * text2.C (selectionAsString): add "label" argument and pass it to
11038         Paragraph::asString.
11039
11040 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11041
11042         * lyx_main.C (commandLineHelp): remove version information
11043
11044 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11045
11046         * lyx_main.C: add -version commandline option
11047
11048 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11049
11050         * paragraph.h: make the optional constructor arg required instead.
11051         some modifications to other files because of this.
11052
11053         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11054
11055         * lyxserver.C (C_LyXComm_callback): make it static
11056
11057         * lyx_main.C (error_handler): make it static
11058
11059         * lyx_gui.C (LyX_XErrHandler): make it static
11060
11061         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11062
11063         * WorkArea.C: make the extern "C" methods static.
11064
11065         * Makefile.am (lyx_LDADD): simplify
11066
11067 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11068
11069         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11070         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11071
11072         * LyXAction.C (init):
11073         * lyxfunc.C (dispatch): associated code removal.
11074
11075 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11076
11077         * lyxfont.h (isSymbolFont): shut off warning
11078
11079         * text.C (setHeightOfRow):
11080         (getVisibleRow): fix crash with empty paragraphs which have a
11081         bottom line
11082
11083 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11084
11085         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11086         code.
11087
11088 2001-09-04  José Matos  <jamatos@fep.up.pt>
11089         * buffer.C
11090         * buffer.h
11091         * tabular.C (docbook): rename docBook method to docbook.
11092
11093 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11094
11095         * Makefile.am: add dependencies to main.o.
11096
11097 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11098
11099         * FontLoader.C (available): Return false if !lyxrc.use_gui
11100
11101 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11102
11103         * FontInfo.C (query):
11104         * converter.C (view):
11105         * importer.C (Import):
11106         * exporter.C (Export): Can not -> cannot.
11107
11108 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11109
11110         * BufferView_pimpl.C: allow to create index inset even if
11111           string is empty
11112
11113 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11114
11115         * buffer.C (getLists): replace boost::tie code with an explicit pair
11116         as boost::tie can break some compilers.
11117
11118         * iterators.h: Added a std:: declaration to the return type of
11119         ParIterator::size.
11120
11121 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11122
11123         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11124           case.
11125
11126 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11127
11128         * iterators.[Ch]: New files. Provide paragraph iterators.
11129
11130         * buffer.C (changeLanguage): Use paragraph iterators.
11131         (isMultiLingual): ditto
11132
11133         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11134
11135 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11136
11137         * FontLoader.C: Support for cmr font.
11138
11139 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11140
11141         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11142         (available): New method.
11143
11144         * FontInfo.C (getFontname): Use scalable fonts even when
11145         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11146         found.
11147
11148 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11149
11150         * converter.C (Formats::view): reverted! Incorrect fix.
11151
11152 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11153
11154         * converter.C (Formats::view): only output the -paper option
11155         if the dvi viewer is xdvi, thereby fixing bug #233429.
11156
11157 2001-08-23  Herbert Voss  <voss@perce>
11158
11159         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11160
11161 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11162
11163         * Spacing.h (Spacing): Set space to Default on in the default
11164         constructor.
11165
11166 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11167
11168         * vc-backend.h (RCS::versionString): add RCS to version
11169         (CVS::versionString): add CVS to version
11170
11171         * vc-backend.C (scanMaster): do not add CVS to version.
11172         (scanMaster): do not add RCS to version
11173
11174         * lyxvc.C (versionString): new method
11175
11176         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11177
11178 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11179
11180         * Spacing.C (set): initialize fval
11181
11182 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11183
11184         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11185         " or \.
11186
11187 2001-08-16  Juergen Vigna  <jug@sad.it>
11188
11189         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11190
11191 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11192
11193         * BufferView_pimpl.C:
11194         * figureForm.C:
11195         * lyxtext.h:
11196         * text2.C: setParagraph takes linespacing now
11197
11198 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11199
11200         * LyxAction.C: add internal LFUN_CITATION_INSERT
11201
11202         * LyXView.C: actually apply fix
11203
11204         * bufferlist.C: fix open non-existent file
11205
11206         * lyxfind.C: fix indentation
11207
11208         * lyxfunc.C: remove unneeded assert, fix typo
11209
11210 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11211
11212         * MenuBackend.C: use "Floatname List"
11213
11214 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11215
11216         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11217         when converting LaTeX layout to insetERT.
11218         Generate a non-collapsed float when reading old float
11219
11220 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11221
11222         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11223         ERT insets.
11224
11225 2001-08-13  Juergen Vigna  <jug@sad.it>
11226
11227         * text.C (fill): return 0 instead of 20 as this seems to be the more
11228         correct value.
11229
11230 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11231
11232         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11233         lyxrc.font_norm.
11234
11235 2001-08-13  Juergen Vigna  <jug@sad.it>
11236
11237         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11238         casesensitive off.
11239         (SearchBackward): comment out the unlocking of the inset_owner this
11240         should not be needed!
11241
11242 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11243
11244         * Many files: Remove inherit_language, and add latex_language
11245
11246         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11247         collapsible insets.
11248
11249 2001-08-10  Juergen Vigna  <jug@sad.it>
11250
11251         * text.C (prepareToPrint): fixed hfill-width in draw!
11252
11253         * BufferView2.C (selectLastWord): save the selection cursor as this
11254         now is cleared in the function LyXText::clearSelection!
11255
11256 2001-08-08  Juergen Vigna  <jug@sad.it>
11257
11258         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11259         BACKSPACE type functions.
11260
11261         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11262         is only cutted from the document but not put in the cut-buffer, where
11263         still the old stuff should be.
11264
11265         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11266
11267         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11268
11269         * tabular.C (SetWidthOfCell): fixed special case where the width
11270         was not updated!
11271         (LeftLine): handle '|' in align_special.
11272         (RightLine): ditto
11273         (LeftAlreadyDrawed): ditto
11274         (SetWidthOfCell): ditto
11275
11276 2001-08-07  Juergen Vigna  <jug@sad.it>
11277
11278         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11279
11280 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11281
11282         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11283         * lyxlex.[hC]: ditto
11284
11285 2001-08-06  Juergen Vigna  <jug@sad.it>
11286
11287         * text.C (getVisibleRow): fix up row clearing a bit.
11288
11289 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11290
11291         * minibuffer.C: make sure the X server sees the changes in the input.
11292
11293 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11294
11295         * paragraph.C (getFont): split into...
11296         (getLabelFont): this
11297         (getLayoutFont): and this
11298         * paragraph_pimpl.C (realizeFont): calling this
11299
11300         * text2.C (getFont): split into...
11301         (getLayoutFont): this
11302         (getLabelFont): and this
11303         (realizeFont): all three calling this
11304
11305         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11306         files where used.
11307
11308 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11309
11310         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11311
11312 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11313
11314         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11315         layouts from the Quote inset insertion.
11316
11317 2001-08-03  Juergen Vigna  <jug@sad.it>
11318
11319         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11320
11321         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11322         only if status not is already CHANGED_IN_DRAW (second level).
11323
11324         * text.C (draw): don't set the need_break_row when inside an
11325         InsetText LyXText.
11326
11327 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11328
11329         * buffer.C (parseSingleLyXformat2Token): handle more latex
11330         conversion cases.
11331
11332         * bufferview_funcs.[hC]: change function names to
11333         begin with small char, adjust other files.
11334
11335 2001-08-02  André Pönitz <poenitz@gmx.net>
11336
11337         * lyxfunc.C:
11338         BufferView_pimpl.C: remove broken special code for math-greek
11339
11340 2001-08-02  Juergen Vigna  <jug@sad.it>
11341
11342         * BufferView_pimpl.C (update): redone this function so that we
11343         update the text again if there was a CHANGE_IN_DRAW.
11344
11345         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11346         (drawFromTo): added a new internal bool which is used by draw() and
11347         redraw() function.
11348         (general): some cursor drawing problems fixed.
11349
11350 2001-08-01  Juergen Vigna  <jug@sad.it>
11351
11352         * lyxfind.C (LyXFind): fixed
11353         (SearchForward): ditto
11354         (SearchBackward): ditto
11355
11356         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11357         spurius drawing of the cursor in the main area.
11358
11359         * text2.C (status): small fix which could lead to a segfault!
11360         (clearSelection): remove unneeded BufferView param.
11361
11362 2001-08-01  André Pönitz <poenitz@gmx.net>
11363
11364         * lyxfunc.C: small change due to changed mathed interface
11365
11366 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11367
11368         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11369
11370 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11371
11372         * lyxfunc.c: fail gracefully if file doesn't exist
11373
11374         * LyXSendto.C:
11375         * buffer.C:
11376         * lyxfunc.C:
11377         * BufferView_pimpl.C: IsDirWriteable() proto changed
11378
11379         * LyXView.C: fix updateWindowTitle() to store the last title
11380
11381 2001-07-31  Juergen Vigna  <jug@sad.it>
11382
11383         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11384         the font (wrong since using of Paragraph::highestFontInRange).
11385
11386         * paragraph.C (highestFontInRange): added a default_size parameter.
11387
11388         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11389         (setHeightOfRow): reformat
11390
11391 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11392
11393         * converter.[hC] + affected files: move to (inital-char)lowercase
11394         function names.
11395
11396         * ParagraphParameters.C (ParagraphParameters): remove commented code
11397
11398         * PainterBase.[Ch]: remove commented code
11399
11400         * LaTeXFeatures.h: add "bool floats" for float.sty
11401
11402         * LaTeXFeatures.C (LaTeXFeatures): init floats
11403         (require): handle float
11404         (getPackages): do it with floats
11405
11406 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11407
11408         * BufferView_pimpl.C (Dispatch): improve handling of
11409         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11410
11411         * commandtags.h: #include lyxfont.h here temporarily to avoid
11412         keybinding bug.
11413
11414         * bufferlist.h: include LString.h here.
11415
11416 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11417
11418         * text2.C (getStringToIndex): new method.
11419
11420 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11421
11422         * *: Reduced header file dependencies all over.
11423
11424 2001-07-30  Baruch Even  <baruch@lyx.org>
11425
11426         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11427
11428 2001-07-29  Baruch Even  <baruch@lyx.org>
11429
11430         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11431
11432 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11433
11434         * ParameterStruct.h (endif): add a default constructor to make
11435         sure that all variables is initialized.
11436
11437         * ParagraphParameters.C (ParagraphParameters): adjust
11438
11439 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11440
11441         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11442         index; also, check that there is something to index, and that it
11443         does not span over several paragraphs.
11444         (doubleClick): use WHOLE_WORD_STRICT for double click.
11445
11446         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11447
11448         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11449         scheme.
11450
11451 2001-07-26  Baruch Even  <baruch@lyx.org>
11452
11453         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11454         an InsetFig figure, backwards compatible reading of old figure code.
11455
11456 2001-07-27  Juergen Vigna  <jug@sad.it>
11457
11458         * text2.C: font.realize function adaption.
11459
11460         * text.C (draw): add a warnings lyxerr text if needed.
11461
11462         * layout.C: font.realize function adaption.
11463
11464         * language.C: add inherit_language and implement it's handlings
11465
11466         * bufferview_funcs.C (StyleReset): remove language parameter from
11467         font creation (should be language_inherit now).
11468
11469         * bufferparams.C (writeFile): handle ignore_language.
11470
11471         * paragraph.C (getFontSettings): the language has to be resolved
11472         otherwise we have problems in LyXFont!
11473
11474         * lyxfont.C (lyxWriteChanges): added document_language parameter
11475         (update): removed unneeded language parameter
11476
11477         * paragraph.C (validate): fixed wrong output of color-package when
11478         using interface colors for certain fonts in certain environments,
11479         which should not seen as that on the final output.
11480
11481 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11482
11483         * BufferView_pimpl.C:
11484         * Thesaurus.h:
11485         * Thesaurus.C:
11486         * Makefile.am:
11487         * commandtags.h:
11488         * LyXAction.C: add thesaurus support
11489
11490         * lyxfind.h:
11491         * lyxfind.C: add "once" parameter, for thesaurus, to not
11492           move to the next match
11493
11494 2001-07-26  Juergen Vigna  <jug@sad.it>
11495
11496         * lyxfont.C (realize): honor ignore_language too!
11497         (resolved): ditto.
11498
11499         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11500
11501         * text.C (draw): one place more for ignore_language to not draw
11502         itself!
11503
11504 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11505
11506         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11507
11508 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11509
11510         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11511         the minipage conversion problem.
11512
11513 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11514
11515         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11516         insert an inset.
11517
11518 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11519
11520         * BufferView.h: don't forward declare WorkArea
11521
11522         * BufferView.C: don't include WorkArea.h
11523
11524 2001-07-25  André Pönitz <poenitz@gmx.net>
11525
11526         * commandtags.h:
11527         * LyXAction.C:
11528         * lyxfunc.C:  new LFUN 'math-space'
11529
11530         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11531
11532 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11533
11534         * text2.C (toggleInset): call open/close
11535
11536 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11537
11538         * lyxfunc.C (dispatch): add debug for the disabled case
11539
11540         * font.C (buttonText): make similar to rectText
11541
11542         * buffer.C (readInset): comment out parsing of insetlist and
11543         insttheorem
11544
11545         * PainterBase.C (rectText): small correction
11546
11547         * BufferView_pimpl.C: comment out insettheorem and insetlist
11548         * LyXAction.C: ditto
11549         * commandtags.h: ditto
11550
11551 2001-07-24  Juergen Vigna  <jug@sad.it>
11552
11553         * text.C (draw): honor the ignore_language.
11554
11555         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11556
11557 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11558
11559         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11560         char inset.
11561
11562 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11563
11564         * lyxtext.h: remove unused (and unimplemented) methods
11565
11566 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11567
11568         * text.C (getVisibleRow): honor background color
11569
11570         * PainterBase.h:
11571         * Painter.h: remove default color argument for fillRectangle
11572
11573         * text.C (backgroundColor): new method
11574
11575 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11576
11577         * text.C (getVisibleRow): adjust
11578
11579         * font.[Ch] (rectText): new method, metrics
11580         (buttonText): new method, metrics
11581
11582         * PainterBase.[hC]: make rectText and buttonText always draw and take
11583         fewer paramteres.
11584
11585 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11586
11587         * ToolbarDefaults.C (read):
11588         * MenuBackend.C (read): allow escaping in all strings
11589
11590         * BufferView_pimpl.C (insertAndEditInset): new method.
11591         (Dispatch): use insertAndEditInset whenever appropriate.
11592
11593         * BufferView_pimpl.C (insertNote): removed
11594
11595         * BufferView_pimpl.C (smartQuote): new method, moved from
11596         BufferView; if an insetquote cannot be inserted, insert a '"'
11597         character instead.
11598
11599         * BufferView2.C: remove insertCorrectQuote();
11600
11601         * lyxfunc.C (getStatus): Add support for all remaingin
11602         inset-insert lfuns.
11603
11604         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11605
11606         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11607         command (necessary to pass " as parameter of self-insert.
11608
11609         * text.C (selectWordWhenUnderCursor):
11610         (selectWord): add word_location parameter
11611         (selectWordWhenUnderCursor): same + remove special code for word
11612         boundary.
11613         (selectNextWord): use kind() to guess type of insetspecialchar,
11614         not latex().
11615
11616         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11617         (insertErtContents): create ert insets as collapsed.
11618         (readInset): better compatibility code for Info inset.
11619
11620 2001-07-20  Juergen Vigna  <jug@sad.it>
11621
11622         * lyxfunc.C (dispatch): use always LyXFind now!
11623
11624         * text2.C (init): add a reinit flag so that the LyXText can be
11625         reinited instead of deleted and reallocated (used in InsetText).
11626
11627         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11628
11629         * text.C: ditto
11630
11631         * text2.C: ditto
11632
11633 2001-07-18  Juergen Vigna  <jug@sad.it>
11634
11635         * text.C (selectNextWord): handle insets inside inset by calling
11636         always the bv->text functions so that we can go up the_locking_inset!
11637
11638         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11639         in strange locations when inside an inset!
11640
11641         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11642         handling to include insets.
11643
11644         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11645
11646 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11647
11648         * LyXAction.C (init):
11649         * commandtags.h:
11650         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11651         LIGATURE_BREAK, since the name is so stupid.
11652
11653 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11654
11655         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11656         InsetInfos.
11657
11658         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11659
11660         * sp_form.[Ch]: remove.
11661
11662         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11663
11664         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11665         InsetInfo.
11666
11667         * src/buffer.C (readInset): ditto.
11668
11669 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11670
11671         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11672         menuSeparator(), endOfSentenceDot(), ldots() and
11673         hyphenationPoint(), which are therefore removed.
11674         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11675
11676         * LyXAction.C (init):
11677         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11678
11679         * paragraph.C (getWord): removed.
11680
11681         * BufferView_pimpl.C (Dispatch): use last word or selection for
11682         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11683
11684         * lyx_main.C (queryUserLyXDir): do not ask before creating
11685         user_dir, except if it has been named explicitely.
11686
11687 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11688
11689         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11690         a document of zero size.
11691
11692 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11693
11694         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11695         approriately in the c-tor and in require().
11696         (getPackages): output the appropriate LaTeX for natbib support.
11697
11698         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11699         variables "use_natbib" and "use_numerical_citations" when reading the
11700         LyX file.
11701         (readInset): read the various natbib cite commands.
11702         (validate): white-space change.
11703
11704         * bufferparams.[Ch]: new variables "bool use_natbib" and
11705         "bool use_numerical_citations".
11706         (writeFile): output them in the LyX file.
11707
11708 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11709
11710         * lyxfunc.C (getStatus): add support for all the inset insertion
11711         commands.
11712
11713         * text2.C (insertInset):
11714         * paragraph.C (insetAllowed):
11715         * BufferView_pimpl.C (insertInset): update to take in account the
11716         renaming of insertInsetAllowed
11717
11718         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11719
11720         * text2.C (getInset): new method. returns inset at cursor position.
11721
11722         * BufferView_pimpl.C (Dispatch): changes because of this.
11723
11724         * LyXAction.C (init): rename open-stuff to inset-toggle.
11725
11726         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11727
11728         * text2.C (toggleInset): renamed from openStuff; use
11729         Inset::open().
11730
11731 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11732
11733         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11734
11735         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11736
11737 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11738
11739         * buffer.C (readLyXformat2): Add filename to the error dialog
11740
11741 2001-07-18  Juergen Vigna  <jug@sad.it>
11742
11743         * tabular.C (GetCellNumber): put an assert here instead of the check!
11744
11745 2001-07-17  Juergen Vigna  <jug@sad.it>
11746
11747         * BufferView_pimpl.C (toggleSelection): adapted too.
11748
11749         * text.C (selectNextWord): adapted for use with insets.
11750         (selectSelectedWord): ditto
11751
11752 2001-07-17  Juergen Vigna  <jug@sad.it>
11753
11754         * sp_spell.C (PSpell): fix initialitation order.
11755
11756 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11757
11758         * paragraph.C: spacing
11759
11760 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11761
11762         * sp_spell.C: repair language selection for pspell
11763
11764 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11765
11766         * lyxfunc.h: change more methods to begin with lower char.
11767
11768 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11769
11770         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11771         for unknown layouts.
11772
11773 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11774
11775         * buffer.C (readLyXformat2): Generate an error dialog if there are
11776         unknown layouts.
11777
11778 2001-07-16  Juergen Vigna  <jug@sad.it>
11779
11780         * sp_spell.C: always compile ISpell part.
11781
11782         * lyxrc.C: added use_pspell entry and it's handling.
11783
11784 2001-07-13  Juergen Vigna  <jug@sad.it>
11785
11786         * sp_spell.C: removed double includes.
11787
11788 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11789
11790         Consistent use of Lsstream.h:
11791         * Lsstream.h: added using std::stringstream for consistencies sake.
11792
11793         * buffer.C: removed using std::stringstream
11794
11795         * lyxfont.C (stateText):
11796         * paragraph.C (asString):
11797         * text.C (selectNextWord, selectSelectedWord):
11798         * text2.C (setCounter):
11799         * vspace.C (asString, asLatexString):
11800         std::ostringstream -> ostringstream.
11801
11802 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11803
11804         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11805         * commandtags.h: add LFUN_HELP_ABOUTLYX
11806         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11807
11808 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11809
11810         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11811         cursorToggle()
11812         * lyx_gui_misc.C: remove spellchecker
11813         * lyxfunc.C: showSpellchecker
11814         * sp_base.h: added
11815         * sp_ispell.h: added
11816         * sp_pspell.h: added
11817         * sp_spell.C: added
11818         * sp_form.[Ch]: removed
11819         * spellchecker.[Ch]: removed
11820
11821 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11822
11823         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11824         is set.
11825         (simpleTeXSpecialChars): Simply print the input character without
11826         any special translation if pass_thru is set.
11827
11828         * layout.h: Added bool pass_thru to layout class for being able to
11829         implement pass through of a paragraph for Literate Programming.
11830
11831         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11832         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11833         * layout.C (Read): add "passthru" to list of layout tags and add
11834         code to set the pass_thru boolean when it is read.
11835
11836 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11837
11838         * trans_decl.h: remove allowed from KmodInfo
11839
11840         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11841         remove allowed code
11842         (Load): adjust
11843
11844         * paragraph_pimpl.C (erase): use boost::prior
11845
11846         * Painter.C (text): use data() instead of c_str() when length is
11847         also provided.
11848         * WorkArea.C (putClipboard): ditto
11849         * font.h (width): ditto
11850
11851         * BufferView2.C: use it-> instead of (*it). for iterators
11852         * texrow.C: ditto
11853         * paragraph_pimpl.C: ditto
11854         * paragraph.C: ditto
11855         * minibuffer.C: ditto
11856         * language.C: ditto
11857         * kbmap.C: ditto
11858         * encoding.C: ditto
11859         * counters.C: ditto
11860         * converter.C: ditto
11861         * chset.C: ditto
11862         * Variables.C: ditto
11863         * TextCache.C: ditto
11864         * MenuBackend.C: ditto
11865         * LyXAction.C: ditto
11866         * LColor.C: ditto
11867         * FloatList.C: ditto
11868         * DepTable.C: ditto
11869         * ColorHandler.C (LyXColorHandler): ditto
11870
11871 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11872
11873         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11874
11875         * text2.C (openStuff): reintroduce this method (which had been
11876         nuked in NEW_INSETS frenzy).
11877
11878         * lyxfunc.C (Dispatch): when an action has not been handled, use
11879         its name in the error message, not its number.
11880
11881         * paragraph.C (inInset): change method name to begin with lowercase.
11882
11883         * undo_funcs.C:
11884         * text2.C: updates because of this.
11885
11886 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11887
11888         * ToolbarDefaults.C (add): add spaces in error message
11889
11890 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11891
11892         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11893         (readLyXformat2): rename return_par to first_par, use lyxlex's
11894         pushToken and remove the manual push handling.
11895         (parseSingleLyXformat2Token): add another ert comp. variable:
11896         in_tabular, rename return_par to first_par. handle newlines better
11897
11898 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11899
11900         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11901
11902 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11903
11904         * text2.C (getParFromID): removed
11905
11906         * buffer.C (getParFromID): new method moved form lyxtext.
11907         * BufferView2.C (insertErrors): adjust
11908         (setCursorFromRow): adjust
11909         * BufferView_pimpl.C (restorePosition): adjust
11910         * lyxfunc.C (Dispatch): adjust
11911         * undo_funcs.C (textUndo): adjust
11912         (textRedo): adjust
11913         (textHandleUndo): adjust
11914         (textHandleUndo): adjust
11915
11916 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11917
11918         * buffer.C: up' the LYX_FORMAT
11919
11920         * lyxfont.h: turn NO_LATEX on as default
11921
11922         * buffer.C (insertErtContents): new methods of tex style compability.
11923         (parseSingleLyXformat2Token): use it several places.
11924         * tabular.C (OldFormatRead): and here
11925
11926 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11927
11928         * text2.C: remove some commented code.
11929         reindent file.
11930
11931         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11932         * trans.C: changes because of the above.
11933
11934 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11935
11936         * text2.C (setCounter): Fix counters bug with bibliography layout.
11937
11938 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11939
11940         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11941         own member functions
11942         (simpleTeXSpecialChars): ditto
11943
11944 2001-07-06  Juergen Vigna  <jug@sad.it>
11945
11946         * a lot of files: changed the access to LyXText::status and the
11947         call of undo-functions.
11948
11949         * undo.[Ch]: added a inset_id to the undo informations.
11950
11951         * undo_funcs.[Ch]: added and moved here all undo functions.
11952
11953         * lyxtext.h: give the status enum a weight, made status_ a private
11954         variable and made accessor functions for it, removed the whole bunch
11955         of undo-functions as they are now in their own file, make some
11956         functions publically available. Added function ownerParagraph with
11957         int parameter.
11958
11959         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11960         made InInset() a const function, added getParFromID() function.
11961
11962         * buffer.[Ch]: added const version for inset_iterator functions,
11963         added getInsetFromID() function.
11964
11965         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11966         changed undo functions for new version.
11967
11968 2001-07-05  Juergen Vigna  <jug@sad.it>
11969
11970         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11971         unknow mechanism does not call the proper constructor but only this
11972         one also if I request the other!?
11973
11974 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11975
11976         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11977
11978         * text2.C (LyXText): use initialization lists.
11979
11980         * lyxtext.h (Selection): initialize set_ and mark_
11981         (init): remove method
11982
11983 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11984
11985         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11986
11987 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11988
11989         * screen.[Ch]: change method names to begin with lowercase
11990
11991         * BufferView_pimpl.C (updateScrollbar): simplify further and
11992         hopefully make it a bit faster.
11993
11994 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11995
11996         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11997         calling directly xforms functions.
11998
11999         * Painter.C (Painter):
12000         * lyx_cb.C (MenuWrite):
12001         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12002         fl_display.
12003
12004         * lyx_gui.C: remove bogus guiruntime extern declaration.
12005
12006 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12007
12008         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12009         in NEW_INSETS
12010         (redoDrawingOfParagraph): ditto
12011         (redoParagraphs): ditto
12012         (cutSelection): don't create a object for CutAndPaste use the
12013         static method directly
12014         (pasteSelection): ditto
12015
12016         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12017         LyXview (+ rename)
12018
12019 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12020
12021         * modifications to some other files because of this.
12022
12023         * Makefile.am (lyx_SOURCES): add XFormsView
12024
12025         * XFormsView.[Ch]: new files
12026
12027         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12028         the main window. Move the gui dependent stuff to XFormsView
12029
12030 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12031
12032         * tabular.C (GetCellInset): update cur_cell also in the row/col
12033         version of this function.
12034
12035         * lyxfunc.C: no need to include figure_form.h here.
12036
12037         * FontLoader.h:
12038         * lyxfunc.h:
12039         * lyxscreen.h:
12040         * text2.C:
12041         * lyxvc.C: no need to include forms.h here.
12042
12043 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12044
12045         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12046
12047         * lyxfunc.C (Dispatch):
12048         * Spacing.C (set):
12049         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12050         constructor argument.
12051
12052 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12053
12054         * paragraph.C (Paragraph): dont't clear, and just set layout.
12055         (makeSameLayout): use params's copy contructor.
12056
12057         * ParagraphParameters.[Ch] (makeSame): delete method
12058
12059 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12060
12061         * Variables.[Ch]: fix indentation, rename set to isSet
12062
12063 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12064
12065         * lyxfunc.C (Dispatch): fix typo
12066
12067 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12068
12069         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12070         upper_bound.
12071
12072         * bufferlist.C: include assert.h for emergencyWrite().
12073
12074 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12075
12076         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12077           give up at last (bug #425202) !
12078
12079 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12080
12081         * lyx_gui_misc.C:
12082         * sp_form.h:
12083         * sp_form.C:
12084         * spellchecker.h:
12085         * spellchecker.C: strip spellchecker options and bring up
12086           preferences tab instead
12087
12088 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12089
12090         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12091         the istringstream constructor
12092
12093 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12094
12095         * paragraph.C (getLayout): fix return value
12096
12097         * paragraph.h: do not declare getLayout as inline.
12098
12099         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12100
12101 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12102
12103         * lyxcursor.h (operator<): new func
12104         (operator>): new func
12105         (operator>=): new func
12106         (operator<=): new func
12107
12108         * text.C (changeCase): use selection.start and selection.end
12109         (changeRegionCase): require from to be <= to. Require par to be a
12110         valid paragraph.
12111
12112         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12113
12114 2001-06-27  Juergen Vigna  <jug@sad.it>
12115
12116         * text.C (cursorLeftOneWord): changed to return the cursor and added
12117         overlay with BufferView * parameter which calls this one.
12118         (getWord): added
12119         (selectWord): use new getWord function.
12120         (changeCase): renamed from changeWordCase as and extended to work
12121         also on selections.
12122
12123         * lyxtext.h: added enum word_location
12124
12125         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12126         changeCase as this operates now also on selections.
12127
12128 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12129
12130         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12131
12132         * many files: send debug output to Debug::INFO instead of
12133         Debug::ANY.
12134
12135         * converter.C (View):
12136         (Convert):
12137         (Move): send debug output to Debug::FILES instead of console.
12138
12139 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12140
12141         * lyxfunc.C (getStatus): use func_status
12142
12143         * func_status.h: new header, describing the results of
12144         LyXFunc::getStatus;
12145
12146         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12147         LFUN_MATH_HALIGN.
12148
12149 2001-06-25  The LyX Project  <jug@sad.it>
12150
12151         * buffer.C (sgmlOpenTag):
12152         (sgmlCloseTag):
12153         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12154
12155 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12156
12157         * text2.C: remove some dead code
12158
12159         * tabular.C (GetCellInset): store the last cell checked (gotten)
12160
12161         * tabular.h: add the helper for the speedup
12162
12163         * lyxtext.h: remove some dead code
12164
12165 2001-06-26  The LyX Project  <Asger>
12166
12167         * paragraph.C: Change export to LaTeX of alignment to
12168         \begin{center} and family for better roundtrip work with reLyX.
12169
12170         * Tune the math drawing a bit.
12171
12172 2001-06-25  The LyX Project  <Asger>
12173
12174         * LColor.C (LColor): New color for math background. New color
12175         for buttons.
12176
12177 2001-06-25  The LyX Project  <jug@sad.it>
12178
12179         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12180
12181         * lyxfunc.C (Open):
12182         * bufferlist.C (newFile): do not restrict to files ending with
12183         .lyx
12184
12185         * BufferView_pimpl.C (MenuInsertLyXFile):
12186
12187 2001-06-24  The LyX Project  <jug@sad.it>
12188
12189         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12190         of compare_no_case
12191
12192 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12193
12194         * lyxtext.h: rename most methods to begin with a small char.
12195         Lots of changes because of this.
12196
12197         * paragraph.C (Paragraph): do not call fitToSize
12198         (erase): call Pimpl::erase
12199         (insertChar): call Pimpl::insertChar
12200         (insertInset): call Pipl::insertInset
12201         (breakParagraph): do not call fitToSize
12202         (breakParagraphConservative): do not call fitToSize
12203         (fitToSize): remove method
12204
12205         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12206
12207 2001-06-24  The LyX Project  <Asger>
12208
12209         * Fix Qt compilation^2
12210
12211 2001-06-24  The LyX Project  <jug@sad.it>
12212
12213         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12214         depthHook(getDepth()-1).
12215
12216         * paragraph.h:
12217         * ParagraphParameters.h:
12218         * ParameterStruct.h: change type of depth to unsigned int ==
12219         depth_type. Many adaptations to other files before of that.
12220
12221 2001-06-24  The LyX Project  <Asger>
12222
12223         * Fix Qt compilation.
12224
12225 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12226
12227         * paragraph.h: renamed several methods to begin with small letter.
12228         several changes to many parts of the code because of this.
12229
12230 2001-06-23  The LyX Project  <jug@sad.it>
12231
12232         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12233         rewritten to discard all double spaces when KeepEmpty is off
12234         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12235         to only handle newlines but not fiddle with spaces and friends.
12236
12237         * lyxfunc.C (MenuNew): when doing 'new from template', use
12238         template_path as default directory
12239
12240 2001-06-23  The LyX Project  <Asger>
12241
12242         * Clean-up of header file includes all over
12243         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12244
12245 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12246
12247         * paragraph.h: renamed from lyxparagraph.h
12248
12249 2001-06-23  Asger  <lyx@violet.home.sad.it>
12250
12251         * Buffer.h: Removed Buffer::resize
12252         * BufferList.h: Removed BufferList::resize
12253         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12254         the document lazily when we change the width, or the font settings.
12255
12256 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12257
12258         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12259
12260 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12261
12262         * buffer.h: remove out of date comment
12263
12264 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12265
12266         * lyxscreen.h:
12267         * screen.C: fix "theoretical" GC leak
12268
12269 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12270
12271         * LaTeX.C (scanAuxFile):
12272         (deplog): remove trailing \r when reading stream (useful under
12273         win32)
12274
12275 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12276
12277         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12278         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12279         and BufferView::theLockingInset(Inset*), so should use them and not
12280         access bv_->text->the_locking_inset directly.
12281
12282         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12283
12284 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12285
12286         * Makefile.am:
12287         * tex-defs.h: remove old unused file
12288
12289 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12290
12291         * BufferView_pimpl.C: fix typo, remove minibuffer message
12292           when buffer has loaded
12293
12294 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12295
12296         * lyxfunc.C (Dispatch): use stringstream
12297         (MenuNew): use stringstream
12298         (Open): use stringstream
12299
12300         * importer.C (Import): use stringstream
12301
12302         * bufferview_funcs.C (CurrentState): use stringstream
12303
12304         * LaTeX.C (run): use stringstream
12305
12306         * BufferView_pimpl.C (savePosition): use stringstream
12307         (restorePosition): use stringstream
12308         (MenuInsertLyXFile): use stringstream
12309
12310 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12311
12312         * BufferView.C:
12313         * Bullet.C:
12314         * ColorHandler.C:
12315         * FontInfo.C:
12316         * FontLoader.C:
12317         * LColor.C:
12318         * LaTeXFeatures.C:
12319         * Painter.C:
12320         * gettext.C:
12321         * lyx_gui_misc.C:
12322         * lyxserver.C:
12323         * vspace.C: removed // -*- C++ -*- as first line.
12324
12325         * lyxfind.h:
12326         * version.h: added // -*- C++ -*- as first line.
12327
12328 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12329
12330         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12331
12332         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12333         of string
12334
12335 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12336
12337         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12338         of floats.
12339
12340 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12341
12342         * gettext.C: include LString.h even when --disable-nls is on.
12343
12344 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12345
12346         * converter.h (Get): changed argument type from int to
12347         FormatList::size_type to avoid unnecessary conversion.
12348
12349         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12350         before using it.
12351
12352 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12353
12354         * gettext.h: include LString.h even when --disable-nls is on.
12355
12356 2001-06-07  Juergen Vigna  <jug@sad.it>
12357
12358         * text.C (BreakAgain): subst spaces with tabs.
12359
12360         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12361         (resizeInsetsLyXText): set force on resizeLyXText.
12362
12363 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12364
12365         * gettext.h (gettext_init):
12366         (locale_init): use a real definition instead of a macro
12367
12368 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12369
12370         * Bufferview_pimpl.C:
12371         * LColor.h:
12372         * LColor.C: further lcolor tidies
12373
12374 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12375
12376         * BufferView_pimpl.C (updateScrollbar): simplify.
12377
12378         * BufferView2.C: don't include insets/insetinfo.h, change
12379         prototype for insertInset and call the Pimpl version. let
12380         updateInset call Pimpl version.
12381
12382         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12383         gotoInset to BufferView::Pimpl
12384
12385 2001-06-01  Juergen Vigna  <jug@sad.it>
12386
12387         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12388         inside a LockingInset (is the update needed at all?).
12389
12390 2001-05-31  Juergen Vigna  <jug@sad.it>
12391
12392         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12393         here not the old one otherwise how should we compare it afterwards
12394         if it's the same!
12395
12396 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12397
12398         * lyxfont.C:
12399         * tabular.C:
12400         * tabular-old.C:
12401         * FontInfo.C: bring C functions into global namespace when
12402         necessary
12403
12404 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12405
12406         * LString.h: make sure config.h has been loaded before LString.h.
12407
12408         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12409         (one for each char read by EatLine!).
12410
12411         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12412         variables.
12413
12414 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12415
12416         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12417         to the same as the par we break from
12418
12419 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12420
12421         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12422
12423         * MenuBackend.C (expand): also create menu entries for wide
12424         versions of the floats.
12425
12426         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12427
12428         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12429
12430         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12431         frontends/Makefile.am
12432
12433         * text2.C: adjust
12434         * text.C: adjust
12435
12436
12437         * tabular.C (getTokenValue): add std::
12438
12439         * tabular-old.C (getTokenValue): add std::
12440         (getTokenValue): ditto
12441         (getTokenValue): ditto
12442
12443         * screen.C (ToggleSelection): adjust
12444
12445         * lyxtext.h: put selection cursors inside a Selection struct.
12446
12447         * lyxfunc.C (moveCursorUpdate): adjust
12448
12449         * lyxfont.C (latexWriteStartChanges): add std::
12450
12451         * lyxfind.C: adjust
12452
12453         * font.h: delete with(char const *, LyXFont const &)
12454
12455         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12456
12457         * FontInfo.C (getFontname): add std::
12458
12459         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12460         (workAreaButtonPress): adjust
12461         (tripleClick): adjust
12462         (update): adjust
12463         (moveCursorUpdate): adjust
12464         (Dispatch): adjust
12465
12466         * BufferView2.C (gotoInset): adjust
12467
12468 2001-05-30  Juergen Vigna  <jug@sad.it>
12469
12470         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12471         to check pspell I add this as default as I now have new pspell
12472         libraries and they seem to use this.
12473
12474 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12475
12476         * text2.C (CutSelection): make the cursor valid before the call to
12477         ClearSelection.
12478
12479 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12480
12481         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12482         relied on 0 terminated strings and other horrors. Bug found due to
12483         the new assert in lyxstring!
12484
12485         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12486         KP_ keys.
12487
12488 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12489
12490         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12491         to latinkeys.bind.
12492
12493         * lyxfunc.C (processKeySym): change method of getting to the
12494         self-insert char.
12495
12496         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12497         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12498         * BufferView_pimpl.[Ch]: here as private methods.
12499
12500 2001-05-28  Juergen Vigna  <jug@sad.it>
12501
12502         * text.C (SetHeightOfRow): added the update() call again as it is
12503         needed to initialize inset dimensions!
12504
12505 2001-05-16  Juergen Vigna  <jug@sad.it>
12506
12507         * text2.C (SetCharFont): Add new function with BufferView * and
12508         bool toggleall parameters for setting insets internal fonts.
12509         (SetFont): Freeze the undo as we may change fonts in Insets and
12510         all this change should be inside only one Undo!
12511
12512         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12513         setting font's in insets as for them we have the SetFont function!
12514
12515 2001-05-15  Juergen Vigna  <jug@sad.it>
12516
12517         * text2.C (ClearSelection): to be sure we REALLY don't have any
12518         selection anymore!
12519
12520         * tabular.C (TeXCellPreamble): fixed the left border problem for
12521         multicolumn cells.
12522
12523 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12524
12525         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12526         dependancy file
12527
12528 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12529
12530         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12531         LFUN_BREAKPARAGRAPH.
12532
12533         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12534         help test to "internal only", similar for LFUN_INSERT_URL
12535
12536         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12537         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12538         auto_region_delete and deadkeys.
12539
12540 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12541
12542         * LColor.h:
12543         * LColor.C: remove some dead entries, tidy a little
12544
12545 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12546
12547         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12548         commented code.
12549         (Dispatch): implement LFUN_ESCAPE
12550
12551         * commandtags.h: add LFUN_ESCAPE
12552
12553         * LyXAction.C (init): add entry for LFUN_ESCAPE
12554
12555         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12556         Remove commented code.
12557         (insertNote): moved here
12558         (open_new_inset): moved here
12559
12560         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12561         BufferView_pimpl
12562
12563 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12564
12565         * kbmap.C (findbinding): clean it up and make it work correctly.
12566
12567         * lyx_main.C (init): do not pass argc and argv as parameters
12568
12569 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12570
12571         * buffer.C: fix path for OS/2 & Win32
12572
12573         * lyx_gui.C:
12574         * lyx_main:
12575         * lyx_main.C: Added os:: class.
12576
12577         * os2_defines.h: update
12578
12579 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12580
12581         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12582         better by trying again with reduced state.
12583
12584 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12585
12586         * lyxrc.C (read): print error about invalid key sequence only when
12587         debugging (because not all latinX keysyms are known to some X
12588         servers)
12589
12590         * kbsequence.C (getiso): add a few std:: qualifiers
12591         (getiso): comment out extra return statement.
12592
12593 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12594
12595         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12596         handling.
12597         (Dispatch): enhance the accent inset a bit. (not perfect)
12598
12599 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12600
12601         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12602
12603 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12604
12605         * bufferlist.C (emergencyWrite): fix assert() call
12606
12607 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12608
12609         * text.C (InsertChar): Added trivial patch to only send the "you
12610         can not do multiple spaces this way" message once during a
12611         session.
12612
12613 2001-05-08  Baruch Even  <baruch@lyx.org>
12614
12615         * Makefile.am: Changed order of libraries to get LyX to link properly
12616         with the gnome frontend.
12617
12618 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12619
12620         * LaTeXFeatures.h: add a std:: qualifier
12621
12622 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12623
12624         * paragraph.C (String): use stringstream
12625
12626 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12627
12628         * paragraph.C (writeFile): remove footflag arg
12629
12630         * buffer.C (makeLaTeXFile): use stringstream
12631         (latexParagraphs): remove footnot gurba
12632
12633         * LaTeXFeatures.C (getPackages): use stringstream
12634         (getMacros): likewise
12635         (getTClassPreamble): likewise
12636         (getFloatDefinitions): new method
12637
12638         * paragraph.C (writeFile): reindent
12639         (Erase): reindent
12640
12641         * WorkArea.h: revert the xpos + etc changes.
12642
12643         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12644
12645         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12646
12647         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12648         (pasteSelection): likewise
12649         * text2.C (CreateUndo): likewise
12650
12651 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12652
12653         * minibuffer.C (peek_event): temporarily reduce the functionality
12654         of the minibuffer (to allow args on lfuns)
12655
12656         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12657         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12658
12659         * buffer.C (readInset): add compability reading of old float
12660         lists, add reading of new style float list.
12661         (readInset): avoid reevaluation of inscmd.getCmdName()
12662         (getLists): reindent
12663
12664         * MenuBackend.C (MenuItem): implement parsing of
12665         md_floatlistinsert and md_floatinsert.
12666         (expand::LastFiles): move initalizaton of iterators out of loop,
12667         avoid reevaluation.
12668         (expand::Documents): introduce typdedef vector<string> Strings,
12669         and use it.
12670         (expand::ExportFormats): introduce typedef vector<Format const *>
12671         Formats, and use it.
12672         (expand): implement FloatListInsert and FloatInsert.
12673
12674         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12675         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12676         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12677
12678         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12679         handling.
12680         (Dispatch::LFUN_FLOAT_LIST): implement
12681
12682 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12683
12684         * LaTeX.C (run): Fix problem with --export code.
12685
12686 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12687
12688         * BufferView.[Ch] (workarea): removed.
12689         (getClipboard) new method; wrapper for workarea()->getClipboard()
12690
12691         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12692         bug.
12693
12694         * WorkArea.h (width, height, xpos, ypos): These methods all
12695         returned the dimensions of the work_area sub-area of WorkArea,
12696         resulting in a position error if the WorkArea were resized. Now
12697         return the dimensions of the entire WorkArea.
12698
12699         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12700
12701 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12702
12703         * LaTeX.C (deplog): correct the syntax of regex reg1
12704
12705 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12706
12707         * undo.C: remove !NEW_INSETS cruft
12708
12709 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12710
12711         * text2.C: remove !NEW_INSETS cruft
12712
12713         * text.C: remove !NEW_INSETS cruft
12714
12715         * tabular.C: remove !NEW_INSETS cruft
12716
12717         * spellchecker.C: remove !NEW_INSETS cruft
12718
12719         * lyxtext.h: remove !NEW_INSETS cruft
12720
12721         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12722
12723         * lyxfunc.C: remove !NEW_INSETS cruft
12724
12725         * lyxfind.C: remove !NEW_INSETS cruft
12726
12727         * lyx_cb.C: remove !NEW_INSETS cruft
12728
12729         * figureForm.C: remove  !NEW_INSETS cruft
12730
12731         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12732
12733         * buffer.[Ch]: remove !NEW_INSETS cruft
12734
12735         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12736
12737         * CutAndPaste.C: remove !NEW_INSETS cruft
12738
12739         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12740
12741         * BufferView2.C: remove !NEW_INSETS cruft
12742
12743         * BufferView.h: remove !NEW_INSETS cruft
12744
12745 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12746
12747         * Lsstream.h: include LString.h before the sstream headers to
12748         fix problem with gcc 2.95.3 and lyxstring
12749
12750 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12751
12752         * lyx_main.C: add using directives when needed for C functions
12753         declared in std:: namespace.
12754
12755 2001-04-27  Juergen Vigna  <jug@sad.it>
12756
12757         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12758         (SetHeightOfRow): comment out the update call should not be needed!
12759
12760 2001-04-13  Juergen Vigna  <jug@sad.it>
12761
12762         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12763         (LyXTabular): tried to minimize operator= operations (and realized
12764         hopfully Lars wish).
12765
12766 2001-04-27  Juergen Vigna  <jug@sad.it>
12767
12768         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12769
12770 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12771
12772         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12773
12774         * buffer.C (readInset): hack to make listof algorithm work
12775
12776         * BufferView_pimpl.C: hack to make listof algorithm work
12777
12778 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12779
12780         * LyXAction.C: removed all !NEW_INSETS cruft
12781         (init): moved lfun_item in method
12782
12783         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12784
12785 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12786
12787         * BufferView2.C (theLockingInset): white space.
12788
12789 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12790
12791         * minibuffer.C: include <iostream>
12792
12793         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12794
12795         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12796
12797         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12798
12799         * text.[Ch] (TransposeChars): new method
12800
12801 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12802
12803         * call message directly through LyXView instead of through LyXFunc
12804         * BufferView2.C: adjust
12805         * BufferView_pimpl.C: adjust
12806         * FontLoader.C: adjust
12807         * buffer.C: adjust
12808         * bufferview_funcs.C: adjust
12809         * converter.C: adjust
12810         * figureForm.C: adjust
12811         * importer.C: adjust
12812         * lyx_cb.C: adjust
12813         * lyx_gui_misc.C: adjust
12814         * lyxfunc.C: adjust
12815         * lyxvc.C: adjust
12816         * text2.C: adjust
12817         + more files in subdirs
12818
12819         * lyxparagraph.h (size): move up int file
12820         (GetLayout): ditto
12821
12822         * adjust all uses of Assert to lyx::Assert.
12823
12824         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12825         lyxfunctional in namespace lyx
12826         * layout.C (hasLayout): ditto
12827         (GetLayout): ditto
12828         (GetLayout): ditto
12829         (delete_layout): ditto
12830         (NumberOfClass): ditto
12831         * converter.C (GetFormat): ditto
12832         (GetNumber): ditto
12833         (Add): ditto
12834         (Delete): ditto
12835         (SetViewer): ditto
12836         * bufferlist.C (getFileNames): ditto
12837         (emergencyWriteAll): ditto
12838         (exists): ditto
12839         (getBuffer): ditto
12840         * MenuBackend.C (hasSubmenu): ditto
12841         (hasMenu): ditto
12842         (getMenu): ditto
12843         * BufferView_pimpl.C (getInsetByCode): ditto
12844
12845 2001-04-18  Juergen Vigna  <jug@sad.it>
12846
12847         * vspace.C (asLatexString): fixed the 100% problem.
12848
12849 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12850
12851         * lyxfunc.C (Dispatch):
12852         * minibuffer.C:
12853         * minibuffer.h: add a few std:: qualifiers
12854
12855 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12856
12857         * minibuffer.[Ch]: reimplement so that commands is initiated and
12858         run from lyxfunc, simplified som handling, and made the completion
12859         and history code for complete. wip.
12860
12861         * lyxfunc.C (processKeySym): call message
12862         (miniDispatch): new temporary method
12863         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12864         (LFUN_MESSAGE): implement
12865         (LFUN_MESSAGE_PUSH): implement
12866         (LFUN_MESSAGE_POP): implement
12867         (initMiniBuffer): the initial/defualt minibuffer message.
12868
12869         * lyxfont.[Ch]: inline some more getters
12870
12871         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12872
12873         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12874
12875         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12876         (AutoSave): use LFUN_MESSAGE
12877         (Reconfigure): ditto
12878
12879         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12880
12881         * figureForm.C: use LFUN_MESSAGE
12882
12883         * converter.C (runLaTeX): use LFUN_MESSAGE
12884
12885         * bufferview_funcs.C: use LFUN_MESSAGE
12886         (Melt): ditto
12887         (changeDepth): ditto
12888
12889         * bufferparams.h: use boost::
12890
12891         * bufferlist.h: inherit privately from noncopyable
12892
12893         * bufferlist.C (loadLyXFile): remove some commented code.
12894
12895         * buffer.C (runChktex): use LFUN_MESSAGE
12896
12897         * ShareContainer.h: inherit privately from noncopyable
12898
12899         * ParagraphParameters.[hC] (depth): inline it.
12900
12901         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12902         methods.
12903         (message): new method
12904         (messagePush): ditto
12905         (messagePop): ditto
12906         (show): init minibuffer
12907         (showState): direct call
12908
12909         * LaTeX.[Ch]: inherit privately from noncopyable
12910         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12911         instead of WriteStatus.
12912
12913         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12914
12915         * BufferView_pimpl.C (buffer): don't init minibuffer
12916         (workAreaButtonPress): use LFUN_MESSAGE
12917         (workAreaButtonRelease): ditto
12918         (savePosition): ditto
12919         (restorePosition): ditto
12920         (MenuInsertLyXFile): ditto
12921         (workAreaExpose): don't init minibuffer
12922         (update): remove commented code, simplify
12923
12924         * BufferView2.C (openStuff): use LFUN_MESSAGE
12925         (toggleFloat): ditto
12926         (menuUndo): ditto
12927         (menuRedo): ditto
12928         (copyEnvironment): ditto
12929         (pasteEnvironment): ditto
12930         (copy): ditto
12931         (cut): ditto
12932         (paste): ditto
12933         (gotoInset): ditto
12934         (updateInset): remove some commented code
12935
12936         * lastfiles.h: inherit privately from noncopyable
12937         * layout.h: ditto
12938         * lyx_gui.h: ditto
12939         * lyx_main.h: ditto
12940         * lyxlex.h: ditto
12941         * lyxlex_pimpl.h: ditto
12942
12943         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12944         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12945         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12946
12947         * LyXAction.h: inherit privately from noncopyable, add methods
12948         func_begin, func_end, returning iterators to the func map.
12949
12950         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12951         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12952         (func_begin): new method
12953         (func_end): new method
12954
12955         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12956         and not)
12957         (copySelection): ditto
12958         (pasteSelection): ditto
12959
12960         * BufferView.C: whitespace change
12961         * BufferView.h: inherit privately from noncopyable
12962
12963 2001-04-16  Allan Rae  <rae@lyx.org>
12964
12965         * tabular-old.C (l_getline):
12966         * spellchecker.C (sc_check_word):
12967         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12968         an unrecognised preprocessor directive.  So ensure they're wrapped.
12969
12970 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12971
12972         * src/exporter.C (Export): Give an error message when path to file
12973         contains spaces.
12974
12975 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12976
12977         * LaTeX.C (deplog): Always check that foundfile exists.
12978
12979 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12980
12981         * lyx_main.h:
12982         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12983
12984 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12985
12986         * tabular.[Ch] (getLabelList): implement new method
12987
12988         * minibuffer.h: comment ouf setTiimer
12989
12990         * minibuffer.C (ExecutingCB): constify res
12991         (peek_event): constify s
12992         (Set): constify ntext
12993         (Init): constify nicename
12994
12995         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12996
12997         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12998         (savePosition): use two params to Minibuffer::Set
12999         (restorePosition): ditto
13000
13001 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13002
13003         * lyx_main.C: include language.h
13004
13005         * Makefile.am (lyx_main.o): add language.h
13006
13007 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13008
13009         * exporter.C:
13010         * paragraph.C:
13011         * screen.C:
13012         * tabular.C:
13013         * CutAndPaste.C: include gettext.h
13014
13015         * lyxfont.h: remove old hack with ON and OFF.
13016
13017         * lyxparagraph.h:
13018         * lyxfont.h: do not include language.h...
13019
13020         * BufferView2.C:
13021         * LaTeXFeatures.C:
13022         * Painter.C:
13023         * bufferview_funcs.C:
13024         * font.C:
13025         * lyxfont.C:
13026         * text.C:
13027         * text2.C:
13028         * trans_mgr.C:
13029         * paragraph.C: ... but do it here instead
13030
13031 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13032
13033         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13034
13035         * tabular.C: small reformat
13036
13037         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13038         NEW_INSETS version
13039         (GetChar): ditto
13040         (BreakParagraph): ditto
13041         (SetOnlyLayout): ditto
13042         (SetLayout): ditto
13043
13044         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13045         with one arg less.
13046
13047         * lastfiles.C: removed most using decl, add std:: where needed
13048
13049         * buffer.C: ws changes
13050
13051         * MenuBackend.C (class compare_format): put into anon namespace
13052         (expand): constify label, names, action, action2
13053         (expand):
13054
13055         * text.C (SingleWidth): constify font
13056         (IsBoundary): constify rtl2
13057         (GetVisibleRow): constify ww
13058
13059         * LaTeX.C (deplog): constify logfile
13060
13061         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13062         start_x, end_x
13063         (workAreaExpose): constify widthChange, heightChange
13064
13065         * lyxrow.C (par): moved
13066         (height): moved
13067         (next): moved
13068         * lyxrow.h: as inlines here
13069
13070         * lyxfont.h (shape): moved from lyxfont.C
13071         (emph): moved from lyxfont.C
13072
13073         * lyxfont.C (LyXFont): use initialization list for all
13074         constructors
13075         (shape): move to lyxfont.h as inline
13076         (emph): move to lyxfont.h as inline
13077
13078
13079 2001-04-04  Juergen Vigna  <jug@sad.it>
13080
13081         * vspace.C: had to include stdio.h for use of sscanf
13082
13083 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13084
13085         * BufferView.h:
13086         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13087         independent of xforms.
13088
13089 2001-04-02  Juergen Vigna  <jug@sad.it>
13090
13091         * spellchecker.C: fixed namespace placing!
13092
13093 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13094
13095         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13096         the LyXParagraph * is 0.
13097
13098 2001-03-29  Juergen Vigna  <jug@sad.it>
13099
13100         * vspace.C: added support for %, c%, p%, l%.
13101         (stringFromUnit): added helper function.
13102         (asLatexString): changed to give right results for the %-values.
13103
13104         * buffer.C: convert the widthp in a width%.
13105
13106 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13107
13108         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13109         figureForm.[Ch].
13110
13111         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13112         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13113
13114         * lyx_cb.[Ch]: see above.
13115
13116         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13117         form1.[Ch].
13118
13119         * form1.[Ch]:
13120         * lyx.[Ch]: replaced by figure_form.[Ch].
13121
13122         * lyx_gui.C:
13123         * lyx_gui_misc.C:
13124         * lyxfunc.C: changed headers associated with above changes.
13125
13126 2001-03-27  Juergen Vigna  <jug@sad.it>
13127
13128         * BufferView_pimpl.C: set the temporary cursor right!
13129
13130 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13131
13132         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13133
13134 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13135
13136         * LString.h: removed "using std::getline"!
13137
13138         * BufferView_pimpl.C (Dispatch): changes due to changes in
13139         InsetInclude::Params.
13140
13141         * buffer.C (tag_name): removed redundant break statements as they were
13142         producing lots of warnings with my compiler.
13143
13144 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13145
13146         * LString.h: add "using std::getline" when using the real <string>.
13147
13148 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13149
13150         * buffer.C: removed bitset usage.
13151         PAR_TAG moved to an anonymous name space.
13152         (tag_name): new funtion, also in the anonymous namespace.
13153         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13154         (makeDocBookFile): clean code. Completed transition from string arrays
13155         to string vectors.
13156         (SimpleDocBookOnePar): code clean.
13157
13158 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13159
13160         * tabular.C: add some comments.
13161
13162 2001-03-22  Juergen Vigna  <jug@sad.it>
13163
13164         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13165         compatibility read a bit and fixed bug with minipage in different
13166         depth.
13167
13168 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13169
13170         * buffer.C (pop_tag): removed.
13171         (push_tag): removed.
13172         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13173         array replaced with vector. Added support for CDATA sections.
13174         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13175         at any nest level.
13176         (makeDocBookFile): XML conformant declaration of CDATA section,
13177         fixed bug related to <emphasis> in the first paragraph char.
13178         (sgmlOpenTag): exclude empty tags.
13179         (sgmlCloseTag): ditto.
13180
13181         * buffer.h (pop_tag): removed.
13182         (push_tag): removed.
13183
13184 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13185
13186         * language.h (Languages): added size_type and size().
13187
13188 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13189
13190         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13191         response on compability reading of minipages. One probliem is that
13192         the old usage of minipages was «flertydig»
13193
13194         * several files here and in subdirs: don't use static at file
13195         scope use anon namespaces instead.
13196
13197 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13198
13199         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13200         LaTeX output. This is necessary for Literate document
13201         processing.
13202
13203 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13204
13205         * buffer.C: insert hfill when needed.
13206
13207         * tabular.C (l_getline): use string::erase, small whitespace change.
13208
13209         * BufferView_pimpl.C: try the anon namespace.
13210         * WorkArea.C: ditto
13211
13212 2001-03-16  Juergen Vigna  <jug@sad.it>
13213
13214         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13215         otherwise it won't open options-dialogs.
13216
13217         * buffer.C: honor pextraWidth(p) on converting minipages.
13218
13219         * tabular.C (l_getline): changed the functions to strip trailing \r.
13220
13221 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13222
13223         * BufferView_pimpl.C:
13224         * minibuffer..C: added "using SigC::slot" declaration.
13225
13226 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13227
13228         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13229
13230         * text2.C: ditto
13231
13232         * text.C: ditto
13233
13234         * paragraph.C: ditto
13235
13236         * lyxtext.h: NO_PEXTRA
13237
13238         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13239
13240         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13241         * ParameterStruct.h: ditto
13242         * ParagraphParameters.h: ditto
13243         * lyxparagraph.h: ditto
13244
13245 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13246
13247         * buffer.C: add compability for minipage alignment.
13248         (latexParagraphs): remove unwanted pextra check.
13249
13250         * several files: remove CXX_WORKING_NAMESPACES
13251
13252         * buffer.C (pop_tag): tie is in namespace boost
13253
13254         * BufferView.h: noncopyable is in namespace boost
13255         * lyxlex.h: ditto
13256         * lyx_main.h: ditto
13257         * lyx_gui.h: ditto
13258         * layout.h: ditto
13259         * lastfiles.h: ditto
13260         * bufferlist.h: ditto
13261         * ShareContainer.h: ditto
13262         * LyXView.h: ditto
13263         * LyXAction.h: ditto
13264         * LaTeX.h: ditto
13265
13266 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13267
13268         * Merging changes from BRANCH_MVC back into HEAD.
13269
13270         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13271
13272 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13273
13274         * BufferView_pimpl.C: change from intl.C
13275
13276         * combox.h:
13277         * combox.C:
13278         * Makefile.am: move combox.*
13279
13280         * form1.h:
13281         * form1.C:
13282         * lyx_gui.C:
13283         * intl.h:
13284         * intl.C: remove dialog (covered by prefs)
13285
13286 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13287
13288         * lyxfunc.C (Dispatch): removed redundant break statement.
13289
13290 2001-03-14  Juergen Vigna  <jug@sad.it>
13291
13292         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13293
13294 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13295
13296         * buffer.C: add hack to fix compability reading of minipages.
13297
13298 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13299
13300         * buffer.C (getLists): Cleanup.
13301
13302 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13303
13304         * lyxfont.C (update): don't honor toggleall on font size.
13305
13306 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13307
13308         * bmtable.c:
13309         * bmtable.h:
13310         * Makefile.am: moved to frontends/xforms/
13311
13312         * lyx_gui_misc.C:
13313         * lyxfunc.C:
13314         * BufferView_pimpl.C: changes for moved mathpanel
13315
13316 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13317
13318         * gettext.h: fix gettext_init() in --disable-nls
13319
13320 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13321
13322         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13323
13324 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13325
13326         * lyx.C:
13327         * lyx.h: strip external form
13328
13329 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13330
13331         * BufferView_pimpl.C: add comment, destroySplash()
13332
13333 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13334
13335         * BufferView_pimpl.C:
13336         * LyXAction.C:
13337         * buffer.C:
13338         * commandtags.h:
13339         * lyxfunc.C: use re-worked insetinclude
13340
13341 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13342
13343         * buffer.C: add using std::stringstream.
13344
13345         * lyx_cb.C: readd using std::ios.
13346
13347         * buffer.C: add using std::map.
13348
13349         * BufferView_pimpl.C: add using std::vector.
13350
13351         * ShareContainer.h: add std:: to swap.
13352
13353         * buffer.h: add some typedefs
13354         * buffer.C (getLists): use them
13355         (getLists): renamed from getTocList.
13356         add a counter for the different float types and use it in the
13357         generated string.
13358         (getLists): use the same counter for the NEW_INSETS and the "non"
13359         NEW_INSETS
13360
13361         * lyx_cb.h: remove unused items, includes, using etc.
13362
13363         * ShareContainer.h: remove some commented code, add more comments
13364         and "documentation".
13365
13366 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13367
13368         * buffer.C (getTocList): make the list also when NEW_INSETS is
13369         defined.
13370
13371         * buffer.h: remove TocType
13372
13373         * buffer.C (getTocList): change to return a map<string,
13374         vector<TocItem> >, implement for dynamic number of list.
13375
13376         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13377         * text2.C (PasteSelection): adjust
13378         * CutAndPaste.C (pasteSelection): adjust
13379
13380         * FloatList.C (FloatList): update from the new_insets branch.
13381         * Floating.[Ch]: ditto
13382         * LaTeXFeatures.C: ditto
13383         * buffer.C: ditto
13384         * lyxlex_pimpl.C: ditto
13385
13386         * paragraph.C (Last): remove when NEW_INSETS is defined.
13387
13388         * other file: changes because of the above.
13389
13390 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13391
13392         * lyxparagraph.h: rename next to next_, previous to previous_,
13393         make them private for NEW_INSETS. Rename Next() to next(),
13394         Previous() to previous().
13395
13396         * other files: changes because of the above.
13397
13398 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13399
13400         * BufferView.h:
13401         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13402         problem.
13403
13404 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13405
13406         * main.C (main): pass lyx_localedir to gettext_init().
13407
13408         * gettext.h: remove locale_init and gettext_init macros
13409
13410         * gettext.C (locale_init): new function
13411         (gettext_init): new function
13412
13413         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13414         setlocale().
13415
13416 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13417
13418         * Moved credits to frontends:
13419         * credits.[Ch]: removed
13420         * credits_form.[Ch]: removed
13421         * lyx_gui_misc.C: remove credits stuff
13422         * Makefile.am:
13423
13424 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13425
13426         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13427
13428         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13429         unneeded destructor.
13430
13431         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13432         a standalone pointer again.
13433
13434         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13435
13436 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13437
13438         * Makefile.am:
13439         * filedlg.h:
13440         * filedlg.C:
13441         * LyXAction.C:
13442         * ToolbarDefaults.C:
13443         * bufferlist.C:
13444         * commandtags.h:
13445         * form1.C:
13446         * form1.h:
13447         * lyx_cb.C:
13448         * lyx_cb.h:
13449         * lyxfunc.h:
13450         * lyxfunc.C:
13451         * BufferView_pimpl.C: use new file dialog in GUII
13452
13453         * lyx_cb.h:
13454         * lyx_cb.C: remove LayoutsCB to Toolbar
13455
13456 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13457
13458         * ShareContainer.h (get): add std:: qualifier
13459
13460 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13461
13462         * ShareContainer.h: define a proper ShareContainer::value_type
13463         type (and use typename to please compaq cxx)
13464
13465 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13466
13467         * lyxparagraph.h: move serveral local vars to
13468         ParameterStruct/ParagraphParameters., use ShareContainer in
13469         FontTable., make vars in FontTable private and add getter and
13470         setter.
13471
13472         * paragraph.C: changes because of the above.
13473
13474         * lyxfont.h: remove copy constructor and copy assignment. (the
13475         default ones is ok), move number inside FontBits. move inlines to
13476         lyxfont.C
13477
13478         * lyxfont.C: add number to initializaton of statics, move several
13479         inlines here. constify several local vars. some whitespace
13480         cleanup. Dont hide outerscope variables.
13481
13482         * Spacing.h: add two new constructors to match the set methods.
13483
13484         * ShareContainer.h: new file, will perhaps be moved to support
13485
13486         * ParameterStruct.h: new file
13487
13488         * ParagraphParameters.h: new file
13489
13490         * ParagraphParameters.C: new file
13491
13492         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13493         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13494
13495         * BufferView_pimpl.C: ParagraphParameter changes.
13496         * buffer.C: Likewise.
13497         * bufferview_funcs.C: Likewise.
13498         * text.C: Likewise.
13499         * text2.C: Likewise.
13500
13501 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13502
13503         * lyxfind.C (LyXReplace): do not redefine default argument in
13504         implementation.
13505         (IsStringInText): ditto
13506         (SearchForward): ditto
13507         (SearchBackward): ditto
13508
13509 2001-03-06  Juergen Vigna  <jug@sad.it>
13510
13511         * lyxfind.C (IsStringInText): put parentes around expressions.
13512
13513 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13514
13515         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13516
13517 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13518
13519         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13520
13521         * stl_string_fwd.h: add comment
13522
13523         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13524
13525         * tabular.h:
13526         * tabular.C: remove unused DocBook methods
13527
13528         * intl.C:
13529         * language.C:
13530         * paragraph.C:
13531         * buffer.C:
13532         killed DO_USE_DEFAULT_LANGUAGE
13533
13534 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13535
13536         * lyx_gui.C: do not include language.h.
13537
13538         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13539         arguments in function implementation.
13540
13541 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13542
13543         * BufferView_pimpl.C: add <ctime>
13544
13545 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13546
13547         * BufferView_pimpl.C: add using std::find_if
13548
13549 2001-02-27  José Matos  <jamatos@fep.up.pt>
13550
13551         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13552         by OnlyPath.
13553
13554 2001-02-11  José Matos  <jamatos@fep.up.pt>
13555
13556         * buffer.C (makeDocBookFile): command styles now have a parameter as
13557         "title" by default.
13558
13559 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13560
13561         * layout_forms.[Ch]: removed
13562         * lyx_cb.[Ch]: out character
13563         * lyx_gui.C: out character
13564         * lyx_gui_misc.C: out character
13565         * bufferview_funcs.C: : out character,
13566         added toggleall as parameter in ToggleAndShow
13567
13568 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13569
13570         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13571
13572         * text2.C (SetCurrentFont): Disable number property at boundary.
13573
13574 2001-02-26  Juergen Vigna  <jug@sad.it>
13575
13576         * lyxfunc.C (getStatus): added a string argument override function so
13577         that this is correctly called from LyXFunc::Dispatch if it contains a
13578         do_not_use_argument which is used!
13579         (Dispatch): added check for "custom" export and call appropriate func.
13580
13581 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13582
13583         * lyxrc.C: Add language_command_local, language_use_babel and
13584         language_global_options.
13585
13586         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13587
13588         * buffer.C (makeLaTeXFile): Use language_use_babel and
13589         language_global_options.
13590
13591 2001-02-23  Juergen Vigna  <jug@sad.it>
13592
13593         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13594         which works with LyXText and putted it inside BufferView. Here now we
13595         only call for that part the BufferView::Dispatch() function.
13596
13597         * BufferView.C (Dispatch): added.
13598
13599         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13600         functions which needs to use a LyXText over from LyXFunc.
13601         (MenuInsertLyXFile): added
13602         (getInsetByCode): added
13603         (moveCursorUpdate): added
13604         (static TEXT): added
13605
13606 2001-02-22  Juergen Vigna  <jug@sad.it>
13607
13608         * BufferView_pimpl.C (update): call a status update to see if LyXText
13609         needs it.
13610
13611 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13612
13613         * vc-backend.C (revert): implement for CVS
13614         (getLog): implement for CVS
13615
13616 2001-02-20  Juergen Vigna  <jug@sad.it>
13617
13618         * text2.C (ClearSelection): added BufferView param for inset_owner call
13619
13620         * lyxfunc.C (TEXT): added this function and use it instead of
13621         directly owner->view()-text of getLyXText().
13622
13623 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13624
13625         * src/layout_forms.C: out preamble
13626         * src/layout_forms.h: out preamble
13627         * src/lyx_cb.C: out preamble
13628         * src/lyx_cb.h: out preamble
13629         * src/lyx_gui.C: out preamble
13630         * src/lyx_gui_misc.C: out preamble
13631         * src/lyxfunc.C: connect with guii preamble
13632
13633 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13634
13635         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13636
13637 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13638
13639         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13640         whether to run bibtex.
13641
13642 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13643
13644         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13645
13646 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13647
13648         * Makefile.am (lyx_SOURCES): removed bibforms.h
13649
13650         * vspace.h: doxygen
13651
13652         * text.C (GetVisibleRow): make several local vars const
13653
13654         * tabular.C: small cleanup.
13655
13656         * lyxserver.C (callback): use compare instead of strncmp
13657
13658         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13659         inlines to after class or to paragraph.C
13660
13661         * lyxfont.h: remove friend operator!=
13662
13663         * converter.h: move friend bool operator< to non friend and after
13664         class def.
13665
13666         * combox.h: small cleanup
13667
13668         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13669         to inlines after class def.
13670
13671         * buffer.C (pop_tag): use string operations instead of strcmp
13672
13673         * bmtable.c: doxygen, small cleanup
13674
13675         * LaTeX.h: remove friend operator==
13676
13677 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13678
13679         * screen.C:
13680         * lyxrc.[Ch]:
13681         * lyxfunc.C:
13682         * lyxfont.[Ch]:
13683         * lyx_cb.C:
13684         * intl.[Ch]:
13685         * commandtags.h:
13686         * buffer.C:
13687         * WorkArea.[Ch]:
13688         * LyXAction.C:
13689         * BufferView_pimpl.C:
13690         * BufferView.[Ch]: remove cruft
13691
13692 2001-02-14  Juergen Vigna  <jug@sad.it>
13693
13694         * lyxfunc.C: removed #if 0 unused code
13695
13696         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13697
13698         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13699
13700         * text2.C (SetSelection): added a BufferView * parameter
13701
13702 2001-02-13  Juergen Vigna  <jug@sad.it>
13703
13704         * lyxfunc.C (Dispatch): fixed protected blank problem.
13705         * BufferView2.C (protectedBlank): added LyxText * parameter.
13706
13707         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13708         (AppendColumn): same as above for column_info.
13709
13710         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13711         (moveCursorUpdate): use a LyXText param for support of InsetText.
13712
13713         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13714         (tripleClick): ditto
13715
13716         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13717
13718         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13719
13720         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13721
13722         * text2.C (SetSelection): set correct update status if inset_owner
13723         (ToggleFree): ditto
13724
13725 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13726
13727         * tabular.C: remove some commented code.
13728
13729 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13730
13731         * BufferView_pimpl.C: call hideSplash()
13732
13733         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13734
13735         * include_form.h:
13736         * bibforms.h: remove
13737
13738         * lyxfunc.C:
13739         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13740           add LFUN_CHILD_CREATE
13741
13742         * counters.h: fix tiny typo
13743
13744         * lyx_cb.C:
13745         * lyx.h:
13746         * lyx_gui.C:
13747         * lyx.C: move splash to frontends/xforms/
13748
13749         * lyx_gui_misc.C: move Include and Bibform to frontends
13750
13751         * lyxvc.h: clarify comment
13752
13753         * vspace.C: tiny housekeeping
13754
13755 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13756
13757         * text.C (PrepareToPrint): RTL Fix.
13758
13759         * paragraph.C (GetUChar): New method.
13760         (String):  Use GetUChar.
13761
13762         * buffer.C (asciiParagraph): Use GetUChar.
13763
13764 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13765
13766         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13767
13768 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13769
13770         * buffer.h:
13771         * buffer.C: rename to getLogName(), handle
13772           build log / latex log nicely
13773
13774 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13775
13776         * MenuBackend.C:
13777         * MenuBackend.h: remove support for reference menuitem type.
13778
13779 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13780
13781         * BufferView_pimpl.C: housekeeping
13782         * BufferView_pimpl.h:
13783         * LyXView.h:
13784         * Makefile.am:
13785         * Timeout.C:
13786         * Timeout.h:
13787         * minibuffer.h: move Timeout GUI-I
13788
13789 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13790
13791         * lyxrc.C (read): Update converters data-structures.
13792
13793 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13794
13795         * LaTeX.h (operator!=): add operator != for Aux_Info
13796
13797 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13798
13799         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13800
13801         * LaTeXLog.C: deleted, useful code moved to Buffer
13802
13803         * buffer.h:
13804         * buffer.C: new function getLatexLogName()
13805
13806         * lyx_gui_misc.C:
13807         * lyx_gui.C:
13808         * lyxvc.C:
13809         * lyxvc.h:
13810         * lyxfunc.C: use frontends for LaTeX and VC logs
13811
13812 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13813
13814         * LaTeX.h: yet another std:: that Allan forgot.
13815
13816         * Variables.C (set): renamed from isset(), because this clashes
13817         with some HP-UX macros (grr).
13818
13819 2001-02-06  Allan Rae  <rae@lyx.org>
13820
13821         * LaTeX.h: Another bug fix.  Missing std:: this time.
13822
13823 2001-02-04  Allan Rae  <rae@lyx.org>
13824
13825         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13826         floats problem. I've left it commented out because it's not quite
13827         correct.  It should also test that the current object is a table or
13828         figure inset.  But I haven't gotten around to figuring out how to do
13829         that.  I *think* it'll be something like: "table" == inset.type()
13830
13831         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13832         bool.
13833
13834 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13835
13836         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13837         all the citation/databases/styles in the auxilary file.
13838         (run): Rerun latex if there was a babel language error.
13839
13840 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13841
13842         * text.C (Backspace): Preserve the font when changing newline char
13843         with a space.
13844         (BreakParagraph): If the cursor is before a space, delete the space.
13845
13846         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13847
13848 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13849
13850         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13851         new argument (code).
13852         (ChangeCitationsIfUnique): New method.
13853
13854         * paragraph.C (GetPositionOfInset): Handle bibkey.
13855
13856 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13857
13858         * BufferView_pimpl.h: change type of Position::par_pos to
13859         LyXParagraph::size_type.
13860
13861 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13862
13863         * BufferView_pimpl.C (savePosition, restorePosition): Write
13864         messages to minibuffer.
13865
13866 2001-01-28  José Matos  <jamatos@fep.up.pt>
13867
13868         * buffer.C (makeDocBookFile): adds support for document language.
13869         A silly restriction on the name of LatexCommand types where removed.
13870         Added support for CDATA sections, allows to chars unescaped, used
13871         among others in code, to avoid escape < and >.
13872
13873 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13874
13875         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13876         saved positions instrad of a stack. Furthermore, a position is
13877         stored using paragraph id/paragraph position.
13878
13879         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13880         Remove LFUN_REF_BACK.
13881
13882 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13883
13884         * converter.C (dvipdfm_options): New method.
13885
13886 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13887
13888         * vspace.C (isValidLength): Fix for empty input string.
13889
13890 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13891
13892         * LyXAction.C (init): change description of LFUN_FIGURE to
13893         "Insert Graphics"
13894
13895 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13896
13897         * LaTeX.C: add using directive
13898
13899 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13900
13901         * MenuBackend.C (expand): Fix the sorting of the formats.
13902
13903 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13904
13905         * lyx_main.C: tiny error message fix
13906
13907 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13908
13909         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13910         calling fl_initialize(). This fixes the problem with ',' as
13911         decimal separator in text files.
13912
13913 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13914
13915         * trans.C (process): Fix the keymap bug.
13916
13917 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13918
13919         * LaTeX.C (scanAuxFiles): New method. Provides support for
13920         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13921         (scanLogFile) Scan for "run BibTeX" messages.
13922
13923         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13924         OT1 font encoding. Also, load the aecompl package if the ae
13925         package is loaded.
13926
13927         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13928
13929 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13930
13931         * texrow.C (increasePos): turn two error messages into debug
13932         messages.
13933
13934 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13935
13936         * LaTeX.C (scanAux): Handle the \@input macro.
13937         (runBibTeX): Use scanAux().
13938
13939         * language.C (latex_options_): New field.
13940
13941         * LaTeXFeatures.C (getMacros): Add language macros.
13942
13943         * buffer.C (makeLaTeXFile): Small fix.
13944
13945 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13946
13947         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13948
13949         * text2.C: add a using directive.
13950
13951 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13952
13953         * BufferView2.C:
13954         * lyx_gui_misc.h:
13955         * lyxfr1.C:
13956         * lyxfunc.C: kill LyXBell.
13957
13958 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13959
13960         * text.C (IsBoundary): Remove the error message
13961
13962         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13963
13964         * lyxrc.C (setDefaults): Correct initialization value for
13965         font_norm_type.
13966
13967 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13968
13969         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13970         gotoError().
13971
13972         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13973         and GotoNextNote().
13974
13975         * src/LyXAction.C: Added reference-next.
13976
13977         * text.C (InsertChar): Use contains instead of strchr.
13978
13979         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13980
13981 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13982
13983         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13984         alignment commands (when needed).
13985
13986         * text.C (InsertChar): Add ':' to number separator chars.