]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
0277bac07f0da8eeb8c5781bbd412e7896916320
[lyx.git] / src / ChangeLog
1 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2
3         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4
5 2003-11-24  André Pönitz  <poenitz@gmx.net>
6
7         * rowpainter.C: simplification
8
9         * text2.C (updateCounters): remove call to redoParagraph on 
10         changed labels as this is far too expensive.
11
12 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
13
14         * converter.C (convert): fix a crash: this function gets
15         called with buffer == 0 from importer code.
16
17 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
18
19         * text3.C (cursorPrevious): make sure that we do not compare
20         iterators form different containers.
21         (cursorNext): ditto
22
23         * rowpainter.C (paintSelection): make sure that we do not compare
24         iterators from different containers.
25
26         * text3.C (dispatch): [PRIOR] make sure that we do not compare
27         iterators from different ParagraphList containers.
28         [NEXT] ditto
29
30         * text2.C (LyXText): change order of initialization slightly
31         (operator=): new function. copy all variables except cache_par_
32         (moveUp): make sure that we do not compare iterators from
33         different ParagraphList constainers.
34         (moveDown): ditto
35
36         * text.C (firstPar): new function
37         (lastPar): new function
38         (endPar): new function
39
40         * lyxtext.h: move things around and group public functions, public
41         variables, private functions, private variables
42
43 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
44
45         * factory.C: change call to InsetERT constructor to avoid
46         additional invocation of method status
47         * text2.C (toggleInset): remove redundant update() call
48         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
49         instead of a Bufferview pointer
50
51 2003-11-21  André Pönitz  <poenitz@gmx.net>
52
53         * rowpainter.C: simplification
54
55 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
56
57         * text3.C (dispatch): make possible to extend a word/row selection
58         with the mouse
59
60 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
61
62         * lyxtext.h: x0_,y0_ -> xo_,yo_
63         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
64         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
65         * rowpainter.C (paintRows): paint full paragraphs
66
67 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
68
69         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
70         screen coordinates)
71
72 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
73
74         * lyxtext.h: add x0_, y0_
75         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
76         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
77
78 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
79
80         * text2.C (setCursorIntern): move the x_target update here *
81         * text3.C: change some bv() to true/false in calls to
82         cursorUp/Down/Right/Left
83         * cursor.C: use helper function.
84
85 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
86
87         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
88         * paragraph_funcs.[Ch]: correct comment
89         * rowpainter.C: do not paint selections away from bv->cursor()
90         Fix a long standing selection painting bug.
91         * text3.C: generalize mouse-selection code to LyXTexts other that
92         top one
93         * textcursor.C: do not use y coords if we can use par offsets
94
95 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
96
97         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
98         cursor position after e.g. inset insert)
99
100 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
101
102         * lyxfind.C (replace): adjust to locking removal + some
103         code simplification
104
105 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
106
107         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
108         of the path
109
110 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
111
112         * lyxlayout.[Ch]:
113         * output_docbook.C: XML sanitation: new layout
114         parameters InnerTag and CommandDepth
115
116 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
117
118         * BufferView_pimpl.C:
119         * factory.C:
120         * text3.C: Fix the insertion and modification of button-style
121         insets
122
123 2003-11-13  André Pönitz  <poenitz@gmx.net>
124
125         * InsetList.[Ch]: remove deleteLyXText
126
127         * paragraph.[Ch]: cache beginOfBody position
128
129         * Bidi.C:
130         * text.C:
131         * text2.C:
132         * text3.C: remove superfluous update() calls
133
134         * vspace.C: cleanup
135
136 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
137
138         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
139         * BufferView.C (fitLockedInsetCursor): remove
140         * cursor.[Ch] (getDim): add
141         * text.C (getRowNearY): add faster version
142         * text3.C: remove some update calls
143
144 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
145
146         * LaTeXFeatures.C:
147         * LyXAction.C:
148         * MenuBackend.C:
149         * MenuBackend.h:
150         * dispatchresult.h:
151         * factory.C:
152         * lfuns.h:
153         * lyxfunc.C:
154         * lyxtextclass.C:
155         * lyxtextclass.h:
156         * text3.C: The Character Style /XML short element patch.
157
158 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
159
160         * text3.C:
161         * factory.C: Small step to solving 'unable to insert some insets'
162         problem
163
164 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
165
166         * cursor.[Ch] (updatePos): new function for updating the y
167         position of the tip inset
168         * bufferview_funcs.C (put_selection_at):
169         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
170
171 2003-11-11  André Pönitz  <poenitz@gmx.net>
172
173         * text.C: remove big comment on invalid Paragraph pointers as it is
174         not valid anymore
175
176 2003-11-11  André Pönitz  <poenitz@gmx.net>
177
178         * text_funcs.[Ch]: merge with ...
179
180         * text.C: ... this
181
182         * lyxtext.h:
183         * text2.C:
184         * text3.C: adjust
185
186         * Makefile.am: remove text_funcs.[Ch]
187
188 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
189
190         * cursor.C (getPos): return absolute cached y coord
191
192         * BufferView_pimpl.C (fitCursor): new simplistic code
193         (workAreaDispatch): add a fitCursor call
194
195 2003-11-10  André Pönitz  <poenitz@gmx.net>
196
197         * BufferView.[Ch]:
198         * BufferView_pimpl.[Ch]: merge update() and updateInset()
199
200 2003-11-10  André Pönitz  <poenitz@gmx.net>
201
202         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
203         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
204         indicate that the cursor needs to leave an inset
205
206         * lyxtext.h: remove inset locking
207
208         * cursor.[Ch]: re-implement functionality provided by inset locking
209
210         * BufferView.[Ch]:
211         * BufferView_pimpl.[Ch]:
212         * LyXAction.C:
213         * bufferview_funcs.[Ch]:
214         * factory.C:
215         * funcrequest.[Ch]:
216         * iterators.C:
217         * lyx_cb.C:
218         * lyxfind.C:
219         * lyxfunc.C:
220         * text.C:
221         * text2.C:
222         * text3.C:
223         * undo.C: adjust
224
225 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
226
227         * PosIterator.[Ch]: replace the stack with a vector, add inset
228         accesor
229         * iterators.[C]: adjust
230
231 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
232
233         * lyxfind.C (replaceAll): mark the buffer dirty if something was
234         replaced
235         * paragraph_funcs.C (readParToken): put the correct id in the
236         error item, not the id of the top paragraph
237
238 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
239
240         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
241         * bufferview_funcs.C (put_selection_at): use the above
242
243 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
244
245         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
246
247 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
248
249         * output_linuxdoc.h:
250         * output_plaintext.h:
251         * output.h:
252         * output_docbook.h: add #include statements
253
254 2003-11-05  José Matos  <jamatos@lyx.org>
255
256         * output_docbook.[Ch]:
257         * output_latex.[Ch]:
258         * output_linuxdoc.[Ch]:
259         * output_plaintext.[Ch]: New files for output formats.
260         * output.[Ch]: New file for helper functions.
261
262         * buffer.[Ch]:
263         * paragraph_funcs.[Ch]: output functions moved to new files.
264
265         * outputparams.h: rename of latexrunparams.h
266
267         * LaTeX.[Ch]:
268         * buffer.[Ch]:
269         * bufferlist.[Ch]:
270         * converter.[Ch]:
271         * exporter.C:
272         * paragraph.[Ch]:
273         * paragraph_funcs.[Ch]:
274         * paragraph_pimpl.[Ch]:
275         * tabular.[Ch]: rename ascii to plaintext
276         and LatexRunParams to OutputParams.
277
278 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
279
280         * iterators.[Ch] (text): require bv argument
281         * undo.C (recordUndo):
282         * lyxfunc.C (dispatch):
283         * bufferview_funcs.C (put_selection_at): adjust
284
285 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
286
287         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
288
289 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
290
291         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
292         nestings
293
294 2003-11-04  André Pönitz  <poenitz@gmx.net>
295
296         * cursor.[Ch]: restructure
297
298         * BufferView.[Ch]:
299         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
300
301         * iterators.[Ch] (asCursor): remove
302
303         * lfuns.h: remove LFUN_INSET_EDIT
304
305         * lyxfunc.C:
306         * tabular.C:
307         * text.C:
308         * text2.C:
309         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
310
311 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
312
313         * lyxfind.[Ch]: complete overhaul
314         * BufferView_pimpl.C:
315         * lyxfunc.C: adjust
316         * paragraph.[Ch] (insert): add
317
318 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
319
320         * BufferView.[Ch]:
321         * lyxtext.h:
322         * text.C: remove dead spellcheck code
323
324 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
325
326         * dispatchresult.h: add a val setter
327
328         * cursor.C (dispatch): use a tempvar for data_[i]
329
330 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
331
332         * PosIterator.[Ch]: compile fix
333
334 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
335
336         * text.C (cursorPar): deactivate the cursor cache
337
338 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
339
340         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
341
342 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
343
344         * text3.C (dispatch): adjust for new DisptchResult semantics.
345
346         * lyxfunc.C (dispatch): handle update when return from
347         Cursor::dispatch, adjust for new DispatchResult semantics.
348
349         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
350         DispatchResult(true) mean to not update. Add class functions for
351         setting dispatched and update, as well as reading.
352
353         * cursor.C (dispatch): don't handle update here
354
355 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
356
357         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
358         * trans_mgr.C: adjust
359
360         * paragraph_funcs.C (readParToken): exception safety
361
362         * lyxvc.h: store the vcs pointer in a scoped_ptr
363         * lyxvc.C: adjust
364
365         * lyxsocket.C (serverCallback): exception safety
366
367         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
368
369         * ispell.C (clone): make it return a auto_ptr
370
371         * factory.C (createInset): exception safety
372         (readInset): exception safety
373
374         * bufferlist.C (newBuffer): exception safety
375
376         * Thesaurus.C (Thesaurus): use initialization for aik_
377
378         * MenuBackend.C (expandToc): exception safety.
379
380 2003-11-03  André Pönitz  <poenitz@gmx.net>
381
382         * buffer.C:
383         * buffer.h:
384         * bufferview_funcs.C: remove getInsetFromId()
385
386         * lyxcursor.[Ch]:
387         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
388
389         * lyxfunc.C:
390         * text2.C:
391         * text3.C: adjust
392
393 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
394
395         * PosIterator.C (distance, advance): new
396         * bufferview_funcs.[Ch] (put_selection_at): new
397         * iterators.[Ch] (lockPath): new
398
399 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
400
401         * iterators.[Ch] (asPosIterator): added
402         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
403         * PosIterator.[Ch]: added
404
405 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
406
407         * text3.C:
408         * lyxfunc.C:
409         * cursor.C (dispatch):
410         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
411
412         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
413         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
414         contructor, add a class function dispatched. Remove operator>=
415
416 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
417
418         * debug.C: only use the default constructor for debugstream
419         (lyxerr) here.
420
421         * main.C (main): include debug.h and setup the lyxerr streambuf
422         here.
423
424 2003-10-31  José Matos  <jamatos@lyx.org>
425
426         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
427
428         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
429         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
430         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
431         * paragraph_pimpl.C (simpleTeXSpecialC):
432         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
433         add LatexRunParams argument.
434
435         * exporter.C (Export): change call accordingly.
436
437         * latexrunparams.h: add new member to take care of the other backends.
438 2003-10-30  José Matos  <jamatos@lyx.org>
439
440         * buffer.C (makeLinuxDocFile, makeDocBookFile):
441         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
442         factorise code for paragraph output.
443         * buffer.[Ch]:
444         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
445         move functions.
446
447 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
448
449         * text3.C (dispatch):
450         * lyxfunc.C (dispatch):
451         * cursor.C (dispatch):
452         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
453
454         * dispatchresult.h: make the dispatch_result_t ctor explicit
455
456 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
457
458         * sgml.[Ch]:
459         * buffer.C: small refactoring of docbook stuff
460
461 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
462
463         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
464         meaning.
465
466 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
467
468         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
469         operator dispatch_result_t, and operators for == != and >=
470
471         * cursor.C (dispatch): adjust for operator dispatch_result_t
472         removal. comment out call to update
473
474         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
475
476 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
477
478         * text3.C:
479         * text2.C:
480         * text.C:
481         * lyxtext.h:
482         * lyxfunc.C:
483         * cursor.C:
484         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
485         (dispatch):
486
487         * dispatchresult.h: new file, DispatchResult broken out of
488         insets/insetbase.h
489
490         * Makefile.am (lyx_SOURCES): add dispatchresult.h
491
492 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
493
494         * text.C (rowBreakPoint): put a hack inside #if 0
495
496 2003-10-28  André Pönitz  <poenitz@gmx.net>
497
498         * lyxtext.h:
499         * metricsinfo.C:
500         * paragraph_funcs.C:
501         * rowpainter.C:
502         * text.C:
503         * text2.C: general cleanup (lots of small stuff)
504
505 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
506
507         * text2.C (cursorEnd): simple fix to the "end key goes to one
508         before the end on last row" bug
509
510 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
511
512         * text.C (backspace): fix the "zombie characters"
513
514 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
515
516         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
517
518 2003-10-27  André Pönitz  <poenitz@gmx.net>
519
520         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
521
522         * factory.C: handle new InsetPagebreak, InsetLine
523
524         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
525         and move handling into new InsetPagebreak, InsetLine
526
527         * BufferView_pimpl.C:
528         * LyXAction.C:
529         * ParagraphParameters.C:
530         * ParameterStruct.h:
531         * lyxfunc.C:
532         * lyxtext.h:
533         * paragraph.C:
534         * paragraph.h:
535         * paragraph_funcs.C:
536         * paragraph_pimpl.C:
537         * rowpainter.C:
538         * text.C:
539         * text2.C:
540         * text3.C: adjust
541
542 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
543
544         * text.C:
545         * lyxrow_funcs.[Ch]:
546         * Bidi.C:
547         * paragraph.C:
548         * lyxtext.h:
549         * rowpainter.C:
550         * text2.C:
551         * text3.C: remove lastPos uses in favour of Row::endpos
552
553 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
554
555         * undo.C (performUndoOrRedo): fix two crashes by setting a
556         cursor by hand and reordering some calls. Use bv->lockInset instead
557         of inset->edit because the latter loses cursor information
558
559 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
560
561         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
562         by Martin
563         (rowBreakPoint): fix width. change point to point + 1.
564         Add a missing check.
565
566 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
567
568         * MenuBackend.C:
569         * lyxfunc.C: fix (at least partly) the problems
570         with the Nav menu and headers inside branch insets
571         reported by Kayvan
572
573 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
574
575         * paragraph.C (getChar): add strong asserts
576
577         * lyxrow_funcs.C (lastPos): remove hideous hack
578
579         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
580         (fill): adjust to that (avoid an infinite loop)
581
582 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
583
584         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
585
586 2003-10-23  André Pönitz  <poenitz@gmx.net>
587
588         * RowList_fwd.h: change list<> to vector<> to gain speed
589         after suggestion from Alfredo
590
591 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
592
593         * lyxtext.h: move the bidi stuff from here...
594         * text.C: and here
595         * text2.C: and here
596         * Bidi.[Ch]: ... to here
597
598 2003-10-23  André Pönitz  <poenitz@gmx.net>
599
600         * lyxtext.h:
601         * text.C (isLastRow, isFirstRow): new functions
602
603         * paragraph.h: new width cache member
604
605         * rowpainter.C: replace RowList::iterator with Row & where possible
606
607         * lyxfunc.C: replace several view()->text with a single call
608
609         * toc.C: fix 'unused' warning
610
611 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
612
613         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
614         when woring with stream::pos_type
615         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
616
617 2003-10-22  André Pönitz  <poenitz@gmx.net>
618
619         * lyxtext.h:
620         * text.C: use Row & instead of RowList::iterator
621
622         * lyxrow.h: rename end() to endpos()
623
624         * rowpainter.C:
625         * text.C:
626         * text2.C: adjust
627
628 2003-10-22  Angus Leeming  <leeming@lyx.org>
629
630         * buffer.[Ch] (fully_loaded): new member function, returning true
631         only when the file has been loaded fully.
632         Used to prevent the premature generation of previews and by the
633         citation inset to prevent computation of the natbib-style label.
634
635         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
636         templates are all set up.
637
638         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
639
640 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
641
642         * text.C: fixed an "oops" in the "is a bit silly"
643         bug fix
644
645 2003-10-21  André Pönitz  <poenitz@gmx.net>
646
647         * FuncStatus.[Ch]: small stuff, whitespace
648
649         * lyxfont.[Ch]: operator<<() for debug reasons
650
651         * lyxfunc.C:
652         * lyxrow_funcs.C:
653         * lyxtext.h: whitespace, spelling
654
655         * paragraph.C: naming of variables
656
657         * text.C:
658         * text2.C: small stuff
659
660
661 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
662
663         * text.C: (1) finish off the inset display() work;
664         (2) fix the "is a bit silly" bug (accessing char
665         past end of par).
666
667 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
668
669         * text.C: re-introduce display() for insets, fixing the
670         various bugs (stretch of line above, math inset
671         positioning, ...)
672
673 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
674
675         * text.C (rightMargin): remove spurious semicolon
676
677         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
678         1415)
679
680 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
681
682         * text3.C: fix one crash due to wrong cursor def
683
684 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
685
686         * vc-backend.C (scanMaster): make the regex static
687
688         * LaTeX.C (scanAuxFile): make the regexs static
689
690         * text3.C (doInsertInset, dispatch, dispatch):
691         * text2.C (cursorUp, cursorDown):
692         * text.C (selectNextWordToSpellcheck):
693         * BufferView_pimpl.C (dispatch):
694         * lyxfunc.C (dispatch):  localDispatch -> dispatch
695
696 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
697
698         * lyxsocket.C: include <cerrno>
699
700 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
701
702         * lyxfunc.C (dispatch): remove textcache stuff
703
704         * bufferlist.C (release): remove textcache stuff
705         (closeAll): ditto
706
707         * TextCache.C: delete file
708         * TextCache.h: delete file
709
710         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
711
712         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
713         delete of the bv_->text.
714         (resizeCurrentBuffer): remove texcache stuff
715         (workAreaResize): ditto
716
717 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
718
719         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
720         action.
721
722 2003-10-16  André Pönitz  <poenitz@gmx.net>
723
724         * lyxrow.[Ch]:
725         * paragraph.h:
726         * rowpainter.C:
727         * text.C:
728         * text2.C:
729         * text3.C: speed up by storing y positions per paragraph plus per-row
730         offset instead of having a 'full' y position in the row.
731
732 2003-10-15  André Pönitz  <poenitz@gmx.net>
733
734         * iterators.[Ch]:
735         * iterators.[Ch]:
736         * undo.[Ch]: make undo aware of inner insets
737
738 2003-10-14  Angus Leeming  <leeming@lyx.org>
739
740         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
741         static member functions LyX::ref() and LyX::cref.
742         (lastfiles): new accessor functions for the new lastfiles_ member var.
743         (addLyXView, views_): add a new LyXView to the list of views_.
744         (updateInset): loop over all LyXViews to call their own updateInset
745         member function, returning a pointer to the Buffer owning the inset.
746
747         * BufferView_pimpl.C (loadLyXFile):
748         * MenuBackend.C (expandLastfiles):
749         * bufferlist.C (MenuWrite, QuitLyX):
750         lastfiles is no longer a global variable.
751         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
752
753         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
754         static function. Access through LyX::cref().emergencyCleanup().
755
756 2003-10-14  André Pönitz  <poenitz@gmx.net>
757
758         * iterators.[Ch]: new direct access to innermost LyXText and Inset
759
760         * undo.[Ch]: restoring part of 'undo in insets'
761
762         * Makefile.am:
763         * undo_funcs.[Ch]: merge with undo.[Ch]
764
765         * tabular.C: small cleansing stuff
766
767 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
768
769         * paragraph_funcs.C (readParToken): report unknown insets as error
770         boxes. Use the outer paragraph as location (also for unknown
771         tokens).
772
773         * factory.C (readInset): do not abort on reading an unknown inset.
774         Eat it and return 0.
775
776 2003-10-13  Angus Leeming  <leeming@lyx.org>
777
778         * lyx_main.C (LyX): remove call to setDisplayTranslator().
779
780         * lyxrc.C: displayTranslator is now a function,
781         declared in GraphicsTypes.h.
782
783 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
784
785         * format.C: new placeholder $$a to pass the socket address.
786
787         * bufferlist.[Ch]: new function getBufferFromTmp.
788
789         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
790           files in the temporary dir.
791
792 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
793
794         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
795
796         * Makefile.am: add lyxsocket.[Ch].
797
798         * lyx_main.C (error_handler): handle SIGPIPE.
799
800 2003-10-13  André Pönitz  <poenitz@gmx.net>
801
802         * BufferView_pimpl.C:
803         * lyxtext.h:
804         * text.C:
805         * text2.C:
806         * text3.C:
807         * undo_funcs.[Ch]: use paroffset_type instead of
808           ParagraphList::iterators to prevent multiple conversion
809           (and get a more robust interface)
810
811 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
812
813         * lyxfunc.C (dispatch): RESULT -> dispatch_result
814         * lyxtext.h: ditto
815         * text3.C (dispatch): ditto
816
817 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
818
819         * LaTeX.C (handleFoundFile): move the static to smaller scope,
820         move the onlyfile, use onlyfile instead of foundfile in a couple
821         of places.
822
823         * DepTable.C (update): flush the error stream a bit more
824
825 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
826
827         * lyxserver.C (callback): adjust
828
829         * lyxfunc.C (getStatus): add a missing brace in commented code
830         (ensureBufferClean): reindent
831         (dispatch): delete version taking a string
832
833 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
834
835         * LaTeX.C (deplog): move found file handlig from here...
836         (handleFoundFile): .. to new function here.
837         (deplog): make sure to discover several files mentioned on the
838         same log line.
839
840 2003-10-10  André Pönitz  <poenitz@gmx.net>
841
842         * lyxfunc.C:
843         * lyxtext.h:
844         * tabular.C:
845         * text.C:
846         * text2.C:
847         * text3.C: fix some of the tabular crashes
848
849 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
850
851         * MenuBackend.C (binding): put debug message into Debug::KBMAP
852
853         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
854
855 2003-10-09  André Pönitz  <poenitz@gmx.net>
856
857         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
858
859         * BufferView.C:
860         * BufferView_pimpl.C:
861         * bufferview_funcs.C:
862         * lyx_cb.C:
863         * lyxcursor.C:
864         * lyxfind.C:
865         * lyxfunc.C:
866         * lyxtext.h:
867         * text.C:
868         * text2.C:
869         * text3.C:
870         * text_funcs.[Ch]:
871         * textcursor.[Ch]:
872         * undo_funcs.C: adjust
873
874 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
875
876         * text2.C (incrementItemDepth): new function, use a backtracking
877         algorithm to discover the correct item depth.
878         (resetEnumCounterIfNeeded): new function, use a backtracking
879         algorithm to discover if counter reset is needed.
880         (setCounter): use them. Simplify a bit. Add different labels for
881         different item depths for itemize.
882
883         * paragraph.C (Paragraph): remove initialization of enumdepth
884         (operator=): ditto
885
886         * paragraph.h: get rid of enumdepth, and use itemdepth both for
887         enumerate and itemize. Change the type of itemdepth to signed char.
888
889 2003-10-08  André Pönitz  <poenitz@gmx.net>
890
891         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
892           thing assignable.
893         * text.C:
894         * text2.C: adjust
895
896         * tabular.[Ch]: fix crash after 'row-insert'
897
898 2003-10-08  Angus Leeming  <leeming@lyx.org>
899
900         Fix doxygen warnings.
901
902         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
903         Remove CutAndPaste:: prefix from header file declaration.
904
905         * LColor.h (fill): remove LColor:: prefix from declaration.
906
907         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
908         use lyx::depth_type rather than Paragraph::depth_type so that
909         header file and .C file match.
910
911         * converter.h (intToFormat): remove Converters:: prefix from declaration.
912
913         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
914         * aspell.C: \file aspell_local.C -> \file aspell.C
915         * gettext.C: \file gettext.C -> \file src/gettext.C
916         * gettext.h: \file gettext.h -> \file src/gettext.h
917         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
918         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
919         * text.C: \file text.C -> \file src/text.C
920
921         * toc.C: move comment so that doxygen is not confused.
922
923 2003-10-07  Angus Leeming  <leeming@lyx.org>
924
925         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
926
927 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
928
929         * aspell.C:
930         * aspell_local.h: add forgotten std::string's.
931
932 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
933
934         * LaTeXFeatures.C:
935         * LyXAction.C:
936         * factory.C:
937         * lfuns.h:
938         * lyxfunc.C:
939         * text3.C: The Box patch. Fancybox support, minipage, parbox
940
941 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
942
943         * CutAndPaste.h:
944         * DepTable.h:
945         * FloatList.h:
946         * LaTeXFeatures.h:
947         * ParagraphParameters.h:
948         * TextCache.h:
949         * Thesaurus.h:
950         * bufferlist.h:
951         * exporter.h:
952         * importer.h:
953         * lastfiles.h:
954         * lyxfind.h:
955         * lyxfont.h:
956         * lyxlex.h:
957         * lyxtextclasslist.h:
958         * messages.h:
959         * paragraph.h:
960         * paragraph_pimpl.C:
961         * textcursor.h: add <string> and other small fixes to make Lars'
962         std::string patch compile with STLport.
963
964 2003-10-06  Angus Leeming  <leeming@lyx.org>
965
966         * LColor.h: Add missing #include <string>.
967
968 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
969
970         * All most all file in all subdirs: Make <string> be the prefered
971         way of getting to std::string, add using declarations.
972
973 2003-10-06  André Pönitz  <poenitz@gmx.net>
974
975         * metricsinfo.C: initialize LyXFont before changing attribute.
976         (fixes the 'math in \emph is upright' bug)
977
978 2003-10-06  André Pönitz  <poenitz@gmx.net>
979
980         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
981
982 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
983
984         * graph.C:
985         * paragraph_pimpl.C: Small fixes to build using STLport
986
987 2003-10-02  André Pönitz  <poenitz@gmx.net>
988
989         * lyxfunc.C:
990         * text3.C: move handling of LFUN_DEPTH *; fix #1360
991
992 2003-10-01  André Pönitz  <poenitz@gmx.net>
993
994         * factory.C: assert early
995
996 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
997
998         * lyx_main.C: remove the global debug object
999
1000         * debug.h: adjust for new debugstream
1001
1002         * debug.C: adjust for new debugstream and keep the global debug
1003         object here.
1004
1005 2003-09-22  Angus Leeming  <leeming@lyx.org>
1006
1007         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1008         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1009         an incomplete class LyXFont.
1010
1011 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1012
1013         * factory.C: bug fix in branches
1014
1015 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1016
1017         * lyxfunc.C (processKeySym): adjust
1018         (dispatch): adjust
1019         (dispatch): change arg name from ev to func, adjust
1020         (sendDispatchMessage): ditto
1021
1022         * lyx_main.C (defaultKeyBindings): adjust keybindings
1023         (deadKeyBindings): ditto
1024
1025         * kbsequence.C (addkey): return a FuncRequest
1026
1027         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1028
1029         * kbmap.C (bind): take a FuncRequest as arg, adjust
1030         (read): adjust
1031         (lookup): adjust
1032         (defkey): change to take a FuncRequest as arg, adjust
1033         (findbinding): take a FuncRequest as arg, adjust.
1034
1035         * funcrequest.h (operator=): added
1036
1037         * funcrequest.C (FuncRequest): default kb_action changed from
1038         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1039
1040         * buffer.C (dispatch): simplify
1041         (dispatch): adjust to take a FuncRequest as arg, adjust
1042
1043         * boost.C (assertion_failed): change assertion message slightly
1044
1045         * ToolbarBackend.C (read): simplify
1046
1047         * MenuBackend.C (binding): adjust call to findbinding, add a
1048         message if no binding is found.
1049         (read): simplify
1050         (expandToc): correct by adding a empty FuncRequest
1051
1052         * LyXAction.C: include <boost/assert.hpp>
1053         (isPseudoAction): delete function
1054         (LookupFunc): change name to...
1055         (lookupFunc): this. change return type to FuncRequest.
1056         (getActionName): take kb_action as arg, simplify
1057         (funcHasFlag): add an assert, simplify.
1058
1059 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1060
1061         * toc.C (action): return a FuncRequest, simplify
1062
1063         * lyxfunc.C (processKeySym): adjust
1064         (getStatus): delete version that takes an int.
1065         (getStatus): adjust
1066         (dispatch): delete version that takes action as int
1067         (dispatch): adjust
1068         (sendDispatchMessage): simplify and adjust
1069
1070         * funcrequest.C (getArg): take unsigned int as arg
1071
1072         * ToolbarBackend.C (read): adjust
1073         (add): delete version that takes func as a string.
1074         (getIton): take a FuncRequest as arg
1075
1076         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1077         action.
1078
1079         * MenuBackend.C (MenuItem): add a new construct that only takes a
1080         Kind, simplify the constructor use for submenus.
1081         (add): adjust
1082         (expandLastfiles): adjust
1083         (expandDocuments): adjust
1084         (expandFormats): adjust
1085         (expandFloatListInsert): adjust
1086         (expandFloatInsert): adjust
1087         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1088
1089         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1090         Remove class variables lyx_pseudo_map and lyx_arg_map
1091
1092         * LyXAction.C (searchActionArg): delete function
1093         (getPseudoAction): delete function
1094         (retrieveActionArg): delete function
1095         (LookupFunc): make it return kb_action, simplify.
1096         (getActionName): simplify
1097
1098         * factory.C (createInset): fix new bug
1099
1100 2003-09-19  Angus Leeming  <leeming@lyx.org>
1101
1102         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1103         masterFilename_ parameter in the include inset.
1104
1105         * factory.C (createInset): changes due to the changes to InsetInclude.
1106
1107 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1108
1109         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1110
1111 2003-09-18  Angus Leeming  <leeming@lyx.org>
1112
1113         * buffer.C:
1114         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1115         Inset::fillWithBibKeys.
1116         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1117
1118 2003-09-18  Angus Leeming  <leeming@lyx.org>
1119
1120         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1121         variables.
1122         (ctor): pass and store a 'Buffer const &'
1123         (buffer): new member function.
1124
1125         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1126         '*this' to the LaTeXFeatures ctor.
1127
1128 2003-09-18  Angus Leeming  <leeming@lyx.org>
1129
1130         * LColor.h:
1131         * lyxfont.C:
1132         * lyxfont.h:
1133         * lyxtext.h:
1134         * text.C: rename EnumLColor as LColor_color.
1135
1136 2003-09-18  Angus Leeming  <leeming@lyx.org>
1137
1138         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1139         remove #include "insets/insetbase.h" from cursor.h.
1140
1141 2003-09-18  Angus Leeming  <leeming@lyx.org>
1142
1143         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1144         InsetOld_code to remove #include "inset.h".
1145
1146         * iterators.C: add #include "insets/inset.h"
1147
1148 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1149
1150         * BufferView.C: remove more locking stuff that apparently doesn't
1151         do anything sensible.
1152
1153 2003-09-16  André Pönitz  <poenitz@gmx.net>
1154
1155         * paragraph.[Ch]:
1156         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1157           performance boost.
1158
1159 2003-09-16  Angus Leeming  <leeming@lyx.org>
1160
1161         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1162
1163         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1164         arg/return type.
1165
1166         * paragraph.h: remove #include "lyxfont.h". Forward declare
1167         LyXFont_size.
1168
1169 2003-09-16  Angus Leeming  <leeming@lyx.org>
1170
1171         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1172         of support/textutils.h.
1173         (isWord): move the contents of support/textutils.h's IsWordChar here.
1174
1175         * buffer.C:
1176         * lyxfind.C:
1177         * rowpainter.C:
1178         * text.C:
1179         * text2.C: add #include "paragraph.h".
1180
1181         * rowpainter.C:
1182         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1183
1184 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1185
1186         * main.C:
1187         * lyx_main.C:
1188         * lyx_cb.C:
1189         * buffer.C:
1190         * LaTeX.C: use namespace alias for lyx::support::os
1191
1192 2003-09-16  Angus Leeming  <leeming@lyx.org>
1193
1194         * bufferparams.C:
1195         * bufferview_funcs.C:
1196         * factory.C:
1197         * lyxfunc.C:
1198         * paragraph_pimpl.C:
1199         * rowpainter.C:
1200         * text.C: add #include "LColor.h".
1201
1202 2003-09-16  Angus Leeming  <leeming@lyx.org>
1203
1204         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1205         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1206         return LyXFont &.
1207         Store the FontBits::color variable as an int rather than as an
1208         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1209         file.
1210
1211         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1212         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1213         string calls together.
1214
1215         * lyxrc.C: add #include "LColor.h".
1216
1217 2003-09-15  Angus Leeming  <leeming@lyx.org>
1218
1219         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1220         a cow_ptr.
1221
1222 2003-09-15  Angus Leeming  <leeming@lyx.org>
1223
1224         * LColor.h: add an EnumLColor wrapper for LColor::color.
1225
1226         * lyxfont.[Ch] (color, setColor, realColor):
1227         * lyxtext.h, text.C (backgroundColor):
1228         pass EnumLColor args to/from the functions, rather than LColor::color
1229         ones.
1230
1231         * lyxfont.h:
1232         * lyxtext.h: forward declare EnumLColor.
1233
1234         * lyx_main.C: add #include "LColor.h".
1235
1236 2003-09-15  Angus Leeming  <leeming@lyx.org>
1237
1238         * .cvsignore: add lyx-gtk.
1239
1240 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1241
1242         * Chktex.C
1243         * LaTeX.C
1244         * LaTeXFeatures.C
1245         * ParagraphParameters.C
1246         * Spacing.C
1247         * buffer.C
1248         * bufferparams.C
1249         * bufferview_funcs.C
1250         * chset.C
1251         * counters.C
1252         * funcrequest.C
1253         * lyxfont.C
1254         * lyxgluelength.C
1255         * lyxlength.C
1256         * paragraph.C
1257         * paragraph_funcs.C
1258         * text3.C
1259         * vc-backend.C: remove usage of STRCONV
1260
1261 2003-09-15  Angus Leeming  <leeming@lyx.org>
1262
1263         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1264         explicitly define the color passed to the painter.
1265
1266 2003-09-15  Angus Leeming  <leeming@lyx.org>
1267
1268         * bufferparams.C (BufferParams): reorder member initializers to avoid
1269         compiler warning.
1270
1271 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1272
1273         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1274         * text.C (updateRowPositions): remove an unusual nop
1275
1276 2003-09-12  André Pönitz  <poenitz@gmx.net>
1277
1278         * BufferView_pimpl.C:
1279         * Bullet.C:
1280         * layout.h:
1281         * lyxfunc.C:
1282         * lyxlayout.[Ch]:
1283         * lyxtextclass.C:
1284         * rowpainter.C:
1285         * text.C:
1286         * text2.C:
1287         * Counters.[Ch]: finish the 'automatic counters' job
1288
1289 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1290
1291         * aspell.C: include <boost/assert.cpp> (compile fix)
1292
1293 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1294
1295         * boost.C (assertion_failed): use lyx::support::abort instead of
1296         assert.
1297
1298 2003-09-10  Angus Leeming  <leeming@lyx.org>
1299
1300         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1301         with their _fwd progeny.
1302
1303 2003-09-09  Angus Leeming  <leeming@lyx.org>
1304
1305         134 files throughtout the source tree: replace 'using namespace abc;'
1306         directives with the appropriate 'using abc::xyz;' declarations.
1307
1308 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1309
1310         * boost.C (emergencyCleanup): moved here from LAssert.c
1311         (assertion_failed): new function, called by BOOST_ASSERT
1312
1313         * several files: change Assert to BOOST_ASSERT
1314
1315 2003-09-09  Angus Leeming  <leeming@lyx.org>
1316
1317         * buffer.[Ch]: Add an Impl class and move Buffer's member
1318         variables into it. As a result move several header files out of
1319         buffer.h.
1320
1321         Add header files to lots of .C files all over the tree as a result.
1322
1323 2003-09-09  Angus Leeming  <leeming@lyx.org>
1324
1325         * buffer.[Ch]: make Buffer's member variables private. Add
1326         accessor functions.
1327
1328         Lots of changes all over the tree as a result.
1329
1330 2003-09-08  Angus Leeming  <leeming@lyx.org>
1331
1332         * graph.C: #include <config.h>.
1333
1334 2003-09-08  Angus Leeming  <leeming@lyx.org>
1335
1336         * BranchList.C:
1337         * BufferView.C:
1338         * BufferView_pimpl.C:
1339         * CutAndPaste.C:
1340         * DepTable.C:
1341         * LaTeX.C:
1342         * LaTeXFeatures.C:
1343         * LyXAction.C:
1344         * MenuBackend.C:
1345         * TextCache.C:
1346         * aspell.C:
1347         * buffer.C:
1348         * bufferlist.C:
1349         * changes.C:
1350         * chset.C:
1351         * converter.C:
1352         * counters.C:
1353         * debug.C:
1354         * graph.C:
1355         * ispell.C:
1356         * lyx_cb.C:
1357         * lyxfind.C:
1358         * lyxfunc.C:
1359         * lyxlex_pimpl.C:
1360         * lyxrc.C:
1361         * lyxrow.C:
1362         * paragraph.C:
1363         * rowpainter.C:
1364         * texrow.C:
1365         * text.C:
1366         * text2.C:
1367         * toc.C: remove redundant using directives.
1368
1369 2003-09-07  Angus Leeming  <leeming@lyx.org>
1370
1371         * LaTeXFeatures.h: remove #include "support/types.h".
1372         * ToolbarBackend.h: remove #include <algorithm>.
1373         * changes.h: remove #include <ctime>.
1374         * debug.h: remove #include <iosfwd>.
1375         * graph.h: remove #include "support/std_string.h".
1376         * lyx_main.h: remove #include <csignal>.
1377         * lyxlex_pimpl.h: remove #include <fstream>.
1378         * sgml.h: remove #include <algorithm>, <utility>.
1379         * toc.h: remove #include "support/std_ostream.h".
1380         Add #include <iosfwd>.
1381
1382 2003-09-07  Angus Leeming  <leeming@lyx.org>
1383
1384         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1385
1386         * converter.h: forward declare LatexRunParams.
1387         * encoding.h: remove #include "lyxrc.h".
1388         * lyxtext.h: remove #include "LColor.h".
1389         * lyxtextclass.h: remove #include "support/types.h".
1390         * trans.h: remove #include "tex-accent.h".
1391         * trans_mgr.h: remove #include "tex-accent.h".
1392         * insets/inset.h: remove #include "support/types.h", <vector>.
1393         * insets/insetcollapsable.h: remove #include "LColor.h".
1394         * insets/insetinclude.h: remove #include "dimension.h".
1395         * insets/insetlatexaccent.h: remove #include "dimension.h".
1396         * insets/insetoptarg.h:: remove #include "insettext.h".
1397         * insets/insettext.h: remove #include "dimension.h",
1398         <boost/shared_ptr.hpp>
1399
1400         * insets/renderers.h: add #include "dimension.h".
1401         * insets/updatableinset.h: add #include "support/types.h".
1402
1403         * many .C files: Associated changes.
1404
1405 2003-09-06  Angus Leeming  <leeming@lyx.org>
1406
1407         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1408         one, inside testInvariant.
1409
1410         * PrinterParams.C: new file.
1411         * PrinterParams.[Ch]: move the function bodies out of line.
1412
1413 2003-09-06  Angus Leeming  <leeming@lyx.org>
1414
1415         * ParagraphParameters.h: forward declare ParameterStruct rather than
1416         including its header file.
1417         (depth): moved out-of-line.
1418
1419 2003-09-06  Angus Leeming  <leeming@lyx.org>
1420
1421         * BufferView_pimpl.h:
1422         * kbmap.h:
1423         * kbsequence.h:
1424         * lyxfunc.h: forward declare LyXKeySym rather than
1425         #include "frontends/LyXKeySym.h".
1426
1427         * BufferView_pimpl.C:
1428         * kbmap.C:
1429         * kbsequence.C:
1430         * lyxfunc.C: associated changes.
1431
1432 2003-09-06  Angus Leeming  <leeming@lyx.org>
1433
1434         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1435         As a result, can remove the #include "insets/inset.h" from BufferView.h
1436
1437 2003-09-06  Angus Leeming  <leeming@lyx.org>
1438
1439         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1440         As a result, can remove the #include "insets/inset.h" from BufferView.h
1441
1442 2003-09-06  Angus Leeming  <leeming@lyx.org>
1443
1444         * buffer_funcs.C:
1445         * buffer.h:
1446         * bufferlist.C:
1447         * BufferView.C:
1448         * bufferview_funcs.C:
1449         * BufferView_pimpl.C:
1450         * CutAndPaste.C:
1451         * lyx_cb.C:
1452         * lyxfunc.C:
1453         * paragraph.h:
1454         * ParagraphParameters.C:
1455         * tabular.C:
1456         * text3.C:
1457         * toc.C:
1458         * undo_funcs.C:
1459         * frontends/controllers/ControlDocument.C:
1460         * insets/insetcaption.C: rearrange the #includes into some sort of
1461         coherent order.
1462
1463         * buffer.h: remove #includes ErrorList.h, undo.h
1464
1465 2003-09-06  Angus Leeming  <leeming@lyx.org>
1466
1467         * support/types.h: add a 'depth_type' typedef, used to store the
1468         nesting depth of a paragraph.
1469
1470         * paragraph.h:
1471         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1472         defining explicitly.
1473
1474         * buffer.h:
1475         * paragraph_funcs.h:
1476         * ParagraphParameters.h:
1477         * sgml.h: use lyx::depth_type rather than Paragraph or
1478         ParameterStruct's depth_type.
1479
1480         * buffer.h
1481         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1482
1483         * BufferView.C:
1484         * BufferView_pimpl.C:
1485         * CutAndPaste.C:
1486         * ParagraphParameters.C:
1487         * buffer_funcs.C:
1488         * bufferlist.C:
1489         * bufferview_funcs.C:
1490         * lyx_cb.C:
1491         * lyxfunc.C:
1492         * tabular.C:
1493         * text3.C:
1494         * toc.C:
1495         * undo_funcs.C:
1496         * frontends/LyXView.C:
1497         * frontends/controllers/ControlDocument.C:
1498         * frontends/controllers/ControlErrorList.C:
1499         * insets/insetbibitem.C:
1500         * insets/insetbranch.C:
1501         * insets/insetcaption.C:
1502         * insets/insetcollapsable.C:
1503         * insets/insetenv.C:
1504         * insets/insetert.C:
1505         * insets/insetfloat.C:
1506         * insets/insetfoot.C:
1507         * insets/insetfootlike.C:
1508         * insets/insetnewline.C:
1509         * insets/insetquotes.C:
1510         * insets/insettabular.C:
1511         * insets/insettext.C:
1512         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1513
1514         * frontends/controllers/ControlChanges.C: #include "changes.h".
1515
1516 2003-09-06  Angus Leeming  <leeming@lyx.org>
1517
1518         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1519         than #including paragraph.h.
1520
1521         * ParagraphList.h:
1522         * RowList.h: deleted. Superfluous.
1523
1524         * CutAndPaste.h:
1525         * iterators.h:
1526         * lyxcursor.h:
1527         * lyxtext.h:
1528         * text_funcs.h:
1529         * undo.h:
1530         * undo_funcs.h:
1531         * insets/inset.h:
1532         * insets/insettext.h: use ParagraphList_fwd.h rather than
1533         ParagraphList.h.
1534
1535         * paragraph.h: don't forward declare ParagraphList.
1536
1537         * buffer.h:
1538         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1539         rather than ParagraphList.h. paragraph.h is still needed for the
1540         Paragraph::depth_type parameters.
1541
1542         * textcursor.h: enable it to compile stand-alone in light of the
1543         above changes.
1544
1545         * bufferview_funcs.C:
1546         * iterators.C:
1547         * lyxfunc.C:
1548         * lyxrow_funcs.C:
1549         * paragraph.C:
1550         * rowpainter.C:
1551         * text.C:
1552         * text2.C:
1553         * text3.C:
1554         * text_funcs.C:
1555         * textcursor.C:
1556         * undo.C:
1557         * frontends/controllers/ControlParagraph.C:
1558         * frontends/controllers/ControlTabular.C:
1559         * insets/insetmarginal.C:
1560         * insets/insetminipage.C:
1561         * insets/insetnote.C:
1562         * insets/insetoptarg.C: add header files needed to compile again.
1563
1564 2003-09-06  Angus Leeming  <leeming@lyx.org>
1565
1566         * RowList_fwd.h: new file, forward-declaring Row rather than
1567         #including lyxrow.h.
1568
1569         * lyxrow_funcs.h:
1570         * lyxtext.h:
1571         * paragraph.h:
1572         * insets/insettext.h: use it instead of RowList.h
1573
1574         * bufferview_funcs.C:
1575         * lyxfunc.C:
1576         * lyxrow_funcs.C:
1577         * paragraph.C:
1578         * rowpainter.C:
1579         * text.C:
1580         * text2.C:
1581         * text3.C: #include "RowList.h".
1582
1583 2003-09-05  Angus Leeming  <leeming@lyx.org>
1584
1585         * factory.C (createInset):
1586         * vspace.C (c-tor): replace sscanf call with an istringstream.
1587         * ispell.C: re-add missing HP/UX headers.
1588         * lyxserver.C: re-add missing  os2 headers.
1589
1590 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1591
1592         * BranchList.C:
1593         * graph.C:
1594         * ispell.C:
1595         * lastfiles.C:
1596         * lyx_cb.C:
1597         * lyxserver.C:
1598         * texrow.C:
1599         * text3.C: re-add missing system headers, needed for 2.95.2.
1600
1601 2003-09-05  Angus Leeming  <leeming@lyx.org>
1602
1603         Changes most place everywhere due to the removal of using directives
1604         from support/std_sstream.h.
1605
1606 2003-09-05  Angus Leeming  <leeming@lyx.org>
1607
1608         Replace LString.h with support/std_string.h,
1609         Lsstream.h with support/std_sstream.h,
1610         support/LIstream.h with support/std_istream.h,
1611         support/LOstream.h with support/std_ostream.h.
1612
1613         Changes resulting throughout the tree.
1614
1615 2003-09-05  Angus Leeming  <leeming@lyx.org>
1616
1617         * sgml.h: ensure that the header file can be compiled stand-alone.
1618         * *.C: strip out redundant #includes. (320 in total.)
1619
1620 2003-09-04  Angus Leeming  <leeming@lyx.org>
1621
1622         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1623         here (from getPackages).
1624
1625         * debug.[Ch]: add a new EXTERNAL tag.
1626
1627 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1628
1629         * text2.C (cursorEnd): simplify
1630         (setCursor): adjust
1631         (getColumnNearX): adjust
1632
1633         * text.C (computeBidiTables): adjust
1634         (fill): adjust
1635
1636         * rowpainter.C (paintChars): adjust
1637         (paintSelection): adjust
1638         (paintChangeBar): adjust
1639         (paintText): adjust
1640
1641         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1642         lastPos instead.
1643         (numberOfSeparators): adjust
1644
1645 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1646
1647         * LyXAction.C:
1648         * box.[Ch]:
1649         * lfuns.h:
1650         * lyxfunc.C:
1651         * text3.C: Restricts the mouse click functionality
1652         of insets like bibtex, include, toc and floatlist to the visible
1653         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1654         up the dialogs. Cursor has to be in front of the inset (i.e.
1655         start of row) for this to function.
1656
1657 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1658
1659         * bufferview_funcs.C (currentState): output row information
1660
1661 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1662
1663         * bufferview_funcs.C (currentState): output paragraph position
1664
1665 2003-09-04  Angus Leeming  <leeming@lyx.org>
1666
1667         * FloatList.h: move out #include "Floating.h".
1668         * LaTeX.h: move out #include "DepTable.h".
1669         * LyXAction.h: move out #include "funcrequest.h".
1670         * buffer.h: move out #include "author.h", "iterators.h".
1671         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1672         * lyx_main.h: move out #include "errorlist.h".
1673         * lyxfunc.h: move out #include "FuncStatus.h".
1674         * lyxtext: move out #include "lyxcursor.h".
1675         * paragraph_pimpl.h: move out #include "counters.h".
1676
1677 2003-09-03  Angus Leeming  <leeming@lyx.org>
1678
1679         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1680         preamble_snippets list, enabling us to add snippets to the preamble
1681         only if the snippet was not there already.
1682
1683 2003-09-04  Angus Leeming  <leeming@lyx.org>
1684
1685         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1686
1687 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1688
1689         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1690         update
1691
1692 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1693
1694         * BranchList.C: point fix, earlier forgotten
1695
1696 2003-09-02  Angus Leeming  <leeming@lyx.org>
1697
1698         * box.C (contains): renamed from 'contained' after a fantastic
1699         amount of hot air.
1700
1701 2003-09-02  John Levon  <levon@movementarian.org>
1702
1703         * BufferView.C:
1704         * lyxcursor.h:
1705         * lyxcursor.C:
1706         * lyxfunc.C:
1707         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1708
1709 2003-09-02  John Levon  <levon@movementarian.org>
1710
1711         * text2.C: simplification of cursorEnd(), including partial
1712         fix for bug 1376
1713
1714 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1715
1716         * buffer.C (readFile): add a space
1717
1718 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1719
1720         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1721
1722 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1723
1724         * buffer.C (readFile): new function, take a filename and a
1725         ParagraphList::iterator
1726         (readFile): adjust
1727         (readFile): adjust, make it private. don't use setStream, make
1728         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1729         always contain the filename.
1730
1731         * BufferView.C (insertLyXFile): simplify and make it work for
1732         gzipped files.
1733
1734 2003-08-30  John Levon  <levon@movementarian.org>
1735
1736         * Makefile.am: fix dist (from Kayvan)
1737
1738 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1739
1740         * most files: change to use const Buffer refs
1741
1742 2003-08-27  André Pönitz  <poenitz@gmx.net>
1743
1744         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1745         on top of ownerPar().
1746
1747 2003-08-27  John Levon  <levon@movementarian.org>
1748
1749         * funcrequest.C: properly initialise POD members
1750
1751 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1752
1753         * lyxtext.h (top_y): move top_y from here
1754         * text.C:
1755         * text2.C:
1756         * text3.C:
1757         * BufferView.[Ch]:
1758         * BufferView_pimpl.[Ch]: to here
1759         * frontends/screen.C:
1760         * insets/insettabular.C:
1761         * insets/insettext.C: adjust
1762         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1763
1764 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1765
1766         * BufferView.[Ch]:
1767         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1768
1769 2003-08-26  André Pönitz  <poenitz@gmx.net>
1770
1771         * paragraph_func.[Ch] (outerPar): new function
1772
1773         * paragraph.C:
1774         * paragraph_funcs.C:
1775         * paragraph_funcs.h:
1776         * paragraph_pimpl.C:
1777         * text2.C: remove Inset::par_owner
1778
1779 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1780
1781         * lyxrow_funcs.C:
1782         * lyxtext.h:
1783         * text.C:
1784         * text2.C: eliminates the needFullRow/display() stuff
1785         altogether, putting the logic in metrics/draw in the insets.
1786
1787 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1788
1789         * text2.C (redoParagraphInternal, redoParagraphs):
1790         * text.C (redoParagraph): add a call to updateRowPositions at the
1791         end of each 'metrics-like' call. Remove all others.
1792         (getRow): remove the 'y-computing' version.
1793         (getRowNearY): do not compute nor return the real y. Solve the
1794         'y < 0' problem and simplify.
1795
1796 2003-08-22  Angus Leeming  <leeming@lyx.org>
1797
1798         * *.[Ch]: clean-up of licence and author blurbs.
1799         Also move config.h out of a few .h files and into a few .C files.
1800
1801 2003-08-22  André Pönitz  <poenitz@gmx.net>
1802
1803         * lyxrow.[Ch]: add x_ and *fill_ members
1804
1805         * lyxtext.h:
1806         * text.C:
1807         * rowpainter.C:
1808         * text2.C: adjust/remove prepareToPrint() calls
1809
1810 2003-08-22  André Pönitz  <poenitz@gmx.net>
1811
1812         * lyxrow.[Ch]: add  end_ member
1813
1814         * lyxrow_funcs.C: use LyXRow::end_
1815
1816         * lyxtext.h (singleWidth): add LyXFont parameter
1817
1818         * rowpainter.C:
1819         * text2.C: adjust LyXText::singleWidth() calls
1820
1821         * text.C (redoParagraph): simplify row breaking logic
1822
1823
1824 2003-08-19  André Pönitz  <poenitz@gmx.net>
1825
1826         * funcrequest.C: initialize button_ member
1827
1828         * text3.C:
1829         * rowpainter.[Ch]: interface consolidation
1830
1831 2003-08-18  André Pönitz  <poenitz@gmx.net>
1832
1833         * BufferView.C:
1834         * BufferView_pimpl.C:
1835         * lyxfind.C:
1836         * paragraph_funcs.C:
1837         * rowpainter.C:
1838         * text3.C: remove LyXScreen::draw() and fitCursor calls
1839
1840         * BranchList.h: remove spurious semicolons
1841
1842         * MenuBackend.C: fix branchlist related crash
1843
1844 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1845
1846         * BranchList.[Ch]:
1847         * InsetList.[Ch]:
1848         * LColor.[Ch]:
1849         * LyXAction.C:
1850         * Makefile.am:
1851         * MenuBackend.[Ch]:
1852         * bufferparams.[Ch]:
1853         * factory.C:
1854         * lfuns.h:
1855         * lyxfunc.C:
1856         * text3.C: implements the 'branch inset'
1857         idea. This allows the output of various versions of a document
1858         from a single source version, selectively outputing or suppressing
1859         output of parts of the text.
1860         This implementation contains a 'branch list editor' in a separate
1861         tab of the document settings dialog. Branches are user definable
1862         and have a "display colour" to distinguish them on-screen.
1863
1864         ColorHandler was somewhat cleaned up.
1865         (1) make possible a dynamically growing LColor list by allowing
1866         the graphic context cache to grow along (vector);
1867         (2) eliminate an IMHO unnecessary step in colour allocation.
1868
1869 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1870
1871         * BufferView_pimpl.C: compile fix
1872
1873 2003-08-15  André Pönitz  <poenitz@gmx.net>
1874
1875         * rowpainter.C: remove extra metrics calls
1876
1877         * lyxtext.h: merge the two constructors into a single one,
1878           pass reference to owner's par list
1879
1880         * BufferView_pimpl.C:
1881         * text.C:
1882         * text2.C: adjust
1883
1884 2003-08-15  André Pönitz  <poenitz@gmx.net>
1885
1886         * lyxrow_funcs.[Ch]:
1887         * lyxtext.h:
1888         * paragraph.h:
1889         * paragraph_funcs.C:
1890         * rowpainter.C:
1891         * text.C:
1892         * text2.C:
1893         * text3.C:
1894         * text_funcs.C: split LyXText::rowlist_ into individual
1895         Paragraph::rows_ chunks
1896
1897         * BufferView.[Ch]:
1898         * BufferView_pimpl.[Ch]:
1899         * lyxfind.C:
1900         * lyxtext.h:
1901         * text3.C: remove toggleSelection()
1902
1903 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1904
1905         * bufferlist.C: beautify two alerts (shorter text of buttons)
1906         * buffer.C: Remove redundant ' ' from message
1907         * tabular.h:
1908         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1909         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1910         rename VALIGN_CENTER to VALIGN_MIDDLE
1911
1912 2003-08-11  André Pönitz  <poenitz@gmx.net>
1913
1914         * lyxtext.h (getPar):
1915         * text.C: new function
1916
1917 2003-08-11  André Pönitz  <poenitz@gmx.net>
1918
1919         * Makefile.am:
1920         * tracer.[Ch]: remove unneeded files
1921
1922         * InsetList.[Ch]: remove resizeInsetsLyXText()
1923
1924         * lyxtext.h:
1925         * text.C:
1926         * text2.C:
1927         * text3.C: merge insertParagraphs() and appendParagraph()
1928         remove breakAgain(), update()
1929
1930         * BufferView_pimpl.[Ch]:
1931         * bufferview_funcs.[Ch]:
1932         * lyxfunc.C:
1933         * paragraph.[Ch]:
1934         * rowpainter.C:
1935         * tabular.C: adjust after text & InsetList changes.
1936
1937 2003-08-08  André Pönitz  <poenitz@gmx.net>
1938
1939         * text.C (insertChar, backspace): replace rowlist fiddling
1940         with rebreak of full par
1941
1942         * lyxtext.h:
1943         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1944         checkParagraph, updateInset): removed
1945
1946 2003-08-07  André Pönitz  <poenitz@gmx.net>
1947
1948         * paragraph.C:
1949         * text3.C: merge some LFUN handlers, remove dead code
1950
1951 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1952
1953         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1954
1955 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1956
1957         * text2.C (DEPM): fix part of bug 1255 and 1256
1958
1959 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1960
1961         * BufferView_pimpl.C (workAreaDispatch): change to use
1962         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1963         that are no mouse related.
1964
1965 2003-08-05  André Pönitz  <poenitz@gmx.net>
1966
1967         * BufferView.[Ch]:
1968         * BufferView_pimpl.[Ch]:
1969         * bufferview_funcs.C:
1970         * text2.C:
1971         * text3.C: rip out "deep update"
1972
1973         * textcursor.[Ch] (last_sel_cursor): remove unused member
1974
1975 2003-08-04  André Pönitz  <poenitz@gmx.net>
1976
1977         * BufferView.[Ch]:
1978         * BufferView_pimpl.[Ch]:
1979         * ParagraphParameters.C:
1980         * bufferview_funcs.C:
1981         * lyx_cb.C:
1982         * lyxfind.C:
1983         * lyxfunc.C:
1984         * text.C:
1985         * text2.C:
1986         * text3.C: replace "complicated" BufferView::update(...) calls with
1987         simpler ones.
1988
1989         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1990
1991 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1992
1993         * Makefile.am (lyx_SOURCES): add paper.h
1994
1995 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1996
1997         * Makefile.am: move things around so that both lyx-qt and
1998         lyx-xforms can be built (according to --with-frontend). Then lyx
1999         is a symbolic link to lyx-[firstfrontend]
2000
2001 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2002
2003         * Always use std::endl with lyxerr
2004
2005 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2006
2007         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2008
2009 2003-08-01  André Pönitz  <poenitz@gmx.net>
2010
2011         * BufferView.[Ch]:
2012         * BufferView_pimpl.[Ch]:
2013         * lyxfunc.C:
2014         * text3.C: merge BufferView::repaint() and BufferView::update()
2015
2016 2003-08-01  José Matos  <jamatos@lyx.org>
2017
2018         * buffer.[Ch]: file_format is no longer a buffer data element.
2019
2020 2003-08-01  André Pönitz  <poenitz@gmx.net>
2021
2022         * BufferView.C:
2023         * lyxtext.h:
2024         * text.C:
2025         * text2.C: make redoParagraph more independent of current cursor
2026
2027         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2028         * text.C:
2029         * text2.C: remove unneeded members
2030
2031 2003-07-30  André Pönitz  <poenitz@gmx.net>
2032
2033         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2034
2035         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2036           create a single function...
2037
2038         * paragraph_funcs.C (moveItem): ... here.
2039
2040         * text.C:
2041           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2042
2043 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2044
2045         * LColor.[Ch]: Add comment and greyedout logical colors.
2046
2047 2003-07-30  André Pönitz  <poenitz@gmx.net>
2048
2049         * tabular.C: don't use Assert too heavily. This crashes where it
2050           shouldn't
2051
2052 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2053
2054         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2055         is disabled (bug 1232)
2056
2057 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2058
2059         * factory.C: limited 'arg' scope
2060
2061 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2062
2063         * factory.C: fixed Note submenu issues
2064
2065 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2066
2067         * factory.C: submenu for Note/Comment/Greyedout
2068
2069 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2070
2071         * lyx_main.C (LyX):
2072         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2073
2074 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2075
2076         * LaTeXFeatures.C:
2077         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2078         greyedout. Patch provided by Jürgen Spitzmüller.
2079
2080 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2081
2082         * kbmap.C (read): fix error message when reading bind files
2083
2084 2003-07-29  Angus Leeming  <leeming@lyx.org>
2085
2086         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2087         certainly does not do what it purports to do. I am doing it, and
2088         us, a favour by killing it.
2089
2090 2003-07-28  José Matos  <jamatos@lyx.org>
2091
2092         * buffer.C (readBody, do_writeFile):
2093         * paragraph.C(readParagraph): \end_document replaces \the_end.
2094
2095 2003-07-29  André Pönitz  <poenitz@gmx.net>
2096
2097         * BufferView.[Ch]:
2098         * BufferView_pimpl.[Ch]:
2099         * lyxfunc.C:
2100         * text2.C:
2101         * text3.C:
2102         * textcursor.[Ch]: remove toggleToggle & Co
2103
2104 2003-07-28  José Matos  <jamatos@fep.up.pt>
2105
2106         * buffer.C (readParagraph):
2107         * params_func (readParToken, readParagraph):
2108         * paragraph.C (write): \layout -> \begin_layout.
2109
2110 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2111
2112         * lyxlex_pimpl.C (setFile): clean up slightly.
2113
2114         * bufferparams.h: add compressed var
2115
2116         * buffer_funcs.C (readFile): adjust for LyXLex change
2117         (newFile): ditto + simplify
2118
2119         * buffer.C (writeFile): handle writing of compressed files
2120
2121         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2122         Check if the file is compressed and set a bufferparm if so.
2123
2124         * Makefile.am (lyx_LDADD): remove explicit -lz
2125
2126 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2127
2128         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2129         makeDocBookFile): put the real LyX version in the first line of
2130         the file
2131
2132         * version.h:
2133         * version.C.in: remove lyx_docversion
2134
2135         * tabular.C (write_attribute): add a template-based version to
2136         write enums properly
2137
2138 2003-07-28  André Pönitz  <poenitz@gmx.net>
2139
2140         * lyxtext.h:
2141         * text.C:
2142         * text2.C:
2143         * text3.C: use doubles again for x-coordinates. They are needed.
2144
2145 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2146
2147         * messages.C (getLocaleDir): use lyx_localedir()
2148
2149         * lyxlex_pimpl.C (setFile): compress stuff
2150
2151         * buffer.C (writeFile): add some compression stuff
2152         (do_writeFile): new func, dont call expliti close... will this
2153         breake anything?
2154
2155         * Makefile.am (lyx_LDADD): add -lz
2156
2157 2003-07-28  José Matos  <jamatos@fep.up.pt>
2158
2159         * buffer.C: increment file format.
2160         * paragraph_funcs (readParagraph, readParToken):
2161         * paragraph.C (readParagraph): add \end_layout.
2162
2163 2003-07-27  Angus Leeming  <leeming@lyx.org>
2164
2165         * Makefile.am: remove special casing for configure-time setting of
2166         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2167
2168         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2169         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2170
2171 2003-07-26  André Pönitz  <poenitz@gmx.net>
2172
2173         * paragraph_func.[Ch]:
2174         * paragraph.C (realizeFont): inline it whereever it is used
2175
2176         * rowpainter.C:
2177         * text.C:
2178         * text2.C:
2179         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2180
2181
2182 2003-07-26  André Pönitz  <poenitz@gmx.net>
2183
2184         *       lyxtext.h:
2185         * text.C:
2186         * text2.C: get rid of LyXText::need_break_row
2187
2188 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2189
2190         * toc.[Ch]: put namespace toc inside namespace lyx
2191
2192         * MenuBackend.C (expandToc2): adjust for lyx::toc
2193         (expandToc): ditto
2194
2195         * lyxfunc.C (dispatch): adjust for lyx::find
2196
2197         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2198         lyx::find instead. Reorganize a bit.
2199         (LyXReplace): rename to replace
2200         (LyXFind): rename to find
2201
2202         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2203         (dispatch): ditto
2204
2205 2003-07-26  André Pönitz  <poenitz@gmx.net>
2206
2207         * text.C (setHeightOfRow): restrict scope of temporary variable
2208
2209         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2210           code (never has been used?)
2211
2212 2003-07-27  Asger Alstrup  <alstrup@local>
2213
2214         * text.C (fill): Optimise algorithm to exploit that we can reuse
2215         the LyXFont for many characters.
2216         (setHeightOfRow): Same thing.
2217         (rowBreakPoint): Same thing.
2218
2219 2003-07-26  Asger Alstrup  <alstrup@local>
2220
2221         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2222
2223         * text.C (singleWidth): Spurious font copying in hot-spot
2224         singleWidth avoided. Reorder tests for arabic for efficiency.
2225
2226         * text.C (fill): handle empty paragraphs better.
2227
2228 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2229
2230         * ispell.C:
2231         * encoding.h: add includes
2232
2233         * lyxrc.C: remove reading of bind files
2234
2235         * lyx_main.C (init): setup bindings and menus only if we have a
2236         gui.
2237
2238         * kbmap.C (read): new method. Do the actual reading of bind
2239         files.
2240
2241         * converter.C (dvipdfm_options):
2242         * bufferparams.C:
2243         * lyxrc.C (read):
2244         (output): adapt PAPER_* enums.
2245
2246         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2247
2248         * bufferparams.h: remove paper-related enums from there
2249
2250         * paper.h: New file. A trivial header file to hold paper-related
2251         enums. It should later expand to contain many paper-related
2252         horrors access.
2253
2254         * lyxrc.C: declare extern displayTranslator
2255
2256 2003-07-27  José Matos  <jamatos@fep.up.pt>
2257
2258         * tabular.[Ch] (linuxdoc): add support for tables and figures
2259         (linuxdoc).
2260
2261 2003-07-27  José Matos  <jamatos@fep.up.pt>
2262
2263         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2264         consistency in both functions.
2265         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2266
2267 2003-07-26  Asger Alstrup  <alstrup@local>
2268
2269         * rowpainter.C (paintRows): Change algorithm to work directly on
2270         the insets rather than asking every character in the document
2271         whether its an inset.
2272
2273 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2274
2275         * buffer.C (openFileWrite): factorize some code
2276
2277 2003-07-26  Angus Leeming  <leeming@lyx.org>
2278
2279         * lyx_cb.C:
2280         * lyx_main.[Ch]: replace occurances of system_tempdir with
2281         os::getTmpDir().
2282
2283 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2284
2285         * rename Inset to InsetOld
2286
2287 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2288
2289         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2290         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2291         which I think is a bit clearer. EDIT is gone, since it was
2292         premature optimisation, and broken for mathed anyway.
2293         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2294         with cursor positioning in insets as well (math insets still do not
2295         work, but that's a different story anyway.) It mysteriously
2296         crashes sometimes with undo in the first paragraph, but I'm fairly
2297         confident that this is a compiler bug.
2298
2299 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2300
2301         * paragraph.C (Paragraph): adjust for new clone return type
2302         (operator==): ditto
2303         (copyIntoMinibuffer): ditto
2304
2305 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2306
2307         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2308         by not having a special case, and always doing a full rebreak of
2309         the document after undo.
2310
2311 2003-07-23  Angus Leeming  <leeming@lyx.org>
2312
2313         * factory.C (createInset): InsetExternal::setParams now takes a
2314         Buffer const * arg.
2315
2316 2003-07-23  Angus Leeming  <leeming@lyx.org>
2317
2318         * factory.C (createInset): changed interface to the external and
2319         graphics mailers' string2params functions.
2320
2321 2003-07-23  Angus Leeming  <leeming@lyx.org>
2322
2323         * factory.C (createInset): pass a
2324         Buffer const * parameter to InsetExternalMailer's string2params.
2325
2326 2003-07-22  John Levon  <levon@movementarian.org>
2327
2328         * Thesaurus.h: include the right aiksaurus header
2329
2330 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2331
2332         * MenuBackend.C (expand): check menu shortcuts unconditionally
2333
2334 2003-07-21  Angus Leeming  <leeming@lyx.org>
2335
2336         * factory.C (createInset): pass a
2337         buffer_path parameter to InsetGraphicsMailer's string2params.
2338
2339 2003-07-21  Angus Leeming  <leeming@lyx.org>
2340
2341         * BufferView_pimpl.C (buffer):
2342         * buffer.C (d-tor):
2343         * lyx_main.C (LyX):
2344         * lyxfunc.C (dispatch):
2345         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2346         rather than the grfx shortcut.
2347
2348 2003-07-21  André Pönitz  <poenitz@gmx.net>
2349
2350         * rowpainter.C: remove unused variables
2351
2352         * tabular_funcs.C:
2353         * tabular_funcs.h: move to tabular.C
2354         * Makefile.am: adjust
2355
2356         * tabular.[Ch]: basic optical cleaning
2357
2358         * author.h: pass references, not values
2359
2360 2003-07-18  André Pönitz  <poenitz@gmx.net>
2361
2362         * lyxtext.h:
2363         * metricsinfo.C:
2364         * metricsinfo.h:
2365         * rowpainter.C:
2366         * text.C:
2367         * text2.C:
2368         * text3.C: two-phase drawing for InsetText and InsetTabular
2369         some float -> int changes.
2370
2371 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2372
2373         * lyx_main.C: fix the fix
2374
2375 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2376
2377         * lyx_main.C: fix a crash in batch mode if no files specified
2378         * converter.C: ws
2379
2380 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2381
2382         * format.[Ch] (papersize): moved to BufferParams
2383         * converter.[Ch] (dvips_options): moved to BufferParams
2384         (dvipdfm_options): moved to anon namespace
2385         * bufferparams.[Ch]: added above functions.
2386
2387 2003-07-17  André Pönitz  <poenitz@gmx.net>
2388
2389         * lyxtext.h:
2390         * rowpainter.C:
2391         * text2.C: don't call inset->update() anymore
2392
2393         * metricsinfo.[Ch]: add convenience constructor
2394
2395 2003-07-16  André Pönitz  <poenitz@gmx.net>
2396
2397         * lyxcursor.[Ch]:
2398         * lyxfunc.[Ch]:
2399         * text.C:
2400         * text2.C: replace the LyXCursor::irow_ member with
2401          on-demand computation of the value
2402
2403 2003-07-16  John Levon  <levon@movementarian.org>
2404
2405         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2406
2407 2003-07-15  André Pönitz  <poenitz@gmx.net>
2408
2409         * text.C:
2410         * text2.C: remove no more needed refresh_row
2411
2412 2003-07-15  André Pönitz  <poenitz@gmx.net>
2413
2414         * lyxtext.h:
2415         * rowpainter.C:
2416         * text2.C:
2417         * text3.C: refresh_status tristate -> need_update bool
2418
2419 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2420
2421         * lyxtext.h (init): remove reinit argument (act as if always true)
2422         * text2.C: adjust to that
2423
2424 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2425
2426         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2427         * text3.C: use it to delete selections in some cases
2428         (bugs 441, 673, 702, 954).
2429
2430 2003-07-14  André Pönitz  <poenitz@gmx.net>
2431
2432         * rowpainter.[Ch]: reduce interface
2433
2434 2003-07-14  André Pönitz  <poenitz@gmx.net>
2435
2436         * BufferView_pimpl.C:
2437         * text2.C: adjust after removing unused BufferView * argument
2438
2439 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2440
2441         * text2.C (init): fix a crash fired on resize
2442
2443 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2444
2445         * buffer.[Ch]: added new closing signal
2446         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2447         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2448         BufferView::Pimpl via the closing the signal
2449
2450 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2451
2452         * buffer.[Ch]: take out all bv-related from buffer
2453         * BufferView.C:
2454         * BufferView_pimpl.[Ch]: connect to new signals
2455         * CutAndPaste.C: removed useless asserts
2456         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2457         * lyxvc.[Ch]:
2458         * vc-backend.[Ch]:
2459         * lyxfunc.C: moved view-related funciontality from vc here
2460         * paragraph.C: removed outdated comments
2461         * text.C: ws
2462
2463 2003-07-10  André Pönitz  <poenitz@gmx.net>
2464
2465         * BufferView_pimpl.C:
2466         * tabular.h:
2467         * tabular_funcs.C:
2468         * text.C:
2469         * text2.C: remove InsetText::InnerCache, clean up consequences
2470
2471 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2472
2473         * ispell.C: fix two typos in error messages
2474
2475 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2476
2477         * Extend Note inset to other forms of annotation like Comment
2478         and Greyedout. Right button click gives dialog.
2479
2480         Files modified or added (+):
2481
2482         * insetnote.[Ch]
2483         * FormNote.[Ch]      +
2484         * ControlNote.[Ch]   +
2485         * form_note.fd       +
2486         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2487         frontends/controllers
2488         * xforms/Dialogs.C
2489         * factory.C
2490
2491 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2492
2493         * aspell.C: add missing namespace lyx::support
2494
2495 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2496
2497         * BufferView.[Ch] (newFile): Add
2498         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2499         * LaTeX.[Ch] (message): added this signal and use it
2500         * buffer.[Ch] (busy, message): added these signals and use them
2501         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2502         * converter.C:
2503         * exporter.C:
2504         * format.C:
2505         * importer.C: use buffer signals instead of direct bv calling
2506         * lyx_cb.[Ch] (ShowMessage): removed
2507         * lyx_main.C:
2508         * lyxfunc.C:
2509         * paragraph_funcs.C:
2510         * text2.C: use buffer signals
2511
2512 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2513
2514         * introduce namespace lyx::graphics
2515
2516 2003-07-02  André Pönitz  <poenitz@gmx.net>
2517
2518         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2519
2520 2003-07-01  André Pönitz  <poenitz@gmx.net>
2521
2522         * text.C:
2523         * text2.C:
2524         * text3.C:
2525         * text_funcs.[Ch]:
2526         * textcursor.h:
2527         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2528           text*.C to text_func.C
2529
2530 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2531
2532         * introduce namespace lyx::support
2533
2534 2003-06-30  André Pönitz  <poenitz@gmx.net>
2535
2536         * Chktex.C:
2537         * funcrequest.C:
2538         * lyxtext.h:
2539         * text.C: re-enable --with-included-string
2540
2541 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2542
2543         * textcursor.C: add <config.h>
2544
2545         * text.C (getWord): remove const from word_location arg
2546
2547         * lyxvc.C (getLogFile): fix const type order
2548
2549         * lyxtext.h: remove const from word_location arg, add arg name
2550
2551         * lyxlayout.h: currect type on labeltype.
2552
2553         * importer.C: correct \file
2554
2555         * converter.C (intToFormat): use std:: on ret val, ws changes
2556
2557         * bufferlist.h: correct \file
2558
2559         * buffer.C (makeLinuxDocFile): fix const type order
2560         (makeDocBookFile): ditto
2561         (fillWithBibKeys): use std:: on stdlib args.
2562
2563         * CutAndPaste.C: fix authors.
2564         (availableSelections): use std:: on return vector
2565
2566 2003-06-27  André Pönitz  <poenitz@gmx.net>
2567
2568         * BufferView_pimpl.C:
2569         * bufferview_funcs.C:
2570         * lyxcursor.C:
2571         * lyxcursor.h:
2572         * lyxfunc.C:
2573         * lyxtext.h:
2574         * rowpainter.C:
2575         * text.C:
2576         * text2.C:
2577         * text3.C: remove LyXCursor::row_ member
2578
2579         * lyxtext.h:
2580         * text.C: rename fullRebreak() to partialRebreak() and implement
2581           a fullRebreak() that really bereks fully
2582
2583         * textcursor.h: new struct for cursor-related data
2584
2585 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2586
2587         * lyx_main.C (LyX): get full path of document loaded on the
2588         command line
2589
2590 2003-06-26  André Pönitz  <poenitz@gmx.net>
2591
2592         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2593           remove unused/broken operator>,<,>=.
2594
2595         *       text.C: remove only use of broken operator<= in an Assert().
2596
2597 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2598
2599         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2600         moved errorlist_.clear to showErrorList
2601
2602 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2603
2604         * converter.C (scanLog, runLaTeX):
2605         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2606         move the bv->showErrorList call to the callers
2607         * lyxfunc.C: i.e. here...
2608         * text2.C: and here
2609         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2610         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2611         namespace, the second to...
2612         * buffer_funcs (BufferFormat, parseErrors): added
2613         * errorlist.C (ErrorList(TeXErrors const &)): removed
2614
2615 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2616
2617         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2618
2619 2003-06-24  "Garst R. Reese" <reese@isn.net>
2620
2621         * debug.C: fix typo
2622
2623 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2624
2625         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2626
2627         * version.C.in: change docversion to 1.4
2628
2629 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2630
2631         * buffer.C: fix a bug just introduced
2632
2633 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2634
2635         * buffer.[Ch]: added the parseError signal and use it, removed
2636         sgmlError
2637         * BufferView.[Ch] (addError): moved to ...
2638         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2639         to the Buffer::parseError signal to catch (guess what) parse errors
2640         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2641
2642 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2643
2644         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2645         ability to create a buffer and to return an existing one from
2646         the list. Moved these functions to...
2647         * buffer_funcs.[Ch]: added
2648         * BufferView.[Ch] (loadLyXFile): added
2649         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2650         job removed from bufferlist::loadLyXFile.
2651         * buffer.C (setReadOnly): make it work without view
2652         (i.e added an if (users))
2653
2654 2003-06-19  Angus Leeming  <leeming@lyx.org>
2655
2656         * lfuns.h:
2657         * LyXAction.C (init):
2658         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2659         with LFUN_DIALOG_SHOW <name> <data>.
2660
2661 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2662
2663         * CutAndPaste.C (availableSelections): small compilation fix for
2664         ancient (gcc 2.9x) compilers
2665
2666 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2667
2668         * text3.C (cursorNext): add tmp var
2669
2670         * text2.C (updateCounters): for function calling out of for clause
2671         (replaceSelectionWithString): ditto
2672         (insertStringAsParagraphs): ditto
2673         (getColumnNearX): add tmp var
2674         (setCursorFromCoordinates): add tmp var
2675         (cursorDownParagraph): add tmp var
2676         (deleteEmptyParagraphMechanism): add tmp var
2677
2678         * text.C (insertChar): add tmp var
2679
2680         * rowpainter.C (paintDepthBar): add tmp var
2681
2682         * CutAndPaste.C (availableSelections): potentially check all
2683         paragraphs in a cut to fill the shown strings.
2684
2685 2003-06-18  André Pönitz  <poenitz@gmx.net>
2686
2687         * kbmap.[Ch]: use vector<> instead of list<>
2688
2689 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2690
2691         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2692         pasteSelection with index
2693
2694         * text2.C (pasteSelection): modify, call pasteSelection with index
2695
2696         * paragraph.C (asString): reimplement version with no interval to
2697         call the one with interval.
2698
2699         * lyxtext.h: add index arg to pasteSelection
2700
2701         * MenuBackend.C (MenuItem): handle PasteRecent
2702         (Menu::read::Menutags): add md_pasterecent
2703         (read): handle it
2704         (expandPasteRecent): new function
2705         (expand): use it
2706
2707         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2708
2709         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2710         the limited stack
2711         (availableSelections): new function
2712
2713 2003-06-17  Angus Leeming  <leeming@lyx.org>
2714
2715         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2716
2717 2003-06-17  Angus Leeming  <leeming@lyx.org>
2718
2719         * lfuns.h:
2720         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2721
2722         * lyxfunc.C (dispatch): invoke it.
2723
2724 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2725
2726         * iterators.C (operator++, ParPosition): reintroduce some
2727         const_cast for the benefit of older compilers.
2728
2729 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2730
2731         * text3.C (dispatch): do not modify clipboard when doing
2732         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2733         LFUN_DELETE_SKIP on a selection selection
2734
2735 2003-06-16  André Pönitz  <poenitz@gmx.net>
2736
2737         * BufferView.C:
2738         * buffer.C:
2739         * buffer.h:
2740         * paragraph.C:
2741         * tabular.[Ch]: IU of clone() and getLabelList();
2742
2743 2003-06-13  André Pönitz  <poenitz@gmx.net>
2744
2745         * tabular.h: compactification
2746
2747 2003-06-12  André Pönitz  <poenitz@gmx.net>
2748
2749         * tabular.C:
2750         * tabular.h:
2751         * tabular_funcs.h: some renaming plus whitespace
2752
2753 2003-06-12  André Pönitz  <poenitz@gmx.net>
2754
2755         * BufferView.C:
2756         * BufferView_pimpl.C:
2757         * CutAndPaste.C:
2758         * buffer.C:
2759         * iterators.[Ch]:
2760         * lyxfunc.C:
2761         * text.C:
2762         * toc.C: Return a Paragraph & for ParIterator::operator*()
2763
2764 2003-06-11  John Levon  <levon@movementarian.org>
2765
2766         * lyx_main.C:
2767         * ToolbarBackend.h:
2768         * ToolbarBackend.C: add "Toolbars" section and
2769         put the flags there
2770
2771 2003-06-10  Angus Leeming  <leeming@lyx.org>
2772
2773         * lfuns.h:
2774         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2775
2776         * lyxfunc.C (dispatch): invoke it.
2777
2778 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2779
2780         * main.C: protect <ios> with HAVE_IOS
2781         (main): protect sync_with_stdio with HAVE_IOS
2782
2783 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2784
2785         * text2.C (cutSelection): adjust
2786         (pasteSelection): adjust
2787
2788         * messages.C: handle get of empty string
2789
2790         * main.C (main): use sync_with_stdio(false)
2791
2792         * lyxfunc.C (dispatch): adjust
2793
2794         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2795         (WriteAs): remove unneeded BufferView arg.
2796
2797         * bufferparams.h: use correct types on papersize, papersize2 and
2798         paperpackage.
2799
2800         * bufferparams.C (readToken): adjust for type
2801         (writeLaTeX): add missing cases to switch.
2802
2803         * bufferlist.C (quitWriteBuffer): adjust
2804         (close): adjust
2805
2806         * buffer.C (asciiParagraph): remove some commented code.
2807
2808         * CutAndPaste.C: remove current_view extern variable.
2809         (cutSelection): add BufferParams arg.
2810         (eraseSelection): add BufferParams arg.
2811         (pasteSelection): add Buffer const & arg
2812
2813 2003-06-07  John Levon  <levon@movementarian.org>
2814
2815         * buffer.C:
2816         * paragraph_funcs.C:
2817         * paragraph_pimpl.C:
2818         * text.C:
2819         * text2.C:
2820         * paragraph.h:
2821         * paragraph.C: allow InsetERT to freely space lines,
2822         and some consolidation of code
2823
2824 2003-06-06  José Matos  <jamatos@fep.up.pt>
2825
2826         * buffer.C (makeDocBookFile): fix bug #821
2827
2828 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2829
2830         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2831
2832 2003-06-04  Angus Leeming  <leeming@lyx.org>
2833
2834         * buffer.C: bump format to 224.
2835
2836 2003-06-05  André Pönitz  <poenitz@gmx.net>
2837
2838         * text2.C (redoParagraphs): remove two const_cast<>
2839
2840 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2841
2842         * ParagraphList.h: remove last remnants of NO_STD_LIST
2843
2844 2003-06-03  Angus Leeming  <leeming@lyx.org>
2845
2846         * factory.C (createInset): small change to the way InsetExternal's params
2847         are set.
2848
2849 2003-06-04  André Pönitz  <poenitz@gmx.net>
2850
2851         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2852
2853         * paragraph_pimpl.h:
2854         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2855
2856         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2857
2858         * undo_funcs.C: make some simple cases of undo work again
2859
2860 2003-06-03  John Levon  <levon@movementarian.org>
2861
2862         * ispell.C: HPUX doesn't have sys/select.h
2863         (from Albert Chin)
2864
2865 2003-06-03  John Levon  <levon@movementarian.org>
2866
2867         * CutAndPaste.C: update tabular and include inset
2868         buffer references
2869
2870         * buffer.h:
2871         * paragraph.h:
2872         * paragraph.C: remove owningBuffer(), don't pass Buffer
2873         to clone()
2874
2875         * factory.C: insetGraphicsParams changed
2876
2877 2003-06-02  John Levon  <levon@movementarian.org>
2878
2879         * LyXAction.C:
2880         * factory.C:
2881         * lfuns.h:
2882         * lyxfunc.C:
2883         * text3.C: remove insetparent
2884
2885 2003-06-02  John Levon  <levon@movementarian.org>
2886
2887         * buffer.h:
2888         * buffer.C: fix inset_iterator.end(), move out of line
2889         (bug 1149)
2890
2891 2003-06-01  John Levon  <levon@movementarian.org>
2892
2893         * text3.C: use a proper cut/paste when doing inset
2894         insert (from Jürgen Spitzmüller)
2895
2896 2003-06-01  John Levon  <levon@movementarian.org>
2897
2898         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2899
2900 2003-05-30  André Pönitz  <poenitz@gmx.net>
2901
2902         * rowpainter.C: unify second drawing phase
2903
2904 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2905
2906         * trans_mgr.C: remove one case of current_view
2907
2908         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2909
2910         * paragraph_funcs.h: remove paragraph.h include
2911
2912         * paragraph.h: delete NO_STD_LIST stuff
2913
2914         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2915
2916         * buffer.h: remove paragraph.h include
2917
2918         * ParagraphList.C: delete file
2919
2920         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2921
2922         * toc.C (getTocList): adjust
2923
2924         * paragraph_pimpl.C (validate): adjust
2925
2926         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2927
2928         * paragraph.C (Paragraph): adjust
2929         (getPositionOfInset): use const_iterator, adjust
2930         (bibitem): use const_iterator, adjust
2931         (setInsetOwner): adjust
2932
2933         * iterators.C (operator++): adjust
2934
2935         * InsetList.[Ch]: Replace selfmade iterator with standard
2936         vector::iterator also introduce const_iterator. Remove getPos,
2937         getInset and setInset from InsetTable. Adjust accordingly.
2938
2939         * BufferView.C (lockInset): adjust
2940         (ChangeInsets): adjust
2941
2942         * tabular.[Ch]: delete commented same_id functions
2943
2944 2003-05-28  John Levon  <levon@movementarian.org>
2945
2946         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2947
2948 2003-05-28  André Pönitz  <poenitz@gmx.net>
2949
2950         * metricsinfo.[Ch]: remove 'fullredraw' member
2951
2952 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2953
2954         * lyxtextclass.C (operator): remove caching.
2955
2956 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2957
2958         * text3.C: adjust
2959
2960         * text2.C (cursorBottom): adjust
2961         (setCounter): use ParagraphList::find, adjust
2962
2963         * text.C (workWidth): use ParagraphList::find, adjust
2964
2965         * lyxcursor.C (LyXCursor): adjust
2966
2967         * buffer.C (inset_iterator): adjust
2968
2969         * ParagraphList.h: make iterator(value_type) private, make
2970         ParagraphList a friend of iterator.
2971
2972         * ParagraphList.C (find): new function
2973
2974         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2975
2976 2003-05-27  André Pönitz  <poenitz@gmx.net>
2977
2978         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2979
2980 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2981
2982         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2983
2984 2003-05-26  John Levon  <levon@movementarian.org>
2985
2986         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2987
2988 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2989
2990         * remove same_id from function signatures, adjust.
2991
2992 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2993
2994         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2995
2996         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2997
2998         * paragraph.C (Paragraph): get rid of same_ids parameter
2999
3000         * ParagraphList.C (insert): adjust
3001         (push_back): adjust
3002
3003 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3004
3005         * paragraph_funcs.C (breakParagraph): adjust
3006         (breakParagraphConservative): adjust
3007
3008         * buffer.C (readParagraph): adjust
3009
3010         * ParagraphList.C (insert): take a reference instead of a pointer
3011         (insert): adjust
3012
3013         * paragraph.[Ch] (id): new function
3014
3015         * bufferlist.C (newFile): adjust
3016
3017         * ParagraphList.C (ParagraphList): adjust
3018         (assign): adjust
3019         (push_back): take a reference instead of a pointer.
3020
3021         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3022
3023         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3024         instead.
3025
3026         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3027         set else use old code.
3028
3029         * ParagraphList.C: remove all NO_NEXT code and only compile this
3030         code of NO_STD_LIST is set.
3031
3032 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3033
3034         * BufferView_pimpl.C:
3035         * TextCache.C:
3036         * TextCache.h:
3037         * bufferlist.C:
3038         * errorlist.h:
3039         * format.C:
3040         * format.h:
3041         * graph.C:
3042         * lyxfunc.C:
3043         * lyxrc.C:
3044         * graphics/GraphicsConverter.C:
3045         * graphics/PreviewLoader.C: header adjustment
3046
3047 2003-05-23  Angus Leeming  <leeming@lyx.org>
3048
3049         * LaTeXFeatures.[Ch] (useBabel): new method.
3050         * bufferparams.C (writeLaTeX): use it.
3051
3052 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3053
3054         * ParagraphList.h (set): remove unused function.
3055
3056 2003-05-23  André Pönitz  <poenitz@gmx.net>
3057
3058         * BufferView.C:
3059         * BufferView_pimpl.C:
3060         * buffer.C:
3061         * buffer.h:
3062         * lyxfunc.C:
3063         * undo_funcs.C: setUndo reworked
3064
3065         * iterators.[Ch]: add access to topmost ParagraphList
3066
3067         * lyxtext.[Ch] (workWidth): add a const
3068
3069 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3070
3071         * texrow.[Ch] (increasePos): remove function
3072         * exporter.C (export): removed unused var and outdated comment
3073
3074 2003-05-23  Angus Leeming  <leeming@lyx.org>
3075
3076         * latexrunparams.h: rename fragile as moving_arg.
3077         * paragraph.C (simpleTeXOnePar): ditto.
3078         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3079
3080 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3081
3082         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3083         (createUndo): ditto
3084         (textUndoOrRedo): comment out a currently unused var.
3085
3086         * paragraph.h (NO_NEXT): enable NO_NEXT
3087
3088         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3089
3090         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3091
3092         * exporter.C (Export): adjust for removeAutoInsets removal.
3093
3094         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3095
3096         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3097
3098         * BufferView.[Ch] (removeAutoInsets): delete function
3099
3100 2003-05-22  Angus Leeming  <leeming@lyx.org>
3101
3102         * latexrunparams.h: add a free_spacing variable.
3103
3104         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3105         to pass moving_arg, as the data is stored in runparams.fragile.
3106
3107         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3108         to Inset::latexOptional or to simpleTeXOnePar.
3109
3110         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3111         free_spacing arg to Inset::latexOptional.
3112
3113         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3114         free_spacing arg.
3115
3116 2003-05-22  Angus Leeming  <leeming@lyx.org>
3117
3118         * latexrunparams.h: add fragile and use_babel variables.
3119
3120         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3121         * buffer.C (makeLaTeXFile): store this returned value in
3122         runparams.use_babel, thus passing it to the inset::latex methods.
3123
3124         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3125         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3126
3127         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3128         longer has a fragile arg, as it is stored in runparams.fragile.
3129
3130         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3131         moving_arg parameter as the data is stored in runparams.fragile.
3132
3133         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3134         a fragile parameter as the data is stored in runparams.fragile.
3135
3136 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3137
3138         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3139
3140 2003-05-22  Angus Leeming  <leeming@lyx.org>
3141
3142         * latexrunparams.h: add a 'bool nice' which defaults to false.
3143
3144         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3145         now encapsulated within runparams.
3146
3147         * bufferlist.C (updateIncludedTeXfiles):
3148         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3149
3150 2003-05-22  Angus Leeming  <leeming@lyx.org>
3151
3152         * latexrunparams.h: new file containing struct LatexRunParams.
3153         * Makefile.am: add new file.
3154
3155         * LaTeX.[Ch] (c-tor, run):
3156         * buffer.[Ch] (makeLaTeXFile):
3157         * bufferlist.[Ch] (updateIncludedTeXfiles):
3158         * converter.C (convert, scanLog):
3159         * converter.[Ch] (runLaTeX):
3160         * exporter.C (Export):
3161         * paragraph.[Ch] (simpleTeXOnePar):
3162         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3163         * paragraph_funcs.[Ch] (latexParagraphs):
3164         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3165         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3166         pass around a LatexRunParams parameter.
3167
3168 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3169
3170         * paragraph.[Ch]: remove unused constructor
3171
3172         * ParagraphList.C (erase): new function, taking two iterators
3173
3174 2003-05-22  André Pönitz  <poenitz@gmx.net>
3175
3176         * undo_funcs.C: remove duplicated code
3177
3178         * iterator.[Ch]: operator=
3179
3180 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3181
3182         * tabular.C (SetMultiColumn): ws changes
3183
3184         * rowpainter.C (paintFirst): get rid of a ->previous
3185
3186         * lyx_cb.C (getPossibleLabel): parlist simplification
3187
3188         * BufferView.C (ChangeInsets): simplify slightly.
3189
3190 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3191
3192         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3193         * lfuns.h: new LFUN_SPACE
3194         * lyxfunc.C: protected space has a new lfun
3195         * paragraph_funcs.C: read new space insets
3196         * text3.C:
3197         * factory.C: handle new space insets
3198
3199 2003-05-22  André Pönitz  <poenitz@gmx.net>
3200
3201         * BufferView.C:
3202         * BufferView_pimpl.C:
3203         * buffer.[Ch]:
3204         * lyxfunc.C:
3205         * undo_funcs.C: return a ParIterator from getParFromID.
3206
3207         * iterators.[Ch]: add two const's
3208
3209 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3210
3211         * toc.C (getTocList): adjust
3212
3213         * iterators.[Ch]: rework for parlist
3214
3215         * buffer.C (par_iterator_begin): adjust
3216         (par_iterator_end): adjust
3217
3218         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3219
3220         * BufferView.C (removeAutoInsets): adjust
3221         (ChangeInsets): adjust
3222
3223 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3224
3225         * text.C (top_y): fix bug 1110
3226
3227 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3228
3229         * errorlist.[Ch]: added
3230         * buffer.C:
3231         * BufferView.[Ch]:
3232         * BufferView_pimpl.C:
3233         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3234         instead
3235
3236 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3237
3238         * Makefile.am: ensure that lyx is relinked upon changes to the
3239         various "convenience" libs.
3240
3241 2003-05-20  Angus Leeming  <leeming@lyx.org>
3242
3243         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3244         files are compiled in alphabetical order again.
3245
3246         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3247
3248 2003-05-19  Angus Leeming  <leeming@lyx.org>
3249
3250         * gettext.[Ch]: remove "char const * _(char const *)".
3251
3252 2003-05-19  André Pönitz  <poenitz@gmx.net>
3253
3254         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3255
3256         * Makefile.am:
3257         * BufferView.C:
3258         * DepTable.h:
3259         * LaTeXFeatures.C:
3260         * buffer.C:
3261         * lyxfont.C:
3262         * lyxlex.h:
3263         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3264
3265 2003-05-19  André Pönitz  <poenitz@gmx.net>
3266
3267         * buffer.C:
3268         * lyxlayout.[Ch]:
3269         * lyxtextclass.[Ch]:
3270         * paragraph.C:
3271         * paragraph_funcs.[Ch]:
3272         * text2.C:
3273         * text3.C: more insetenv work
3274
3275 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3276
3277         * ParagraphParameters.C (params2string): small bug fixed
3278
3279 2003-05-16  André Pönitz  <poenitz@gmx.net>
3280
3281         * debug.C:
3282         * bufferview_funcs.C: patch from Kornel Benko to prevent
3283           crash when _(...) is called twice in a statement
3284
3285 2003-05-16  André Pönitz  <poenitz@gmx.net>
3286
3287         * BufferView.C:
3288         * lyxfunc.C:
3289         * text.C:
3290         * text2.C:
3291         * text3.C:
3292         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3293
3294 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3295
3296         * lyx_main.C (init): remove spurious static_cast
3297
3298 2003-05-14  André Pönitz  <poenitz@gmx.net>
3299
3300         * BufferView.C: fix format string
3301
3302 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3303
3304         * BufferView.[Ch] (insertErrors): removed
3305         * BufferView.[Ch] (showErrorList): added
3306         * buffer.C (runChkTeX):
3307         * converter.C (scanLog): call showErrorList instead of inserterrors
3308
3309 2003-05-13  André Pönitz  <poenitz@gmx.net>
3310
3311         * BufferView_pimpl.C:
3312         * buffer.C:
3313         * bufferview_func.C:
3314         * MenuBackend.C:
3315         * lyxfunc.C:
3316         * lyxrc.C:
3317         * tex-accent.C:
3318         * text3.C:
3319         * toc.C:
3320         * tabular_funcs.h: tostr() from its own header
3321
3322         * ParagraphParameters.C:
3323         * ToolbarBackend.C:
3324         * bufferparams.C:
3325         * format.C:
3326         * lyxlex_pimpl.C:
3327         * text3.C: STRCONV()
3328
3329 2003-05-12  André Pönitz  <poenitz@gmx.net>
3330
3331         * BufferView.C:
3332         * BufferView_pimpl.C:
3333         * CutAndPaste.C:
3334         * LaTeX.C:
3335         * LaTeXFeatures.C:
3336         * ParagraphParameters.C:
3337         * buffer.C:
3338         * bufferlist.C:
3339         * bufferparams.C:
3340         * bufferview_funcs.C:
3341         * converter.C:
3342         * counters.C:
3343         * debug.C:
3344         * exporter.C:
3345         * format.C:
3346         * importer.C:
3347         * lyx_cb.C:
3348         * lyx_main.C:
3349         * lyxfont.C:
3350         * lyxfunc.C:
3351         * lyxvc.C:
3352         * paragraph.C:
3353         * paragraph_funcs.C:
3354         * tabular.C:
3355         * tabular_funcs.C:
3356         * text2.C:
3357         * text3.C:  boost::format -> bformat  all over the place
3358
3359
3360 2003-05-09  André Pönitz  <poenitz@gmx.net>
3361
3362         * LColor.[Ch]: Pimpl the #include <map> away
3363
3364 2003-05-09  John Levon  <levon@movementarian.org>
3365
3366         * bufferlist.C: never remove emergency saves
3367
3368 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3369
3370         * Makefile.am: better lib building
3371
3372 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3373
3374         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3375         instead.
3376         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3377         (simpleTeXSpecialChars): adjust
3378         (simpleTeXSpecialChars): adjust
3379         * paragraph.C (simpleTeXOnePar): adjust
3380         * buffer.C (makeLaTeXFile): adjust
3381
3382         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3383
3384         * text2.C (changeDepth): parlist cleanup
3385         (getColumnNearX): ditto
3386
3387         * rowpainter.C (getLabelFont): parlist cleanup
3388
3389         * bufferlist.C (newFile): parlist cleanup
3390
3391         * CutAndPaste.C (eraseSelection): parlist cleanup
3392
3393         * BufferView_pimpl.C (trackChanges): parlist cleanup
3394         (dispatch): ditto
3395
3396         * BufferView.C (lockInset): parlist cleanup.
3397         (ChangeInsets): ditto
3398
3399 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3400
3401         * CutAndPaste.h: Update file header.
3402
3403         * CutAndPaste.C: Update file header.
3404         Store the parts cut out of the Document in a limited_stack.
3405         (copySelection): adjust
3406         (pasteSelection): new function, takes the index in the limited stack.
3407         (nrOfParagraphs): adjust
3408         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3409         simplify error inset insertion.
3410         (checkPastePossible): adjust
3411
3412 2003-05-06  John Levon  <levon@movementarian.org>
3413
3414         * text2.C: don't cast wrap inset to float
3415
3416 2003-05-05  André Pönitz  <poenitz@gmx.net>
3417
3418         * iterator.C:
3419         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3420
3421         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3422           few naked Paragraph *.
3423
3424 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3425
3426         * bufferparams.C: Output warning if a document with missing
3427         TeX document class is loaded
3428         * exporter.C: Disable TeX exports if the document class is missing
3429         * lyxtextclass.C:
3430         * lyxtextclass.h:
3431         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3432         isTeXClassAvailable()
3433
3434 2003-05-03  John Levon  <levon@movementarian.org>
3435
3436         * BufferView.h:
3437         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3438         explicit cursor show/hide
3439
3440         * BufferView_pimpl.h:
3441         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3442         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3443
3444         * lyxfunc.C: hide cursor before dispatching.
3445
3446         * lyx_cb.C:
3447         * lyxfind.C:
3448         * text.C:
3449         * text3.C: remove explicit cursor hides
3450
3451 2003-05-02  André Pönitz  <poenitz@gmx.net>
3452
3453         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3454
3455         * undo_funcs.C:
3456         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3457           linked lists
3458
3459         * text2.C: tiny whitespace
3460
3461 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3462
3463         * undo_funcs.C: almost only ws changes.
3464
3465         * ParagraphList.C (splice): just return if pl is empty.
3466
3467 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3468
3469         * ParagraphList.C (splice): new function.
3470
3471         * CutAndPaste.C (pasteSelection): use it
3472
3473 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3474
3475         * CutAndPaste.C (pasteSelection): remove the last next and
3476         previous from this file.
3477
3478 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3479
3480         * CutAndPaste.C (pasteSelection): more clean up, user proper
3481         ParagraphList functions for pasteing.
3482
3483         * ParagraphList.C (insert): new function, three arg insert
3484
3485 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3486
3487         * ParagraphList.C (insert): new function, three arg insert
3488
3489         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3490         not on paragraphs.
3491
3492 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3493
3494         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3495
3496 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3497
3498         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3499
3500 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3501
3502         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3503         (copySelection): clean up a bit.
3504         (pasteSelection): use make_pair
3505
3506         * ParagraphList.C (ParagraphList): implement copy constructor
3507         (operator=): implement, base on copy constructor.
3508         (assign): new func
3509
3510         * paragraph.C (erase): return a bool
3511
3512         * paragraph_pimpl.C (erasePos): remove function, move contents...
3513         (erase): ... here. Return a bool.
3514         (erase): call erase instead of erasePos.
3515
3516 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3517
3518         * ParagraphList.h: define PitPosPair
3519         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3520         ParagraphList, fix a bug on pasting multiple pars
3521         * text2.C: change interface to C&P
3522
3523 2003-04-30  André Pönitz  <poenitz@gmx.net>
3524
3525         * undo_func.C: revert part of yesterday's patch 2
3526
3527 2003-04-30  John Levon  <levon@movementarian.org>
3528
3529         * LColor.C: s/tabular/table/
3530
3531 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3532
3533         * text3.C (dispatch): do not convert iterator -> pointer
3534         * undo_funcs.C (setCursorParUndo): ditto
3535         * text_funcs.C (transposeChars): ditto
3536
3537         * text2.C (setLayout): ws changes only
3538
3539         * text.C (breakParagraph): do not convert iterator -> pointer
3540         (insertChar): ditto
3541         (acceptChange): ditto
3542         (rejectChange): ditto
3543         (changeCase): ditto
3544         (Delete): ditto
3545         (backspace): ditto
3546
3547         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3548         pointer
3549
3550 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3551
3552         * text3.C (gotoInset): YABG (yet another bad getChar)
3553
3554 2003-04-29  André Pönitz  <poenitz@gmx.net>
3555
3556         * paragraph.h: make operator= private unimplemented as long as
3557           it is unusable
3558
3559         * ParagraphList.C: whitespace
3560
3561         * paragraph.[Ch]:
3562         * paragraph_pimpl.[Ch]:
3563         * paragraph_funcs.C:
3564         * CutAndPaste.C:
3565         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3566
3567         * text2.C:
3568           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3569
3570 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3571
3572         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3573         * paragraph.[Ch] (erase):
3574         * paragraph_pimpl.[Ch] (erase): change return type and value
3575         * text2.C (cutSelection): some rework
3576
3577 2003-04-28  John Levon  <levon@movementarian.org>
3578
3579         * bufferlist.C: changes for unsaved changes dialog
3580
3581 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3582
3583         * bufferlist.C (newFile): set language (messages_) for new
3584         documents also.
3585
3586         * buffer.C (readFile): ws changes only.
3587
3588 2003-04-28  André Pönitz  <poenitz@gmx.net>
3589
3590         * undo_funcs.C:
3591         * lyxfunc.C:
3592         * buffer.[Ch]:
3593         * BufferView_pimpl.C:
3594         * BufferView.C: getParFromID related ParagraphList::iterator changes
3595
3596 2003-04-28  André Pönitz  <poenitz@gmx.net>
3597
3598         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3599           Changes
3600
3601 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3602
3603         * messages.C: remove one more localedir class variable.
3604
3605 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3606
3607         * messages.C (getLocaleDir): singleton generation function
3608         (Pimpl): use it.
3609         (Messages): add a default constructor.
3610
3611         * main.C (main): do not setup localedir here, do not call
3612         gettext_init.
3613
3614         * gettext.C (_): use it.
3615         (gettext_init): delete funciton
3616
3617 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3618
3619         * gettext.C (getLyXMessages): new singleton generating function.
3620
3621         * buffer.C (updateDocLang): adjust
3622
3623         * Makefile.am (messages.o): add target
3624         (main.o): remove target
3625
3626 2003-04-27  John Levon  <levon@movementarian.org>
3627
3628         * bufferlist.C:
3629         * lyx_cb.C:
3630         * lyxfunc.C:
3631         * lyxvc.C: specify cancel button in Alert::prompt
3632
3633 2003-04-26  John Levon  <levon@movementarian.org>
3634
3635         * text3.C:
3636         * lyxfunc.C:
3637         * lfuns.h:
3638         * LyXAction.C: add LFUN_INSET_SETTINGS
3639
3640         * lyxfunc.C: don't enable tabular-feature when there's
3641         just any locking inset
3642
3643 2003-04-26  John Levon  <levon@movementarian.org>
3644
3645         * bufferlist.C: re-add Cancel to buffer close question
3646
3647         * lyxfunc.C: fix import UI a bit
3648
3649 2003-04-25  John Levon  <levon@movementarian.org>
3650
3651         * gettext.C: remove the broken asserts for now
3652
3653 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3654
3655         * messages.C: make case where setlocale cannot comply work better.
3656
3657         * buffer.C (updateDocLang): new function
3658         (changeLanguage): use it
3659         (readFile): use it
3660
3661         * text2.C (setCounter): use B_ a bit.
3662
3663         * lyxlayout.C (Read): be sure to trim the label strings.
3664
3665         * messages.C (Messages): fix typo in comment
3666
3667         * buffer.C (readFile): set message_ after file is loaded.
3668         (makeDocBookFile): remove double return
3669         (changeLanguage): reset message_ upon language change.
3670         (B_): new func, use this to get translated buffer strings.
3671
3672         * main.C: add myself and Jean Marc as authors.
3673
3674 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3675
3676         * messages.[hC]: pimplify Messages, and three different pimpls to be
3677         used in different circumstances.
3678
3679         * gettext.[Ch]: change for use with new message code.
3680
3681 2003-04-24 André Pönitz <poenitz@gmx.net>
3682
3683         * factory.C: support for eqref
3684
3685 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3686
3687         * messages.[Ch]: add missing char
3688
3689         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3690
3691         * messages.[Ch]: New files
3692
3693 2003-04-18  John Levon  <levon@movementarian.org>
3694
3695         * BufferView.h:
3696         * BufferView.C:
3697         * BufferView_pimpl.C:
3698         * lfuns.h:
3699         * LyXAction.C:
3700         * lyxtext.h:
3701         * text2.C: remove layout-copy/paste (bug 778)
3702
3703 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3704
3705         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3706
3707 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3708
3709         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3710         if they succeed. Act accordingly.
3711
3712 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3713
3714         * text2.C (setCharFont): adjust
3715         (setCounter): adjust
3716         (insertStringAsLines): adjust
3717
3718         * text.C (leftMargin): adjust
3719         (setHeightOfRow): adjust
3720
3721         * rowpainter.C (paintFirst): adjust
3722         (paintLast): adjust
3723
3724         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3725         (outerHook): ditto
3726         (isFirstInSequence): ditto
3727         (getEndLabel): ditto
3728         (outerFont): adjust
3729
3730         * paragraph.C (getParLanguage): comment out some hard stuff.
3731
3732         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3733         (sgmlError): ditto
3734         (simpleDocBookOnePar): ditto
3735         (makeDocBookFile): use ParagraphList::iterator
3736
3737         * CutAndPaste.C (pasteSelection): adjust
3738
3739 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3740
3741         * text2.C (getFont): adjust
3742         (getLayoutFont): adjust
3743         (getLabelFont): adjust
3744
3745         * paragraph_funcs.C (TeXOnePar): adjust
3746
3747         * buffer.C (simpleLinuxDocOnePar): adjust
3748         (simpleDocBookOnePar): adjust
3749
3750         * CutAndPaste.C (pasteSelection): adjust
3751
3752         * BufferView.C (getEncoding): adjust
3753
3754         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3755
3756 2003-04-16  John Levon  <levon@movementarian.org>
3757
3758         * lyxfind.C: use parlist stuff for search/changes
3759
3760 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3761
3762         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3763
3764         * text2.C (deleteEmptyParagraphMechanism): adjust
3765
3766         * text2.[Ch] (ownerParagraph): delete func (both of them
3767
3768 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3769
3770         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3771
3772 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3773
3774         * ParagraphList.C: prepare for NO_NEXT
3775
3776 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3777
3778         * text2.C (getFont): adjust
3779         (getLayoutFont): adjust
3780         (getLabelFont): adjust
3781
3782         * paragraph.C (getFont): adjust
3783         (getLabelFont): adjust
3784         (getLayoutFont): adjust
3785
3786         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3787
3788 2003-04-15  John Levon  <levon@movementarian.org>
3789
3790         From Angus Leeming
3791
3792         * lyx_main.C: handle Include in .ui files
3793
3794 2003-04-15  John Levon  <levon@movementarian.org>
3795
3796         * MenuBackend.C: make the doc files length shorter
3797
3798         * ToolbarBackend.h:
3799         * ToolbarBackend.C: handle toolbar placement flags,
3800         Minibuffer
3801
3802 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3803
3804         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3805         adjust
3806
3807         * paragraph_funcs.C (TeXOnePar): adjust
3808
3809         * paragraph.C (getLabelFont): add outerfont arg, adjust
3810         (getLayoutFont): ditto
3811         (simpleTeXOnePar): adjust
3812
3813         * paragraph_pimpl.C (realizeFont): delete func
3814
3815 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3816
3817         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3818         row argument, constify cur argument.
3819
3820 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3821
3822         * text2.C (getFont): adjust
3823         (getLayoutFont): adjust
3824         (getLabelFont): adjust
3825
3826         * paragraph_funcs.C (TeXOnePar): adjust
3827         (outerFont): new func...
3828         (realizeFont): ...moved out from here, changed this to facilitate
3829         transition
3830
3831         * paragraph.C (getFont): take outerfont as arg, adjust
3832         (simpleTeXOnePar): add outerfont arg, adjust
3833
3834         * buffer.C (simpleLinuxDocOnePar): adjust
3835         (simpleDocBookOnePar): adjust
3836
3837         * CutAndPaste.C (pasteSelection): adjust
3838
3839         * BufferView.C (getEncoding): adjust
3840
3841 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3842
3843         * text2.C (setCharFont): adjust
3844         (setCounter): adjust
3845
3846         * text.C (leftMargin): adjust
3847         (setHeightOfRow): adjust
3848
3849         * rowpainter.C (paintFirst): adjust
3850         (paintLast): adjust
3851
3852         * paragraph_pimpl.C (realizeFont): adjust
3853
3854         * paragraph.C (isFirstInSequence): move from here...
3855         * paragraph_funcs.C (isFirstInSequence): ...to here
3856
3857         * paragraph.C (outerHook): move from here...
3858         * paragraph_funcs.C (outerHook): ...to here
3859
3860         * paragraph.C (depthHook): move from here...
3861         * paragraph_funcs.C (depthHook): ...to here
3862
3863         * paragraph.C (getEndLabel): move from here...
3864         * paragraph_funcs.C (getEndLabel): ...to here
3865
3866         * text2.C (realizeFont): move from here...
3867         * paragraph_funcs.C (realizeFont): ...to here
3868
3869 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3870
3871         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3872
3873 2003-04-14  Angus Leeming  <leeming@lyx.org>
3874
3875         * LColor.[Ch]: scrap LColor mathcursor.
3876
3877 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3878
3879         * lyxlex.[Ch] (text): delete function
3880         * trans.C (Load): adjust
3881         * paragraph_funcs.C (readParToken): adjust
3882
3883 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3884
3885         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3886         vector<char> instead of a char[].
3887
3888         * lyxlex_pimpl.C (getString): adjust
3889         (next): adjust
3890         (lex): use getString
3891         (eatLine): adjust
3892         (nextToken): adjust
3893
3894         * lyxlex.C (text): use pimpl_->getString()
3895         (getBool): ditto
3896         (findToken): ditto
3897
3898 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3899
3900         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3901         (makeFontEntriesLayoutSpecific): temp var for par.size()
3902         (setLayout): temp var for ownerParagraphs().end()
3903         (fullRebreak): temp var for rows().end()
3904         (selectionAsString): temp var for boost::next(startpit), realize
3905         that the while really is a regular for loop.
3906         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3907         setCursor in one place.
3908         (setParagraph): temp vr for ownerParagraphs().end()
3909         (updateCounters): make the while loop a for loop
3910         (cutSelection): temp var for ownerParagraphs().end()
3911         (updateInset): make the do {} while() a regular for loop
3912         (getCursorX): use temp vars
3913         (setCurrentFont): use temp vars
3914         (getColumnNearX): use temp vars
3915
3916 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3917
3918         * text.C (transformChar): use temp var for getChar
3919         (computeBidiTables): use temp var for row->par()
3920         (fill): move temp vars for row->par() and pit->layout() earlier in
3921         the function.
3922         (labelFill): use temp var for row->par()
3923         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3924         asc and desc, realize that pit never changes and that firstpit is
3925         just a duplicate and not needed. Exchange rit->par() with pit in a
3926         lot of places.
3927         (breakAgain): use a temp var for boost::next(rit)
3928         (breakAgainOneRow): ditto
3929         (breakParagraph): use a temp var for rows().begin()
3930         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3931         (cursorRightOneWord): use temp var for cursor.par() and
3932         cursor.pos(), remove usage of tmpcursor.
3933         (cursorLeftOneWord): use temp var for cursor.par() and
3934         cursor.pos() only set cur at end of function.
3935
3936 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3937
3938         * text.C, text2.C: exchange all usage of Paragraph::next with
3939         boost::next(ParagraphList::iterator)
3940
3941         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3942
3943         * text2.C (cursorTop): simplify implementation
3944         (cursorBottom): ditto
3945         (setParagraph): use ParagraphList::iterator
3946         (setCurrentFont): adjust
3947         (getColumnNearX): adjust
3948         (cursorRight): adjust
3949         (cursorLeft): remove usage of Paragraph::previous
3950         (cursorUpParagraph): ditto
3951         (deleteEmptyParagraphMechanism): slight cleanup
3952
3953         * text.C (isBoundary): take a Paragraph const & instead of a
3954         pointer as arg.
3955         (addressBreakPoint): ditto
3956         (leftMargin): remove usage of Paragraph::previous.
3957         (setHeightOfRow): ditto
3958         (cursorLeftOneWord): ditto
3959         (selectNextWordToSpellcheck): ditto
3960         (Delete): ditto
3961         (backspace): ditto
3962         (breakParagraph): remove one usage of Paragraph::next
3963         (redoParagraph): ditto
3964         (acceptChange): ditto
3965         (insertChar): adjust
3966         (rowBreakPoint): adjust
3967
3968         * bufferview_funcs.C (toggleAndShow): adjust
3969
3970 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3971
3972         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3973         methods to access it.
3974         * lyxtext.h:
3975         * text.C: Added updateRowPositions to compute all row positions.
3976         Make top_y and getRowNearY() to use the cached y position
3977
3978 2003-04-11  John Levon  <levon@movementarian.org>
3979
3980         * text.C (rowBreakPoint): reintroduce the labelEnd
3981         checks, code copied from the row fill stuff. Deep voodoo.
3982
3983         * text.C (fill): add a comment and debugging for the
3984         next poor soul.
3985
3986 2003-04-11  John Levon  <levon@movementarian.org>
3987
3988         * text.C: make sure fullrow insets get wrapped to the next line,
3989         even when they're in a manual label
3990
3991 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3992
3993         * text2.C (insertParagraph): make it take ParagraphList::iterator
3994         as arg.
3995         (setLayout): make it return ParagraphList::iterator
3996         (redoParagraphs): ditto
3997         (setCounter): ditto
3998         (checkParagraph): ditto
3999
4000         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4001
4002         * text2.C: adjust several funcs.
4003         (realizeFont): take a ParagraphList::iterator as arg.
4004         (getLayoutFont): ditto
4005         (getLabelFont): ditto
4006         (setCharFont): ditto
4007
4008         * text.C: adjust several funcs.
4009
4010 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4011
4012         * text.C (selectNextWordToSpellcheck): don't accidentally
4013         skip insets
4014
4015 2003-04-10  John Levon  <levon@movementarian.org>
4016
4017         * ToolbarBackend.C (getIcon): special handling for
4018         LFUN_MATH_DELIM
4019
4020 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4021
4022         * text2.C (cursorRight): a getChar assert fixed
4023
4024 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4025
4026         * text2.C (getFont): change to take a ParagraphList::iterator
4027         instead of Paragraph*
4028         Adjust several functions.
4029
4030         * text.C (transformChar): change to take a ParagraphList::iterator
4031         instead of Paragraph*
4032         (singleWidth): ditto
4033         Adjust several functions.
4034
4035         * rowpainter.C: adjust several functions
4036         * rowpainter.h:store a ParagraphList::iterator and not a
4037         Paragraph&.
4038
4039
4040 2003-04-09  John Levon  <levon@movementarian.org>
4041
4042         * lyxfunc.C:
4043         * lfuns.h:
4044         * LyXAction.h:
4045         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4046         and the "help" bits as well
4047
4048 2003-04-09  John Levon  <levon@movementarian.org>
4049
4050         * ToolbarBackend.h:
4051         * ToolbarBackend.C: allow multiple toolbars
4052
4053 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4054
4055         * undo_funcs.C (setCursorParUndo): adjust
4056
4057         * text_funcs.C (transposeChars): adjust
4058
4059         * text3.C (gotoNextInset): adjust
4060         (dispatch): adjust
4061
4062         * text2.C (setLayout): adjust
4063         (changeDepth): adjust
4064         (setFont): adjust
4065         (redoParagraphs): adjust
4066         (selectionAsString): adjust
4067         (setParagraph): adjust
4068         (insertInset): adjust
4069         (cutSelection): adjust
4070         (copySelection): adjust
4071         (pasteSelection): adjust
4072         (insertStringAsLines): adjust
4073         (updateInset): adjust
4074         (setCursor): change to take a ParagraphList::iterator parameter
4075         (setCursorIntern): change to take a ParagraphList::iterator parameter
4076         (setCurrentFont): adjust
4077         (cursorLeft): adjust
4078         (cursorRight): adjust
4079         (deleteEmptyParagraphMechanism): adjust
4080
4081         * text.C (breakParagraph): adjust
4082         (insertChar): adjust
4083         (acceptChange): adjust
4084         (rejectChange): adjust
4085         (selectNextWordToSpellcheck): adjust
4086         (changeCase): adjust
4087         (Delete): adjust
4088         (backspace): adjust
4089
4090         * lyxfind.C (SearchForward): adjust
4091         (SearchBackward): adjust
4092         (nextChange): adjust
4093
4094         * lyxcursor.C (par): adjust
4095
4096         * lyxcursor.h: store a ParagraphList::iterator instead of a
4097         Paragraph*
4098
4099         * lyx_cb.C (getPossibleLabel): adjust
4100
4101         * bufferview_funcs.C (toggleAndShow): adjust
4102
4103         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4104         (dispatch): adjust
4105
4106         * BufferView.C (removeAutoInsets): adjust
4107         (lockedInsetStoreUndo): adjust
4108
4109 2003-04-09  John Levon  <levon@movementarian.org>
4110
4111         * ToolbarBackend.C: try icon without argument
4112         if with argument fails
4113
4114 2003-04-08  John Levon  <levon@movementarian.org>
4115
4116         * ToolbarBackend.h:
4117         * ToolbarBackend.C: add getIcon(), handle tooltip,
4118         and change from "Icon" to "Item".
4119
4120 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4121
4122         * BufferView.C (lockInset): another bad getchar crunched
4123
4124 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4125
4126         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4127         again)
4128
4129 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4130
4131         * lyxfind.C (searchForward, searchBackwards): bug 782
4132
4133 2003-04-07  John Levon  <levon@movementarian.org>
4134
4135         * paragraph.C: remove dead comment
4136
4137         * text.C: remove troublesome depth-fiddling code
4138         in leftMargin() and rightMargin() (bug 1017)
4139
4140         * text.C: fix breaking of rows in nested lists
4141         (bug 1004)
4142
4143         * text2.C (updateCounters): fix up depth values
4144         (bug 1013)
4145
4146 2003-04-07  John Levon  <levon@movementarian.org>
4147
4148         * BufferView_pimpl.C: clear message when doc finishes resizing,
4149         and after a mouse event
4150
4151         * lyxfunc.C: clear message after exiting inset
4152
4153 2003-04-07  John Levon  <levon@movementarian.org>
4154
4155         * bufferview_funcs.C: show math status not outside
4156         status in the statusbar
4157
4158 2003-04-07  John Levon  <levon@movementarian.org>
4159
4160         * lyxfunc.C: note status changed after a depth change
4161
4162 2003-04-04  Angus Leeming  <leeming@lyx.org>
4163
4164         * LaTeX.h: move AuxInfo operator==, != out of line.
4165         Remove LaTeX virtual destructor; nothing derives from it.
4166         Move operator()() out of public area and rename it startscript().
4167         Change protected for private.
4168
4169 2003-04-04  Angus Leeming  <leeming@lyx.org>
4170
4171         * lyxfunc.C:
4172         * text2.C: remove unneeded #includes.
4173
4174 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4175
4176         * text2.C (dEPM): fix the heigth of the next row
4177
4178 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4179
4180         * text.C: squashed an invalid getChar requester + some ws changes
4181
4182 2003-04-03  John Levon  <levon@movementarian.org>
4183
4184         * bufferview_funcs.h:
4185         * bufferview_funcs.C:
4186         * lyxfunc.C:
4187         * lyxtext.h:
4188         * text2.C: make getStatus work for the env depth lfuns
4189
4190 2003-04-03  John Levon  <levon@movementarian.org>
4191
4192         * bufferview_funcs.h:
4193         * bufferview_funcs.C:
4194         * lyxfunc.C:
4195         * lyxtext.h:
4196         * text2.C: parlistize decDepth(), by merging it with incDepth()
4197
4198 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4199
4200         * lyxrow.h: store a ParagraphList::iterator instead of a
4201         Paragraph* and adjust other class functions to suit.
4202
4203         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4204         above.
4205
4206 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4207
4208         * text2.C (setCursor): do not anchor to cursor row for the time being
4209
4210 2003-04-02  John Levon  <levon@movementarian.org>
4211
4212         * LyXAction.C:
4213         * lfuns.h:
4214         * lyx_main.C:
4215         * lyxtext.h:
4216         * text.C:
4217         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4218
4219 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4220
4221         * paragraph.h: make ParagraphList and ParagraphList::iterator
4222         friends of Paragraph.
4223
4224         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4225
4226         * ParagraphList.C: Use the private next_ and previous_ from
4227         Paragraph.
4228
4229 2003-04-01  John Levon  <levon@movementarian.org>
4230
4231         * ToolbarBackend.h:
4232         * ToolbarBackend.C:
4233         * Makefile.am: rename, remove defaults gunk
4234
4235         * MenuBackend.h:
4236         * MenuBackend.C: remove defaults gunk
4237
4238         * Languages.h:
4239         * Languages.C: remove defaults gunk
4240
4241         * lyx_main.h:
4242         * lyx_main.C: error out if files couldn't be found.
4243
4244 2003-04-02  John Levon  <levon@movementarian.org>
4245
4246         * text2.C: make incDepth() use parlist
4247
4248 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4249
4250         * undo_funcs.C (firstUndoParagraph): adjust
4251
4252         * text3.C (gotoInset): adjust
4253         (dispatch): adjust, and rewrite loop.
4254
4255         * text2.C (init): adjust, and rewrite loop.
4256         (redoParagraphs): adjust
4257         (updateInset): adjust, and rewrite loop.
4258         (deleteEmptyParagraphMechanism): adjust
4259
4260         * tabular.C (LyXTabular): adjust
4261         (SetMultiColumn): adjust
4262         (TeXRow): adjust
4263
4264         * lyxtext.[Ch] (ownerParagraph): delete function
4265         (ownerParagraphs): new function returns a ParagraphList.
4266
4267         * BufferView.C (removeAutoInsets): adjust
4268         (insertErrors): adjust
4269         (setCursorFromRow): adjust
4270
4271 2003-04-01  Angus Leeming  <leeming@lyx.org>
4272
4273         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4274         in the frontends.
4275
4276 2003-04-02  John Levon  <levon@movementarian.org>
4277
4278         * lyxtext.h:
4279         * text.C:
4280         * Makefile.am:
4281         * text_funcs.h:
4282         * text_funcs.C: make transposeChars a free function
4283
4284         * lyxrow_funcs.C: remove wrong comment
4285
4286 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4287
4288         * lyxtext.h: adjust
4289         * rowpainter.C: adjust
4290         * text.C: adjust
4291         * text2.C: adjust
4292         * text3.C: adjust
4293
4294         * lyxrow_funcs. [Ch]: new files
4295
4296         * lyxrow.[Ch]: remove next and previous pointers
4297         (next,previous): remove accessor functions
4298         (isParEnd): move to lyxrow_funcs
4299         (lastPos): move to lyxrow_funcs
4300         (nextRowIsAllInset): move to lyxrow_funcs
4301         (lastPrintablePos): move to lyxrow_funcs
4302         (numberOfSeparators): move to lyxrow_funcs
4303         (numberOfHfills): move to lyxrow_funcs
4304         (numberOfLabelHfills): move to lyxrow_funcs
4305         (hfillExpansion): move to lyxrow_funcs
4306
4307         * lyxfunc.C: adjust
4308
4309         * bufferview_funcs.C (toggleAndShow): adjust
4310
4311         * RowList.h: Remove class RowList from file leave just a
4312         std::list<Row>.
4313
4314         * RowList.C: delete file
4315
4316         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4317         and lyxrow_funcs.h
4318
4319 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4320
4321         * text3.C (cursorPrevious): adjust
4322         (cursorNext): adjust
4323         (dispatch): adjust
4324
4325         * text2.C (redoHeightOfParagraph): adjust
4326         (redoDrawingOfParagraph): adjust
4327         (setCursor): adjust
4328
4329         * text.C (breakParagraph): adjust
4330         (insertChar): adjust
4331         (backspace): adjust
4332
4333         * rowpainter.C (RowPainter): adjust
4334         (leftMargin): simplify and adjust
4335         (most rowpainter functions): adjust.
4336
4337         * rowpainter.h: store the row as RowList::iterator not as Row*
4338
4339         * lyxcursor.C (row): taka RowList::iterator as arg
4340         (irow): ditto
4341
4342         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4343         of Row*.
4344
4345 2003-04-01  Angus Leeming  <leeming@lyx.org>
4346
4347         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4348         stuff like bool Bool.
4349
4350 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4351
4352         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4353         rewrite a loop
4354
4355 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4356
4357         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4358         RowList::iterator.
4359
4360         * lyxtext.h (rows): drop one version and leve a const variant that
4361         returns a RowList::iterator.
4362
4363 2003-03-31  Angus Leeming  <leeming@lyx.org>
4364
4365         * text.C (fill): ensure that the signature is the same as that in the
4366         header file.
4367
4368 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4369
4370         * text2.C (redoParagraphs): adjust
4371         (updateCounters): adjust
4372         (checkParagraph): adjust
4373         (getColumnNearX): adjust and reformat a bit.
4374
4375         * text.C (top_y): adjust
4376         (workWidth): adjust
4377         (leftMargin): adjust
4378         (prepareToPrint): adjust
4379         (getRow): adjust
4380         (getRowNearY): adjust
4381
4382         * lyxtext.h: make rowlist_ mutable.
4383
4384         * RowList.h: add const_iterator
4385         * RowList.C: adjust for RowList::const_iterator.
4386
4387         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4388         adjust.
4389
4390 2003-03-31  John Levon  <levon@movementarian.org>
4391
4392         * lyxrc.h:
4393         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4394
4395         * lyx_main.C: set default fonts from using lyx_gui funcs
4396
4397         * exporter.C: pdf_mode moved from lyxrc
4398
4399         * lyx_cb.C:
4400         * lyxfunc.C: changes from above
4401
4402 2003-03-31  John Levon  <levon@movementarian.org>
4403
4404         * lyx_main.C: fix to the last fix
4405
4406 2003-03-31  John Levon  <levon@movementarian.org>
4407
4408         * bufferlist.C: "Load original" -> "Load Original"
4409
4410         * converter.C:
4411         * exporter.C:
4412         * importer.C:
4413         * lyx_main.C:
4414         * format.C: more Alert cleanups
4415
4416 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4417
4418         * text2.C (removeParagraph): make it take a RowList::iterator as
4419         arg, adjust.
4420         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4421         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4422
4423         * text.C (anchor_row): make it take a RowList::iterator as arg,
4424         adjust.
4425         (computeBidiTables): make it take a const reference to Row instead
4426         of Row pointer, adjust.
4427         (leftMargin): make it take a RowList::iterator as arg, adjust.
4428         (rowBreakPoint): adjust
4429         (breakAgainOneRow): make it take a RowList::iterator as arg,
4430         adjust.
4431         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4432
4433         * bufferview_funcs.C (toggleAndShow): adjust
4434
4435 2003-03-30  John Levon  <levon@movementarian.org>
4436
4437         * Makefile.am:
4438         * BoostFormat.h:
4439         * boost-inst.C: moved to support
4440
4441         * several files: changes as a result
4442
4443 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4444
4445         * text2.C (LyXText): adjust.
4446         (init): adjust
4447         (removeRow): make it take a RowList::iterator as arg, adjust.
4448         (fullRebreak): adjust
4449         (deleteEmptyParagraphMechanism): adjust
4450         (clearPaint): adjust
4451         (postPaint): adjust
4452
4453         * text.C (top_y): adjust
4454         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4455         (breakAgain): make it take a RowList::iterator as arg, adjust.
4456         (breakParagraph): adjust
4457         (insertChar): adjust
4458         (backspace): adjust
4459
4460         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4461         need_break_row, and refresh_row.
4462
4463         * text3.C (dispatch): adjust
4464
4465         * text2.C (checkParagraph): adjust
4466         (setCursor): adjust
4467         (setCursorFromCoordinates): adjust
4468
4469         * text.C (top_y): adjust
4470         (workWidth): adjust
4471         (getRow): make it return a RowList::iterator, adjust
4472         (getRowNearY): make it return a RowList::iterator, adjust
4473
4474         * text2.C (init): adjust
4475         (insertRow): remove function
4476         (insertParagraph): adjust
4477         (redoParagraphs): adjust
4478         (fullRebreak): adjust
4479         (updateCounters): adjust
4480
4481         * text.C (top_y): rewrite to use RowList iterators.
4482         (top_y): adjust
4483         (setHeightOfRow): rewrite to sue RowList iterators.
4484         (appendParagraph): adjust
4485         (breakAgain): adjust
4486         (breakAgainOneRow): adjust
4487         (breakParagraph): adjust
4488         (getRow): adjust
4489         (getRowNearY): adjust, and remove commented code.
4490
4491         * lyxtext.h (firstRow): delete function
4492         (lastRow): delete function
4493         (rows): new function (const and non-const versions.)
4494         (insertRow): delete function
4495
4496         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4497
4498 2003-03-29  John Levon  <levon@movementarian.org>
4499
4500         * BufferView_pimpl.C: always update scrollbar top
4501         because pasting text when we're anchored could mean we
4502         miss an update altogether
4503
4504 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4505
4506         * text2.C (init): use rowlist_.end() and not 0.
4507         (insertRow): change to take a RowList::iterator as arg, adjust
4508         for this.
4509         (insertParagraph): change to take a RowList::iterator as arg,
4510         adjust for this.
4511         (redoParagraphs): remove some debug msgs.
4512
4513         * text.C (appendParagraph): change to take a RowList::iterator
4514         arg, adjust for this.
4515         (breakAgain): add an assert
4516         (breakAgainOneRow): ditto
4517
4518 2003-03-29  John Levon  <levon@movementarian.org>
4519
4520         * text2.C: do not clear selection after inc/decDepth
4521         (bug 550)
4522
4523 2003-03-29  John Levon  <levon@movementarian.org>
4524
4525         * BufferView.C:
4526         * buffer.C: fix broken strerrors according to Lars
4527
4528 2003-03-29  John Levon  <levon@movementarian.org>
4529
4530         * converters.C: more Alert cleanups
4531
4532 2003-03-29  John Levon  <levon@movementarian.org>
4533
4534         * bufferview_funcs.C: remove pointless Alert
4535
4536         * buffer.C: fix confusing error message when
4537         a template is chmoded 000
4538
4539 2003-03-29  John Levon  <levon@movementarian.org>
4540
4541         * BufferView.C:
4542         * BufferView.h:
4543         * BufferView_pimpl.C: Alert fixes
4544
4545         * Makefile.am:
4546         * tabular.C:
4547         * tabular-old.C: remove unused table compat reading
4548
4549 2003-03-29  John Levon  <levon@movementarian.org>
4550
4551         * BufferView.C:
4552         * buffer.C:
4553         * lyx_cb.h:
4554         * lyx_cb.C: more Alert cleanups
4555
4556         * lyxfunc.C: don't allow chktex if not latex document
4557
4558 2003-03-29  John Levon  <levon@movementarian.org>
4559
4560         * lyx_cb.C:
4561         * BufferView.C:
4562         * buffer.C: warnings pushed down from support/,
4563         kill err_alert
4564
4565 2003-03-29  John Levon  <levon@movementarian.org>
4566
4567         * lyxfunc.C: safety check for C-r (revert)
4568
4569 2003-03-29  John Levon  <levon@movementarian.org>
4570
4571         * bufferlist.h:
4572         * bufferlist.C: several UI fixes using Alert::prompt.
4573         Fix the pointless looping quit code. Fix stupid revert
4574         behaviour (bug 938)
4575
4576         * lyxvc.h:
4577         * lyxvc.C:
4578         * lyx_cb.C: use Alert::prompt
4579
4580         * lyx_main.C: remove a silly question
4581
4582         * lyxfunc.C: remove a couple of silly questions,
4583         use Alert::prompt
4584
4585 2003-03-28  John Levon  <levon@movementarian.org>
4586
4587         * text2.C: fix bug 974 (End on empty par)
4588
4589 2003-03-28  John Levon  <levon@movementarian.org>
4590
4591         * BufferView_pimpl.C:
4592         * LyXAction.C:
4593         * lfuns.h: remove do-nothing math greek lfuns
4594
4595 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4596
4597         * lyxgluelength.h (isValidGlueLength): add default arg on
4598         parameter 2. Remove default arg from friend in class.
4599
4600         * lyxlength.h (isValidLength): add default arg on parameter 2.
4601         Remove default arg from friend in class.
4602
4603         * text2.C (LyXText): adjust, initialize refresh_row.
4604         (init): adjust
4605         (removeRow): adjust
4606         (insertRow): adjust
4607         (insertParagraph): adjst
4608         (redoParagraphs): adjust
4609         (fullRebreak): adjust
4610         (updateCounters): adjust
4611         (deleteEmptyParagraphMechanism): first attempt at fixing a
4612         crashing bug.
4613
4614         * text.C (top_y): adjust
4615         (setHeightOfRow): adjust
4616         (getRow): adjust
4617         (getRowNearY): adjust
4618
4619         * lyxtext.h: include RowList.h
4620         (~LyXText): not needed anymore, deleted.
4621         (firstRow): modify for RowList
4622         (lastRow): new function
4623         Delete firstrow and lastrow class variables, add a Rowlist
4624         rowlist_ class variable.
4625
4626         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4627         paragraph is empty.
4628
4629         * RowList.C (insert): fix case where it == begin().
4630
4631 2003-03-26  Angus Leeming  <leeming@lyx.org>
4632
4633         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4634         the thesaurus dialog.
4635
4636 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4637
4638         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4639
4640         * RowList.[Ch]: new files
4641
4642         * ParagraphList.C (erase): handle the case where it == begin
4643         correctly.
4644
4645 2003-03-25  John Levon  <levon@movementarian.org>
4646
4647         * Makefile.am:
4648         * aspell_local.h:
4649         * aspell.C: add new aspell support
4650
4651         * lyxrc.h:
4652         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4653         have it accessible.
4654
4655 2003-03-25  Angus Leeming  <leeming@lyx.org>
4656
4657         * lfuns.h:
4658         * LyXAction.C (init): new LFUN_INSET_INSERT.
4659
4660         * BufferView_pimpl.C (dispatch): split out part of the
4661         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4662
4663         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4664         LFUN_INSET_APPLY.
4665
4666 2003-03-25  Angus Leeming  <leeming@lyx.org>
4667
4668         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4669
4670 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4671
4672         * text2.C:
4673         * text3.C: remove useless row->height(0)
4674
4675 2003-03-25  John Levon  <levon@movementarian.org>
4676
4677         * lyxtext.h:
4678         * text2.C:
4679         * text3.C: rename the refreshing stuff to better names
4680
4681 2003-03-24  John Levon  <levon@movementarian.org>
4682
4683         * BufferView_pimpl.h:
4684         * BufferView_pimpl.C: update layout choice on a mouse
4685         press/release
4686
4687 2003-03-23  John Levon  <levon@movementarian.org>
4688
4689         * Makefile.am: fix commandtags.h reference
4690
4691 2003-03-22  John Levon  <levon@movementarian.org>
4692
4693         * BufferView_pimpl.C:
4694         * lyxtext.h:
4695         * rowpainter.C:
4696         * rowpainter.h:
4697         * text.C:
4698         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4699
4700 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4701
4702         * lyxtext.h:
4703         * text.C: take the rtl methods out of line
4704
4705 2003-03-21 André Pönitz <poenitz@gmx.net>
4706
4707         * metricsinfo.[Ch]: new files containing structures to be passed around
4708         during the two-phase-drawing...
4709
4710 2003-03-21 André Pönitz <poenitz@gmx.net>
4711
4712         * lyxtextclass.C: read 'environment' tag.
4713
4714 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4715
4716         * text2.C (removeRow): fix bug 964
4717
4718 2003-03-20  John Levon  <levon@movementarian.org>
4719
4720         * rowpainter.C:
4721         * text.C:
4722         * text2.C: paint cleanups. Inset::update() dropped font
4723         parameter
4724
4725 2003-03-19  John Levon  <levon@movementarian.org>
4726
4727         * lyxfunc.C: only fitcursor/markDirty if available()
4728
4729 2003-03-19  John Levon  <levon@movementarian.org>
4730
4731         * commandtags.h: rename to ...
4732
4733         * lfuns.h: ... this, and renumber / cleanup
4734
4735 2003-03-19  John Levon  <levon@movementarian.org>
4736
4737         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4738         fit the cursor after an lfun
4739
4740         * BufferView.h:
4741         * BufferView.C:
4742         * BufferView_pimpl.h:
4743         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4744
4745         * LyXAction.C: layout-character should have ReadOnly
4746
4747         * ParagraphParameters.C:
4748         * buffer.C:
4749         * bufferview_funcs.C:
4750         * lyx_cb.C:
4751         * lyxfind.C:
4752         * lyxtext.h:
4753         * text.C:
4754         * text2.C:
4755         * text3.C:
4756         * undo_funcs.C: changes from above
4757
4758 2003-03-18  John Levon  <levon@movementarian.org>
4759
4760         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4761         remove it from update()
4762
4763         * lyxfunc.C: update layout choice after an lfun
4764
4765         * text3.C: remove extra updateLayoutChoice()s
4766
4767 2003-03-18  John Levon  <levon@movementarian.org>
4768
4769         * text.C: top_y change means full repaint, fix
4770         a drawing bug with cursor movement
4771
4772 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4773
4774         * lyxtext.h:
4775         * text.C:
4776         * text2.C: anchor row on setCursor
4777
4778 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4779
4780         * lyxtext.h: remove almost all mutable keywords
4781         * text.C:
4782         * text2.C:
4783         * text3.C: remove const keywords accordingly
4784
4785 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4786
4787         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4788         anon namespace
4789         (TeXEnvironment): ditto
4790         (TeXOnePar): ditto
4791
4792 2003-03-17  John Levon  <levon@movementarian.org>
4793
4794         * text.C (rowBreakPoint): remove attempt to fix displayed
4795         math insets inside a manual label
4796
4797 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4798
4799         * lyxtext.h: remove BufferView* as first arg from almost all class
4800         functions.
4801         * other files: adjust.
4802
4803 2003-03-17  John Levon  <levon@movementarian.org>
4804
4805         * lyxtext.h:
4806         * undo_funcs.C:
4807         * text2.C: more paint cleanups
4808
4809         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4810
4811         * rowpainter.h:
4812         * rowpainter.C: remove "smart" background painting code
4813
4814 2003-03-16  John Levon  <levon@movementarian.org>
4815
4816         * lyxtext.h:
4817         * text.C:
4818         * text2.C:
4819         * text3.C: add helper functions for setting refresh_row/y
4820
4821 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4822
4823         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4824         newline inset which *can* get inserted in the pass_thru layouts.
4825         This is primarily for literate documents.
4826
4827 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4828
4829         * buffer.C: increment LYX_FORMAT to 223
4830
4831 2003-03-14 André Pönitz <poenitz@gmx.net>
4832
4833         * textclass.h: prepare for environment handling, ws changes
4834         * lyxlayout.C: read latexheader and latexfooter tags
4835
4836 2003-03-14  John Levon  <levon@movementarian.org>
4837
4838         * text2.C: rewrite ::status() a bit
4839
4840 2003-03-13  John Levon  <levon@movementarian.org>
4841
4842         * lyxtext.h: add some docs
4843
4844 2003-03-13  John Levon  <levon@movementarian.org>
4845
4846         * lyxtext.h:
4847         * text.C:
4848         * text2.C:
4849         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4850
4851 2003-03-13  John Levon  <levon@movementarian.org>
4852
4853         * text3.C: fix appendix redrawing
4854
4855 2003-03-13  John Levon  <levon@movementarian.org>
4856
4857         * text.C (setHeightOfRow):
4858         * rowpainter.h:
4859         * rowpainter.C: make appendix mark have the text
4860           "Appendix" so the user knows what it is
4861
4862         * LColor.h:
4863         * LColor.C: s/appendixline/appendix/ from above
4864
4865 2003-03-13  John Levon  <levon@movementarian.org>
4866
4867         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4868
4869         * text.C: fix a getChar(pos) bug properly
4870
4871 2003-03-13  Angus Leeming  <leeming@lyx.org>
4872
4873         * commandtags.h:
4874         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4875         Probably only temporary. Let's see how things pan out.
4876
4877         * BufferView.C (unlockInset):
4878         * BufferView_pimpl.C (fitCursor):
4879         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4880
4881         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4882         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4883
4884         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4885         new functions that convert ParagraphParameters to and from a string.
4886
4887         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4888         BufferView::Pimpl's dispatch.
4889         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4890
4891 2003-03-13 André Pönitz <poenitz@gmx.net>
4892
4893         * lyxfunc.C:
4894         * text3.C:
4895         * factory.C: make it aware of InsetEnv
4896
4897 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4898
4899         * text2.C (setCursor): never ask for one past last
4900         (setCursor): add some debugging messages.
4901
4902         * text.C (singleWidth): never ask for one past last
4903         (singleWidth): ditto
4904         (leftMargin): ditto
4905         (rightMargin): ditto
4906         (rowBreakPoint): ditto
4907         (setHeightOfRow): ditto
4908         (prepareToPrint): ditto
4909
4910         * rowpainter.C (paintBackground): never ask for one past last
4911         (paintText): never ask for one past last
4912
4913         * paragraph_pimpl.C (getChar): make the assert stricter, never
4914         allow the one past last pos to be taken
4915
4916         * paragraph.C (getChar): ws changes only
4917
4918         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4919         (numberOfSeparators): ditto
4920         (numberOfHfills): ditto
4921
4922 2003-03-12  John Levon  <levon@movementarian.org>
4923
4924         * author.h:
4925         * author.C:
4926         * bufferparams.h:
4927         * bufferparams.C:
4928         * paragraph_funcs.C: fix per-buffer authorlists
4929
4930 2003-03-12  John Levon  <levon@movementarian.org>
4931
4932         * text.C: fix newline in right address
4933
4934 2003-03-12  Angus Leeming  <leeming@lyx.org>
4935
4936         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4937         duplicate those in LyXFunc::dispatch.
4938
4939         * commandtags.h:
4940         * LyXAction.C:
4941         * ToolbarDefaults.C:
4942         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4943         Add LFUN_FONTFREE_UPDATE.
4944
4945         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4946         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4947
4948         * bufferview_func.[Ch]: several new functions to facilliate
4949         transfer of data to and from the character dialog.
4950
4951 2003-03-12  John Levon  <levon@movementarian.org>
4952
4953         * buffer.C:
4954         * paragraph.h:
4955         * paragraph.C:
4956         * paragraph_funcs.C:
4957         * paragraph_pimpl.C:
4958         * sgml.C:
4959         * tabular.C:
4960         * text.C:
4961         * text3.C: remove META_NEWLINE in favour of an inset
4962
4963         * rowpainter.h:
4964         * rowpainter.C: remove paintNewline (done by inset)
4965
4966 2003-03-12  John Levon  <levon@movementarian.org>
4967
4968         * paragraph_pimpl.C: complain about bad getChar()s
4969         for a while at least
4970
4971 2003-03-12  John Levon  <levon@movementarian.org>
4972
4973         * buffer.h:
4974         * buffer.C: move paragraph read into a separate function,
4975         a little renaming to reflect that.
4976
4977         * bufferparams.h:
4978         * bufferparams.C: remove the author_ids map, not necessary now
4979
4980         * factory.h:
4981         * factory.C: moved Buffer::readInset to here
4982
4983         * paragraph_funcs.h:
4984         * paragraph_funcs.C: readParagraph free function moved from
4985         buffer.C
4986
4987         * tabular.C: name change
4988
4989 2003-03-12  John Levon  <levon@movementarian.org>
4990
4991         * buffer.C:
4992         * ParagraphParameters.C: move par params input to
4993         a read() method
4994
4995         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4996         behave like a normal read from the stream wrt reading
4997         a line vs. a \\token
4998
4999 2003-03-12  John Levon  <levon@movementarian.org>
5000
5001         * paragraph.C:
5002         * ParagraphParameters.h:
5003         * ParagraphParameters.C: move output code to a
5004         ::write() method
5005
5006 2003-03-12  John Levon  <levon@movementarian.org>
5007
5008         * BufferView.C (insertLyXFile):
5009         * buffer.h:
5010         * buffer.C:
5011         * tabular.C: use a parlist iterator for creating the
5012           document.
5013
5014 2003-03-12  John Levon  <levon@movementarian.org>
5015
5016         * buffer.C: make current_change static local not
5017           static file-scope
5018
5019 2003-03-12  John Levon  <levon@movementarian.org>
5020
5021         * buffer.C: fix insertStringAsLines for change tracking
5022
5023 2003-03-12  John Levon  <levon@movementarian.org>
5024
5025         * BufferView.C:
5026         * tabular.C:
5027         * buffer.h:
5028         * buffer.C:
5029         * bufferparams.h:
5030         * bufferparams.C: move author list into params. Rename some
5031           functions. Move the header reading into a separate token
5032           loop. Move the header token reading into BufferParams.
5033
5034 2003-03-12  John Levon  <levon@movementarian.org>
5035
5036         * changes.C: put debug inside lyxerr.debugging() checks
5037
5038 2003-03-11 André Pönitz <poenitz@gmx.net>
5039
5040         * factory.C: make it aware of InsetHFill
5041
5042 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5043
5044         * buffer.C (latexParagraphs): move function from here...
5045         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5046         args.
5047
5048 2003-03-10  Angus Leeming  <leeming@lyx.org>
5049
5050         * LyXAction.C (init): fix bug in poplating array with multiple entries
5051         with the same LFUN (spotted by JMarc).
5052
5053 2003-03-10  John Levon  <levon@movementarian.org>
5054
5055         * text.C:
5056         * text2.C: move getColumnNearX() near its
5057         only call site
5058
5059 2003-03-10  John Levon  <levon@movementarian.org>
5060
5061         * text.C: fix break before a minipage
5062
5063 2003-03-10  John Levon  <levon@movementarian.org>
5064
5065         * text.C: fix the last commit
5066
5067 2003-03-09  John Levon  <levon@movementarian.org>
5068
5069         * lyxtext.h:
5070         * text.C:
5071         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5072         bug 365 (don't break before insets unless needed). Don't
5073         return a value > last under any circumstances.
5074
5075 2003-03-09  Angus Leeming  <leeming@lyx.org>
5076
5077         * BufferView_pimpl.C (trackChanges, dispatch): call
5078         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5079
5080 2003-03-09  Angus Leeming  <leeming@lyx.org>
5081
5082         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5083         than Dialogs::showAboutlyx().
5084
5085 2003-03-09  Angus Leeming  <leeming@lyx.org>
5086
5087         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5088         than Dialogs::showTabularCreate().
5089
5090 2003-03-09  John Levon  <levon@movementarian.org>
5091
5092         * lyxtext.h:
5093         * text.C:
5094         * text2.C: 3rd arg to nextBreakPoint was always the same.
5095           Use references.
5096
5097 2003-03-08  John Levon  <levon@movementarian.org>
5098
5099         * lyxrow.C:
5100         * paragraph.C:
5101         * paragraph.h:
5102         * rowpainter.C:
5103         * text.C:
5104         * text2.C: Remove the "main" bit from the "main body"
5105           notion.
5106
5107 2003-03-08  John Levon  <levon@movementarian.org>
5108
5109         * text.C (leftMargin): The left margin of an empty
5110         manual label paragraph should not include the label width
5111         string length.
5112
5113         * text.C (prepareToPrint): don't attempt to measure hfills
5114         for empty manual label paragraphs - the answer should be 0
5115
5116 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5117
5118         * CutAndPaste.C: remove commented code and reindent.
5119
5120 2003-03-08  John Levon  <levon@movementarian.org>
5121
5122         * lyxfunc.h:
5123         * lyxfunc.C: move reloadBuffer()
5124
5125         * BufferView.h:
5126         * BufferView.C: to here
5127
5128         * lyxvc.C: add comment
5129
5130         * vc-backend.h:
5131         * vc-backend.C: call bv->reload() to avoid
5132           getStatus() check on MENURELOAD
5133
5134 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5135
5136         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5137         to an old format .dep file.
5138
5139 2003-03-07  Angus Leeming  <leeming@lyx.org>
5140
5141         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5142         when the LFUN_MOUSE_RELEASE should have been handled by
5143         inset->localDispatch.
5144
5145 2003-03-07  Angus Leeming  <leeming@lyx.org>
5146
5147         * BufferView_pimpl.C (dispatch):
5148         * LyXAction.C (init):
5149         * ToolbarDefaults.C (init):
5150         * commandtags.h:
5151         * lyxfunc.C (getStatus):
5152         remove LFUN_INSET_GRAPHICS.
5153
5154         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5155
5156 2003-03-07  Angus Leeming  <leeming@lyx.org>
5157
5158         * commandtags.h:
5159         * LyXAction.C (init):
5160         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5161
5162         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5163
5164         * commandtags.h:
5165         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5166
5167         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5168         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5169
5170 2003-03-07  Angus Leeming  <leeming@lyx.org>
5171
5172         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5173         remove "ert".
5174
5175 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5176
5177         * ParagraphList.C (front): new function
5178         (back): implement
5179
5180 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5181
5182         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5183         and top_row_offset_. removed var first_y.
5184         * text.C (top_y):
5185         * text2.C (LyXText, removeRow):
5186         * text3.C:
5187         * BufferView_pimpl.C:
5188         use these methods instead of using first_y
5189
5190 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5191
5192         * text2.C (pasteSelection): adjust for checkPastePossible
5193
5194         * CutAndPaste.C: remove Paragraph * buf and replace with
5195         ParagraphList paragraphs.
5196         (DeleteBuffer): delete
5197         (cutSelection): change the tc type to textclass_type
5198         (copySelection): change the tc type to textclass_type
5199         (copySelection): adjust for ParagraphList
5200         (pasteSelection): change the tc type to textclass_type
5201         (pasteSelection): adjust for Paragraphlist
5202         (nrOfParagraphs): simplify for ParagraphList
5203         (checkPastePossible): simplify for ParagraphList
5204         (checkPastePossible): remove unused arg
5205
5206         * ParagraphList.C (insert): handle the case where there are no
5207         paragraphs yet.
5208
5209         * CutAndPaste.h: make CutAndPaste a namespace.
5210
5211         * text3.C (dispatch): adjust
5212
5213         * text.C (breakParagraph): add a ParagraphList as arg
5214
5215         * paragraph_funcs.C (breakParagraph): change to take a
5216         BufferParams and a ParagraphList as args.
5217         (breakParagraphConservative): ditto
5218         (mergeParagraph): ditto
5219         (TeXDeeper): add a ParagraphList arg
5220         (TeXEnvironment): ditto
5221         (TeXOnePar): ditto
5222
5223         * buffer.C (readLyXformat2): adjust
5224         (insertStringAsLines): adjust
5225         (latexParagraphs): adjust
5226
5227         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5228         (cutSelection): adjust
5229         (pasteSelection): adjust
5230
5231         * BufferView_pimpl.C (insertInset): adjust
5232
5233 2003-03-05  Angus Leeming  <leeming@lyx.org>
5234
5235         * commandtags.h:
5236         * LyXAction.C (init):
5237         * BufferView_pimpl.C (dispatch):
5238         * lyxfunc.C (getStatus):
5239         remove LFUN_CHILD_INSERT.
5240
5241         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5242
5243 2003-03-05  Angus Leeming  <leeming@lyx.org>
5244
5245         * commandtags.h:
5246         * LyXAction.C (init):
5247         * src/factory.C (createInset):
5248         * lyxfunc.C (getStatus):
5249         * text3.C (dispatch):
5250         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5251
5252         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5253
5254 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5255
5256         * ParagraphList.C (insert): handle insert right before end()
5257         (erase): fix cases where it can be first or last paragraph.
5258
5259 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5260
5261         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5262         Paragraph::next and Paragraph::previous
5263         (TeXOnePar): ditto
5264
5265         * text.C (breakParagraph): adjust
5266
5267         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5268         BufferParams& as arg.
5269         (breakParagraph): use ParagraphList::insert
5270         (breakParagraphConservative): take a Buffer* instead of a
5271         BufferParams& as arg.
5272         (breakParagraphConservative): use ParagraphList::insert.
5273
5274         * buffer.C (insertStringAsLines): un-const it
5275         (insertStringAsLines): adjust
5276
5277         * ParagraphList.C (insert): new function
5278
5279         * CutAndPaste.C (pasteSelection): adjust
5280
5281         * text.C (backspace): adjust
5282
5283         * tabular.C (SetMultiColumn): adjust
5284
5285         * CutAndPaste.C (cutSelection): adjust
5286         (pasteSelection): adjust
5287
5288         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5289         Buffer const * as arg
5290
5291         * ParagraphList.C (erase): new function
5292         * paragraph_funcs.C (mergeParagraph): use it
5293         (mergeParagraph): make it take a Buffer* instead of a
5294         BufferParams* as arg
5295
5296         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5297         as arg
5298         (breakParagraphConservative): ditto
5299
5300         * paragraph.h: remove the breakParagraph friend
5301
5302         * paragraph.C (eraseIntern): new function
5303         (setChange): new function
5304
5305         * paragraph_funcs.C (mergeParagraph): make it take a
5306         ParagraphList::iterator instead of a Paragraph *, adjust
5307         accordingly.
5308
5309         * paragraph.h: move an #endif so that the change tracking stuff
5310         also works in the NO_NEXT case.
5311
5312 2003-03-04  Angus Leeming  <leeming@lyx.org>
5313
5314         * commandtags.h:
5315         * LyXAction.C: new LFUN_INSET_MODIFY.
5316
5317         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5318         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5319
5320 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5321
5322         * several files: ws changes only
5323
5324         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5325         (TeXEnvironment): ditto
5326         (TeXDeeper): ditto
5327
5328         * buffer.C (makeLaTeXFile): adjust
5329         (latexParagraphs): make it take ParagraphList::iterator as args
5330
5331 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5332
5333         * buffer.C (latexParagraphs): adjust
5334
5335         * paragraph.C (TeXOnePar): move function...
5336         (optArgInset): move function...
5337         (TeXEnvironment): move function...
5338         * paragraph_pimpl.C (TeXDeeper): move function...
5339         * paragraph_funcs.C: ...here
5340
5341         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5342
5343 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5344
5345         * buffer.C (readInset): remove compability code for old Figure and
5346         InsetInfo insets
5347
5348 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5349
5350         * buffer.C: ws changes
5351         (readInset):
5352
5353         * BufferView_pimpl.C: ditto
5354         * author.C: ditto
5355         * buffer.h: ditto
5356         * bufferlist.h: ditto
5357         * changes.h: ditto
5358         * lyxfunc.C: ditto
5359
5360 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5361
5362         * converter.[Ch]: split into itself +
5363         * graph.[Ch]
5364         * format.[Ch]
5365         * Makefile.am: += graph.[Ch] + format.[Ch]
5366         * MenuBackend.C
5367         * buffer.C
5368         * exporter.C
5369         * importer.C
5370         * lyx_main.C
5371         * lyxfunc.C
5372         * lyxrc.C: added #include "format.h"
5373
5374 2003-02-27  Angus Leeming  <leeming@lyx.org>
5375
5376         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5377           a label.
5378
5379         * factory.C (createInset): add "label" to the factory.
5380
5381         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5382           string and do no more.
5383
5384 2003-02-27  Angus Leeming  <leeming@lyx.org>
5385
5386         * commandtags.h:
5387         * LyXAction.C (init):
5388         * factory.C (createInset):
5389         * BufferView_pimpl.C (dispatch):
5390           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5391
5392         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5393
5394         * lyxfunc.C (dispatch):
5395         * text3.C (dispatch): pass name to params2string.
5396
5397 2003-02-26  Angus Leeming  <leeming@lyx.org>
5398
5399         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5400           blocks together.
5401           Rearrange the ~includes. Strip out the unnecessary ones.
5402
5403         * factory.C (createInset): reformat.
5404           create new insets for the various LFUN_XYZ_APPLY lfuns.
5405
5406 2003-02-26  John Levon  <levon@movementarian.org>
5407
5408         * lyxrow.h:
5409         * lyxrow.C: add isParStart,isParEnd helpers
5410
5411         * paragraph.h: make isInserted/DeletedText take refs
5412
5413         * paragraph_funcs.h:
5414         * paragraph_funcs.C: remove #if 0'd code
5415
5416         * lyxtext.h:
5417         * text3.C:
5418         * text2.C:
5419         * text.C: use lyxrow helpers above.
5420           Move draw and paint routines to RowPainter.
5421           Make several methods use refs not pointers.
5422           Make backgroundColor() const.
5423           Add markChangeInDraw(), isInInset().
5424           Merge changeRegionCase into changeCase.
5425           Make workWidth() shouldn't-happen code into an Assert.
5426
5427         * rowpainter.h:
5428         * rowpainter.C: new class for painting a row.
5429
5430         * vspace.h:
5431         * vspace.C: make inPixels take a ref
5432
5433 2003-02-26  Angus Leeming  <leeming@lyx.org>
5434
5435         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5436         LFUN_REF_APPLY.
5437
5438 2003-02-25  John Levon  <levon@movementarian.org>
5439
5440         * ispell.C: give the forked command a more accurate name
5441
5442 2003-02-22  John Levon  <levon@movementarian.org>
5443
5444         * toc.h:
5445         * toc.C: make TocItem store an id not a Paragraph *
5446           (bug #913)
5447
5448 2003-02-21  Angus Leeming  <leeming@lyx.org>
5449
5450         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5451           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5452           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5453           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5454           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5455           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5456
5457         * BufferView_pimpl.C (dispatch):
5458         * LyXAction.C (init):
5459         * factory.C (createInset):
5460         * lyxfunc.C (getStatus, dispatch):
5461         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5462
5463 2003-02-21  Angus Leeming  <leeming@lyx.org>
5464
5465         * BufferView_pimpl.C (MenuInsertLyXFile):
5466         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5467         * lyxfunc.C (menuNew, open, doImport):
5468           no longer pass a LyXView & to fileDlg.
5469
5470 2003-02-21  Angus Leeming  <leeming@lyx.org>
5471
5472         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5473         * LyXAction.C: change, BIBKEY to BIBITEM.
5474         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5475         Change InsetBibKey to InsetBibitem.
5476         Change BIBKEY_CODE to BIBITEM_CODE.
5477         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5478         * factory.C: replace insetbib.h with insetbibitem.h.
5479         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5480         * paragraph.C: replace insetbib.h with insetbibitem.h.
5481         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5482         Change bibkey() to bibitem().
5483         * text.C: remove insetbib.h.
5484         * text2.C: replace insetbib.h with insetbibitem.h.
5485         change bibkey() to bibitem().
5486         * text3.C: remove insetbib.h.
5487         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5488
5489 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5490
5491         * lyxrc.C (output): enclose user email in quotes (in case there are
5492         several words)
5493
5494 2003-02-18  John Levon  <levon@movementarian.org>
5495
5496         * buffer.h: add std::
5497
5498 2003-02-17  John Levon  <levon@movementarian.org>
5499
5500         * SpellBase.h:
5501         * ispell.h:
5502         * ispell.C:
5503         * pspell.h:
5504         * pspell.C: reworking. Especially in ispell, a large
5505           number of clean ups and bug fixes.
5506
5507         * lyxfunc.C: fix revert to behave sensibly
5508
5509 2003-02-17 André Pönitz <poenitz@gmx.net>
5510
5511         * LyXAction.C:
5512         * commandtags.h: new LFUN_INSERT_BIBKEY
5513
5514         * layout.h:
5515         * lyxlayout.C:
5516         * buffer.C:
5517         * factory.C:
5518         * text.C:
5519         * text2.C:
5520         * text3.C:
5521         * paragraph.[Ch]:
5522         * paragraph_func.C: remove special bibkey handling
5523
5524 2003-02-17  John Levon  <levon@movementarian.org>
5525
5526         * text.C (Delete): fix case where delete at the end of
5527           the very first paragraph would not merge the pars
5528
5529 2003-02-17  John Levon  <levon@movementarian.org>
5530
5531         * lyxrow.C: fix lastPrintablePos()
5532
5533 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5534
5535         * bufferparams.C (writeLaTeX): add a std:here
5536
5537         * buffer.C: and remove a using directive there
5538
5539 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5540
5541         * buffer.C (makeLaTeXFile): move the code that generates the
5542           preamble...
5543
5544         * bufferparams.C (writeLaTeX): ... in this new method
5545
5546         * LaTeXFeatures.C (getEncodingSet): make const
5547           (getLanguages): make const
5548
5549         * MenuBackend.C (binding): returns the binding associated to this
5550           action
5551           (add): sets the status of each item by calling getStatus. Adds
5552           some intelligence.
5553           (read): add support for OptSubMenu
5554           (expand): remove extra separator at the end of expanded menu
5555
5556 2003-02-15  John Levon  <levon@movementarian.org>
5557
5558         * BufferView.C:
5559         * BufferView_pimpl.C:
5560         * bufferlist.h:
5561         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5562           inset code that had no actual effect. Remove unneeded status
5563           code.
5564
5565 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5566
5567         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5568           in preamble
5569
5570 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5571
5572         * text.C (drawLengthMarker): also draw an arrow marker for
5573           symbolic lengths (medskip...)
5574
5575 2003-02-14  John Levon  <levon@movementarian.org>
5576
5577         * tabular.h:
5578         * tabular.C: better method names
5579
5580 2003-02-14  John Levon  <levon@movementarian.org>
5581
5582         * BufferView_pimpl.C:
5583         * bufferlist.C:
5584         * buffer.C:
5585         * converter.C:
5586         * lyx_cb.C:
5587         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5588           it's a more accurate name. Remove some pointless uses.
5589
5590 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5591
5592         * text2.C (LyXText): change order of initilizers to shut off
5593           warnings
5594
5595 2003-02-14  John Levon  <levon@movementarian.org>
5596
5597         * buffer.C: use ParIterator for getParFromID()
5598
5599         * paragraph.h:
5600         * paragraph.C:
5601         * paragraph_pimpl.h:
5602         * paragraph_pimpl.C: remove unused getParFromID()
5603
5604 2003-02-14  John Levon  <levon@movementarian.org>
5605
5606         * buffer.C: remove some very old #if 0'd parse code
5607
5608 2003-02-13  John Levon  <levon@movementarian.org>
5609
5610         * text.h:
5611         * text.C:
5612         * text2.C: move hfillExpansion(), numberOfSeparators(),
5613           rowLast(), rowLastPrintable(), numberofHfills(),
5614           numberOfLabelHfills() ...
5615
5616         * lyxrow.h:
5617         * lyxrow.C: ... to member functions here.
5618
5619         * paragraph.h:
5620         * paragraph.C:
5621         * lyxtext.h:
5622         * text.C: remove LyXText::beginningOfMainBody(), and call
5623           p->beginningOfMainBody() directly. Move the check for
5624           LABEL_MANUAL into the latter.
5625
5626         * text.h:
5627         * text.C:
5628         * text2.C:
5629         * vspace.C:
5630         * BufferView.h:
5631         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5632
5633         * text.h:
5634         * text.C:
5635         * text2.C:
5636         * text3.C:
5637         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5638           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5639
5640 2003-02-13  John Levon  <levon@movementarian.org>
5641
5642         * CutAndPaste.C: remove debug
5643
5644 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5645
5646         * paragraph.C (asString): remove two unused variables
5647
5648         * lyxtextclass.C (readTitleType):
5649           (Read):
5650           (LyXTextClass): handle new members titletype_ and titlename_
5651
5652         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5653
5654 2003-02-09  John Levon  <levon@movementarian.org>
5655
5656         * buffer.h:
5657         * buffer.C: replace hand-coded list with a map for the dep clean
5658
5659 2003-02-08  John Levon  <levon@movementarian.org>
5660
5661         * LaTeX.C: consolidate code into showRunMessage() helper
5662
5663 2003-02-08  John Levon  <levon@movementarian.org>
5664
5665         * lyxfind.C:
5666         * lyxtext.h:
5667         * text2.C:
5668         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5669           and pass the size in explicitly
5670
5671         * BufferView_pimpl.h:
5672         * BufferView_pimpl.C:
5673         * BufferView.h:
5674         * BufferView.C: add getCurrentChange()
5675
5676         * BufferView_pimpl.h:
5677         * BufferView_pimpl.C: handle change lfuns
5678
5679         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5680           for changes. Mark pasted paragraphs as new.
5681
5682         * support/lyxtime.h:
5683         * support/lyxtime.C:
5684         * DepTable.C: abstract time_t as lyx::time_type
5685
5686         * LColor.h:
5687         * LColor.C: add colours for new text, deleted text, changebars
5688
5689         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5690           package use "usenames" option.
5691
5692         * commandtags.h:
5693         * lyxfunc.C:
5694         * LyXAction.C: add change lfuns
5695
5696         * Makefile.am:
5697         * author.h:
5698         * author.C: author handling
5699
5700         * buffer.h:
5701         * buffer.C: add a per-buffer author list, with first entry as
5702           current author. Handle new .lyx tokens for change tracking. Output
5703           author list to .lyx file. Output dvipost stuff to .tex preamble.
5704           Bump lyx format to 222.
5705
5706         * bufferlist.h:
5707         * bufferlist.C: add setCurrentAuthor() to reset current author details
5708           in all buffers.
5709
5710         * bufferparams.h:
5711         * bufferparams.C: add param for tracking
5712
5713         * bufferview_funcs.C: output change info in minibuffer
5714
5715         * Makefile.am:
5716         * changes.h:
5717         * changes.C: add change-tracking structure
5718
5719         * debug.h:
5720         * debug.C: add CHANGES debug flag
5721
5722         * lyxfind.h:
5723         * lyxfind.C: add code for finding the next change piece
5724
5725         * lyxrc.h:
5726         * lyxrc.C: add user_name and user_email
5727
5728         * lyxrow.h:
5729         * lyxrow.C: add a metric for the top of the text line
5730
5731         * lyxtext.h:
5732         * text.C: implement accept/rejectChange()
5733
5734         * lyxtext.h:
5735         * text.C: paint changebars. Paint new/deleted text in the chosen
5736         colours. Strike through deleted text.
5737
5738         * paragraph.h:
5739         * paragraph.C:
5740         * paragraph_pimpl.h:
5741         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5742           in the current change to the insert functions. Rework erase to
5743           mark text as deleted, adding an eraseIntern() and a range-based
5744           erase(). Implement per-paragraph change lookup and
5745           accept/reject.
5746
5747         * paragraph_funcs.C: Fixup paste for change tracking.
5748
5749         * tabular.C: mark added row/columns as new.
5750
5751         * text.C: fix rowLast() to never return -1. Don't allow
5752           spellchecking of deleted text. Track transpose changes. Don't
5753           allow paragraph break or merge where appropriate.
5754
5755         * text2.C: leave cursor at end of selection after a cut.
5756
5757 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5758
5759         * text.C (getLengthMarkerHeight):
5760         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5761         visible on screen too.
5762
5763 2003-02-07  John Levon  <levon@movementarian.org>
5764
5765         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5766
5767 2003-02-05  Angus Leeming  <leeming@lyx.org>
5768
5769         * lyxserver.C (read_ready): revert my patch of 11 September last year
5770         as it sends PC cpu through the roof. Presumably this means that
5771         the lyxserver will no longer run on an Alpha...
5772
5773 2003-01-30  Angus Leeming  <leeming@lyx.org>
5774
5775         * factory.C (createInset): create an InsetCommandParam of type "index"
5776         and use it to 'do the right thing'.
5777
5778         * text2.C (getStringToIndex): ensure that cursor position is always
5779         reset to the reset_cursor position.
5780
5781 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5782
5783         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5784         disabled.
5785
5786 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5787
5788         * bufferview.C:
5789         * lyxcb.C:
5790         * lyxfunc.C: Output messages with identical spelling, punctuation,
5791         and spaces
5792
5793 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5794
5795         * MenuBackend.C (expandFormats): List only viewable export formats
5796         in "View" menu
5797
5798         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5799         message
5800
5801         * lyxfunc.C (getStatus): Make sure that formats other than
5802         "fax" can also be disabled
5803
5804 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5805
5806         * text3.C (dispatch): put the lfuns that insert insets in 3
5807         groups, and call doInsertInset with appropriate arguments.
5808         (doInsertInset): new function, that creates an inset and inserts
5809         it according to some boolean parameters.
5810
5811 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5812
5813         * buffer.C (readFile): remember to pass on 'par' when calling
5814         readFile recursively.
5815
5816 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5817
5818         * MenuBackend.C (expandFormats): add "..." to import formats.
5819
5820 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5821
5822         * paragraph.C (asString): Remove XForms RTL hacks.
5823
5824 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5825         * buffer.C: fix typo
5826
5827 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5828
5829         * Makefile.am (LIBS): delete var
5830         (lyx_LDADD): add @LIBS@ here instead.
5831
5832 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5833
5834         * Clarify the meaning of "wheel mouse jump"
5835
5836 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5837
5838         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5839         tabular in a float
5840
5841 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5842
5843         * importer.C (Loaders): do not preallocate 3 elements in the
5844         vector, since one ends up with 6 elements otherwise
5845
5846 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5847
5848         * DepTable.C (write): write the file name as last element of the
5849         .dep file (because it may contain spaces)
5850         (read): read info in the right order
5851
5852 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5853
5854         * paragraph_pimpl.C (simpleTeXBlanks):
5855         (simpleTeXSpecialChars):
5856         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5857
5858         * tabular.C (latex): add some missing case statements. Reindent.
5859
5860         * MenuBackend.C (expandToc): remove unused variable.
5861
5862 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5863
5864         * LColor.C:
5865         * LaTeX.C:
5866         * LyXAction.C:
5867         * MenuBackend.C:
5868         * buffer.C:
5869         * exporter.C:
5870         * lyxfunc.C:
5871         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5872         and the like.
5873
5874 2003-01-05  John Levon  <levon@movementarian.org>
5875
5876         * BufferView.h:
5877         * BufferView.C: add getEncoding()
5878
5879         * kbsequence.h:
5880         * kbsequence.C: do not store last keypress
5881
5882         * lyxfunc.h:
5883         * lyxfunc.C: store last keypress here instead. Pass encoding
5884           to getISOEncoded()
5885
5886 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5887
5888         * lyx_main.C (init): remove annoying error message when following
5889         symbolic links (bug #780)
5890
5891 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5892
5893         * text.C (insertChar):
5894         * lyxrc.C (getDescription): remove extra spaces
5895
5896 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5897
5898         * lyxrc.C (getDescription): remove extra spaces
5899
5900 2002-12-20  John Levon  <levon@movementarian.org>
5901
5902         * text3.C: hack fix for page up/down across tall rows
5903
5904 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5905
5906         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5907         not been invoked
5908
5909 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5910
5911         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5912         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5913         thesaurus is not compiled in
5914
5915 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5916
5917         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5918
5919 2002-12-16  Angus Leeming  <leeming@lyx.org>
5920
5921         * lyxrc.[Ch]:
5922         * lyx_main.C (init): remove override_x_deadkeys stuff.
5923
5924 2002-12-12  John Levon  <levon@movementarian.org>
5925
5926         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5927           insert. Only remove shift modifier under strict
5928           circumstances.
5929
5930 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5931
5932         * MenuBackend.C (expandToc): fix crash.
5933
5934 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5935
5936         * MenuBackend.C (expandToc): gettext on float names.
5937
5938 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5939
5940         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5941         implement bool empty() [bug 490]
5942
5943 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5944
5945         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5946
5947 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5948
5949         * several files: ws changes
5950
5951 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5952
5953         * text2.C (setCounter): clean up a bit, use boost.format.
5954         (updateCounters): initialize par upon declaration.
5955
5956         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5957         if the layout exists. We do not just store the layout any more.
5958         (SwitchLayoutsBetweenClasses): use boost.format
5959
5960 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5961
5962         * converter.C (convert): if from and to files are the same, use a
5963         temporary files as intermediary
5964
5965 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5966
5967         * commandtags.h:
5968         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5969
5970 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5971
5972         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5973
5974 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5975
5976         * tabular.C (asciiPrintCell): use string(size, char) instead of
5977         explicit loop.
5978
5979         * sgml.C (openTag): fix order of arguments to string constructor
5980         (closeTag): ditto
5981
5982         * lyxfunc.C (dispatch): use boost.format
5983
5984         * lots of files: change "c" -> 'c'
5985
5986 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5987
5988         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5989
5990 2002-11-25  Angus Leeming  <leeming@lyx.org>
5991
5992         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5993
5994         * lyx_main.C (init): compile fix.
5995
5996 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5997
5998         * lyx_cb.C (start): boost.formatify
5999         do not include <iostream>
6000
6001         * lengthcommon.C: ws only
6002
6003         * boost-inst.C,BoostFormat.h: add more explict instantations
6004
6005 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6006
6007         * lots of files: handle USE_BOOST_FORMAT
6008
6009 2002-11-21  John Levon  <levon@movementarian.org>
6010
6011         * pspell.C: fix compile
6012
6013 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6014
6015         * lyxfunc.C (dispatch): use boost::format
6016         (open): ditto
6017         (doImport): ditto
6018
6019         * lyxfont.C (stateText): use boost::format
6020
6021         * lyx_main.C (LyX): use boost::format
6022         (init): ditto
6023         (queryUserLyXDir): ditto
6024         (readRcFile): ditto
6025         (parse_dbg): ditto
6026         (typedef boost::function): use the recommened syntax.
6027
6028         * importer.C (Import): use boost::format
6029
6030         * debug.C (showLevel): use boost::format
6031
6032         * converter.C (view): use boost::format
6033         (convert): ditto
6034         (move): ditto
6035         (scanLog): ditto
6036
6037         * bufferview_funcs.C (currentState): use boost::format
6038
6039         * bufferlist.C (emergencyWrite): use boost::format
6040
6041         * buffer.C (readLyXformat2): use boost::format
6042         (parseSingleLyXformat2Token): ditto
6043
6044         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6045
6046         * LaTeX.C (run): use boost::format
6047
6048         * Chktex.C (scanLogFile): use boost::format
6049
6050         * BufferView_pimpl.C (savePosition): use boost::format
6051         (restorePosition): ditto
6052         (MenuInsertLyXFile): ditto
6053
6054         * BoostFormat.h: help file for explicit instation.
6055
6056 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6057
6058         * tabular.C (latex): Support for block alignment in fixed width
6059         columns.
6060
6061 2002-11-17  John Levon  <levon@movementarian.org>
6062
6063         * BufferView_pimpl.C:
6064         * lyx_cb.C:
6065         * lyxfunc.C: split filedialog into open/save
6066
6067 2002-11-08  Juergen Vigna  <jug@sad.it>
6068
6069         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6070         by my last patch (hopefully).
6071
6072 2002-11-08  John Levon  <levon@movementarian.org>
6073
6074         * iterators.h:
6075         * iterators.C:
6076         * buffer.h:
6077         * buffer.C:
6078         * paragraph.h:
6079         * paragraph.C:
6080         * toc.h:
6081         * toc.C: ParConstIterator, and use it (from Lars)
6082
6083 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6084
6085         * lyxtextclass.[Ch]: revise and add doxygen comments
6086
6087 2002-11-07  John Levon  <levon@movementarian.org>
6088
6089         * text.C: fix progress value for spellchecker
6090
6091         * toc.C: fix navigate menu for insetwrap inside minipage
6092
6093         * paragraph_funcs.C: added FIXME for suspect code
6094
6095 2002-11-07  John Levon  <levon@movementarian.org>
6096
6097         * BufferView_pimpl.C: fix redrawing of insets
6098           on buffer switch
6099
6100 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6101
6102         * text2.C (updateCounters): fix bug 668
6103
6104 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6105
6106         * text3.C (dispatch): Do not make the buffer dirty when moving the
6107         cursor.
6108
6109 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6110
6111         * vc-backend.C: STRCONV
6112         (scanMaster): ditto
6113
6114         * text2.C (setCounter): STRCONV
6115
6116         * paragraph.C (asString): STRCONV
6117
6118         * lyxlength.C (asString): STRCONV
6119         (asLatexString): ditto
6120
6121         * lyxgluelength.C (asString): STRCONV
6122         (asLatexString): ditto
6123
6124         * lyxfunc.C (dispatch): STRCONV
6125         (open): ditto
6126
6127         * lyxfont.C (stateText): STRCONV
6128
6129         * importer.C (Import): STRCONV
6130
6131         * counters.C (labelItem): STRCONV
6132         (numberLabel): ditto
6133         (numberLabel): remove unused ostringstream o
6134
6135         * chset.C: STRCONV
6136         (loadFile): ditto
6137
6138         * bufferview_funcs.C (currentState): STRCONV
6139
6140         * buffer.C (readFile): STRCONV
6141         (asciiParagraph): ditto
6142         (makeLaTeXFile): ditto
6143
6144         * Spacing.C (writeEnvirBegin): STRCONV
6145
6146         * LaTeXFeatures.C (getLanguages): STRCONV
6147         (getPackages): ditto
6148         (getMacros): ditto
6149         (getBabelOptions): ditto
6150         (getTClassPreamble): ditto
6151         (getLyXSGMLEntities): ditto
6152         (getIncludedFiles): ditto
6153
6154         * LaTeX.C: STRCONV
6155         (run): ditto
6156         (scanAuxFile): ditto
6157         (deplog): ditto
6158
6159         * LString.h: add the STRCONV macros
6160
6161         * BufferView_pimpl.C (savePosition): STRCONV
6162         (restorePosition): ditto
6163         (MenuInsertLyXFile): ditto
6164
6165         * vc-backend.C (scanMaster): change from submatch[...] to
6166         submatch.str(...)
6167
6168         * funcrequest.C: include config.h
6169
6170         * factory.C: include config.h
6171
6172         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6173
6174         * box.C: include config.h
6175
6176         * LaTeX.C (scanAuxFile): change from submatch[...] to
6177         submatch.str(...)
6178         (deplog): ditto
6179
6180 2002-10-25  Angus Leeming  <leeming@lyx.org>
6181
6182         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6183
6184         * ispell.[Ch] (setError): new method.
6185         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6186         Use setError() insetead of goto END.
6187
6188         * lyx_cb.C (AutoSave): move out child process into new class
6189         AutoSaveBuffer.
6190
6191 2002-10-30  John Levon  <levon@movementarian.org>
6192
6193         * text3.C: make start appendix undoable
6194
6195 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6196
6197         * lyxlength.C (inPixels): Fix returned value.
6198
6199         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6200         environment.
6201
6202 2002-10-24  Angus Leeming  <leeming@lyx.org>
6203
6204         * lyxgluelength.h: no need to forward declare BufferParams
6205         or BufferView, so don't.
6206
6207 2002-10-21  John Levon  <levon@movementarian.org>
6208
6209         * BufferView.C: menuUndo ->undo, redo
6210
6211         * BufferView.h: document, remove dead, make some methods private
6212
6213         * paragraph_funcs.h:
6214         * paragraph_funcs.C:
6215         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6216
6217         * buffer.h:
6218         * buffer.C:
6219         * sgml.h:
6220         * sgml.C: move sgml open/close tag into sgml.C
6221
6222         * bufferview_funcs.h: unused prototype
6223
6224         * lyxfunc.h:
6225         * lyxfunc.C: remove unused
6226
6227         * lyxtext.h:
6228         * text.C: remove unused
6229
6230 2002-10-21  John Levon  <levon@movementarian.org>
6231
6232         * BufferView.h:
6233         * BufferView.C:
6234         * BufferView_pimpl.h:
6235         * BufferView_pimpl.C: fix mouse wheel handling based on
6236           patch from Darren Freeman
6237
6238 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6239
6240         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6241
6242 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6243
6244         * lyxlength.C (inPixels): Fix hanfling of negative length.
6245         Fix LyXLength::MU case.
6246
6247 2002-10-16  John Levon  <levon@movementarian.org>
6248
6249         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6250
6251 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6252
6253         * converter.C (view): add support for $$i (file name) and $$p
6254         (file path) for the viewer command. If $$i is not specified, then
6255         it is appended to the command (for compatibility with old syntax)
6256
6257 2002-10-14  Juergen Vigna  <jug@sad.it>
6258
6259         * undo_funcs.C (textHandleUndo): alter the order in which the
6260         new undopar is added to the LyXText, as we have to set first
6261         the right prev/next and then add it as otherwise the rebuild of
6262         LyXText is not correct. Also reset the cursor to the right paragraph,
6263         with this IMO we could remove the hack in "redoParagraphs()".
6264
6265 2002-10-09  Angus Leeming  <leeming@lyx.org>
6266
6267         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6268         to turn off an optimisation if a new inset is to be inserted.
6269
6270 2002-10-11 André Pönitz <poenitz@gmx.net>
6271
6272         * lyxtext.h: make some functions public to allow access
6273         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6274
6275 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6276
6277         * text3.C (dispatch): when changing layout, avoid an infinite loop
6278         [bug #652]
6279
6280 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6281
6282         * lyxrc.C (read): treat a viewer or converter command of "none" as
6283         if it were empty.
6284
6285         * MenuBackend.C (expandFormats): for an update, also allow the
6286         formats that are not viewable
6287
6288         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6289         script if it is newer than the lyxrc.defaults in user directory
6290
6291 2002-10-07 André Pönitz <poenitz@gmx.net>
6292
6293         * text.C: Vitaly Lipatov's small i18n fix
6294
6295 2002-09-25  Angus Leeming  <leeming@lyx.org>
6296
6297         * ispell.h: doxygen fix.
6298
6299 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6300
6301         * buffer.h (readFile): Add a new argument to the method, to allow
6302         reading of old-format templates.
6303
6304 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6305
6306         * toc.C (getTocList): Get TOC from InsetWrap.
6307
6308 2002-09-16  John Levon  <levon@movementarian.org>
6309
6310         * lyxfunc.C: check tabular for cut/copy too
6311
6312 2002-09-12  John Levon  <levon@movementarian.org>
6313
6314         * LyXAction.C: tidy
6315
6316         * factory.h:
6317         * factory.C: add header
6318
6319         * paragraph_funcs.h:
6320         * paragraph_funcs.C: cleanup
6321
6322 2002-09-11  John Levon  <levon@movementarian.org>
6323
6324         * PrinterParams.h: odd/even default to true
6325
6326 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6327
6328         * PrinterParams.h: update printer parameters for new xforms dialog
6329
6330 2002-09-11  Angus Leeming  <leeming@lyx.org>
6331
6332         * lyxserver.C (read_ready): re-write to make it more transparent
6333         and to make it work in coherent fashion under Tru64 Unix.
6334
6335 2002-09-11  André Pönitz <poenitz@gmx.net>
6336
6337         * commandtags.h:
6338         * LyXAction.C:
6339         * text3.C: implement LFUN_WORDSEL
6340
6341 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6342
6343         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6344         make floatlist_ a boost::shared_ptr<FloatList>
6345
6346         * lyxtextclass.C: include FloatList.h
6347         (LyXTextClass): initialize floatlist_
6348         (TextClassTags): add TC_NOFLOAT
6349         (Read): match "nofloat" to TC_NOFLOAT and use it.
6350         (readFloat): modify call to floatlist_
6351         (floats): ditto
6352         (floats): ditto
6353
6354         * FloatList.[Ch] (FloatList): remove commented out float
6355         initialization.
6356         (erase): new function
6357
6358 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6359
6360         * MenuBackend.C (expandToc): fix crash when there is no document
6361         open
6362
6363 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6364
6365         * many files: Add insetwrap.
6366
6367 2002-09-09  John Levon  <levon@movementarian.org>
6368
6369         * text2.C: remove confusing and awkward depth wraparound
6370
6371 2002-09-09  John Levon  <levon@movementarian.org>
6372
6373         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6374
6375         * buffer.h:
6376         * buffer.C: remove getIncludeonlyList()
6377
6378         * paragraph.C:
6379         * lyxfunc.C: remove headers
6380
6381 2002-09-09  Juergen Vigna  <jug@sad.it>
6382
6383         * text.C (getColumnNearX): fix form Michael this is most
6384         probably a cut&paste bug.
6385
6386 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6387
6388         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6389
6390         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6391         references, ws changes.
6392
6393         * text2.C (init): update counters after init
6394         (insertParagraph): no need to set counter on idividual paragraphs.
6395         (setCounter): access the counters object in the textclass object
6396         on in the buffer object.
6397         (updateCounters): ditto
6398
6399         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6400         shared_ptr<Counters> to avoid loading counters.h in all
6401         compilation units.
6402         (LyXTextClass): initialize ctrs_
6403         (TextClassTags): add TC_COUNTER, and ...
6404         (Read): use it here.
6405         (CounterTags): new tags
6406         (readCounter): new function
6407         (counters): new funtion
6408         (defaultLayoutName): return a const reference
6409
6410         * counters.C (Counters): remove contructor
6411         (newCounter): remove a couple of unneeded statements.
6412         (newCounter): simplify a bit.
6413         (numberLabel): some small formatting changes.
6414
6415         * buffer.[Ch]: remove all traces of counters, move the Counters
6416         object to the LyXTextClass.
6417
6418 2002-09-06  Alain Castera  <castera@in2p3.fr>
6419
6420         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6421         package to set the horizontal alignment on fixed width columns.
6422
6423         * lyx_sty.C:
6424         * lyx_sty.h: added tabularnewline macro def.
6425
6426         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6427
6428 2002-09-06  John Levon  <levon@movementarian.org>
6429
6430         * LyXAction.C: tooltips for sub/superscript
6431
6432         * MenuBackend.C: a bit more verbose
6433
6434         * lyxfunc.C: tiny clean
6435
6436         * undo_funcs.C: document undo_frozen
6437
6438 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6439
6440         * counters.C (Counters): add missing algorithm counter.
6441
6442         * text2.C (setCounter): lookup the counter with layouts latexname
6443         instead of by section number.
6444         (setCounter): use a hackish way to lookup the correct enum
6445         counter.
6446         a float name->type change
6447         reset enum couners with counter name directly instead of depth value.
6448
6449         * counters.C (Counters): remove the push_backs, change to use the
6450         float type not the float name.
6451         (labelItem): remove unused string, float name->type change
6452
6453         * counters.h: don't include vector, loose the enums and sects vectors
6454
6455 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6456
6457         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6458         (Read): add float->TC_FLOAT to textclassTags
6459         (Read): and handle it in the switch
6460         (readFloat): new function
6461
6462         * FloatList.C (FloatList): comment out the hardcoded float
6463         definitions.
6464
6465         * lyxlayout.h: ws change.
6466
6467 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6468
6469         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6470
6471 2002-09-03  Angus Leeming  <leeming@lyx.org>
6472
6473         * BufferView_pimpl.h: qualified name is not allowed in member
6474         declaration: WorkArea & Pimpl::workarea() const;
6475
6476         * factory.C: added using std::endl directive.
6477
6478         * text3.C: added using std::find and std::vector directives.
6479
6480 2002-08-29  André Pönitz <poenitz@gmx.net>
6481
6482         * lyxtext.h:
6483         * text2.C: remove unused member number_of_rows
6484
6485         * Makefile.am:
6486         * BufferView2.C: remove file, move contents to...
6487         * BufferView.C: ... here
6488
6489         * BufferView_pimpl.C:
6490         * factory.C: move more inset creation to factory
6491
6492         * vspace.C: avoid direct usage of LyXText, ws changes
6493
6494         * BufferView.[Ch]:
6495                 don't provide direct access to WorkArea, use two simple
6496                 acessors haveSelction() and workHeight() instead
6497
6498
6499 2002-08-29  John Levon  <levon@movementarian.org>
6500
6501         * BufferView_pimpl.C (dispatch): do not continue when
6502           no buffer
6503
6504 2002-08-28  André Pönitz <poenitz@gmx.net>
6505
6506         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6507
6508         * BufferView.h:
6509         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6510
6511 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6512
6513         * buffer.C: increment LYX_FORMAT to 221
6514
6515         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6516         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6517
6518         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6519
6520         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6521
6522 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6523
6524         * factory.C (createInset): use LyXTextClass::floats
6525
6526         * MenuBackend.C (expandFloatListInsert):
6527         (expandFloatInsert):
6528         (expandToc):
6529
6530         * text2.C (setCounter):
6531
6532         * LaTeXFeatures.C (useFloat):
6533         (getFloatDefinitions):
6534
6535         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6536
6537         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6538         floatlist_, with accessor floats().
6539
6540         * FloatList.h: remove global FloatList
6541
6542 2002-08-26  André Pönitz <poenitz@gmx.net>
6543
6544         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6545
6546         * BufferView.h:
6547         * BufferView2.C:
6548         * BufferView_pimpl.C:
6549         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6550
6551 2002-08-25  John Levon  <levon@movementarian.org>
6552
6553         * LyXAction.C: fix margin note description
6554
6555 2002-08-24  John Levon  <levon@movementarian.org>
6556
6557         * buffer.C:
6558         * bufferlist.C:
6559         * bufferview_funcs.C:
6560         * lyxfont.C:
6561         * undo_funcs.C: cleanups
6562
6563         * lyxfunc.C: disable CUT/COPY when no selection
6564
6565 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6566
6567         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6568         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6569
6570         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6571         Add backward compatibility to "mono", "gray" and "no".
6572
6573 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6574
6575         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6576         (and file_format >= 200).
6577
6578 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6579
6580         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6581
6582 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6583
6584         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6585
6586 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6587
6588         * BufferView_pimpl.C:
6589         * LyXAction.C:
6590         * buffer.C:
6591         * commandtags.h:
6592         * lyxfunc.C:
6593         * paragraph.[Ch]:
6594         * text2.C:
6595         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6596         inset and code to make it  work with the paragraph code. The inset
6597         can be anywhere in the paragraph, but will only do the expected
6598         thing in LaTeX if the layout file contains the parameter line
6599                         OptionalArgs    1
6600         (or more generally, a nonzero value) for that layout.
6601
6602 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6603
6604         * paragraph.h: remove the declaration of undefined counters class
6605         function.
6606
6607 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6608
6609         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6610         Dr. Richard Hawkins.
6611
6612 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6613
6614         * paragraph_funcs.h: remove some unneeded includes
6615
6616         * text.C (backspace): pasteParagraph now in global scipe
6617
6618         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6619         (pasteSelection): ditto
6620
6621         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6622         * paragraph_funcs.C (pasteParagraph): ... here
6623
6624 2002-08-20  André Pönitz <poenitz@gmx.net>
6625
6626         * commandtags.h: new LFUNs for swapping/copying table row/colums
6627
6628         * LyXAction.C:
6629         * lyxfunc.C: support for new lfuns
6630
6631 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6632
6633         * tabular.C:
6634         * buffer.[Ch]: remove NO_COMPABILITY stuff
6635
6636 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6637
6638         * boost.C (throw_exception): new file, with helper function for
6639         boost compiled without exceptions.
6640
6641         * paragraph.h:
6642         * lyxlength.C:
6643         * buffer.C:
6644         * ParameterStruct.h:
6645         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6646
6647         * bufferlist.C (emergencyWriteAll): use boost bind
6648
6649         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6650
6651         * text.C: include paragraph_funcs.h
6652         (breakParagraph): breakParagraph is now in global scope
6653
6654         * paragraph_funcs.[Ch]: new files
6655
6656         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6657         global scope
6658
6659         * buffer.C: include paragraph_funcs.h
6660         (insertStringAsLines): breakParagraph is now in global scope
6661
6662         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6663         paragraph_funcs.C
6664
6665         * CutAndPaste.C: include paragraph_funcs.h
6666         (cutSelection): breakParagraphConservative is now in global scope
6667         (pasteSelection): ditto
6668
6669         * buffer.h: declare oprator== and operator!= for
6670         Buffer::inset_iterator
6671
6672         * bufferlist.C (emergencyWrite): don't use fmt(...)
6673
6674         * text3.C: add using std::endl
6675
6676         * BufferView.C (moveCursorUpdate): remove default arg
6677
6678 2002-08-20  André Pönitz <poenitz@gmx.net>
6679
6680         * buffer.[Ch]: move inline functions to .C
6681
6682         * BufferView2.C:
6683         * BufferView_pimpl.C:
6684         * text.C:
6685         * buffer.[Ch]: use improved inset_iterator
6686
6687         * buffer.C:
6688         * paragraph.[Ch]: write one paragraph at a time
6689
6690 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6691
6692         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6693         style if style is not specified.
6694
6695 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6696
6697         * text2.C (setCounter): when searching for right label for a
6698         caption, make sure to recurse to parent insets (so that a caption
6699         in a minipage in a figure float works) (bug #568)
6700
6701 2002-08-20  André Pönitz <poenitz@gmx.net>
6702
6703         * text3.C: new file for LyXText::dispatch() and helpers
6704
6705         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6706
6707         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6708
6709 2002-08-19  André Pönitz <poenitz@gmx.net>
6710
6711         * lyxtext.h:
6712         * text.C: new LyXText::dispatch()
6713
6714         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6715
6716 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6717
6718         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6719
6720         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6721         Hebrew text.
6722
6723 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6724
6725         * Makefile.am: use $(variables) instead of @substitutions@
6726
6727 2002-08-15  André Pönitz <poenitz@gmx.net>
6728
6729         * lyxfunc.C:
6730         * BufferView_pimpl.C: streamlining mathed <-> outer world
6731         interaction
6732
6733         * commandtags.h:
6734         * LyXAction.C: remove unused LFUN_MATH
6735
6736 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6737
6738         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6739
6740 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6741
6742         * paragraph.C (Paragraph): reformat a bit
6743         (cutIntoMinibuffer): use builtin InsetList function instad of
6744         doing it manually.
6745         (getInset): ditto
6746
6747         * buffer.C: include boost/bind.hpp, add using std::for_each
6748         (writeFileAscii): use ParagraphList iterators
6749         (validate): use for_each for validate traversal of paragraphs
6750         (getBibkeyList): use ParagraphList iterators
6751         (resizeInsets): use for_each to resizeInsetsLyXText for all
6752         paragraphs.
6753         (getParFromID): use ParagraphList iterators
6754
6755         * BufferView2.C (lockInset): use paragraph list and iterators
6756
6757 2002-08-14  John Levon  <levon@movementarian.org>
6758
6759         * lyxserver.C: remove spurious xforms include
6760
6761 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6762
6763         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6764
6765 2002-08-13  André Pönitz <poenitz@gmx.net>
6766
6767         * LyXAction.[Ch]:
6768         * lyxfunc.C: further cleaning
6769
6770 2002-08-13  André Pönitz <poenitz@gmx.net>
6771
6772         * funcrequest.h: new constructor
6773
6774         * funcrequest.C: move stuff here from .h
6775
6776         * Makefile.am:
6777         * BufferView_pimpl.C:
6778         * LyXAction.C:
6779         * toc.C:
6780         * lyxfunc.C: subsequent changes
6781
6782         * lyxfunc.h: new view() member function
6783
6784         * lyxfunc.C: subsequent changes
6785
6786 2002-08-13  Angus Leeming  <leeming@lyx.org>
6787
6788         * BufferView2.C:
6789         * BufferView_pimpl.C:
6790         * buffer.C:
6791         * converter.C:
6792         * importer.C:
6793         * lyxfunc.C:
6794         * lyxvc.C:
6795         * toc.C:
6796         * vc-backend.C:
6797         changes due to the changed LyXView interface that now returns references
6798         to member variables not pointers.
6799
6800 2002-08-13  Angus Leeming  <leeming@lyx.org>
6801
6802         * WordLangTuple (word, lang_code): return references to strings,
6803         not strings.
6804
6805         * BufferView.h:
6806         * SpellBase.h:
6807         * lyxtext.h: forward-declare WordLangTuple.
6808
6809         * BufferView2.C:
6810         * ispell.C:
6811         * pspell.C:
6812         * text.C: #include "WordLangTuple.h".
6813
6814         * lyxtext.h:
6815         * text.C: (selectNextWordToSpellcheck): constify return type.
6816
6817 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6818
6819         * buffer.C:
6820         * buffer.h:
6821         * lyxtext.h:
6822         * paragraph.C:
6823         * paragraph_pimpl.h:
6824         * text.C:
6825         * text2.C:
6826         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6827         suggested by Angus.
6828         Made updateCounter always count from start of buffer, and removed
6829         second argument (par).
6830         Reverted floats number display to '#'. Perhaps I'll try again when the
6831         code base is sanitized a bit.
6832
6833 2002-08-12  Angus Leeming  <leeming@lyx.org>
6834
6835         * buffer.[Ch] (getLabelList): constify.
6836
6837 2002-08-07  André Pönitz <poenitz@gmx.net>
6838
6839         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6840
6841         * funcrequest.h: extension to keep mouse (x,y) position
6842
6843 2002-08-12  Juergen Vigna  <jug@sad.it>
6844
6845         * BufferView2.C (insertErrors): forbid undo when inserting error
6846         insets.
6847
6848         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6849
6850 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6851
6852         * ParagraphList.[Ch]: new files
6853
6854         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6855
6856         * BufferView2.C (lockInset): ParagraphList changes
6857         * toc.C: ditto
6858         * text2.C: ditto
6859         * bufferlist.C: ditto
6860         * buffer.h: ditto
6861         * buffer.C: ditto
6862
6863 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6864
6865         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6866         unused class variable counter_,
6867
6868         * paragraph.[Ch] (getFirstCounter): delete unused function
6869
6870         * counters.C: include LAssert.h
6871         (reset): add a new function with no arg, change other version to
6872         not have def. arg and to not allow empty arg.
6873
6874         * text2.C (setCounter): remove empty arg from call to Counters::reset
6875
6876 2002-08-11  John Levon  <levon@movementarian.org>
6877
6878         * Makefile.am: add WordLangTuple.h
6879
6880 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6881
6882         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6883         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6884
6885         * insets/insettext.C: InsetList changes
6886
6887         * graphics/GraphicsSupport.C (operator()): InsetList changes
6888
6889         * toc.C (getTocList): InsetList changes
6890
6891         * paragraph_pimpl.[Ch]: InsetList changes
6892
6893         * paragraph.[Ch]: InsetList changes
6894
6895         * buffer.C (inset_iterator): InsetList changes
6896         (setParagraph): ditto
6897         * buffer.h (inset_iterator): ditto
6898         * iterators.C (operator++): ditto
6899         * iterators.h: ditto
6900
6901         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6902
6903         * InsetList.[Ch]: new files, most InsetList handling moved out of
6904         paragraph.C.
6905
6906         * BufferView2.C (removeAutoInsets): InsetList changes
6907         (lockInset): ditto
6908         (ChangeInsets): ditto
6909
6910 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6911
6912         * paragraph_pimpl.h (empty): new function
6913
6914         * paragraph.[Ch] (empty): new function
6915
6916         * other files: use the new Paragraph::empty function
6917
6918 2002-08-09  John Levon  <levon@movementarian.org>
6919
6920         * lyxtext.h: remove unused refresh_height
6921
6922 2002-08-09  John Levon  <levon@movementarian.org>
6923
6924         * Makefile.am:
6925         * sgml.h:
6926         * sgml.C:
6927         * buffer.C:
6928         * paragraph.h:
6929         * paragraph.C: move sgml char escaping out of paragraph
6930
6931         * paragraph.h:
6932         * paragraph.C: remove id setter
6933
6934         * buffer.C:
6935         * paragraph.C:
6936         * paragraph_pimpl.C: remove dead tex_code_break_column
6937
6938         * bufferview_funcs.C: small cleanup
6939
6940         * lyxfunc.C: remove dead proto
6941
6942         * lyxtext.h: make some stuff private. Remove some dead stuff.
6943
6944         * lyxgluelength.C: make as[LyX]String() readable
6945
6946 2002-08-08  John Levon  <levon@movementarian.org>
6947
6948         * LyXAction.h:
6949         * LyXAction.C:
6950         * MenuBackend.C:
6951         * ToolbarDefaults.C:
6952         * lyxfunc.C:
6953         * lyxrc.C:
6954         * toc.C: lyxaction cleanup
6955
6956 2002-08-08  John Levon  <levon@movementarian.org>
6957
6958         * BufferView2.C: small cleanup
6959
6960         * lyxfind.h:
6961         * lyxfind.C: move unnecessary header into the .C
6962
6963 2002-08-08  John Levon  <levon@movementarian.org>
6964
6965         * funcrequest.h: just tedious nonsense
6966
6967         * lyx_main.h:
6968         * lyx_main.C: cleanups
6969
6970         * buffer.C:
6971         * vspace.C: remove dead header lyx_main.h
6972
6973 2002-08-07  Angus Leeming  <leeming@lyx.org>
6974
6975         * Paragraph.[Ch]:
6976         * paragraph_pimpl.h:
6977         Forward declare class Counters in paragraph.h by moving the ctrs member
6978         variable into Paragraph::Pimpl.
6979         (counters): new method, returning a reference to pimpl_->ctrs.
6980
6981         * text2.C: ensuing changes.
6982
6983 2002-08-07  John Levon  <levon@movementarian.org>
6984
6985         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6986
6987         * BufferView_pimpl.C: announce X selection on double/triple
6988           click
6989
6990         * lyx_main.C: use correct bool in batch dispatch
6991
6992         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6993
6994 2002-08-07  André Pönitz <poenitz@gmx.net>
6995
6996         * funcrequest.h: new class to wrap a kb_action and its argument
6997
6998         * BufferView.[Ch]:
6999         * BufferView_pimpl[Ch]:
7000         * LaTeX.C:
7001         * LyXAction.[Ch]:
7002         * lyxfunc.[Ch]:
7003         * lyxrc.C: subsequent changes
7004
7005
7006 2002-08-07  John Levon  <levon@movementarian.org>
7007
7008         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7009           document options change.
7010
7011 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7012
7013         * counters.[Ch]
7014         * text2.C
7015         * paragraph.[Ch]
7016         * makefile.am: move counters functionality over from
7017         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7018
7019 2002-08-06  John Levon  <levon@movementarian.org>
7020
7021         * WordLangTuple.h: new file for word + language code tuple
7022
7023         * SpellBase.h:
7024         * pspell.h:
7025         * pspell.C:
7026         * ispell.h:
7027         * ispell.C:
7028         * lyxtext.h:
7029         * text.C:
7030         * text2.C:
7031         * BufferView.h:
7032         * BufferView2.C: use WordLangTuple
7033
7034         * layout.h:
7035         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7036
7037 2002-08-06  John Levon  <levon@movementarian.org>
7038
7039         * lyx_main.C: fix cmdline batch handling
7040
7041 2002-08-06  André Pönitz <poenitz@gmx.net>
7042
7043         * lyxrc.C: set default for show_banner to true
7044
7045 2002-08-06  John Levon  <levon@movementarian.org>
7046
7047         * pspell.C: fix a crash, and allow new aspell to work
7048
7049 2002-08-06  John Levon  <levon@movementarian.org>
7050
7051         * lyxfunc.C:
7052         * kbmap.C: small cleanup
7053
7054         * vspace.h:
7055         * vspace.C: add const
7056
7057 2002-08-05  John Levon  <levon@movementarian.org>
7058
7059         * LyXAction.C: back to tabular-insert
7060
7061 2002-08-04  John Levon  <levon@movementarian.org>
7062
7063         * BufferView.h:
7064         * BufferView.C: cosmetic change
7065
7066         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7067
7068         * bufferlist.C:
7069         * buffer.h:
7070         * buffer.C:
7071         * lyxcb.h:
7072         * lyxcb.C:
7073         * lyxserver.C:
7074         * lyxvc.C:
7075         * vc-backend.C:
7076         * BufferView2.C: purge all "Lyx" not "LyX" strings
7077
7078         * lyxcursor.h:
7079         * lyxcursor.C: attempt to add some documentation
7080
7081         * lyxfunc.C:
7082         * commandtags.h:
7083         * LyXAction.C:
7084         * ToolbarDefaults.C:
7085         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7086           merge with LFUN_TABULAR_INSERT
7087
7088         * Makefile.am:
7089         * SpellBase.h:
7090         * ispell.h:
7091         * ispell.C:
7092         * pspell.h:
7093         * pspell.C: split up i/pspell implementations into separate
7094           files, many cleanups
7095
7096         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7097
7098         * text2.C: some cleanup
7099
7100         * lyxfunc.C: don't check for isp_command == "none" any more, it
7101           didn't make any sense
7102
7103 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7104
7105         * counters.[Ch]
7106         * text2.C
7107         * paragraph.[Ch]
7108         * makefile.am: move counters functionality over
7109         from text2.C/paragraph.[Ch] to counters.[Ch], and
7110         make proper C++.
7111 2002-08-02  John Levon  <levon@movementarian.org>
7112
7113         * buffer.C: s/lyxconvert/lyx2lyx/
7114
7115 2002-08-02  Angus Leeming  <leeming@lyx.org>
7116
7117         * lyxlex.C: revert John's change as it breaks reading of the user
7118         preamble.
7119
7120 2002-08-02  Angus Leeming  <leeming@lyx.org>
7121
7122         * importer.C (Import):
7123         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7124         changes due to LyXView::view() now returning a boost::shared_ptr.
7125
7126 2002-08-02  John Levon  <levon@movementarian.org>
7127
7128         * lyxlex.C: small cleanup
7129
7130 2002-08-02  John Levon  <levon@movementarian.org>
7131
7132         * text2.C (status): small cleanup, no logic change
7133
7134 2002-08-01  John Levon  <levon@movementarian.org>
7135
7136         * buffer.h:
7137         * buffer.C (writeFile): don't output alerts, caller
7138           handles this
7139
7140         * bufferlist.C:
7141         * lyx_cb.C: from above
7142
7143         * lyxfunc.C: allow to open non-existent files
7144
7145 2002-07-31  John Levon  <levon@movementarian.org>
7146
7147         * lyxserver.C: don't let incidental errors get
7148           in the way (errno)
7149
7150 2002-07-30  John Levon  <levon@movementarian.org>
7151
7152         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7153
7154 2002-07-30  John Levon  <levon@movementarian.org>
7155
7156         * lyxserver.h:
7157         * lyxserver.C: remove I/O callback too
7158
7159 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7160
7161         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7162         log.
7163
7164 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7165
7166         * many files: strip,frontStrip -> trim,ltrim,rtrim
7167
7168 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7169
7170         * PrinterParams.h: remove extern containsOnly, and include
7171         support/lstrings.h instead.
7172
7173         * LaTeX.C (scanAuxFile): modify because of strip changes
7174         (deplog): ditto
7175         * buffer.C (makeLaTeXFile): ditto
7176         * bufferparams.C (writeFile): ditt
7177         * lyxfont.C (stateText): ditto
7178         * lyxserver.C (read_ready): ditto
7179         * vc-backend.C (scanMaster): ditto
7180
7181         * BufferView_pimpl.h: ws changes
7182
7183         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7184
7185 2002-07-26  André Pönitz <poenitz@gmx.net>
7186
7187         * kb_sequence.C: remove unnedred usings
7188
7189 2002-07-26  Juergen Vigna  <jug@sad.it>
7190
7191         * lyxfind.C (LyXReplace): we have to check better if the returned
7192         text is not of theLockingInset()->getLockingInset().
7193
7194 2002-07-25  Juergen Vigna  <jug@sad.it>
7195
7196         * lyxfind.C (LyXReplace): don't replace if we don't get the
7197         right LyXText.
7198
7199         * undo_funcs.C (createUndo): remove debugging code.
7200
7201 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7202
7203         * buffer.C (parseSingleLyXformat2Token): Use default placement
7204         when reading old floats.
7205
7206         * FloatList.C (FloatList): Change the default placement of figure
7207         and tables to "tbp".
7208
7209 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7210
7211         * MenuBackend.C: using std::max
7212
7213 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7214
7215         * MenuBackend.C (expandToc):
7216         (expandToc2): code moved from xforms menu frontend. It is now
7217         generic and TOCs are transparent to menu frontends.
7218
7219 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7220
7221         * toc.C (getTocList): protect against buf=0
7222
7223         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7224         Menu as first parameter. Now, this calls itself recursively to
7225         expand a whole tree (this will be useful for TOC handling)
7226         (expandFloatInsert): remove 'wide' version of floats
7227
7228         * MenuBackend.h (submenuname): returns the name of the submenu.
7229         (submenu): returns the submenu itself, provided it has been
7230         created by MenuBackend::expand
7231
7232 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7233
7234         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7235         insets which have noFontChange == true. (bug #172)
7236
7237 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7238
7239         * BufferView_pimpl.C: add connection objects and use them...
7240         (Pimpl): here.
7241
7242 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7243
7244         * MenuBackend.C (expandLastfiles):
7245         (expandDocuments):
7246         (expandFormats):
7247         (expandFloatListInsert):
7248         (expandFloatInsert):
7249         (expand): split expand in parts
7250
7251 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7252
7253         * lyx_gui.C: use lyx_gui::exit()
7254
7255 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7256
7257         * LyXAction.C: show the failing pseudo action
7258
7259 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7260
7261         * buffer.C (readFile): Run the lyxconvert script in order to read
7262         old files.
7263
7264 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7265
7266         * LyXAction.C:
7267         * commandtags.h:
7268         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7269
7270 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7271
7272         * LyXAction.C:
7273         * commandtags.h:
7274         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7275
7276 2002-07-22  Herbert Voss  <voss@lyx.org>
7277
7278         * lengthcommon.C:
7279         * lyxlength.[Ch]: add support for the vertical lengths
7280
7281 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7282
7283         * toc.[Ch]: std:: fixes
7284
7285 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7286
7287         * lyxrc.C: do not include lyx_main.h
7288
7289         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7290         for layouts
7291
7292         * lyxrc.C:
7293         * encoding.C:
7294         * bufferlist.C:
7295         * BufferView2.C: include "lyxlex.h"
7296
7297         * tabular.h:
7298         * bufferparams.h: do not #include "lyxlex.h"
7299
7300         * lyxtextclasslist.C (Add): remove method
7301         (classlist): renamed to classlist_
7302
7303         * paragraph_pimpl.C:
7304         * paragraph.C:
7305         * text2.C:
7306         * CutAndPaste.C:
7307         * bufferview_funcs.C:
7308         * bufferlist.C:
7309         * text.C:
7310         * LaTeXFeatures.C:
7311         * buffer.C:
7312         * toc.C (getTocList): use BufferParams::getLyXTextClass
7313
7314         * toc.C (getTocList): use InsetFloat::addToToc
7315
7316         * toc.[Ch]: new files, containing helper functions to handle table
7317         of contents
7318
7319         * lyxfunc.C (dispatch): no need to remove spaces around command
7320         given as a string
7321         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7322         first command of the sequence; it is not very clever, but I do not
7323         have a better idea, actually
7324
7325         * LyXAction.C (LookupFunc): make sure to remove space at the
7326         beginning and end of the command
7327
7328 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7329
7330         * MenuBackend.C (getMenubar): new method: return the menubar of
7331         this menu set
7332         (read): treat differently reading of menu and menubar (in
7333         particular, the menubar has no name now)
7334         (Menu::menubar): remove
7335
7336         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7337         saving is finished
7338
7339 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7340
7341         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7342         a bibitem inset in a RTL paragraph.
7343
7344 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7345
7346         * paragraph_pimpl.C: constify
7347
7348         * BufferView_pimpl.C:
7349         * LaTeX.C:
7350         * lyxfunc.C: fix dispatch in a nicer way
7351
7352 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7353
7354         * lyxfunc.C (dispatch):
7355         * BufferView_pimpl.C:
7356         * BufferView_pimpl.h:
7357         * BufferView.C:
7358         * BufferView.h: rename Dispatch() to dispatch()
7359
7360         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7361
7362         * lyxlayout.C (Read): honor DependsOn tag
7363
7364         * lyxlayout.[Ch] (depends_on): new method
7365
7366         * version.C.in: update lyx_docversion
7367
7368         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7369
7370         * paragraph.C (validate): remove from here...
7371         * paragraph_pimpl.C (validate): ... and move here
7372         (isTextAt): make it const
7373
7374         * buffer.C (getLists): ws cleanup
7375
7376 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7377
7378         * language.C (read): Use iso8859-1 encoding in latex_lang
7379         (this prevents LyX from crashing when using iso10646-1 encoding).
7380
7381 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7382
7383         * text2.C (toggleInset): if cursor is inside an inset, close the
7384         inset and leave cursor _after_ it
7385
7386 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7387
7388         * lyxfunc.C: move minibuffer completion handling out of here
7389
7390 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7391
7392         * BufferView_pimpl.C:
7393         * LaTeX.C: fix dispatch calls
7394
7395 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7396
7397         * text.C (drawChars): Fix Arabic text rendering.
7398
7399 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7400
7401         * LyXAction.C:
7402         * commandtags.h:
7403         * lyxfunc.C: remove message-push/pop
7404
7405         * lyxserver.C:
7406         * lyxfunc.h:
7407         * lyxfunc.C: rationalise some code by removing verboseDispatch
7408           in favour of a bool argument to dispatch()
7409
7410 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7411
7412         * lyx_main.C (init): make sure to read symlinks as absolute paths
7413
7414 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7415
7416         * lyxfunc.h:
7417         * lyxfunc.C: no need for commandshortcut to be a member
7418
7419 2002-07-15  André Pönitz <poenitz@gmx.net>
7420
7421         * converter.C: add support for $$s (scripts from lib/scripts dir)
7422         * lyx_main.C: white space
7423
7424 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7425
7426         * bufferlist.C:
7427         * lyxrc.h:
7428         * lyxrc.C: remove second exit confirmation
7429
7430 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7431
7432         * BufferView.h:
7433         * BufferView.C:
7434         * BufferView2.C:
7435         * BufferView_pimpl.h:
7436         * BufferView_pimpl.C:
7437         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7438
7439 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7440
7441         * MenuBackend.C (expand): add numeric shortcuts to document menu
7442
7443         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7444
7445 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7446
7447         * lyxfont.C (setLyXFamily):
7448         (setLyXSeries):
7449         (setLyXShape):
7450         (setLyXSize):
7451         (setLyXMisc):
7452         (lyxRead):
7453         * debug.C (value):
7454         * buffer.C (asciiParagraph): use ascii_lowercase
7455
7456 2002-07-15  Mike Fabian  <mfabian@suse.de>
7457
7458         * lyxlex_pimpl.C (search_kw):
7459         * lyxlex.C (getLongString):
7460         * converter.h (operator<):
7461         * converter.C (operator<):
7462         * buffer.C (parseSingleLyXformat2Token):
7463         (asciiParagraph):
7464         * ToolbarDefaults.C (read):
7465         * MenuBackend.C (checkShortcuts):
7466         (read):
7467         * LColor.C (getFromGUIName):
7468         (getFromLyXName): use the compare_ascii_no_case instead of
7469         compare_no_case, because in turkish, 'i' is not the lowercase
7470         version of 'I', and thus turkish locale breaks parsing of tags.
7471
7472 2002-07-16  Angus Leeming  <leeming@lyx.org>
7473
7474         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7475         now takes a Buffer const & argument.
7476
7477 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7478
7479         * BufferView.C (resize): check there's a buffer to resize
7480
7481 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7482
7483         * lyxfunc.C: remove dead code
7484
7485         * lyxserver.h:
7486         * lyxserver.C: use lyx_guii::set_read_callback
7487
7488 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7489
7490         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7491         an inset in a RTL paragraph.
7492
7493 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7494
7495         * lyxfunc.C: repaint after a font size update
7496
7497 2002-07-15  André Pönitz <poenitz@gmx.net>
7498
7499         * lyxlength.C: inBP should be able to return negative values
7500
7501 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7502
7503         * lyxfunc.C: use lyx_gui::update_fonts()
7504
7505 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7506
7507         * lyxfunc.C: use lyx_gui::update_color()
7508
7509 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7510
7511         * bufferlist.C:
7512         * lyxfunc.h:
7513         * lyxfunc.C:
7514         * lyxrc.h:
7515         * lyxrc.C: remove file->new asks for name option, and let
7516           buffer-new take an argument
7517
7518 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7519
7520         * BufferView_pimpl.C: remove unneeded extra repaint()
7521
7522 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7523
7524         * LyXAction.C: allow command-sequence with NoBuffer
7525
7526         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7527
7528 2002-07-10  Angus Leeming  <leeming@lyx.org>
7529
7530         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7531
7532 2002-07-09  Angus Leeming  <leeming@lyx.org>
7533
7534         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7535
7536 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7537
7538         * lengthcommon.h: whitespace
7539
7540         * lyxfunc.C: update scrollbar after goto paragraph
7541
7542         * lyxtext.h: factor out page break drawing, and fix it so
7543           page break/added space paints as selected nicely
7544
7545 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7546
7547         * BufferView_pimpl.C: add FIXMEs, clean up a little
7548
7549 2002-07-09  André Pönitz <poenitz@gmx.net>
7550
7551         * lyxfont.[Ch]: support for wasy symbols
7552
7553 2002-07-08  André Pönitz <poenitz@gmx.net>
7554
7555         * BufferView_pimpl.C: apply John's patch for #93.
7556
7557 2002-07-05  Angus Leeming  <leeming@lyx.org>
7558
7559         * BufferView_pimpl.C (buffer): generate previews if desired.
7560
7561         * LColor.h: add "preview" to the color enum.
7562
7563         * LColor.C (LColor): add a corresponding entry to the items array.
7564
7565         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7566         with this buffer.
7567
7568 2002-07-05  Angus Leeming  <leeming@lyx.org>
7569
7570         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7571         The body of the code is now in the method that is passed an ostream &
7572         rather than a file name.
7573         Pass an additional only_preamble parameter, useful for the forthcoming
7574         preview stuff.
7575
7576 2002-07-03  André Pönitz <poenitz@gmx.net>
7577
7578         * lyxfunc.C: simplify getStatus() a bit for math stuff
7579
7580 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7581
7582         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7583
7584 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7585
7586         * text.C (changeRegionCase): do not change case of all the
7587         document when region ends at paragraph end (bug #461)
7588
7589 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7590
7591         * paragraph.C (startTeXParParams):
7592         (endTeXParParams): add \protect when necessary
7593
7594 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7595
7596         * BufferView_pimpl.C (workAreaExpose): remove warning
7597
7598 2002-06-27  Angus Leeming  <leeming@lyx.org>
7599
7600         * Makefile.am: add lyxlayout_ptr_fwd.h.
7601
7602 2002-06-26  André Pönitz <poenitz@gmx.net>
7603
7604         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7605
7606 2002-06-25  Angus Leeming  <leeming@lyx.org>
7607
7608         * lyxfunc.C (dispatch): Comment out the call to
7609         grfx::GCache::changeDisplay. The method no longer exists now that the
7610         pixmap generation part of the graphics loader has been moved into
7611         InsetGraphics.
7612
7613 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7614
7615         * text2.C: layout as layout
7616
7617         * text.C: layout as layout
7618
7619         * tabular.C (OldFormatRead): layout as layout
7620
7621         * paragraph_pimpl.C (TeXDeeper): layout as layout
7622         (realizeFont): layout as layout
7623
7624         * paragraph.C (writeFile): layout as layout
7625         (validate): layout as layout
7626         (getFont): layout as layout
7627         (getLabelFont): layout as layout
7628         (getLayoutFont): layout as layout
7629         (breakParagraph): layout as layout
7630         (stripLeadingSpaces): layout as layout
7631         (getEndLabel): layout as layout
7632         (getMaxDepthAfter): layout as layout
7633         (applyLayout): layout as layout
7634         (TeXOnePar): layout as layout
7635         (simpleTeXOnePar): layout as layout
7636         (TeXEnvironment): layout as layout
7637         (layout): layout as layout
7638         (layout): layout as layout
7639
7640         * lyxtextclass.C (compare_name): new functor to work with
7641         shared_ptr, layout as layout
7642         (Read): layout as layout
7643         (hasLayout): layout as layout
7644         (operator): layout as layout
7645         (delete_layout): layout as layout
7646         (defaultLayout): layout as layout
7647
7648         * lyxlayout_ptr_fwd.h: new file
7649
7650         * lyxlayout.C (Read): layout as layout
7651
7652         * lyx_cb.C (MenuInsertLabel): layout as layout
7653
7654         * bufferlist.C (newFile): layout as layout
7655
7656         * buffer.C (readLyXformat2): layout as layout
7657         (parseSingleLyXformat2Token): layout as layout
7658         (insertStringAsLines): layout as layout
7659         (asciiParagraph): layout as layout
7660         (latexParagraphs): layout as layout
7661         (makeLinuxDocFile): layout as layout
7662         (simpleLinuxDocOnePar): layout as layout
7663         (makeDocBookFile): layout as layout
7664         (simpleDocBookOnePar): layout as layout
7665         (getLists): layout as layout
7666
7667         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7668
7669         * CutAndPaste.C (cutSelection): layout as layout
7670         (pasteSelection): layout as layout
7671         (SwitchLayoutsBetweenClasses): layout as layout
7672
7673         * BufferView_pimpl.C (Dispatch): layout as layout
7674         (smartQuote): layout as layout
7675
7676         * BufferView2.C (unlockInset): layout as layout
7677
7678 2002-06-24  André Pönitz <poenitz@gmx.net>
7679
7680         * lyxfunc.C: fix #487
7681
7682 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7683
7684         * lyxrc.h:
7685         * lyxrc.C:
7686         * lyxfunc.C: remove display_shortcuts, show_banner
7687
7688 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7689
7690         * Buffer_pimpl.C: oops, update on resize
7691
7692 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7693
7694         * buffer.C:
7695         * converter.C:
7696         * exporter.C:
7697         * lyxfunc.C:
7698         * BufferView.h:
7699         * BufferView.C: use repaint()
7700
7701         * BufferView_pimpl.h:
7702         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7703           as it's a clearer description. Remove superfluous
7704           redraws.
7705
7706 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7707
7708         * text.C: fix bug 488. Not ideal, but getting
7709           getWord() to work properly for the insets that
7710           matter is more difficult ...
7711
7712 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7713
7714         * BufferView_pimpl.C:
7715         * LyXAction.C:
7716         * commandtags.h:
7717         * lyxfunc.C: remove the six million index lyxfuncs to just
7718           one, and DTRT (bug 458)
7719
7720 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7721
7722         * BufferView.h:
7723         * BufferView.C:
7724         * BufferView_pimpl.h:
7725         * BufferView_pimpl.C: clean up resize() stuff,
7726           and unnecessary updateScreen()s
7727
7728 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7729
7730         * BufferView.h:
7731         * BufferView.C:
7732         * BufferView_pimpl.h:
7733         * BufferView_pimpl.C:
7734         * lyxfind.h:
7735         * lyxfind.C:
7736         * minibuffer.C: remove focus management of workarea,
7737           not needed. Use screen's greyOut()
7738
7739 2002-06-17  Herbert Voss  <voss@lyx.org>
7740
7741         * converter.C: (convert) do not post a message, when converting
7742         fails, let the calling function decide what to do in this case
7743
7744 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7745
7746         * lyxfunc.C: tidy up a little
7747
7748 2002-06-16    <alstrup@diku.dk>
7749
7750         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7751         Got rid of FORMS_H_LOCATION include. Now we are
7752         GUII.
7753
7754 2002-06-15  LyX Development team  <lyx@rilke>
7755
7756         * buffer.[Ch] (sgmlOpenTag):
7757         (sgmlCloseTag): Added support for avoiding pernicious mixed
7758         content. Return number of lines written.
7759
7760         (makeLinuxDocFile):
7761         (makeDocBookFile): Fixed calls to sgml*Tag.
7762         Simple white space clean.
7763
7764         (simpleDocBookOnePar): Simple white space clean.
7765
7766         * tabular.[Ch] (docBook): Renamed to docbook and got another
7767         argument to related with the pernicious mixed content.
7768
7769         (docbookRow): Fixed calls for docbook inset method.
7770
7771 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7772
7773         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7774         so it's X11 independent.
7775
7776         * kb*.[Ch]: ditto.
7777
7778         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7779
7780 2002-06-15  Lyx Development team  <lyx@electronia>
7781
7782         * intl.h: Renamed getTrans to getTransManager.
7783
7784 2002-06-14  Angus Leeming  <leeming@lyx.org>
7785
7786         * Makefile.am: nuke forgotten stl_string_fwd.h.
7787
7788 2002-06-12  Angus Leeming  <leeming@lyx.org>
7789
7790         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7791
7792 2002-06-13  Angus Leeming  <leeming@lyx.org>
7793
7794         * LaTeX.C:
7795         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7796
7797 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7798
7799         * kbmap.C (getiso): add support for cyrillic and greek
7800
7801 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7802
7803         * BufferView.h:
7804         * BufferView.C:
7805         * BufferView_pimpl.h:
7806         * BufferView_pimpl.C: move bogus scrolling logic
7807           to xforms
7808
7809 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7810
7811         * lyxfunc.C:
7812         * BufferView_pimpl.C: view->resize() change
7813
7814 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7815
7816         * BufferView_pimpl.C: topCursorVisible
7817           prototype change
7818
7819 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7820
7821         * Makefile.am:
7822         * lyx_gui.h:
7823         * lyx_gui.C: move to frontends/
7824
7825         * main.C:
7826         * lyx_main.h:
7827         * lyx_main.C: changes from above
7828
7829 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7830
7831         * intl.C:
7832         * intl.h:
7833         * kbmap.C:
7834         * kbsequence.C:
7835         * lyx_cb.C:
7836         * lyx_main.C: minor tidy
7837
7838 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7839
7840         * BufferView_pimpl.h:
7841         * BufferView_pimpl.C:
7842         * BufferView.h:
7843         * BufferView.C: make painter() const,
7844           remove dead code
7845
7846         * BufferView2.C: use screen() accessor
7847
7848         * lyx_main.h:
7849         * lyx_main.C: some minor cleanup
7850
7851 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7852
7853         * BufferView_pimpl.h:
7854         * BufferView_pimpl.C: remove enter/leaveView,
7855           use workHeight()
7856
7857 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7858
7859         * BufferView.h:
7860         * BufferView.C:
7861         * BufferView2.C:
7862         * BufferView_pimpl.h:
7863         * BufferView_pimpl.C: only construct screen once,
7864           rename
7865
7866         * lyxrc.C: remove pointless comment
7867
7868 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7869
7870         * BufferView.h:
7871         * BufferView.C: remove active() and belowMouse()
7872
7873         * BufferView_pimpl.h:
7874         * BufferView_pimpl.C: use workarea() not workarea_,
7875           and make it use a scoped_ptr instead
7876
7877 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7878
7879         * lyx_gui.C: add debug message on BadWindow
7880
7881 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7882
7883         * sp_spell.C: fdopen is not part of the C++ standard.
7884
7885         * paragraph.C (InsetIterator): use >= instead of ==
7886
7887 2002-06-07  Angus Leeming  <leeming@lyx.org>
7888
7889         Fixes needed to compile with Compaq cxx 6.5.
7890         * BufferView_pimpl.C:
7891         * DepTable.C:
7892         * buffer.C:
7893         * converter.C:
7894         * encoding.C:
7895         * lyx_gui.C:
7896         * lyx_main.C:
7897         * lyxtextclasslist.C:
7898         * minibuffer.C:
7899         * sp_spell.C:
7900         * tabular_funcs.C:
7901         * vc-backend.C:
7902         all c-library variables have been moved into namespace std. Wrap
7903         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7904
7905         * lyxlength.C:
7906         * tabular-old.C:
7907         * tabular.C:
7908         Add a using std::abs declaration.
7909
7910         * kbmap.h (modifier_pair):
7911         * paragraph.h (InsetTable, InsetList):
7912         * lyxfont.h (FontBits):
7913         type definition made public.
7914
7915         * bufferlist.C (emergencyWriteAll): the compiler complains that
7916         there is more than one possible lyx::class_fun template to choose from.
7917         I re-named the void specialisation as lyx::void_class_fun.
7918
7919         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7920
7921         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7922         the compiler is is unable to find tostr in write_attribute.
7923
7924 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7925
7926         * buffer.C (sgmlError): hide #warning
7927
7928 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7929
7930         * xtl/*: get rid of xtl, which is not in use anyway
7931
7932         * LyXAction.C (init):
7933         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7934         were unimplemented xtl experimentation
7935
7936 2002-06-04  André Pönitz <poenitz@gmx.net>
7937
7938         * lyxfunc.C: disable array operation on simple formulae
7939
7940 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7941
7942         * converter.C: constify a bit
7943
7944 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7945
7946         * lyx_gui.C: check xforms version correctly
7947
7948 2002-04-30  Herbert Voss  <voss@lyx.org>
7949
7950         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7951         "keep" option
7952
7953 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7954
7955         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7956           attempt to register it with a VCS)
7957
7958 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7959
7960         * lyx_main.C (init): honor variables LYX_DIR_13x and
7961         LYX_USERDIR_13x
7962
7963 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7964
7965         * buffer.h:
7966         * buffer.C:
7967         * lyx_main.C: fix a crash on bad command line,
7968           and give a useful exit status on error
7969
7970         * lyxfunc.C (doImport): allow -i lyx to work
7971
7972 2002-03-30  André Pönitz <poenitz@gmx.net>
7973
7974         * lyxfunc.C: mathed font changes
7975
7976 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7977
7978         * LaTeX.C:
7979         * importer.h:
7980         * importer.C:
7981         * lyx_sty.h:
7982         * lyx_sty.C:
7983         * lyxlex.C:
7984         * lyxrow.h:
7985         * lyxtext.h:
7986         * paragraph.h:
7987         * paragraph.C:
7988         * texrow.h:
7989         * texrow.C:
7990         * text.C:
7991         * trans_mgr.h: srcdocs, and some minor cleanups
7992
7993 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7994
7995         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7996         call getFont all the time)
7997
7998 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7999
8000         * switch from SigC signals to boost::signals
8001
8002 2002-05-29  André Pönitz <poenitz@gmx.net>
8003
8004         * paragraph_pimpl.C (getChar): don't call size() too often...
8005
8006 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8007
8008         * paragraph_pimpl.C (insertChar): do not try to update tables when
8009         appending (pos == size())
8010
8011         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8012         in order to reduce drastically the number of comparisons needed to
8013         parse a large document
8014
8015 2002-05-29  André Pönitz <poenitz@gmx.net>
8016
8017         * text.C:
8018         * text2.C:
8019         * lyxtextclass.C:
8020         * sp_pspell.h:
8021         * textclasslist.[Ch]:
8022         * sp_ispell.h: whitespace change
8023
8024 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8025
8026         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8027         lyxaction directly now.
8028
8029 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8030
8031         * trans.C:
8032         * lyxfont.C:
8033         * lyxvc.C: remove unused headers
8034
8035 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8036
8037         * Makefile.am:
8038         * buffer.h:
8039         * undostack.h:
8040         * undostack.C:
8041         * undo_funcs.h:
8042         * undo_funcs.C: some cleanups. Use shared_ptr
8043           and a template for the undo stacks.
8044
8045 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8046
8047         * BufferView_pimpl.h:
8048         * BufferView_pimpl.C:
8049         * kbmap.h:
8050         * kbmap.C:
8051         * kbsequence.h:
8052         * kbsequence.C:
8053         * lyxfunc.h:
8054         * lyxfunc.C:
8055         * text2.C: use key_state/mouse_state
8056
8057 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8058
8059         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8060         and LSubstring
8061
8062         * chset.C: change include order
8063         (loadFile): use boost regex and get rid of LRegex and LSubstring
8064
8065         * Makefile.am (BOOST_LIBS): new variable
8066         (lyx_LDADD): use it
8067
8068         * LaTeX.C: change include order.
8069         (scanAuxFile): use boost regex and get rid of LRegex and
8070         LSubstring
8071         (deplog): ditto
8072
8073 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8074
8075         * ColorHandler.h:
8076         * ColorHandler.C:
8077         * FontInfo.h:
8078         * FontInfo.C: moved to frontends/xforms/
8079
8080         * FontLoader.h:
8081         * FontLoader.C: moved into frontends for GUIIzation
8082
8083         * Makefile.am:
8084         * lyx_gui.C:
8085         * lyxfont.C:
8086         * lyxfunc.C: changes from above
8087
8088 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8089
8090         * LColor.C: remove spurious X include
8091
8092         * BufferView_pimpl.C:
8093         * Makefile.am:
8094         * font.h:
8095         * font.C:
8096         * text.C:
8097         * text2.C: move font metrics to frontends/
8098
8099 2002-05-24  Juergen Vigna  <jug@sad.it>
8100
8101         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8102         setting the undo_cursor.
8103
8104         * ParagraphParameters.h: include local includes first.
8105
8106 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8107
8108         * BufferView_pimpl.C:
8109         * BufferView_pimpl.h:
8110         * Makefile.am:
8111         * WorkArea.h:
8112         * WorkArea.C:
8113         * screen.C: move WorkArea into frontends/
8114
8115         * lyxscreen.h:
8116         * screen.C:
8117         * text.C:
8118         * BufferView.C:
8119         * BufferView2.C: move LyXScreen into frontends/
8120
8121         * lyxlookup.h:
8122         * lyxlookup.C:
8123         * lyx_gui.C: move lyxlookup into frontends/xforms/
8124
8125 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8126
8127         * BufferView2.C:
8128         * BufferView_pimpl.C:
8129         * FontLoader.C:
8130         * LyXView.h:
8131         * LyXView.C:
8132         * Makefile.am:
8133         * WorkArea.C:
8134         * XFormsView.h:
8135         * XFormsView.C:
8136         * buffer.C:
8137         * bufferlist.C:
8138         * bufferview_funcs.C:
8139         * converter.C:
8140         * importer.C:
8141         * lyx_cb.C:
8142         * lyx_gui.C:
8143         * lyx_main.C:
8144         * lyx_find.C:
8145         * lyxfunc.C:
8146         * lyxvc.C:
8147         * minibuffer.C:
8148         * text.C:
8149         * text2.C:
8150         * trans.C:
8151         * vc-backend.C: move LyX/XFormsView into frontends/
8152
8153 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8154
8155         * Makefile.am:
8156         * PainterBase.C:
8157         * PainterBase.h:
8158         * Painter.C:
8159         * Painter.h:
8160         * WorkArea.C:
8161         * WorkArea.h:
8162         * screen.C:
8163         * tabular.C:
8164         * text.C:
8165         * text2.C: move Painter to frontends/
8166
8167 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8168
8169         * buffer.C: comment out some some code that depend upon lyx_format
8170         < 220
8171
8172         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8173         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8174
8175         * buffer.h (NO_COMPABILITY): turn off compability
8176
8177         * ColorHandler.C: include scoped_array.hpp
8178
8179         * font.C: Use more specific smart_ptr header.
8180         * Painter.C: ditto
8181         * gettext.C: ditto
8182         * ShareContainer.h: ditto
8183         * lyx_main.h: ditto
8184         * kbmap.h: ditto
8185         * FontInfo.h: ditto
8186         * BufferView_pimpl.h: ditto
8187         * ColorHandler.h: ditto
8188
8189         * kbmap.C (defkey): change call to shared_ptr::reset
8190
8191 2002-05-21  Juergen Vigna  <jug@sad.it>
8192
8193         * buffer.C (insertErtContents): fix to insert ert asis if it is
8194         non empty. Skip it completely if it contains only whitespaces.
8195
8196 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8197
8198         * BufferView_pimpl.C:
8199         * BufferView2.C: clear selection on paste (bug 393)
8200
8201 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8202
8203         * DepTable.C: include ctime
8204
8205 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8206
8207         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8208
8209 2002-05-14  Juergen Vigna  <jug@sad.it>
8210
8211         * text.C (breakParagraph): fixed function to honor the keepempty
8212         layout in the right maner and also to permit the right breaking
8213         algorithm on empty or non empyt keepempty paragraphs.
8214
8215         * paragraph.C (breakParagraph): we have to check also if the par
8216         is really empty (!size()) for isempty otherwise we do the wrong
8217         paragraph break.
8218
8219 2002-05-10  Juergen Vigna  <jug@sad.it>
8220
8221         * buffer.[Ch] : The following are only changes to the ert
8222         compatibility read reading old LaTeX layout and font stuff and
8223         convert it to ERTInsets.
8224
8225         * buffer.h: added isErtInset().
8226
8227         * buffer.C (struct ErtComp): add a fromlayout bool to check
8228         if we're inside a LaTeX layout.
8229         (isErtInset): new helper function.
8230         (insertErtContents): look for other ert insets before this one
8231         and insert the contents there, so that we don't have subsequent
8232         ERT insets with nothing between them. This way we create only one
8233         inset with multiple paragraphs. Also check if we don't insert only
8234         spaces ' ' as they are ignored anyway afterwards in the .tex file
8235         so if we have only spaces we will ignore this latex part in the
8236         new file.
8237         (parseSingleLyXformat2Token \\layout): better compatibility when
8238         reading layout-latex stuff.
8239         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8240         language tag.
8241         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8242         stuff after reading the inset only get the information back from
8243         the stack.
8244
8245 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8246
8247         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8248
8249         * LaTeXFeatures.C (getBabelOptions): New method.
8250
8251 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8252
8253         * BufferView_pimpl.C (Dispatch): work around missing argument for
8254         'layout'
8255
8256 2002-05-08  Juergen Vigna  <jug@sad.it>
8257
8258         * text.C (leftMargin): handle paragraph leftindent.
8259
8260         * paragraph.C (writeFile): write the new \\leftindent tag.
8261         (validate): handle leftindent code.
8262         (TeXEnvironment): handle paragraphleftindent code again.
8263
8264         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8265
8266         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8267         for paragrap_extra indent code and new token \\leftindent.
8268         (latexParagraphs): handle the leftindent as environment.
8269
8270         * ParameterStruct.h: added leftindent support.
8271
8272         * ParagraphParameters.C (leftIndent): added support functions for
8273         the paragraph left indent.
8274
8275         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8276         more appropriate.
8277
8278 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8279
8280         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8281         inside insetERT.
8282
8283         * text.C (computeBidiTables): No bidi in insetERT.
8284
8285         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8286         in RTL documents.
8287
8288 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8289
8290         * version.C.in: pre 5
8291
8292 2002-05-02  José Matos  <jamatos@fep.up.pt>
8293         * buffer.C (makeDocBookFile): white space changes, add newline to
8294         command styles.
8295         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8296
8297         * tabular.C (docBook): fix typo.
8298
8299 2002-05-03  Juergen Vigna  <jug@sad.it>
8300
8301         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8302         change in LyXText as we can not be sure it was not freed.
8303         (drawOneRow): remove unused code.
8304
8305         * text.C (drawInset): redo the calculation of the need_break_row as
8306         it could have a row which was already freed.
8307         (draw): look at the return value of drawInset and return false if
8308         it also returned false.
8309         (paintRowText): look at the return value of draw and return false if
8310         it also returned false.
8311
8312         * lyxtext.h: added bool return type to drawInset() and draw() so that
8313         if we have a change in the row so that the rowbreak has to be redone
8314         we abort drawing as it will be called again.
8315
8316 2002-05-02  Juergen Vigna  <jug@sad.it>
8317
8318         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8319         a change in the maintext also if we're inside an inset.
8320         (Dispatch): set the cursor again after a break line and after the
8321         screen has been updated as it could be we're in a different row.
8322
8323         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8324         to set the cursor behind the pargraph with > size().
8325         (setCursor): check also for the same paragraph when checking where
8326         to put the cursor if we have a NFR inset.
8327
8328         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8329         parts of layout read further up as it still was in the wrong
8330         position.
8331
8332 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8333
8334         * screen.C (drawFromTo): change sine fullRebreak always return
8335         true.
8336
8337         * buffer.C (parseSingleLyXformat2Token): reindent some
8338
8339         * BufferView_pimpl.C (update): change since fullRebreak always
8340         return true.
8341         (Dispatch): git rid of the last hardcoded "Standard"s.
8342
8343 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8344
8345         * text2.[Ch] (fullRebreak): make it return void now that we always
8346         returned true.
8347
8348 2002-04-30  Juergen Vigna  <jug@sad.it>
8349
8350         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8351         ert compatibility check for "latex" layout.
8352
8353 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8354
8355         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8356         minipages: use col% instead of p%, and also use the current font.
8357         (makeLaTeXFile): Fix use babel condition.
8358         (parseSingleLyXformat2Token): Correct font when reading old floats.
8359
8360 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8361
8362         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8363         inserting list of floats.
8364
8365 2002-04-25  Herbert Voss  <voss@lyx.org>
8366
8367         * MenuBackend.C (expand): don't add the graphics extensions to the
8368         export menu
8369
8370 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8371
8372         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8373         non-existing layout, do not complain if it was the default layout
8374         of the original class (bug #342)
8375
8376 2002-04-24  Juergen Vigna  <jug@sad.it>
8377
8378         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8379         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8380
8381 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8382
8383         * buffer.C (getBibkeyList): If using \bibliography, return the
8384         option field with the reference itself. Enables us to provide natbib
8385         support when using \bibliography.
8386
8387 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8388
8389         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8390
8391         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8392         natbib is provided by the LaTeX class.
8393
8394 2002-04-23  Juergen Vigna  <jug@sad.it>
8395
8396         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8397         Wakeup functions.
8398
8399         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8400
8401 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8402
8403         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8404
8405         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8406         ensuremath around textordmasculine, textordfeminine and
8407         textdegree.
8408
8409 2002-04-19  Juergen Vigna  <jug@sad.it>
8410
8411         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8412         reinitializing the buffer otherwise row-dimensions may be wrong.
8413         (update): reset also the selection cursors if they do exits otherwise
8414         their x/y positions may be wrong.
8415
8416         * text2.C (cursorDown): don't enter the inset if we came from a row
8417         above and are one row over the inset.
8418
8419         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8420         really leaving an inset.
8421
8422 2002-04-18  Juergen Vigna  <jug@sad.it>
8423
8424         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8425         of the selected paragraph does not have the selected layout also if
8426         the last one had!
8427
8428         * text2.C (setLayout): fixed bug which did not change last selected
8429         paragraph.
8430
8431         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8432         changed the read and substituted \\end_float with \\end_inset!
8433
8434         * BufferView_pimpl.C (cursorPrevious):
8435         (cursorNext): fixed to make it work with rows heigher than the work
8436         area without moving the cursor only the draw of the row.
8437         (workAreaMotionNotify): fix jumping over high rows.
8438
8439 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8440
8441         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8442         Ressler.
8443
8444 2002-04-16  Juergen Vigna  <jug@sad.it>
8445
8446         * text2.C (setCursor): set also the irow().
8447         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8448         (cursorUp):
8449         (cursorDown): support for locking an inset if the x_fix value goes
8450         inside it. That way I can transverse insets too with cursor up/down.
8451
8452         * lyxrow.h: added irow helper function same as other (i) functions.
8453
8454         * BufferView_pimpl.C (cursorPrevious):
8455         (cursorNext): fixed for insets!
8456
8457 2002-04-15  Juergen Vigna  <jug@sad.it>
8458
8459         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8460         position otherwise it is wrong in some cases.
8461
8462         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8463         inside the inset before the call.
8464
8465 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8466
8467         * buffer.[Ch] (getBibkeyList): make it const.
8468
8469 2002-04-12  Juergen Vigna  <jug@sad.it>
8470
8471         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8472
8473         * text2.C (getCursorX): new helper function
8474         (setCursor): compute also ix_
8475         (setCursorFromCoordinates): set also ix.
8476
8477         * lyxcursor.h: added ix_ and helper functions.
8478
8479         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8480
8481         * buffer.C (insertStringAsLines): dont break paragraph if the this
8482         paragraph is inside an inset which does not permit it!
8483
8484         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8485         also with no chars on this paragraph.
8486         (paintRowText): only paint stuff if it's inside the workarea!
8487
8488         * paragraph.C (breakParagraph): honor keepempty flag and break the
8489         paragraph always below not above.
8490
8491         * BufferView2.C (unlockInset): update the paragraph layout on inset
8492         unlock as we changed paragraph in such a case.
8493
8494         * lyxfind.C (LyXFind): clear the former selection if not found!
8495
8496         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8497         again called in insertChar().
8498
8499         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8500         an inset which uses the whole row!
8501         (rightMargin): ditto.
8502         (insertChar): force a rebreak if we inserted an inset!
8503
8504 2002-03-28  Herbert Voss  <voss@lyx.org>
8505
8506         * lyxlength.[Ch]: add inBP() to get the right PS-point
8507         units (BigPoint). With inPixels we have rounding errors
8508
8509 2002-04-11  Juergen Vigna  <jug@sad.it>
8510
8511         * text2.C (setCursorFromCoordinates): set iy to the right value.
8512         (setCursor): add check if row->previous exists!
8513
8514         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8515         an old float_type as this was the case in the old code!
8516
8517         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8518
8519         * BufferView2.C (showLockedInsetCursor): use iy
8520         (fitLockedInsetCursor): ditto
8521
8522         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8523         locked insets as there we have the right value now.
8524
8525         * lyxcursor.C: added iy_ variable and iy functions to set to the
8526         baseline of cursor-y of the locked inset.
8527
8528         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8529         (setCursor): fixed for insets which need a full row.
8530
8531         * text.C (rowLastPrintable): don't ignore the last space when before
8532         an inset which needs a full row.
8533         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8534         as last character of a row when before a inset which needs a full row.
8535
8536 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8537
8538         * version.C.in: update date
8539
8540         * text2.C (fullRebreak): try to always return true and see what
8541         happens...
8542
8543 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8544
8545         * MenuBackend.C (expand): use Floating::listName
8546
8547         * FloatList.C (FloatList): add listName argument to the built-in
8548         floats
8549
8550         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8551         text associated with the float.
8552
8553 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8554
8555         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8556
8557 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8558
8559         * ShareContainer.h: add a couple of missing typenames.
8560
8561 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8562
8563         * lyxrc.C (getDescription): use _() correctly rather than N_().
8564
8565 2002-03-28  Herbert Voss  <voss@lyx.org>
8566
8567         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8568         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8569
8570 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8571
8572         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8573         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8574
8575 2002-03-29  Juergen Vigna  <jug@sad.it>
8576
8577         * lyxfunc.C (dispatch): add a missing fitCursor call.
8578
8579         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8580         it was scrolled by a cursor move, so return the bool status.
8581
8582         * BufferView.C (fitCursor): return the bool flag also to the outside
8583         world as this is needed.
8584
8585         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8586
8587         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8588         call the edit() as it is not needed (and wrong) IMO.
8589         (workAreaButtonPress): set the screen_first variable before evt.
8590         unlock the inset as this may change screen_first and then we have
8591         a wrong y position for the click!
8592
8593 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8594
8595         * MenuBackend.C (expand): another translation that I missed
8596
8597 2002-03-28  Juergen Vigna  <jug@sad.it>
8598
8599         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8600
8601         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8602
8603 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8604
8605         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8606
8607         * MenuBackend.C (expand): fix export/view/update when there is no
8608         document open.
8609
8610 2002-03-27  Herbert Voss  <voss@lyx.org>
8611
8612         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8613         and text%
8614
8615 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8616
8617         * bufferview_funcs.C (currentState): only show paragraph number
8618         for is DEVEL_VERSION is set.
8619
8620         * lyxfunc.C (dispatch): put warning in INFO channel
8621
8622         * MenuBackend.C (expand): translate the name of floats
8623
8624         * FloatList.C (FloatList): mark the float names for translation
8625
8626         * converter.C (convert): use LibScriptSearch
8627
8628 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8629
8630         * MenuBackend.C (defaults): fix default menu (we might as well get
8631         rid of it...)
8632
8633 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8634
8635         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8636         directory.
8637
8638 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8639
8640         * lyxvc.C: reorder includes.
8641
8642 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8643
8644         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8645           properly
8646
8647 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8648
8649         * CutAndPaste.C: change layouts earlier on paste
8650           to avoid crashing when calling getFont()
8651
8652 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8653
8654         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8655         irritating #error.
8656
8657 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8658
8659         * WorkArea.C: remove 'Pending' debug message.
8660
8661         * most files: ws cleanup
8662
8663         * buffer.[Ch]: ws changes
8664
8665         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8666
8667 2002-03-21  Juergen Vigna  <jug@sad.it>
8668
8669         * tabular.C (SetMultiColumn): collapse also the contents of the
8670         cells and set the last border right. Added a Buffer const * param.
8671
8672 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8673
8674         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8675         linking or not.
8676
8677 2002-03-19  Juergen Vigna  <jug@sad.it>
8678
8679         * text2.C (clearSelection): reset also xsel_cache.
8680
8681         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8682         where it needs to be called (John tells us to do so too :)
8683         (selectionLost): reset sel_cache.
8684
8685         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8686
8687 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8688
8689         * text2.C (setCursorIntern): put debuging code in INSETS channel
8690
8691 2002-03-19  André Pönitz <poenitz@gmx.net>
8692
8693         * lyxfunc.C: tiny whitespace change
8694
8695 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8696
8697         * ToolbarDefaults.C (init):
8698         * LyXAction.C (init):
8699         * commandtags.h:
8700         * BufferView_pimpl.C (Dispatch):
8701         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8702
8703 2002-03-19  Allan Rae  <rae@lyx.org>
8704
8705         * exporter.C (Export): removeAutoInsets before doing anything else.
8706         While I've just introduced a dependency on BufferView this really is
8707         the best place to clean the buffer otherwise you need to cleanup in
8708         a dozen places before calling export or cleanup in a dozen functions
8709         that export calls.
8710
8711         * converter.C (runLaTeX):
8712         (scanLog): Better handling of removeAutoInsets and screen updates.
8713
8714         * lyxfunc.C (dispatch): small whitespace changes
8715
8716 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8717
8718         * WorkArea.C (C_WorkAreaEvent): return a value.
8719         (event_cb): return 1 if we handled the event, 0 otherwise.
8720
8721         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8722
8723 2002-03-18  Juergen Vigna  <jug@sad.it>
8724
8725         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8726         (GetAdditionalWidth): ditto.
8727         (RightLine): ditto.
8728         (LeftLine): ditto.
8729
8730         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8731         inset if we're there actually (probably not used right now but this
8732         is the direction to go for unifying code).
8733         (paste): disable code to clear the selection.
8734
8735         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8736         inside an InsetText and move the check further up as it is in the
8737         wrong place.
8738
8739         * text2.C (pasteSelection): set a selection over the pasted text.
8740
8741 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8742
8743         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8744         and libgraphics to build on Cygwin.
8745
8746 2002-03-15  Juergen Vigna  <jug@sad.it>
8747
8748         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8749         inserting an Inset into the paragraph. I know this is not the best
8750         fix but we already use current_view in CutAndPaste so we will remove
8751         all of it's using at the same time.
8752
8753         * buffer.C (sgmlError): deactivated function till it is rewritten in
8754         the right mode, now it can create problems.
8755
8756         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8757         before accessing it.
8758
8759 2002-03-14  Juergen Vigna  <jug@sad.it>
8760
8761         * undo_funcs.C (textHandleUndo): do the right thing when updating
8762         the inset after the undo/redo.
8763
8764         * text2.C (setCursor): just some testcode for #44 not ready yet.
8765
8766         * undo_funcs.C (textHandleUndo): set the next() and previous()
8767         pointers of the paragraph to 0 before deleting otherwise we have
8768         problems with the Paragraph::[destructor].
8769
8770         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8771         on a paragraph insertion.
8772
8773 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8774
8775         * buffer.C (asciiParagraph): use += operator for char append to
8776         string.
8777
8778         * paragraph.C (getFontSettings): compare >= not just >
8779         (highestFontInRange): ditto
8780         (setFont): ditto
8781
8782 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8783
8784         * paragraph.C: change several algorithm to be more appripriate for
8785         the problem domain. This is lookip in FontList and in the InsetList.
8786
8787 2002-03-13  André Pönitz <poenitz@gmx.net>
8788
8789         * commandtags.h:
8790         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8791
8792 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8793
8794         * commandtags.h:
8795         * LyXAction.C:
8796         * lyxfunc.C:
8797         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8798
8799 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8800
8801         * Painter.C (display): anon helper function, adjust code for this
8802         change.
8803         (pixmap): remove function.
8804
8805         * Painter.h: remove private display variable.
8806
8807         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8808
8809 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8810
8811         * WorkArea.[Ch]: remove figinset_canvas cruft.
8812
8813 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8814
8815         * lyxtextclass.C (operator): add one item cache optimization.
8816
8817         * bufferlist.h: doxy changes
8818
8819         * bufferlist.C: ws changes
8820
8821         * DepTable.[Ch] (ext_exist): place const in the right spot.
8822
8823         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8824         call resizeInsets.
8825         (workAreaExpose): call resizeInsets when the with BufferView changes.
8826         (Dispatch): adjust for protectedBlank removal
8827         (specialChar): call updateInset if the insert went ok.
8828
8829         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8830         specialChar instead.
8831
8832         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8833
8834         * BufferView.h: doxy change
8835
8836         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8837
8838         * lyxtextclass.C (operator[]): remove non-const version
8839         (defaultLayout): remove non-const version
8840
8841 2002-03-12  Juergen Vigna  <jug@sad.it>
8842
8843         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8844         did resize the LyXText too.
8845
8846         * buffer.C (readLyXformat2): set layout information on newly allocated
8847         paragraphs.
8848
8849         * tabular.C (OldFormatRead): set layout information on the paragraph.
8850
8851 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8852
8853         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8854
8855 2002-03-11  Juergen Vigna  <jug@sad.it>
8856
8857         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8858         plainly wrong.
8859         (resizeCurrentBuffer): force also the insets to resize themselfes.
8860         (moveCursorUpdate): fixed up for InsetText.
8861
8862 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8863
8864         * commandtags.h:
8865         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8866         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8867         value of Dialogs::tooltipsEnabled().
8868         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8869
8870 2002-03-08  Juergen Vigna  <jug@sad.it>
8871
8872         * BufferView_pimpl.C (updateInset): update inset inside inset also
8873         if it isn't inside theLockingInset().
8874
8875 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8876
8877         * buffer.C (asciiParagraph): redo some of the word and line length
8878         handling.
8879         (getLists): look for Caption instead of caption.
8880
8881 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8882
8883         * buffer.C (Buffer): initialize niceFile to true
8884         (makeLaTeXFile):
8885         (makeLinuxDocFile):
8886         (makeDocBookFile): make sure niceFile is true on exit
8887
8888 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8889
8890         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8891
8892 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8893
8894         * LyXSendto.C: remove.
8895         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8896         * lyx_gui.C: remove now-redundant comment.
8897         * ColorHandler.h: remove forward declaration of class WorkArea.
8898         * lyxfunc.C: remove #include "WorkArea.h".
8899
8900 2002-03-07  Juergen Vigna  <jug@sad.it>
8901
8902         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8903         got moved away with the DEPM and also set the inset_owner always
8904         right which before could have been omitted.
8905
8906 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8907
8908         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8909         wanted layout is not found.
8910
8911 2002-03-07  Juergen Vigna  <jug@sad.it>
8912
8913         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8914
8915 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8916
8917         * paragraph.C (breakParagraph): use default layout not layout of
8918         prev paragraph.
8919         (Paragraph): clear ParagraphParameters.
8920
8921 2002-03-06  Juergen Vigna  <jug@sad.it>
8922
8923         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8924         otherwise it would not be a valid lenght. Fixed a special case in
8925         the minipage compatibility read where we end the document with a
8926         minipage.
8927
8928         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8929         was set as it could be 0 for InsetTexts first entry.
8930
8931 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8932
8933         * paragraph.C (writeFile): if layout is empty write out
8934         defaultLayoutName().
8935
8936         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8937         file without named layout we set layout to defaultLayoutName().
8938
8939 2002-03-06  Juergen Vigna  <jug@sad.it>
8940
8941         * CutAndPaste.C (copySelection): set layout for new paragraph.
8942
8943         * text.C (prepareToPrint): leave ERT inset left aligned
8944         (leftMargin): don't indent paragraphs inside ERT insets
8945
8946 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8947
8948         * paragraph.C (breakParagraph): dont call clear do the work manually
8949
8950         * paragraph.[Ch] (clear): remove function
8951
8952 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8953
8954         * paragraph.C (Paragraph): dont call clear, the work has already
8955         been done.
8956
8957         * lyxtextclass.C (operator): assert if n is empty
8958
8959         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8960         work manually instead.
8961
8962 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8963
8964         * BufferView_pimpl.C: protect selectionLost against text == 0
8965
8966 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8967
8968         * text.C (breakParagraph): fix a setting layout to '0' problem.
8969
8970 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8971
8972         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8973         final location of file, for the included files, and graphics.
8974
8975 2002-03-05  Juergen Vigna  <jug@sad.it>
8976
8977         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8978
8979 2002-03-04  Juergen Vigna  <jug@sad.it>
8980
8981         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8982
8983         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8984         last column of multicolumn cells.
8985         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8986
8987 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8988
8989         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8990         file if it doesn't go to a temporary file.
8991
8992         * buffer.C (sgmlOpenTag):
8993         (sgmlCloseTag):  remove extra newline insertion.
8994
8995 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8996
8997         * text.C (getRowNearY): comment out debug msg
8998
8999 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9000
9001         * text2.C: first -> first_y
9002
9003         * text.C (getRowNearY): add some attemts at a possible
9004         optimization, not working.
9005
9006         * tabular.[Ch]: add BufferParams to several function so that newly
9007         created paragraph can be initialized to he default layotu for the
9008         buffers textclass.
9009
9010         * tabular-old.C (ReadOld): add buf->params to call of Init
9011
9012         * screen.C: rename text->first to text->first_y
9013
9014         * paragraph.C (breakParagraph): always set layout in the broken
9015         paragraph
9016
9017         * lyxtextclass.C (Read): remove lowercase
9018         (hasLayout): ditto
9019         (operator): ditto
9020         (delete_layout): ditto
9021
9022         * lyxtext.h: rename first -> first_y
9023
9024         * lyxlayout.C (Read): remove lowercase
9025         (name): ditto
9026         (setName): ditto
9027         (obsoleted_by): ditto
9028
9029         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9030
9031         * buffer.C (insertErtContents): add params are to InsetERT
9032         (parseSingleLyXformat2Token): add code to check if a paragraphs
9033         layout really exist.
9034         (parseSingleLyXformat2Token): add params to several inset
9035         constructors
9036         (asciiParagraph): remove lowercase, do the layout comparisons with
9037         no_case
9038
9039         * BufferView_pimpl.C (cursorNext): first -> first_y
9040         (resizeCurrentBuffer): first -> first_y
9041         (updateScrollbar): first -> first_y
9042         (scrollCB): first -> first_y
9043         (workAreaMotionNotify): first -> first_y
9044         (workAreaButtonPress): first -> first_y
9045         (checkInsetHit): first -> first_y
9046         (cursorPrevious): first -> first_y
9047         (cursorNext): first -> first_y
9048         (Dispatch): add buffer_->params to severl inset contructors
9049
9050 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9051
9052         * lyxlayout.C (Read): remove some debug info that I forgot.
9053
9054         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9055         clean up the code slightly.
9056         (makeLinuxDocFile): ditto
9057         (makeDocBookFile): ditto
9058
9059         * text2.C: layout as string
9060
9061         * text.C: layout as string
9062
9063         * paragraph_pimpl.C: layout as string
9064
9065         * paragraph.[Ch]: layout as string
9066
9067         * lyxtextclasslist.[Ch]: layout as string
9068
9069         * lyxtextclass.[Ch]: layout as string
9070
9071         * lyxtext.h: layout as string
9072
9073         * lyxlayout.[Ch]: layout as string
9074
9075         * lyx_cb.C: layout as string
9076
9077         * bufferview_funcs.C: layout as string
9078
9079         * bufferparams.C: layout as string
9080
9081         * buffer.C: layout as string
9082
9083         * LyXView.[Ch]: layout as string
9084
9085         * LaTeXFeatures.[Ch]: layout as string
9086
9087         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9088
9089         * BufferView_pimpl.C: change current_layout to string, remove
9090         lyx::layout_type.
9091         (Dispatch):
9092         (smartQuote):
9093         (insertInset):
9094         (workAreaButtonRelease): layout as string
9095
9096         * BufferView2.C (unlockInset): adjust
9097
9098         * vspace.C (asLatexCommand): use an explict temp variable.
9099
9100 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9101
9102         * Makefile.am: use FRONTEND_*
9103
9104 2002-03-01  Juergen Vigna  <jug@sad.it>
9105
9106         * tabular.C (SetWidthOfMulticolCell): changed to something better
9107         I hope but still work in progress.
9108         (recalculateMulticolumnsOfColumn): renamed function from
9109         recalculateMulticolCells as it is more appropriate now.
9110         (SetWidthOfCell): calculate multicols better.
9111
9112 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9113
9114         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9115
9116         * lyxfunc.C (processKeySym): print sequence also if it is
9117         `deleted' (complete)
9118
9119         * kbsequence.C (print): print sequence even if it is deleted
9120         (complete would be a better word, actually).
9121
9122         * lyxfunc.C (dispatch): print complete options after a prefix key
9123
9124         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9125
9126 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9127
9128         * text2.C (setCharFont): eliminate setCharFont code duplication.
9129
9130 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9131
9132         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9133         LFUN_TABULAR_FEATURE (bug #177)
9134
9135 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9136
9137         * Makefile.am: remove figure.h
9138
9139 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9140
9141         * Bufferview_pimpl.C:
9142         * CutAndPasteC:
9143         * LaTeX.C:
9144         * LyXSendto.C:
9145         * buffer.C:
9146         * bufferlist.C:
9147         * converter.C:
9148         * language.C:
9149         * lyxfunc.C:
9150         * lyxvc.C:
9151         * paragraph.C:
9152         * text.C:
9153         * text2.C: remove #include "lyx_gui_misc.h".
9154
9155         * LaTeX.C: added #include <cstdio>
9156
9157 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9158
9159         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9160         that the paragraph following this one can have.
9161
9162         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9163
9164         * vspace.C (asLatexCommand): fix bogus gcc warning
9165
9166         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9167
9168 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9169
9170         * text2.C (setLayout): get rid of redundant code
9171
9172 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9173
9174         * text2.C (incDepth): make sure depth cannot be increased beyond
9175         reasonable values.
9176
9177 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9178
9179         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9180         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9181
9182         * PainterBase.h (image):
9183         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9184         a LyXImage const *.
9185
9186 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9187
9188         * BufferView.C:
9189         * BufferView.h:
9190         * BufferView_pimpl.C:
9191         * BufferView_pimpl.h:
9192         * LaTeXFeatures.C:
9193         * LyXAction.C:
9194         * LyXView.C:
9195         * Makefile.am:
9196         * UpdateList.h:
9197         * UpdateList.C:
9198         * buffer.C:
9199         * figure.h:
9200         * figureForm.C:
9201         * figureForm.h:
9202         * figure_form.C:
9203         * figure_form.h:
9204         * lyx_cb.C:
9205         * lyx_gui.C:
9206         * lyx_gui_misc.C:
9207         * lyxfunc.C:
9208         * sp_base.h:
9209         * sp_ispell.h:
9210         * sp_pspell.h:
9211         * sp_spell.C: remove fig inset, and the crap house of
9212           cards that follows it
9213
9214 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9215
9216         * Makefile.am:
9217         * lyxserver.C:
9218         * os2_defines.h:
9219         * os2_errortable.h:
9220         * nt_defines.h: move .h into support/
9221
9222         * vms_defines.h: remove
9223
9224         * WorkArea.C: add space in debug output
9225
9226         * text2.C:
9227         * paragraph.C:
9228         * buffer.C: add WITH_WARNINGS
9229
9230         * vc-backend.h:
9231         * vc-backend.C:
9232         * bufferlist.C: s/retrive/retrieve/, add docs
9233
9234         * vspace.h:
9235         * vspace.C:
9236         * kbmap.h:
9237         * lyxlength.h:
9238         * lyxgluelength.h:
9239         * length_common.h:
9240         * chset.h:
9241         * chset.C: add docs
9242
9243         * lyxgui.C: add ID to X error handler
9244
9245         * lyxtestclass.c: fix typo
9246
9247 2002-02-26  Juergen Vigna  <jug@sad.it>
9248
9249         * tabular_funcs.C (write_attribute): changed so that some default
9250         attributes are not written at all.
9251         (getTokenValue): set default values before trying to read the
9252         value so we have the return value always set as default if we don't
9253         find the token we search for.
9254
9255         * tabular.C (Write): write bools as bools not as strings!
9256
9257 2002-02-22  Juergen Vigna  <jug@sad.it>
9258
9259         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9260         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9261
9262         * text.C (leftMargin): don't add an indent for paragraphs inside
9263         tabular cells (fix #208).
9264
9265 2002-02-21  José Matos  <jamatos@fep.up.pt>
9266
9267         * tabular.C (docBook): fixed support for long tables.
9268
9269 2002-02-20  Juergen Vigna  <jug@sad.it>
9270
9271         * text2.C (getFont): get the drawing font of the Inset if this
9272         paragraph is inside an inset (only important for InsetERT for now).
9273
9274         * buffer.C (insertErtContents): use new lanugage params in ERT
9275         constructor.
9276
9277         * CutAndPaste.C: commenting out seemingly uneeded code.
9278
9279 2002-02-19  Allan Rae  <rae@lyx.org>
9280
9281         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9282         Iterators might be simple to use but they also get invalidated.
9283         (removeAutoInsets): renamed saved cursor tracking variables and added
9284         some comments to clarify what everything does.
9285
9286 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9287
9288         * Chktex.C:
9289         * LaTeX.C:
9290         * LyXSendto.C:
9291         * converter.C:
9292         * lyx_cb.C:
9293         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9294         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9295
9296         * lyxfunc.C:
9297         * vc-backend.h: remove #include "support/syscall.h"
9298
9299         * LaTeX.C:
9300         * LyXSendto.C:
9301         * converter.C: rearrange #includes in Lars' approved fashion.
9302
9303         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9304         forward declare class Timeout in the header file.
9305
9306         * XFormsView.C: changes due to the above.
9307
9308         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9309         similar to LyXView.
9310
9311         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9312         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9313
9314 2002-02-18  José Matos  <jamatos@fep.up.pt>
9315
9316         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9317         insets contents.
9318
9319 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9320
9321         * a lot of small ws changes
9322         * add a lot of using std::XXX
9323         * use std construcs some places where approp.
9324         * use some exisint stuff from lyxfunctional where approp.
9325         * Make file changes to use partial linking (lets test this now...)
9326
9327 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9328
9329         * Chktex.C:
9330         * buffer.C:
9331         remove #include "support/syscontr.h" as it's redundant. Always has been.
9332
9333         * Chktex.C:
9334         * LaTeX.C:
9335         * LyXSendto.C:
9336         * converter.C:
9337         * lyx_cb.C:
9338         * vc-backend.C:
9339         change Systemcalls::System to Systemcalls::Wait and
9340         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9341         No change of functionality, just reflects the stripped down Systemcalls
9342         class.
9343
9344 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9345
9346         * debug.[Ch]: add a GRAPHICS type to the enum.
9347
9348 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9349
9350         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9351
9352         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9353         there is an inset.
9354
9355 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9356
9357         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9358         match the changes below.
9359
9360         * text2.C (toggleInset): if there is not editable inset at cursor
9361         position, try to see if cursor is _inside_ a collapsable inset
9362         and close it.
9363
9364 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9365
9366         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9367         document menu has a nice checkbox
9368
9369 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9370
9371         * lyxlength.C (asLatexString): change PW to output as percent of
9372         \textwidth.
9373
9374         * lengthcommon.C: change '%' to 't%'
9375
9376         * lyxfunc.C (dispatch): a few comments from Martin
9377
9378 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9379
9380         * WorkArea.h:
9381         * WorkArea.C:
9382         * BufferView_pimpl.h:
9383         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9384           the X selection.
9385
9386 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9387
9388         * vspace.C (inPixels): fix compiler warning
9389
9390 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9391
9392         * lyxfunc.C (getStatus): fix status message for disabled commands.
9393
9394 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9395
9396         * BufferView_pimpl.C: fix crash on close buffer
9397         during selection (#227)
9398
9399 2002-01-27  Herbert Voss  <voss@lyx.org>
9400
9401         * buffer.C: link old Figure to new graphic inset
9402
9403 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9404
9405         * FontLoader.C (getFontinfo): Change the latex font names in order
9406         to match the names of type1inst.
9407
9408 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9409
9410         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9411
9412         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9413         (extchanged): ditto
9414         (ext_exist): ditto
9415         (remove_files_with_extension): ditto
9416         (remove_file): ditto
9417         (write): ditto
9418
9419         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9420         document is smaller than the work area height. Do not initialize
9421         static variables to 0.
9422
9423 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9424
9425         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9426
9427         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9428         LFUN_LAYOUT_PARAGRAPHS.
9429
9430         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9431         tabular. It is possible to provide a possible cell, which will
9432         typically be the actcell from the corresponding insettabular
9433
9434         * lyxfunc.C (getStatus): small cleanup; disable
9435         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9436         true
9437
9438 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9439
9440         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9441
9442         * paragraph.C (startTeXParParams):
9443         (endTeXParParams): new methods. The LaTeX code to
9444         start/end paragraph formatting
9445         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9446         empty (fixes bug #200)
9447
9448         * vspace.C (inPixels): adapt to the change below
9449         (inPixels): [later] more cleanups (remove unused variables)
9450
9451         * lyxlength.C (inPixels): change to use a width and a height as
9452         parameter.
9453
9454 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9455
9456         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9457         Replaced with \paperwidth
9458
9459         * DepTable.C (insert): add std:: qualifier
9460
9461 2002-01-18  Allan Rae  <rae@lyx.org>
9462
9463         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9464         updated also?
9465
9466         * text.C (drawInset): Turned out I didn't know enough about how
9467         rebreaking worked.  This fixes most of the redraw problems.  I see
9468         an occasional cursor trail when a line is broken now and the cursor
9469         placement can seem out by a few pixels also after a rebreak.
9470
9471 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9472
9473         * buffer.C (parseSingleLyXformat2Token): update because minipage
9474         width is now a LyXLength
9475
9476         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9477
9478         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9479         math insets
9480
9481 2002-01-17  Juergen Vigna  <jug@sad.it>
9482
9483         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9484
9485         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9486         is set correctly and the inset is updated correctly.
9487
9488 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9489
9490         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9491         the beginning of the loop.
9492
9493 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9494
9495         * lyxrc.C: improve help for use_scalable_fonts
9496
9497 2002-01-17  Allan Rae  <rae@lyx.org>
9498
9499         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9500
9501 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9502
9503         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9504         make sure to set their inset_owner to the right value (bug #171)
9505
9506 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9507
9508         * DepTable.h
9509         * DepTable.C: Implement mtime checking to reduce time spent doing
9510         CRCs.
9511
9512 2002-01-16  Juergen Vigna  <jug@sad.it>
9513
9514         * tabular.C (GetAdditionalHeight): one of error fixed.
9515
9516         * lyxrc.C (output): small fix in writing use_pspell.
9517
9518 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9519
9520         * sp_base.h: #include LString.h
9521
9522 2002-01-16  Allan Rae  <rae@lyx.org>
9523
9524         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9525         Can someone check this please?
9526
9527         * text.C (drawInset): It was possible that p.row would be removed by
9528         breakAgainOneRow upsetting a few other settings.  There may be another
9529         small tweak possible by setting need_break_row = 0 when p.row has been
9530         removed but I don't know enough about the logic here.
9531
9532 2002-01-15  Allan Rae  <rae@lyx.org>
9533
9534         * text.C (insertChar): removed conditional truism.
9535
9536         * BufferView2.C (removeAutoInsets): More tweaks.
9537         cur_par_prev could be a stray pointer.  Check for trailing empty line
9538         in case last line was cur_par and only had an error inset on it.
9539
9540 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9541
9542         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9543         absolute
9544
9545         * vc-backend.C (most methods):
9546         * exporter.C (Export):
9547         * converter.C (convert):
9548         (runLaTeX):
9549         * LyXSendto.C (SendtoApplyCB):
9550         * lyxfunc.C (dispatch):
9551         (menuNew):
9552         (open):
9553         (doImport):
9554         * lyx_cb.C (AutoSave):
9555         (InsertAsciiFile):
9556         * BufferView_pimpl.C (MenuInsertLyXFile):
9557         * buffer.C (runChktex): use Buffer::filePath().
9558
9559         * buffer.h: rename filename to filename_; rename filepath to
9560         filepath_ and make it private
9561         (filePath): new method
9562
9563         * buffer.C (writeFile): use fileName()
9564         (getLatexName):
9565
9566         * lyx_main.C (init): fix starting  of LyX when the binary is a
9567         link from so,ewhere else.
9568
9569         * minibuffer.C: include <cctype> for isprint
9570
9571 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9572
9573         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9574         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9575         name clash with InsetCollapsable's width function.
9576
9577 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9578
9579         * lastfiles.C: include <iterator>
9580
9581 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9582
9583         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9584         std::count.
9585
9586         * buffer.C (makeLaTeXFile): ditto.
9587         Also make loop operation more transparent.
9588
9589 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9590
9591         * ToolbarDefaults.C: remove trailing comma closing namespace.
9592
9593         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9594
9595         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9596         as in WorkArea.
9597
9598         * trans.C (Load): comment out unused variable, allowed.
9599
9600 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9601
9602         * minibuffer.[Ch] (append_char): new method to recieve input from the
9603         drop-down completion browser. If a key was pressed, then recieve this
9604         char and append it to the existing string.
9605         (peek_event): modify the positioning data passed to the completion
9606         browser so that it can be placed above the minibuffer rather than below.
9607 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9608
9609         * LyXAction.C (init): alloe error-next for readonly documents.
9610
9611         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9612         count.
9613
9614 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9615
9616         * bufferlist.C (readFile): create the buffer _after_ checking that
9617         the file exists.
9618
9619         * lyxfunc.C (verboseDispatch): fix handling of arguments
9620
9621         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9622
9623         * lyxrc.C: use string::erase() instead of initializing to "".
9624
9625
9626 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9627
9628         * BufferView_pimpl.h:
9629         * BufferView_pimpl.C:
9630         * WorkArea.h:
9631         * WorkArea.C:
9632         * text2.C: tell X when we have made a selection for copying
9633
9634 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9635
9636         * BufferView_pimpl.C (MenuInsertLyXFile):
9637         * lyxfunc.C (menuNew):
9638         (open):
9639         (doImport): add shortcuts to directory buttons
9640
9641         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9642         open a float)
9643
9644         * lyxfunc.C (setStatusMessage):
9645         (getStatusMessage): new methods
9646         (getStatus):use setStatusMessage instead of setErrorMessage
9647         (dispatch): when function is disabled, set error message here
9648         [instead of in getStatus previously]
9649
9650         * BufferView_pimpl.C (workAreaButtonRelease): update
9651         toolbar/menubar here too.
9652
9653 2002-01-13  Allan Rae  <rae@lyx.org>
9654
9655         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9656         Now seems indestructible.  Remaining task is to audit all other
9657         code affected by deleteEmptyParagraphMechanism.  One small quirk
9658         left is that an empty document with an error in the preamble can
9659         be made to report an error but no error box appears.  I don't know
9660         where it goes.
9661         (removeAutoInsets): Improved comments.
9662
9663 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9664
9665         * Thesaurus.h:
9666         * Thesaurus.C: update for Aiksaurus 0.14
9667
9668 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9669
9670         * text2.C (firstParagraph): removed member function, all uses
9671         replaces with ownerParagraph
9672         (redoParagraphs): here
9673         (updateInset): here
9674         (toggleAppendix): here
9675         * BufferView2.C (insertErrors): here
9676         (setCursorFromRow): here
9677
9678 2002-01-13  Allan Rae  <rae@lyx.org>
9679
9680         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9681         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9682         There is still a way to segfault this although you may have to do this
9683         multiple times: Have an InsetERT with an unknown command in it.
9684         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9685         <down-arrow>, <Enter> again, View->DVI, BANG!
9686
9687         * text2.C (setCursor):
9688         (deleteEmptyParagraphMechanism):
9689         * lyxtext.h (setCursor):
9690         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9691         Making use of the return value may help fix other bugs.
9692
9693 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9694
9695         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9696
9697         * LyXView.C (updateMenubar): call MenuBar::update here
9698         (updateToolbar): but not here
9699         (showState): do not update toolbar/menubar
9700
9701         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9702         should need to care about that.
9703
9704         * lyxfunc.C (verboseDispatch): simplify a bit
9705         (getStatus): have a version which takes a pseudoaction, and
9706         another which requires a (kb_action,string).
9707
9708         * LyXAction.C (retrieveActionArg): make it work also when action
9709         is not a pseudo-action.
9710         (getActionName): simplify a bit
9711         (helpText):
9712
9713 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9714
9715         * lyxfunc.C (verboseDispatch): new families of methods with
9716         several ways to specify a command and a bool to indicate whether
9717         the command name and shortcut should be displayed in minibuffer
9718         (eventually, we could extend that to a finer bitmask like
9719         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9720         (dispatch): the pristine dispatch command which just, well,
9721         dispatchs! Note it still sets its result to minibuffer; I'm not
9722         sure we want that.
9723
9724         * lyxfunc.h: remove setHintMessage
9725
9726         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9727
9728 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9729
9730         * BufferView_pimpl.C (specialChar): delete new inset if we have
9731         not been able to insert it.
9732
9733         * kbmap.C: revert to using int instead of kb_action, since all we
9734         are dealing with is pseudo-actions.
9735
9736         * LyXAction.C (searchActionArg): change to return int instead of
9737         kb_action, since the result is a pseudoaction.
9738
9739 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9740
9741         * buffer.C (insertErtContents): Fix (partially) the font bug.
9742
9743 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9744
9745         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9746         as the other one is broken on my machine!
9747
9748 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9749
9750         * commandtags.h:
9751         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9752
9753 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9754
9755         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9756         reflect their actual use. Provide compatibility code for older lyxrc
9757         files.
9758
9759         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9760         FL_NORMAL_STYLE.
9761         change names of popup font variables in line with the changes to lyxrc.C
9762
9763 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9764
9765         * buffer.C (asciiParagraph): avoid outputing a word twice after
9766         an inset.
9767
9768         * lyxrc.C (getDescription): document that document_path and
9769         template_path can be empty.
9770
9771 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9772
9773         * LaTeXFeatures.C (getMacros):
9774         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9775
9776         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9777
9778         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9779         getPackages.
9780         (getPackages): rename feature "floats" to "float". Use an array to
9781         iterate over 'simple' features (i.e. just a \usepackage). Add
9782         handling of "amsmath" (renamed from "amsstyle").
9783
9784 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9785
9786         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9787         features list.
9788
9789 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9790
9791         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9792         FuncStaus::FuncStatus & FuncStaus::some_method().
9793
9794 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9795
9796         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9797         of the func_satus stuff. Edited and massaged in various ways by
9798         JMarc.
9799
9800         * lyxfunc.C (getStatus): use FuncStatus
9801
9802 2002-01-08  Juergen Vigna  <jug@sad.it>
9803
9804         * text.C (nextBreakPoint): use function Inset::isChar().
9805
9806         * paragraph.C (TeXOnePar): use function
9807         Inset::forceDefaultParagraphs.
9808
9809         * buffer.C (latexParagraphs): use function
9810         Inset::forceDefaultParagraphs.
9811
9812 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9813
9814         * lyx_gui.C (init): set the style of the menu popups to
9815         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9816
9817 2002-01-07  Juergen Vigna  <jug@sad.it>
9818
9819         * text.C (setHeightOfRow): small fix
9820         (prepareToPrint): don't look at alignment if we don't have the place
9821         for doing it.
9822
9823 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9824
9825         * box.C: New file. Move the Box methods and functions out of box.h,
9826         following Lars' suggestion.
9827
9828 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9829
9830         * box.h: #include "support/LOstream.h", needed for inlined function.
9831
9832         * lyxtextclass.C:
9833         * lyxtextclasslist.C: added some using std declarations.
9834
9835 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9836
9837         * box.h: make signed dimensions to allow insets wider than
9838           the screen (bug #162)
9839
9840         * BufferView_pimpl.C: add some insetHit debug
9841
9842 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9843
9844         * vc-backend.C: add FIXME
9845
9846 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9847
9848         * lyxfunc.C (getStatus): enable code for showing math font status
9849         in toolbar/menu.
9850
9851 2002-01-07  Juergen Vigna  <jug@sad.it>
9852
9853         * text.C (nextBreakPoint): removed debug output not needed anymore.
9854
9855 2002-01-06  Juergen Vigna  <jug@sad.it>
9856
9857         * text.C (nextBreakPoint): fixed up this function we had this bug
9858         since ever but now hopefully we break row better.
9859         (insertChar): we have to check if an inset is the next char as it
9860         could now happen that a large inset is causing a break.
9861
9862 2002-01-05  Juergen Vigna  <jug@sad.it>
9863
9864         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9865         if it doesn't like to be drawed.
9866
9867 2002-01-04  Juergen Vigna  <jug@sad.it>
9868
9869         * BufferView2.C (lockInset): forgot to set a cursor.
9870
9871         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9872
9873 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9874
9875         * FormMathsPanel.C:
9876         * FormMathsPanel.h
9877         * MathsSymbols.C:
9878         * form_maths_panel.C:
9879         * form_maths_panel.h:
9880         * form_maths_panel.fd: implemented sub- and super- buttons in math
9881         panel.
9882
9883         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9884         (or ^ space) to be used as in TeX (req'd by André).
9885
9886         * lyxfunc.C: Allow ^ and _ again to be used both as
9887         super/subscript (mathed) and as themselves (in text).
9888
9889 2002-01-03  Allan Rae  <rae@lyx.org>
9890
9891         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9892         "LyX" or the filename of the current buffer if it has one.  This is a
9893         modified form of John Levon's patch.
9894
9895         * XFormsView.C (setWindowTitle): also set icon title.
9896
9897         * LyXView.h (setWindowTitle): signature changed.
9898         * XFormsView.h (setWindowTitle): ditto.
9899
9900 2002-01-02  Juergen Vigna  <jug@sad.it>
9901
9902         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9903
9904 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9905
9906         * screen.C (topCursorVisible): introduce a temp var for
9907         text->cursor.row(), handle the case where this row is null. (kindo
9908         hachish)
9909
9910         * text2.C (setCursor): add a couple of asserts.
9911
9912         * paragraph.h (inset_iterator): add -> operator
9913
9914         * paragraph.[Ch] (autoDeleteInsets): remove member function
9915
9916         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9917         cursor pos correctly and handle inset deletion by itself.
9918         (insertErrors): move iterator declaration out of for expression
9919
9920         * lyxtextclass.C: add <algorithm>
9921
9922         * Makefile.am: added the new files to sources, removed layout.C
9923
9924         * layout.C: removed file
9925
9926         * layout.h: remove LYX_DUMMY_LAYOUT
9927
9928         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9929         layout.
9930
9931         * lyxlayout.[Ch]:
9932         * lyxtextclass.[Ch]:
9933         * lyxtextclasslist.[Ch]: new files
9934
9935         * include order changes to a lot of files, also changes because of
9936         the six new files.
9937
9938 2001-12-27  Juergen Vigna  <jug@sad.it>
9939
9940         * buffer.C (asciiParagraph): more fixes.
9941
9942         * tabular.C (ascii): make ascii export support export of only the
9943         data separated by a column-delimiter.
9944         (ascii): better support for ascii export.
9945
9946         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9947
9948 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9949
9950         * tabular_funcs.C: use a "using std::getline" instead of the
9951         previous fix from Angus (necessary for cxx + lyxstring)
9952
9953 2001-12-24  Juergen Vigna  <jug@sad.it>
9954
9955         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9956
9957         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9958         problems. First check a minipage also if we have some ert-contents
9959         (not only on par->size(), second set the right depth of the paragraph
9960         on the relink to the root-paragraph-list!
9961
9962         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9963         which then did not anymore update the main paragraphs on undo/redo!
9964
9965 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9966
9967         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9968         code. Support all font-changing funcs (even those which are not in
9969         menu currently). Support for reporting font settings in
9970         mathed (disabled until Andre provides a function on mathed's side).
9971
9972         * func_status.h (toggle): small helper function to set toggle
9973         state on a flag.
9974
9975 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9976
9977         * tabular_funcs.C: getline -> std::getline
9978
9979 2001-12-21  Juergen Vigna  <jug@sad.it>
9980
9981         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9982         accessed and could be 0 (I couldn't generate this but it seems
9983         Michael could!).
9984
9985 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9986
9987         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9988         * tabular_funcs.h: here and include iosfwd
9989
9990 2001-12-20  Juergen Vigna  <jug@sad.it>
9991
9992         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9993         inside inset but undo_par was.
9994
9995 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9996
9997         * Thesaurus.C: always include <config.h> in sources.
9998
9999         * Painter.h:
10000         * lyxlookup.h:
10001         * box.h: do not include <config.h> in header files
10002
10003         * text.C (paintLastRow): remove unused variable
10004
10005         * text.C (transformChar):
10006         (insertChar):
10007         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10008
10009         * Painter.C (text):
10010         * font.C (width): rewrite to use uppercase() instead of
10011         islower/toupper.
10012
10013         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10014
10015 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10016
10017         * lyxfind.C: clean up of find failure position change
10018
10019 2001-12-20  Juergen Vigna  <jug@sad.it>
10020
10021         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10022
10023         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10024         (TeXRow): added to LaTeX a single tabular row.
10025         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10026         (Latex): simplified and finally good LT-h/f support.
10027         (various_functions): just small adaptions for LT-h/f support.
10028
10029         * tabular_funcs.[hC]: added and moved here all not classfunctions
10030         of LyXTabular.
10031
10032 2001-12-19  Juergen Vigna  <jug@sad.it>
10033
10034         * tabular.[Ch]: better support for longtabular options (not finished
10035         yet!)
10036
10037 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10038
10039         * text.C (paintLastRow): use the label font instead of the font of
10040         the last character to compute the size of *_BOX. This makes more
10041         sense and avoids a crash with empty paragraphs.
10042         Use Painter::rectangle to draw EMPTY_BOX.
10043
10044 2001-12-19  Juergen Vigna  <jug@sad.it>
10045
10046         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10047         the paragraphs if the replaced paragraph is not the first one!
10048         Tried to delete not used paragraphs but does not work yet so for
10049         now it's inside #ifdef's and by default off!
10050
10051 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10052
10053         * MenuBackend.C: include "lyx_main.h" instead of declaring
10054         lastfiles (actually was declared as LastFiles* instead of a
10055         scoped_ptr).
10056
10057 2001-12-17  Juergen Vigna  <jug@sad.it>
10058
10059         * tabular.C (AppendColumn): applied John's fix
10060
10061 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10062
10063         * BufferView.h:
10064         * BufferView.C:
10065         * BufferView_pimpl.h:
10066         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10067
10068         * Makefile.am:
10069         * box.h: new start of class for above
10070
10071         * lyxfunc.C: ignore space-only minibuffer dispatches.
10072           Show the command name when it doesn't exist
10073
10074         * minibuffer.C: don't add empty lines to the history
10075
10076         * minibuffer.C: add a space on dropdown completion
10077
10078 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10079
10080         * text.C: fix line above/below drawing in insets
10081
10082 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10083
10084         * lyxlength.C (LyXLength): Initialize private variables.
10085
10086 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10087
10088         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10089         when inserting error insets.
10090
10091 2001-12-13  Juergen Vigna  <jug@sad.it>
10092
10093         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10094         actually sometimes the before-paragraph.
10095         (setUndo): don't clear the redostack if we're not actually undoing!
10096
10097 2001-12-06  Juergen Vigna  <jug@sad.it>
10098
10099         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10100         and fixed redoing of main paragraph, so we can use it now ;)
10101
10102         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10103
10104 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10105
10106         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10107         Juergen's request
10108
10109 2001-12-13  André Pönitz <poenitz@gmx.net>
10110
10111         * undostack.[Ch]:
10112         * undo_func.C: minor cleanup
10113
10114 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10115
10116         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10117         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10118         font in urw-fonts package which is marked as -urw-fontspecific and
10119         does not work (incidentally, changing the encoding in the
10120         fonts.dir of this package to -adobe-fontspecific fixes the
10121         problem).
10122
10123         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10124         is a crash when undoing first paragraph (Juergen, please take a
10125         look). THis does not mean the undo fix is wrong, just that it
10126         uncovers problems.
10127
10128         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10129         the (Paragraph*) version when needed instead of duplicating the
10130         code.
10131
10132         * text.C (workWidth): use Inset::parOwner to find out where the
10133         inset has been inserted. This is a huge performance gain for large
10134         documents with lots of insets. If Inset::parOwner is not set, fall
10135         back on the brute force method
10136
10137         * paragraph_pimpl.C (insertInset):
10138         * paragraph.C (Paragraph):
10139         (cutIntoMinibuffer): set parOwner of insets when
10140         inserting/removing them
10141
10142         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10143
10144 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10145
10146         * commandtags.h:
10147         * LyXAction.C:
10148         * lyx_main.C:
10149         * lyxfunc.C:
10150         * mathed/formulabase.C:
10151         * mathed/math_cursor.[Ch]:
10152         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10153
10154
10155 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10156
10157         * lyxlength.[Ch] (operator!=): new function
10158
10159 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10160
10161         * text.C (workWidth): use Inset::parOwner to find out where the
10162         inset has been inserted. This is a huge performance gain for large
10163         documents with lots of insets. If Inset::parOwner is not set, fall
10164         back on the brute force method
10165
10166         * paragraph_pimpl.C (insertInset):
10167         * paragraph.C (Paragraph):
10168         (cutIntoMinibuffer): set parOwner of insets when
10169         inserting/removing them
10170
10171         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10172
10173 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10174
10175         * tabular-old.C (getTokenValue):
10176         * tabular.C (getTokenValue):
10177         (write_attribute): new versions for LyXLength
10178         (everywhere): adjust the use of widths
10179
10180         * tabular.h: change the type of widths from string to LyXLength
10181
10182 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10183
10184         * paragraph.C: fixed missing line number count when exporting
10185         Environments to LaTeX file
10186
10187         * buffer.C: added informational message for checking line numbers.
10188
10189 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10190
10191         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10192         paragraph, do the 'double space' part, but not the 'empty
10193         paragraph' one.
10194
10195         * text.C (workWidth): small optimization
10196         (getLengthMarkerHeight): use minimal size for negative lengths.
10197
10198 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10199
10200         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10201
10202         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10203
10204 2001-12-11  André Pönitz <poenitz@gmx.net>
10205
10206         * FontLoader.C:
10207         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10208
10209 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10210
10211         * text2.C: keep selection on a setFont()
10212
10213 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10214
10215         * lyx_cb.C: another bv->text misuse, from insert label
10216
10217 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10218
10219         * kbsequence.h:
10220         * kbsequence.C: re-instate nmodifier mask
10221
10222 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10223
10224         * lyx_main.h: make lyxGUI private.
10225
10226 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10227
10228         * lyxfind.C: place the cursor correctly on failed search
10229
10230 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10231
10232         * text.C (getLengthMarkerHeight): for small heights, the arrows
10233         are not always on top/bottom of the text
10234         (drawLengthMarker): smaller arrows; take the left margin in
10235         account; draw also vfills.
10236         (paintFirstRow):
10237         (paintLastRow): remove special code for vfill and standard spaces,
10238         since everything is handled in drawLengthMarker now.
10239
10240 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10241
10242         * buffer.C (insertErtContents): try to handle font and language
10243         interaction a bit better.g
10244
10245         * ColorHandler.C (updateColor): change the hash to cover the whole
10246         LColor enum, ws cleanup
10247         (getGCLinepars): ditto
10248         (getGCLinepars): only lookup in the linecache once.
10249
10250 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10251
10252         * iterators.C (operator++): Make the iterator more robust
10253
10254         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10255         (John's patch)
10256         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10257
10258 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10259
10260         * lyxtext.h:
10261         * text.C: better added space drawing
10262
10263 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10264
10265         * LyXView.C:
10266         * BufferView2.C: fix layout combo update on inset unlock
10267
10268 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10269
10270         * Makefile.am: don't compile unused files
10271
10272 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10273
10274         * lyxfunc.C:
10275         * commandtags.h:
10276         * LyXAction.C: remove old LFUN_LAYOUTNO
10277
10278 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10279
10280         * paragraph_pimpl.h:
10281         * paragraph_pimpl.C: isTextAt() doesn't need font param
10282
10283 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10284
10285         * lyxlex.h:
10286         * lyxlex.C: little cleanup
10287
10288 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10289
10290         * BufferView_pimpl.C: fix insertAscii for insets
10291
10292 2001-12-05  Juergen Vigna  <jug@sad.it>
10293
10294         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10295         set the right font on the "multi" paragraph paste!
10296
10297 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10298
10299         * trans_decl.h:
10300         * trans_mgr.[Ch]:
10301         * trans.[Ch]:
10302         * lyxgluelength.C:
10303         * lyxlength.C: remove out-commented code.
10304
10305         * BufferView_pimpl:
10306         * CutAndPaste.C:
10307         * DepTable.C:
10308         * buffer.C:
10309         * chset.C:
10310         * lastfiles.C:
10311         * lyxlex.C:
10312         * lyxlex_pimpl.C:
10313         * lyxserver.C:
10314         * screen.C:
10315         * tabular-old.C:
10316         * tabular.C:
10317         * text.C:
10318         * trans_mgr.C:
10319         * vc-backend.C: change "while(" to "while ("
10320
10321         * lyxlength.[Ch]: add zero function to check if length is zero or
10322         not
10323         * lyxgluelength.C: use it
10324
10325 2001-12-05  Allan Rae  <rae@lyx.org>
10326
10327         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10328         Works for 2.95.3, from what I understand of Garst's reports this should
10329         work for other g++ versions.  We're screwed if the abs(int) definition
10330         changed between bugfix releases of gcc.
10331
10332 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10333
10334         * text.C: fix chapter label offset !
10335
10336 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10337
10338         * lyxtext.h:
10339         * text.C: fix hfill at end of line, clean up
10340
10341 2001-12-04  Juergen Vigna  <jug@sad.it>
10342
10343         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10344         that we force an update of the inset and it's owners if neccessary.
10345
10346 2001-12-03  Juergen Vigna  <jug@sad.it>
10347
10348         * text.C (rowLast): simplified code
10349
10350 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10351
10352         * lyxfunc.C: fix show options on timeout
10353
10354 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10355
10356         * screen.C (topCursorVisible): scroll half a page when the cursor
10357         reached top of bottom of screen
10358
10359 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10360
10361         * minibuffer.C: deactivate on loss of focus
10362
10363 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10364
10365         * vspace.[Ch] (operator!=): add operator.
10366
10367 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10368
10369         * BufferView_pimpl.C: refuse to open an inset when
10370         there's a selection.
10371
10372 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10373
10374         * BufferView_pimpl.C: allow to click on RHS of full row insets
10375
10376 2001-11-30  Juergen Vigna  <jug@sad.it>
10377
10378         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10379         insets for undo reasons.
10380
10381 2001-11-28  André Pönitz <poenitz@gmx.net>
10382
10383         * vspace.[Ch]: cosmetical changes
10384
10385 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10386
10387         * LyXAction.h:
10388         * LyXAction.C:
10389         * lyxfunc.h:
10390         * lyxfunc.C:
10391         * kbmap.h:
10392         * kbmap.C:
10393         * lyxrc.C:
10394         * kbsequence.h:
10395         * kbsequence.C: part re-write of old kb code
10396
10397         * Painter.C:
10398         * WorkArea.C: remove Lgb_bug_find_hack
10399
10400 2001-11-30  José Matos <jamatos@fep.up.pt>
10401
10402         * buffer.C (makeDocBookFile): add a comment to point a hack.
10403         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10404         Fixed a double write of labels.
10405
10406 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10407
10408         * LaTeX.C:
10409         * LaTeX.h Fixed bug in LaTeX class where it would not
10410         re-run latex if no depfiles were changed, but the .dvi was removed.
10411
10412 2001-11-28  André Pönitz <poenitz@gmx.net>
10413
10414         * all the files from the change on 2001/11/26:
10415         use lyx::layout_type instead of LyXTextClass::size_type
10416         use lyx::textclass_type instead of LyXTextClassList::size_type
10417
10418 2001-11-29  Juergen Vigna  <jug@sad.it>
10419
10420         * text.C: added support for paragraph::isFreeSpacing()
10421
10422         * buffer.C: same as above
10423
10424         * paragraph.h: inserted isFreeSpacing() function to enable
10425         FreeSpacing inside InsetERT.
10426
10427         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10428         of the paragraph's in the cut/copy buffer to 0!
10429
10430         * text2.C (removeRow): remove the assert as it can!
10431
10432         * lyxtext.h: added helper function firstRow returning firstrow and
10433         made firstrow private again.
10434
10435         * BufferView2.C (lockInset): don't relock if we're already locked!
10436
10437         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10438         the only paragraph.
10439         (removeRow): added Assert::(firstrow)
10440
10441         * debug.C: forgot to add INSETTEXT here.
10442
10443 2001-11-28  Juergen Vigna  <jug@sad.it>
10444
10445         * sp_spell.C (initialize): changed error text to more general
10446         spellchecker command use (not only ispell!)
10447
10448         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10449
10450         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10451
10452 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10453
10454         * vspace.C: initialise lyxgluelength on failure
10455
10456 2001-11-28  Allan Rae  <rae@lyx.org>
10457
10458         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10459         declaration & definition that looks like a function declaration.
10460
10461 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10462
10463         * BufferView2.C (copy):
10464         (copyEnvironment): do not clear the selection when doing a copy.
10465
10466         * text.C (paintFirstRow): compilation fix
10467
10468 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10469
10470         * tabular.C (Latex): correct line count when writing latex.
10471
10472 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10473
10474         * paragraph_pimpl.h:
10475         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10476           bug a bit
10477
10478 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10479
10480         * text.C:
10481         * LColor.h:
10482         * LColor.C: change vfillline->added_space
10483
10484         * text.C: add markers and text for added space
10485
10486         * vspace.C: fix comment
10487
10488 2001-11-28  André Pönitz <poenitz@gmx.net>
10489
10490         * paragraph.C: whitespace changes
10491         * all the other files from the change on 2001/11/26:
10492         change *::pos_type into lyx::pos_type
10493
10494 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10495
10496         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10497         language of the document when inserting error insets.
10498
10499 2001-11-26  André Pönitz <poenitz@gmx.net>
10500
10501         * BufferView_pimpl.[Ch]:
10502         *       CutAndPaste.C:
10503         * buffer.[Ch]:
10504         * lyxcursor.[Ch]:
10505         * lyxfind.C:
10506         * lyxfunc.C:
10507         * lyxrow.[Ch]:
10508         * paragraph.[Ch]:
10509         * paragraph_pimpl.[Ch]:
10510         * sp_spell.C:
10511         * text.C:
10512         * text2.C: reduce header dependencies, introduce type for positions
10513
10514 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10515
10516         * <various>: change to use Alert.h
10517
10518 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10519
10520         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10521         when encountering an unknown token.
10522         (readLyXformat2): Show an error message if there were unknown tokens.
10523
10524 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10525
10526         * BufferView2.C:
10527         * BufferView_pimpl.C:
10528         * buffer.C:
10529         * paragraph.h:
10530         * text.C:
10531         * text2.C: use par->isInset()
10532
10533 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10534
10535         * paragraph_pimpl.h:
10536         * paragraph_pimpl.C: cleanup
10537
10538 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10539
10540         * text2.C (removeRow):
10541         * text.C (setHeightOfRow): remove useless (and costly) call to
10542         getRow.
10543
10544 2001-11-20  Allan Rae  <rae@lyx.org>
10545
10546         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10547         Now need Inset*::checkInsertChar() to return true for appropriate
10548         cases so that the characters in the minibuffer will actually be
10549         inserted.
10550
10551 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10552
10553         * text.C: change the order of the includes.
10554         (workWidth): initialize it at once.
10555         (workWidth): make maxw unsigned
10556         (setHeightOfRow): remove unused variable (inset)
10557         (selectSelectedWord): remove unused variable (inset)
10558         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10559
10560 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10561
10562         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10563         server is not running.
10564         (openConnection):
10565         (closeConnection): add debug info when server is disabled.
10566
10567         * ColorHandler.C (getGCForeground): send debug message to GUI
10568         channel.
10569
10570         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10571
10572         * kbmap.C (bind): modify because return conventions of
10573         kb_sequence::parse have changed.
10574
10575         * kbsequence.C (parse): only ignore spaces and not any stupid
10576         control character. This avoids tests like s[i] <= ' ', which are
10577         guaranteed to fail with 8bit characters and signed chars.
10578         Change return code to string::npos when there have been no error
10579         (0 was a bad idea when error is at first character)
10580
10581 2001-11-14  José Matos  <jamatos@fep.up.pt>
10582
10583         * buffer.h:
10584         * buffer.C (simpleDocBookOnePar): removed unused argument.
10585
10586 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10587
10588         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10589         insets which are part of a word. Paragraph::isLetter takes care of
10590         that now. Use Paragraph::isInset to identify insets.
10591         (selectSelectedWord): do not test for hyphenation break.
10592
10593         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10594         that protected spaces are considered as spaces.
10595
10596         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10597         Inset::isLetter.
10598
10599 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10600
10601         * lyxserver.h:
10602         * lyxserver.C: fix it. and small cleanup.
10603
10604 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10605
10606         * BufferView_pimpl.C: use inline helpers
10607
10608         * LaTeXFeatures.h:
10609         * LaTeXFeatures.C: fix typos
10610
10611         * Spacing.h:
10612         * Spacing.C: move spacing_string into class
10613
10614         * ToolbarDefaults.C: move stuff into namespace anon
10615
10616         * layout.h: update enum
10617
10618         * lyxfunc.C: use better debug
10619
10620         * minibuffer.h: fix typo
10621
10622         * debug.h:
10623         * debug.C:
10624         * WorkArea.C: add and use Debug::WORKAREA
10625
10626         * lyxtext.h:
10627         * text.C:
10628         * text2.C: code re-organisation, inline helpers
10629
10630 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10631
10632         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10633         std::vector.empty().
10634
10635 2001-11-09  Allan Rae  <rae@lyx.org>
10636
10637         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10638         '\n's after tables.  Tabular and ERT inset work now makes this no
10639         longer necessary.
10640
10641 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10642
10643         * minibuffer.h:
10644         * minibuffer.C: fix crash, improve drop-down completion
10645
10646 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10647
10648         * lyxserver.h:
10649         * lyxserver.C: invalidate fd's when doing endPipe()
10650
10651 2001-11-08  José Matos  <jamatos@fep.up.pt>
10652
10653         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10654         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10655
10656         * paragraph.h:
10657         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10658
10659 2001-11-07  José Matos  <jamatos@fep.up.pt>
10660
10661         * buffer.h:
10662         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10663         const qualifier.
10664
10665         * buffer.C (sgmlOpenTag):
10666         * buffer.C (sgmlCloseTag): removed debug info.
10667
10668         * buffer.h (sgmlOpenTag):
10669         * buffer.h (sgmlCloseTag): made public.
10670
10671 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10672
10673         * buffer.C (saveParamsAsDefaults):
10674         * lyx_cb.C (MenuLayoutSave): remove
10675
10676         * LyXAction.C (init):
10677         * commandtags.h:
10678         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10679
10680 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10681
10682         * buffer.C (setPaperStuff): removed from here...
10683
10684         * bufferparams.C (setPaperStuff): ... and moved there.
10685
10686 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10687
10688         * minibuffer.h:
10689         * minibuffer.C:
10690         * XFormsView.C: add support for drop-down completion
10691
10692 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10693
10694         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10695         commands.
10696
10697 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10698
10699         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10700         disabled.
10701
10702 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10703
10704         * lyx_main.C: change ref to known bugs
10705
10706 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10707
10708         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10709         to work around older babel problems.
10710
10711 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10712
10713         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10714
10715 2001-10-24  Juergen Vigna  <jug@sad.it>
10716
10717         * tabular-old.C (ReadOld): below variable changes reflected.
10718
10719         * tabular.[Ch]: added ltType struct for longtable header/footer
10720         defines and changed all instances where they are used. Added
10721         future support for double top/bottom rows.
10722
10723 2001-10-24  José Matos  <jamatos@fep.up.pt>
10724
10725         * buffer.h (docbookHandleCaption):
10726         * buffer.C (docbookHandleCaption): removed unused function.
10727         (makeDocBookFile): moved docbook supported version to v4.1.
10728
10729 2001-10-24  José Matos  <jamatos@fep.up.pt>
10730
10731         * tabular.h:
10732         * tabular.C (docbookRow): new function to export docbook code of a row.
10733         (DocBook): now honors the longtable flags.
10734
10735 2001-10-23  José Matos  <jamatos@fep.up.pt>
10736
10737         * LaTeXFeatures.h:
10738         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10739         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10740
10741         * buffer.C (makeLinuxDocFile):
10742         (makeDocBookFile): reworked the preamble, more clean, and with
10743         support for lyx defined entities. Changed the document declaration
10744         to be more XML friendly.
10745
10746         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10747         if we need to output XML that should be done with a filter.
10748
10749 2001-10-22  Juergen Vigna  <jug@sad.it>
10750
10751         * sp_pspell.h (class PSpell): add alive function needed in the
10752         controller to see if the spellchecker could be started.
10753
10754 2001-10-22  Juergen Vigna  <jug@sad.it>
10755
10756         * buffer.C (insertStringAsLines): modify the font for inserting
10757         chars in certain conditions by calling checkInsertChar(font).
10758
10759 2001-10-19  Juergen Vigna  <jug@sad.it>
10760
10761         * text.C (workWidth): use getRow instead of wrong algorithm.
10762         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10763
10764 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10765
10766         * lyxserver.h:
10767         * lyxserver.C:
10768         * lyx_main.h:
10769         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10770
10771 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10772
10773         * text.C (workWidth): do not search for the exact row when
10774         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10775         optimization for big documents.
10776
10777 2001-10-18  Juergen Vigna  <jug@sad.it>
10778
10779         * text.C (workWidth): new function with added Inset * parameter.
10780
10781 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10782
10783         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10784
10785         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10786         change return type of getColumnNearX.
10787
10788
10789         * text.C (changeRegionCase): use uppercase/lowercase instead of
10790         toupper/tolower.
10791         (leftMargin):
10792         (rightMargin): simplify code by factoring out the uses of
10793         textclasslist.
10794         (labelFill):
10795         (numberOfHfills):
10796         (setHeightOfRow):
10797         (appendParagraph): use Paragraph::size_type
10798
10799 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10800
10801         * vspace.C (asLatexString): add a missing break
10802
10803 2001-10-15  Herbert Voss  <voss@perce.de>
10804
10805         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10806
10807 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10808
10809         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10810         is not available.
10811
10812 2001-10-10  André Pönitz <poenitz@gmx.net>
10813
10814         * lyxfunc.C: removed greek_kb_flag.
10815
10816 2001-10-10  Herbert Voss  <voss@perce.de>
10817
10818         * lyx_main.C: delete global string help_lyxdir.
10819
10820 2001-10-09  Herbert Voss  <voss@perce.de>
10821
10822         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10823
10824         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10825
10826         * lyx_main.C: added global string help_lyxdir.
10827
10828         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10829
10830 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10831
10832         * lyxrc.C (set_font_norm_type): support iso8859-4
10833
10834 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10835
10836         * LaTeX.C (deplog): add another regex for MikTeX
10837
10838 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10839
10840         * lyxrc.C (set_font_norm_type): support iso8859-3
10841
10842 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10843
10844         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10845
10846         * LaTeXFeatures.C: remove special case of french and index
10847
10848         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10849         before \begin{document}). This solves several incompatibilities.
10850
10851 2001-10-03  Garst Reese  <reese@isn.net>
10852
10853         * lyx_cb.C: change CheckTex error msg.
10854
10855 2001-10-03  José Matos  <jamatos@fep.up.pt>
10856
10857         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10858
10859 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10860
10861         * .cvsignore: update
10862
10863         * lyx_main.C (commandLineVersionInfo): use new style version info.
10864
10865         * buffer.C (writeFile):
10866         (makeLaTeXFile):
10867         (makeLinuxDocFile):
10868         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10869
10870         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10871
10872         * version.h: update to use stuff in version.C
10873
10874         * version.C.in: new file. Contains version information determined
10875         at compile time. This is a merging of version.h and
10876         version_info.h.in.
10877
10878 2001-10-03  Juergen Vigna  <jug@sad.it>
10879
10880         * BufferView_pimpl.C (update): don't change "dirty" status in
10881         updateInset call.
10882
10883 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10884
10885         * WorkArea.C (c-tor): re-position version string slightly.
10886
10887 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10888
10889         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10890         revert to previous code.
10891
10892         WorkArea.[Ch]: (show, destroySplash): methods removed.
10893
10894         WorkArea.C: rework code so that it's an amalgam of the codes before and
10895         after the splash screen was moved to WorkArea.
10896
10897 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10898
10899         * lyxrc.C (read):
10900         * vspace.C (inPixels):
10901         (lyx_advance):
10902         * kbmap.C (bind):
10903         * buffer.C (insertStringAsLines):
10904         (asciiParagraph): fix types to be large enough
10905
10906         * lyxlex_pimpl.h: change member status from short to int
10907
10908         * layout.h: fix type of endlabeltype
10909
10910         * kbmap.C (bind):
10911         * kbsequence.C (parse): change return type to string::size_type
10912
10913         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10914         variable
10915
10916         * Bullet.C (bulletSize):
10917         (bulletEntry): do not use short ints as parameters
10918
10919         * BufferView2.C (insertLyXFile): change a char to an int.
10920
10921         * WorkArea.C (WorkArea): remove unneeded floats in computation
10922
10923 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10924
10925         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10926
10927         * paragraph.C (asString): Do not ignore newline/hfill chars when
10928         copying to the clipboard.
10929
10930 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10931
10932         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10933         after a multi-line inset.
10934
10935 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10936
10937         * paragraph.C (validate): Set NeedLyXFootnoteCode
10938
10939 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10940
10941         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10942         and decrease-error to decrease.
10943
10944 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10945
10946         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10947         it more readable (should be equivalent)
10948
10949 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10950
10951         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10952
10953 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10954
10955         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10956         of a cursor (row, etc.) after a character has been deleted
10957         (deleteEmptyParagraphMechanism): call the method above on _all_
10958         cursors held by the LyXText when a double space has been
10959         detected/deleted.
10960
10961 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10962
10963         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10964         pixmap.
10965         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10966
10967         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10968         background. Use greyOut() and the new show() methods to toggle between
10969         the foreground and background. Add code to remove the splash after
10970         its initial showing.
10971
10972         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10973         (create_forms): no longer call Dialogs::showSplash.
10974
10975 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10976
10977         * .cvsignore: add version_info.h
10978
10979 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10980
10981         * version_info.h.in: new file
10982
10983         * Makefile.am: add version_info.h.in
10984
10985         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10986         version_info.h instead of VERSION_INFO
10987
10988 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10989
10990         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10991         The ERT inset now returns string().
10992
10993 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10994
10995         * lyxtext.h, text.C (selectNextWord): renamed as
10996         selectNextWordToSpellcheck.
10997
10998         * text.C (selectNextWordToSpellcheck): Modified to not select
10999         words inside an ERT inset.
11000
11001 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11002
11003         * lyx_cb.C (MenuLayoutSave): change a bit the question
11004
11005         * sp_base.h: include <sys/types.h>
11006
11007 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11008
11009         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11010
11011 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11012
11013         * several files: fix typos in user-visible strings
11014
11015 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11016
11017         * text2.C (pasteSelection): do not set the selection, since it
11018         will be cleared later. Actually, the intent was to fix the way the
11019         selection was set, but I figured rmoving the code was just as good.
11020
11021 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11022
11023         * FontLoader.C (available): Check if font is available without
11024         loading the font.
11025
11026 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11027
11028         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11029
11030 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11031
11032         * lyxrc.[Ch]: added display_graphics variable and associated code.
11033
11034 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11035
11036         * bufferparams.C (hasClassDefaults): new method. Returns true if
11037         the buffer parameters correspond to known class defaults
11038
11039 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11040
11041         * XFormsView.C (show): set minimum size to the main window.
11042
11043 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11044
11045         * text2.C (copySelection):
11046         (cutSelection):
11047         * lyxfind.C (LyXReplace):
11048         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11049         LyXText::selectionAsString.
11050
11051         * paragraph.C (asString): add "label" argument to the second form
11052
11053         * text2.C (selectionAsString): add "label" argument and pass it to
11054         Paragraph::asString.
11055
11056 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11057
11058         * lyx_main.C (commandLineHelp): remove version information
11059
11060 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11061
11062         * lyx_main.C: add -version commandline option
11063
11064 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11065
11066         * paragraph.h: make the optional constructor arg required instead.
11067         some modifications to other files because of this.
11068
11069         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11070
11071         * lyxserver.C (C_LyXComm_callback): make it static
11072
11073         * lyx_main.C (error_handler): make it static
11074
11075         * lyx_gui.C (LyX_XErrHandler): make it static
11076
11077         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11078
11079         * WorkArea.C: make the extern "C" methods static.
11080
11081         * Makefile.am (lyx_LDADD): simplify
11082
11083 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11084
11085         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11086         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11087
11088         * LyXAction.C (init):
11089         * lyxfunc.C (dispatch): associated code removal.
11090
11091 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11092
11093         * lyxfont.h (isSymbolFont): shut off warning
11094
11095         * text.C (setHeightOfRow):
11096         (getVisibleRow): fix crash with empty paragraphs which have a
11097         bottom line
11098
11099 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11100
11101         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11102         code.
11103
11104 2001-09-04  José Matos  <jamatos@fep.up.pt>
11105         * buffer.C
11106         * buffer.h
11107         * tabular.C (docbook): rename docBook method to docbook.
11108
11109 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11110
11111         * Makefile.am: add dependencies to main.o.
11112
11113 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11114
11115         * FontLoader.C (available): Return false if !lyxrc.use_gui
11116
11117 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11118
11119         * FontInfo.C (query):
11120         * converter.C (view):
11121         * importer.C (Import):
11122         * exporter.C (Export): Can not -> cannot.
11123
11124 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11125
11126         * BufferView_pimpl.C: allow to create index inset even if
11127           string is empty
11128
11129 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11130
11131         * buffer.C (getLists): replace boost::tie code with an explicit pair
11132         as boost::tie can break some compilers.
11133
11134         * iterators.h: Added a std:: declaration to the return type of
11135         ParIterator::size.
11136
11137 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11138
11139         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11140           case.
11141
11142 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11143
11144         * iterators.[Ch]: New files. Provide paragraph iterators.
11145
11146         * buffer.C (changeLanguage): Use paragraph iterators.
11147         (isMultiLingual): ditto
11148
11149         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11150
11151 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11152
11153         * FontLoader.C: Support for cmr font.
11154
11155 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11156
11157         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11158         (available): New method.
11159
11160         * FontInfo.C (getFontname): Use scalable fonts even when
11161         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11162         found.
11163
11164 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11165
11166         * converter.C (Formats::view): reverted! Incorrect fix.
11167
11168 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11169
11170         * converter.C (Formats::view): only output the -paper option
11171         if the dvi viewer is xdvi, thereby fixing bug #233429.
11172
11173 2001-08-23  Herbert Voss  <voss@perce>
11174
11175         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11176
11177 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11178
11179         * Spacing.h (Spacing): Set space to Default on in the default
11180         constructor.
11181
11182 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11183
11184         * vc-backend.h (RCS::versionString): add RCS to version
11185         (CVS::versionString): add CVS to version
11186
11187         * vc-backend.C (scanMaster): do not add CVS to version.
11188         (scanMaster): do not add RCS to version
11189
11190         * lyxvc.C (versionString): new method
11191
11192         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11193
11194 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11195
11196         * Spacing.C (set): initialize fval
11197
11198 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11199
11200         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11201         " or \.
11202
11203 2001-08-16  Juergen Vigna  <jug@sad.it>
11204
11205         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11206
11207 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11208
11209         * BufferView_pimpl.C:
11210         * figureForm.C:
11211         * lyxtext.h:
11212         * text2.C: setParagraph takes linespacing now
11213
11214 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11215
11216         * LyxAction.C: add internal LFUN_CITATION_INSERT
11217
11218         * LyXView.C: actually apply fix
11219
11220         * bufferlist.C: fix open non-existent file
11221
11222         * lyxfind.C: fix indentation
11223
11224         * lyxfunc.C: remove unneeded assert, fix typo
11225
11226 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11227
11228         * MenuBackend.C: use "Floatname List"
11229
11230 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11231
11232         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11233         when converting LaTeX layout to insetERT.
11234         Generate a non-collapsed float when reading old float
11235
11236 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11237
11238         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11239         ERT insets.
11240
11241 2001-08-13  Juergen Vigna  <jug@sad.it>
11242
11243         * text.C (fill): return 0 instead of 20 as this seems to be the more
11244         correct value.
11245
11246 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11247
11248         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11249         lyxrc.font_norm.
11250
11251 2001-08-13  Juergen Vigna  <jug@sad.it>
11252
11253         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11254         casesensitive off.
11255         (SearchBackward): comment out the unlocking of the inset_owner this
11256         should not be needed!
11257
11258 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11259
11260         * Many files: Remove inherit_language, and add latex_language
11261
11262         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11263         collapsible insets.
11264
11265 2001-08-10  Juergen Vigna  <jug@sad.it>
11266
11267         * text.C (prepareToPrint): fixed hfill-width in draw!
11268
11269         * BufferView2.C (selectLastWord): save the selection cursor as this
11270         now is cleared in the function LyXText::clearSelection!
11271
11272 2001-08-08  Juergen Vigna  <jug@sad.it>
11273
11274         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11275         BACKSPACE type functions.
11276
11277         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11278         is only cutted from the document but not put in the cut-buffer, where
11279         still the old stuff should be.
11280
11281         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11282
11283         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11284
11285         * tabular.C (SetWidthOfCell): fixed special case where the width
11286         was not updated!
11287         (LeftLine): handle '|' in align_special.
11288         (RightLine): ditto
11289         (LeftAlreadyDrawed): ditto
11290         (SetWidthOfCell): ditto
11291
11292 2001-08-07  Juergen Vigna  <jug@sad.it>
11293
11294         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11295
11296 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11297
11298         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11299         * lyxlex.[hC]: ditto
11300
11301 2001-08-06  Juergen Vigna  <jug@sad.it>
11302
11303         * text.C (getVisibleRow): fix up row clearing a bit.
11304
11305 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11306
11307         * minibuffer.C: make sure the X server sees the changes in the input.
11308
11309 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11310
11311         * paragraph.C (getFont): split into...
11312         (getLabelFont): this
11313         (getLayoutFont): and this
11314         * paragraph_pimpl.C (realizeFont): calling this
11315
11316         * text2.C (getFont): split into...
11317         (getLayoutFont): this
11318         (getLabelFont): and this
11319         (realizeFont): all three calling this
11320
11321         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11322         files where used.
11323
11324 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11325
11326         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11327
11328 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11329
11330         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11331         layouts from the Quote inset insertion.
11332
11333 2001-08-03  Juergen Vigna  <jug@sad.it>
11334
11335         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11336
11337         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11338         only if status not is already CHANGED_IN_DRAW (second level).
11339
11340         * text.C (draw): don't set the need_break_row when inside an
11341         InsetText LyXText.
11342
11343 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11344
11345         * buffer.C (parseSingleLyXformat2Token): handle more latex
11346         conversion cases.
11347
11348         * bufferview_funcs.[hC]: change function names to
11349         begin with small char, adjust other files.
11350
11351 2001-08-02  André Pönitz <poenitz@gmx.net>
11352
11353         * lyxfunc.C:
11354         BufferView_pimpl.C: remove broken special code for math-greek
11355
11356 2001-08-02  Juergen Vigna  <jug@sad.it>
11357
11358         * BufferView_pimpl.C (update): redone this function so that we
11359         update the text again if there was a CHANGE_IN_DRAW.
11360
11361         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11362         (drawFromTo): added a new internal bool which is used by draw() and
11363         redraw() function.
11364         (general): some cursor drawing problems fixed.
11365
11366 2001-08-01  Juergen Vigna  <jug@sad.it>
11367
11368         * lyxfind.C (LyXFind): fixed
11369         (SearchForward): ditto
11370         (SearchBackward): ditto
11371
11372         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11373         spurius drawing of the cursor in the main area.
11374
11375         * text2.C (status): small fix which could lead to a segfault!
11376         (clearSelection): remove unneeded BufferView param.
11377
11378 2001-08-01  André Pönitz <poenitz@gmx.net>
11379
11380         * lyxfunc.C: small change due to changed mathed interface
11381
11382 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11383
11384         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11385
11386 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11387
11388         * lyxfunc.c: fail gracefully if file doesn't exist
11389
11390         * LyXSendto.C:
11391         * buffer.C:
11392         * lyxfunc.C:
11393         * BufferView_pimpl.C: IsDirWriteable() proto changed
11394
11395         * LyXView.C: fix updateWindowTitle() to store the last title
11396
11397 2001-07-31  Juergen Vigna  <jug@sad.it>
11398
11399         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11400         the font (wrong since using of Paragraph::highestFontInRange).
11401
11402         * paragraph.C (highestFontInRange): added a default_size parameter.
11403
11404         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11405         (setHeightOfRow): reformat
11406
11407 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11408
11409         * converter.[hC] + affected files: move to (inital-char)lowercase
11410         function names.
11411
11412         * ParagraphParameters.C (ParagraphParameters): remove commented code
11413
11414         * PainterBase.[Ch]: remove commented code
11415
11416         * LaTeXFeatures.h: add "bool floats" for float.sty
11417
11418         * LaTeXFeatures.C (LaTeXFeatures): init floats
11419         (require): handle float
11420         (getPackages): do it with floats
11421
11422 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11423
11424         * BufferView_pimpl.C (Dispatch): improve handling of
11425         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11426
11427         * commandtags.h: #include lyxfont.h here temporarily to avoid
11428         keybinding bug.
11429
11430         * bufferlist.h: include LString.h here.
11431
11432 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11433
11434         * text2.C (getStringToIndex): new method.
11435
11436 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11437
11438         * *: Reduced header file dependencies all over.
11439
11440 2001-07-30  Baruch Even  <baruch@lyx.org>
11441
11442         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11443
11444 2001-07-29  Baruch Even  <baruch@lyx.org>
11445
11446         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11447
11448 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11449
11450         * ParameterStruct.h (endif): add a default constructor to make
11451         sure that all variables is initialized.
11452
11453         * ParagraphParameters.C (ParagraphParameters): adjust
11454
11455 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11456
11457         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11458         index; also, check that there is something to index, and that it
11459         does not span over several paragraphs.
11460         (doubleClick): use WHOLE_WORD_STRICT for double click.
11461
11462         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11463
11464         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11465         scheme.
11466
11467 2001-07-26  Baruch Even  <baruch@lyx.org>
11468
11469         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11470         an InsetFig figure, backwards compatible reading of old figure code.
11471
11472 2001-07-27  Juergen Vigna  <jug@sad.it>
11473
11474         * text2.C: font.realize function adaption.
11475
11476         * text.C (draw): add a warnings lyxerr text if needed.
11477
11478         * layout.C: font.realize function adaption.
11479
11480         * language.C: add inherit_language and implement it's handlings
11481
11482         * bufferview_funcs.C (StyleReset): remove language parameter from
11483         font creation (should be language_inherit now).
11484
11485         * bufferparams.C (writeFile): handle ignore_language.
11486
11487         * paragraph.C (getFontSettings): the language has to be resolved
11488         otherwise we have problems in LyXFont!
11489
11490         * lyxfont.C (lyxWriteChanges): added document_language parameter
11491         (update): removed unneeded language parameter
11492
11493         * paragraph.C (validate): fixed wrong output of color-package when
11494         using interface colors for certain fonts in certain environments,
11495         which should not seen as that on the final output.
11496
11497 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11498
11499         * BufferView_pimpl.C:
11500         * Thesaurus.h:
11501         * Thesaurus.C:
11502         * Makefile.am:
11503         * commandtags.h:
11504         * LyXAction.C: add thesaurus support
11505
11506         * lyxfind.h:
11507         * lyxfind.C: add "once" parameter, for thesaurus, to not
11508           move to the next match
11509
11510 2001-07-26  Juergen Vigna  <jug@sad.it>
11511
11512         * lyxfont.C (realize): honor ignore_language too!
11513         (resolved): ditto.
11514
11515         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11516
11517         * text.C (draw): one place more for ignore_language to not draw
11518         itself!
11519
11520 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11521
11522         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11523
11524 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11525
11526         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11527         the minipage conversion problem.
11528
11529 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11530
11531         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11532         insert an inset.
11533
11534 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11535
11536         * BufferView.h: don't forward declare WorkArea
11537
11538         * BufferView.C: don't include WorkArea.h
11539
11540 2001-07-25  André Pönitz <poenitz@gmx.net>
11541
11542         * commandtags.h:
11543         * LyXAction.C:
11544         * lyxfunc.C:  new LFUN 'math-space'
11545
11546         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11547
11548 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11549
11550         * text2.C (toggleInset): call open/close
11551
11552 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11553
11554         * lyxfunc.C (dispatch): add debug for the disabled case
11555
11556         * font.C (buttonText): make similar to rectText
11557
11558         * buffer.C (readInset): comment out parsing of insetlist and
11559         insttheorem
11560
11561         * PainterBase.C (rectText): small correction
11562
11563         * BufferView_pimpl.C: comment out insettheorem and insetlist
11564         * LyXAction.C: ditto
11565         * commandtags.h: ditto
11566
11567 2001-07-24  Juergen Vigna  <jug@sad.it>
11568
11569         * text.C (draw): honor the ignore_language.
11570
11571         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11572
11573 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11574
11575         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11576         char inset.
11577
11578 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11579
11580         * lyxtext.h: remove unused (and unimplemented) methods
11581
11582 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11583
11584         * text.C (getVisibleRow): honor background color
11585
11586         * PainterBase.h:
11587         * Painter.h: remove default color argument for fillRectangle
11588
11589         * text.C (backgroundColor): new method
11590
11591 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11592
11593         * text.C (getVisibleRow): adjust
11594
11595         * font.[Ch] (rectText): new method, metrics
11596         (buttonText): new method, metrics
11597
11598         * PainterBase.[hC]: make rectText and buttonText always draw and take
11599         fewer paramteres.
11600
11601 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11602
11603         * ToolbarDefaults.C (read):
11604         * MenuBackend.C (read): allow escaping in all strings
11605
11606         * BufferView_pimpl.C (insertAndEditInset): new method.
11607         (Dispatch): use insertAndEditInset whenever appropriate.
11608
11609         * BufferView_pimpl.C (insertNote): removed
11610
11611         * BufferView_pimpl.C (smartQuote): new method, moved from
11612         BufferView; if an insetquote cannot be inserted, insert a '"'
11613         character instead.
11614
11615         * BufferView2.C: remove insertCorrectQuote();
11616
11617         * lyxfunc.C (getStatus): Add support for all remaingin
11618         inset-insert lfuns.
11619
11620         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11621
11622         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11623         command (necessary to pass " as parameter of self-insert.
11624
11625         * text.C (selectWordWhenUnderCursor):
11626         (selectWord): add word_location parameter
11627         (selectWordWhenUnderCursor): same + remove special code for word
11628         boundary.
11629         (selectNextWord): use kind() to guess type of insetspecialchar,
11630         not latex().
11631
11632         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11633         (insertErtContents): create ert insets as collapsed.
11634         (readInset): better compatibility code for Info inset.
11635
11636 2001-07-20  Juergen Vigna  <jug@sad.it>
11637
11638         * lyxfunc.C (dispatch): use always LyXFind now!
11639
11640         * text2.C (init): add a reinit flag so that the LyXText can be
11641         reinited instead of deleted and reallocated (used in InsetText).
11642
11643         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11644
11645         * text.C: ditto
11646
11647         * text2.C: ditto
11648
11649 2001-07-18  Juergen Vigna  <jug@sad.it>
11650
11651         * text.C (selectNextWord): handle insets inside inset by calling
11652         always the bv->text functions so that we can go up the_locking_inset!
11653
11654         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11655         in strange locations when inside an inset!
11656
11657         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11658         handling to include insets.
11659
11660         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11661
11662 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11663
11664         * LyXAction.C (init):
11665         * commandtags.h:
11666         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11667         LIGATURE_BREAK, since the name is so stupid.
11668
11669 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11670
11671         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11672         InsetInfos.
11673
11674         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11675
11676         * sp_form.[Ch]: remove.
11677
11678         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11679
11680         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11681         InsetInfo.
11682
11683         * src/buffer.C (readInset): ditto.
11684
11685 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11686
11687         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11688         menuSeparator(), endOfSentenceDot(), ldots() and
11689         hyphenationPoint(), which are therefore removed.
11690         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11691
11692         * LyXAction.C (init):
11693         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11694
11695         * paragraph.C (getWord): removed.
11696
11697         * BufferView_pimpl.C (Dispatch): use last word or selection for
11698         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11699
11700         * lyx_main.C (queryUserLyXDir): do not ask before creating
11701         user_dir, except if it has been named explicitely.
11702
11703 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11704
11705         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11706         a document of zero size.
11707
11708 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11709
11710         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11711         approriately in the c-tor and in require().
11712         (getPackages): output the appropriate LaTeX for natbib support.
11713
11714         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11715         variables "use_natbib" and "use_numerical_citations" when reading the
11716         LyX file.
11717         (readInset): read the various natbib cite commands.
11718         (validate): white-space change.
11719
11720         * bufferparams.[Ch]: new variables "bool use_natbib" and
11721         "bool use_numerical_citations".
11722         (writeFile): output them in the LyX file.
11723
11724 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11725
11726         * lyxfunc.C (getStatus): add support for all the inset insertion
11727         commands.
11728
11729         * text2.C (insertInset):
11730         * paragraph.C (insetAllowed):
11731         * BufferView_pimpl.C (insertInset): update to take in account the
11732         renaming of insertInsetAllowed
11733
11734         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11735
11736         * text2.C (getInset): new method. returns inset at cursor position.
11737
11738         * BufferView_pimpl.C (Dispatch): changes because of this.
11739
11740         * LyXAction.C (init): rename open-stuff to inset-toggle.
11741
11742         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11743
11744         * text2.C (toggleInset): renamed from openStuff; use
11745         Inset::open().
11746
11747 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11748
11749         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11750
11751         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11752
11753 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11754
11755         * buffer.C (readLyXformat2): Add filename to the error dialog
11756
11757 2001-07-18  Juergen Vigna  <jug@sad.it>
11758
11759         * tabular.C (GetCellNumber): put an assert here instead of the check!
11760
11761 2001-07-17  Juergen Vigna  <jug@sad.it>
11762
11763         * BufferView_pimpl.C (toggleSelection): adapted too.
11764
11765         * text.C (selectNextWord): adapted for use with insets.
11766         (selectSelectedWord): ditto
11767
11768 2001-07-17  Juergen Vigna  <jug@sad.it>
11769
11770         * sp_spell.C (PSpell): fix initialitation order.
11771
11772 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11773
11774         * paragraph.C: spacing
11775
11776 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11777
11778         * sp_spell.C: repair language selection for pspell
11779
11780 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11781
11782         * lyxfunc.h: change more methods to begin with lower char.
11783
11784 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11785
11786         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11787         for unknown layouts.
11788
11789 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11790
11791         * buffer.C (readLyXformat2): Generate an error dialog if there are
11792         unknown layouts.
11793
11794 2001-07-16  Juergen Vigna  <jug@sad.it>
11795
11796         * sp_spell.C: always compile ISpell part.
11797
11798         * lyxrc.C: added use_pspell entry and it's handling.
11799
11800 2001-07-13  Juergen Vigna  <jug@sad.it>
11801
11802         * sp_spell.C: removed double includes.
11803
11804 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11805
11806         Consistent use of Lsstream.h:
11807         * Lsstream.h: added using std::stringstream for consistencies sake.
11808
11809         * buffer.C: removed using std::stringstream
11810
11811         * lyxfont.C (stateText):
11812         * paragraph.C (asString):
11813         * text.C (selectNextWord, selectSelectedWord):
11814         * text2.C (setCounter):
11815         * vspace.C (asString, asLatexString):
11816         std::ostringstream -> ostringstream.
11817
11818 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11819
11820         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11821         * commandtags.h: add LFUN_HELP_ABOUTLYX
11822         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11823
11824 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11825
11826         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11827         cursorToggle()
11828         * lyx_gui_misc.C: remove spellchecker
11829         * lyxfunc.C: showSpellchecker
11830         * sp_base.h: added
11831         * sp_ispell.h: added
11832         * sp_pspell.h: added
11833         * sp_spell.C: added
11834         * sp_form.[Ch]: removed
11835         * spellchecker.[Ch]: removed
11836
11837 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11838
11839         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11840         is set.
11841         (simpleTeXSpecialChars): Simply print the input character without
11842         any special translation if pass_thru is set.
11843
11844         * layout.h: Added bool pass_thru to layout class for being able to
11845         implement pass through of a paragraph for Literate Programming.
11846
11847         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11848         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11849         * layout.C (Read): add "passthru" to list of layout tags and add
11850         code to set the pass_thru boolean when it is read.
11851
11852 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11853
11854         * trans_decl.h: remove allowed from KmodInfo
11855
11856         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11857         remove allowed code
11858         (Load): adjust
11859
11860         * paragraph_pimpl.C (erase): use boost::prior
11861
11862         * Painter.C (text): use data() instead of c_str() when length is
11863         also provided.
11864         * WorkArea.C (putClipboard): ditto
11865         * font.h (width): ditto
11866
11867         * BufferView2.C: use it-> instead of (*it). for iterators
11868         * texrow.C: ditto
11869         * paragraph_pimpl.C: ditto
11870         * paragraph.C: ditto
11871         * minibuffer.C: ditto
11872         * language.C: ditto
11873         * kbmap.C: ditto
11874         * encoding.C: ditto
11875         * counters.C: ditto
11876         * converter.C: ditto
11877         * chset.C: ditto
11878         * Variables.C: ditto
11879         * TextCache.C: ditto
11880         * MenuBackend.C: ditto
11881         * LyXAction.C: ditto
11882         * LColor.C: ditto
11883         * FloatList.C: ditto
11884         * DepTable.C: ditto
11885         * ColorHandler.C (LyXColorHandler): ditto
11886
11887 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11888
11889         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11890
11891         * text2.C (openStuff): reintroduce this method (which had been
11892         nuked in NEW_INSETS frenzy).
11893
11894         * lyxfunc.C (Dispatch): when an action has not been handled, use
11895         its name in the error message, not its number.
11896
11897         * paragraph.C (inInset): change method name to begin with lowercase.
11898
11899         * undo_funcs.C:
11900         * text2.C: updates because of this.
11901
11902 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11903
11904         * ToolbarDefaults.C (add): add spaces in error message
11905
11906 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11907
11908         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11909         (readLyXformat2): rename return_par to first_par, use lyxlex's
11910         pushToken and remove the manual push handling.
11911         (parseSingleLyXformat2Token): add another ert comp. variable:
11912         in_tabular, rename return_par to first_par. handle newlines better
11913
11914 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11915
11916         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11917
11918 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11919
11920         * text2.C (getParFromID): removed
11921
11922         * buffer.C (getParFromID): new method moved form lyxtext.
11923         * BufferView2.C (insertErrors): adjust
11924         (setCursorFromRow): adjust
11925         * BufferView_pimpl.C (restorePosition): adjust
11926         * lyxfunc.C (Dispatch): adjust
11927         * undo_funcs.C (textUndo): adjust
11928         (textRedo): adjust
11929         (textHandleUndo): adjust
11930         (textHandleUndo): adjust
11931
11932 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11933
11934         * buffer.C: up' the LYX_FORMAT
11935
11936         * lyxfont.h: turn NO_LATEX on as default
11937
11938         * buffer.C (insertErtContents): new methods of tex style compability.
11939         (parseSingleLyXformat2Token): use it several places.
11940         * tabular.C (OldFormatRead): and here
11941
11942 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11943
11944         * text2.C: remove some commented code.
11945         reindent file.
11946
11947         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11948         * trans.C: changes because of the above.
11949
11950 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11951
11952         * text2.C (setCounter): Fix counters bug with bibliography layout.
11953
11954 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11955
11956         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11957         own member functions
11958         (simpleTeXSpecialChars): ditto
11959
11960 2001-07-06  Juergen Vigna  <jug@sad.it>
11961
11962         * a lot of files: changed the access to LyXText::status and the
11963         call of undo-functions.
11964
11965         * undo.[Ch]: added a inset_id to the undo informations.
11966
11967         * undo_funcs.[Ch]: added and moved here all undo functions.
11968
11969         * lyxtext.h: give the status enum a weight, made status_ a private
11970         variable and made accessor functions for it, removed the whole bunch
11971         of undo-functions as they are now in their own file, make some
11972         functions publically available. Added function ownerParagraph with
11973         int parameter.
11974
11975         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11976         made InInset() a const function, added getParFromID() function.
11977
11978         * buffer.[Ch]: added const version for inset_iterator functions,
11979         added getInsetFromID() function.
11980
11981         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11982         changed undo functions for new version.
11983
11984 2001-07-05  Juergen Vigna  <jug@sad.it>
11985
11986         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11987         unknow mechanism does not call the proper constructor but only this
11988         one also if I request the other!?
11989
11990 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11991
11992         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11993
11994         * text2.C (LyXText): use initialization lists.
11995
11996         * lyxtext.h (Selection): initialize set_ and mark_
11997         (init): remove method
11998
11999 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12000
12001         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12002
12003 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12004
12005         * screen.[Ch]: change method names to begin with lowercase
12006
12007         * BufferView_pimpl.C (updateScrollbar): simplify further and
12008         hopefully make it a bit faster.
12009
12010 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12011
12012         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12013         calling directly xforms functions.
12014
12015         * Painter.C (Painter):
12016         * lyx_cb.C (MenuWrite):
12017         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12018         fl_display.
12019
12020         * lyx_gui.C: remove bogus guiruntime extern declaration.
12021
12022 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12023
12024         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12025         in NEW_INSETS
12026         (redoDrawingOfParagraph): ditto
12027         (redoParagraphs): ditto
12028         (cutSelection): don't create a object for CutAndPaste use the
12029         static method directly
12030         (pasteSelection): ditto
12031
12032         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12033         LyXview (+ rename)
12034
12035 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12036
12037         * modifications to some other files because of this.
12038
12039         * Makefile.am (lyx_SOURCES): add XFormsView
12040
12041         * XFormsView.[Ch]: new files
12042
12043         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12044         the main window. Move the gui dependent stuff to XFormsView
12045
12046 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12047
12048         * tabular.C (GetCellInset): update cur_cell also in the row/col
12049         version of this function.
12050
12051         * lyxfunc.C: no need to include figure_form.h here.
12052
12053         * FontLoader.h:
12054         * lyxfunc.h:
12055         * lyxscreen.h:
12056         * text2.C:
12057         * lyxvc.C: no need to include forms.h here.
12058
12059 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12060
12061         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12062
12063         * lyxfunc.C (Dispatch):
12064         * Spacing.C (set):
12065         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12066         constructor argument.
12067
12068 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12069
12070         * paragraph.C (Paragraph): dont't clear, and just set layout.
12071         (makeSameLayout): use params's copy contructor.
12072
12073         * ParagraphParameters.[Ch] (makeSame): delete method
12074
12075 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12076
12077         * Variables.[Ch]: fix indentation, rename set to isSet
12078
12079 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12080
12081         * lyxfunc.C (Dispatch): fix typo
12082
12083 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12084
12085         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12086         upper_bound.
12087
12088         * bufferlist.C: include assert.h for emergencyWrite().
12089
12090 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12091
12092         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12093           give up at last (bug #425202) !
12094
12095 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12096
12097         * lyx_gui_misc.C:
12098         * sp_form.h:
12099         * sp_form.C:
12100         * spellchecker.h:
12101         * spellchecker.C: strip spellchecker options and bring up
12102           preferences tab instead
12103
12104 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12105
12106         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12107         the istringstream constructor
12108
12109 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12110
12111         * paragraph.C (getLayout): fix return value
12112
12113         * paragraph.h: do not declare getLayout as inline.
12114
12115         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12116
12117 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12118
12119         * lyxcursor.h (operator<): new func
12120         (operator>): new func
12121         (operator>=): new func
12122         (operator<=): new func
12123
12124         * text.C (changeCase): use selection.start and selection.end
12125         (changeRegionCase): require from to be <= to. Require par to be a
12126         valid paragraph.
12127
12128         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12129
12130 2001-06-27  Juergen Vigna  <jug@sad.it>
12131
12132         * text.C (cursorLeftOneWord): changed to return the cursor and added
12133         overlay with BufferView * parameter which calls this one.
12134         (getWord): added
12135         (selectWord): use new getWord function.
12136         (changeCase): renamed from changeWordCase as and extended to work
12137         also on selections.
12138
12139         * lyxtext.h: added enum word_location
12140
12141         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12142         changeCase as this operates now also on selections.
12143
12144 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12145
12146         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12147
12148         * many files: send debug output to Debug::INFO instead of
12149         Debug::ANY.
12150
12151         * converter.C (View):
12152         (Convert):
12153         (Move): send debug output to Debug::FILES instead of console.
12154
12155 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12156
12157         * lyxfunc.C (getStatus): use func_status
12158
12159         * func_status.h: new header, describing the results of
12160         LyXFunc::getStatus;
12161
12162         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12163         LFUN_MATH_HALIGN.
12164
12165 2001-06-25  The LyX Project  <jug@sad.it>
12166
12167         * buffer.C (sgmlOpenTag):
12168         (sgmlCloseTag):
12169         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12170
12171 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12172
12173         * text2.C: remove some dead code
12174
12175         * tabular.C (GetCellInset): store the last cell checked (gotten)
12176
12177         * tabular.h: add the helper for the speedup
12178
12179         * lyxtext.h: remove some dead code
12180
12181 2001-06-26  The LyX Project  <Asger>
12182
12183         * paragraph.C: Change export to LaTeX of alignment to
12184         \begin{center} and family for better roundtrip work with reLyX.
12185
12186         * Tune the math drawing a bit.
12187
12188 2001-06-25  The LyX Project  <Asger>
12189
12190         * LColor.C (LColor): New color for math background. New color
12191         for buttons.
12192
12193 2001-06-25  The LyX Project  <jug@sad.it>
12194
12195         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12196
12197         * lyxfunc.C (Open):
12198         * bufferlist.C (newFile): do not restrict to files ending with
12199         .lyx
12200
12201         * BufferView_pimpl.C (MenuInsertLyXFile):
12202
12203 2001-06-24  The LyX Project  <jug@sad.it>
12204
12205         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12206         of compare_no_case
12207
12208 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12209
12210         * lyxtext.h: rename most methods to begin with a small char.
12211         Lots of changes because of this.
12212
12213         * paragraph.C (Paragraph): do not call fitToSize
12214         (erase): call Pimpl::erase
12215         (insertChar): call Pimpl::insertChar
12216         (insertInset): call Pipl::insertInset
12217         (breakParagraph): do not call fitToSize
12218         (breakParagraphConservative): do not call fitToSize
12219         (fitToSize): remove method
12220
12221         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12222
12223 2001-06-24  The LyX Project  <Asger>
12224
12225         * Fix Qt compilation^2
12226
12227 2001-06-24  The LyX Project  <jug@sad.it>
12228
12229         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12230         depthHook(getDepth()-1).
12231
12232         * paragraph.h:
12233         * ParagraphParameters.h:
12234         * ParameterStruct.h: change type of depth to unsigned int ==
12235         depth_type. Many adaptations to other files before of that.
12236
12237 2001-06-24  The LyX Project  <Asger>
12238
12239         * Fix Qt compilation.
12240
12241 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12242
12243         * paragraph.h: renamed several methods to begin with small letter.
12244         several changes to many parts of the code because of this.
12245
12246 2001-06-23  The LyX Project  <jug@sad.it>
12247
12248         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12249         rewritten to discard all double spaces when KeepEmpty is off
12250         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12251         to only handle newlines but not fiddle with spaces and friends.
12252
12253         * lyxfunc.C (MenuNew): when doing 'new from template', use
12254         template_path as default directory
12255
12256 2001-06-23  The LyX Project  <Asger>
12257
12258         * Clean-up of header file includes all over
12259         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12260
12261 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12262
12263         * paragraph.h: renamed from lyxparagraph.h
12264
12265 2001-06-23  Asger  <lyx@violet.home.sad.it>
12266
12267         * Buffer.h: Removed Buffer::resize
12268         * BufferList.h: Removed BufferList::resize
12269         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12270         the document lazily when we change the width, or the font settings.
12271
12272 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12273
12274         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12275
12276 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12277
12278         * buffer.h: remove out of date comment
12279
12280 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12281
12282         * lyxscreen.h:
12283         * screen.C: fix "theoretical" GC leak
12284
12285 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12286
12287         * LaTeX.C (scanAuxFile):
12288         (deplog): remove trailing \r when reading stream (useful under
12289         win32)
12290
12291 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12292
12293         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12294         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12295         and BufferView::theLockingInset(Inset*), so should use them and not
12296         access bv_->text->the_locking_inset directly.
12297
12298         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12299
12300 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12301
12302         * Makefile.am:
12303         * tex-defs.h: remove old unused file
12304
12305 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12306
12307         * BufferView_pimpl.C: fix typo, remove minibuffer message
12308           when buffer has loaded
12309
12310 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12311
12312         * lyxfunc.C (Dispatch): use stringstream
12313         (MenuNew): use stringstream
12314         (Open): use stringstream
12315
12316         * importer.C (Import): use stringstream
12317
12318         * bufferview_funcs.C (CurrentState): use stringstream
12319
12320         * LaTeX.C (run): use stringstream
12321
12322         * BufferView_pimpl.C (savePosition): use stringstream
12323         (restorePosition): use stringstream
12324         (MenuInsertLyXFile): use stringstream
12325
12326 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12327
12328         * BufferView.C:
12329         * Bullet.C:
12330         * ColorHandler.C:
12331         * FontInfo.C:
12332         * FontLoader.C:
12333         * LColor.C:
12334         * LaTeXFeatures.C:
12335         * Painter.C:
12336         * gettext.C:
12337         * lyx_gui_misc.C:
12338         * lyxserver.C:
12339         * vspace.C: removed // -*- C++ -*- as first line.
12340
12341         * lyxfind.h:
12342         * version.h: added // -*- C++ -*- as first line.
12343
12344 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12345
12346         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12347
12348         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12349         of string
12350
12351 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12352
12353         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12354         of floats.
12355
12356 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12357
12358         * gettext.C: include LString.h even when --disable-nls is on.
12359
12360 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12361
12362         * converter.h (Get): changed argument type from int to
12363         FormatList::size_type to avoid unnecessary conversion.
12364
12365         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12366         before using it.
12367
12368 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12369
12370         * gettext.h: include LString.h even when --disable-nls is on.
12371
12372 2001-06-07  Juergen Vigna  <jug@sad.it>
12373
12374         * text.C (BreakAgain): subst spaces with tabs.
12375
12376         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12377         (resizeInsetsLyXText): set force on resizeLyXText.
12378
12379 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12380
12381         * gettext.h (gettext_init):
12382         (locale_init): use a real definition instead of a macro
12383
12384 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12385
12386         * Bufferview_pimpl.C:
12387         * LColor.h:
12388         * LColor.C: further lcolor tidies
12389
12390 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12391
12392         * BufferView_pimpl.C (updateScrollbar): simplify.
12393
12394         * BufferView2.C: don't include insets/insetinfo.h, change
12395         prototype for insertInset and call the Pimpl version. let
12396         updateInset call Pimpl version.
12397
12398         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12399         gotoInset to BufferView::Pimpl
12400
12401 2001-06-01  Juergen Vigna  <jug@sad.it>
12402
12403         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12404         inside a LockingInset (is the update needed at all?).
12405
12406 2001-05-31  Juergen Vigna  <jug@sad.it>
12407
12408         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12409         here not the old one otherwise how should we compare it afterwards
12410         if it's the same!
12411
12412 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12413
12414         * lyxfont.C:
12415         * tabular.C:
12416         * tabular-old.C:
12417         * FontInfo.C: bring C functions into global namespace when
12418         necessary
12419
12420 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12421
12422         * LString.h: make sure config.h has been loaded before LString.h.
12423
12424         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12425         (one for each char read by EatLine!).
12426
12427         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12428         variables.
12429
12430 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12431
12432         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12433         to the same as the par we break from
12434
12435 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12436
12437         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12438
12439         * MenuBackend.C (expand): also create menu entries for wide
12440         versions of the floats.
12441
12442         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12443
12444         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12445
12446         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12447         frontends/Makefile.am
12448
12449         * text2.C: adjust
12450         * text.C: adjust
12451
12452
12453         * tabular.C (getTokenValue): add std::
12454
12455         * tabular-old.C (getTokenValue): add std::
12456         (getTokenValue): ditto
12457         (getTokenValue): ditto
12458
12459         * screen.C (ToggleSelection): adjust
12460
12461         * lyxtext.h: put selection cursors inside a Selection struct.
12462
12463         * lyxfunc.C (moveCursorUpdate): adjust
12464
12465         * lyxfont.C (latexWriteStartChanges): add std::
12466
12467         * lyxfind.C: adjust
12468
12469         * font.h: delete with(char const *, LyXFont const &)
12470
12471         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12472
12473         * FontInfo.C (getFontname): add std::
12474
12475         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12476         (workAreaButtonPress): adjust
12477         (tripleClick): adjust
12478         (update): adjust
12479         (moveCursorUpdate): adjust
12480         (Dispatch): adjust
12481
12482         * BufferView2.C (gotoInset): adjust
12483
12484 2001-05-30  Juergen Vigna  <jug@sad.it>
12485
12486         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12487         to check pspell I add this as default as I now have new pspell
12488         libraries and they seem to use this.
12489
12490 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12491
12492         * text2.C (CutSelection): make the cursor valid before the call to
12493         ClearSelection.
12494
12495 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12496
12497         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12498         relied on 0 terminated strings and other horrors. Bug found due to
12499         the new assert in lyxstring!
12500
12501         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12502         KP_ keys.
12503
12504 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12505
12506         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12507         to latinkeys.bind.
12508
12509         * lyxfunc.C (processKeySym): change method of getting to the
12510         self-insert char.
12511
12512         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12513         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12514         * BufferView_pimpl.[Ch]: here as private methods.
12515
12516 2001-05-28  Juergen Vigna  <jug@sad.it>
12517
12518         * text.C (SetHeightOfRow): added the update() call again as it is
12519         needed to initialize inset dimensions!
12520
12521 2001-05-16  Juergen Vigna  <jug@sad.it>
12522
12523         * text2.C (SetCharFont): Add new function with BufferView * and
12524         bool toggleall parameters for setting insets internal fonts.
12525         (SetFont): Freeze the undo as we may change fonts in Insets and
12526         all this change should be inside only one Undo!
12527
12528         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12529         setting font's in insets as for them we have the SetFont function!
12530
12531 2001-05-15  Juergen Vigna  <jug@sad.it>
12532
12533         * text2.C (ClearSelection): to be sure we REALLY don't have any
12534         selection anymore!
12535
12536         * tabular.C (TeXCellPreamble): fixed the left border problem for
12537         multicolumn cells.
12538
12539 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12540
12541         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12542         dependancy file
12543
12544 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12545
12546         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12547         LFUN_BREAKPARAGRAPH.
12548
12549         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12550         help test to "internal only", similar for LFUN_INSERT_URL
12551
12552         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12553         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12554         auto_region_delete and deadkeys.
12555
12556 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12557
12558         * LColor.h:
12559         * LColor.C: remove some dead entries, tidy a little
12560
12561 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12562
12563         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12564         commented code.
12565         (Dispatch): implement LFUN_ESCAPE
12566
12567         * commandtags.h: add LFUN_ESCAPE
12568
12569         * LyXAction.C (init): add entry for LFUN_ESCAPE
12570
12571         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12572         Remove commented code.
12573         (insertNote): moved here
12574         (open_new_inset): moved here
12575
12576         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12577         BufferView_pimpl
12578
12579 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12580
12581         * kbmap.C (findbinding): clean it up and make it work correctly.
12582
12583         * lyx_main.C (init): do not pass argc and argv as parameters
12584
12585 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12586
12587         * buffer.C: fix path for OS/2 & Win32
12588
12589         * lyx_gui.C:
12590         * lyx_main:
12591         * lyx_main.C: Added os:: class.
12592
12593         * os2_defines.h: update
12594
12595 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12596
12597         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12598         better by trying again with reduced state.
12599
12600 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12601
12602         * lyxrc.C (read): print error about invalid key sequence only when
12603         debugging (because not all latinX keysyms are known to some X
12604         servers)
12605
12606         * kbsequence.C (getiso): add a few std:: qualifiers
12607         (getiso): comment out extra return statement.
12608
12609 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12610
12611         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12612         handling.
12613         (Dispatch): enhance the accent inset a bit. (not perfect)
12614
12615 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12616
12617         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12618
12619 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12620
12621         * bufferlist.C (emergencyWrite): fix assert() call
12622
12623 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12624
12625         * text.C (InsertChar): Added trivial patch to only send the "you
12626         can not do multiple spaces this way" message once during a
12627         session.
12628
12629 2001-05-08  Baruch Even  <baruch@lyx.org>
12630
12631         * Makefile.am: Changed order of libraries to get LyX to link properly
12632         with the gnome frontend.
12633
12634 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12635
12636         * LaTeXFeatures.h: add a std:: qualifier
12637
12638 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12639
12640         * paragraph.C (String): use stringstream
12641
12642 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12643
12644         * paragraph.C (writeFile): remove footflag arg
12645
12646         * buffer.C (makeLaTeXFile): use stringstream
12647         (latexParagraphs): remove footnot gurba
12648
12649         * LaTeXFeatures.C (getPackages): use stringstream
12650         (getMacros): likewise
12651         (getTClassPreamble): likewise
12652         (getFloatDefinitions): new method
12653
12654         * paragraph.C (writeFile): reindent
12655         (Erase): reindent
12656
12657         * WorkArea.h: revert the xpos + etc changes.
12658
12659         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12660
12661         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12662
12663         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12664         (pasteSelection): likewise
12665         * text2.C (CreateUndo): likewise
12666
12667 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12668
12669         * minibuffer.C (peek_event): temporarily reduce the functionality
12670         of the minibuffer (to allow args on lfuns)
12671
12672         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12673         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12674
12675         * buffer.C (readInset): add compability reading of old float
12676         lists, add reading of new style float list.
12677         (readInset): avoid reevaluation of inscmd.getCmdName()
12678         (getLists): reindent
12679
12680         * MenuBackend.C (MenuItem): implement parsing of
12681         md_floatlistinsert and md_floatinsert.
12682         (expand::LastFiles): move initalizaton of iterators out of loop,
12683         avoid reevaluation.
12684         (expand::Documents): introduce typdedef vector<string> Strings,
12685         and use it.
12686         (expand::ExportFormats): introduce typedef vector<Format const *>
12687         Formats, and use it.
12688         (expand): implement FloatListInsert and FloatInsert.
12689
12690         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12691         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12692         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12693
12694         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12695         handling.
12696         (Dispatch::LFUN_FLOAT_LIST): implement
12697
12698 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12699
12700         * LaTeX.C (run): Fix problem with --export code.
12701
12702 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12703
12704         * BufferView.[Ch] (workarea): removed.
12705         (getClipboard) new method; wrapper for workarea()->getClipboard()
12706
12707         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12708         bug.
12709
12710         * WorkArea.h (width, height, xpos, ypos): These methods all
12711         returned the dimensions of the work_area sub-area of WorkArea,
12712         resulting in a position error if the WorkArea were resized. Now
12713         return the dimensions of the entire WorkArea.
12714
12715         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12716
12717 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12718
12719         * LaTeX.C (deplog): correct the syntax of regex reg1
12720
12721 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12722
12723         * undo.C: remove !NEW_INSETS cruft
12724
12725 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12726
12727         * text2.C: remove !NEW_INSETS cruft
12728
12729         * text.C: remove !NEW_INSETS cruft
12730
12731         * tabular.C: remove !NEW_INSETS cruft
12732
12733         * spellchecker.C: remove !NEW_INSETS cruft
12734
12735         * lyxtext.h: remove !NEW_INSETS cruft
12736
12737         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12738
12739         * lyxfunc.C: remove !NEW_INSETS cruft
12740
12741         * lyxfind.C: remove !NEW_INSETS cruft
12742
12743         * lyx_cb.C: remove !NEW_INSETS cruft
12744
12745         * figureForm.C: remove  !NEW_INSETS cruft
12746
12747         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12748
12749         * buffer.[Ch]: remove !NEW_INSETS cruft
12750
12751         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12752
12753         * CutAndPaste.C: remove !NEW_INSETS cruft
12754
12755         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12756
12757         * BufferView2.C: remove !NEW_INSETS cruft
12758
12759         * BufferView.h: remove !NEW_INSETS cruft
12760
12761 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12762
12763         * Lsstream.h: include LString.h before the sstream headers to
12764         fix problem with gcc 2.95.3 and lyxstring
12765
12766 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12767
12768         * lyx_main.C: add using directives when needed for C functions
12769         declared in std:: namespace.
12770
12771 2001-04-27  Juergen Vigna  <jug@sad.it>
12772
12773         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12774         (SetHeightOfRow): comment out the update call should not be needed!
12775
12776 2001-04-13  Juergen Vigna  <jug@sad.it>
12777
12778         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12779         (LyXTabular): tried to minimize operator= operations (and realized
12780         hopfully Lars wish).
12781
12782 2001-04-27  Juergen Vigna  <jug@sad.it>
12783
12784         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12785
12786 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12787
12788         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12789
12790         * buffer.C (readInset): hack to make listof algorithm work
12791
12792         * BufferView_pimpl.C: hack to make listof algorithm work
12793
12794 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12795
12796         * LyXAction.C: removed all !NEW_INSETS cruft
12797         (init): moved lfun_item in method
12798
12799         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12800
12801 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12802
12803         * BufferView2.C (theLockingInset): white space.
12804
12805 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12806
12807         * minibuffer.C: include <iostream>
12808
12809         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12810
12811         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12812
12813         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12814
12815         * text.[Ch] (TransposeChars): new method
12816
12817 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12818
12819         * call message directly through LyXView instead of through LyXFunc
12820         * BufferView2.C: adjust
12821         * BufferView_pimpl.C: adjust
12822         * FontLoader.C: adjust
12823         * buffer.C: adjust
12824         * bufferview_funcs.C: adjust
12825         * converter.C: adjust
12826         * figureForm.C: adjust
12827         * importer.C: adjust
12828         * lyx_cb.C: adjust
12829         * lyx_gui_misc.C: adjust
12830         * lyxfunc.C: adjust
12831         * lyxvc.C: adjust
12832         * text2.C: adjust
12833         + more files in subdirs
12834
12835         * lyxparagraph.h (size): move up int file
12836         (GetLayout): ditto
12837
12838         * adjust all uses of Assert to lyx::Assert.
12839
12840         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12841         lyxfunctional in namespace lyx
12842         * layout.C (hasLayout): ditto
12843         (GetLayout): ditto
12844         (GetLayout): ditto
12845         (delete_layout): ditto
12846         (NumberOfClass): ditto
12847         * converter.C (GetFormat): ditto
12848         (GetNumber): ditto
12849         (Add): ditto
12850         (Delete): ditto
12851         (SetViewer): ditto
12852         * bufferlist.C (getFileNames): ditto
12853         (emergencyWriteAll): ditto
12854         (exists): ditto
12855         (getBuffer): ditto
12856         * MenuBackend.C (hasSubmenu): ditto
12857         (hasMenu): ditto
12858         (getMenu): ditto
12859         * BufferView_pimpl.C (getInsetByCode): ditto
12860
12861 2001-04-18  Juergen Vigna  <jug@sad.it>
12862
12863         * vspace.C (asLatexString): fixed the 100% problem.
12864
12865 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12866
12867         * lyxfunc.C (Dispatch):
12868         * minibuffer.C:
12869         * minibuffer.h: add a few std:: qualifiers
12870
12871 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12872
12873         * minibuffer.[Ch]: reimplement so that commands is initiated and
12874         run from lyxfunc, simplified som handling, and made the completion
12875         and history code for complete. wip.
12876
12877         * lyxfunc.C (processKeySym): call message
12878         (miniDispatch): new temporary method
12879         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12880         (LFUN_MESSAGE): implement
12881         (LFUN_MESSAGE_PUSH): implement
12882         (LFUN_MESSAGE_POP): implement
12883         (initMiniBuffer): the initial/defualt minibuffer message.
12884
12885         * lyxfont.[Ch]: inline some more getters
12886
12887         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12888
12889         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12890
12891         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12892         (AutoSave): use LFUN_MESSAGE
12893         (Reconfigure): ditto
12894
12895         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12896
12897         * figureForm.C: use LFUN_MESSAGE
12898
12899         * converter.C (runLaTeX): use LFUN_MESSAGE
12900
12901         * bufferview_funcs.C: use LFUN_MESSAGE
12902         (Melt): ditto
12903         (changeDepth): ditto
12904
12905         * bufferparams.h: use boost::
12906
12907         * bufferlist.h: inherit privately from noncopyable
12908
12909         * bufferlist.C (loadLyXFile): remove some commented code.
12910
12911         * buffer.C (runChktex): use LFUN_MESSAGE
12912
12913         * ShareContainer.h: inherit privately from noncopyable
12914
12915         * ParagraphParameters.[hC] (depth): inline it.
12916
12917         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12918         methods.
12919         (message): new method
12920         (messagePush): ditto
12921         (messagePop): ditto
12922         (show): init minibuffer
12923         (showState): direct call
12924
12925         * LaTeX.[Ch]: inherit privately from noncopyable
12926         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12927         instead of WriteStatus.
12928
12929         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12930
12931         * BufferView_pimpl.C (buffer): don't init minibuffer
12932         (workAreaButtonPress): use LFUN_MESSAGE
12933         (workAreaButtonRelease): ditto
12934         (savePosition): ditto
12935         (restorePosition): ditto
12936         (MenuInsertLyXFile): ditto
12937         (workAreaExpose): don't init minibuffer
12938         (update): remove commented code, simplify
12939
12940         * BufferView2.C (openStuff): use LFUN_MESSAGE
12941         (toggleFloat): ditto
12942         (menuUndo): ditto
12943         (menuRedo): ditto
12944         (copyEnvironment): ditto
12945         (pasteEnvironment): ditto
12946         (copy): ditto
12947         (cut): ditto
12948         (paste): ditto
12949         (gotoInset): ditto
12950         (updateInset): remove some commented code
12951
12952         * lastfiles.h: inherit privately from noncopyable
12953         * layout.h: ditto
12954         * lyx_gui.h: ditto
12955         * lyx_main.h: ditto
12956         * lyxlex.h: ditto
12957         * lyxlex_pimpl.h: ditto
12958
12959         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12960         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12961         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12962
12963         * LyXAction.h: inherit privately from noncopyable, add methods
12964         func_begin, func_end, returning iterators to the func map.
12965
12966         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12967         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12968         (func_begin): new method
12969         (func_end): new method
12970
12971         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12972         and not)
12973         (copySelection): ditto
12974         (pasteSelection): ditto
12975
12976         * BufferView.C: whitespace change
12977         * BufferView.h: inherit privately from noncopyable
12978
12979 2001-04-16  Allan Rae  <rae@lyx.org>
12980
12981         * tabular-old.C (l_getline):
12982         * spellchecker.C (sc_check_word):
12983         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12984         an unrecognised preprocessor directive.  So ensure they're wrapped.
12985
12986 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12987
12988         * src/exporter.C (Export): Give an error message when path to file
12989         contains spaces.
12990
12991 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12992
12993         * LaTeX.C (deplog): Always check that foundfile exists.
12994
12995 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12996
12997         * lyx_main.h:
12998         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12999
13000 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13001
13002         * tabular.[Ch] (getLabelList): implement new method
13003
13004         * minibuffer.h: comment ouf setTiimer
13005
13006         * minibuffer.C (ExecutingCB): constify res
13007         (peek_event): constify s
13008         (Set): constify ntext
13009         (Init): constify nicename
13010
13011         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13012
13013         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13014         (savePosition): use two params to Minibuffer::Set
13015         (restorePosition): ditto
13016
13017 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13018
13019         * lyx_main.C: include language.h
13020
13021         * Makefile.am (lyx_main.o): add language.h
13022
13023 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13024
13025         * exporter.C:
13026         * paragraph.C:
13027         * screen.C:
13028         * tabular.C:
13029         * CutAndPaste.C: include gettext.h
13030
13031         * lyxfont.h: remove old hack with ON and OFF.
13032
13033         * lyxparagraph.h:
13034         * lyxfont.h: do not include language.h...
13035
13036         * BufferView2.C:
13037         * LaTeXFeatures.C:
13038         * Painter.C:
13039         * bufferview_funcs.C:
13040         * font.C:
13041         * lyxfont.C:
13042         * text.C:
13043         * text2.C:
13044         * trans_mgr.C:
13045         * paragraph.C: ... but do it here instead
13046
13047 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13048
13049         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13050
13051         * tabular.C: small reformat
13052
13053         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13054         NEW_INSETS version
13055         (GetChar): ditto
13056         (BreakParagraph): ditto
13057         (SetOnlyLayout): ditto
13058         (SetLayout): ditto
13059
13060         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13061         with one arg less.
13062
13063         * lastfiles.C: removed most using decl, add std:: where needed
13064
13065         * buffer.C: ws changes
13066
13067         * MenuBackend.C (class compare_format): put into anon namespace
13068         (expand): constify label, names, action, action2
13069         (expand):
13070
13071         * text.C (SingleWidth): constify font
13072         (IsBoundary): constify rtl2
13073         (GetVisibleRow): constify ww
13074
13075         * LaTeX.C (deplog): constify logfile
13076
13077         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13078         start_x, end_x
13079         (workAreaExpose): constify widthChange, heightChange
13080
13081         * lyxrow.C (par): moved
13082         (height): moved
13083         (next): moved
13084         * lyxrow.h: as inlines here
13085
13086         * lyxfont.h (shape): moved from lyxfont.C
13087         (emph): moved from lyxfont.C
13088
13089         * lyxfont.C (LyXFont): use initialization list for all
13090         constructors
13091         (shape): move to lyxfont.h as inline
13092         (emph): move to lyxfont.h as inline
13093
13094
13095 2001-04-04  Juergen Vigna  <jug@sad.it>
13096
13097         * vspace.C: had to include stdio.h for use of sscanf
13098
13099 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13100
13101         * BufferView.h:
13102         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13103         independent of xforms.
13104
13105 2001-04-02  Juergen Vigna  <jug@sad.it>
13106
13107         * spellchecker.C: fixed namespace placing!
13108
13109 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13110
13111         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13112         the LyXParagraph * is 0.
13113
13114 2001-03-29  Juergen Vigna  <jug@sad.it>
13115
13116         * vspace.C: added support for %, c%, p%, l%.
13117         (stringFromUnit): added helper function.
13118         (asLatexString): changed to give right results for the %-values.
13119
13120         * buffer.C: convert the widthp in a width%.
13121
13122 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13123
13124         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13125         figureForm.[Ch].
13126
13127         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13128         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13129
13130         * lyx_cb.[Ch]: see above.
13131
13132         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13133         form1.[Ch].
13134
13135         * form1.[Ch]:
13136         * lyx.[Ch]: replaced by figure_form.[Ch].
13137
13138         * lyx_gui.C:
13139         * lyx_gui_misc.C:
13140         * lyxfunc.C: changed headers associated with above changes.
13141
13142 2001-03-27  Juergen Vigna  <jug@sad.it>
13143
13144         * BufferView_pimpl.C: set the temporary cursor right!
13145
13146 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13147
13148         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13149
13150 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13151
13152         * LString.h: removed "using std::getline"!
13153
13154         * BufferView_pimpl.C (Dispatch): changes due to changes in
13155         InsetInclude::Params.
13156
13157         * buffer.C (tag_name): removed redundant break statements as they were
13158         producing lots of warnings with my compiler.
13159
13160 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13161
13162         * LString.h: add "using std::getline" when using the real <string>.
13163
13164 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13165
13166         * buffer.C: removed bitset usage.
13167         PAR_TAG moved to an anonymous name space.
13168         (tag_name): new funtion, also in the anonymous namespace.
13169         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13170         (makeDocBookFile): clean code. Completed transition from string arrays
13171         to string vectors.
13172         (SimpleDocBookOnePar): code clean.
13173
13174 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13175
13176         * tabular.C: add some comments.
13177
13178 2001-03-22  Juergen Vigna  <jug@sad.it>
13179
13180         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13181         compatibility read a bit and fixed bug with minipage in different
13182         depth.
13183
13184 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13185
13186         * buffer.C (pop_tag): removed.
13187         (push_tag): removed.
13188         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13189         array replaced with vector. Added support for CDATA sections.
13190         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13191         at any nest level.
13192         (makeDocBookFile): XML conformant declaration of CDATA section,
13193         fixed bug related to <emphasis> in the first paragraph char.
13194         (sgmlOpenTag): exclude empty tags.
13195         (sgmlCloseTag): ditto.
13196
13197         * buffer.h (pop_tag): removed.
13198         (push_tag): removed.
13199
13200 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13201
13202         * language.h (Languages): added size_type and size().
13203
13204 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13205
13206         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13207         response on compability reading of minipages. One probliem is that
13208         the old usage of minipages was «flertydig»
13209
13210         * several files here and in subdirs: don't use static at file
13211         scope use anon namespaces instead.
13212
13213 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13214
13215         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13216         LaTeX output. This is necessary for Literate document
13217         processing.
13218
13219 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13220
13221         * buffer.C: insert hfill when needed.
13222
13223         * tabular.C (l_getline): use string::erase, small whitespace change.
13224
13225         * BufferView_pimpl.C: try the anon namespace.
13226         * WorkArea.C: ditto
13227
13228 2001-03-16  Juergen Vigna  <jug@sad.it>
13229
13230         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13231         otherwise it won't open options-dialogs.
13232
13233         * buffer.C: honor pextraWidth(p) on converting minipages.
13234
13235         * tabular.C (l_getline): changed the functions to strip trailing \r.
13236
13237 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13238
13239         * BufferView_pimpl.C:
13240         * minibuffer..C: added "using SigC::slot" declaration.
13241
13242 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13243
13244         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13245
13246         * text2.C: ditto
13247
13248         * text.C: ditto
13249
13250         * paragraph.C: ditto
13251
13252         * lyxtext.h: NO_PEXTRA
13253
13254         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13255
13256         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13257         * ParameterStruct.h: ditto
13258         * ParagraphParameters.h: ditto
13259         * lyxparagraph.h: ditto
13260
13261 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13262
13263         * buffer.C: add compability for minipage alignment.
13264         (latexParagraphs): remove unwanted pextra check.
13265
13266         * several files: remove CXX_WORKING_NAMESPACES
13267
13268         * buffer.C (pop_tag): tie is in namespace boost
13269
13270         * BufferView.h: noncopyable is in namespace boost
13271         * lyxlex.h: ditto
13272         * lyx_main.h: ditto
13273         * lyx_gui.h: ditto
13274         * layout.h: ditto
13275         * lastfiles.h: ditto
13276         * bufferlist.h: ditto
13277         * ShareContainer.h: ditto
13278         * LyXView.h: ditto
13279         * LyXAction.h: ditto
13280         * LaTeX.h: ditto
13281
13282 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13283
13284         * Merging changes from BRANCH_MVC back into HEAD.
13285
13286         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13287
13288 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13289
13290         * BufferView_pimpl.C: change from intl.C
13291
13292         * combox.h:
13293         * combox.C:
13294         * Makefile.am: move combox.*
13295
13296         * form1.h:
13297         * form1.C:
13298         * lyx_gui.C:
13299         * intl.h:
13300         * intl.C: remove dialog (covered by prefs)
13301
13302 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13303
13304         * lyxfunc.C (Dispatch): removed redundant break statement.
13305
13306 2001-03-14  Juergen Vigna  <jug@sad.it>
13307
13308         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13309
13310 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13311
13312         * buffer.C: add hack to fix compability reading of minipages.
13313
13314 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13315
13316         * buffer.C (getLists): Cleanup.
13317
13318 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13319
13320         * lyxfont.C (update): don't honor toggleall on font size.
13321
13322 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13323
13324         * bmtable.c:
13325         * bmtable.h:
13326         * Makefile.am: moved to frontends/xforms/
13327
13328         * lyx_gui_misc.C:
13329         * lyxfunc.C:
13330         * BufferView_pimpl.C: changes for moved mathpanel
13331
13332 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13333
13334         * gettext.h: fix gettext_init() in --disable-nls
13335
13336 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13337
13338         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13339
13340 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13341
13342         * lyx.C:
13343         * lyx.h: strip external form
13344
13345 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13346
13347         * BufferView_pimpl.C: add comment, destroySplash()
13348
13349 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13350
13351         * BufferView_pimpl.C:
13352         * LyXAction.C:
13353         * buffer.C:
13354         * commandtags.h:
13355         * lyxfunc.C: use re-worked insetinclude
13356
13357 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13358
13359         * buffer.C: add using std::stringstream.
13360
13361         * lyx_cb.C: readd using std::ios.
13362
13363         * buffer.C: add using std::map.
13364
13365         * BufferView_pimpl.C: add using std::vector.
13366
13367         * ShareContainer.h: add std:: to swap.
13368
13369         * buffer.h: add some typedefs
13370         * buffer.C (getLists): use them
13371         (getLists): renamed from getTocList.
13372         add a counter for the different float types and use it in the
13373         generated string.
13374         (getLists): use the same counter for the NEW_INSETS and the "non"
13375         NEW_INSETS
13376
13377         * lyx_cb.h: remove unused items, includes, using etc.
13378
13379         * ShareContainer.h: remove some commented code, add more comments
13380         and "documentation".
13381
13382 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13383
13384         * buffer.C (getTocList): make the list also when NEW_INSETS is
13385         defined.
13386
13387         * buffer.h: remove TocType
13388
13389         * buffer.C (getTocList): change to return a map<string,
13390         vector<TocItem> >, implement for dynamic number of list.
13391
13392         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13393         * text2.C (PasteSelection): adjust
13394         * CutAndPaste.C (pasteSelection): adjust
13395
13396         * FloatList.C (FloatList): update from the new_insets branch.
13397         * Floating.[Ch]: ditto
13398         * LaTeXFeatures.C: ditto
13399         * buffer.C: ditto
13400         * lyxlex_pimpl.C: ditto
13401
13402         * paragraph.C (Last): remove when NEW_INSETS is defined.
13403
13404         * other file: changes because of the above.
13405
13406 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13407
13408         * lyxparagraph.h: rename next to next_, previous to previous_,
13409         make them private for NEW_INSETS. Rename Next() to next(),
13410         Previous() to previous().
13411
13412         * other files: changes because of the above.
13413
13414 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13415
13416         * BufferView.h:
13417         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13418         problem.
13419
13420 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13421
13422         * main.C (main): pass lyx_localedir to gettext_init().
13423
13424         * gettext.h: remove locale_init and gettext_init macros
13425
13426         * gettext.C (locale_init): new function
13427         (gettext_init): new function
13428
13429         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13430         setlocale().
13431
13432 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13433
13434         * Moved credits to frontends:
13435         * credits.[Ch]: removed
13436         * credits_form.[Ch]: removed
13437         * lyx_gui_misc.C: remove credits stuff
13438         * Makefile.am:
13439
13440 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13441
13442         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13443
13444         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13445         unneeded destructor.
13446
13447         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13448         a standalone pointer again.
13449
13450         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13451
13452 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13453
13454         * Makefile.am:
13455         * filedlg.h:
13456         * filedlg.C:
13457         * LyXAction.C:
13458         * ToolbarDefaults.C:
13459         * bufferlist.C:
13460         * commandtags.h:
13461         * form1.C:
13462         * form1.h:
13463         * lyx_cb.C:
13464         * lyx_cb.h:
13465         * lyxfunc.h:
13466         * lyxfunc.C:
13467         * BufferView_pimpl.C: use new file dialog in GUII
13468
13469         * lyx_cb.h:
13470         * lyx_cb.C: remove LayoutsCB to Toolbar
13471
13472 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13473
13474         * ShareContainer.h (get): add std:: qualifier
13475
13476 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13477
13478         * ShareContainer.h: define a proper ShareContainer::value_type
13479         type (and use typename to please compaq cxx)
13480
13481 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13482
13483         * lyxparagraph.h: move serveral local vars to
13484         ParameterStruct/ParagraphParameters., use ShareContainer in
13485         FontTable., make vars in FontTable private and add getter and
13486         setter.
13487
13488         * paragraph.C: changes because of the above.
13489
13490         * lyxfont.h: remove copy constructor and copy assignment. (the
13491         default ones is ok), move number inside FontBits. move inlines to
13492         lyxfont.C
13493
13494         * lyxfont.C: add number to initializaton of statics, move several
13495         inlines here. constify several local vars. some whitespace
13496         cleanup. Dont hide outerscope variables.
13497
13498         * Spacing.h: add two new constructors to match the set methods.
13499
13500         * ShareContainer.h: new file, will perhaps be moved to support
13501
13502         * ParameterStruct.h: new file
13503
13504         * ParagraphParameters.h: new file
13505
13506         * ParagraphParameters.C: new file
13507
13508         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13509         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13510
13511         * BufferView_pimpl.C: ParagraphParameter changes.
13512         * buffer.C: Likewise.
13513         * bufferview_funcs.C: Likewise.
13514         * text.C: Likewise.
13515         * text2.C: Likewise.
13516
13517 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13518
13519         * lyxfind.C (LyXReplace): do not redefine default argument in
13520         implementation.
13521         (IsStringInText): ditto
13522         (SearchForward): ditto
13523         (SearchBackward): ditto
13524
13525 2001-03-06  Juergen Vigna  <jug@sad.it>
13526
13527         * lyxfind.C (IsStringInText): put parentes around expressions.
13528
13529 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13530
13531         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13532
13533 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13534
13535         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13536
13537         * stl_string_fwd.h: add comment
13538
13539         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13540
13541         * tabular.h:
13542         * tabular.C: remove unused DocBook methods
13543
13544         * intl.C:
13545         * language.C:
13546         * paragraph.C:
13547         * buffer.C:
13548         killed DO_USE_DEFAULT_LANGUAGE
13549
13550 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13551
13552         * lyx_gui.C: do not include language.h.
13553
13554         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13555         arguments in function implementation.
13556
13557 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13558
13559         * BufferView_pimpl.C: add <ctime>
13560
13561 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13562
13563         * BufferView_pimpl.C: add using std::find_if
13564
13565 2001-02-27  José Matos  <jamatos@fep.up.pt>
13566
13567         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13568         by OnlyPath.
13569
13570 2001-02-11  José Matos  <jamatos@fep.up.pt>
13571
13572         * buffer.C (makeDocBookFile): command styles now have a parameter as
13573         "title" by default.
13574
13575 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13576
13577         * layout_forms.[Ch]: removed
13578         * lyx_cb.[Ch]: out character
13579         * lyx_gui.C: out character
13580         * lyx_gui_misc.C: out character
13581         * bufferview_funcs.C: : out character,
13582         added toggleall as parameter in ToggleAndShow
13583
13584 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13585
13586         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13587
13588         * text2.C (SetCurrentFont): Disable number property at boundary.
13589
13590 2001-02-26  Juergen Vigna  <jug@sad.it>
13591
13592         * lyxfunc.C (getStatus): added a string argument override function so
13593         that this is correctly called from LyXFunc::Dispatch if it contains a
13594         do_not_use_argument which is used!
13595         (Dispatch): added check for "custom" export and call appropriate func.
13596
13597 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13598
13599         * lyxrc.C: Add language_command_local, language_use_babel and
13600         language_global_options.
13601
13602         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13603
13604         * buffer.C (makeLaTeXFile): Use language_use_babel and
13605         language_global_options.
13606
13607 2001-02-23  Juergen Vigna  <jug@sad.it>
13608
13609         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13610         which works with LyXText and putted it inside BufferView. Here now we
13611         only call for that part the BufferView::Dispatch() function.
13612
13613         * BufferView.C (Dispatch): added.
13614
13615         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13616         functions which needs to use a LyXText over from LyXFunc.
13617         (MenuInsertLyXFile): added
13618         (getInsetByCode): added
13619         (moveCursorUpdate): added
13620         (static TEXT): added
13621
13622 2001-02-22  Juergen Vigna  <jug@sad.it>
13623
13624         * BufferView_pimpl.C (update): call a status update to see if LyXText
13625         needs it.
13626
13627 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13628
13629         * vc-backend.C (revert): implement for CVS
13630         (getLog): implement for CVS
13631
13632 2001-02-20  Juergen Vigna  <jug@sad.it>
13633
13634         * text2.C (ClearSelection): added BufferView param for inset_owner call
13635
13636         * lyxfunc.C (TEXT): added this function and use it instead of
13637         directly owner->view()-text of getLyXText().
13638
13639 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13640
13641         * src/layout_forms.C: out preamble
13642         * src/layout_forms.h: out preamble
13643         * src/lyx_cb.C: out preamble
13644         * src/lyx_cb.h: out preamble
13645         * src/lyx_gui.C: out preamble
13646         * src/lyx_gui_misc.C: out preamble
13647         * src/lyxfunc.C: connect with guii preamble
13648
13649 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13650
13651         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13652
13653 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13654
13655         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13656         whether to run bibtex.
13657
13658 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13659
13660         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13661
13662 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13663
13664         * Makefile.am (lyx_SOURCES): removed bibforms.h
13665
13666         * vspace.h: doxygen
13667
13668         * text.C (GetVisibleRow): make several local vars const
13669
13670         * tabular.C: small cleanup.
13671
13672         * lyxserver.C (callback): use compare instead of strncmp
13673
13674         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13675         inlines to after class or to paragraph.C
13676
13677         * lyxfont.h: remove friend operator!=
13678
13679         * converter.h: move friend bool operator< to non friend and after
13680         class def.
13681
13682         * combox.h: small cleanup
13683
13684         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13685         to inlines after class def.
13686
13687         * buffer.C (pop_tag): use string operations instead of strcmp
13688
13689         * bmtable.c: doxygen, small cleanup
13690
13691         * LaTeX.h: remove friend operator==
13692
13693 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13694
13695         * screen.C:
13696         * lyxrc.[Ch]:
13697         * lyxfunc.C:
13698         * lyxfont.[Ch]:
13699         * lyx_cb.C:
13700         * intl.[Ch]:
13701         * commandtags.h:
13702         * buffer.C:
13703         * WorkArea.[Ch]:
13704         * LyXAction.C:
13705         * BufferView_pimpl.C:
13706         * BufferView.[Ch]: remove cruft
13707
13708 2001-02-14  Juergen Vigna  <jug@sad.it>
13709
13710         * lyxfunc.C: removed #if 0 unused code
13711
13712         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13713
13714         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13715
13716         * text2.C (SetSelection): added a BufferView * parameter
13717
13718 2001-02-13  Juergen Vigna  <jug@sad.it>
13719
13720         * lyxfunc.C (Dispatch): fixed protected blank problem.
13721         * BufferView2.C (protectedBlank): added LyxText * parameter.
13722
13723         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13724         (AppendColumn): same as above for column_info.
13725
13726         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13727         (moveCursorUpdate): use a LyXText param for support of InsetText.
13728
13729         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13730         (tripleClick): ditto
13731
13732         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13733
13734         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13735
13736         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13737
13738         * text2.C (SetSelection): set correct update status if inset_owner
13739         (ToggleFree): ditto
13740
13741 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13742
13743         * tabular.C: remove some commented code.
13744
13745 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13746
13747         * BufferView_pimpl.C: call hideSplash()
13748
13749         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13750
13751         * include_form.h:
13752         * bibforms.h: remove
13753
13754         * lyxfunc.C:
13755         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13756           add LFUN_CHILD_CREATE
13757
13758         * counters.h: fix tiny typo
13759
13760         * lyx_cb.C:
13761         * lyx.h:
13762         * lyx_gui.C:
13763         * lyx.C: move splash to frontends/xforms/
13764
13765         * lyx_gui_misc.C: move Include and Bibform to frontends
13766
13767         * lyxvc.h: clarify comment
13768
13769         * vspace.C: tiny housekeeping
13770
13771 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13772
13773         * text.C (PrepareToPrint): RTL Fix.
13774
13775         * paragraph.C (GetUChar): New method.
13776         (String):  Use GetUChar.
13777
13778         * buffer.C (asciiParagraph): Use GetUChar.
13779
13780 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13781
13782         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13783
13784 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13785
13786         * buffer.h:
13787         * buffer.C: rename to getLogName(), handle
13788           build log / latex log nicely
13789
13790 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13791
13792         * MenuBackend.C:
13793         * MenuBackend.h: remove support for reference menuitem type.
13794
13795 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13796
13797         * BufferView_pimpl.C: housekeeping
13798         * BufferView_pimpl.h:
13799         * LyXView.h:
13800         * Makefile.am:
13801         * Timeout.C:
13802         * Timeout.h:
13803         * minibuffer.h: move Timeout GUI-I
13804
13805 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13806
13807         * lyxrc.C (read): Update converters data-structures.
13808
13809 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13810
13811         * LaTeX.h (operator!=): add operator != for Aux_Info
13812
13813 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13814
13815         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13816
13817         * LaTeXLog.C: deleted, useful code moved to Buffer
13818
13819         * buffer.h:
13820         * buffer.C: new function getLatexLogName()
13821
13822         * lyx_gui_misc.C:
13823         * lyx_gui.C:
13824         * lyxvc.C:
13825         * lyxvc.h:
13826         * lyxfunc.C: use frontends for LaTeX and VC logs
13827
13828 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13829
13830         * LaTeX.h: yet another std:: that Allan forgot.
13831
13832         * Variables.C (set): renamed from isset(), because this clashes
13833         with some HP-UX macros (grr).
13834
13835 2001-02-06  Allan Rae  <rae@lyx.org>
13836
13837         * LaTeX.h: Another bug fix.  Missing std:: this time.
13838
13839 2001-02-04  Allan Rae  <rae@lyx.org>
13840
13841         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13842         floats problem. I've left it commented out because it's not quite
13843         correct.  It should also test that the current object is a table or
13844         figure inset.  But I haven't gotten around to figuring out how to do
13845         that.  I *think* it'll be something like: "table" == inset.type()
13846
13847         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13848         bool.
13849
13850 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13851
13852         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13853         all the citation/databases/styles in the auxilary file.
13854         (run): Rerun latex if there was a babel language error.
13855
13856 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13857
13858         * text.C (Backspace): Preserve the font when changing newline char
13859         with a space.
13860         (BreakParagraph): If the cursor is before a space, delete the space.
13861
13862         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13863
13864 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13865
13866         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13867         new argument (code).
13868         (ChangeCitationsIfUnique): New method.
13869
13870         * paragraph.C (GetPositionOfInset): Handle bibkey.
13871
13872 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13873
13874         * BufferView_pimpl.h: change type of Position::par_pos to
13875         LyXParagraph::size_type.
13876
13877 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13878
13879         * BufferView_pimpl.C (savePosition, restorePosition): Write
13880         messages to minibuffer.
13881
13882 2001-01-28  José Matos  <jamatos@fep.up.pt>
13883
13884         * buffer.C (makeDocBookFile): adds support for document language.
13885         A silly restriction on the name of LatexCommand types where removed.
13886         Added support for CDATA sections, allows to chars unescaped, used
13887         among others in code, to avoid escape < and >.
13888
13889 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13890
13891         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13892         saved positions instrad of a stack. Furthermore, a position is
13893         stored using paragraph id/paragraph position.
13894
13895         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13896         Remove LFUN_REF_BACK.
13897
13898 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13899
13900         * converter.C (dvipdfm_options): New method.
13901
13902 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13903
13904         * vspace.C (isValidLength): Fix for empty input string.
13905
13906 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13907
13908         * LyXAction.C (init): change description of LFUN_FIGURE to
13909         "Insert Graphics"
13910
13911 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13912
13913         * LaTeX.C: add using directive
13914
13915 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13916
13917         * MenuBackend.C (expand): Fix the sorting of the formats.
13918
13919 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13920
13921         * lyx_main.C: tiny error message fix
13922
13923 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13924
13925         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13926         calling fl_initialize(). This fixes the problem with ',' as
13927         decimal separator in text files.
13928
13929 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13930
13931         * trans.C (process): Fix the keymap bug.
13932
13933 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13934
13935         * LaTeX.C (scanAuxFiles): New method. Provides support for
13936         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13937         (scanLogFile) Scan for "run BibTeX" messages.
13938
13939         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13940         OT1 font encoding. Also, load the aecompl package if the ae
13941         package is loaded.
13942
13943         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13944
13945 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13946
13947         * texrow.C (increasePos): turn two error messages into debug
13948         messages.
13949
13950 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13951
13952         * LaTeX.C (scanAux): Handle the \@input macro.
13953         (runBibTeX): Use scanAux().
13954
13955         * language.C (latex_options_): New field.
13956
13957         * LaTeXFeatures.C (getMacros): Add language macros.
13958
13959         * buffer.C (makeLaTeXFile): Small fix.
13960
13961 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13962
13963         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13964
13965         * text2.C: add a using directive.
13966
13967 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13968
13969         * BufferView2.C:
13970         * lyx_gui_misc.h:
13971         * lyxfr1.C:
13972         * lyxfunc.C: kill LyXBell.
13973
13974 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13975
13976         * text.C (IsBoundary): Remove the error message
13977
13978         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13979
13980         * lyxrc.C (setDefaults): Correct initialization value for
13981         font_norm_type.
13982
13983 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13984
13985         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13986         gotoError().
13987
13988         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13989         and GotoNextNote().
13990
13991         * src/LyXAction.C: Added reference-next.
13992
13993         * text.C (InsertChar): Use contains instead of strchr.
13994
13995         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13996
13997 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13998
13999         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14000         alignment commands (when needed).
14001
14002         * text.C (InsertChar): Add ':' to number separator chars.